Toolvito

Works on this device

Music Interval Calculator

Type two notes to find the interval between them: its name, quality and number, the semitones, the inversion and the frequency ratio. You can also find the note at an interval from a start note, or all the names for a number of semitones.

Enter your values

Type two notes. Get the name of the interval, its semitones, its inversion, its frequency ratio and its size in cents.

Your values

A letter from A to G, then # or b if needed (## or x for a double sharp, bb for a double flat), then the octave number if you know it. C4 is middle C.

Type the octave for both notes, or for neither. Without octaves the second note is taken above the first.

More options

The frequency of the note A4. 440 Hz is the usual standard. Some groups use 442, 432 or 415 Hz.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose Interval between two notes, Note at an interval from a start note or Interval names for a number of semitones.
  2. Type notes as a letter from A to G, then # or b if needed, then the octave number: C4, F#3, Bb2. Use ## or x for a double sharp and bb for a double flat. C4 is middle C.
  3. If you leave out the octaves, the second note is taken above the first one.
  4. Choose Calculate. Under More options you can change the reference pitch A4 for the frequencies.

How intervals are named

  • The number counts the letters from one note to the other, both counted: C to E is C, D, E, so a third.
  • The quality compares the semitones with the major or perfect interval of that number. Seconds, thirds, sixths and sevenths are major or minor. Unisons, fourths, fifths and octaves are perfect. One semitone more than major or perfect is augmented; one less than minor or perfect is diminished.
  • A compound interval is larger than an octave: a tenth is a third and an octave.
  • The inversion turns the interval over: the number becomes 9 − n, major becomes minor, augmented becomes diminished, and perfect stays perfect. Its semitones are 12 − the semitones.
  • Equal temperament: an interval of n semitones has the frequency ratio 2^(n/12) and is 100 × n cents.
  • Just ratio: a ratio of small whole numbers from 5-limit just intonation, such as 5/4 for a major third. Cents = 1200 × log2(ratio).
Intervals within one octave
Semitones Usual name Short name Cents (equal temperament) Just ratio (5-limit)
0 perfect unison P1 0 1/1
1 minor second m2 100 16/15
2 major second M2 200 9/8
3 minor third m3 300 6/5
4 major third M3 400 5/4
5 perfect fourth P4 500 4/3
6 augmented fourth or diminished fifth (tritone) A4 or d5 600 45/32 or 64/45
7 perfect fifth P5 700 3/2
8 minor sixth m6 800 8/5
9 major sixth M6 900 5/3
10 minor seventh m7 1000 9/5
11 major seventh M7 1100 15/8
12 perfect octave P8 1200 2/1

Worked example

C4 to E4: the letters C, D, E make a third. A major third has 4 semitones, and so does C4 to E4, so it is a major third. Its inversion is a minor sixth of 12 − 4 = 8 semitones. In equal temperament its ratio is 2^(4/12) = 1.259921, or 400 cents. The just major third 5/4 is 386.31 cents, so the equal tempered third is 13.69 cents wider.

E4 to G5 is a minor tenth: a minor third and one octave, 15 semitones. F# to C is a diminished fifth of 6 semitones, while F# to B# would be an augmented fourth: the same sound, other letters.

A minor third up from D4 is F4: three letters D, E, F, and 3 semitones.

Limits you should know

  • Intervals are named from the letters you type. The same keys of a piano can have two names, such as C# and Db, and give different interval names.
  • Qualities go from doubly diminished to doubly augmented. Notes go from C-1 to B9.
  • The just ratios are one common set of 5-limit just intonation. Some intervals have other just ratios too, such as 10/9 for a major second or 16/9 for a minor seventh.
  • This tool does not play the notes or test your ear. For note frequencies, cents between two frequencies and other tunings, use the Tuning Frequency Calculator.

Related tools