What Key Is This Song? How to Find Any Track's Key

Whether you want to sing along, play a cover, sample a loop or mix two records without a clash, the first question is always the same: what key is this song in? This guide walks through every practical way to answer it — by ear, on an instrument, with lookup websites and with key detection software — and explains why those methods sometimes disagree, so you can tell which answer to trust.

Updated 6 October 2026 · ~10 minute read · Maintained by the OpenKeyScan team.

In one paragraph

A song's key is its tonic (the note that feels like home) plus its mode (major or minor). You can find it by ear in a few minutes — hum the home note, match it on a keyboard, then test the major and minor third — or look the song up on a key database site. But for any track you actually own and plan to play, the most reliable answer comes from analyzing the file itself, because lookup sites describe one catalog release while your copy may be a remix, an edit or a pitched rip. When two answers disagree, they are usually relative major/minor partners (A minor vs C major) or a perfect fifth apart. A free desktop analyzer like OpenKeyScan will scan a whole folder offline and write the key straight into each file.

What "the key of a song" actually means

Western music divides the octave into 12 notes. A key picks one of those notes as the centre of gravity — the tonic — and a mode that decides which seven of the 12 notes belong to the song. With 12 possible tonics and two common modes, there are 24 keys in everyday use: C major, A minor, F♯ minor, E♭ major and so on.

The detail that trips everyone up is that every major key shares its exact seven notes with one minor key, called its relative. C major and A minor both use only the white keys of a piano. What separates them is not the notes but which one feels like home. That is why "what key is this song?" is really two questions: which seven notes, and which of them is the centre? The first is easy to measure; the second takes judgement, and it is where both humans and software make the most mistakes.

DJs usually see keys written in a shorthand rather than as letter names. On the Camelot wheel, A minor is 8A and C major is 8B — same number, because they share notes; different letter, because the home note differs. If you want the theory behind how the 24 keys relate, the circle of fifths for DJs lays it out in plain English.

Five ways to find a song's key, compared

There is no single best method — it depends on whether you own the audio, how many tracks you need to check, and how much you trust your ears. Here is how the options stack up.

Method Speed Works on your own files? Best for
By ear 2–5 min per song Yes, any audio Musicians, double-checking a single doubtful track
On an instrument or tuner 1–3 min per song Yes, any audio Singers and players learning a cover
Key lookup websites Seconds No — catalog releases only Quick reference for well-known commercial releases
DJ software built-in analysis Seconds per track, in bulk Yes A first pass inside Rekordbox, Serato, Traktor, Engine DJ or VirtualDJ
Dedicated key analyzer Seconds per track, in bulk Yes, and writes the key into the file DJs and producers who need tags they can trust across every app

Dedicated analyzers include paid tools such as Mixed In Key and free, open-source ones such as OpenKeyScan. For a side-by-side of the options, see our key detection software comparison.

How to find the key by ear, step by step

You do not need perfect pitch. You need relative pitch — the ability to hear whether a note sounds settled or tense — and a reference such as a keyboard, a free piano app or a tuner app on your phone.

  1. Find the note the song resolves to. Loop the chorus or the final bars and hum the single note that sounds like the end of a sentence — the one the bassline and melody keep landing on. In dance music, the bass note under the main drop is usually a strong clue. That note is your tonic.
  2. Match the tonic on an instrument. Play notes on the keyboard, or hum into a tuner app, until you find the pitch that matches what you are humming. You now have the letter name — say, F♯.
  3. Decide major or minor. Over that tonic, play the note three semitones up (the minor third), then the note four semitones up (the major third). One will sit comfortably against the song; the other will sound wrong. A settled minor third means a minor key, a settled major third means major. This single test resolves the relative-key confusion that catches most detectors.
  4. Check against the chords. Play the full tonic chord along with the track at a few different points. If it fits throughout, you are done. If it clashes, try the relative major or minor (same notes, different home), then the keys a fifth above and below — those are the near misses people make most often.

This method is slow for a whole library but excellent for settling an argument about one track. It is the same verification technique we recommend in the guide to verifying and fixing wrong key tags.

