Accidentals give letter names the extra information needed to identify exact pitches. A letter such as C, D, or G tells you where a note belongs on the staff, while a sharp, flat, or natural specifies how that note is altered. These symbols also connect keyboard pitches to the names musicians use when reading and writing music.
How Accidentals Change Note Names
A sharp symbol (♯) raises a note by one semitone, or half step. The letter name stays the same: C becomes C♯, D becomes D♯, and F becomes F♯. On a piano, this often points to a black key immediately to the right of the original white key. The black key between C and D can therefore be called C♯.
A flat symbol (♭) lowers a note by one semitone. Again, the letter name remains unchanged: A becomes A♭, B becomes B♭, and E becomes E♭. On the piano, this usually corresponds to the black key immediately to the left of the named white key. The black key between A and B can therefore be called A♭.
These relationships provide a practical way to navigate the keyboard, but they do not mean that every sharp must appear on a black key or every flat must appear on one. Sharps and flats may also modify white-key notes.
Sharps and Flats Can Apply to White Keys
Some adjacent white keys are only a semitone apart. B and C are a half step apart, as are E and F. There is no black key between those pairs, but the accidental system still applies to them.
A note is raised by changing the letter name to the next available letter and adding a sharp. For example, E♯ sounds the same as F natural, while B♯ sounds the same as C natural. These spellings can indicate the same keyboard pitch as the natural notes, although the octave number may change because the written letter has moved upward.
The same principle works in the other direction. F♭ is enharmonically equivalent to E natural, and C♭ is enharmonically equivalent to B natural. Again, the written spelling affects which octave number is used. F♭ generally refers to the E below the written F, while C♭ refers to the B below the written C.
One Keyboard Key Can Have Two Names
Many black keys can be named in two ways. The key between C and D is C♯ when it is treated as a raised C and D♭ when it is treated as a lowered D. The key between D and E can be D♯ or E♭, and the key between F and G can be F♯ or G♭.
These alternatives are called enharmonic names. In equal temperament, which is the tuning system used by most modern pianos and instruments, enharmonic notes sound at the same pitch. For example, C♯ and D♭ both refer to the same black key in the same octave.
That does not make the names interchangeable in every musical situation. Note spelling can show how a note functions in a chord, scale, or melodic line. A raised leading tone, for instance, may need a sharp spelling to reveal its relationship to the note that resolves it. If C♯ appears in a particular harmonic context while D♭ appears in another, the difference may be meaningful even though both keys produce the same sound.
The Natural Sign and Its Main Job
A natural symbol (♮) identifies a note without a sharp or flat alteration. In this sense, C natural is the unaltered C, and G natural is the unaltered G. Natural notes are the default; the sign is often written only when clarification is needed.
Its most common practical use is cancellation. If a sharp appears earlier in the same measure, a natural sign tells the reader that a later occurrence of the same letter and octave should be played without the sharp. The same rule applies after a flat. For example, a passage might contain A♯ followed later by A♮ to show that the second A has returned to its natural pitch.
In standard notation, an accidental normally applies to all later notes of the same pitch within that measure. The effect usually resets at the bar line. Once the measure ends, the sharp or flat does not automatically carry into the next measure unless it is written again.
A Reliable Keyboard Naming Method
Use the following process when identifying unfamiliar notes:
- Find the note's letter name and octave on the staff.
- Check for a sharp, flat, or natural symbol immediately before the note.
- If there is an accidental, modify the pitch by one semitone in the indicated direction.
- When moving by ear on a piano, compare the target key with its neighboring white keys.
- Remember that a single key may have more than one correct enharmonic name.
Do not rely only on the key's color. Black keys commonly serve as sharps or flats, but E♯, B♯, F♭, and C♭ show that white keys can carry altered names too.
Key Takeaways
- A sharp raises a pitch by one semitone, while a flat lowers it by one semitone.
- Both sharps and flats preserve the note's letter name.
- White keys can also be sharpened or flattened, including E♯, B♯, F♭, and C♭.
- Notes such as C♯ and D♭ can sound identical while using different spellings for different musical purposes.
- A natural sign removes an earlier sharp or flat, usually for the remainder of the measure.
Mastering accidentals makes keyboard reading, score reading, and pitch spelling much more reliable. Treat sharps, flats, and naturals as tools for describing exact pitch relationships, not merely as labels for black and white keys.

