Interval Calculator

Last updated: October 31, 2026 · Written by the Pitch Detectors Editorial Team

Calculate the interval between two notes. Supports all major, minor, perfect, augmented, and diminished intervals.

Calculated Interval

Major 3rd (4 semitones)

Common Intervals

Interval Semitones
Minor 2nd 1
Major 2nd 2
Minor 3rd 3
Major 3rd 4
Perfect 4th 5
Perfect 5th 7
Minor 6th 8
Major 6th 9
Minor 7th 10
Major 7th 11
Octave 12

Key Takeaways

  • An interval is the distance between two pitches, named by its size (2nd, 3rd, 5th…) and quality (major, minor, perfect, augmented, diminished).
  • Count semitones first, name second: 7 semitones is always a perfect fifth — the fastest reliable identification method.
  • Perfect intervals (unison, 4th, 5th, octave) can't be major or minor — only augmented or diminished.
  • The tritone (6 semitones) splits the octave exactly in half — the most unstable interval in tonal music.
  • Intervals are the atoms of harmony: stack them to build chords (chord identifier) and scales (scale finder).

What Is an Interval Calculator?

An interval calculator measures the musical distance between two notes and names it. Select any two pitches — say, C and G — and it reports the interval: a perfect fifth spanning 7 semitones. The name tells you both the size (fifth = five letter-names apart) and the quality (perfect = the stable, "pure" version).

Intervals are the foundation everything else is built from: chords are stacks of intervals, scales are sequences of them, and melodies are intervals in motion. If chord names confuse you, intervals are the simpler layer underneath — learn these and chords start making sense.

How This Calculator Works

The widget above names intervals by semitone counting with wraparound — the same method theorists use, minus the spelling nuance. The exact procedure:

  1. Pick two notes: each pitch maps to its position in the chromatic scale (C = 0, C♯ = 1, D = 2 … B = 11).
  2. Subtract and wrap: semitones = (second − first + 12) mod 12, so going down still gives a positive ascending distance.
  3. Look up the name: the semitone count maps to a fixed table — 4 → major 3rd, 7 → perfect 5th, 12 → octave.
  4. Display: the interval name plus its semitone count, e.g. "Minor 3rd (3 semitones)."

One simplification to know: the widget names by semitone count alone, so C to D♯ reads as "minor 3rd" (3 semitones) even though the spelling technically makes it an augmented 2nd — see the enharmonic section below.

Interval Formula and Worked Example

The core computation, with note positions numbered C = 0 through B = 11:

semitones = (note₂ − note₁ + 12) mod 12

Worked example — C up to A:

  1. Positions: C = 0, A = 9.
  2. Semitones: (9 − 0 + 12) mod 12 = 9.
  3. Table lookup: 9 semitones = major 6th.
  4. Sanity check: C–D–E–F–G–A spans six letter names, and the major scale of C contains A natural — major 6th confirmed.

Descending example — G down to E: the widget measures ascending distance, so G (7) to E (4) gives (4 − 7 + 12) mod 12 = 9 semitones = major 6th upward — equivalently, E to G is the minor 3rd you hear going down.

How to Use This Calculator

  1. Select the first note: the lower (or starting) pitch of the pair.
  2. Select the second note: the upper (or target) pitch.
  3. Read the result: the interval name and semitone count appear instantly (e.g. "Perfect 5th (7 semitones)").
  4. Experiment: change one note at a time to feel how each semitone alters the quality — minor one step below major.

Reading Your Result: The Complete Interval Table

Semitones Interval name Abbreviation Character
0 / 12 Perfect unison / Octave P1 / P8 Total stability
1 Minor 2nd m2 Tense, clashing
2 Major 2nd M2 Open, neutral
3 Minor 3rd m3 Dark, sad
4 Major 3rd M3 Bright, happy
5 Perfect 4th P4 Stable, hollow
6 Tritone (aug. 4th) A4 / d5 Maximum tension
7 Perfect 5th P5 Strong, stable
8 Minor 6th m6 Wistful
9 Major 6th M6 Warm, sweet
10 Minor 7th m7 Bluesy, unresolved
11 Major 7th M7 Dreamy, yearning

Compound Intervals: 9ths, 11ths, and 13ths

A compound interval is a simple interval plus an octave: a 9th is a 2nd up an octave, an 11th a 4th, a 13th a 6th. The widget above reports the simple form (within one octave), so subtract 7 from any compound number to find what it will display: a 9th (14 semitones) reads as a major 2nd (2 semitones).

Jazz chord symbols use compound names deliberately — C13 tells the player the 13th sits above the 7th in the voicing, information the simple "6th" would lose. For naming, think compound; for measuring, the calculator's simple interval is all you need.

HARMONIC & PITCH MATRIX Alt text: Piano diagram showing a perfect fifth within one octave and its compound form, the perfect twelfth, an octave higher. ROOT Tonic (1) 3rd Major/Min 5th Perfect (P5) 7th Subtonic 9th Extension PITCH REFERENCE A4 = 440 Hz • ±0 Cents a piano octave with C–G highlighted as a perfect 5th (7 semitones), and C–G an octave higher la
Alt text: Piano diagram showing a perfect fifth within one octave and its compound form, the perfect twelfth, an octave higher.

Enharmonic Intervals: Same Sound, Different Name

