Notalo › Learn › Piano keyboard notes chart: every key named, and how to find middle C
Piano keyboard notes chart: every key named, and how to find middle C
By Taekyung Lee · 2026-10-25
A piano keyboard looks like 88 identical keys. It is really one pattern of twelve keys, seven white and five black, repeated from the bottom of the instrument to the top. Learn the pattern once and you can name any key on any piano, keyboard or app, without counting from the end.

The pattern: twos and threes
Look only at the black keys. They come in groups: two, then three, then two, then three, all the way along. That alternation is the whole map. Two landmarks are enough to read it:
- C is the white key just to the left of every group of two black keys.
- F is the white key just to the left of every group of three black keys.
From C, the white keys go up through the alphabet: C, D, E, F, G, A, B, and then C again. Music uses only those seven letters. After G comes A, not H, which is the one place the alphabet trips people up. Between E and F, and between B and C, there is no black key, which is why the groups split where they do.
The black keys: sharps and flats
Every black key has two names. The black key just above C is C♯ (C sharp), because it is one step higher than C. It is also D♭ (D flat), because it is one step lower than D. Both names are correct; which one a piece of music uses depends on its key. A piece in G major writes F♯, never G♭, for the same key. The key signatures article explains which name to expect when.
The step from any key to the very next key, white or black, is a half step (or semitone). Two half steps make a whole step. C to D is a whole step with a black key in between; E to F is a half step with nothing in between. Every scale and chord is built from these two distances, so it is worth seeing them on the keyboard early.
Octave numbers, and which C is middle C
Because the letters repeat, musicians number each octave. The numbering changes at every C: the C and all the keys above it up to the next B share a number. Middle C is C4. The keys above it are D4, E4 and so on up to B4; the next C is C5. Going down from middle C, the B just below it is B3.
On a full 88-key piano the lowest key is A0 and the highest is C8, and middle C is the fourth C from the left. On a 61-key keyboard, which usually runs from C2 to C7, middle C is the third C from the left. On smaller keyboards the safest rule is to find the C closest to the middle of the instrument; on most pianos it is right below the brand name.
One warning that catches people moving between apps: some manufacturers and music programs call middle C C3 instead of C4. The key is the same; only the label is shifted by one. If a MIDI file or app says a note is C5 and it sounds an octave lower than you expected, this is almost always the reason. Notalo and the charts on this site use the more common convention, middle C = C4, which is also MIDI note number 60.
How the keys line up with the staff
Middle C is the meeting point of the two staves in piano music. It sits on a short ledger line just below the treble staff and just above the bass staff, and both mean the same key. Everything on the treble staff is middle C and above, mostly played by the right hand; everything on the bass staff is middle C and below, mostly the left. The staff lines map onto the keys like this:
| Staff | Bottom line | Middle line | Top line |
|---|---|---|---|
| Treble clef | E4 | B4 | F5 |
| Bass clef | G2 | D3 | A3 |
The full charts are in treble clef notes and bass clef notes. The two charts plus this one are all you need to go from a dot on the page to a key under your finger.
A ten-minute drill to learn the keys
- All the Cs. Starting from the bottom, play every C on the keyboard, saying "C" each time. Then every F. These two are your anchors; everything else is a step or two from one of them.
- Up and down from C. Put your right thumb on middle C and play C D E F G with one finger per key, saying the names. This is the "C position" that the first songs on this site use.
- Random keys. Close your eyes, put a finger anywhere, open your eyes and name the key from the nearest group of black keys. Ten keys a day for a week is enough to make it automatic.
- Black keys both ways. Pick any black key and say both its names: "F sharp, G flat". It feels redundant until the first piece that uses flats.
Then play something. Mary Had a Little Lamb and Ode to Joy use only the five keys from C to G in the right hand, and every note on those pages has its letter written under it, so the chart above is all you need to play them.
Should you put stickers on the keys?
Note stickers are fine for the first week or two, while the twos-and-threes pattern is still new. Their cost is that your eyes learn to read the sticker instead of the shape of the keyboard, and the habit is hard to drop later. A gentler aid is a single sticker or a small piece of tape on middle C only: one fixed reference point, with every other key found from the pattern. Once you can find any C and F without looking for long, take the sticker off.
Common mistakes
- Mixing up C and F. Both sit to the left of a black-key group. Look at the size of the group: two means C, three means F.
- Counting from the end of the keyboard. Slow and error-prone. Always find the nearest group of black keys instead.
- Looking for E♯ or B♯ on a black key. They exist as names (E♯ is the same key as F, B♯ the same as C), but there is no black key between E and F or B and C.
- Losing middle C on a small keyboard. Count Cs from the middle of the instrument, not from the left edge, or check the octave buttons: many keyboards shift every key by an octave when they are pressed.
Try it on your own music. Upload a photo or PDF of any piano sheet music and get it back with the letter under every note, chords and a MIDI file.
Add letters to my sheet music