Skills · Piano basics

The Notes on a Piano Keyboard (Explained Simply)

Once you see the pattern, the whole keyboard makes sense. It is just seven letters, repeating.

Updated July 4, 20267 min readBy Harmono
A piano keyboard with the note names labelled

The short answer

The piano uses seven natural notes, A B C D E F G, which repeat up and down the keyboard on the white keys. The black keys are the sharps and flats between them. Find any C just to the left of a group of two black keys; the C nearest the middle is middle C.

A piano keyboard can look overwhelming: a long row of identical white keys with black keys scattered on top. But there's a simple secret hiding in plain sight. Once you learn to read the pattern of the black keys, every note falls into place, and the whole keyboard becomes predictable. This guide explains the notes on a piano keyboard in the simplest possible way, so that by the end you'll be able to find any note with confidence.

Interactive piano

Click or tap the keys to play. Toggle note names to learn the layout.

Only seven note names to learn

Here's the most reassuring fact about the piano: there are only seven natural note names, and they repeat over and over. They are the first seven letters of the alphabet:

C, D, E, F, G, A, B

After B, you don't move on to C for "chair" or anything new: you simply start again at C. So the pattern reads C, D, E, F, G, A, B, C, D, E, F, G, A, B, and so on all the way up the keyboard. These seven letters are the white keys. Learn them once and you know them everywhere.

Use the black keys as your map

The black keys aren't random. Look closely and you'll see they're arranged in an endlessly repeating group of two black keys, then three black keys, then two, then three. This 2-3 pattern is your compass. It's the reason a piano with 88 keys is far less intimidating than it first appears.

The trick is this: the white key directly to the left of every group of two black keys is C. Find that one note and you can count up the alphabet from there to name every other white key.

How to find and name every note, step by step

  1. Spot the black-key groups. Scan the keyboard and notice the alternating clusters of two black keys and three black keys.
  2. Find C. Look at any group of two black keys. The white key immediately to its left is C.
  3. Locate middle C. The C nearest the center of the keyboard (roughly in line with the piano's brand name or the lock) is called middle C, your home base for reading music.
  4. Name the white keys. Starting from any C, walk up the white keys naming them C, D, E, F, G, A, B, then back to C.
  5. Add the black keys. Each black key takes its name from the white key beside it, using sharps and flats (more on this below).
  6. See the pattern repeat. Notice that the exact same sequence of notes repeats in every octave up and down the keyboard.

The white keys and the two-black-key group

Because C sits to the left of the two-black-key group, the white notes around that group are easy to anchor. Here's how the seven natural notes line up:

White keyPosition relative to the black keys
CLeft of the group of 2 black keys
DBetween the 2 black keys
ERight of the group of 2 black keys
FLeft of the group of 3 black keys
GBetween the first two of the 3 black keys
ABetween the last two of the 3 black keys
BRight of the group of 3 black keys

Sharps, flats, and the black keys

Now for those black keys. A black key is named after the white key next to it, plus a small symbol:

  • A sharp (written #) means the note just above (to the right of) a white key.
  • A flat (written b) means the note just below (to the left of) a white key.

This is why almost every black key has two names, one sharp name and one flat name. They sound identical but are spelled differently depending on the musical context. Notes that share a pitch like this are called enharmonic. Here's the full set:

Black key (between)Sharp nameFlat name
C and DC#Db
D and ED#Eb
F and GF#Gb
G and AG#Ab
A and BA#Bb

Notice there are only five black keys per group of seven white keys, which is why there's no black key between E and F, or between B and C. Those pairs of white keys sit right next to each other with nothing in between.

Octaves: the same notes, higher and lower

The distance from one C to the next C is called an octave. Every octave contains the same twelve notes (seven white and five black), just at a higher or lower pitch. A low C and a high C sound like "the same note" because they are: they simply live in different octaves. This repetition is what makes the keyboard so learnable. Master one octave and you've effectively mastered them all.

The keyboard isn't a wall of 88 different things to memorize. It's one small pattern of 12 notes, repeated about seven times.

Two mnemonics to lock it in

To remember the natural notes, many beginners rely on a simple phrase. Since the notes cycle C-D-E-F-G-A-B, you can start the alphabet from any letter. A classic memory aid for the order of the musical alphabet forward is easy enough on its own, but when you start reading notation you'll meet two more:

  • For the lines of the treble staff (E, G, B, D, F): Every Good Boy Deserves Fun.
  • For the spaces of the treble staff (F, A, C, E): they spell the word FACE.

These come in handy the moment you connect keys to written music. When you're ready for that step, our guide on how to read sheet music for beginners shows how these keyboard notes map onto the staff.

Putting it all together

That's genuinely all there is to the layout: seven white-key letters that repeat, five black keys that take sharp or flat names, and a 2-3 black-key pattern that tells you exactly where you are. Practice finding C at random spots on the keyboard, then name the notes on either side. Within a day or two it becomes automatic. Tools like Harmono can listen as you play and confirm you're hitting the right notes, which speeds up that early recognition considerably.

From here, the natural next step is turning these single notes into music. Once you're comfortable naming keys, explore the music theory basics for piano to understand how notes combine into scales and chords. The keyboard you just decoded is the foundation for everything else you'll learn.

Frequently asked questions

What are the notes on a piano?

The piano uses seven natural notes, A B C D E F G, which repeat across the white keys. The black keys are the sharps and flats between them.

How do I find middle C on a piano?

Middle C is the C closest to the centre of the keyboard. Find any group of two black keys and the white key just to their left is a C; the one nearest the middle is middle C.

What are the black keys on a piano called?

The black keys are the sharps and flats. Each black key is a sharp of the white key below it and a flat of the white key above it, so the same black key has two names.

Do the piano notes repeat?

Yes. The same seven-note pattern repeats in every octave up and down the keyboard, so once you learn one octave you know the note names across the whole piano.

Harmono Piano

Learn and practice piano with feedback that actually helps

Practice with an Audition mode that gives masterclass-like feedback, transcribe any audio into sheet music, and turn songs into play-along tutorials.

Keep reading

All articles →