How to calculate
Use the circle of fifths to place the key. Sharps and flats follow a fixed order. A major key and its relative minor share the same signature.
Worked example
Use Find Sharps or flats in a key · Key tonic D · Key quality Major. The result is 2 sharps.
Input and result notes
Covers conventional signatures of zero to seven sharps or flats. Minor-key signatures correspond to natural minor. Raised scale degrees in harmonic minor are written as accidentals.
University of Puget Sound music theory text