Sharps and flats

Black keys on piano

The black keys on piano are arranged in repeating groups of two and three. They are named as sharps when moving up and flats when moving down.

C4D4E4F4G4A4B4
C#4 / Db4D#4 / Eb4F#4 / Gb4G#4 / Ab4A#4 / Bb4
The five black keys in one octave: C#/Db, D#/Eb, F#/Gb, G#/Ab, and A#/Bb.
2+3group pattern

Black keys alternate between groups of two and groups of three.

5per octave

Each full octave has five black keys.

36on 88 keys

A full standard piano has 36 black keys.

Two-black-key group

The two-black-key group contains C sharp or D flat, then D sharp or E flat.

Three-black-key group

The three-black-key group contains F sharp or G flat, G sharp or A flat, and A sharp or B flat.

How to practice black keys

Practice naming one group at a time. The visual group is more reliable than counting from the left edge of the keyboard.

Black keys in one octave

PositionSharp nameFlat name
Between C and DC#Db
Between D and ED#Eb
Between F and GF#Gb
Between G and AG#Ab
Between A and BA#Bb

FAQ

Quick answers

Why are there no black keys between E and F?

E and F are a half step apart already, so there is no separate black key between them.

Why are there no black keys between B and C?

B and C are also a half step apart, so they sit next to each other without a black key.

Should I say sharp or flat?

Use sharp when the note is raised from the lower white key and flat when it is lowered from the higher white key.