Tools

Key signature finder

Choose a key to see its signature, or choose a number of sharps or flats to see which keys use it. The finder shows the accidentals in the order they are written, the major key and its relative minor, and each key’s scale, spelled. It works without an account.

Selected key

C major has no sharps or flats. Its relative minor is A minor.

No sharps or flats: C major and A minor

Accidentals, in written order
None
Major key
C major
Relative minor
A minor, a minor third below C
𝄞𝄢
Grand staff with no key signature: no sharps or flats.
The scales of C major and A minor
KeyScale, from the tonic
C majorC D E F G A BChords in C major
A minorA B C D E F GNatural minor. In harmony the seventh is usually raised to G♯, and some lines also raise the sixth to F♯: both are written as accidentals.Chords in A minor

One signature, two keys

Every key signature belongs to two keys: a major key and the minor key whose tonic is a minor third below it, its relative minor. Three flats is E♭ major or C minor. The signature alone cannot tell you which one a passage is in.

Look at the music instead: the first and last bass notes and chords, which usually state the tonic, and accidentals the signature does not give. A passage in C minor usually has B♮, the raised seventh, in its dominant chords; one in E♭ major does not.

The scale shown for a minor key is the natural minor: the signature’s notes from the tonic, with nothing raised. In harmony, minor keys usually raise the seventh degree, the leading tone, so the dominant chord is major and resolves up to the tonic — that note is written as an accidental, because the signature does not contain it. Some lines also raise the sixth degree, to avoid the augmented second between the sixth and the raised seventh.

Courses describe this in different ways: some teach harmonic and melodic minor as separate scales, others teach one minor key with two changeable degrees. Either way, the raised notes are accidentals added to the signature, not part of it.

Know the key? Check your harmony

Check my four-part harmonyFree, no account needed.

The checker does not read a key signature from your notes. Choose the key yourself from the menu above the grid; the leading-tone check and the scale steps (Alt+↑ and Alt+↓) use it, and the staff draws its signature.

Your draft in this browser stays as it is: this link opens the checker without changing the notes, title or key.

All 15 key signatures

Every key signature from no sharps or flats to seven, with its accidentals, major key and relative minor
SignatureAccidentals, in orderMajor keyRelative minor
No sharps or flats—C majorA minor
One sharpF♯G majorE minor
Two sharpsF♯ C♯D majorB minor
Three sharpsF♯ C♯ G♯A majorF♯ minor
Four sharpsF♯ C♯ G♯ D♯E majorC♯ minor
Five sharpsF♯ C♯ G♯ D♯ A♯B majorG♯ minor
Six sharpsF♯ C♯ G♯ D♯ A♯ E♯F♯ majorD♯ minor
Seven sharpsF♯ C♯ G♯ D♯ A♯ E♯ B♯C♯ majorA♯ minor
One flatB♭F majorD minor
Two flatsB♭ E♭B♭ majorG minor
Three flatsB♭ E♭ A♭E♭ majorC minor
Four flatsB♭ E♭ A♭ D♭A♭ majorF minor
Five flatsB♭ E♭ A♭ D♭ G♭D♭ majorB♭ minor
Six flatsB♭ E♭ A♭ D♭ G♭ C♭G♭ majorE♭ minor
Seven flatsB♭ E♭ A♭ D♭ G♭ C♭ F♭C♭ majorA♭ minor

The order of sharps and flats

Sharps are always written in the same order, F♯ C♯ G♯ D♯ A♯ E♯ B♯, and flats in the reverse order, B♭ E♭ A♭ D♭ G♭ C♭ F♭. A signature of two sharps is always F♯ and C♯, never any other two.

Three pairs of keys sound the same but are spelled differently: B major (five sharps) and C♭ major (seven flats), F♯ major (six sharps) and G♭ major (six flats), C♯ major (seven sharps) and D♭ major (five flats) — and their relative minors. In an exercise, use the spelling the exercise gives you.

The finder uses the same keys as the harmony checker’s key menu. To name the interval between two notes, use the interval calculator. Nothing you choose here is sent anywhere.