Free tool

Piano Keys & Notes Labeled

All 88 piano keys, labeled and playable. Tap any key to hear it and see its note name, octave and frequency, and learn how the piano keys are named — from A0 at the bottom to C8 at the top.

Piano keys
88
White keys
52
Black keys
36
Octaves
7¼
Lowest – highest
A0–C8
Middle C
C4
88 keys · A0–C8
ABC1DEFGABC2DEFGABC3DEFGABC4DEFGABC5DEFGABC6DEFGABC7DEFGABC8

Tap any key to hear it and see its name, key number and frequency.

  • 100% free
  • No sign-up
  • All 88 keys
  • Real piano samples
  • Play with your computer keyboard
The answer

How many keys on a piano?

A standard piano has 88 keys: 52 white and 36 black. They cover seven full octaves plus a minor third, from A0 — the lowest A — up to C8. Every modern grand and upright uses this layout, and so do full-size digital pianos.

It was not always 88. Pianos from Mozart’s time had about five octaves; the range grew through the 1800s until makers settled on 88 piano keys in the late nineteenth century. A few concert grands go further — the Bösendorfer Imperial has 97, reaching down to C0 — while portable keyboards often have 61 or 76.

So how many keys on a piano should you learn? All of them follow the same 12-note pattern, so once you know one octave of piano keys you can find every note.

  • 88 keys in total — 52 white, 36 black.
  • 7 octaves + 3 notes — A0 to C8.
  • Middle C is C4, key 40 counting from the left.
  • A4 = 440 Hz (key 49) is the note orchestras tune to.
Grand piano showing how many keys a piano has
Note names

Keys on a piano keyboard labeled: the musical alphabet

Piano keys are named with seven letters, A B C D E F G, which repeat all the way up the keyboard. The white notes carry those natural names; the black ones are the sharps and flats in between.

To find your way, look at the black keys: they come in groups of two and three. C is always the white key just left of a group of two, and F is just left of a group of three. Switch the labels above to “C only” and you will see the pattern repeat every octave.

A good exercise: turn the labels off, play every C on the piano from bottom to top, then every F, then every G. Within a few minutes you will find any note without counting.

Close-up of white and black piano keys
Worked examples

Piano keys examples: find any note in seconds

Four piano notes worth finding without thinking. Try each one on the piano keys above before you read the answer.

01

Middle C (C4)

Find the pair of black keys nearest the middle of the keyboard; middle C is the white key just to their left — key 40 of 88.

02

A4, the tuning note

Count up the white notes from middle C: D, E, F, G, A. That A is key 49, the 440 Hz pitch orchestras tune to.

03

F♯3, a black key

Go down an octave from middle C to C3 and find the group of three black notes above it: the first one is F♯3, also written G♭3.

04

The lowest C

C1 is the fourth white key from the left. Below it sit only A0, A♯0 and B0 — the three extra piano keys that make the total 88.

Octaves

Piano keys and octaves: finding middle C (C4)

The piano keys are numbered by octave using scientific pitch notation. The octave number goes up at every C, so the notes run … A3, B3, C4, D4 … B4, C5. The lowest note, A0, sits below the first full octave; the highest is C8.

Middle C is C4, the fourth C from the left and key 40 of 88 — roughly in the middle of the keyboard, usually under the maker’s name. The tool highlights it, and the “Jump to middle C” button scrolls straight to it.

NoteKey (of 88)MIDIFrequencyLandmark
C142432.70 HzLowest C
C2163665.41 Hz—
C32848130.81 Hz—
C44060261.63 HzMiddle C
C55272523.25 Hz—
C664841046.50 Hz—
C776962093.00 Hz—
C8881084186.01 HzTop note
A4 (key 49, 440 Hz) is the standard tuning pitch. Frequencies use twelve-tone equal temperament.
Sharps & flats

Piano notes: black keys, sharps and flats

There are 12 different piano notes in every octave: 7 white and 5 black. Each step from one key to the very next — white or black — is a half step (semitone). A sharp (♯) raises a note by a half step and a flat (♭) lowers it, so the black key between C and D is both C♯ and D♭. Two names for one key are called enharmonic equivalents.

Between E and F, and between B and C, there is no black key: those white notes are already a half step apart. That gap is what creates the two-and-three pattern of the black piano keys.

