The piano keyboard repeats a pattern of 12 unique pitch classes across its 88 keys. Middle C (C4) serves as the central reference point.
The seven natural notes follow the alphabet: A – B – C – D – E – F – G, then repeat at the next octave.
Each black key has two enharmonic names:
Black keys are grouped in alternating sets of two and three:
This 2‑3 pattern repeats across the keyboard. An 88‑key piano spans from A0 (lowest) to C8 (highest), covering seven full octaves plus a minor third.