Interval calculator
This interval calculator names the distance between two notes. Pick a lower and an upper note to get the interval, such as a major third or a perfect fifth, with its half steps and its inversion. Or pick a note and an interval to find the note above or below it.
Music interval chart
Each interval has a number, from the letter names it spans, and a quality: perfect, major, minor, augmented or diminished. The half steps column counts the keys from the lower note up to the upper note on a piano.
| Interval | Short | Half steps | Example from C | Inversion |
|---|---|---|---|---|
| perfect unison | P1 | 0 | C to C | perfect octave |
| minor second | m2 | 1 | C to D♭ | major seventh |
| major second | M2 | 2 | C to D | minor seventh |
| augmented second | A2 | 3 | C to D♯ | diminished seventh |
| minor third | m3 | 3 | C to E♭ | major sixth |
| major third | M3 | 4 | C to E | minor sixth |
| perfect fourth | P4 | 5 | C to F | perfect fifth |
| augmented fourth (tritone) | A4 | 6 | C to F♯ | diminished fifth |
| diminished fifth (tritone) | d5 | 6 | C to G♭ | augmented fourth |
| perfect fifth | P5 | 7 | C to G | perfect fourth |
| augmented fifth | A5 | 8 | C to G♯ | diminished fourth |
| minor sixth | m6 | 8 | C to A♭ | major third |
| major sixth | M6 | 9 | C to A | minor third |
| diminished seventh | d7 | 9 | C to B𝄫 | augmented second |
| minor seventh | m7 | 10 | C to B♭ | major second |
| major seventh | M7 | 11 | C to B | minor second |
| perfect octave | P8 | 12 | C to C | perfect unison |
How the interval calculator works
First it counts letter names. From C up to E is C, D, E: three letters, so it is a third. From C up to G is five letters, a fifth. The number never depends on sharps or flats.
Then it counts half steps to find the quality. Unisons, fourths, fifths and octaves are perfect when they match the major scale. Seconds, thirds, sixths and sevenths are major when they match the major scale and minor when they are a half step smaller. An augmented interval is a half step wider than perfect or major, and a diminished one is a half step narrower than perfect or minor.
That is why C to E is a major third (4 half steps) and C to E♭ is a minor third (3). C to F♯ and C to G♭ are both 6 half steps, but C to F♯ spans four letters, an augmented fourth, while C to G♭ spans five, a diminished fifth. The calculator keeps those names apart because they are written differently on the staff.
Interval inversions
To invert an interval, move the lower note up an octave. The two numbers always add up to 9, and the half steps add up to 12. Major turns into minor, augmented into diminished, and perfect stays perfect. A major third (4 half steps) inverts to a minor sixth (8 half steps).
Frequently asked questions
How do you calculate a music interval?
Count the letter names from the lower note to the upper note, including both, to get the number. Then count half steps to get the quality: major, minor, perfect, augmented or diminished.
What interval is C to G?
A perfect fifth. It spans five letter names and 7 half steps.
How many half steps are in a major third?
Four. C to E is a major third. A minor third has three half steps, such as C to E♭.
What is the difference between an augmented fourth and a diminished fifth?
Both are 6 half steps, a tritone, and sound the same on a piano. C to F♯ is an augmented fourth and C to G♭ is a diminished fifth, because they span a different number of letter names.
How do you invert an interval?
Move the lower note up an octave. The numbers add to 9 and the half steps add to 12, so a major second inverts to a minor seventh.
What is a perfect interval?
Unisons, fourths, fifths and octaves are called perfect when they match the major scale. Other intervals are major or minor instead.
Sources
- Interval (music), Wikipedia (interval numbers, perfect, major and minor qualities, augmented and diminished, and inversions adding to nine): https://en.wikipedia.org/wiki/Interval_(music)
- Tritone, Wikipedia (augmented fourth and diminished fifth, 6 semitones): https://en.wikipedia.org/wiki/Tritone
- Semitone, Wikipedia (the half step; 12 to the octave): https://en.wikipedia.org/wiki/Semitone