# Circle of fifths > How many sharps or flats does your key have? Pick a key to see it on the circle of fifths with its key signature, relative key, scale and chords, and hear them on a piano. Pick any major or minor key on the circle of fifths: its sharps or flats, relative key, scale and the seven chords of the key, shown on a piano and playable. - Page: https://how.box/circle-of-fifths/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/circle-of-fifths/?k={k} - `k` (C, G, D, A, E, B, F#, Gb, Db, Ab, Eb, Bb, F, Am, Em, Bm, F#m, C#m, G#m, D#m, Ebm, Bbm, Fm, Cm, Gm or Dm): The key: a major tonic (C, G, D, A, E, B, F#, Gb, Db, Ab, Eb, Bb, F) or a minor key with "m" (Am, Em, Bm, F#m, C#m, G#m, D#m, Ebm, Bbm, Fm, Cm, Gm, Dm). Example: `Bb`. Example answer: https://how.box/circle-of-fifths/?k=Bb A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `circle_of_fifths_key`: Looks up a musical key on the circle of fifths. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"circle_of_fifths_key","arguments":{"key":"Bb"}}}` - GET: https://how.box/mcp/run/circle_of_fifths_key?key=Bb ## How it works The circle of fifths lines up the twelve keys so that each is a fifth (seven semitones) above the one before it. Go clockwise from C and every step adds one sharp to the key signature: G has one, D two, A three. Go anticlockwise and every step adds a flat: F has one, B♭ two. At the bottom, F♯ (six sharps) and G♭ (six flats) are the same keys on the keyboard. Every major key shares its key signature with a minor key, its relative minor, which starts three semitones below the major tonic: C major and A minor have no sharps or flats, G major and E minor have one. The outer ring of the circle holds the major keys and the inner ring their relatives. A key's neighbours on the circle are the keys closest to it, the ones that share most of its notes. The seven chords of a key are triads built on each note of its scale using only the scale's own notes. In a major key they are I, ii, iii, IV, V, vi and vii° (C, Dm, Em, F, G, Am, B dim in C major); in a natural minor key i, ii°, III, iv, v, VI and VII. Minor keys here use the natural minor scale; harmonic and melodic minor change one or two notes. ## FAQ **How do I remember the order of the sharps and flats?** Sharps are added in the order F, C, G, D, A, E, B and flats in the reverse order, B, E, A, D, G, C, F. A key with three sharps has F♯, C♯ and G♯. **What does relative minor mean?** It is the minor key with the same sharps and flats as a major key. It starts on the sixth note of the major scale: A minor for C major, E minor for G major. **Why are there two keys at the bottom of the circle?** F♯ major and G♭ major sound the same on a piano but are written differently, with six sharps or six flats. The same goes for their relative minors, D♯ minor and E♭ minor. **Does this show harmonic or melodic minor?** No. The minor scales and their chords use natural minor. Harmonic and melodic minor change notes and need different chord choices. **Are a major key and its relative minor the same?** They share a key signature and the same notes in the natural minor scale, but have different tonic notes. The tonic is the note that feels like home. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)