Skip to content
MusicTheoryGym

Drill · timed or free play

Piano Key Trainer: Learn the Notes on the Piano

Which key is which note? Learn the keyboard in minutes.

Streak
0
Best
0
Accuracy
–
Days
0

Which note is this key?

C

Difficulty

One octave, white keys only. A "C" landmark is marked for you.

Beat the clock · Warm-up

Practice

New to this? Learn it first

How the piano keyboard is laid out

A piano looks like a wall of identical keys, but it is built on a simple pattern. There are only seven note names, the letters A B C D E F G, and they repeat from the lowest key to the highest. One full run of the pattern, from one C to the next, is called an octave. Once you know the pattern in one octave, you know the whole piano.

The white keys are the natural notes. The black keys are the sharps and flats, and they are grouped in a repeating pattern of two, then three. That grouping is the secret to finding your way around.

One octave of piano keys with note namesSeven white keys named C D E F G A B. Five black keys named C sharp or D flat, D sharp or E flat, F sharp or G flat, G sharp or A flat, and A sharp or B flat. The black keys come in a group of two and a group of three.2 black keys3 black keysCDEFGABC♯D♭D♯E♭F♯G♭G♯A♭A♯B♭
One octave: C D E F G A B, with two names for every black key. The pattern then repeats.

Why the keyboard starts on C

The note names run A to G, yet we picture the keyboard starting on C. Both facts have the same history. The letters are more than a thousand years old, from a time when the lowest note of the standard system was A: the white keys from A to A, which we would hear as minor. A piano's lowest key is still an A.

Over the centuries music moved towards the major scale, and the major scale with no sharps or flats begins on C. By then the letters were in every book and every instrument, so they never changed. That is why the repeating pattern is counted from C, why each new octave number starts on C (B3 is just below C4), and why the group of two black keys, which sits just after C, is the easiest landmark. None of it affects how you play.

The landmark trick: groups of two and three

Do not try to count up from the left end of the keyboard. Instead, use the black keys as landmarks. Every white key has a unique position relative to a group of black keys:

NoteWhere to find it
CImmediately left of the group of two black keys
DIn the middle of the group of two
EImmediately right of the group of two
FImmediately left of the group of three black keys
GBetween the first and second black keys of the three
ABetween the second and third black keys of the three
BImmediately right of the group of three

Start with just C and F, the two keys that sit at the left edge of a group. Find every C and every F on the keyboard. Then fill in the rest by counting from those anchors: D and E are one and two white keys after C, and G, A and B follow F-G-A-B in alphabetical order.

Naming the black keys: sharps and flats

Every black key has two names. Moving up a half step from a white key gives its sharp (♯). Moving down a half step gives its flat (♭). So the black key between C and D is both C♯ (a half step above C) and D♭ (a half step below D).

Black keyNames
First of the twoC♯ / D♭
Second of the twoD♯ / E♭
First of the threeF♯ / G♭
Middle of the threeG♯ / A♭
Last of the threeA♯ / B♭

Two names for one key are called enharmonic equivalents. They sound identical but are written differently depending on the key of the piece. In A♭ major you write A♭, not G♯. The Working set level accepts either name, and Heavy lift asks for the one you are told.

Half steps, whole steps and the gaps with no black key

The distance between two neighbouring keys, black or white, is a half step. Two half steps make a whole step. Between most white keys there is a black key in the middle, so they are a whole step apart. But E to F and B to C have no black key between them: they are already a half step apart.

That is why the black keys come in groups of two and three. The two gaps in the pattern are exactly where E meets F and where B meets C. It also explains an odd fact: E♯ is the same key as F, and C♭ is the same key as B. The Heavy lift level uses names like E♯ and F♭ to make sure you really know the keys, not just the labels.

Octaves and middle C

Every note name appears many times on the piano, once per octave. To tell them apart, musicians add a number: C4 is middle C, C5 is the next C up, and C3 is the next C down. This is called scientific pitch notation. A full 88-key piano runs from A0 to C8, and middle C (C4) sits near the middle.

In Heavy lift the keyboard spans two octaves and the questions include the octave number, so you will practise finding, for example, F♯5 rather than just any F♯.

How to learn the piano keys quickly

  1. Find C first. Spend a few minutes locating every C on a real keyboard or on this page. Say its name out loud as you press it.
  2. Add F. Find every F, the white key just left of the group of three.
  3. Use the landmarks for the rest. If you see a white key in the middle of two black keys, it is D. Between the first and second black keys of the three, it is G.
  4. Do the Warm-up level daily. Short, frequent sessions build recall far faster than a long session once a week. Aim for 90% accuracy before moving on.
  5. Add the black keys. Move to Working set. Learn each black key as "the sharp of the white key to its left" first, and the flat name second.
  6. Go timed. Use a 1 or 2 minute set to build speed, then try Heavy lift to lock in octaves and spelling.

Common mistakes

  • Counting from the left end. It is slow and error-prone. Always orient from a group of black keys.
  • Confusing E and F, or B and C. Remember there is no black key between them, so they sit side by side.
  • Treating sharps and flats as different keys. C♯ and D♭ are one key with two names.
  • Forgetting the octave. The same note name appears many times, and the right octave matters when you read music.

How to use this trainer

Each question either lights up a key and asks you to name it, or gives you a note and asks you to tap it on the keyboard. After every answer you get a landmark hint explaining where that note sits, whether you were right or wrong.

  • Warm-up: one octave, white keys only, with the C landmark marked.
  • Working set: one octave with all twelve keys. Black keys are answered as a pair, such as C♯/D♭.
  • Heavy lift: two octaves, octave numbers, and the specific sharp or flat spelling you are asked for.

Once you know the keys, the next step is learning how notes move. Try the Transpose Drill to practise moving notes by half steps, look up every chord in a key with the chord chart, or chain drills into a timed session with a workout routine.

Frequently asked questions

How many keys does a piano have?

A full-size piano has 88 keys: 52 white and 36 black, running from A0 at the left to C8 at the right. Many keyboards and digital pianos have fewer, such as 61 or 76 keys, but the pattern is always the same.

Why does the keyboard start on C if the notes go A to G?

The letters were named more than a thousand years ago, when the lowest note of the standard system was A (the white keys from A to A, which sound minor to us; the lowest key on a piano is still an A). Later, music settled on the major scale, and the all-white-key major scale starts on C. The names never changed, so we count the keyboard from C, and octave numbers (C4, C5…) start there too. After G the letters simply loop back to A.

What is middle C?

Middle C is the C closest to the centre of the piano, usually just left of the manufacturer's name. In scientific pitch notation it is called C4. It is the standard reference point for finding every other note.

Why do black keys have two names?

Each black key sits between two white keys, so it can be named as a sharp of the white key to its left or a flat of the white key to its right. The key between C and D is C♯ or D♭. Which name is correct depends on the key of the music, but it is the same physical key.

How do I find the note C on any piano?

Look for a group of two black keys. The white key immediately to the left of that group is C. This works in every octave, which makes C the best starting landmark.

Why is there no black key between E and F, or B and C?

E to F and B to C are already a half step apart, the smallest distance on the keyboard, so there is no note in between to give a black key. Every other pair of neighbouring white keys has a black key between them.

How long does it take to learn the piano keys?

Most beginners can name the white keys confidently within a few days of short daily practice, and the black keys within a couple of weeks. Five minutes a day with the landmark method is more effective than a long weekly session.

Is a keyboard the same as a piano for learning notes?

Yes. The layout of white and black keys, and the note names, are identical on pianos, digital pianos and keyboards. Only the number of keys and the feel differ.

Related workouts

All drills · All tools