key signature calculator
Key Signature Calculator Guide
Look up the order of sharps or flats for a major or natural minor key and compare its relative key. Start with the values in the tool and compare the result against the worked case below. Each input is labeled with its unit or pitch convention so you can carry the result into a score or audio project.
The tool updates from the values you enter, and Reset restores its starting settings. Your entries are processed in this page. The tool does not need an account, camera access or microphone access.
Play the instrument ↑- Task
- Key Signature
- Input
- Enter or choose values above
- Result
- Calculated in the browser
- Reference
- Worked cases below
How the calculation works
The standard major key signatures run around the circle of fifths. Moving one position toward the sharp side adds one sharp in the order F, C, G, D, A, E, B. Moving one position toward the flat side adds one flat in the reverse letter order B, E, A, D, G, C, F. Each signature corresponds to a major key and a relative natural minor key.
Work through a first example
Choose the G major / E minor position. It has one sharp, F sharp. Switch the mode to Natural minor without changing the position. E minor remains paired with G major, and the signature stays the same. The label changes the tonal center you are considering, not the set of written accidentals.
Compare a second set of inputs
Select E flat major / C minor. The three flats are B flat, E flat and A flat, in that order. Compare it with E major / C sharp minor, where the signature uses four sharps. Reading both the root and mode avoids the mistake of assuming that an unchanged letter always gives the same number of accidentals.
Apply the result in a music project
Use the displayed order when writing a key signature, or cross-check which collection a scale generator should produce. To hear relative major and minor as different tonal centers, play each tonic and cadence separately even if their signature is shared. Use the gesture chord wheel for sounding triads; use this page when the primary task is reading or writing accidentals.
First decide whether the tonic is major or minor. F major has a B-flat in its signature; F minor has four flats. If a score has one flat and consistently resolves to D, D minor may be a better reading than F major. Some passages briefly borrow tones or change key, and harmonic minor commonly raises the seventh with a written accidental. The calculator supplies the written signature; it cannot infer a key from a recording or a list of isolated notes.
For a quick check, choose D major and compare the listed F-sharp and C-sharp with a D major scale you play slowly. Then switch to the natural minor label for B minor. The note order in the signature stays the same even though you hear a new resting pitch.
Check the input and its limits
This tool shows the standard written signature, not every accidental that appears in a piece. Harmonic minor often adds a raised seventh in the music without changing the written key signature. Enharmonic major keys can sound the same on an equal-tempered instrument while using different signatures, as with C sharp and D flat major.
Answers before you play
Key Signature Calculator FAQ
How can I check the first result?
Choose the G major / E minor position. It has one sharp, F sharp. Switch the mode to Natural minor without changing the position. E minor remains paired with G major, and the signature stays the same. The label changes the tonal center you are considering, not the set of written accidentals.
Does a shared signature mean the two keys have the same tonic?
No. A major key and its relative minor use the same written signature, but have different tonal centers. The page reports both names to help you interpret a written key signature in context.
What should I check before using the result?
This tool shows the standard written signature, not every accidental that appears in a piece. Harmonic minor often adds a raised seventh in the music without changing the written key signature. Enharmonic major keys can sound the same on an equal-tempered instrument while using different signatures, as with C sharp and D flat major.
Do I have to grant camera or microphone permission?
No. Key Signature Calculator works from the values or taps you provide on the page. If the tool includes playback, the Play button creates sound in the browser; playback does not record or send audio.