By the Numbers / Jazz Harmony

Jazz Harmony by the Numbers

Jazz harmony is the arithmetic from Chords, pushed further. Stack more thirds, swap chords that share a symmetry, and move your fingers as little as possible.

G7 (indigo) and D♭7 (teal) on one clock. Their shared notes, B and F, sit opposite each other, 6 steps apart.

21semitones from a chord's root up to its 13th. One more third lands on 24: the root again, two octaves up.
2 keysis all the 3rds and 7ths move through an entire ii-V-I, in any key. The roots jump 10.
6tritones to go around 12 dominant chords, so every dominant has a twin 6 keys away that can stand in for it.
≈55×as many chord changes per minute in "Giant Steps" as in "So What." One changes about twice a second, the other about twice a minute.

Chords ended with a small toolkit: notes as numbers mod 12, chords as shapes on a clock, and a rule for getting from one chord to the next while moving your fingers as little as possible. That toolkit turns out to be most of jazz harmony. Players in the 1940s and '50s kept the rules and pushed each one further. This page follows them, one idea per part, each with a tool you can play. It covers harmony only. Swing is a ratio of time, and Rhythm covers it. Nothing makes a sound until you tap it, and the volume control stays at the top of the screen.

Part 1 · Extensions

Keep stacking thirds until the notes run out

Charlie Parker said it happened in a chili house on Seventh Avenue in December 1939. He was jamming on "Cherokee" when he found he could build the melody from the notes high up in each chord. He told the story to Down Beat ten years later, and the one-night version is probably tidier than the truth. It sticks because it names the idea bebop ran on.

You already know how this works. Chords built a major 7th as {0, 4, 7, 11} and stopped at the 9th, which is 14. Keep climbing in thirds and you get 14, 17, 21: the 9th, 11th and 13th. They're the 2nd, 4th and 6th of the scale moved up an octave, so on the clock they wrap around to 2, 5, 9. By the 13th you've used all seven notes of the scale. One more third lands on 24, the root again, two octaves up. That's why nobody plays a 15th chord. The stack has run out of new notes.

Not every note on the stack sounds good. Build Cmaj7 and add the 11, which is F. F sits one key above E, the chord's 3rd, and with F on top the two are 13 keys apart. That's a minor 9th: the same rub as E and F played together, just spread out. Jazz players fix it by raising the 11 one key to F♯, the ♯11, which sits 14 keys above the 3rd, and the rub disappears. On a minor chord the 3rd is already one key lower, so the plain 11 sits 14 keys above it and sounds fine. That's why minor 11th chords are everywhere in modal jazz.

Why seven thirds bring you back to the root

A major third is 4 keys and a minor third is 3. Climb the C major scale in thirds, C-E-G-B-D-F-A-C, and the gaps are 4, 3, 4, 3, 3, 4, 3. That's four 3s and three 4s, which add up to 24, exactly two octaves. You meet all seven notes on the way because you're taking every other note of the scale (1, 3, 5, 7, 2, 4, 6), and skipping by 2 through 7 notes has to hit every one of them, since 2 and 7 share no factor.

Build a chord up to the 13th

Root

Seventh chord

9th

11th

13th

Chord
Notes, bottom to top
Semitones above the root
Mod 12, where they sit on the clock

7th-chord tonesextensionsclash

The chord is stacked straight up in thirds from the root, starting in octave 3. Real pianists spread these notes over two hands and leave some out (Part 4). Tuning is equal temperament with A4 = 440 Hz, the same as Chords.

Part 2 · ii-V-I

ii-V-I: two notes do all the work

Barry Harris toured with Cannonball Adderley and worked with Charlie Parker and Miles Davis, then spent nearly fifty years teaching what they played. His workshops ran in New York from the 1970s, cost $10 or $15, and turned nobody away who couldn't pay. When the pandemic hit he was 90, and he moved the class to Zoom, where sometimes more than 200 people logged on. He had his own way of explaining bebop harmony. Most teachers, whatever their method, start with the same three chords.

In C they're Dm7, G7 and Cmaj7: the ii, the V and the I. On the clock the roots go 2 → 7 → 0, jumping 5 each time. A surprising amount of jazz is this one move, dressed up or disguised.

