Piano from zero · Lesson 4 of 6 · about 15 minutes · ← Lesson 3

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).

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 keySharp nameFlat nameWhere
1st of the twoC♯D♭between C and D
2nd of the twoD♯E♭between D and E
1st of the threeF♯G♭between F and G
2nd of the threeG♯A♭between G and A
3rd of the threeA♯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)

  1. 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…
  2. Back down in flats. From C5 going left: C, B, B♭, A, A♭, G, G♭, F, E, E♭, D, D♭, C.
  3. Ode to Joy in both places. Play the first half in C position, then in D position. Same fingers, different keys.
Read next
musictheory.net — Steps and Accidentals. Ricci Adams's short illustrated lesson on half steps, whole steps, sharps, flats and naturals. musictheory.net is the standard free reference for music theory.
Keep
Reference sheet: the keyboard map, which includes both names for every black key.
Next
Lesson 5 · Reading notes on the treble staff
Stuck or curious? Ask me. Try "when do I say C♯ and when D♭?", "what's a whole step?", or "is there an E♯?". When you're ready, say "next lesson".