Notalo › Learn › Key signatures explained with real songs: one sharp, one flat, two sharps
Key signatures explained with real songs: one sharp, one flat, two sharps
By Taekyung Lee · 2026-10-10
The cluster of sharps or flats between the clef and the time signature is the key signature. It says: every note with this letter name is sharp (or flat) for the whole piece, in every octave, unless a natural sign says otherwise in a particular bar. Beginners learn it as a table. It is easier to learn it from songs you already know, so here it is by example, using the arrangements on this site.
No sharps or flats: C major and A minor
Nothing after the clef means all white keys. Most of the first songs anyone learns are written here on purpose: Mary Had a Little Lamb, Twinkle Twinkle, Ode to Joy, London Bridge, Yankee Doodle, Joy to the World, and Bach's Prelude in C, which is a tour of every chord you can build on white keys.
The same empty signature also means A minor, the "relative minor" of C: the same seven notes, with A treated as home instead of C. Greensleeves, Scarborough Fair and our easy Mountain King are in A minor. You can tell a minor piece from a major one with the same signature by where it ends: on A, not on C, and by the G♯ that minor pieces write into the bars as an accidental, because the leading note in A minor is G♯ and the key signature cannot show it. Count the G♯ signs in Greensleeves; that is A minor announcing itself.
One sharp: G major and E minor
One sharp sits on the top line of the treble staff, the F line. It means every F is F♯. Jingle Bells, the Minuet in G, Hark! The Herald Angels Sing and Eine kleine Nachtmusik are all in G major. On the keyboard: the black key just to the right of every F. In our labeled scores the letter under the note says F♯, so you cannot forget it, but notice that the sharp sign itself is not printed next to the note. The key signature already said it.
One sharp is also E minor. God Rest Ye Merry, Gentlemen is the example: it starts and ends on E, and the left hand's B major chords contain a D♯ that the signature does not show, written in as an accidental, the same trick as the G♯ in A minor.
Two sharps: D major
F♯ and C♯. Canon in D and the Blue Danube are in D major. Sharps are always added in the same order, F C G D A E B, so a two-sharp signature is always F and C, never any other pair. If you remember one thing from this page, remember that order: the last sharp in the signature is one letter below the key. Last sharp C♯, key is D. Last sharp F♯, key is G.
One flat: F major
A single flat on the middle line of the treble staff, the B line. Every B is B♭, the black key to the left of B. The Twelve Days of Christmas and O Christmas Tree are in F major. Flats are added in the order B E A D G C F, the reverse of the sharps, and the rule for naming the key is different: the key is the second-to-last flat. With only one flat there is no second-to-last, so you memorize this one: one flat is F major.
Why composers bother
A piece could be written in C with sharps and flats scattered through every bar, and some are. Keys exist because instruments and voices have ranges: Jingle Bells in G sits comfortably for most singers; in C it is either too low or too high. And keys have colour. Two pieces on this site are moved from their original keys to make them easier: our Moonlight Sonata is in A minor instead of C♯ minor (four sharps) and Chopin's Nocturne is in C instead of E♭ (three flats). They are the same tune. Pianists will tell you they are not the same piece, and they are right: the black keys change the hand shape and the sound. For learning the notes, though, fewer sharps is simply fewer things to go wrong.
Reading a key signature in three seconds
- Count the sharps or flats after the clef.
- Sharps: the key is one letter above the last sharp. Flats: the key is the second-to-last flat (one flat: F).
- Look at the last note of the piece. If it is that letter, major. If it is three letters below it (G major ends on E, C major ends on A), minor.
Then play, and every time the letter under a note carries a ♯ or ♭, that is the key signature at work.
Try it on your own music. Upload a photo or PDF of any piano sheet music and get it back with the letter under every note, chords and a MIDI file.
Add letters to my sheet music