Find the key signature of a key
Choose a mode and a tonic: the key signature is displayed on the staff, followed by the matching scale. The tool works in your browser, for free, with no account and no download.
Loading the tool…
How to use it
- Choose the mode : major, minor, or one of the modes Dorian, Phrygian, Lydian, Mixolydian, Locrian. Minor here means natural minor.
- Click the tonic. The black keys exist under both names, including C♭ or C♯.
- Choose the clef : treble, bass or alto (C clef on the 3rd line).
- The result gives the number of sharps or flats with their names, in the order in which they are written, the complete scale, and the relative key. The staff shows the key signature then the scale; on the keyboard, the notes of the scale are lit up.
- Two buttons play the scale, ascending or ascending and descending.
In the written scale, no accidental is added along the way: the key signature contains them all. The "Relative key" card offers a button that switches directly to it. When a mode is neither major nor minor, the card gives the major and minor keys that share the same key signature.
Some keys exist only on paper. G♯ major, for example, would require eight sharps, including an F double sharp: it is not written. The tool then warns you, and suggests the other spelling of the same tonic when there is one (here A♭ major, with four flats).
What is a key signature?
The key signature is the series of sharps or flats written after the clef, at the start of each staff. It gives their accidental to all notes of the same name, in all octaves, for the whole piece. Instead of repeating a sharp in front of each F, it is written once and for all.
Accidentals are always placed in the same order:
- Sharps : F, C, G, D, A, E, B.
- Flats : B, E, A, D, G, C, F (the reverse order).
A key signature of three sharps therefore contains F♯, C♯ and G♯.
Finding the key from the key signature
Three common methods, for major keys:
- Sharps : the key is a half step above the last sharp. With F♯, C♯, G♯, the last sharp is G♯, so the key is A major.
- Flats : the key is the name of the second-to-last flat. With B♭, E♭, A♭, the second-to-last is E♭, so the key is E♭ major. A single flat: F major.
- No accidentals : C major.
To find the minor key that shares the same key signature, go down a minor third from the major tonic: C major and A minor, G major and E minor. They are said to be relative. The tool shows them together.
Practice tips
- Learn both orders, the one for sharps and the one for flats, by heart.
- Go through the keys one by one: pick one, guess the key signature, then check here.
- Compare a key and its relative: the A natural minor scale uses exactly the same notes as C major, only the starting note changes.
- Change clef: the key signature is written at different heights on each one.
- When the key signature is familiar to you, practice recognizing it with the dedicated exercise.