Guide
How to read a key signature when you transpose
By the Clefway team · Ether · Updated 2026-11-26
The order of sharps and flats, the 12 spellings this tool will print, and why choosing G major from C can move the melody down.
Sharps and flats accumulate in a fixed order
A key signature is a stack, not a free assortment. Sharps are added in this order: F, C, G, D, A, E, B. One sharp is always F♯. Two sharps are F♯ and C♯. You never get C♯ in the signature without F♯ already there. Flats are the same letters reversed: B, E, A, D, G, C, F. One flat is B♭. Two flats are B♭ and E♭.
The last sharp is the leading tone of the major key, a semitone below the major tonic. Two sharps end on C♯, so the major key is D. The flat rule is different at one flat: a single flat is F major. From two flats upward, the second-to-last flat names the major key. Three flats are B♭, E♭, A♭, and the second-to-last is E♭, so the major key is E♭.
The signature does not tell you major from minor. A minor shares its signature with the major key three semitones higher. No sharps or flats can be C major or A minor. Two sharps can be D major or B minor. Decide from the note or chord that feels like home, not from the signature alone.
- Count the sharps, or count the flats. A signature is one or the other, not a mix.
- If there are sharps, name the last one and go up a semitone. That letter is the major key.
- If there is one flat, the major key is F. If there are two or more, the second-to-last flat is the major key.
- The relative minor is three semitones under that major tonic, and it uses the same signature.
The twelve spellings this tool will print
Clefway spells a key with at most six sharps or five flats. The major names it will print are D♭, A♭, E♭, B♭, F, C, G, D, A, E, B, and F♯. C♯ major (seven sharps) and C♭ major (seven flats) are outside that list. From C major, one semitone up is written D♭ major, not C♯ major. G♭ major is the enharmonic twin of F♯ major, and this list keeps F♯.
Minor mode is kept. The signature moves with the tonic. C minor has three flats, the signature of E♭ major. Two semitones up, that becomes D minor, which has one flat. The tool does not flip a minor tune into the major key that shares its signature.
| Signature | Major | Relative minor |
|---|---|---|
| 5 flats | D♭ | B♭ |
| 4 flats | A♭ | F |
| 3 flats | E♭ | C |
| 2 flats | B♭ | G |
| 1 flat | F | D |
| none | C | A |
| 1 sharp | G | E |
| 2 sharps | D | B |
| 3 sharps | A | F♯ |
| 4 sharps | E | C♯ |
| 5 sharps | B | G♯ |
| 6 sharps | F♯ | D♯ |
What each semitone does to C major
The slider runs from −6 to +6. From C major it prints the names below. Plus one is D♭ major, five flats, even though the sound barely moved. Minus one is B major, five sharps. A small move in pitch can be a large move on the page. Read the first system after a one-semitone change before you trust the rest.
Minus six and plus six both print F♯ major. They are not the same edit. Plus six moves every note up a tritone. Minus six moves every note down a tritone. The key menu’s F♯, starting from C, is the upward one (+6). The downward tritone is the −6 end of the slider.
| Semitones | Major key | Signature |
|---|---|---|
| −6 | F♯ | 6 sharps |
| −5 | G | 1 sharp |
| −4 | A♭ | 4 flats |
| −3 | A | 3 sharps |
| −2 | B♭ | 2 flats |
| −1 | B | 5 sharps |
| 0 | C | none |
| +1 | D♭ | 5 flats |
| +2 | D | 2 sharps |
| +3 | E♭ | 3 flats |
| +4 | E | 4 sharps |
| +5 | F | 1 flat |
| +6 | F♯ | 6 sharps |
The key menu picks a direction, not only a name
Choosing a key name sets the nearest shift that stays inside −5 to +6. A perfect fifth up is seven semitones, which is outside that window, so the menu stores a perfect fourth down instead. From C major, G major on the menu is −5, not +7. An invented phrase C4 E4 G4 becomes G3 B3 D4. It does not become G4 B4 D4. If you wanted the melody higher, check the semitone number beside the key name before you hand the part out.
The other direction stays inside the slider. F major from C is +5, a perfect fourth up, so C4 E4 G4 becomes F4 A4 C5. Chord symbols move by the same interval as the melody. An invented set C, Am, F, G at +2 becomes D, Bm, G, A. That is a rewritten chart. A capo, which does not rename the shapes, is a different page.