piano.org · The Complete Guide

What Is an Interval?

An interval is the distance between two musical notes. Every chord, scale, and melody is built from intervals — understanding them unlocks the entire language of music theory.

14 sections·9 interactive widgets·Ear training included
Quick definition
An interval is the distance between two musical notes, measured in half-steps and named using a number (2nd, 3rd, 4th…) plus a quality (perfect, major, minor, augmented, diminished).
Theory Fundamentals Series
What Is a Chord?What Is an Interval?What Is a Scale? (coming soon)Circle of Fifths

The 30-Second Answer

An interval is simply the distance between two notes. On the piano, you can count that distance by counting the keys between them — including black keys. Each key-to-key step is one half-step (also called a semitone).

The five most important intervals to know first: the unsettling minor 2nd, the "happy" major 3rd, the powerful perfect 5th, the fusing octave, and the notorious tritone. Press each button below to hear and see them.

Interactive — hear 5 key intervals
Select an interval above to hear it and see the notes highlighted on the keyboard.
The two-part name: Every interval has a number (how many staff positions it spans) and a quality (how many half-steps that spans within the number). "Major 3rd" = number 3, quality major. You'll learn both parts in sections 4–7.

Note vs Interval vs Chord vs Scale

These four concepts build on each other. A note is a single pitch. An interval is the distance between two notes. A chord is three or more notes sounding together (stacked intervals). A scale is a sequence of notes ordered by their intervals from a root.

Click each tile below to hear the difference and see which keys are involved.

Interactive — hear the difference
NoteSingle pitch
IntervalDistance between 2 notes
Chord3+ notes together
ScaleSequence by interval pattern
Click a tile above to hear and see it on the keyboard.
Key insight: Intervals are the atoms of music theory. Chords are made by stacking intervals. Scales are sequences of intervals. Chord progressions move by interval. Once you understand intervals, everything else clicks into place.

Half-Steps & Whole-Steps

The half-step (semitone) is the smallest interval on the piano — the distance between any key and its immediate neighbour, black or white. E to F is a half-step. B to C is a half-step. C to C♯ is a half-step.

A whole-step (tone) is exactly two half-steps — one key in between. C to D is a whole-step (C♯ in the middle). E to F♯ is a whole-step (F in the middle).

Click any two keys on the keyboard below to measure the distance between them. The widget will count the half-steps and name the interval.

Interactive — click two keys to count half-steps
Click any key to set the starting note, then click another key to measure.
Why half-steps? All interval names ultimately reduce to a half-step count. A major 3rd = 4 half-steps, always. A perfect 5th = 7 half-steps, always. The half-step is the universal unit of musical distance.

Naming Intervals — the Two-Part System

Every interval has two components in its name: a number and a quality. Together they give you the full name: “Major 3rd,” “Perfect 5th,” “Minor 7th.”

Part 1: The Number

Count the letter names spanned, including both endpoints. C to E spans C, D, E — that's three letter names, so it's a 3rd. C to G spans C, D, E, F, G — five letter names, so it's a 5th. This is always the first step, and it never changes even when notes are sharp or flat.

Part 2: The Quality

The quality tells you the exact size within that number. There are five qualities:

  • Perfect — applies only to unisons, 4ths, 5ths, and octaves. These intervals have especially pure frequency ratios.
  • Major — the larger version of 2nds, 3rds, 6ths, and 7ths.
  • Minor — one half-step smaller than major. The sadder, softer version.
  • Augmented — one half-step larger than perfect or major. Rare but important (the tritone is an augmented 4th).
  • Diminished — one half-step smaller than perfect or minor. Also rare (the tritone is also a diminished 5th).
The matching table: Unison, 4th, 5th, octave → can be perfect, augmented, or diminished. 2nd, 3rd, 6th, 7th → can be major, minor, augmented, or diminished. These two groups never swap — a 5th is never “major.”

The Perfect Intervals

The four perfect intervals — unison, perfect 4th, perfect 5th, and octave — get their name from their uniquely pure frequency ratios. The octave is 2:1 (double the frequency). The perfect 5th is 3:2. The perfect 4th is 4:3. These ratios are so clean that the notes seem to fuse rather than clash.

