edubun
English

Sharps, flats and naturals

A sharp raises a note by one half step, the distance from a key to its nearest neighbour.

Half steps on the keyboard

Seven letter names are not enough for the twelve different keys in each octave of a piano. The missing names come from accidentals, small signs written in front of a note. To understand them, start with the half step, the smallest distance in Western notation: from any key to the very next key, black or white. Most white keys have a black key between them, so they are two half steps, or one whole step, apart. Two pairs, E to F and B to C, have no black key between them. They are already a half step apart.

Three common signs

A sharp (♯) raises a note by a half step. A flat (♭) lowers it by a half step. A natural (♮) cancels an earlier sharp or flat and returns the note to its plain white-key form. The sign is always written to the left of the note, on the same line or space as the notehead, even though we say the name the other way round: we write ♯ then the note but say "F sharp". The black key just right of F is F♯; the black key just left of G is G♭. They are the same key with two spellings.

𝄞♯♭♭♮♯♭F♯G♭B♭B♮C♯D♭
Pairs that sound the same (F♯ and G♭, C♯ and D♭), and a flat cancelled by a natural.

Enharmonic spellings

Two names for one sound are called enharmonic spellings. C♯ and D♭ are enharmonic, and so are D♯ and E♭, F♯ and G♭, G♯ and A♭, A♯ and B♭. The rule even reaches white keys: E♯ is the same key as F, and B♯ the same as C, because there is no black key in between. Which spelling a composer chooses depends on the key and on how the melody moves, a subject for the scales course. For reading, the point is simpler: find the letter first, then move one key right for a sharp or one key left for a flat.

Two rarer signs exist as well. A double sharp (𝄪) raises a note by two half steps, and a double flat (𝄫) lowers it by two. They appear in music with many sharps or flats in the key, and you can leave them for later.

An accidental lasts for the bar

An accidental applies to the note it is attached to and to every later note on the same line or space until the next bar line. After the bar line it is forgotten, unless the note is tied across. So if a bar contains F♯ followed by two more Fs without signs, all three are F♯. To return to F inside the same bar, the writer must add a natural. Many editions print a courtesy accidental in brackets in the next bar as a reminder, even though it is not strictly needed. This is why accidentals are sometimes described as temporary signs, as opposed to the key signature at the start of each line that lasts for the whole piece.

𝄞♯♮F♯GF = F♯FF♮
Bar 1: the third note is still F♯. Bar 2: the sharp has gone; the natural is only a reminder.
♯Sharp: raise by a half step
♭Flat: lower by a half step
♮Natural: cancel a sharp or flat
C♯ = ?D♭
E♯ = ?F (no black key between E and F)
B♭ = ?A♯
  1. What does a flat do?
    • Lowers a note by a half step
    • Raises a note by a half step
    • Lowers a note by a whole step
    • Cancels a sharp only
  2. Which pair of white keys is only a half step apart?
    • E and F
    • C and D
    • F and G
    • A and B
  3. Where is an accidental written?
    • Left of the note, on its line or space
    • Right of the note
    • Above the staff
    • Under the note
  4. Which note is enharmonic with G♭?
    • F♯
    • G♯
    • A♭
    • F♭
  5. B♯ is played on which key?
    • C
    • B
    • C♯
    • A♯
  6. What is this note?
    • B♭
    • B♯
    • D♭
    • A♭
  7. What is this note?
    • F♯
    • E♯
    • G♭
    • D♯
  8. A bar has F♯, then G, then F with no sign. The last note is…
    • F♯
    • F
    • G♭
    • E
  9. How many half steps make a whole step?
  10. How many different keys are in one octave of a piano (counting C once)?
Key points
  • ♯ raises, ♭ lowers by a half step; ♮ cancels.
  • Write the sign left of the note; it lasts until the bar line.
  • E to F and B to C are half steps with no black key between.
  • Enharmonic: one key, two names (C♯ = D♭, E♯ = F).
Sources for this course (13)
  • Open Music Theory (Viva Pressbooks)
  • chapters "Notation of Notes, Clefs, and Ledger Lines" (viva.pressbooks.pub/openmusictheory/chapter/notation-of-notes-clefs-and-ledger-lines/)
  • "Reading Clefs" (viva.pressbooks.pub/openmusictheory/chapter/clefs/)
  • "The Keyboard and the Grand Staff" (viva.pressbooks.pub/openmusictheory/chapter/the-keyboard-and-grand-staff/)
  • "Half and Whole Steps" (viva.pressbooks.pub/openmusictheory/chapter/half-and-whole-steps/)
  • Wikipedia "Clef" (en.wikipedia.org/wiki/Clef)
  • "Ledger line" (en.wikipedia.org/wiki/Ledger_line)
  • "Accidental (music)" (en.wikipedia.org/wiki/Accidental_(music))
  • "Musical note" pitch names and German H (en.wikipedia.org/wiki/Musical_note)
  • "Guido of Arezzo" and "Ut queant laxis" (en.wikipedia.org/wiki/Guido_of_Arezzo)
  • 나무위키 「음이름」 가나다식 음이름 다라마바사가나 (namu.wiki/w/음이름)
  • Melodies used are public domain (Ode to Joy, Beethoven 1824; Frere Jacques and Mary Had a Little Lamb, traditional)
  • Middle C = C4 about 261.63 Hz from f = 440 x 2^((m - 69) / 12).

Checked: 2026-10-17