Intervals Calculator
Pick two notes to name the interval between them, with semitones, shorthand, and the descending equivalent.
Music theory has a simple question at its heart: how far apart are these two notes? That distance is called an interval, and it has a name — minor third, perfect fifth, major seventh — that tells musicians everything about how the two notes will sound together. The Intervals Calculator answers that question instantly: pick any two notes and it names the interval between them, counts the semitones, and shows the shorthand symbol musicians write on charts.
Intervals are the building blocks of melody and harmony. Chords are stacks of intervals, scales are sequences of them, and ear training is largely the skill of recognizing them by sound. Whether you are a student checking homework, a guitarist figuring out a solo, or a songwriter hunting for the right chord color, naming intervals correctly is a skill worth having — and this calculator is a fast way to check your work.
What the Intervals Calculator Does
This calculator takes two musical notes — a lower note and a higher note — and identifies the interval between them using semitone math. It assigns each note a number from 0 (C) to 11 (B), computes the ascending distance modulo 12, and looks up the standard interval name: perfect unison, minor and major seconds, thirds, sixths, and sevenths, the perfect fourth and fifth, and the tritone.
The result shows the interval name with its shorthand symbol (like M3 or P5), the ascending semitone count, the descending equivalent (the interval you get going downward instead), and an inversion check confirming the two directions add up to one octave (12 semitones). Enharmonic notes such as C# and Db share the same slot, since naming here is based on semitone distance.
How to Use the Intervals Calculator
- Choose the first note. This is the lower note, the one you measure from. The default is C.
- Choose the second note. This is the upper note, the one you measure to. The default is E, so the first calculation shows a major third.
- Click Calculate. The interval name and symbol appear at the top, with the full breakdown below.
Both dropdowns cover all twelve chromatic notes, including sharps and flats. If either selection is somehow missing, the calculator shows an error instead of guessing. The Reset button restores the defaults.
How Interval Naming Works
Western music divides the octave into 12 equal semitones. Each note gets a number: C = 0, C#/Db = 1, D = 2, D#/Eb = 3, E = 4, F = 5, F#/Gb = 6, G = 7, G#/Ab = 8, A = 9, A#/Bb = 10, B = 11.
The ascending distance between two notes is:
semitones = (upper − lower + 12) mod 12
The “+ 12 mod 12” part wraps the result into the 0–11 range, so going from a higher-numbered note to a lower-numbered one still gives the correct upward distance. That distance maps to exactly one interval name:
0 = Perfect unison (P1), 1 = Minor second (m2), 2 = Major second (M2), 3 = Minor third (m3), 4 = Major third (M3), 5 = Perfect fourth (P4), 6 = Tritone (TT), 7 = Perfect fifth (P5), 8 = Minor sixth (m6), 9 = Major sixth (M6), 10 = Minor seventh (m7), 11 = Major seventh (M7).
The descending distance is simply 12 minus the ascending distance, and its interval is the inversion: a major third up inverts to a minor sixth down. The two always sum to 12 semitones, one octave.
Worked Examples
Example 1: C up to E. C = 0, E = 4. Semitones = (4 − 0 + 12) mod 12 = 4. Four semitones is a Major third (M3). Going down instead: 12 − 4 = 8 semitones, which is a Minor sixth (m6). This is the bright, happy third at the heart of every major chord — C major is built C–E–G, a major third plus a minor third.
Example 2: F up to B. F = 5, B = 11. Semitones = (11 − 5 + 12) mod 12 = 6. Six semitones is the Tritone (TT), also called an augmented fourth. It is the only interval that is its own inversion: 12 − 6 = 6, so B down to F is also a tritone. Medieval musicians called it “the devil in music” for its tense, unstable sound; in modern music it is the defining crunch inside dominant seventh chords.
Example 3: A up to C. A = 9, C = 0. Semitones = (0 − 9 + 12) mod 12 = 3. Three semitones is a Minor third (m3). Descending: 12 − 3 = 9 semitones, a Major sixth (M6). The minor third is the sound of a minor chord — A minor is A–C–E — and the reason minor keys sound melancholy next to major ones.
Example 4: G up to G. G = 7, G = 7. Semitones = (7 − 7 + 12) mod 12 = 0. Zero semitones is a Perfect unison (P1): the same pitch. It sounds like no interval at all, but it matters in theory — it is the identity element of interval math and the starting point of every scale.
How to Read Your Results
The headline names the ascending interval with its standard shorthand — the exact term you would see in a theory book or on a lead sheet. The semitone count is the raw distance, useful when you are working with MIDI, fretboards, or piano keys. The descending row gives the inversion, which is handy when a melody moves downward or when you are voicing chords: knowing that a major sixth down equals a minor third up (inverted) lets you flip voicings confidently. The inversion check line confirms the arithmetic: ascending plus descending always equals 12.
Common Mistakes to Avoid
Confusing the interval number with semitones. A “third” is not three semitones — it is three letter-names apart, and can be 3 semitones (minor third) or 4 (major third). The number counts scale degrees; semitones measure actual distance.
Mixing up major and minor. The quality word matters: a major third (C–E) sounds bright, a minor third (C–Eb) sounds darker. They are one semitone apart, and swapping them changes a chord’s entire character.
Forgetting direction. C up to E is a major third, but E up to C is a minor sixth. Always note which note is on the bottom — intervals are directional.
Treating enharmonics as different intervals. By semitone distance, C# to F and Db to F are both a major third (4 semitones). Strict spelling rules can rename them in written theory, but the sounding distance — what this calculator measures — is identical.
Ignoring the tritone’s symmetry. Students often expect every interval to invert to something different, but the tritone inverts to itself. If your inversion check shows 6 + 6 = 12, that is correct, not a bug.
Frequently Asked Questions
1. What is a musical interval?
An interval is the distance in pitch between two notes, given a name like “perfect fifth” or “minor third.” It is the basic unit of melody and harmony: scales are sequences of intervals and chords are stacks of them.
2. How does the Intervals Calculator name an interval?
It converts each note to a number from 0 (C) to 11 (B), computes the ascending semitone distance with (upper − lower + 12) mod 12, and looks up the standard name for that distance in the 12-interval table.
3. What is the difference between a major and minor interval?
Seconds, thirds, sixths, and sevenths come in major and minor forms one semitone apart — the major version is the larger one. Fourths, fifths, and unisons are called “perfect” instead and have a single standard size.
4. What is a tritone?
The interval of 6 semitones, exactly half an octave — for example, F to B. It can be spelled as an augmented fourth or diminished fifth, sounds tense and unstable, and is the only interval that inverts to itself.
5. What do the shorthand symbols like M3 and P5 mean?
They are the standard abbreviations: M = major, m = minor, P = perfect, TT = tritone, followed by the interval number. M3 is a major third, m7 a minor seventh, P5 a perfect fifth.
6. What is an inverted interval?
The interval you get by flipping direction: the ascending interval plus its inversion always equals one octave (12 semitones). A major third up (4 semitones) inverts to a minor sixth down (8 semitones).
7. Why does C up to E differ from E up to C?
Because intervals are directional. C to E ascending is 4 semitones (major third); E to C ascending is 8 semitones (minor sixth). The calculator always measures upward from the first note you pick.
8. Are C# and Db the same note here?
Yes. The calculator works by semitone distance, and enharmonic equivalents — notes that sound the same but are spelled differently — occupy the same slot. C# to E and Db to E both measure 3 semitones: a minor third.
9. What is a perfect unison?
The interval of 0 semitones — the same pitch twice. It is the starting point of interval math and appears whenever two instruments play the identical note.
10. How many intervals are there?
Within one octave there are 12 distinct interval sizes (0 to 11 semitones), each with its own name. Larger distances are called compound intervals — for example, 14 semitones is a major ninth, an octave plus a major second.
11. Why are some intervals called “perfect”?
Unisons, fourths, fifths, and octaves were considered perfectly consonant in early music theory and have one standard size rather than major/minor variants. Altering them by a semitone makes them augmented or diminished instead.
12. How do intervals relate to chords?
A chord is a stack of intervals above a root note. A major triad is a major third plus a minor third (C–E–G); a minor triad flips them (C–Eb–G). Recognizing the intervals lets you build any chord from scratch.
13. Can this calculator handle intervals bigger than an octave?
It measures within a single octave (0–11 semitones). For a compound interval, subtract 12 semitones (one octave) and name the remainder — 16 semitones is an octave plus a major third, a major tenth.
14. What is the easiest way to learn intervals by ear?
Associate each with a familiar song opening: a minor second is the Jaws theme, a major third is “When the Saints,” a perfect fourth is “Here Comes the Bride,” a perfect fifth is “Star Wars,” and an octave is “Somewhere Over the Rainbow.”
15. Do intervals sound the same on every instrument?
The distance in semitones is identical everywhere, but timbre colors how we hear it — a minor third on a piano versus a distorted guitar feels different even though the interval is the same. The math is universal; the mood depends on the instrument.
Final Thoughts
Intervals are the vocabulary musicians use to talk about distance between notes, and naming them correctly opens up chords, scales, and ear training alike. The Intervals Calculator gives you the name, the semitone count, the shorthand, and the inversion in one click — use it to check your theory homework, decode a melody, or build chords with confidence. Once the twelve names feel familiar, you will start hearing them everywhere in the music you love.