Key finder: find the BPM and key of a song, with Camelot code and beat grid

Open a song to see its tempo (BPM) with a beat grid, its key with the runner-up and a confidence, and the keys that mix well with it. Tap along to check the tempo, or let it listen through the microphone. Nothing is uploaded.

Keep it one tap away for everyday use.

Bookmark Key finder?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

Or install fibub as an app: every tool you open then works offline.

  1. Open song
  2. Beat grid
  3. Key
  4. Mixes with
Nothing is uploadedWorks offline once open
Or drop a file here. It stays on this device.

What it does

Open one song and this tool finds its tempo in beats per minute (BPM) and its musical key. It draws the waveform with a line on every beat, so you can see whether the grid sits on the kicks, and lets you play from any point. The key comes with a confidence and the runner-up, which is often the relative major or minor. Below it is the list of keys that blend with it in a DJ mix.

No file? Press Listen with the microphone and play the music nearby; the key is estimated over 15 seconds. To check a whole folder at once, use the track analyser; to move a song into a key that fits, use the pitch shifter.

How to use it

  1. Press Open a track and choose a song.
  2. Read the tempo and key. If the tempo is half or twice what you feel, press ½ half or ×2 double.
  3. Tap the waveform to hear any point; the lines should land on the beats.
  4. Tap Tap on each beat along with the music to double-check the BPM.

What each setting does

  • Key notation: Camelot wheel codes (8A), Open Key codes (1m) or musical names (A minor).
  • Listen for (More options, listen mode): how many seconds to listen, 5 to 60.
  • Tuning of A4: for music tuned away from 440 Hz.

Worked example

A 16-second test file of A minor chords (Am, Dm, E, F) with a click on every beat at 120 BPM reads 120.0 BPM with 32 beat lines, and 8A · A minor with C major (8B) as runner-up. The list of keys that mix well starts with 8A (same key), then 7A, 8B and 9A, then the diagonal step 9B and the +2 energy boost 10A. Press ×2 and it reads 240.0.

FAQs

Why does the key say “Runner-up: C major”? A minor and C major use the same seven notes; only which note feels like home differs.

Is the microphone sound recorded? No. It is analysed in the page as it arrives and is never saved or sent.

Why is the BPM half what I expected? Some songs can be counted at two speeds. The half and double buttons switch.

Where the numbers come from

  • Tempo: spectral-flux onsets (Dixon 2006, DAFx-06) and an autocorrelation comb (Ellis 2007, J. New Music Research 36(1)), refined over the whole track. Key: chroma correlated with the Krumhansl-Kessler (Krumhansl 1990) and Temperley (Music Perception 17(1), 1999) key profiles. Wheel codes follow the widely published circle-of-fifths layout; fibub is not affiliated with their owners. Mix scores are fibub's own.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-18.

Change log for Key finder

  1. Give the DJ and music tools their own order numbers; run the music engine checks in npm test Details on GitHub
  2. Key finder (#T1023) Details on GitHub
  3. Track analyser (#T1013) Details on GitHub

Every change to fibub

Related tools

Metronome #T961 A steady online metronome from 20 to 300 BPM: tap tempo, beats per bar, eighths, triplets or sixteenths, an accent on beat one, and a click track to download as WAV. Instrument tuner #T962 Tune a guitar, bass, ukulele, violin or any instrument with your microphone: it shows the nearest note or string and how many cents sharp or flat, with A4 from 400 to 480 Hz. The sound never leaves your device. Pitch shifter #T972 Move a song, backing track or voice up or down by semitones (and fine-tune in cents) while keeping its length and tempo. Plays in the page; saves MP3 or WAV. Nothing is uploaded. Track analyser #T1013 Choose a folder of tracks and get the BPM, musical key, Camelot code, energy (1 to 10), length and loudness of each one. Sort, find tracks that mix together, and save a CSV or playlist. Nothing is uploaded. Sample chopper #T1022 Open a loop, break or vocal and cut it into slices by its hits, a beat grid or by hand. Play the slices on 16 pads, then save every slice as a WAV in a ZIP, a new WAV of slices in any order, or a MIDI file for a sampler. Nothing is uploaded. Mix planner #T1024 Type or import a track list with BPM and key, pick a start track and an energy shape, and get a running order where each mix blends in key and the tempo moves in small steps, with the path on the key wheel. Nothing is uploaded. Tempo matcher #T1025 Tap the beat or type two BPM values and see the pitch fader percent that matches them, which fader ranges allow it, the key you will hear without key lock, and half-time or double-time matches. Nothing is uploaded.