Circle of Fifths Calculator
Explore key relationships using the circle of fifths. Find dominant, subdominant, relative, and parallel keys.
About this calculator
The circle of fifths arranges all twelve notes so each step around the circle is a fifth (7 semitones) apart, and that single relationship generates most of the key relationships musicians use every day. This calculator takes a Key Note and Mode and derives the Dominant Key (a fifth above the tonic, the harmonic center that pulls most strongly back to home), the Subdominant Key (a fourth above, or equivalently a fifth below), the Relative Key (the major/minor pair that shares the same key signature), the Parallel Key (same tonic note, opposite mode), and the number of Sharps (+) / Flats (-) in the key signature.
Key Note fully determines the Dominant and Subdominant Key results -- Mode has no bearing on either, since a fifth above C is G whether you're in C major or C minor. Key Note is also the dominant factor behind the Sharps (+) / Flats (-) result, since moving around the circle by key note changes the signature far more than switching between major and minor does; Mode still matters here because a minor key's signature matches its relative major, not the same note's major signature, so the calculator looks up the signature 3 semitones up from a minor tonic rather than directly at that note.
Inputs
Results
Sharps (+) / Flats (-)
0
How to Use This Calculator
- Select the Key Note and the Mode (Major or Minor).
- Review the Sharps (+) / Flats (-) result for the key signature.
- Use Dominant Key and Subdominant Key to find the strongest related keys by name (the (semitone) variants give the same results as raw pitch-class numbers, useful for charting).
- Use the chart to visualize the results and explore different scenarios by adjusting inputs.
What each input means
- Key Note
- The tonic note of the key.
- Mode
- Whether the key is major or minor.
How this is calculated
Worked example, using the default values
- Identify Input ParametersKey Note (0=C, 1=C#, ... 11=B) = 0, Mode (1=Major, 2=Minor) = 1 = 2 input(s) provided
- Calculate Sharps (+) / FlatsSharps (+) / Flats0 = 0
- Calculate Dominant KeyDominant Key7 = 7
- Calculate Subdominant KeySubdominant Key5 = 5
Engine last updated . Checked against 3 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Does Mode change the Dominant Key result?
No -- Mode is completely inert against both the Dominant Key and Subdominant Key results. The dominant is always a fifth (7 semitones) above the tonic and the subdominant always a fourth (5 semitones) above it, regardless of whether the key is major or minor.
What input has the biggest effect on the key signature?
Key Note dominates the Sharps (+) / Flats (-) result -- moving to a different tonic note changes the key signature far more than switching Mode does. Mode still matters, though: a minor key's signature is looked up from its relative major (3 semitones up), not from the minor tonic's own position on the circle.
Why is a minor key's signature different from its tonic note's major signature?
A minor key always shares its key signature with its relative major, which sits 3 semitones above the minor tonic -- E minor, for example, takes its one-sharp signature from G major, not from E major's four sharps. This calculator re-indexes to that relative major note specifically to get the minor signature right.
How is the Dominant Key related to the circle of fifths itself?
The Dominant Key is exactly one step clockwise around the circle of fifths from the tonic -- 7 semitones up -- which is why it's the strongest pull back to the home key in Western harmony. Key Note is the only input that moves this result; Mode never changes it.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Chord Builder Calculator
Build chords from root note and chord type. See note composition and inversions.
Music TheoryScale Generator Calculator
Generate scale notes for major, minor, pentatonic, blues, and modal scales from any root note.
Music TheoryMusical Interval Calculator
Calculate the musical interval between two notes including semitones, interval name, and quality.
Geometry & MeasurementCircle Calculator
Calculate radius, diameter, circumference, area, sector area, and arc length of a circle from any known value.
More in Creative, Media & Design.