Music intervals, explained

If you’ve spent any time around music theory, you’ve heard the labels: a “perfect fifth,” a “major third,” the “octave” that gives a song its big lift. They sound technical, and it’s easy to nod along without knowing what they describe. The good news is that every one of these names points to one simple idea, and once you see it, the whole vocabulary clicks.

This article explains what a musical interval is, how to count and name the common ones, and what the words “major,” “minor,” and “perfect” really mean. By the end you’ll be able to spot an interval on the staff, measure it precisely, and recognize its sound by ear — the same building blocks that make up every chord and melody you play.

What is a musical interval?

A musical interval is the distance in pitch between two notes — how far apart they are, low to high. That’s the whole idea. Play C and then the G above it, and the gap between them is the interval. Musicians name that gap so they can talk about it, write it down, and hear it on purpose.

Every interval name packs in two pieces of information: a number (how many letter-names it spans) and a quality (its exact flavor, such as major or perfect). “Major third” and “perfect fifth” are just those two pieces stuck together. Once you can read each piece on its own, no interval name is a mystery.

A treble staff showing middle C with a major third (E) and a perfect fifth (G) placed after it, each interval bracketed and labeled with its name and half-step count (4 and 7).

Harmonic and melodic intervals

The two notes can arrive in two ways, and the difference is purely about timing. Play them at the same time and you get a harmonic interval — the two pitches sounding together, the way the notes of a chord do. Play them one after the other and you get a melodic interval — a step or a leap in a tune.

The distance is identical either way; a perfect fifth is a perfect fifth whether you strike both notes together or walk from one to the other. Naming both cases the same way lets you hear a melody and a harmony as two views of the same shape — the leap that opens a tune is often the very interval that, stacked up, forms the chord underneath it.

Counting the number: seconds, thirds, all the way to the octave

The number tells you how many letter-names the interval spans, and you count it by including both the bottom note and the top note. From C up to E you count C (1), D (2), E (3) — that’s a third. From C up to G you count five letter-names, so it’s a fifth. From any note up to the next note with the same name — C to the next C — you span eight, which is why it’s called an octave (from the Latin for eight).

Here are the everyday numbers, smallest to largest:

  • Unison — the same note, a distance of zero.
  • Second — one letter-name apart, C to D.
  • Third — C to E.
  • Fourth — C to F.
  • Fifth — C to G.
  • Sixth — C to A.
  • Seventh — C to B.
  • Octave — C to the next C, eight letter-names up.

Notice that the counting ignores sharps and flats — it’s about letter-names, not the keys on the piano. C to E and C to E-flat are both “some kind of third,” because both span the letters C–D–E. That’s exactly why the number alone isn’t enough, and why we need the second piece: quality.

Quality: major, minor, perfect, augmented, diminished

Quality is the fine print that tells two same-numbered intervals apart. C to E and C to E-flat are both thirds, but they don’t sound the same — the first is bright, the second darker. Quality is the word for that difference.

Most intervals come in a major / minor pair. The major version is the wider one; the minor version is exactly one half step smaller. A major third (C to E) and a minor third (C to E-flat) differ by a single half step, and you can hear that one step as the gap between a happy chord and a sad one. The same split applies to seconds, sixths, and sevenths.

But four intervals don’t play by that rule. The unison, fourth, fifth, and octave are called perfect instead of major or minor.

Why some intervals are “perfect”

The label comes from how plain and stable these intervals sound. The octave is two notes so closely matched they almost blend into one; the fifth and fourth sit right behind it — open, hollow, and consonant, with none of the sweet-or-sour tilt that makes a third feel major or minor. Because they don’t lean happy or sad, calling them “major” or “minor” would be meaningless, so theory gives them their own name: perfect.

There’s a physical reason underneath the tradition: these intervals line up with the simplest ratios between the notes’ vibrations — an octave is a clean 2-to-1, a perfect fifth close to 3-to-2 — so they ring cleanly and turn up first in nearly every tuning system.

Stretch or shrink any interval by a half step beyond its usual size and two more qualities appear. One half step wider makes it augmented; one half step narrower makes it diminished. A perfect fifth squeezed down a half step is a diminished fifth — the restless, unstable sound behind a lot of suspense in film music.

Half steps: the precise yardstick

Names like “major third” are handy, but the exact measure of any interval is its count of half steps — also called semitones, the smallest distance in Western music and the gap between two neighboring keys on a piano, black or white. Counting half steps removes all ambiguity, because it ignores spelling and measures pure distance.

