Piano notes: how the keys match the staff

Each piano key matches one spot on the staff. Middle C is the key near the center and sits on a ledger line between the treble and bass staves. Keys to the right are higher and are mostly read in the treble clef, and keys to the left are lower and read in the bass clef.

C3D3E3F3G3A3B3C4D4E4F4G4A4B4C5D5E5F5G5A5B5
Press any key to hear it. The number after the letter is the octave: C4 is middle C.
CDEFGABCDEFGABC
The same notes on the grand staff, from C3 to C5. Middle C sits on a ledger line between the staves.

Learning piano notes means connecting three things: the key you press, the note you see on the staff, and the sound you hear. This page links the first two. It shows which keys belong to the treble clef and which to the bass clef, where the black keys go, and how to find your way around with a few landmark notes.

CDEFG
Notes starting on middle C. Middle C sits on the ledger line between the staves, and the notes above it climb the treble staff.
CDEFG
The same five notes on the keys, starting at middle C. Each step to the right is higher.

Where do the keys go on the staff?

Start from middle C, the key near the center of the piano. It is the first ledger line below the treble staff and the first ledger line above the bass staff. Moving up, the white keys follow the letters C D E F G A B, and the notes climb the treble staff line, space, line, space. Moving down from middle C, the notes go B, A, G, F, E, D, C down the bass staff. Each white key is exactly one step of the staff.

Which hand plays which staff?

In most piano music the right hand reads the treble staff and the left hand reads the bass staff, but the hands often cross over. A melody in the left hand can appear in the treble staff, and a bass line can go into the right. The staves show pitch, not hands. Some editions add small numbers above the notes to show which finger to use, with 1 for the thumb and 5 for the little finger.

How are the black keys written?

Black keys are written with a sharp or flat sign before the note. A sharp raises the note to the black key on the right, and a flat lowers it to the black key on the left. For example the black key between F and G is written as F♯ or as G♭, depending on the key of the music. The staff itself has no special spot for black keys, so the sign carries that information.

FF♯GA♭AB♭BC
Black keys on the staff are written with a sharp or flat sign. F♯ and G♭ would be the same key.

How do the white keys line up with the five lines?

The five lines of the treble staff go E G B D F, and these are all white keys. On the keys, they are every other white key starting with the first E above middle C. The spaces, F A C E, are the white keys in between. If you press the keys for the lines in turn, you play every other white key. The bass staff works the same way, with lines G B D F A.

CDEFGABCDEFG
The treble line notes E, G, B, D, F, marked as every other white key above middle C.

What are the octaves on the piano?

An octave is the span from one note to the next with the same letter, such as C4 to C5. On the piano that is eight white keys counting both ends, or 12 half steps if you count every key, black ones included. The octave number changes at each C, so the keys from C4 to B4 are all in octave 4. A piano has seven full octaves plus a few extra keys. The standard tuning reference is A4, the A above middle C, at 440 Hz.

KeyNote nameStaff position
Middle CC4Ledger line below treble, above bass
The G above middle CG4Second line of treble
The F below middle CF3Fourth line of bass
Top of treble staffF5Fifth line of treble
Bottom of bass staffG2First line of bass

How do I find notes quickly?

Use landmarks. Find middle C by the pair of black keys, then find the treble G and bass F by counting. Name the notes of a short tune, then play them, then name them again without looking. Little by little you stop counting and start to recognize notes by sight, like words. The note trainer helps with this, and piano keys lists every key.

  1. Find middle C on the keys.
  2. Find the same note on the staff, on its ledger line.
  3. Move up or down one white key and one step on the staff together.
  4. Say the names out loud as you play.

Practice tip: Practice reading and playing only five notes first (C D E F G), then add one new note at a time. A small set that you know well is better than many notes that you half know.

When you are comfortable with these notes, read a simple piece with both hands. See how to read sheet music for what else to look for on the page, and the grand staff page for how the two staves fit together.

Check yourself

1. Where is middle C on the staff?

2. Which keys do the five lines of the treble staff match?

3. What is this note?

4. A sharp sign before a note means you play:

5. Which hand usually reads the bass staff?