Aha Chord
CoursesReviewTopics

© 2026 LastCapsule Inc.

  • Tools
  • About Aha Chord
  • Terms of use
  • Privacy policy
  • Contact(opens in a new tab)

This topic is a draft

We haven’t yet tried it out ourselves to check that it’s easy to understand. We believe the content is correct, but many topics don’t teach it very well yet. We’ve published them anyway because they can help you see the big picture, and we think they’re somewhat useful as lessons even as they are. The content and layout may change.

Intermediate · About 13 minDraft

Why an octave has 12 notes (temperament)

Imagine you tune a keyboard by listening for beating. Can you make every note perfectly in tune?

We saw in “Consonance, dissonance, and beating” that the beating disappears at “lock-in spots.” Piano tuners listen for this beating and tune the piano keys one by one. Imagine you’re a piano tuner. Let’s use C as the starting point and tune the other 4 piano keys by ear.

1 / 4

Learn

Starting from C, you’ll tune one piano key at a time: a fifth up, then a fourth down, and so on. The slider sets the pitch of the piano key you’re tuning now.

5th4th5th4thmajor 3rdCGDAECDEFGA

Tune G to C (1 / 4)

First, tune G to C. Move the slider and look for the spot where the wobble on the meter stops.

LowerHigher
Predict

You tuned every fifth and fourth to the spot where the beating disappears. Last, we’ll play C and E together. How do you think they’ll sound?

Trust your first instinct and pick one within 10 seconds (10 sec left).

Let’s check your guess. We’ll keep the pitches you tuned above and play C and E together.

5th4th5th4thmajor 3rdCGDAECDEFGA

At the pitches you tuned with fifths and fourths

Choose a guess above, and then you can play the sound.

Now, what if you retune E so it blends with C? Look for the spot where the wobble with C stops.

5th4th5th4thmajor 3rdCGDAECDEFGA

Retune E so it blends with C

Choose a guess above, and then you can play the sound.

LowerHigher

If you can’t make everything clean, you have to decide where to put the wobble. Let’s compare 3 ways to place it.

5th4th5th4thmajor 3rdCGDAECDEFGA

Choose a way of placing the wobble to play it

Choose a guess above, and then you can play the sound.

Insight

The E you tuned by stacking clean fifths and fourths was different from the E that blends cleanly with C. When you make one pair clean, another pair beats. You can’t make everything clean at the same time.

A way of placing the wobble (a way of setting the of each note) is called a temperament. An ordinary keyboard uses Z. It divides an into 12 equal parts and spreads the wobble evenly, a little on every note. This is called equal temperament.

So why does an octave have 12 notes? Because if you stack 12 fifths, you almost come back to the note you started on. You can hear this for yourself in Apply, later on.

2 / 4

Recap

What we found

  • If you tune fifths and fourths one by one to the spot where the beating disappears, then at the end, C and E beat fast
  • If you retune E so it blends with C, then A and E beat instead. The beating doesn’t go away. It only moves
  • You can’t make every clean at the same time. You have to put the wobble somewhere
  • An ordinary keyboard (equal temperament) spreads the wobble evenly over all the notes

Terms

temperament (tuning system)
A way of setting the pitch of each note (how far apart the notes are)
equal temperament
A temperament that divides the octave into steps that all have the same ratio. In 12-tone equal temperament, every semitone is the same size
3 / 4

Apply

The gap is about 21.5 cents. It’s called the “syntonic comma”

  • The cent is a unit for measuring the size of an interval in fine detail. One octave is 1200 cents, and a in equal temperament is 100 cents.
  • Stack 4 pure fifths (3:2) and go down 2 octaves. You get an E at (3/2)⁴ ÷ 4 = 81:64. A that fits C perfectly is 5:4 (= 80:64).
  • This difference (81:80) is called the syntonic comma. It’s about 21.5 cents.
  • If C is C4, 4 times the frequency of the E tuned with fifths and fourths is about 1324.5 , and 5 times the frequency of C is about 1308.1 Hz. They are about 16 Hz apart. That’s the beating you heard in Learn, about 16 wobbles per second.

Stack 12 fifths, and you almost return to the start. That’s why an octave has 12 notes

CDEFGABC♯D♯F♯G♯A♯

We’ll stack fifths upward, starting from C. (If a note goes past one octave, we move it down an octave.)

  • If you stack 12 pure fifths, you land very close to the starting note, 7 octaves up. But (3/2)¹² ≈ 129.75 and 2⁷ = 128 are not equal. This gap is called the Pythagorean comma. It’s about 23.46 cents.
  • If you count how many fifths it takes to come close to the starting note again, two counts stand out. 5 fifths (about 90 cents off) and 12 fifths (about 23.5 cents off) come noticeably close. 5 notes make a , and 12 notes make the chromatic scale.
  • 12 is a good balance between “a small gap” and “not too many notes.” But 12 isn’t the only answer. Other divisions, such as 53 notes, are also known. Physics wasn’t the only reason for choosing 12. Instruments and history also played a part.

