---
title: "BPM Finder: Tap Tempo, Song BPM & Key, Metronome"
description: "Free BPM finder: tap the tempo, or drop a song to detect its BPM and musical key with Camelot codes. With an online metronome and a BPM to ms table. No upload."
url: "https://theaudiostuff.com/tools/bpm-finder/"
type: "website"
author: "Jakub Charkiewicz"
---

> Markdown rendering of https://theaudiostuff.com/tools/bpm-finder/
> Canonical URL to cite: https://theaudiostuff.com/tools/bpm-finder/
> Generated from the published page. Text and links only; see the HTML for layout.

Breadcrumb: [Home](https://theaudiostuff.com/) > [Tools](https://theaudiostuff.com/tools/) > BPM Finder

# BPM Finder and Tap Tempo

Find the tempo of any song two ways: tap along and this BPM counter reads the beats per minute, or drop an audio file and the BPM detector measures it, with the song's musical key, its Camelot and Open Key codes for harmonic mixing and its tuning. An online metronome keeps time at the tempo you found, and a table turns BPM into milliseconds for delay and reverb settings. Files are analyzed in your browser and never uploaded.

**Before you start:** the file reading below is a demo loop made in your browser, at 120 BPM in A minor. Choose your own song to replace it, or start tapping.

## Tap tempo {#bpm-tap-h}

Tap the button on each beat, or press the space bar. Four taps give a first reading, and it steadies as you go on.

0.0 BPM

No taps yet.

## A song's BPM and key {#bpm-file-h}

Demo loop · made in your browser, 44.1 kHz, 16 s

- **Tempo**: 120.0 BPM
- **Tempo**: Half time 60.0, double time 240.0
- **Key**: A minor
- **Key**: Camelot 8A, Open Key 1m

The beat repeats strongly through the file, so this is a firm reading. If it feels twice too fast or too slow, the half or the double is the tempo you are counting.

The notes fit A minor best. Its relative, C major, uses the same seven notes and is the likeliest other reading. The second-best match was A major.

Tuning: at A4 = 440 Hz, to within 10 cents.

Analyzed in your browser. The file never leaves your device.

## Metronome {#bpm-click-h}

At 120.0 BPM a quarter note lasts 500 ms, a dotted eighth 375 ms, an eighth 250 ms and a sixteenth 125 ms.

Turn your volume down before you start. The first beat of each bar is the higher click. Esc stops it.

## BPM to milliseconds {#ref-bpm-title}

The length of each note at a tempo, for setting a delay, a reverb pre-delay or a compressor's release in time with the music. A quarter note lasts 60,000 ms divided by the BPM; the other columns are fractions of it.

| BPM | Quarter note | Dotted eighth | Eighth | Eighth triplet | Sixteenth | Bar of 4/4 |
| --- | --- | --- | --- | --- | --- | --- |
| 60 | 1,000 ms | 750 ms | 500 ms | 333 ms | 250 ms | 4.00 s |
| 70 | 857 ms | 643 ms | 429 ms | 286 ms | 214 ms | 3.43 s |
| 80 | 750 ms | 563 ms | 375 ms | 250 ms | 188 ms | 3.00 s |
| 90 | 667 ms | 500 ms | 333 ms | 222 ms | 167 ms | 2.67 s |
| 100 | 600 ms | 450 ms | 300 ms | 200 ms | 150 ms | 2.40 s |
| 110 | 545 ms | 409 ms | 273 ms | 182 ms | 136 ms | 2.18 s |
| 120 | 500 ms | 375 ms | 250 ms | 167 ms | 125 ms | 2.00 s |
| 128 | 469 ms | 352 ms | 234 ms | 156 ms | 117 ms | 1.88 s |
| 140 | 429 ms | 321 ms | 214 ms | 143 ms | 107 ms | 1.71 s |
| 150 | 400 ms | 300 ms | 200 ms | 133 ms | 100 ms | 1.60 s |
| 160 | 375 ms | 281 ms | 188 ms | 125 ms | 93.8 ms | 1.50 s |
| 174 | 345 ms | 259 ms | 172 ms | 115 ms | 86.2 ms | 1.38 s |

## Keys with Camelot and Open Key codes {#ref-key-title}

Both systems number the 24 keys round the circle of fifths, so two tracks mix harmonically when their codes share a number (a major key and its relative minor) or sit one number apart with the same letter. On the Camelot wheel A is minor and B is major; in Open Key notation m is minor and d is major.

| Minor key | Camelot | Open Key | Relative major | Camelot | Open Key |
| --- | --- | --- | --- | --- | --- |
| G# minor | 1A | 6m | B major | 1B | 6d |
| Eb minor | 2A | 7m | F# major | 2B | 7d |
| Bb minor | 3A | 8m | Db major | 3B | 8d |
| F minor | 4A | 9m | Ab major | 4B | 9d |
| C minor | 5A | 10m | Eb major | 5B | 10d |
| G minor | 6A | 11m | Bb major | 6B | 11d |
| D minor | 7A | 12m | F major | 7B | 12d |
| A minor | 8A | 1m | C major | 8B | 1d |
| E minor | 9A | 2m | G major | 9B | 2d |
| B minor | 10A | 3m | D major | 10B | 3d |
| F# minor | 11A | 4m | A major | 11B | 4d |
| C# minor | 12A | 5m | E major | 12B | 5d |

## How tempo and key are found {#tprimer-title}

Tempo is how many beats pass in a minute. A person finds it by feeling the pulse and counting; a program has to find the pulse first. This page looks for the moments where sounds start, such as drum hits, plucked notes and chord changes, and measures how regularly they come round. The spacing that repeats most strongly is taken as the beat, and 60 divided by that spacing in seconds is the BPM.

A beat has no single correct level. A song counted at 87 BPM can be counted at 174 by someone tapping twice as fast, and both fit the music. The page picks the reading nearest the middle of the range most music sits in and prints the half and the double beside it, so the one that matches how you count is always on screen.

A key is the set of notes a piece is built from and the note it comes home to. To find it, the page adds up how much sound the recording holds on each of the twelve notes, in every octave together, and compares that pattern with the pattern each of the 24 major and minor keys tends to produce, as measured in listening experiments by Krumhansl and Kessler. The closest fit is the key it names.

### The ideas behind the controls {#tprimer-ideas}

- **BPM**: Beats per minute. At 120 BPM a beat lasts half a second; at 60 BPM, one second.
- **Onset**: The start of a sound. A row of onsets at even spacing is what a beat looks like to a program.
- **Half time and double time**: The same music counted at half or twice the speed. Tools disagree on these far more often than on the tempo itself.
- **Relative key**: The major and the minor key that share all seven notes, such as C major and A minor. They differ in which note feels like home.
- **Camelot and Open Key**: Two ways of numbering the 24 keys round the circle of fifths, so that keys which mix well sit next to each other.
- **Cent**: A hundredth of a semitone. A recording 30 cents sharp sounds in tune with itself and out of tune with an instrument at concert pitch.

### Common mistakes {#tprimer-mistakes}

- Trusting a detected BPM without listening. Start the metronome at the reading and play the song: a click that drifts off the beat within a few bars means the reading is off.
- Reading the half or the double as an error. A drum and bass track at 174 BPM and a reading of 87 describe the same tempo at two levels.
- Expecting one tempo from music that has none. A live band speeds up and slows down, and a classical recording breathes; any single figure for them is an average.
- Treating the key as certain. A key and its relative share their notes, and a short loop or a song that never plays its home chord can be read as either.
- Mixing by code alone. Two tracks whose codes match can still clash when one is tuned a quarter tone away from the other, which the tuning line shows.

### What this tool cannot tell you {#tprimer-limits}

- It looks for one steady tempo between 60 and 200 BPM in the first ten minutes of a file. A tempo outside that range is reported at the half or the double that falls inside it.
- A fast track with loud off-beat percussion can be read at its half, and now and then at two thirds of its tempo. Tapping along for a few bars settles it.
- The key is the best fit among the 24 major and minor keys. Music in another mode, music that changes key and music with no tonal center get the nearest of the 24, and the page says when no key fits well.
- The key is read from the notes that sound, in equal temperament, after the recording's own tuning is found to the nearest 10 cents.
- The metronome is timed by your device's audio clock, which is steady, but a phone that locks its screen or a tab left in the background for a long time can interrupt it.

### Where the math comes from {#tprimer-sources}

- [Stanford CCRMA: Autocorrelation](https://ccrma.stanford.edu/~jos/mdft/Autocorrelation.html)
  Reference Stanford University
  Autocorrelation, the measure of how strongly a signal repeats at each spacing, from which the beat's period is read.
- [Stanford CCRMA: The short-time Fourier transform](https://ccrma.stanford.edu/~jos/sasp/Short_Time_Fourier_Transform.html)
  Reference Stanford University
  Short-time Fourier analysis: the windowed frames in which the page finds where sounds start and which notes they hold.
- [UNSW: Note names, MIDI numbers and frequencies](https://newt.phys.unsw.edu.au/jw/notes.html)
  Reference UNSW Sydney
  Note names and equal-tempered frequencies at A4 = 440 Hz, by which each spectral peak is filed under one of the twelve notes.

## BPM finder FAQ {#bpm-faq-title}

1. ### How do I find the BPM of a song? {#bpm-faq-how-do-i-find-the-bpm-of-a}
   There are two ways on this page. Play the song and tap the Tap button, or the space bar, on each beat: after about eight taps the reading is steady. Or press Choose an audio file and pick the song, and the page measures the tempo from the recording in a few seconds and shows the half and the double beside it. To check either answer, set the metronome to it and listen for the click staying on the beat.
2. ### How does tap tempo work? {#bpm-faq-how-does-tap-tempo-work}
   Each tap is timed to the millisecond, and the tempo is 60,000 divided by the average gap between taps in milliseconds. The page fits a straight line through your last 16 taps, which one early or late tap moves very little, and starts a new count when you pause for more than two and a half seconds.
3. ### How do I find the key of a song? {#bpm-faq-how-do-i-find-the-key-of-a}
   Choose the audio file. The page adds up how strongly each of the twelve notes sounds through the recording and compares that pattern with all 24 major and minor keys. It names the best fit, gives its Camelot and Open Key codes and the relative key, and says so when no key fits well.
4. ### Why does the BPM show as half or double what I expected? {#bpm-faq-why-does-the-bpm-show-as-half-or}
   Because both describe the same music. A beat can be counted at more than one level, so a track most people call 140 BPM also repeats at 70, and one at 87 also at 174. The detector picks the level nearest the middle of the usual range and prints the other two beside it. Use the one that matches how you count the song.
5. ### What are Camelot and Open Key codes? {#bpm-faq-what-are-camelot-and-open-key-codes}
   They are two numbering systems DJs use for the 24 musical keys. Both arrange the keys round the circle of fifths and number them 1 to 12, with a letter for major or minor: on the Camelot wheel A is minor and B is major, and in Open Key notation m is minor and d is major. Tracks mix harmonically when their codes share a number or sit one number apart with the same letter. The table on this page lists every key with both codes.
6. ### How accurate is the BPM detection? {#bpm-faq-how-accurate-is-the-bpm-detection}
   On music with a steady, clear beat, such as most electronic, pop and rock recordings, the tempo is read to about a tenth of a BPM, although it may be the half or the double of the figure you expect. Music without drums, live recordings that drift and pieces that change tempo give a weaker reading or none, and the page says which. The metronome is the test: a correct tempo keeps the click on the beat.
7. ### How do I convert BPM to milliseconds for a delay? {#bpm-faq-how-do-i-convert-bpm-to-milliseconds-for}
   Divide 60,000 by the BPM to get the length of a quarter note in milliseconds: 500 ms at 120 BPM. Halve it for an eighth note, take three quarters of it for a dotted eighth and a quarter of it for a sixteenth. The line under the metronome does the arithmetic for the tempo you set, and the BPM to milliseconds table lists common tempos.
8. ### Can I use it as a metronome? {#bpm-faq-can-i-use-it-as-a-metronome}
   Yes. Set a tempo from 30 to 300 BPM, choose how many beats are in a bar and press Start. The first beat of each bar is a higher click, and the lights show which beat is sounding. The buttons under the tap counter and the file reading set the metronome to the tempo they found.
9. ### Is my audio file uploaded? {#bpm-faq-is-my-audio-file-uploaded}
   No. The file is decoded and analyzed by your own browser on your device. Nothing about it is sent anywhere or stored, and closing the tab clears it.
10. ### Which audio files does it read? {#bpm-faq-which-audio-files-does-it-read}
    MP3, FLAC, WAV, AAC, M4A, ALAC, OGG and AIFF files in current browsers, and DSD files (DSF and DFF), which are converted to PCM first. DRM-protected files from a streaming app cannot be read. The first ten minutes of a long file are analyzed.

## You might also use these tools {#rt-title}

- Generator **Which test tone do you need?** [Online Tone Generator](https://theaudiostuff.com/tools/signal-generator/) Sine, square, triangle, sawtooth and pulse tones at any frequency or musical note, white, pink, brown, blue and violet noise, frequency sweeps, a channel test and a polarity check. Runs entirely in your browser.
- Test **Are my speakers or headphones wired right?** [Speaker & Headphone Test](https://theaudiostuff.com/tools/speaker-test/) Check that left and right come from the correct side, that a pair of speakers is in phase, how low the bass goes and how high the treble reaches, then sweep 20 Hz to 20 kHz for rattles.
- Test **How low do my speakers or subwoofer really go?** [Bass & Subwoofer Test](https://theaudiostuff.com/tools/bass-test/) Step a tone down from 200 Hz to 16 Hz, find the note where your bass fades out, set a subwoofer's phase by ear and sweep the bass for rattles and booms.
