What Are Sharps, Flats, and Naturals in Piano Music?
A sharp raises a note by one half step, a flat lowers it by one half step, and a natural cancels either one and takes the note back to its plain version. On the piano, sharps and flats are most often the black keys.
If you have ever seen a small # or a tiny b-shaped symbol in front of a note and wondered what to do with it, you are in good company. These signs are called accidentals, and they tell you to play a slightly different key than the plain letter name suggests. The idea is small, and once it clicks, a lot of sheet music suddenly makes sense.
The three signs
Each sign changes a note by the smallest step on the piano, called a half step (also called a semitone). A half step is the distance from one key to the very next key, whether that key is black or white, with nothing in between.
- Sharp (♯): play the next key to the right. F sharp is the key just right of F.
- Flat (♭): play the next key to the left. B flat is the key just left of B.
- Natural (♮): play the plain version of the note, with no raise or lowering.
The sign is written before the note, on the same line or space as the note it changes. In speech, though, you say the note first: F sharp, B flat, E natural.
Why each black key has two names
The black keys come in groups of two and three. Each one sits between two white keys, so it can be named as a sharp of the lower note or a flat of the higher note. It is the same key with two names.
| Position | Sharp name | Flat name |
|---|---|---|
| Between C and D | C sharp | D flat |
| Between D and E | D sharp | E flat |
| Between F and G | F sharp | G flat |
| Between G and A | G sharp | A flat |
| Between A and B | A sharp | B flat |
Two names for the same pitch are called enharmonic equivalents. Which name a composer uses depends on the key the music is in, and you do not need to choose. You just play whatever key the page shows.
Sharps and flats on white keys
Look at the keyboard and you will see no black key between E and F, or between B and C. Those pairs are already a half step apart. That means a few names that look odd are perfectly real:
- E sharp is the same key as F
- B sharp is the same key as C
- F flat is the same key as E
- C flat is the same key as B
You will not meet these often as a beginner, but they do appear in some keys, so it helps to know they are not mistakes.
How accidentals behave in a measure
When an accidental appears in front of a note, it does not only affect that one note. It stays in effect for the rest of that measure, but only for that same line or space (so the same pitch in the same octave). When the next barline arrives, it wears off and the note goes back to normal.
Two useful details:
- A natural sign cancels an earlier sharp or flat inside the same measure.
- If a note with an accidental is tied across a barline, the tied note keeps the same pitch.
If the idea of measures and barlines is still new, the guide on how to read sheet music for beginners covers the basics.
Key signatures: sharps and flats at the start
Sometimes you see sharps or flats right after the clef at the beginning of each line, instead of beside individual notes. That is a key signature. It tells you that every note with that letter is sharp or flat throughout the piece, in every octave, unless a natural sign says otherwise.
For example, the key of G major has one sharp, F. So every F in the piece is played as F sharp. You can see this on the G major scale page. The sharps appear in this order in key signatures: F, C, G, D, A, E, B. The flats appear in the reverse order: B, E, A, D, G, C, F. You do not need to memorize this on day one. Just remember that the key signature is a standing instruction.
Tips for playing them
- Find the white key first. Read the letter name, find that white key, then step to the black key on the right (sharp) or left (flat).
- Say the full name out loud. Saying F sharp, not just F, helps your brain connect the sign to the key.
- Go slowly. Black keys are narrower and sit higher, so your hand needs time to learn the feel.
- Be flexible about fingering. Many teachers use the longer fingers for black keys, but methods differ, so follow your teacher's advice and keep your choice consistent.
- Know your white-key names first. If those still feel shaky, start with treble clef notes explained.
Practicing with a game
If you want a playful way to practice, Keyfall is a free browser game where notes fall toward the keys and every note shows its letter name. Starter mode waits for you at the line and shows which key to press, so you can take your time finding each key. Pieces in a key with a sharp, such as Minuet in G, are good for getting used to seeing and playing F sharp. Keyfall is for practice and fun, and it does not replace a teacher, who can check your hand shape and fingering.
Over time, sharps and flats stop feeling like a separate topic. They become just more keys in the pattern, and you will find them quickly without counting.
More about reading music
FAQ
What is the difference between a sharp and a flat?
A sharp raises a note by one half step, so you play the next key to the right. A flat lowers it by one half step, so you play the next key to the left.
Are sharps and flats always black keys?
Most of the time, yes. The exceptions are notes like E sharp (which is F) and C flat (which is B), where the sharp or flat lands on a white key.
Is C sharp the same as D flat?
On the piano, yes. They are the same key with two names, called enharmonic equivalents. The music's key decides which name is written.
How long does an accidental last?
It lasts until the end of the measure for that same pitch (same line or space). After the barline, the note returns to normal unless the key signature says otherwise.
What does a natural sign do?
It cancels a sharp or flat, either from earlier in the measure or from the key signature, and tells you to play the plain white-key note.
Do I need to memorize all the key signatures right away?
No. Start by reading the sharps or flats shown and playing them as instructed. Memorizing key signatures comes naturally as you learn more scales and pieces.
Practise it on your own piano. Keyfall is a free piano game: notes fall toward the keys and you play them on a digital piano, keyboard, phone or computer.
Play free