Perfect intervals are neither major nor minor — they sit in their own quality category. And unlike major/minor intervals, they have no “parallel” version on the other side: there is no “major 5th” or “minor 4th” in standard nomenclature.

Select a root note below, then click each perfect interval tile to hear it from that root.

Interactive — perfect intervals from any root
0Perfect UnisonP1 · 1:1
5Perfect 4thP4 · 4:3
7Perfect 5thP5 · 3:2
12OctaveP8 · 2:1
Choose a root note above, then click an interval tile to hear it.
Why are they stable? The simpler the frequency ratio, the more consonant (stable, restful) the interval sounds to the ear. 2:1 (octave) and 3:2 (perfect 5th) are the simplest ratios after unison — which is why they've been the foundation of harmony in every musical tradition across history.

Major & Minor Intervals

The 2nd, 3rd, 6th, and 7th each come in two flavors: major (larger, brighter, more open) and minor (one half-step smaller, darker, more inward). Major intervals appear in major scales; minor intervals appear in minor scales — which is where the names come from.

The difference is always exactly one half-step. A major 3rd is 4 half-steps; a minor 3rd is 3. A major 6th is 9 half-steps; a minor 6th is 8. This single half-step shift produces the emotional contrast between “happy” and “sad” that defines so much of Western music.

Select a root, then toggle between the A (major) and B (minor) version of each interval pair.

Interactive — major vs minor pairs
2Major 2ndM2
1Minor 2ndm2
4Major 3rdM3
3Minor 3rdm3
9Major 6thM6
8Minor 6thm6
11Major 7thM7
10Minor 7thm7
Choose a root, then click a tile to hear and compare major vs minor versions.
Emotional rule of thumb: Major intervals lean brighter and more open; minor intervals lean darker and more introspective. This is why major chords “sound happy” (built on major 3rd) and minor chords “sound sad” (built on minor 3rd). The effect is real but culturally shaped — not an absolute law of physics.

Augmented & Diminished — and the Tritone

When you expand a perfect or major interval by one half-step, it becomes augmented. When you shrink a perfect or minor interval by one half-step, it becomes diminished. These are the outermost edges of the quality spectrum.

The most important augmented/diminished interval is the tritone — 6 half-steps, exactly half an octave. It has a unique identity: it can be called either an augmented 4th (C to F♯) or a diminished 5th (C to G♭). Both are 6 half-steps — the same piano keys, different spellings.

Medieval music theorists called it the diabolus in musica (devil in music) and avoided it. Jazz and blues composers embraced it as the ultimate tension interval.

Tritone lab — the diabolus in musica
The tritone is the same 6 half-steps whether spelled as an augmented 4th or diminished 5th — two names, identical sound.
Augmented vs Diminished rule: Augmented = one half-step larger than perfect/major. Diminished = one half-step smaller than perfect/minor. They almost always resolve — augmented intervals expand outward, diminished intervals contract inward.

Consonant vs Dissonant

Consonance describes intervals that sound stable, restful, and resolved on their own. Dissonance describes intervals that feel tense, unsettled, and like they want to move. The distinction is not absolute — it's a spectrum, and context matters enormously.

The traditional classification:

  • Perfect consonances: Unison (P1), Perfect 5th (P5), Octave (P8) — ratio 1:1, 3:2, 2:1
  • Imperfect consonances: Major/Minor 3rd (M3/m3), Major/Minor 6th (M6/m6) — ratios 5:4, 6:5, 5:3, 8:5
  • Mild dissonances: Perfect 4th (P4) — 4:3 (consonant in some contexts, dissonant in others)
  • Strong dissonances: Major/Minor 2nd, Major/Minor 7th, and the Tritone
INTERVALHALF-STEPSRATIOCONSONANCEPerfect Unison01:1✓ consonantMinor 2nd116:15✗ dissonantMajor 2nd29:8✗ dissonantMinor 3rd36:5✓ consonantMajor 3rd45:4✓ consonantPerfect 4th54:3✓ consonantTritone6√2:1✗ dissonantPerfect 5th73:2✓ consonant
Context is everything: The perfect 4th is consonant in a C major chord (C–F–G) but dissonant when placed above the bass in two-voice counterpoint. The tritone is dissonant in classical harmony but the defining color of a dominant 7th chord in jazz. Consonance is a relationship, not an absolute property of isolated intervals.

