Piano notes
The name of every key, where middle C is, and how the notes look on the staff.

The short answer
Piano notes use seven letters, A to G, that repeat up the keyboard. The white keys are those seven letters and the black keys are sharps and flats between them. A standard piano has 88 keys, 52 white and 36 black, and middle C is C4, near the middle.
Piano keyboard notes
Here are two octaves of keys with every note named. Each white key has a letter. Each black key has two names, a sharp and a flat, because it sits between two white keys. The yellow key is middle C.
PlayPiano piano notes chart · getplaypiano.com/piano-notes/
How the keys are named
The white keys use the first seven letters of the alphabet: A, B, C, D, E, F, G. After G the letters start again at A, one octave higher. The black keys come in groups of two and three, and those groups are your map.
- C is the white key just left of a group of two black keys.
- D sits between the two black keys of that group, and E is just right of it.
- F is the white key just left of a group of three black keys.
- G is between the first and second black keys of the three, A is between the second and third, and B is just right of the group.
Each octave has twelve different notes: seven white keys and five black keys. After B comes C again, and the pattern repeats.
Where is middle C?
Middle C is written C4. It is the C nearest the middle of the keyboard, and it is the note that sits between the two staves of piano music. On an 88 key piano it is the fourth C from the left, key 40.
All 88 keys, A0 to C8: 52 white keys and 36 black keys.
- Sit in front of the keyboard and find the groups of two black keys.
- Pick the group of two nearest the centre, in front of you.
- Play the white key just to the left of that group. That is middle C.
Sharps and flats: why one key has two names
A sharp raises a note by one half step, the very next key to the right. A flat lowers it by one half step, the very next key to the left. So the black key between C and D is C sharp if you come up from C, and D flat if you come down from D. It is one key with two names. Which name is used depends on the key of the piece, and you will see this in the circle of fifths.
| Black key between | Sharp name | Flat name |
|---|---|---|
| C and D | C♯ | D♭ |
| D and E | D♯ | E♭ |
| F and G | F♯ | G♭ |
| G and A | G♯ | A♭ |
| A and B | A♯ | B♭ |
Two pairs of white keys have no black key between them: E and F, and B and C. They are already a half step apart. That is why E sharp is the same key as F, and B sharp is the same key as C.
Piano notes on the staff
Sheet music for piano uses two staves joined together. The treble clef is usually played by the right hand and the bass clef by the left. Middle C sits between them on its own short line, one ledger line below the treble staff and one above the bass staff.
- Treble clef lines, bottom to top: E, G, B, D, F. The spaces: F, A, C, E.
- Bass clef lines, bottom to top: G, B, D, F, A. The spaces: A, C, E, G.
The drawings above show each white key note on its staff. For a step by step method, read how to read the treble clef and how to read the bass clef, then practise in Name the note, a free game that shows a note and asks you for its name.
Keep going
Questions
What are the notes on a piano?
A piano uses seven letter names, A, B, C, D, E, F and G, which repeat up the keyboard. The white keys are those seven letters. The black keys are the sharps and flats between them. That makes twelve different notes in every octave: seven white keys and five black keys.
How many keys does a piano have?
A standard piano has 88 keys: 52 white keys and 36 black keys. They run from A0 at the left to C8 at the right, which is seven full octaves plus four extra notes. Many digital keyboards have fewer, often 49, 61 or 76 keys.
Where is middle C?
Middle C is the C closest to the middle of the keyboard, written C4. It is the fourth C from the left end, key 40 of 88. To find it, look for a group of two black keys near the centre and play the white key just to the left of that group.
Why do some black keys have two names?
Each black key sits one half step above a white key and one half step below the next. Called after the lower key it is a sharp, and called after the upper key it is a flat. So C sharp and D flat are the same key. Which name is used depends on the key of the music.
Why is there no black key between E and F, or B and C?
Those pairs of white keys are already one half step apart, the smallest distance on a piano, so there is no note between them. Every other pair of neighbouring white keys is a whole step apart with a black key in the gap.
How do I learn the piano notes quickly?
Learn the groups of black keys first. Every C sits just left of a group of two, and every F just left of a group of three. From those two landmarks you can count to any other white key. Then practise naming a few notes at a time in the Name the note game.
Learn the notes by playing them, with feedback on every key, in PlayPiano, a piano practice app for iPhone and iPad.
Get the app