Piano Keys Online: Every Key and Note, Labeled

Every key on this piano shows its note name. Click any key to hear it, and read on to learn how the 88 piano keys are organised.

How piano keys are named

Piano music uses just seven letters: A B C D E F G. The white keys repeat these letters from left to right, over and over. Each repeat of the pattern is called an octave, and the same letter one octave higher sounds like a higher version of the same note.

The black keys take their names from their neighbours. The black key just right of C is C♯ (C sharp), which is the same key as D♭ (D flat). There is no black key between E and F or between B and C.

Finding your way: groups of two and three

The black keys come in alternating groups of two and three. C is always the white key just left of a group of two black keys, and F is just left of a group of three. Once you can spot those two, you can find every other note.

Octave numbers and middle C

Each octave has a number, which changes at every C. The lowest key on a piano is A0 and the highest is C8. Middle C is C4, the C closest to the centre of the keyboard; on this site it is also the Q key of your computer keyboard.

One octave of piano keys

NoteKeyFrequency
C4White261.63 Hz
C♯4 / D♭4Black277.18 Hz
D4White293.66 Hz
D♯4 / E♭4Black311.13 Hz
E4White329.63 Hz
F4White349.23 Hz
F♯4 / G♭4Black369.99 Hz
G4White392.00 Hz
G♯4 / A♭4Black415.30 Hz
A4White440.00 Hz
A♯4 / B♭4Black466.16 Hz
B4White493.88 Hz

Pitch doubles every octave: A4 is tuned to 440 Hz and A5 to 880 Hz. Neighbouring keys are a semitone apart, and twelve semitones make one octave.

How many keys does a piano have?

A standard piano has 88 keys: 52 white and 36 black, covering a little over seven octaves. Smaller digital keyboards often have 61 or 76 keys. This virtual piano shows all 88 on a wide screen.

Try it