How Each Interval Sounds — Ear Training

The fastest path to recognizing intervals by ear is melodic association: link each interval to the opening notes of a memorable song. Once you've heard “Perfect 5th = Star Wars” enough times, you'll hear that leap in any context — even when it's not from C.

Press Play Interval to hear a random interval played sequentially then harmonically. Try to identify it before clicking an answer.

Ear training — identify the interval
Score: 0 / 0
Press “Play Interval” to hear a random interval, then guess which one it is.
Memorization tip: Don't try to learn all 12 at once. Start with the four anchors: minor 2nd (adjacent — maximum tension), perfect 5th (open and powerful), octave (same note higher), and major 3rd (the happy interval). Those four cover 80% of melodic recognition.

Inverting Intervals

To invert an interval, flip which note is on top. If you have C below E (a major 3rd going up), invert it by putting E on the bottom and C on top — now it's a minor 6th going up.

Two elegant rules govern inversions:

  • The numbers always add to 9: 3rd + 6th = 9. 4th + 5th = 9. 2nd + 7th = 9. 1st + 8th = 9.
  • The quality flips (except perfect): major ↔ minor, augmented ↔ diminished. Perfect stays perfect.

Select an interval below, then press Invert to see and hear what it becomes.

Interactive — flip an interval to its inversion
Select an interval shorthand above, then use the buttons to hear the original and its inversion.
Why this matters: Inversions explain why major and minor seem connected — C major (C–E–G) inverted in the bass gives you an E minor flavor. They also explain voice leading: a melody that jumps up a major 6th could instead move down a minor 3rd to the same pitch class, saving vocal range.

Compound Intervals

A compound interval spans more than an octave. They're named by adding an octave to the simple version: a 9th is a 2nd plus an octave, a 10th is a 3rd plus an octave, an 11th is a 4th plus an octave, and so on.

The quality follows the same pattern as the simple interval. A major 9th is just a major 2nd stretched by an octave — same brightness, just more expansive. This is why jazz musicians talk about “9th chords” — they're adding the major 2nd an octave above.

