Key Finder: Which Key Fits My Notes?
This key finder shows you the key of a piece: click the notes that appear in it and you see every major and minor key that contains all of them, together with the key signature and the scale.
How it is calculated
The key is the scale a piece’s notes come from: mark the notes that occur and the tool lists every matching major and minor pair. The key signature shows which notes are raised or lowered.
How the key is found
Every major scale uses seven of the twelve semitones. Its relative minor uses exactly the same notes and therefore has the same key signature. The tool checks all 13 key signatures to see whether your selected notes are fully contained. The fewer notes you select, the more keys fit; the more you select, the clearer the result becomes.
Major or minor?
The notes alone do not tell you. Listen for the tonic: if the piece ends on C and sounds bright, it is C major; if it ends on A and sounds darker, it is A minor.
- Several matching keys are normal as long as only a few notes are selected.
- A single foreign note points to a modulation or to harmonic minor.
Key from an audio file
Drop in an audio file: it is read in your browser only and never uploaded. The tool measures how strongly each of the twelve pitch classes occurs (chroma) and compares that pattern with the Krumhansl-Schmuckler key profiles for all 24 major and minor keys. You see the best match, the Camelot code used by DJs (C major = 8B, A minor = 8A), the relative key, other possible keys, a confidence level and the tuning of the recording relative to A4 = 440 Hz.
This is an estimate. A major key and its relative minor share all notes and are confused most often; tracks that change key or consist mostly of drums or speech give uncertain results. At most the first 4 minutes are analysed.
Key from chords
Enter a progression such as Am F C G in the “Chords” field: its notes are A, C, E, F, G, B and D – exactly the notes of C major and A minor, so that key is shown. The table also gives the Camelot number for every key.
Frequently asked questions
How do I find the key of a song?
Collect all the notes that occur and look up which scale contains them all. Then decide between major and minor by the tonic and the final chord.
How can I tell major from minor?
Major usually sounds brighter, minor darker. The tonic decides: the piece starts or ends on it, and the triad on it has a major or a minor third.
Why are several keys shown?
Because different scales can contain the same notes. C major and A minor, for example, have exactly the same seven notes.
What do foreign notes in the result mean?
They are selected notes that do not belong to the key, for example because of a modulation or a leading tone in harmonic minor.
Sources and legal basis
- C. L. Krumhansl: Cognitive Foundations of Musical Pitch. Oxford University Press 1990 (key profiles after Krumhansl & Kessler 1982, Table 2.1; key estimation after Krumhansl-Schmuckler, Chapter 4)
- Wikipedia – Harmonic mixing (Camelot wheel: assignment of the 24 keys to 1A–12B)
- MDN – BaseAudioContext.decodeAudioData()
- Wikipedia – Key signature (key signatures and relative minor keys)
As of: · Editorial policy
Related tools
- Scale FinderScale finder: notes of major, minor, modes, pentatonic, blues and whole-tone scales for every root, with correct accidentals, steps, triads and relative key.
- Interactive circle of fifthsInteractive circle of fifths: tap a key for its signature, relative key, diatonic chords, progressions like I–V–vi–IV and modes – with audio and printable PDF.
- Guitar chords and chord finderGuitar chords with diagrams in several positions, fingering and sound – plus capo, alternate tunings, a left-handed view and a reverse chord finder. Free.
- Chord TransposerChord transposer: paste lyrics with chords, pick the new key and move every chord automatically, including slash chords and flats or sharps. Free, no sign-up.
- Capo CalculatorCapo calculator: pick the key you want and see which capo fret and chord shapes to play, or work out the sounding key from a shape and capo. Free tool.
- Music Interval Calculator: Thirds, Fifths and MoreMusic interval calculator: pick two notes and see the interval name, semitones, inversion, plus the ratio and cents in just intonation and equal temperament.
- BMI calculator (WHO categories)BMI calculator in lb and ft/in or kg and cm: your body mass index with WHO category on a colour scale, healthy weight range for your height and BMI Prime.
- Waist to height ratio calculatorWaist to height ratio (WHtR) calculator: waist divided by height, rated by the NICE guideline, with your target waist at a ratio of 0.5 and how to measure.
- Ovulation Calculator: Estimate Your Fertile WindowEstimate ovulation and your fertile window with the calendar method for the next 3 cycles. An estimate only – this is not a method of contraception.