Music Interval Calculator

Use this music interval calculator calculator to understand your numbers quickly and make clearer decisions with confidence.

๐ŸŽต
Music Interval Calculator
Find ยท Build ยท Frequency Analysis ยท Scale & Chord Builder โ€” All 13 Intervals ยท Equal Temperament
P1
m2
M3
P5
P8

Mode

โ–ผ
โ–ผ
261.63 Hz
โ–ผ
โ–ผ
392.00 Hz

What Is a Music Interval Calculator?

A music interval calculator is a music theory tool that determines the relationship between two musical notes โ€” specifically, the number of semitones (half steps) separating them, the interval name (Minor 3rd, Perfect 5th, Major 7th, etc.), the frequency ratio, and the distance in cents. Whether you are a student learning to identify intervals by ear, a composer building chord progressions, or a producer tuning synthesizers, an interval calculator gives you precise, instant information about the mathematical structure of music.

The music interval calculator above offers 4 specialized modes: Find Interval (identify the interval between any two notes with piano visualization), Build Interval (get the result note from a root plus any interval), Frequency Analysis (calculate cents and semitones from two Hz values), and Scale & Chord Builder (generate 14 scales and 14 chord types with a live piano keyboard view).

๐ŸŽน

Piano Visualization

Every result includes a two-octave piano keyboard with highlighted notes, so you can instantly see the physical distance between any two notes on the keyboard.

๐ŸŽผ

14 Scales, 14 Chords

The Scale & Chord Builder covers Major, all 7 modes (Dorian, Phrygian, Lydian, Mixolydian, Locrian), Natural/Harmonic/Melodic Minor, pentatonic, blues, whole tone, and all common chord types.

๐Ÿ“

Frequency Precision

Uses the equal temperament formula f(n) = fโ‚€ ร— 2^(n/12) for exact Hz values, plus just intonation ratios for comparison. The frequency analysis mode accepts any Hz input, including microtonal values.

Music interval calculator infographic: piano keyboard with Perfect 5th highlighted, equal temperament frequency formula f(n)=f0ร—2^(n/12), cents formula, complete 13-interval reference table with quality colors, C Major scale and C Major chord examples

Complete music interval reference: piano keyboard, frequency formula, and 13 interval table. See all 13 intervals โ†’

The Key Formulas: Semitones, Cents, and Frequency

Music intervals are defined by three related measurements โ€” semitones (discrete steps on a standard keyboard), cents (fine-grained pitch measurement), and frequency ratios (the ratio of vibrations per second between two notes). Here are the essential formulas:

โ‘  Semitone Count

Semitones = |MIDIโ‚‚ โˆ’ MIDIโ‚|

MIDI numbering: Middle C (C4) = 60, A4 = 69. Each semitone = 1 MIDI unit. C4 to G4 = |67โˆ’60| = 7 semitones = Perfect 5th. C4 to the B below (B3) = |59โˆ’60| = 1 semitone = Minor 2nd descending.

โ‘ก Equal Temperament Frequency

f(n) = fโ‚€ ร— 2nรท12

Where: fโ‚€ = reference frequency (A4 = 440 Hz), n = semitones from reference. Example: How many Hz is C5 (3 semitones above A4)? f = 440 ร— 2^(3/12) = 440 ร— 1.1892 = 523.25 Hz. Each octave exactly doubles frequency.

โ‘ข Cents Calculation

Cents = 1200 ร— log2(fโ‚‚ รท fโ‚)

A cent is 1/100th of a semitone. One octave = 1200 cents. One semitone = 100 cents (in equal temperament). Cents allow precise comparison of microtonal differences โ€” useful in guitar intonation, synthesizer tuning, and ear training where pitches are between standard semitones.

โ‘ฃ Interval Quality Color Code

Perfect (P)
Unison, 4th, 5th, Octave โ€” most consonant
Major (M)
Major 2nd, 3rd, 6th, 7th โ€” bright-sounding
Minor (m)
Minor 2nd, 3rd, 6th, 7th โ€” darker tone
Tritone (TT)
6 semitones โ€” maximally dissonant, unstable

The 13 Standard Music Intervals

Western music theory recognizes 13 intervals spanning one octave (0โ€“12 semitones). Each has a unique name, abbreviation, harmonic quality, and frequency ratio in just intonation. Equal temperament adjusts these ratios to allow consistent tuning in all 12 keys.

