100% free. Unlimited songs. No sign-up. No credits. No catch — kept alive by people like you. 100% free — kept alive by people like you. Support us

Foundations · lesson 1 of 5

Piano keys and note names

Twelve notes, repeated from one end of the keyboard to the other. Learn the pattern once and you can find any note.

6 minBeginnerFree, no sign-upEvery example plays
Swara, the Swara Sound music teacher - Piano keys and note names

A piano repeats the same 12 notes from one end to the other. The white keys use seven letters - C D E F G A B - then start again at C. The black keys are the sharps and flats in between: C#/Db, D#/Eb, F#/Gb, G#/Ab and A#/Bb.

To find C, look for a group of two black keys: C is the white key just to the left of it.

The pattern of the black keys

The black keys come in groups of two and three. That pattern is your map:

  • C is just left of every group of two black keys.
  • F is just left of every group of three.
  • The other white keys follow in order: C D E, then F G A B.

Play it

Sharps, flats and semitones

The distance from one key to the very next one - white or black - is a semitone (also called a half step). It's the smallest step on a piano.

  • A sharp (#) raises a note by one semitone: C# is the black key just right of C.
  • A flat (b) lowers a note by one semitone: Db is the black key just left of D.

So C# and Db are the same key with two names. Which name you use depends on the key of the song - you'll see why in the lessons on keys.

Watch out: E-F and B-C have no black key between them. They are already just one semitone apart, so there's no "E#" key of its own - E# is the same key as F.

Octaves and middle C

After B the letters start again at C. Each time they repeat, you've gone up an octave: the same note, higher. An octave up sounds "the same, only higher" because its frequency is exactly double.

To say which C you mean, add a number. Middle C is C4 - the C nearest the middle of a piano. The C above it is C5, the one below is C3. A full piano has 88 keys, from A0 to C8, and the note orchestras tune to is A4 (440 Hz).

The Music Studio's piano roll uses the same names, so once you know the keyboard, you know the piano roll.

Practise: find the note

Find each note on this one-octave keyboard (no names this time). Turn on Black keys too when the white keys feel easy.

Play it in the Studio

Open every white key from C to C - the C major scale - in the Music Studio's piano roll, and change the notes.

Open in the Studio →

Quick check

1. Which white key is just to the left of a group of two black keys?

2. What's another name for C#?

3. How many different notes are there before the pattern repeats?

Make something with it

Free tools that go with this lesson - no sign-up.

Frequently asked questions

How many keys does a piano have?

A full piano has 88 keys: 52 white and 36 black, from A0 at the bottom to C8 at the top. Keyboards often have 49, 61 or 76 keys - the note names are the same.

What is middle C?

Middle C (C4) is the C nearest the middle of the piano. It's where the treble and bass clefs meet in sheet music, and a handy starting point for finding every other note.

Is C# the same note as Db?

On a piano, yes - it's the same key. In written music the name depends on the key of the song: a song in D major says C#, a song in Ab major says Db.

Why is there no black key between E and F?

E and F (and B and C) are already one semitone apart, so there's no room for a note in between. That gap in the black keys is what makes the groups of two and three.

Try it with these free tools

Free download