Key Signature Calculator
Find the sharps, flats, accidental order, and relative key for any standard major or minor key.
About key signatures
Key signature examples
| Key | Signature | Related information |
|---|---|---|
| G major | 1 sharp: F sharp | Its relative key is E minor. |
| E flat major | 3 flats: B flat, E flat, A flat | Its relative key is C minor. |
| F sharp minor | 3 sharps: F sharp, C sharp, G sharp | Its relative key is A major. |
| A minor | No sharps or flats | Its relative key is C major. |
How to calculate a key signature
- Enter the tonic letter and include a sharp or flat when the key name requires one.
- Choose Major or Minor to identify the scale quality.
- Select Calculate key signature to display the accidental count and written order.
- Check the relative key to find the major or minor scale that shares the same signature.
Key signature FAQ
What is the order of sharps in a key signature?
Sharps appear in the order F, C, G, D, A, E, B. Each sharper key adds the next note in that fixed sequence.
What is the order of flats in a key signature?
Flats appear in the order B, E, A, D, G, C, F. The sequence stays fixed whether the signature contains one flat or all seven.
Do relative major and minor keys have the same signature?
Yes, every major key shares its signature with a relative minor key. Their tonal centers differ even though their basic pitch collections match.
Why are raised minor-scale notes not shown?
A key signature represents the natural minor collection. Raised sixth or seventh degrees used in harmonic and melodic minor are written as accidentals beside individual notes.
Are F sharp major and G flat major the same key?
They are enharmonically equivalent in equal temperament, so they sound at the same pitches. Their notation differs: F sharp major has six sharps, while G flat major has six flats.