Skip to content

Piano notes chart: all 88 keys labeled

Tutorial6 min readAndrew Carlins

A piano has 88 keys but only twelve note names, repeated. Learn the pattern once and you can name every key on any piano, real or virtual. Here is the chart, and the shortcut for finding middle C.

A piano notes chart looks intimidating because a piano has 88 keys, but it only uses twelve note names, repeated from one end of the keyboard to the other. Once you learn the pattern for one octave, you can name every key on any piano, whether it is a grand, a 61-key keyboard or a virtual piano on your phone.

This guide walks through how the keys are named, how to find middle C in a couple of seconds, what the numbers in names like C4 mean, and how to make a virtual piano label every key for you while you learn.

The short answer

The white keys are named A, B, C, D, E, F and G, then the pattern starts again. The black keys are sharps and flats of the white keys beside them. Every C sits just to the left of a group of two black keys, and middle C, written C4, is the C closest to the center of a full piano. A full piano runs from A0 at the bottom to C8 at the top.

How are piano keys named?

Look at the black keys first. They come in alternating groups of two and three, all the way up the keyboard. That grouping is the map. Each group of two black keys and the group of three next to it, together with the white keys around them, make one octave of twelve keys: seven white and five black.

The white keys in one octave, starting from C, are:

C D E F G A B

Then the next C begins a new octave. Two landmarks make it easy to read:

  • C is the white key just left of each group of two black keys.
  • F is the white key just left of each group of three black keys.

From those two you can count to any white key. There is no black key between E and F, or between B and C. Those two gaps are what split the black keys into groups.

What are the black keys called?

Each black key sits between two white keys, so it has two names. Name it from the white key below with a sharp (♯), meaning “raised by one key”, or from the white key above with a flat (♭), meaning “lowered by one key”.

The five black keys in one octave, with their sharp and flat names

Black key positionSharp nameFlat name
Between C and DC♯D♭
Between D and ED♯E♭
Between F and GF♯G♭
Between G and AG♯A♭
Between A and BA♯B♭

Both names point to the same key and sound the same. Which one a piece of music uses depends on its key. A song in D major writes F♯, while one in F major writes B♭. Our guide to enharmonic notes explains why the same key carries two names, and our explainer on key signatures covers which one a piece will use.

How to find middle C

Middle C is the starting point for most beginner music, and the note most piano lessons call home.

  1. Look at the middle of the keyboard. On an acoustic piano, middle C is usually near the keyhole or the brand name above the keys.
  2. Find a group of two black keys near the center.
  3. The white key just to the left of that group is a C.
  4. On a full 88-key piano, there are eight Cs. Middle C is the fourth one from the bottom, which makes it the C closest to the center.

On a smaller keyboard, count Cs from the bottom: middle C is usually the third C on a 61- or 76-key keyboard and the fourth on an 88-key one. Our guide on how many keys you need to learn piano covers what each size leaves out.

What does C4 mean on a piano?

C4 means the C in the fourth octave of a full piano, which is middle C. Note names like C4 and A0 combine a letter with an octave number. The number tells you which of the repeating octaves the key belongs to, counting up from the bottom of a full piano.

Octave numbers change at C, not at A. So the white keys around middle C read:

A3 B3 C4 D4 E4 F4 G4 A4 B4 C5

The key just below middle C is B3, and the key a white key above it is D4. The bottom three keys of a full piano are A0, A♯0 and B0, then C1 begins the first full octave. The top key is C8, standing alone.

One more landmark: A4, the A just above middle C, is the note orchestras tune to.

Piano notes chart for all 88 keys

Every octave of a full 88-key piano, with its range and the keys it contains

OctaveRangeKeysWhere it is
0A0 to B03 (2 white, 1 black)Bottom edge
1C1 to B112Low bass
2C2 to B212Bass
3C3 to B312Left hand, below middle C
4C4 to B412Middle C and the octave above
5C5 to B512Treble
6C6 to B612High treble
7C7 to B712Very high
8C81 (white)Top edge

That adds up to 88 keys: 52 white and 36 black. Most beginner music lives in octaves 3 to 5, around middle C.

Seeing note names on a virtual piano

A virtual piano can label the keys for you, which is the quickest way to learn them. On the Songscription virtual piano:

  1. Open the options menu, the button next to Sustain.
  2. Under Note names, choose All to label every key with its name and octave, or C only to label just the Cs, which is enough to find your place once you know the pattern.
  3. Under Key size, choose Large for fewer, bigger keys with room for the labels, or Small to see more of the keyboard at once.

The strip above the keys shows all 88 at once, with the visible stretch framed, so you can see where you are on the full piano. Start with All, play a few notes and say their names out loud, then switch to C only and test yourself. Our guide to learning piano on a phone has more tips for practicing on a screen.

On a computer, the letter keys play the piano too. Our guide to playing piano with your computer keyboard has the chart matching letters to notes. If the music you want is a printed page, you can convert the sheet music to letter notes by scanning it and turning on note names.

From key names to playing music

Knowing the names of the keys is the first step to reading music, because every note on a staff points to one key. Our guide to reading sheet music picks up from here, and piano finger numbers cover which finger plays which key.

You do not have to read notation to start playing songs, though. Our guide to playing piano online with songs covers four ways to get a song’s notes. Anything Piano turns any song into a piano roll, with falling notes that land on the keys to press, and it can show finger numbers on the roll when you turn on Fingering. It shows a piano roll, not sheet music, so you can learn the keys and real songs at the same time. It listens as you play on an acoustic or digital piano, or over MIDI, and runs on iPhone and iPad.

Frequently asked questions

What are the names of the piano keys?

The white keys are named with the letters A to G, repeating up the keyboard. The black keys take the name of a neighboring white key plus a sharp or flat, such as C sharp or D flat. That gives twelve different notes, and the 88 keys of a piano repeat those twelve across about seven octaves.

How do I find middle C on a piano?

Find a group of two black keys near the middle of the keyboard. The white key just to the left of that group is a C. On a full 88-key piano, the C closest to the center is middle C, called C4. On a virtual piano, turn on note names and look for the key labeled C4.

How many white and black keys does a piano have?

A full piano has 88 keys, 52 white and 36 black. The lowest key is A0 and the highest is C8. Smaller keyboards with 61 or 76 keys cut keys from both ends but keep the same pattern.

What does C4 mean on a piano?

The letter is the note name and the number is the octave. C4 is the fourth C from the bottom of a full piano, which is middle C. Each octave number starts at C, so the B just below middle C is B3 and the D just above it is D4.

Can I see note names on a virtual piano?

Yes. On the Songscription virtual piano, open the options menu next to Sustain and set Note names to All to label every key, or to C only to label just the Cs. Every key shows its name and octave, such as C4.

Final thoughts

The keyboard rewards a little pattern spotting. Eighty-eight keys look like a wall until you notice the black keys sitting in twos and threes. Then the wall becomes a ruler, marked off in octaves, with C and F as landmarks you can find without counting.

Spend ten minutes with the labels on, naming notes out loud as you play them, then turn the labels off and see how many you still know. Most people are surprised by how quickly the whole keyboard becomes readable once one octave is.

About the author

Andrew Carlins

Written by

Andrew Carlins

Co-founder & CEO, Songscription

Andrew co-founded Songscription at Stanford with a few fellow musicians who were tired of not finding the notes to the songs they wanted to play. He grew up playing piano and baritone saxophone and performing in musical theater, and though he hasn’t performed in years, he likes to think he’s still pretty sharp. He writes about getting a song off the recording and onto the page.

More about the team

Keep exploring more posts on the same topics.