On an equal-tempered keyboard, fifths are almost pure, and major thirds are about 14 cents wider than pure

Tap a row to play its 2 notes together, at equal-tempered pitches.

  • That doesn’t mean equal temperament sounds bad. It has a big advantage: it sounds the same in any you play in. → “The circle of fifths and key signatures”
  • A tuning system that gives the thirds and fifths of the main of one key pure ratios is called just intonation. In that key, the main chords blend best of all. But in other keys, chords sound rough.
  • Equal temperament wasn’t chosen only because it works in every key. Instruments and the tastes of each era also played a part. It gradually became the standard during the 19th century.
Side noteDid keys really have their own character in older tunings?
  • In the 18th and 19th centuries, many writers said that each key had its own fixed character (the idea of key characteristics). For example, Mattheson (1713) called C “rather rude and bold.” Schubart (in a text written in the 1780s and published in 1806) called it “completely pure,” full of “innocence and simplicity.” Even for the same key, different writers described very different characters.
  • At that time, keyboards were often tuned in unequal temperaments. In these, the roughness of chords is different in each key. For example, take Werckmeister III (one of the temperaments in a book from 1691). In C major, the major third is close to pure. But in D♭ major, which has many , the major third is wide and beats fast. This difference in sound is thought to be one reason why people wrote about the character of keys.
  • In equal temperament, the distance between notes is the same in every key, so this difference disappears. Today, a song can still feel different in a different key. This is mainly because of the overall pitch, the instruments (for example, whether open strings can be used, or how a voice sounds in that range), and habits and associations. For example, C major has no sharps or flats in its , so it can seem simple. → “Transposition”
  • At that time, the reference pitch (the of A) could also differ by more than a semitone, depending on the era and the place. So even “C major” didn’t always sound at the same pitch.

Chords made with MIDI programming play in equal temperament. Strings and voices can lean toward pure ratios in a chord

  • Pianos, guitars, most electronic instruments, and most virtual instruments played over assume equal temperament. Chords made with also play at equal-tempered pitches.
  • Strings, voices, and wind instruments can adjust their pitch in fine detail while they play. So in a chord, they can lean toward pure ratios.
  • Instruments with fixed pitches, like the piano, are directly affected by how they are tuned.
Level: AdvancedGo deeper

What X, Y, and Z really are, and some other tuning systems.

  • X = Pythagorean tuning. It stacks only pure fifths (3:2). The fifths are beautiful. But the major third is 81:64 (about 407.8 cents). It’s wide, and it beats.
  • Y = meantone temperament (quarter-comma meantone). It makes the major thirds pure. In exchange, each fifth is made narrower by a quarter of the syntonic comma (about 5.4 cents). In closely related keys, the major thirds are very beautiful. But in distant keys, some chords sound very rough.
  • Z = 12-tone equal temperament. It divides the octave into 12 equal parts. Every semitone has a ratio of the 12th root of 2 (about 1.0595). No chord is perfectly clean, but no key sounds very rough either.
  • If you use Pythagorean tuning for a closed circle of 12 notes, the whole gap (the Pythagorean comma) ends up in one fifth. This rough fifth is called the wolf fifth.
  • The numbers for 12-tone equal temperament (a semitone ratio of the 12th root of 2) were given by Zhu Zaiyu, a scholar of the Ming dynasty in China. He gave them in his 1584 book Lüxue xinshuo. In Europe, Simon Stevin wrote the same idea in a manuscript from around 1605 (published in 1884). Zhu Zaiyu came first. There is no reliable evidence that Stevin knew about Zhu Zaiyu’s work.
  • J.S. Bach’s The Well-Tempered Clavier (Das Wohltemperirte Clavier) is often thought to have been written for equal temperament. But “well-tempered” means “well tuned.” Many scholars think the title refers to an unequal temperament in which every key can be used, not 12-tone equal temperament. Which tuning Bach actually used is still debated.
  • The octave can also be divided into other numbers of equal steps. For example, 19-tone equal temperament has a very close to pure, and 31-tone equal temperament sounds close to meantone. In 53-tone equal temperament, the fifth is only about 0.07 cents away from a pure fifth.
  • Some music uses intervals smaller than a semitone (microtones). Examples are the quarter tones of Arabic music and the 22 shrutis of Indian classical music. The slendro and pelog scales of gamelan belong to a system that is separate from Western temperaments. → “Beyond tonality: atonal and 20th-century music”, “Music genres: a listening guide”
  • An equal-tempered fifth and a pure fifth differ by about 2 cents. If you play the two notes of the fifth one after the other, you can hardly hear the difference. Only when you play them together do you notice it, as slow beating (about once per second if C is C4). The difference in the major third is about 14 cents. Many people can hear that difference, even when the notes are played one after the other.
4 / 4

Check

Listen · 1 / 5
Listen · 2 / 5
Listen · 3 / 5
Calculate · 4 / 5
Choose · 5 / 5
Up nextDraft

Voice-leading rules and why they exist

Imagine you break one voice-leading rule. What sounds wrong, and how wrong does it sound?

Next topic

Answer all the Check questions above to move on.