Interactive — simple vs compound comparison
m2(2
M2(2
m3(3
m9(13
M9(14
m10(15
Click any tile to hear the interval and see it on a 3-octave keyboard. Compare a simple interval (top row) with its compound twin (bottom row).
Formula: To convert simple → compound: add 7 to the number, keep the same quality. 3rd → 10th. 2nd → 9th. 4th → 11th. 5th → 12th. Or in half-steps: simple + 12 = compound.

Complete Interval Reference

All 13 intervals from unison to octave, with their abbreviation, half-step count, frequency ratio, consonance classification, and a melodic mnemonic for ear training.

NameShortHalf-StepsRatioClassSound CharacterMnemonic
Perfect UnisonP101:1✓ ConsonantSame pitchSame note
Minor 2ndm2116:15✗ DissonantTense, dissonant"Jaws" theme
Major 2ndM229:8✗ DissonantStepwise, neutral"Happy Birthday"
Minor 3rdm336:5✓ ConsonantSad, warm"Smoke on the Water"
Major 3rdM345:4✓ ConsonantHappy, bright"When the Saints"
Perfect 4thP454:3✓ ConsonantOpen, stable"Here Comes the Bride"
TritoneTT6√2:1✗ DissonantUnstable, ominous"The Simpsons"
Perfect 5thP573:2✓ ConsonantStrong, open"Star Wars"
Minor 6thm688:5✓ ConsonantBittersweet"The Entertainer" (inv)
Major 6thM695:3✓ ConsonantWarm, nostalgic"My Way"
Minor 7thm71016:9✗ DissonantTense, bluesy"Somewhere" (bridge)
Major 7thM71115:8✗ DissonantDreamy, yearning"Take On Me"
Perfect OctaveP8122:1✓ ConsonantPure, complete"Somewhere Over the Rainbow"

Common Misconceptions

An interval is just the number of keys between two notes.
You count the keys including both endpoints, not the keys between them. C to E is a 3rd: C (1), D (2), E (3). And the half-step count gives the quality — both parts together make the interval name.
A 5th can be major or minor.
The 5th is a perfect interval — it is never major or minor. Perfect intervals (unison, 4th, 5th, octave) use their own quality category: perfect, augmented, or diminished. Only 2nds, 3rds, 6ths, and 7ths have major/minor versions.
Dissonant intervals always sound bad.
Dissonance creates tension — tension is not bad, it's necessary. The tritone in a G7 chord creates the tension that makes resolving to C major feel satisfying. Minor 2nds create drama and suspense. Dissonance is a tool, not an error.
The tritone is an augmented 4th, not a diminished 5th.
It can be either, depending on context. C to F♯ is an augmented 4th (F is the 4th letter from C). C to G♭ is a diminished 5th (G is the 5th letter). Both are 6 half-steps — same piano keys, different musical spellings.
Intervals only describe distance going up (ascending).
Intervals describe distance in either direction. E down to C is a minor 3rd descending — same interval as C up to E ascending. Many ear training programs focus on ascending intervals, but you should practice descending intervals too.
You need to count half-steps every time you identify an interval.
With practice, you recognize intervals instantly by shape and sound. Experienced musicians see a 3rd on the staff (adjacent lines or spaces) and hear the quality from the context. The counting phase is training wheels — you drop it quickly.

Why Intervals Matter

Intervals are the atoms of music theory. Once you understand them, everything else becomes derivable rather than memorizable:

  • Chords are stacked intervals — a major chord is M3 + m3, a minor chord is m3 + M3.
  • Scales are sequences of intervals — the major scale is W–W–H–W–W–W–H (whole and half-steps).
  • Chord progressions move by interval — the V→I resolution works because the tritone in V resolves by step.
  • Transposition is trivial — move every interval in a piece up by a perfect 5th and you've transposed it.
  • Ear training is interval recognition — every melody is a chain of intervals, and you can decode any melody if you can name its intervals.

The time you invest in drilling intervals pays compound returns across every other area of music theory and performance. It's the highest-leverage skill in musicianship.

Frequently Asked Questions

What is a musical interval?
A musical interval is the distance between two notes, measured in half-steps (semitones) and named with a number plus a quality. “Major 3rd” means the interval spans 3 letter names and is 4 half-steps. “Perfect 5th” spans 5 letter names and is 7 half-steps.
What is the difference between a half-step and a whole-step?
A half-step (semitone) is the smallest interval on the piano — adjacent keys, black or white. E to F is a half-step. A whole-step (tone) is two half-steps — one key between them. C to D is a whole-step (C♯ in between).
What are the perfect intervals and why are they called “perfect”?
The perfect intervals are the unison (P1), perfect 4th (P4), perfect 5th (P5), and octave (P8). They're called “perfect” because they have uniquely simple frequency ratios (1:1, 4:3, 3:2, 2:1) that sound stable and pure. They never have major or minor versions — they are either perfect, augmented, or diminished.
What is a tritone and why was it called “diabolus in musica”?
The tritone is 6 half-steps — exactly half an octave. It can be spelled as an augmented 4th (C to F♯) or diminished 5th (C to G♭). Medieval theorists called it diabolus in musica (devil in music) because its tension and instability seemed to contradict the order of modal harmony. Today it's the engine of dominant-to-tonic resolution in jazz and classical music.
How do you invert an interval?
To invert an interval, flip which note is on top. Two rules apply: (1) the numbers add to 9 — a 3rd inverts to a 6th (3 + 6 = 9), a 4th to a 5th (4 + 5 = 9). (2) the quality flips — major becomes minor, minor becomes major, augmented becomes diminished. Perfect stays perfect.
What is a compound interval?
A compound interval spans more than an octave. A 9th is a 2nd plus an octave (2 + 7 = 9). A 10th is a 3rd plus an octave. They keep the same quality as their simple counterpart — a major 9th is a major 2nd stretched by an octave, with the same bright, stepwise character.

You now speak interval.

Every chord, scale, and melody you hear is a web of intervals. With this foundation in place, you can decode the harmonic language of any song — and build your own.