Black Friday · $1.00 off every song · Ends Get songs
How-to Pricing Sign in

HOW-TO · TEMPO & KEY

How to Find the Key of a Song (by Ear and by Software)

Last updated 4 min read 6 steps

To find the key of a song, let DJ software analyse it, then check by ear: play along on a keyboard to find the note that feels like home, and decide whether the chord on that note is major or minor. Write the result as a key name such as A minor, then convert it to a Camelot code such as 8A.

Steps

1. Let your software analyse the track

Most DJ programs detect key during analysis, so start there.

  • rekordbox: In Preferences, open the Analysis category and the Track Analysis tab, and tick KEY under Track Analysis Setting. Then right-click the track and choose Analyze Track.
  • Traktor Pro: It detects keys automatically. In Preferences, the Analyze Options page sets the notation displayed in Traktor and the notation written to file tags.
  • VirtualDJ: Tracks not yet analysed show an empty Key field. Right-click the track and choose Analyze for BPM, or select several tracks and use the batch analyse option in the same menu.
  • Serato DJ Pro: Right-click the track and choose Analyze, or drag it onto Analyze Files. Serato's Setup screen has a key display setting.

Mixed In Key, a separate program, scans files and shows a Camelot code beside BPM and energy. Menu names are from each maker's manual as of November 2026 and can change.

2. Find the home note by ear

Pick a loop that repeats, such as the first drop. Play notes on a keyboard, a piano app or a guitar until one sounds finished when you hold it over the loop. That note is the tonic, the home note of the key. The bass note on beat one of the repeating pattern is often the tonic, but check it by ear instead of trusting the bass alone.

3. Decide whether it is major or minor

Build a chord on the home note from three notes: the home note, a third above it, and a fifth above it, which is 7 semitones up. If the third is 3 semitones up, the chord is minor. If it is 4 semitones up, the chord is major. Whichever one blends with the song's chords tells you the key.

Home note Minor chord notes Major chord notes
A A, C, E A, C-sharp, E
C C, E-flat, G C, E, G
F F, A-flat, C F, A, C

Minor keys tend to sound darker and major keys brighter, which is a good tie-breaker when the chords are unclear.

4. Test the near misses

A wrong answer is usually close to the right one. The three classic near misses are the relative key, the parallel key and a key a fifth away. Key detection contests score exactly these as partly right, and the mir_eval documentation gives a fifth error half marks, the relative key 0.3 and the parallel key 0.2.

The relative key is the most common trap. A minor and C major use the same seven notes, and the minor key starts three semitones below its relative major, as Wikipedia's page on relative keys explains. If the home note is A but the loop could also resolve to C, listen for which note ends the phrase. A mix between 8A and 8B is safe either way, so the stakes are low.

5. Convert the name to a Camelot code

Look the key up in the Camelot wheel chart. Minor keys take the letter A and major keys take the letter B. Four examples: A minor is 8A, C major is 8B, F-sharp minor is 11A and E-flat major is 5B.

To convert by rule, find the relative major, which is 3 semitones above a minor key's home note, look up its number, and use the letter A. F-sharp minor has A major as its relative, A major is 11B, so F-sharp minor is 11A. What the Camelot wheel is explains why the numbers work.

6. Write the key into the file

Choose one notation and use it everywhere, so the numbers you memorise mean the same in every program. Traktor's Written to File Tags setting picks the notation it writes into the file, with musical, all sharps, Open Key and key text as the choices. Club Ready Music studio tracks already carry the key as a musical name, a Camelot code and an Open Key code, so they need no analysis, while its DJ edits carry a key tag that is often empty and are worth analysing. Using the Camelot and Open Key tags shows where the codes sit in the file.

Tips

  • Trust a long, clear section. Take the key from the part with bass and chords, not from an intro that is only percussion.
  • Note a key change. If a song modulates, write the key of the section you will mix from.
  • Check a pitched track. A track played faster has a higher key. If it sounds between two keyboard notes, it has been sped up or slowed down.
  • Use the key once you have it. How to build a DJ set by energy and key puts it to work.

Common problems

  • Two programs show different keys. Compare the pair on the chart. Often they are the relative major or minor, or one step apart, and both mix with the same neighbours.
  • A percussion heavy track has no key. That is normal. Tag it with no key and use it as a free blend.
  • A vocal track sounds wrong against the detected key. Check for a key change between verse and chorus, and detect each section.

Frequently asked questions

What do I do if my software and my ear disagree?

Play both keys on a keyboard against the loop and keep the one that sounds finished. Wrong results are usually near misses, such as the relative major or minor, or a key a fifth away.

How do I tell if a song is major or minor?

Find the home note, then listen to the third above it. A minor third, 3 semitones up, gives a minor key, which sounds darker. A major third, 4 semitones up, gives a major key, which sounds brighter.

What is the relative key?

The major and minor key that share the same notes. A minor starts three semitones below C major, so they are relatives. On the Camelot wheel they share a number, 8A and 8B.

Does a drum only intro have a key?

Not one you can detect. Percussion without melody or bass has no clear pitch, so take the key from a section with bass or chords, and mark the drum sections as free to mix.

Can I find a key without knowing music theory?

Yes. Analyse the track, check it against a keyboard or a piano app by ear, and look the answer up in the Camelot chart. You need the home note and whether it sounds bright or dark.

← All how-to guides Answers Guides Comparisons Glossary Plain text version

From one DJ to another

Your first song is on us.

30 years behind the decks went into this studio.

We believe in it so much that the first one is free.

Your BPM, your key, your name on it. Ready to mix.

Make my free song

One free song for each person. It is added to your account when you confirm your email.

Club Ready Music

Black Friday: $1.00 off every song

Single songs, 3-packs and 10-packs. No subscription. Ends .

Get songs