Tonal and Chord Analysis

When analyzing a song's melody or structure, the first question you often encounter is: "What key does this passage belong to?" Relying solely on intuition can easily lead to errors—especially when dealing with related major and minor keys (e.g., C major and A minor share the same set of notes), which are particularly prone to confusion. This tool employs a standard tonal analysis method from music theory: it evaluates each note you input against 24 possible keys by assigning scores, then uses clues such as the opening and closing notes along with the dominant note to determine the correct sequence, while simultaneously labeling the constituent notes and their corresponding scale degrees for each chord.

The input is

direction for use

Two input methods

In "Chord" mode, each word is represented by a chord symbol (e.g., C Am F G); in "Single Note" mode, each word is represented by a single note name (e.g., C D E F G A B). Supported chord notations include triads (C, Cm, Cdim, Caug), suspensions (Csus2, Csus4), seventh chords (C7, Cmaj7, Cm7, Cm7b5, Cdim7), and ninth chords (Cadd9, C9, Cmaj9). Words may be separated by spaces, commas, vertical bars, or slashes.

How is the key determined?

For each of the 24 candidate options—comprising 12 root notes × 2 modes (major and natural minor)—we assigned a score: for every note appearing in the input, points were awarded if the note belonged to the seven-note set of that mode; otherwise, points were deducted. Additionally, we considered three further cues: if the first or last note happened to be the tonic of that mode (a common occurrence in musical phrases, especially as a concluding note), points were awarded; if the dominant note (a perfect fifth above the tonic) appeared, points were awarded; if the third interval appeared exclusively as a major third or exclusively as a minor third, the score was adjusted accordingly to favor a major or minor mode, respectively. Finally, the candidates were ranked based on their total scores.

Why are there multiple candidates?

This is because music itself can contain ambiguity. For example, when only the notes A, D, and E are present, the input could correspond to either A major or A minor (since neither the third C nor C# appears). The tool will accurately reflect this situation—displaying the result with the highest score under the "Primary Selection" heading, while listing 2–4 possible alternatives with scores close to the primary result under the "Other Candidates" heading. For definitive judgment, it is advisable to input the complete musical phrase (including the third notes), which will yield much clearer results.

How to read a line-by-line analysis table

"'Input' is the text you wrote; 'Chord Notes' are the note names of the chord when expanded; 'Scale Degree' is the corresponding Roman numeral degree in the inferred key along with the chord name. Note that the scale degree is only accurate if the chord actually belongs to that key—if you entered a chord outside the key, it will be shown as a dash. You can click 'Preview' to listen to all of them in order and verify whether the inference matches your own hearing."

frequently asked questions

How many chords should I input to get accurate results?
We recommend using 3 to 8 segments. If the number is too small (1–2 segments), too many key changes may occur, limiting its reference value; if the number is too large, intermediate key changes can actually reduce accuracy. When analyzing key-change segments, it is recommended to input each key-change section separately.
What should I do if the result differs from my auditory perception?
First, verify whether the input contains a third note—when only the root and fifth notes are provided, major and minor keys cannot be distinguished theoretically. Next, check whether any chords have been entered incorrectly (e.g., entering Bm instead of B7). If the input is correct, you can click "Listen": the tool infers "the key that best matches the pitch set," whereas the human ear may perceive "the key that sounds most stable and most closely resembles the tonic"; these two approaches may occasionally yield different results in pop music.
Does it support transposition analysis?
The current version provides only a single overall best match and does not perform segmental pitch shift detection. If your input clearly contains two pitch shifts (e.g., in C major in the first half and shifting to G major in the second half), it is recommended to input the segments separately for independent analysis, and then manually synthesize the conclusions.
7. Should there be a distinction between uppercase and lowercase 'm'?
The tool implements case-insensitive handling for suffixes, allowing both Cmaj7 and CMAJ7, as well as Cm7 and Cmin7, to be recognized. However, the case of the root note can affect the results—we recommend consistently using uppercase letters (e.g., writing Cm instead of cm) to reduce the risk of misinterpretation.
Why do some folk songs or pieces in the pentatonic scale sound quite ambiguous?
Since the pentatonic scale consists of only five notes, it inherently lacks supplementary tones (the fourth and seventh degrees in a major key), meaning it contains insufficient information to uniquely determine a specific key. Under such circumstances, a tool may suggest multiple candidate keys—a phenomenon that is entirely normal. When analyzing a pentatonic melody, it is generally more reliable to use the final note of the piece as the tonic for identification.

Back to All Tools