StAbbrInterval NameQualityJust RatioET CentsExample (C root)
0P1Perfect UnisonPerfect1:10ยขC โ†’ C Most consonant; same pitch
1m2Minor 2ndMinor16:15100ยขC โ†’ C#/Db Dissonant; semitone step
2M2Major 2ndMajor9:8200ยขC โ†’ D Whole step; sounds like a scale step
3m3Minor 3rdMinor6:5300ยขC โ†’ D#/Eb Melancholic; minor chord foundation
4M3Major 3rdMajor5:4400ยขC โ†’ E Bright; major chord foundation
5P4Perfect 4thPerfect4:3500ยขC โ†’ F Open, stable; "Here Comes the Bride"
6TTTritoneTritoneโˆš2:1600ยขC โ†’ F#/Gb Maximally dissonant; "The Simpsons"
7P5Perfect 5thPerfect3:2700ยขC โ†’ G Most consonant after octave; power chord
8m6Minor 6thMinor8:5800ยขC โ†’ G#/Ab Softer, introspective
9M6Major 6thMajor5:3900ยขC โ†’ A Warm, relaxed consonance
10m7Minor 7thMinor16:91000ยขC โ†’ A#/Bb Tension; dominant 7th chord
11M7Major 7thMajor15:81100ยขC โ†’ B Dreamy tension; maj7 chord
12P8Perfect OctavePerfect2:11200ยขC โ†’ C (higher) Full consonance; frequency doubles

How Intervals Build Scales

A scale is a sequence of notes defined by a specific pattern of intervals. The most common scale in Western music, the Major scale, uses the pattern Wโ€“Wโ€“Hโ€“Wโ€“Wโ€“Wโ€“H (where W = whole step = 2 semitones, H = half step = 1 semitone). Starting from C: C(0) โ†’ D(2) โ†’ E(4) โ†’ F(5) โ†’ G(7) โ†’ A(9) โ†’ B(11) โ†’ C(12).

ScaleSemitone StepsPatternCharacter
Major (Ionian)0-2-4-5-7-9-11W-W-H-W-W-W-HBright, happy, foundational
Natural Minor0-2-3-5-7-8-10W-H-W-W-H-W-WDark, melancholic, emotionally complex
Harmonic Minor0-2-3-5-7-8-11W-H-W-W-H-A-HExotic, dramatic, Middle-Eastern feel
Dorian0-2-3-5-7-9-10W-H-W-W-W-H-WCool, jazzy, minor with a bright 6th
Phrygian0-1-3-5-7-8-10H-W-W-W-H-W-WSpanish/flamenco, dark-exotic
Lydian0-2-4-6-7-9-11W-W-W-H-W-W-HDreamy, floating, ethereal (raised 4th)
Mixolydian0-2-4-5-7-9-10W-W-H-W-W-H-WBluesy, rock, major with flat 7th
Pentatonic Major0-2-4-7-9W-W-WH-W-WHUniversal, no dissonance, easy to improvise
Blues0-3-5-6-7-10WH-W-H-H-WH-WSoulful, expressive, signature of blues/rock

How Intervals Build Chords

Chords are simultaneous combinations of notes defined by specific interval relationships from the root. A C Major triad = C + E + G = Root (P1) + Major 3rd (M3, 4 st) + Perfect 5th (P5, 7 st). The difference between major and minor is a single semitone: (M3 = 4 st) versus (m3 = 3 st) for the middle note.

ChordAbbrSemitone StepsExample in CSound
Majormaj0-4-7C-E-GBright, happy, stable
Minorm0-3-7C-Eb-GDarker, melancholic, stable
Diminisheddim0-3-6C-Eb-GbTense, unstable, dissonant
Augmentedaug0-4-8C-E-G#Dreamy, ambiguous tension
Dominant 7th70-4-7-10C-E-G-BbBluesy tension, wants to resolve
Major 7thmaj70-4-7-11C-E-G-BRich, jazzy, sophisticated
Minor 7thm70-3-7-10C-Eb-G-BbSmooth, jazzy, soulful
Sus4sus40-5-7C-F-GSuspended tension, open
Power (5th)50-7C-GHeavy, ambiguous (no 3rd)

Equal Temperament vs. Just Intonation

Modern Western instruments use equal temperament (ET) โ€” a tuning system where each of the 12 semitones is exactly equal at a ratio of 2^(1/12) โ‰ˆ 1.05946. This makes all keys sound identical and enables free modulation between keys. However, ET slightly mistuned from the pure mathematical ratios found in just intonation (JI) โ€” based on small integer ratios like 3:2 (Perfect 5th) or 5:4 (Major 3rd).