Here’s how the common intervals above a starting note line up in half steps:

  • Minor second — 1 half step
  • Major second — 2
  • Minor third — 3
  • Major third — 4
  • Perfect fourth — 5
  • Tritone (augmented fourth / diminished fifth) — 6
  • Perfect fifth — 7
  • Minor sixth — 8
  • Major sixth — 9
  • Minor seventh — 10
  • Major seventh — 11
  • Octave — 12

That table is the bridge between the two halves of an interval’s name. A third spanning four half steps is major; the same third spanning three is minor. To check your counting against a keyboard and your ear at once, our Interval Finder tool lets you pick any two notes and shows the name and half-step distance instantly.

A one-octave piano keyboard from C to C with the keys numbered 0 to 12, showing that an octave is twelve half steps and a perfect fifth (C to G) is seven.

How intervals build chords and melodies

Intervals are the raw material of everything you write and play. Stack two thirds on top of each other and you’ve built a triad, the three-note chord at the core of most songs. A major third with a minor third above it makes a major chord; flip the order, minor then major, and you get a minor chord. The single half step between a major and minor third is the same half step between a happy chord and a sad one.

Melodies work the same way, just spread out in time. A tune is a path of melodic intervals — small steps for smooth, singable lines, larger leaps for drama. Once you know the leaps a melody is built from, you can transpose it, harmonize it, or compose a new line that fits. The book chapter on using intervals in songs walks through how familiar melodies are assembled from these distances.

Recognizing intervals by ear with familiar songs

Naming an interval on paper is one skill; hearing it is another, called ear training. The fastest way in is to tie each interval to the opening of a song you know, so your memory does the work. When you hear two notes and aren’t sure what they are, hum a reference tune that starts with the same leap and read the answer off it.

A couple of well-worn examples to get you started:

  • A rising perfect fourth is the first two notes of “Here Comes the Bride” — a clear, ceremonial step up.
  • A rising perfect fifth opens “Twinkle, Twinkle, Little Star,” from the first “twin-” to “-kle.”
  • A rising major sixth is the “My Bon-” of “My Bonnie Lies Over the Ocean,” a bright, reaching leap.

Build your own list with whatever songs live in your head — the only rule is that the tune starts on the interval you’re learning. To drill the sounds in both directions and check yourself, the Interval Ear Trainer tool plays intervals at random and lets you guess, which turns recognition from a guessing game into a reflex.

A two-column reference card pairing common intervals — perfect fourth, perfect fifth, major sixth, octave — with the opening notes of a well-known song for each.

Put it into practice

Intervals reward hands-on time more than any amount of reading. Write a few out, play them as both harmony and melody, and name each one until the connection feels automatic. You can do all of that for free in MuseScore Studio — get it at musescore.org, place two notes on the staff, and press play to hear the exact distance you just named. To study how real pieces use these intervals, open and play back scores on musescore.com.

The short version

An interval is the distance in pitch between two notes, played together as harmony or in turn as melody. Its name pairs a number — counted by letter-names from second to octave — with a quality, where most intervals come in major/minor pairs and the unison, fourth, fifth, and octave are “perfect” for their plain, stable sound. Half steps give the precise measure, intervals stack into chords and stretch into melodies, and familiar songs are the shortcut to recognizing each one by ear.

Frequently asked questions

What is a musical interval in simple terms?

It’s the distance in pitch between two notes — how far apart they are from low to high. Musicians give each distance a name, such as “major third” or “perfect fifth,” so they can describe, write, and hear it on purpose.

What’s the difference between a harmonic and a melodic interval?

Only the timing. A harmonic interval is two notes played at the same time, as in a chord. A melodic interval is the same two notes played one after the other, as in a tune. The distance between the notes is identical in both cases.

Why are some intervals called “perfect”?

The unison, fourth, fifth, and octave are labeled perfect because they sound plain and stable and don’t lean happy or sad the way thirds and sixths do. They also match the simplest ratios between the notes’ vibrations, so they ring cleanly. With no major-or-minor tilt to capture, theory gives them their own name.

How do I measure an interval exactly?

Count the half steps between the two notes — a half step is the gap between two neighboring piano keys, black and white alike. A major third is 4 half steps, a perfect fifth is 7, and an octave is 12. Counting half steps removes any ambiguity from the spelling.

What’s the fastest way to recognize intervals by ear?

Tie each interval to the start of a song you know — a rising perfect fifth opens “Twinkle, Twinkle, Little Star,” for example. When you hear two notes, hum a reference tune that begins with the same leap. Practicing with a tool that plays random intervals turns recognition into a reflex.