Which name is correct depends on the key you are playing in. In D major the black key is written C♯; in A♭ major it is D♭. The piano chord finder and the piano scales pages always spell notes the right way for the chord or key.

Black and white piano notes on a keyboard
Keyboard sizes

61, 76 or 88 keys: which keyboard do you need?

An 88-key piano gives you the full range and is the best choice for classical music or exams. 76 cover almost everything else, and 61 are enough for beginner lessons, chords and most pop songs. Smaller 49-, 37- and 25-key controllers are made for producing music on a computer.

If you are buying your first instrument, look for full-size, weighted or semi-weighted piano keys — the feel matters more than the last few notes at each end.

Digital piano and keyboard sizes
KeysRangeTypical use
88A0 – C8Acoustic and digital pianos; plays the entire piano repertoire.
76E1 – G7Stage pianos and arranger keyboards; most pop and much classical music fits.
61C2 – C7Home keyboards and synths; enough for beginner lessons and most songs.
49C2 – C6MIDI controllers for producers and songwriters.
37C3 – C6Compact synths and small controllers.
25C3 – C5Pocket MIDI controllers for laptops.
Ranges are the most common layouts; some models shift by a note or two. Click a size in the tool to see it on the full keyboard.
Practice plan

Learn the piano keys in a week

Ten minutes a day is enough to know the piano keys by heart. Use the labels in the tool as training wheels and switch them off as soon as you can.

  • Days 1–2: every C and every F, bottom to top, eyes on the groups of black keys.
  • Days 3–4: the other white notes — D and E around the two black notes, G, A and B around the three.
  • Day 5: the black notes, naming each one both ways (C♯ / D♭).
  • Day 6: a C major scale over three octaves, saying every note aloud.
  • Day 7: labels off — call out random notes and find each in under two seconds.
Student practising note names on the piano keys
At the piano

From the first lesson to the concert hall

The same 88 piano keys on every grand, upright and digital piano — learn them once, play anywhere.

Pianist playing an acoustic piano
Row of piano keys
Learning the notes at the piano
Hands on the keyboard
Musician playing a digital piano
Upright piano at home
Grand piano in a concert hall
FAQ

Questions about piano keys

Counting, naming and finding every note.

How many keys are on a piano?

A standard piano has 88 keys: 52 white and 36 black, from A0 to C8. Some older pianos have 85 and a few concert grands have more, but 88 is the norm.

What are the names of the piano keys?

The white piano keys are named A, B, C, D, E, F and G, repeating up the keyboard. Each black key takes the name of a neighbouring white one plus a sharp or flat, for example C♯ or D♭.

Where is middle C on the piano?

Middle C (C4) is the fourth C from the left on an 88-key piano — key number 40. It is the white key just left of the pair of black notes nearest the centre of the keyboard.

Why do black keys have two names?

A black key is a half step above one white key and a half step below the next, so it can be called a sharp of the lower note or a flat of the higher one. C♯ and D♭ are the same key.

Why are piano keys black and white?

The two colours make the 12-note pattern easy to see at a glance. They have not always been this way round: many 18th-century harpsichords and fortepianos had dark naturals and light sharps.

How many octaves does a piano have?

Just over seven: seven full octaves from C1 to C8, plus three extra notes (A0, A♯0 and B0) below the first C. In total the 88 piano keys span 7¼ octaves.

What are the lowest and highest piano notes?

A0, at about 27.5 Hz, and C8, at about 4,186 Hz. Every other note sits between them, and the tool shows each frequency when you tap a key.

Is a 61-key keyboard enough to learn piano?

For the first year, yes — most beginner pieces and songs fit in five octaves. If you plan to play classical repertoire, move to 88 weighted piano keys as soon as you can.

What are weighted piano keys?

Weighted piano keys use a hammer action that feels heavier in the bass and lighter in the treble, like an acoustic piano. Unweighted synth keyboards are lighter and spring back faster.

Are the piano keys the same on a digital piano?

Yes. Digital pianos, stage pianos and keyboards use the same layout and note names as an acoustic piano; only the number of piano keys and the feel change.

Can I play this keyboard with my computer?

Yes. Turn on Computer keyboard: the A S D F G H J K row plays the white notes, W E T Y U O P the black ones, and Z / X move down or up an octave.

Know the piano keys? Play your first chords.

See which notes make every chord, or start with the easiest piano chords.