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
| Key | Scale, from the tonic |
|---|---|
| C major | C D E F G A BChords in C major |
| A minor | A 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 sharp: G major and E minor
- Accidentals, in written order
- F♯
- Major key
- G major
- Relative minor
- E minor, a minor third below G
| Key | Scale, from the tonic |
|---|---|
| G major | G A B C D E F♯Chords in G major |
| E minor | E F♯ G A B C DNatural minor. In harmony the seventh is usually raised to D♯, and some lines also raise the sixth to C♯: both are written as accidentals.Chords in E minor |
Two sharps: D major and B minor
- Accidentals, in written order
- F♯ C♯
- Major key
- D major
- Relative minor
- B minor, a minor third below D
| Key | Scale, from the tonic |
|---|---|
| D major | D E F♯ G A B C♯Chords in D major |
| B minor | B C♯ D E F♯ G ANatural minor. In harmony the seventh is usually raised to A♯, and some lines also raise the sixth to G♯: both are written as accidentals.Chords in B minor |
Three sharps: A major and F♯ minor
- Accidentals, in written order
- F♯ C♯ G♯
- Major key
- A major
- Relative minor
- F♯ minor, a minor third below A
| Key | Scale, from the tonic |
|---|---|
| A major | A B C♯ D E F♯ G♯Chords in A major |
| F♯ minor | F♯ G♯ A B C♯ D ENatural minor. In harmony the seventh is usually raised to E♯, and some lines also raise the sixth to D♯: both are written as accidentals.Chords in F♯ minor |
Four sharps: E major and C♯ minor
- Accidentals, in written order
- F♯ C♯ G♯ D♯
- Major key
- E major
- Relative minor
- C♯ minor, a minor third below E
| Key | Scale, from the tonic |
|---|---|
| E major | E F♯ G♯ A B C♯ D♯Chords in E major |
| C♯ minor | C♯ D♯ E F♯ G♯ A BNatural minor. In harmony the seventh is usually raised to B♯, and some lines also raise the sixth to A♯: both are written as accidentals.Chords in C♯ minor |
Five sharps: B major and G♯ minor
- Accidentals, in written order
- F♯ C♯ G♯ D♯ A♯
- Major key
- B major
- Relative minor
- G♯ minor, a minor third below B
| Key | Scale, from the tonic |
|---|---|
| B major | B C♯ D♯ E F♯ G♯ A♯Chords in B major |
| G♯ minor | G♯ A♯ B C♯ D♯ E F♯Natural minor. In harmony the seventh is usually raised to F𝄪, and some lines also raise the sixth to E♯: both are written as accidentals.Chords in G♯ minor |
Sounds the same as C♭ major and A♭ minor (seven flats): the same notes on the piano, spelled with different letters.
Six sharps: F♯ major and D♯ minor
- Accidentals, in written order
- F♯ C♯ G♯ D♯ A♯ E♯
- Major key
- F♯ major
- Relative minor
- D♯ minor, a minor third below F♯
| Key | Scale, from the tonic |
|---|---|
| F♯ major | F♯ G♯ A♯ B C♯ D♯ E♯Chords in F♯ major |
| D♯ minor | D♯ E♯ F♯ G♯ A♯ B C♯Natural minor. In harmony the seventh is usually raised to C𝄪, and some lines also raise the sixth to B♯: both are written as accidentals.Chords in D♯ minor |
Sounds the same as G♭ major and E♭ minor (six flats): the same notes on the piano, spelled with different letters.
Seven sharps: C♯ major and A♯ minor
- Accidentals, in written order
- F♯ C♯ G♯ D♯ A♯ E♯ B♯
- Major key
- C♯ major
- Relative minor
- A♯ minor, a minor third below C♯
| Key | Scale, from the tonic |
|---|---|
| C♯ major | C♯ D♯ E♯ F♯ G♯ A♯ B♯Chords in C♯ major |
| A♯ minor | A♯ B♯ C♯ D♯ E♯ F♯ G♯Natural 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 |
Sounds the same as D♭ major and B♭ minor (five flats): the same notes on the piano, spelled with different letters.
One flat: F major and D minor
- Accidentals, in written order
- B♭
- Major key
- F major
- Relative minor
- D minor, a minor third below F
| Key | Scale, from the tonic |
|---|---|
| F major | F G A B♭ C D EChords in F major |
| D minor | D E F G A B♭ CNatural minor. In harmony the seventh is usually raised to C♯, and some lines also raise the sixth to B♮: both are written as accidentals.Chords in D minor |
Two flats: B♭ major and G minor
- Accidentals, in written order
- B♭ E♭
- Major key
- B♭ major
- Relative minor
- G minor, a minor third below B♭
| Key | Scale, from the tonic |
|---|---|
| B♭ major | B♭ C D E♭ F G AChords in B♭ major |
| G minor | G A B♭ C D E♭ FNatural minor. In harmony the seventh is usually raised to F♯, and some lines also raise the sixth to E♮: both are written as accidentals.Chords in G minor |
Three flats: E♭ major and C minor
- Accidentals, in written order
- B♭ E♭ A♭
- Major key
- E♭ major
- Relative minor
- C minor, a minor third below E♭
| Key | Scale, from the tonic |
|---|---|
| E♭ major | E♭ F G A♭ B♭ C DChords in E♭ major |
| C minor | C D E♭ F G A♭ B♭Natural minor. In harmony the seventh is usually raised to B♮, and some lines also raise the sixth to A♮: both are written as accidentals.Chords in C minor |
Four flats: A♭ major and F minor
- Accidentals, in written order
- B♭ E♭ A♭ D♭
- Major key
- A♭ major
- Relative minor
- F minor, a minor third below A♭
| Key | Scale, from the tonic |
|---|---|
| A♭ major | A♭ B♭ C D♭ E♭ F GChords in A♭ major |
| F minor | F G A♭ B♭ C D♭ E♭Natural minor. In harmony the seventh is usually raised to E♮, and some lines also raise the sixth to D♮: both are written as accidentals.Chords in F minor |
Five flats: D♭ major and B♭ minor
- Accidentals, in written order
- B♭ E♭ A♭ D♭ G♭
- Major key
- D♭ major
- Relative minor
- B♭ minor, a minor third below D♭
| Key | Scale, from the tonic |
|---|---|
| D♭ major | D♭ E♭ F G♭ A♭ B♭ CChords in D♭ major |
| B♭ minor | B♭ C D♭ E♭ F G♭ A♭Natural minor. In harmony the seventh is usually raised to A♮, and some lines also raise the sixth to G♮: both are written as accidentals.Chords in B♭ minor |
Sounds the same as C♯ major and A♯ minor (seven sharps): the same notes on the piano, spelled with different letters.
Six flats: G♭ major and E♭ minor
- Accidentals, in written order
- B♭ E♭ A♭ D♭ G♭ C♭
- Major key
- G♭ major
- Relative minor
- E♭ minor, a minor third below G♭
| Key | Scale, from the tonic |
|---|---|
| G♭ major | G♭ A♭ B♭ C♭ D♭ E♭ FChords in G♭ major |
| E♭ minor | E♭ F G♭ A♭ B♭ C♭ D♭Natural minor. In harmony the seventh is usually raised to D♮, and some lines also raise the sixth to C♮: both are written as accidentals.Chords in E♭ minor |
Sounds the same as F♯ major and D♯ minor (six sharps): the same notes on the piano, spelled with different letters.
Seven flats: C♭ major and A♭ minor
- Accidentals, in written order
- B♭ E♭ A♭ D♭ G♭ C♭ F♭
- Major key
- C♭ major
- Relative minor
- A♭ minor, a minor third below C♭
| Key | Scale, from the tonic |
|---|---|
| C♭ major | C♭ D♭ E♭ F♭ G♭ A♭ B♭Chords in C♭ major |
| A♭ minor | A♭ B♭ C♭ D♭ E♭ F♭ G♭Natural 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 |
Sounds the same as B major and G♯ minor (five sharps): the same notes on the piano, spelled with different letters.
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
| Signature | Accidentals, in order | Major key | Relative minor |
|---|---|---|---|
| No sharps or flats | — | C major | A minor |
| One sharp | F♯ | G major | E minor |
| Two sharps | F♯ C♯ | D major | B minor |
| Three sharps | F♯ C♯ G♯ | A major | F♯ minor |
| Four sharps | F♯ C♯ G♯ D♯ | E major | C♯ minor |
| Five sharps | F♯ C♯ G♯ D♯ A♯ | B major | G♯ minor |
| Six sharps | F♯ C♯ G♯ D♯ A♯ E♯ | F♯ major | D♯ minor |
| Seven sharps | F♯ C♯ G♯ D♯ A♯ E♯ B♯ | C♯ major | A♯ minor |
| One flat | B♭ | F major | D minor |
| Two flats | B♭ E♭ | B♭ major | G minor |
| Three flats | B♭ E♭ A♭ | E♭ major | C minor |
| Four flats | B♭ E♭ A♭ D♭ | A♭ major | F minor |
| Five flats | B♭ E♭ A♭ D♭ G♭ | D♭ major | B♭ minor |
| Six flats | B♭ E♭ A♭ D♭ G♭ C♭ | G♭ major | E♭ minor |
| Seven flats | B♭ E♭ A♭ D♭ G♭ C♭ F♭ | C♭ major | A♭ 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.