IntervalET Hz (from A4=440)Just RatioJust HzDifference
Perfect 5th (E5)659.26 Hz3:2660.00 Hz+1.96 cents
Major 3rd (C#5)554.37 Hz5:4550.00 Hzโˆ’13.69 cents
Perfect 4th (D5)587.33 Hz4:3586.67 Hzโˆ’1.96 cents
Minor 3rd (C5)523.25 Hz6:5528.00 Hz+15.64 cents

Note: All from A4 = 440 Hz reference. The Major 3rd is the furthest from pure at โˆ’13.69 cents โ€” this is why a cappella singers and string players naturally drift sharp on major thirds compared to piano.

Frequently Asked Questions

๐ŸŽตHow many semitones are in a Perfect 5th?

A Perfect 5th spans exactly 7 semitones (half steps). On a piano, C to G is a Perfect 5th: Cโ†’C#โ†’Dโ†’D#โ†’Eโ†’Fโ†’F#โ†’G = 7 steps. In frequency terms, a Perfect 5th has a ratio of exactly 3:2 in just intonation (1.5ร—), or 2^(7/12) โ‰ˆ 1.4983 in equal temperament. A Perfect 5th is the second most consonant interval after the octave and forms the foundation of power chords in rock and roll.

๐ŸŽตWhat is the difference between semitones and cents?

A semitone is the smallest standard interval in Western music โ€” one step on a piano keyboard. A cent is 1/100th of a semitone, making it 1/1200th of an octave. Cents are used when comparing tuning systems (equal temperament vs. just intonation) or when working with microtonal music. Guitarists use cents when checking intonation: if your 12th-fret harmonic is a few cents off from the fretted note, your intonation needs adjustment. The cents formula is Cents = 1200 ร— logโ‚‚(fโ‚‚/fโ‚).

๐ŸŽตWhat is the tritone and why is it dissonant?

The tritone (abbreviation TT) is exactly 6 semitones โ€” exactly half an octave. Its frequency ratio in equal temperament is 2^(6/12) = โˆš2 โ‰ˆ 1.4142. It cannot be expressed as a simple integer ratio, making it maximally dissonant and harmonically unstable. Historically called "diabolus in musica" (the devil in music) in medieval Europe, it was avoided in polyphonic composition. Today it's central to blues and jazz โ€” the "blues note" โ€” and appears in famous themes like "The Simpsons" and "Purple Haze" by Jimi Hendrix.

๐ŸŽตHow do I find what scale a set of notes belongs to?

Use the Scale & Chord Builder mode in the calculator above to generate all 14 scale types for any root and compare notes. Manual method: list your notes in ascending order, calculate semitone gaps between consecutive notes (e.g., C D E F G A B C = 2,2,1,2,2,2,1 = W-W-H-W-W-W-H), then compare that pattern to the standard scale patterns. Major pattern is W-W-H-W-W-W-H. Natural Minor is W-H-W-W-H-W-W. If no standard pattern matches, it may be a mode or an exotic scale.

๐ŸŽตWhat is A4 = 440 Hz and why is it used as the reference?

A4 (the A above middle C) is the international standard tuning reference, set at 440 Hz by the International Organization for Standardization (ISO) in 1955. This means when you press A4 on a correctly-tuned piano, the string vibrates 440 times per second. All other notes are calculated relative to this reference using the equal temperament formula f(n) = 440 ร— 2^(n/12), where n is semitones above or below A4. Some orchestras and historically-informed ensembles use A = 415 Hz (one semitone lower), and some modern orchestras tune to A = 442 Hz for a brighter sound.

Related Calculators

  • Download Time Calculator โ†’

    Downloading a VST plugin, sample library, or DAW? Calculate how long your download will take based on your internet speed and the file size โ€” before committing to a multi-GB music production library.

  • Date Calculator โ†’

    Calculate how many days until your concert, recording session, or music exam. Add or subtract days from any date to plan rehearsal schedules and composition deadlines.

  • Time Zone Calculator โ†’

    Collaborating remotely with musicians in other countries? Use the meeting planner to find the best time for an online jam session or mixing call across multiple time zones.

  • Minecraft Stack Calculator โ†’

    Taking a break from music theory? Use the Minecraft stack calculator to organize your in-game resources โ€” calculate stacks, storage containers, and shulker box requirements.

  • Percentage Calculator โ†’

    Calculate the percentage of correct notes in your sight-reading practice, or determine what fraction of a song's chord progression uses a specific interval type.

  • Test Grade Calculator โ†’

    Taking a music theory exam? Calculate your score percentage, letter grade, and how many points (or questions) you need to get right to pass. Also useful for calculating practice quiz scores.

๐Ÿงฎ Calculatrice