Piano Note Layout: Complete White & Black Key Map Across 8 Octaves
The piano keyboard repeats a 12-note chromatic pattern across 7¼ octaves (88 keys). Here is the complete map.
White Keys (Natural Notes) – Repeating C–D–E–F–G–A–B
C D E F G A B | C D E F G A B | ...
Black Keys (Sharps / Flats) – Enharmonic Pairs
- C♯ / D♭ (between C–D)
- D♯ / E♭ (between D–E)
- F♯ / G♭ (between F–G)
- G♯ / A♭ (between G–A)
- A♯ / B♭ (between A–B)
No black key between E–F or B–C (semitone intervals).
Full 88-Key Layout by Octave
| Octave | Note Range (Low → High) | Key Numbers |
| 0 (Sub-contra) | A₀, A♯₀/B♭₀, B₀ | 1–3 |
| 1 (Contra) | C₁ → B₁ | 4–15 |
| 2 (Great) | C₂ → B₂ | 16–27 |
| 3 (Small) | C₃ → B₃ | 28–39 |
| 4 (One-line / Middle) | C₄ (Middle C) → B₄ | 40–51 |
| 5 (Two-line) | C₅ → B₅ | 52–63 |
| 6 (Three-line) | C₆ → B₆ | 64–75 |
| 7 (Four-line) | C₇ → B₇ | 76–87 |
| 8 (Five-line) | C₈ | 88 |
Key Reference Points
- Middle C = C₄ = Key 40 (center of grand staff, not physical center of 88 keys).
- A₄ = 440 Hz = Key 49 (tuning reference).
- Lowest note: A₀ (27.5 Hz). Highest: C₈ (4186 Hz).
Visual Pattern Recognition
- 2-black-key group → C/D/E (C is left of the pair).
- 3-black-key group → F/G/A/B (F is left of the trio).
- Use these landmarks to navigate without counting.
Scientific Pitch Notation (SPN)
Format: Note + Octave Number (C₄, F♯₅, B♭₂). Universal standard—avoids "middle C" ambiguity.