Accidentals calculator
Depending on the key signature, a written note is played natural, sharp or flat, and sometimes you have to write an accidental to get the one you want. This tool answers you in both directions. It works in your browser, for free, with no account and no download.
Loading the tool…
How to use it
Start by choosing the key signature in the list, from seven flats to seven sharps. Each line also indicates the major and minor keys concerned. Then choose one of the two tabs.
In the key : you have a note letter (C, D, E…) and want to know what it becomes with this key signature.
- Click the letter.
- The tool announces the note that sounds, for example "F becomes F♯".
- A table lists the five possible accidentals for this letter, from double flat to double sharp. It indicates the one already given by the key signature ("Nothing to write") and, for each of the others, which accidental to write in front of the note.
- The staff shows these five notes, and the key played lights up on the keyboard.
Getting a key : you want a specific key and are looking for how to write it.
- Touch the key you want on the keyboard.
- The tool gives all the possible spellings of that key, with the accidentals to place in front of the note, given the chosen key signature.
- The staff shows them; the spelling that agrees with the key signature is marked in green.
Accidentals in brief
- The sharp (♯) raises the note by a half step.
- The flat (♭) lowers it by a half step.
- The double sharp (♯♯) raises it by a whole step; the double flat (♭♭) lowers it by a whole step.
- The natural (♮) cancels an accidental, whether it comes from the key signature or from an accidental written earlier, and makes the note natural.
A sign written in front of a note, known as an accidental, applies for the rest of the measure, on the same line or space. At the next bar line, the key signature takes over again.
An example
Take a key signature of one sharp (G major or E minor). All the Fs in it are sharp: a written F is therefore played F♯.
- To play F♯, nothing needs to be written: the key signature already gives it.
- To play F natural, you need to write a natural sign in front of the note.
- To get F double sharp (a G key), you write a double sharp.
In the "Getting a key" tab, choose the G key: you see that it can be written as G natural, or as F double sharp or A double flat, but that the first spelling is by far the most common.
Why several spellings for the same key?
A key on the keyboard can have several names: these are called enharmonicnotes. The choice of spelling depends on the context: the key, the scale, the direction of the melody. In a sharp key signature, you tend to write sharps; in a flat key signature, flats. Double accidentals remain rare and serve to respect the logic of a scale.
Practice tips
- Take a piece you know and read its key signature: which notes are altered without it being shown in front of them?
- Then look for naturals: they cancel an accidental from the key signature, and that is where mistakes are most often made.
- Use the second tab to understand why a composer sometimes writes a D♯ rather than an E♭.
- Vary the key signature while keeping the letter: you see how quickly the same key changes name.