Key Signature Calculator

Find major and minor keys from sharps/flats or determine the key signature for any key

Key Signature Calculator

Number of sharps or flats in the key signature

Type of accidentals in the key signature

Key Results

C major
Major Key
A minor
Relative Minor Key

Key Signature Reference

Sharp Key Signatures

MajorMinorSharps
0CAnone
1GEF♯
2DBF♯, C♯
3AF♯F♯, C♯, G♯
4EC♯F♯, C♯, G♯, D♯
5BG♯F♯, C♯, G♯, D♯, A♯
6F♯D♯F♯, C♯, G♯, D♯, A♯, E♯
7C♯A♯F♯, C♯, G♯, D♯, A♯, E♯, B♯

Flat Key Signatures

MajorMinorFlats
0CAnone
1FDB♭
2B♭GB♭, E♭
3E♭CB♭, E♭, A♭
4A♭FB♭, E♭, A♭, D♭
5D♭B♭B♭, E♭, A♭, D♭, G♭
6G♭E♭B♭, E♭, A♭, D♭, G♭, C♭
7C♭A♭B♭, E♭, A♭, D♭, G♭, C♭, F♭

Memory Aids

Sharp Order

Father Charles Goes Down And Ends Battle

F♯ - C♯ - G♯ - D♯ - A♯ - E♯ - B♯

Flat Order

Battle Ends And Down Goes Charles Father

B♭ - E♭ - A♭ - D♭ - G♭ - C♭ - F♭

Quick Rules

Sharp Keys: Last sharp + 1 semitone = major key

Flat Keys: Second-to-last flat = major key

Relative Minor: 3 semitones down from major

Circle of Fifths: Each step = one more sharp/flat

Popular Keys

C Major / A Minor
No sharps or flats
G Major / E Minor
1 sharp (F♯)
F Major / D Minor
1 flat (B♭)
D Major / B Minor
2 sharps (F♯, C♯)

Understanding Key Signatures

What is a Key Signature?

A key signature is a set of sharp or flat symbols placed after the clef at the beginning of a musical staff. It tells musicians which notes to play as sharps or flats throughout the piece, establishing the key center and tonality.

Circle of Fifths

The circle of fifths is a visual representation of key signatures arranged in a circle. Moving clockwise adds sharps, while moving counterclockwise adds flats. Each step represents a perfect fifth interval.

How to Identify Keys

Sharp Keys: Find the last (rightmost) sharp and go up one semitone to find the major key.
Flat Keys: The second-to-last flat (penultimate flat) is the major key. For one flat (F major), memorize it.
Relative Minor: Count down 3 semitones from the major key to find its relative minor.

Practical Examples

3 Sharps Example

Sharps: F♯, C♯, G♯

Last sharp: G♯ → G♯ + semitone = A major

Relative minor: F♯ minor

3 Flats Example

Flats: B♭, E♭, A♭

Penultimate flat: E♭ major

Relative minor: C minor

No Accidentals

No sharps or flats

C major or A minor

Context determines which one