Enharmonic intervals sound identical but are spelled — and named — differently. C to D♯ and C to E♭ are both 3 semitones, but the first is technically an augmented 2nd and the second a minor 3rd. The widget reports "minor 3rd" for both, because it counts semitones rather than reading spelling.

Does it matter? For sound, no — 3 semitones is 3 semitones. For theory homework and notation, yes: the correct name follows the letter distance (C to D is a 2nd of some kind; C to E is a 3rd). Use the calculator for sound, and apply the letter-count rule when spelling matters.

The Quality Pattern: Major, Minor, Perfect in 30 Seconds

Interval quality follows one pattern. Seconds, thirds, sixths, and sevenths come in major/minor pairs — the major version is one semitone wider. Unisons, fourths, fifths, and octaves are perfect — they have no major/minor form, only augmented (wider) or diminished (narrower).

Memory hook: "perfect" intervals are the ones that sound hollow and stable (P4, P5, P8) — the pillars of the scale. Everything else carries major/minor color. Widen any perfect or major interval by a semitone and it becomes augmented; narrow any perfect or minor interval and it becomes diminished.

From Intervals to Chords and Scales

Every chord is a stack of intervals, and every scale is a sequence of them. A major triad is a major 3rd plus a minor 3rd (4 + 3 semitones); a major scale is the interval pattern whole–whole–half–whole–whole–whole–half. Once you can name intervals instantly, chord formulas stop being memorization and become arithmetic.

Workflow: measure an unfamiliar chord's intervals here, then enter the full note set into the chord identifier for the complete name — or check a melody's notes against candidate scales in the scale finder.

[Infographic: building a C major triad as stacked intervals — C→E (major 3rd, 4 semitones) then E→G (minor 3rd, 3 semitones)]
Alt text: Infographic showing a C major triad built by stacking a major third and a minor third.

Limitations

  • Spelling-blind: the widget names by semitone count, so enharmonic intervals (augmented 2nd vs minor 3rd) get one shared name.
  • One octave range: compound intervals (9ths and beyond) are reported in their simple form — subtract 7 yourself for the compound name.
  • Ascending measurement: distances are measured upward with wraparound; descending melodic intervals need mental flipping.
  • 12-tone equal temperament: just-intonation and microtonal intervals are rounded to the nearest semitone.

Interval Calculator vs Alternatives

Method How it works Best for Watch out for
This calculator Note pair → semitone count → name Instant naming, ear training Spelling-blind; one octave
Piano/keyboard Count keys visually Building physical intuition Slow; easy to miscount
Interval ear trainer Quiz by sound Audiation and recognition Doesn't teach the math
Frequency ratio math Compute Hz ratios (e.g. 3:2) Acoustics and tuning theory Overkill for naming

Interval names follow 12-tone equal temperament convention. Enharmonic equivalents (e.g. augmented 2nd vs minor 3rd) share semitone counts and are reported under their most common name.

Frequently Asked Questions

Number the chromatic scale C = 0 through B = 11, subtract the lower note's number from the higher's, and wrap around with modulo 12. Then look up the semitone count: 7 is a perfect fifth, 4 a major third, 3 a minor third. The calculator above does this instantly.

One semitone. A major interval is the wider version: major 3rd is 4 semitones, minor 3rd is 3. Lower any major interval by a half step and it becomes minor; raise a minor interval and it becomes major. Only 2nds, 3rds, 6ths, and 7ths have major/minor forms.

Unisons, 4ths, 5ths, and octaves — the intervals that sound uniquely stable and "hollow" because of their simple frequency ratios (the perfect fifth is 3:2). They have no major/minor version; widening one makes it augmented, narrowing makes it diminished.

Seven. It is the most useful number in music theory to memorize: 7 semitones up is a fifth, 7 down (or 5 up) is a fourth. The circle of fifths is literally the number 7 applied repeatedly modulo 12.

The tritone spans 6 semitones — exactly half an octave — splitting it into two equal, unstable halves. Its frequency ratio (√2:1) is the most complex in the chromatic scale, which our ears hear as tension demanding resolution. It is the engine inside every dominant-7th chord.

Sound: nothing — both are 3 semitones. Spelling: everything. C to E♭ spans three letter names (a 3rd); C to D♯ spans two (a 2nd). Use the minor 3rd name in minor keys and the augmented 2nd in harmonic-minor contexts where the D♯ spelling is correct.

Simple intervals plus an octave: a 9th is a 2nd up an octave (14 semitones), an 11th is a 4th (17), a 13th is a 6th (21). Subtract 7 from the compound number to get the simple interval this calculator reports. Jazz harmony names them compound to show voicing height.

Chords are stacks of intervals measured from the root: a major triad is a major 3rd (4 semitones) plus a minor 3rd (3 semitones) = perfect 5th total. Learn the interval table and chord formulas become arithmetic instead of memorization.

The semitone (half step) — e.g. E to F, or C to C♯. It is the smallest step on a piano and the unit this calculator counts in. Some traditions use smaller microtonal divisions, but 12-tone equal temperament builds everything from semitones.

Flip it upside down: the inversion of an interval always sums to 9 (2nd ↔ 7th, 3rd ↔ 6th, 4th ↔ 5th), and the quality flips too — major becomes minor, augmented becomes diminished, perfect stays perfect. So a major 6th inverts to a minor 3rd.