Key Signature Calculator
Show the math
What Your Result Means
- Key Signature: The number of sharps or flats that appear at the beginning of a musical staff for this key.
- Accidentals: The individual sharp or flat notes in order of appearance on the staff (following the circle of fifths).
- Relative Key: A different key that uses the same sharps or flats but has a different tonic (starting note). Relative keys are three semitones apart in pitch.
- Parallel Key: A key that shares the same tonic (starting note) but switches between major and minor mode.
- Enharmonic Equivalent: An alternative spelling of the same key that uses different note names but sounds identical when played.
How This Calculator Works
The calculator looks up your key in the circle of fifths, a fundamental tool in music theory that arranges all twelve keys by the number of sharps or flats they contain. Starting from C Major (no accidentals), each step clockwise adds one sharp, and each step counter-clockwise adds one flat. The tool then derives all the related keys—relative, parallel, and enharmonic—using established music theory rules. It's designed for musicians learning notation, composers checking transpositions, and anyone studying music theory.
Quick Questions
What is the circle of fifths?
The circle of fifths is a diagram showing the relationship between all twelve musical keys. It arranges keys in order of how many sharps or flats they contain, with C Major at the top. Moving clockwise adds sharps; moving counter-clockwise adds flats. Musicians use it to understand key relationships, transposition, and harmonic progression.
How are relative and parallel keys different?
Relative keys share the same accidentals but different tonics (A Minor is the relative of C Major). Parallel keys share the same tonic but different modes (C Minor is the parallel of C Major). Relative keys sound more similar; parallel keys share a family resemblance through the same starting note.
Why do some keys have enharmonic equivalents?
Enharmonic spellings are alternative names for the same pitch. F# Major and Gb Major sound identical but use different note names. Musicians choose the spelling that makes reading easier in a particular context, balancing notation clarity with the number of accidentals on the staff.
Sources
- Wikipedia: Circle of Fifths (overview and history)
- Wikipedia: Key Signature (notation and conventions)
- Wikipedia: Relative Key (theory and relationships)
- Wikipedia: Enharmonic (enharmonic spelling)
Method & review
Estimate only. Results reflect your inputs and standard formulas. Double-check important decisions independently.