Song key websites: useful, but read the fine print

Type "what key is [song]" into a search engine and you will land on key and BPM lookup sites such as Tunebat, SongBPM or Musicstax. They are fast and free, and for a mainstream pop single they are often close. But it helps to know where their numbers come from.

  • They are algorithmic estimates. The keys on these sites are generally produced by automatic audio analysis of streaming catalog tracks, not transcribed by musicians. They make the same relative-key and fifth errors as any detector.
  • They describe one specific release. The radio edit, extended mix, remaster and remix of a song can sit in different keys. A remixer may have pitched the vocal up a tone; a remaster from vinyl may run slightly sharp. The site's answer is for whichever version it indexed.
  • They miss the tracks DJs care about most. Promos, bootlegs, white labels, unreleased edits, your own productions and anything not on major streaming services simply are not there.
  • They do not tag your files. Even when the answer is right, you still have to type it into each track's metadata by hand before your DJ software can use it.

Treat a lookup site as a quick hint, not a source of truth. If the track is going into a DJ set or a production, analyze the copy you actually have.

Analyzing your own files with key detection software

Key detection software listens to the actual audio file, estimates how strongly each of the 12 pitch classes is present over time, and decides which of the 24 keys best explains that profile. Modern detectors, including OpenKeyScan, use neural networks trained on large sets of labelled music rather than hand-written rules; our explainer on how convolutional neural networks detect key goes into the details.

Every major DJ app has a detector built in — Rekordbox, Serato DJ, Traktor, Engine DJ and VirtualDJ all analyze key on import. That is convenient, but each uses a different engine, so the same file can show three different keys across three programs, and each app tends to store its result in its own database rather than in the file. Our per-app guides for Rekordbox, Serato and Traktor cover each engine's quirks.

A dedicated analyzer solves both problems: it is built for accuracy rather than as a side feature, and it writes the result into the file's own metadata so every app reads the same value. Mixed In Key is the long-standing paid option. OpenKeyScan is a free, open-source alternative that runs fully offline on Windows and macOS and handles MP3, WAV, FLAC, AIFF, AAC, M4A, OGG and MP4 files — you can download it here. The workflow is short:

  • Drop in a file or a whole folder. Analysis runs locally in batches, so a full library takes one sitting rather than one song at a time.
  • Pick your notation. Output traditional key names, Camelot-style alphanumeric codes or Open Key — whatever your DJ software displays.
  • Write the key into the files. The value lands in the standard key tag, where Rekordbox, Serato, Traktor, Engine DJ and VirtualDJ can all read it. Our guide to how key is stored in music files explains which tag each format uses.

If you are checking samples and loops rather than full tracks, the key detection guide for producers covers the extra pitfalls of short, sparse audio.

Why two key finders give two different answers

Ask three tools what key a track is in and you may get three answers. That does not mean key detection is guesswork — the disagreements follow predictable patterns, and once you know them you can usually tell which answer is right.

Relative major vs minor

A minor and C major share all seven notes. A tool that misjudges the home note flips between them. On the Camelot wheel this looks like 8A vs 8B. It is the most common disagreement, and the major/minor third test above settles it.

A perfect fifth apart

A bassline that leans on the fifth, or a strong dominant chord, can pull an estimate one step around the circle of fifths — 8A tagged as 9A or 7A. It sounds "almost right", which is why it survives a casual listen.

Different versions, different pitch

Remixes, edits and remasters are often pitched. Vinyl rips can run slightly fast or slow. Speeding audio up by about 6% without key lock raises it a full semitone, so A minor becomes B♭ minor. Make sure both tools are looking at the same file.

Music that does not sit in one key

Songs that modulate for a final chorus, tracks that borrow chords from a parallel key, modal grooves and near-atonal techno all have more than one defensible answer. A detector has to pick one label for the whole track.

For DJs, the practical tiebreaker is simple: the key that matters is the one in the intro and outro, because that is where you mix. If a track modulates in the middle, note it in a comment tag and plan your transitions around the sections you will actually blend. Tempo matters too — the key and BPM guide explains how pitch, tempo and key lock interact.

