The seven letters
The white keys are named with the first seven letters of the alphabet: A B C D E F G. After G the pattern starts again at A, higher up. Moving right is higher; moving left is lower.
The black keys: sharps and flats
A black key has two names, because it sits between two white keys. The one to the right of a white key is its sharp (shown as #); the same black key is also the flat (shown as b) of the white key to its right.
| Black key | Also called |
|---|---|
| C sharp (C#) | D flat (Db) |
| D sharp (D#) | E flat (Eb) |
| F sharp (F#) | G flat (Gb) |
| G sharp (G#) | A flat (Ab) |
| A sharp (A#) | B flat (Bb) |
The twelve notes
From one C to the next C there are twelve different notes, counting every key, black and white: C, C#, D, D#, E, F, F#, G, G#, A, A#, B. That span, from one C to the next, is called an octave. There is no black key between E and F, or between B and C, so those pairs are only a half step apart.
Using the black-key groups as a map
- C is just left of a group of two black keys.
- F is just left of a group of three black keys.
From those, you can name any white key. For a step-by-step guide, read how to find middle C.
How many keys does a piano have?
A full piano has 88 keys, 52 white and 36 black. Smaller keyboards have 49, 61 or 76 keys. See how many keys you need.
From keys to written notes
Each key has a place on the written staff. White keys sit on lines and spaces; black keys appear with a sharp or a flat sign beside the note. To see how the keyboard connects to sheet music, read how to read piano notes. In Piano in 41 Days, the keyboard map is the focus of Days 1 to 4, and the first reading lessons follow on Days 9 to 12.
Quick answers
What are the names of the piano keys?
The white keys are A, B, C, D, E, F and G, repeating up the keyboard. The black keys are sharps and flats of those notes.
How many white and black keys are there on a piano?
A full 88-key piano has 52 white keys and 36 black keys.
What is the difference between a sharp and a flat?
A sharp raises a note by one half step, and a flat lowers it by one half step. A black key can be named either way, for example C sharp or D flat.