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.

ЁЯзо Calculator

We use cookies for essential functionality, analytics, and advertising (including cross-context behavioral advertising via Google AdSense). Non-essential cookies are set only with your consent. See our Privacy Policy.