Black keys: sharps and flats
The black keys don't get letters of their own. Each one borrows the name of a white neighbour, plus a sharp (♯) or a flat (♭). Learn one rule and you can name all five, then play a tune that needs one.
One octave from middle C with every key named. Each black key has two names: one from the white key on its left, one from the white key on its right.
1. A half step is the very next key
A half step is the distance from one key to the very next one, black or white, with nothing in between. musictheory.net puts it this way: "a half step (or "semitone") is the distance from one key on the keyboard to the next adjacent key" (musictheory.net, Steps and Accidentals).
- Sharp ♯ means one half step higher, the very next key to the right. The black key just right of C is C♯ ("C sharp").
- Flat ♭ means one half step lower, the very next key to the left. The same black key is just left of D, so it is also D♭ ("D flat").
So C♯ and D♭ are the same key with two names, and the same goes for every black key. Which name the music uses depends on the tune, but your finger goes to the same place either way.
2. Two places with no black key
Look between E and F, and between B and C: there's no black key. Those white keys are already a half step apart. That gap is exactly why the black keys fall into groups of two and three.
| Black key | Sharp name | Flat name | Where |
|---|---|---|---|
| 1st of the two | C♯ | D♭ | between C and D |
| 2nd of the two | D♯ | E♭ | between D and E |
| 1st of the three | F♯ | G♭ | between F and G |
| 2nd of the three | G♯ | A♭ | between G and A |
| 3rd of the three | A♯ | B♭ | between A and B |
3. Play it
Step 1 · Black keys, any octave
The page names a black key, sometimes as a sharp, sometimes as a flat. For a sharp, find the white key and go one right; for a flat, find the white key and go one left. Under 3 seconds, about 20.
Step 2 · Any key, exact, octave 4
White and black keys mixed, all between middle C and the B above it. Find middle C first. Under 4 seconds, about 20.
Step 3 · Ode to Joy, moved to D
Move your hand up one white key: thumb on D4. Your five fingers now cover D E F♯ G A, with finger 3 on the black key F♯. Ode to Joy has the same shape as before, but starting from D. Playing the same tune from a new starting note is called transposing, and this one needs the black key to sound right. Try playing F instead of F♯ once, and listen to the difference.
4. Check yourself
At the piano (5 minutes)
- Every key in order. From middle C, play every key going right, black and white, up to C5: 12 half steps. Name each one: C, C♯, D, D♯, E, F…
- Back down in flats. From C5 going left: C, B, B♭, A, A♭, G, G♭, F, E, E♭, D, D♭, C.
- Ode to Joy in both places. Play the first half in C position, then in D position. Same fingers, different keys.