Reading Music
Sharps, Flats, and Naturals: Reading the Black Keys
Learn what sharps, flats, and naturals mean in music, how they relate to the black keys on the piano, and how to read accidentals in sheet music.

Every black key on the piano has two names. The same key can be called F-sharp or G-flat depending on the context. That dual identity trips up a lot of beginners, but once the logic clicks, accidentals stop feeling like a mystery and start feeling like a system.
Here is the short answer: a sharp raises a note by one half step, a flat lowers it by one half step, and a natural cancels either of those. A half step on the piano is the smallest move you can make, from one key to the very next key (including black keys). Most of the time that means landing on a black key, though not always.
What Is a Sharp in Music
The sharp symbol looks like a hashtag: #. When you see it next to a note name or written on the staff before a notehead, you play the next key up from that note.
So C-sharp means: find C, then move one key to the right. That key is one of the black keys. Same idea with F-sharp, G-sharp, A-sharp, and D-sharp. Each one sits directly to the right of its white-key neighbor.
Two things worth knowing early:
- E-sharp and B-sharp exist on paper, but they land on white keys. E-sharp is the same physical key as F. B-sharp is the same key as C. This seems odd, but it comes up in certain keys and chord spellings.
- The sharp sign in sheet music applies for the whole measure once written. If you see a sharp before the first C in a bar, every C in that bar is sharp unless marked otherwise.
If you want a fuller picture of how notes sit on the staff, reading notes on the grand staff explains the lines and spaces in detail.
What Is a Flat in Music
The flat symbol looks like a lowercase b: b. It lowers a note by one half step, meaning you move one key to the left.
B-flat means: find B, then move one key to the left. That is a black key. Same with E-flat, A-flat, D-flat, and G-flat.
Again, there are edge cases: C-flat is actually B on the keyboard, and F-flat is E. These show up in some keys and are worth recognizing without panicking when you see them.
A flat written in the music also holds for the rest of that measure.
How the Black Keys Get Two Names
The five black keys in each octave each sit between two white keys. That in-between position is why they carry two names.
White: C D E F G A B C
Black: C# D# F# G# A#
Db Eb Gb Ab Bb
Look at the black key between C and D. If you approach it from C going up, you call it C-sharp. If you approach it from D going down, you call it D-flat. Same physical key, different names. These pairs are called enharmonic equivalents.
Which name a composer uses depends on the key signature of the piece. In a piece written in G major (which uses F-sharp), composers write F# rather than Gb. The choice signals which tonal center the music is built around.
What Naturals Do
A natural sign (a small rectangular symbol with two vertical lines and two horizontal lines extending from the corners) cancels a sharp or a flat. It returns the note to its plain, unaltered white-key pitch.
You will see naturals most often in two situations:
- Canceling a key signature. If a piece is in the key of B-flat major, B and E are flat throughout. When a composer wants a plain E in one spot, they write a natural sign before the notehead.
- Canceling an earlier accidental in the same measure. If the first beat has an F-sharp and the composer wants a plain F on beat three, they write a natural before that second F.
The natural sign only lasts until the next bar line, just like sharps and flats.
Accidentals vs. Key Signatures
This is where many beginners get confused. There are two places sharps and flats appear in sheet music:
| Location | What it looks like | How long it lasts |
|---|---|---|
| Key signature | Sharps or flats printed at the far left of every staff, after the clef | The entire piece (or until a new key signature) |
| Accidental | A sharp, flat, or natural printed just before a single notehead | The rest of that measure only |
Key signatures tell you the "default" sharps or flats for the piece. If you are in D major, every F and C is sharp by default without any extra symbol. Accidentals are one-off changes within the music. When in doubt, check the key signature first, then look for any accidentals in the current measure.
For a complete walkthrough of reading the treble and bass clefs, which is where key signatures live, see the treble clef and bass clef explained for pianists.
Practicing Accidentals at the Keyboard
The fastest way to internalize sharps and flats is to connect them physically to the keys.
Try this short routine:
- Play middle C. Now play C-sharp (one key to the right). Then play C again. You just moved up a half step, then back down.
- Play D. Now play D-flat (one key to the left). Then play D again.
- Go through each natural note in an octave and find its sharp and flat. Some will land on black keys; E-sharp and B-sharp will surprise you by landing on white ones.
- Once that feels steady, find a simple exercise in your method book that includes accidentals and say each note name aloud as you play it. "F-sharp, G, A, B-flat, G" is more useful than "black, white, white, black, white."
Saying the note names out loud catches reading errors before they become habits. You can also back this up by studying how to read sheet music for piano as a beginner to make sure the foundational reading skills are in place.
Go slowly. Half steps feel small but they matter. A single wrong key can change a chord from major to minor or a melody from in-tune to noticeably off.
Frequently Asked Questions
Do I have to memorize all the sharps and flats at once?
No. Start with the five black keys in one octave (C#/Db, D#/Eb, F#/Gb, G#/Ab, A#/Bb) and their enharmonic names. Absorb them a little at a time as they come up in pieces you are actually playing. Key signatures will gradually teach you which sharps and flats appear together.
Why do some notes have two names?
Because the naming system is built around seven letter names (A through G) that repeat. Music in different keys needs different names for the same pitch to show how that note functions in the scale. C-sharp and D-flat sound identical on the piano but belong to different theoretical contexts.
What happens if an accidental appears on a note, and that same note comes up again in the same measure on a different beat?
The accidental applies to that note's letter name for the rest of the measure at the same octave. So if the third-space C in the treble clef gets a sharp on beat one, every third-space C in that measure is also sharp. A C in a different octave is not affected.
Do accidentals carry over to the next measure?
No. The bar line cancels all accidentals. You start fresh each measure, with only the key signature applying by default. If a composer wants the same alteration in the next measure, they will write the sharp or flat again.
Can a note be double-sharped or double-flatted?
Yes. Double-sharp (written as x) raises a note by two half steps, and a double-flat (written as bb) lowers it by two. These appear mostly in complex classical and jazz writing. As a beginner, you will rarely see them, but knowing they exist helps if one turns up in an intermediate piece.