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.

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.
Quick check
1. Which white key is just to the left of a group of two black keys?
C always sits just left of the pair. F sits just left of the group of three.
2. What's another name for C#?
C# is C raised by a semitone, which is the same key as D lowered by a semitone: Db.
3. How many different notes are there before the pattern repeats?
7 white keys + 5 black keys = 12 notes in every octave.
Make something with it
Free tools that go with this lesson - no sign-up.
Free toolKeep perfect timeAn online metronome with accents, time signatures and tap tempo.
Open the metronome →
Video EditorTurn your music into a videoCut on the beat, ready for TikTok, Reels and YouTube Shorts.
Make a video →
Create MusicHear it as a full songType a style and your lyrics, and get a complete song with real vocals.
Make a song →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.
