Skip to content

Piano Keys Labeled — All 88 Keys Explained

A standard piano has 88 keys — 52 white and 36 black — arranged in a repeating pattern that spans just 12 unique note names. The white keys are named after the first seven letters of the musical alphabet: C, D, E, F, G, A, and B. The black keys are the sharps (♯) and flats (♭) of the white keys that surround them. Once you learn the pattern in one octave, you can find any note anywhere on the keyboard.

Interactive Labeled Keyboard

Every key below is labeled with its note name. The C keys are highlighted in red — they are your anchor points for navigation. Scroll horizontally on small screens.

C
D
E
F
G
A
B
C
D
E
F
G
A
B
C#
D#
F#
G#
A#
C#
D#
F#
G#
A#

Two octaves shown (C4–B5). The full piano extends this pattern across 7 octaves plus a few extra keys.

The 88 Keys: White and Black

The 88 keys on a full-size piano run from A0 (the lowest note, far left) up to C8 (the highest note, far right). Of those:

  • 52 white keys — the natural notes (C D E F G A B, repeating)
  • 36 black keys — the sharps and flats, grouped in alternating clusters of 2 and 3

The black key clusters are the fastest way to get your bearings: the group of 2 black keys has C to the left and E to the right. The group of 3 black keys has F to the left and B to the right.

NoteKey colorPosition in octave
Cwhite1st — starts every octave
C♯ / D♭black2nd
Dwhite3rd
D♯ / E♭black4th
Ewhite5th
Fwhite6th
F♯ / G♭black7th
Gwhite8th
G♯ / A♭black9th
Awhite10th
A♯ / B♭black11th
Bwhite12th — ends the octave

The Octave Pattern: C D E F G A B

The seven white notes below form one octave — the building block of the entire piano. This same pattern repeats from left to right across all 88 keys.

C
D
E
F
G
A
B
C
D
E
F
G
A
B
C#
D#
F#
G#
A#
C#
D#
F#
G#
A#

Each octave contains 12 notes total: 7 white + 5 black. After reaching B, the pattern starts again at C — one octave higher in pitch. The distance from one C to the next C is called an octave.

To count octaves on the real piano, look for the C keys — they appear just to the left of each group of two black keys. A standard 88-key piano has 8 C octaves (C1 through C8) plus a low A0, B♭0, and B0 at the bass end.

Middle C: Your Home Base

Middle C (also called C4 in scientific pitch notation) sits roughly in the center of the piano keyboard — it's the C closest to the fallboard hinge, just below the piano brand name. In sheet music, Middle C sits on a ledger line between the treble and bass clefs.

On a full 88-key piano, Middle C is the 40th white key from the left. If you count 4 groups of two black keys from the low end, the C immediately to the left of the 4th group is Middle C.

MIDI note number
60
Frequency
261.6 Hz
Position on 88-key piano
Key #40 (white key)
Scientific name
C4

Black Keys: Sharps (♯) and Flats (♭)

Each black key has two names — a sharp name and a flat name — depending on the musical context. These pairs of notes are called enharmonic equivalents: they sound identical but are spelled differently in music theory.

  • C♯ = D♭ — the black key between C and D
  • D♯ = E♭ — the black key between D and E
  • F♯ = G♭ — the black key between F and G
  • G♯ = A♭ — the black key between G and A
  • A♯ = B♭ — the black key between A and B

Notice there is no black key between E and F, or between B and C — those white keys are already a half step apart. This gap is why the pattern of black keys groups as 2–2–2–3–2–2–3 across the keyboard.

Download a Printable Reference Chart

Get a clean, printable Piano Keys Reference Chart — all 88 keys labeled with note names and octave numbers. Enter your email and the chart opens instantly. No account required.

Frequently Asked Questions

How many keys does a standard piano have?

A standard full-size piano has 88 keys: 52 white keys and 36 black keys. Some digital pianos have 61 or 76 keys, but a full 88-key range is standard for acoustic pianos and concert-level digitals. The range spans from A0 (the lowest note) to C8 (the highest note).

Why are piano keys named C D E F G A B instead of A B C D E F G?

The piano keyboard uses C as its starting point because C major is the simplest major key — it uses only white keys with no sharps or flats. Historically, the musical alphabet was assigned so that the most natural key aligns with the cleanest visual pattern on the keyboard. The octave numbering system (C1, C2, C3…) also starts on C for the same reason.

Where is Middle C on the piano keyboard?

Middle C is the C closest to the center of the keyboard — the 40th white key from the left on a full 88-key piano. It sits just to the left of the 4th group of two black keys counting from the bass end. In scientific pitch notation it is called C4; in MIDI, it is note number 60 and vibrates at approximately 261.6 Hz.

What are the black keys on a piano called?

Each black key has two names. When raised by a half step from the white key to its left, it is called a sharp (♯). When lowered a half step from the white key to its right, it is called a flat (♭). For example, the black key between C and D is called both C♯ (C-sharp) and D♭ (D-flat) — they are the same pitch, just spelled differently depending on the musical context.

How do I find any note on the piano?

Start by spotting the groups of black keys. The group of 2 black keys always has C immediately to the left and E to the right. The group of 3 black keys has F to the left and B to the right. Once you can spot C instantly, every other note follows the alphabet: D is the next white key to the right of C, E after that, then F, G, A, B — then C again one octave higher.

What is an octave on the piano?

An octave is the distance from one note to the next note of the same name — for example, from C4 to C5. This span contains 12 half steps (7 white keys and 5 black keys). Notes an octave apart sound very similar because the higher note vibrates at exactly twice the frequency of the lower one. The full piano spans just over 7 octaves.