Music Interval Calculator

5 features

Music Interval Calculator: Visualise, Hear & Analyse Any Interval Instantly

This tool calculates the interval between any two notes — including enharmonic equivalents and both ascending and descending directions — and displays it on an interactive keyboard diagram and the circle of fifths. Both notes can be played via Web Audio synthesis so you can hear the interval, and the result includes the interval's name, semitone distance, ratio, consonance classification, and common usage context.

🎹

Keyboard Visualisation

Both selected notes are highlighted on an interactive piano keyboard spanning 2 octaves. The interval span is shown as a coloured arc above the keys. Click any key to set note 1 or note 2.

🔵

Circle of Fifths View

Both notes are marked on the circle of fifths, with the interval distance visualised as an arc. Useful for understanding harmonic relationships and key distance between notes.

🔊

Playable Tones (Web Audio)

Hear note 1, note 2, or both simultaneously (harmonic interval) or sequentially (melodic interval). Uses a sine/sawtooth blend for clear pitch perception. Works in any modern browser.

↕️

Direction Modes

Calculate ascending or descending intervals. Toggle between the two to hear and compare: e.g., C ascending to G = Perfect 5th; C descending to G = Perfect 4th.

🎓

Ear Training Mode

The tool plays an interval and asks you to identify it by name. Tracks your accuracy per interval type across the session. Ideal for systematic interval ear training.

Complete interval reference

All 13 Intervals: Semitones, Ratios & Consonance

Interval nameAbbreviationSemitonesFrequency ratioConsonance
UnisonP101:1Perfect consonance
Minor 2ndm2116:15Sharp dissonance
Major 2ndM229:8Mild dissonance
Minor 3rdm336:5Imperfect consonance
Major 3rdM345:4Imperfect consonance
Perfect 4thP454:3Perfect consonance
Tritone (Aug 4th / Dim 5th)TT / A4 / d56√2:1 ≈ 45:32Maximum dissonance
Perfect 5thP573:2Perfect consonance
Minor 6thm688:5Imperfect consonance
Major 6thM695:3Imperfect consonance
Minor 7thm71016:9Mild dissonance
Major 7thM71115:8Sharp dissonance
OctaveP8122:1Perfect consonance
Recognition mnemonics

Interval Ear Training: Classic Song Mnemonics

Each interval has a characteristic sound most easily remembered by association with a famous song that opens with that interval. These mnemonics are widely used in music education and are the fastest path to reliable interval recognition:

IntervalAscending mnemonicDescending mnemonic
Minor 2nd (m2)"Jaws" theme"Joy to the World" (first two notes, down)
Major 2nd (M2)"Happy Birthday" (first two notes)"Mary Had a Little Lamb" (opening)
Minor 3rd (m3)"Smoke on the Water" (opening riff)"Hey Jude" (opening)
Major 3rd (M3)"When the Saints Go Marching In""Summertime" (Gershwin, opening)
Perfect 4th (P4)"Here Comes the Bride""Eine Kleine Nachtmusik" (opening)
Tritone (TT)"The Simpsons" theme (opening)"Simpsons" theme (same)
Perfect 5th (P5)"Star Wars" theme (opening)"Flintstones" theme
Minor 6th (m6)"The Entertainer" (opening jump)"Nobody Knows the Trouble I've Seen"
Major 6th (M6)"My Bonnie Lies Over the Ocean""Nobody" (various)
Minor 7th (m7)"Somewhere" (West Side Story)"Waterloo" (ABBA, opening)
Major 7th (M7)"Take On Me" (A-ha, verse)Rare in popular music — use "M7 = almost octave"
Octave (P8)"Somewhere Over the Rainbow" (first leap)"Willow Weep for Me"
FAQ

Frequently Asked Questions

What is an enharmonic equivalent and how does the calculator handle it?

Enharmonic equivalents are notes that sound identical but are spelled differently: C# and D♭ are the same pitch but different note names. In equal temperament (the tuning system used by virtually all modern instruments), they are exactly the same frequency. The interval calculator lets you select either spelling and correctly identifies the interval name based on the note letters used — for example, C to E♭ = Minor 3rd (3 letter names apart), while C to D# = Augmented 2nd (only 2 letter names apart), even though both span 3 semitones. In practice for ear training, both sound identical, but the spelling matters for music theory, composition, and reading sheet music correctly.

What is the tritone and why is it called "diabolus in musica"?

The tritone (augmented 4th or diminished 5th) divides the octave exactly in half — 6 semitones. It has the most dissonant, unstable sound of all intervals in Western tonal music, creating strong tension that demands resolution. Medieval church music theorists called it "diabolus in musica" (the devil in music) and its use was discouraged or forbidden in sacred polyphony. In modern music, it is essential: the dominant 7th chord (e.g., G7 in C major) contains a tritone between its 3rd (B) and 7th (F) that drives the powerful resolution to the tonic chord. Jazz heavily exploits tritone substitution as a harmonic technique.

What is the difference between a harmonic and a melodic interval?

A harmonic interval is when both notes are played simultaneously (like a piano chord). A melodic interval is when the notes are played one after another (like a melody). The sound quality of the same interval differs between these two contexts: harmonic minor 2nds (e.g., C and C# played together) sound particularly harsh and abrasive, while melodic minor 2nds (a half-step melody move) sound smooth and stepwise. The ear training mode in this calculator trains both types separately — you can set it to harmonic-only, melodic-only, or mixed to match your specific training goal (instrument-specific: pianists often need harmonic recognition; melodic recognition is more universal).

How long does interval recognition training take?

With daily practice (10–15 minutes), most musicians can reliably identify the 5 most common intervals (P4, P5, M3, m3, Octave) within 3–5 weeks. Extending to all 13 intervals typically takes 3–6 months. The final milestone — instantaneous recognition of all intervals in both melodic and harmonic context, ascending and descending, in any key — generally takes 6–18 months. The song mnemonic method accelerates the early stages; later, the goal is to internalize the sound directly without needing the mnemonic cue. Use the trainer's "blind mnemonic" setting to practice without the hint once you feel confident.

Embed this Calculator on Your Website

You can integrate this calculator for free into your own website. Get the embed code on our overview page.

Get Embed Code

Nach oben scrollen