Now ignore the roots and watch two notes in each chord, the 3rd and the 7th. They decide whether a chord is major, minor or dominant, so jazz players call them guide tones. Dm7's are F and C. G7's are F and B. Cmaj7's are E and B. Play them in a row and watch your hand. F stays put while C slips down to B. Then F slips down to E while B stays put. That's 2 keys of movement for the whole cadence, while the roots jump 10. Transposing keeps every distance the same, so it's 2 in every key. Check it in the tool.

Why the 3rd and 7th keep trading places

Call the current root r. Its 3rd is at r+3 or r+4. The next root is 5 higher, so the next chord's 7th is at r+5+10 or r+5+11. That's r+15 or r+16, which on the clock is r+3 or r+4 again. So the 3rd doesn't move at all: it just becomes the next chord's 7th. Meanwhile the current 7th, at r+10, sits one key above the next chord's 3rd, at r+9, so it drops a key and becomes the 3rd. Same two fingers, jobs swapped, every time.

ii-V-I with guide tones lit

Key

Voices

guide tones (3rd, 7th)other chord tonesprevious chord, outlined
Keys moved, each change
Total keys moved

Keys moved adds up how far each finger travels, pairing fingers to keep the total as small as possible, the same measure Chords uses. Each chord is voiced as close to the one before as its notes allow.

Part 3 · Tritone substitution

Tritone substitution: two chords, one tritone

Here's a trick that sounds like it shouldn't work. Play Dm7, then D♭7 where G7 should be, then Cmaj7. Most people hear nothing wrong, and a lot of people hear something better. D♭7 and G7 share only two of their four notes. They happen to be the two that matter.

G7's guide tones are B and F, at 11 and 5 on the clock. They're 6 apart, an interval called a tritone, and 6 is exactly half of 12. So add 6 to both and they swap: B goes to F (11 + 6 = 17 → 5) and F goes to B (5 + 6 = 11). The dominant chord 6 keys up from G is D♭7, {1, 5, 8, 11}, and it holds the same two notes with their jobs reversed. In G7, B is the 3rd and F is the 7th. In D♭7, F is the 3rd and B, written C♭, is the 7th. There are 12 dominant chords but only 6 tritones, so every dominant has a twin.

What you mostly hear is the bass. D–G–C becomes D–D♭–C, sliding down one key at a time. The bass now moves 2 keys where it used to move 10, the same economy the guide tones already had. Chords found this kind of symmetry in the augmented and diminished chords. Here it works on just one pair of notes.

Toggle the substitution

Key

Progression
Bass line
Bass keys moved
Shared by V7 and ♭II7
V7♭II7, 6 keys awaythe shared tritone

The upper chords are four-note voicings, each moved as little as possible, over a bass note on each root. Listen to the bass: with the swap on, it walks down by half steps.

Part 4 · Rootless voicings

Rootless voicings: let the bass have the root

Wynton Kelly had been Miles Davis's pianist since November 1958. On March 2, 1959, he arrived at Columbia's studio on 30th Street and found Bill Evans, the man he'd replaced, there too. Kelly played one tune, the blues "Freddie Freeloader." Evans played the rest, including "So What," where he answers the bass with a two-chord figure that later got its own name: the So What chord.

