Free online tools

Musical Interval Calculator

Enter two notes with octaves. See the interval’s written name, pitch direction and semitone distance.

Enter your values

Use scientific pitch notation, with middle C written as C4. Try F#4 or Gb4.

This tool processes your input in your browser.

Result

Count the written letters to name the interval number

From C up to G there are five letter positions including both endpoints. Adding a flat or sharp changes the interval quality while leaving the number as a fifth.

Compare the semitones for notes that sound alike

C4 to F#4 is an augmented fourth. C4 to Gb4 is a diminished fifth. Both span six semitones in equal temperament, while the letters determine which interval name to use.

Account for octaves and direction

C4 to D5 spans 14 semitones and is a major ninth. Entering notes the other way around shows descending pitch movement. The interval number still follows the distance between their written positions.

Frequently asked questions

What if the notes are enharmonic?

The distance can be zero even when the written interval differs. C#4 and Db4 are a diminished second with zero semitones.

Can I enter double accidentals?

Yes. Use ## or bb, or the corresponding Unicode symbols. Always include the octave number for each note.

How do I find a note’s frequency?

Use the MIDI Note to Frequency Converter for frequency. This tool names the relationship between two spelled notes.