Circle of fifths
The twelve major keys in a ring, each a fifth above the one before: every step clockwise adds a sharp or takes away a flat.
Read clockwise from C at the top: G has one sharp, D two, A three. Read the other way, F has one flat, B♭ two, E♭ three. At the bottom the two sides meet, and F♯ major and G♭ major are the same keys under two names.
Inside each major key is its relative minor, with the same signature. Keys side by side on the circle share all their notes but one, so music moves most easily between neighbours.
C major · A minorNo sharps or flats