Evans, Kelly and Red Garland are the pianists most linked to a habit that spread through the late 1950s: leaving the root out of the left hand. A 13th chord has seven notes and one hand can comfortably hold about four, so three have to go. The root goes first, because the bass player is already playing it. The 5th goes next, because a low note already contains it: the 3rd harmonic of any note is an octave and a fifth above it (3 = 2 × 1.5, and Chords' frequency chart shows it). The 11 goes because it clashes, as Part 1 showed. What's left is the 3rd, 7th, 9th and 13th: the two guide tones plus two colors.

Pianists learn these as two shapes. The A shape stacks 3, 5, 7, 9 and the B shape stacks 7, 9, 3, 13. On a dominant chord, many players put the 13 in the A shape in place of the 5. Switch between them through a ii-V-I and your hand stays inside one octave, moving 6 keys in total in C. Play every chord in root position instead and your hand travels 42, seven times as far. It only works because someone else covers the bottom. Turn the bass off in the tool and the same chords seem to float.

Rootless voicings over a bass

Key

Left hand

bassguide tones9th and 13throot and 5th
Hand keys moved, each change
Total

The A and B names follow Mark Levine's Jazz Piano Book. The first chord sits around middle C, and each next chord takes whichever shape moves your hand least. Keys moved counts the hand only, not the bass.

Part 5 · Symmetry and Coltrane changes

"Giant Steps": split the octave in three

In 1958 the critic Ira Gitler needed words for what John Coltrane was doing, and in the liner notes for Soultrane he called it "sheets of sound": runs so fast and dense they turned into texture. Coltrane said he was trying to play every note of each chord's scale, so fast it came out like a glissando, and that he'd started stacking chords on top of chords. A year later he wrote the stacking straight into a tune.

He recorded "Giant Steps" on May 5, 1959, with Tommy Flanagan on piano. Coltrane brought it in unrehearsed, and Flanagan's solo stops and starts as he hunts for the changes. Decades later Vox called it the most feared song in jazz. Coltrane's solo runs at about 290 beats a minute, which works out to 26 chords every 13 seconds, two a second.

Under all that speed is one division. The tune visits three keys, B, G and E♭, at 11, 7, 3 on the clock. Each is 4 below the last, and 12 ÷ 3 = 4, so three jumps bring you home. The three keys form an augmented triangle, one of only 4 that exist (Chords shows why). Each new key gets its own V chord to announce it: D7 into G, B♭7 into E♭, F♯7 into B. Splitting 12 into equal parts turns up all over jazz:

Equal partsStepShapeWhere you hear it
26TritoneTritone substitution, Part 3
34Augmented triadKey centers of "Giant Steps" and "Countdown"
43Diminished 7thBarry Harris's 6th-diminished scale: C6 plus Bdim7, 8 notes
62Whole-tone scaleOnly 2 exist; a color on dominant chords

"Giant Steps" on the clock

Chord
Bmaj7
Key center
B
At this tempo
the three key centerscurrent chord root

One four-note voicing per chord, each moved as little as possible, over a bass note, with no melody. It starts at 140 so you can hear the keys go by. Drag it to 290 to hear what Flanagan faced.

Part 7 · Case study

To Pimp a Butterfly: the same arithmetic in 2015

Kendrick Lamar's third album came out on March 15, 2015, eight days early, because of what Top Dawg's Anthony Tiffith called an error at Interscope. The saxophonist and producer Terrace Martin helped bring in the players, and the credits read like a week of bookings at a Los Angeles jazz club. Martin plays alto on 10 of the 16 tracks. Robert Glasper plays piano on "For Free?" and keyboards on several more, including "Mortal Man." Kamasi Washington plays tenor on "u" and arranged strings. Thundercat plays bass on five tracks.

The academic writing on the album mostly studies rhythm and flow, not chords, so this part stays careful. Jeff Peretz, then teaching music theory at NYU's Clive Davis Institute, wrote that almost every track wanders from its home key and borrows chords from other keys, the way jazz does, and that the chords on "u" circle a home they never land on. A crowd-sourced Hooktheory analysis has "These Walls" moving between F major and F minor crowd-sourced.

On the clock, that's a small move. F major and F minor share F, G, B♭ and C. The other three notes, A, D and E, each drop one key, to A♭, D♭ and E♭. You can even take it one note at a time: lower the 7th and you're in Mixolydian, lower the 3rd and you're in Dorian, lower the 6th and you're in minor. Each stop on the way is one of the modes from Part 6.

Parallel major and minor

Root

Major
Minor (Aeolian)
The notes that move
majorminorchanged by one key

This compares the two scales. It doesn't claim which notes "These Walls" uses in which bar.

Practice

Predict, then reveal

Guess before you open each card. Then try the two tools below: one trains your ear, the other your hand.

How many different tritones are there among the 12 notes?

Reveal

6. A tritone and its partner 6 keys up are the same pair, so 12 notes make 12 ÷ 2 pairs.

Stack thirds from C, following the C major scale. How many notes before one repeats, and how many semitones does the stack span?

Reveal

7 notes, C E G B D F A, spanning 21 semitones. The next third lands on C at 24.

In "Giant Steps," how many key changes bring you back to the starting key?

Reveal

3. Each step is 4 keys, and 3 × 4 = 12.

How many of E♭ Dorian's 7 notes are black keys?

Reveal

5: E♭, G♭, A♭, B♭ and D♭. Only F and C are white.

Is it a ii-V-I? Answer by ear

Press Play, listen to the three chords, then answer. The key changes every round.

Rounds mix four progressions: ii-V-I, ii-♭II7-I (the tritone substitute, which counts as yes), IV-V-I and ii-V-vi.

Voice-lead a ii-V by tapping keys

the ii chord (outlined)your V7 keysbest answer

Any four keys count if they belong to the V7 chord (root, 3rd, 5th, 7th, 9th or 13th) and include its 3rd and 7th. Scored by total keys moved against the best possible answer.

What changed, decade by decade

  1. 1939

    Charlie Parker, by his own account, finds he can build a melody from the top notes of each chord while playing "Cherokee." In November 1945 he records "Ko-Ko" on the same chords.

  2. 1950s

    Bill Evans, Red Garland, Wynton Kelly and Ahmad Jamal leave the root out of the left hand. The root moves to the bass for good.

  3. 1958

    Ira Gitler names Coltrane's "sheets of sound" in the Soultrane liner notes and in Down Beat that October.

  4. 1959

    Kind of Blue is recorded on March 2 and April 22 and thins the harmony to scales. Twelve days later, on May 4 and 5, Coltrane, the tenor player on both sessions, records Giant Steps, which packs it with chords. One spring, two opposite answers.

  5. 2015

    To Pimp a Butterfly brings working jazz players and their harmonic habits onto a hip-hop record. It wins the 2016 Grammy for Best Rap Album.

  6. 1970s–2021

    Barry Harris teaches weekly workshops in New York, then on Zoom. He dies in December 2021, a week before his 92nd birthday.

Open questions

Why does the ear accept the tritone substitute? The shared tritone explains why the voice leading is smooth. It doesn't explain why D♭7 to C sounds like arriving home. Roughness models like the one in Chords score one chord at a time, not the pull from one chord to the next, and how much of that pull we learn from listening is still argued over.

Is the 11 on a major chord harsh, or just unfamiliar? The minor 9th it makes with the 3rd is rough on paper. Yet the ♭9 on a dominant chord, the same interval above the root, is one of jazz's favorite sounds. Context and expectation clearly matter, and nobody has drawn the line between them.

At 290 beats a minute, do you hear keys or just colors? Counting the chords that lead into it, each key in "Giant Steps" lasts about 0.8 to 1.7 seconds, and the arrival chord alone lasts 0.4 to 0.8. Whether that's long enough to hear as a key, rather than a run of bright chords, is a question for listening experiments, not arithmetic.

How should you count "keys moved" when a note appears or disappears? This page pairs fingers to keep the total small and ignores a note that comes in or drops out. Music theorists who treat voice leading as geometry have proposed other measures, and they disagree at the edges.

Further reading

Mark Levine, The Jazz Theory Book (Sher Music, 1995). The standard reference for everything on this page in musicians' terms: extensions, the ii-V-I, tritone substitution, modes and Coltrane changes, with hundreds of examples from records.

Mark Levine, The Jazz Piano Book (Sher Music, 1989). Where the A and B rootless voicings are laid out for the hand. Practical, with the left hand's comfortable range spelled out.

Ashley Kahn, Kind of Blue: The Making of the Miles Davis Masterpiece (Da Capo, 2000). Both sessions rebuilt from the tapes and the paperwork, down to the union invoices. The best account of how little was written down.

Lewis Porter, John Coltrane: His Life and Music (University of Michigan Press, 1998). A musician's biography that takes the harmony seriously, from the sheets of sound to the third-related cycles of "Giant Steps."

Dmitri Tymoczko, A Geometry of Music (Oxford University Press, 2011). Voice leading as distance in a space of chords. The rigorous version of this page's "keys moved," with jazz and classical examples side by side.

Sources

Last verified: November 26, 2026. All arithmetic on this page was run in code, and the tools compute their readouts live.

The tools here are deliberately small models with their assumptions stated beside them. Audio starts only when you tap.

MusicChordsRhythmBluesSynthesisMIDIVoiceSoftwareQueuesPostgresInfrastructureThe GridData CentersEarthHurricanesEarthquakesStartupsFounder Equity