🎵 Interval Calculator

Select two notes to calculate the interval between them in semitones and its common interval name.

Counting up from the first note

Both notes are positions in the twelve-note chromatic scale, and the interval is the distance from the first up to the second, wrapped into a single octave:

semitones = (index of note 2 - index of note 1 + 12) mod 12

C to G is 7 semitones, a perfect fifth. Order matters: G to C comes back as 5, a perfect fourth, because the count always runs upward. Those two are inversions of each other, and any interval and its inversion add to 12.

All twelve, measured from C

SemitonesNameFrom C
0UnisonC
1Minor 2ndC#
2Major 2ndD
3Minor 3rdD#
4Major 3rdE
5Perfect 4thF
6TritoneF#
7Perfect 5thG
8Minor 6thG#
9Major 6thA
10Minor 7thA#
11Major 7thB
Names follow the sharp spelling of the note list, so an interval is identified by its size in semitones and nothing else. C to F# and C to Gb are one entry here, and there is no row for the octave - two identical notes read as a unison.

Frequently asked questions

How many semitones are in a perfect fifth?

Seven, as in C up to G. Turn it upside down and G up to C is five semitones, a perfect fourth. In equal temperament that fifth is a frequency ratio of 2^(7/12), or 1.4983 - a whisper under the pure 3:2 a violinist would play.

What is the interval from C to E flat?

Three semitones, a minor third - the interval that makes a chord sound minor. Choose D# in the menus, since the tool spells everything with sharps and D# is the same pitch as Eb.

Why is the tritone called a tritone rather than a fourth or fifth?

Six semitones is exactly half an octave, so it inverts to itself and sits between the two. Whether it is written as an augmented 4th or a diminished 5th depends on how the notes are spelled, which this note list cannot show.