Folio Stand

Home / Free music tools

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.

Name the interval

C up to E is a major third

Short name
M3
Half steps
4
Inverted
minor sixth

E up to C is the inversion: 3 + 6 = 9, and 4 + 8 = 12 half steps.

Find the note

A major third above D is F♯

4 half steps and 2 letter names up.

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.

IntervalShortHalf stepsExample from CInversion
perfect unisonP10C to Cperfect octave
minor secondm21C to D♭major seventh
major secondM22C to Dminor seventh
augmented secondA23C to D♯diminished seventh
minor thirdm33C to E♭major sixth
major thirdM34C to Eminor sixth
perfect fourthP45C to Fperfect fifth
augmented fourth (tritone)A46C to F♯diminished fifth
diminished fifth (tritone)d56C to G♭augmented fourth
perfect fifthP57C to Gperfect fourth
augmented fifthA58C to G♯diminished fourth
minor sixthm68C to A♭major third
major sixthM69C to Aminor third
diminished seventhd79C to B𝄫augmented second
minor seventhm710C to B♭major second
major seventhM711C to Bminor second
perfect octaveP812C to Cperfect 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