Interval Calculator
You Might Also Need
Interval Calculator names the distance between two notes and gives it three ways: in semitones, as a frequency ratio, and in cents. Enter any two notes and the relationship appears.
What is Interval Calculator?
Type a note in each field and the panel shows the interval name and its abbreviation, the number of semitones, the frequency ratio, and the distance in cents.
The result columns:
- The interval name, drawn from the twelve names that cover an octave, from unison up to a major seventh.
- The short form of that name, which is what appears on a chart.
- The semitone count, which is the integer distance in the twelve-note scale.
- The frequency ratio to four decimal places, and the same distance in centsas a whole number.
The three figures are the same relationship seen three ways. Semitones are the counting unit of the keyboard, so a perfect fifth is seven of them; the ratio is the frequency relationship, which for a perfect fifth in equal temperament is one point four nine eight three, close to but not exactly the three to two that a just fifth would be; and the cents figure is that same ratio on a logarithmic scale, where seven semitones come to exactly seven hundred. Cents are the most useful of the three when the question is how far apart two pitches actually sound, because a cent is the same proportional distance at every pitch, whereas a fixed number of hertz is a large interval low down and a tiny one high up. The ratio is most useful when the interval is going into arithmetic, such as working out where a filter or an oscillator should sit. One piece of musical spelling is visible in the result and worth knowing about. Intervals are counted from letter to letter, so the same number of semitones can carry different names depending on how the notes are written: C up to D sharp and C up to E flat are both three semitones apart, but one is an augmented second and the other a minor third. The tool reports what the two note names imply rather than only the distance, which is why the name and the semitone count can disagree with a naive reading of the interval.
Where it stops:
- Octave equivalents are folded, so notes more than an octave apart read as the interval within one.
- No inversion or compound naming beyond the folded form.
- Equal temperament only, so a just or historically tempered interval differs from the ratio shown.
- No audio input; the notes have to be typed.
- Spelling depends on how you write the notes, not on how they sound.
- Nothing is uploaded, and no history is kept.
Use it when a chart has to be understood rather than played: working out what a part is doing, checking whether two lines move by a third or a fourth, or finding the ratio to use for a harmonic relationship in synthesis. When a single pitch rather than a relationship is the question, the note frequency calculator covers that, and when the interval has to be measured in tuning terms rather than named, the cents calculator does the arithmetic directly. Both figures are exact, so the interval can be trusted as a reference for tuning or for working out a harmonic relationship between two pitches.
How to use Interval Calculator
- Type the lower or first note in the first field, such as C4.
- Type the second note in the second field, such as G4.
- Read the interval name and its short form.
- Use the semitone, ratio and cents columns for whichever form you need.
When to use Interval Calculator vs related tools
Interval Calculator is the tool for naming and quantifying the distance between two pitches, which is what a chart or a harmonic plan needs. Note Frequency Calculator converts a single note to a frequency instead. When the interval matters as a tuning offset rather than as a name, Cents Calculator works in that unit, and Chord Calculator stacks intervals into complete chords with their spellings.
Privacy & Security
This tool runs entirely in your browser — no data ever leaves your device. There is no server round-trip, no upload, no logging, and no account required. Your input is processed locally using client-side JavaScript and is never stored, transmitted, or accessible to anyone else. When you close the tab, everything disappears.