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.

  1. Click the letter.
  2. The tool announces the note that sounds, for example "F becomes F♯".
  3. 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.
  4. 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.

  1. Touch the key you want on the keyboard.
  2. 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.
  3. The staff shows them; the spelling that agrees with the key signature is marked in green.

Accidentals in brief

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♯.

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