Once you know the key: what to do with it

Knowing the key is only useful if it is in a form your tools understand. Here is a quick translation for a few common keys; the full mapping for all 24 is in the Open Key vs Camelot guide.

Key name Camelot Open Key Relative key
A minor8A1mC major (8B / 1d)
C major8B1dA minor (8A / 1m)
F minor4A9mA♭ major (4B / 9d)
G minor6A11mB♭ major (6B / 11d)
F♯ minor11A4mA major (11B / 4d)
E major12B5dC♯ minor (12A / 5m)
  • For DJing: mix into tracks at the same Camelot number, one step either side, or the same number with the other letter. The harmonic mixing guide covers the full set of compatible moves.
  • For singing or playing a cover: once you know the tonic, a capo or transpose button can move the song into a range that suits your voice; count the semitones between the original tonic and the one you want.
  • For producing: set your DAW's scale or key helper to the detected key so new parts, samples and acapellas land in tune.
  • For a whole library: once every file carries a trustworthy key tag, you can sort and filter crates by key. See how to organize your DJ library by key.

Frequently asked questions

How do I find out what key a song is in?

There are five practical ways to find a song's key: work it out by ear, match it on an instrument, look the song up on a key database website, use a key finder app, or analyze the audio file itself with key detection software. For music you own, analyzing the file with a dedicated key detector such as OpenKeyScan is the most reliable option, because it measures the exact version you will play rather than a catalog entry for a different release.

What does the key of a song actually mean?

A song's key is the combination of its tonic, the note that feels like home, and its mode, usually major or minor. Together they define the set of seven notes the song is built from. There are 24 common keys: 12 major and 12 minor, one of each for every note of the chromatic scale. For example, A minor has the tonic A and uses the notes A, B, C, D, E, F and G.

Why do different key finders give different answers for the same song?

Key finders disagree because each uses a different detection algorithm and some analyze a different version of the song. The most common disagreement is between a key and its relative major or minor, such as A minor versus C major, because those two keys share all seven notes. The second most common is a perfect-fifth error. Lookup sites may also list the key of an original release while your file is a remix, edit or remaster at a different pitch.

Are online song key websites accurate?

Song key websites are a useful starting point but are not authoritative. Their values are mostly algorithmic estimates generated from streaming catalog audio, not keys verified by musicians, and they describe one specific release. They cannot help with promos, bootlegs, unreleased edits or tracks missing from the catalog, and they inherit the same relative major/minor confusion as any detector. For tracks you will mix, analyze your own copy instead.

Can a song be in more than one key?

Yes. Many songs modulate, moving to a new key for a bridge or a final chorus that is often one or two semitones higher. Others are deliberately ambiguous, borrowing chords from the parallel or relative key, and some electronic tracks are built on a single drone or are almost atonal. A key detector returns one label for the whole track, so for DJ use the key that matters most is the one in the intro and outro, where transitions happen.

How do I convert a song's key to Camelot or Open Key notation?

Each of the 24 keys maps to exactly one Camelot code and one Open Key code. Minor keys take the letter A in Camelot and m in Open Key; major keys take B in Camelot and d in Open Key. For example, A minor is 8A in Camelot and 1m in Open Key, and C major is 8B in Camelot and 1d in Open Key. Most key detection software can output either notation; OpenKeyScan writes keys in Open Key, Camelot-style alphanumeric or traditional notation.

Does changing the tempo of a song change its key?

Changing the speed of a song without key lock changes its pitch and therefore its key. Speeding a track up by about 6 percent raises it by one semitone, for example from A minor to B flat minor. With key lock (also called master tempo or keylock) enabled, DJ software changes the tempo while preserving the original pitch, so the key stays the same.

Stop looking keys up one song at a time

OpenKeyScan analyzes the files you actually own — every remix, edit and promo — offline and for free, then writes the key into each file in traditional, Camelot-style alphanumeric or Open Key notation so every DJ app and DAW reads the same answer.