Online Metronome

Set the tempo, press start. Accurate timing from the Web Audio clock.

100
BPM

How to set up and use the metronome

  1. Set the tempo with the slider (30 to 300 BPM) or type a number in the BPM box, and fine-tune with the -1, +1, -5 and +5 buttons. The big number is the current BPM, and a word beside it shows the matching tempo name.
  2. Choose beats per bar, from 2 to 7. A row of squares appears, one per beat.
  3. Press Start. The first beat of every bar sounds higher and sharper than the others, so you can hear where the bar begins. The square for the current beat lights up. Press the same button (now showing Stop) to end.
  4. You can change the BPM while it is running. The new tempo starts one or two clicks later: a click that is already placed still plays at the old spacing (see our test below).

In short

Clicks are scheduled ahead on the audio clock rather than fired by a timer, which keeps them steady even when the page is busy. Tap tempo averages your last eight taps, so eight taps give the best reading; tap every beat rather than every other one for fast songs.

Frequently asked questions

Is the timing accurate?

Clicks are scheduled ahead of time on the audio hardware clock rather than with JavaScript timers, so the beat stays steady even if the page is busy.

No sound?

Check device volume and the silent switch, and press Start again — browsers only allow sound after a click.

What BPM should I start with?

Slower than you expect. Choose a tempo at which you can play the hardest bar with no mistakes, even if it feels almost boringly slow, and work up from there.

Why does the accent sound different from the other beats?

The first beat is deliberately higher in pitch (1600 Hz against 1000 Hz) so you always know where the bar starts, without having to watch the squares.

Our test: how many taps does tap tempo need?

Tap timing depends on your hands, so we simulated it. On our metronome in headless Chromium 153.0.8010.12 we replaced the page's clock reading with one we controlled, then pressed the Tap tempo button at exact moments and let the page's own code compute the BPM. Each tap was moved early or late by a random error with a standard deviation of 0, 10, 20 or 40 ms. We ran 1,000 sequences of 12 taps for each combination of tempo (60, 90, 120, 150 and 180 BPM) and error size, and recorded the reading after every tap.

05102 taps3 taps4 taps5 taps6 taps8 taps10 taps12 taps180 BPM120 BPM60 BPM BPM
Average reading error with taps off by 20 ms (standard deviation) — chart drawn from the table below.
True tempo2 taps3 taps4 taps5 taps6 taps8 taps10 taps12 taps
60 BPM1.350.640.390.240.150.040.040.04
120 BPM5.402.621.771.341.050.740.800.73
180 BPM12.266.214.113.112.521.701.801.72

With perfectly even taps every reading was exact. With 20 ms errors, the reading after 8 taps was within 1 BPM in 100% of runs at 60 BPM, 87.8% at 120 BPM and 50.8% at 180 BPM. With 10 ms errors at 120 BPM it was 99.8%.

What it means: the reading improves quickly up to the eighth tap and then stops improving, because only the last eight taps are used. Fast tempos are harder: the same small wobble in your taps costs far more BPM at 180 than at 60. In our runs, tapping every other beat of a 180 BPM song (90 BPM, 20 ms error, 8 taps) and doubling the result gave an average error of about 0.8 BPM instead of 1.7.

Our test: what happens when you change the settings while it is running?

We ran our metronome in headless Chromium 157.0.8103.78 and recorded the time of every click the page placed on the audio clock. In 200 runs we started it at 100 BPM, waited a random 0.9 to 2.1 seconds and moved the slider to 160 BPM. In 60 runs we started it at 120 BPM in 4 beats per bar, waited a random 1 to 3 seconds and switched to 3 beats per bar. We also typed 15 values into the BPM box and read what the page showed, and stepped the slider through every value from 30 to 300 to read the tempo name.

Time from the change to the next clickRunsFirst click that follows the new 160 BPM spacingTime from the change to that click
more than about 150 ms157the 2nd click after the change525 to 974 ms
about 150 ms or less43the 3rd click after the change976 to 1,125 ms

In every run the next click came at the old 100 BPM spacing. The reason is the look-ahead scheduler described below: clicks are placed on the audio clock up to 150 ms ahead, so a click that is already placed cannot change. After a switch from 4 to 3 beats per bar, the next accent after the last old one came 2 to 6 clicks later, depending on where in the bar we switched. In 16 of 60 runs it came exactly 3 clicks later, so the next bar already had 3 beats; in the other 44, one or two bars of 2, 4, 5 or 6 beats came first. By the end of the clicks we recorded, every run was in bars of 3 beats.

TypedBPM shown
10, 29, −530
30.4 / 30.530 / 31
99.5100
300.6, 400, 1e3300
0, or the box left emptythe previous value (100) stays

The −5 and +5 buttons stop at 30 and 300: from 32, −5 gave 30, and from 298, +5 gave 300. The tempo name changed exactly at 60, 76, 108, 120, 156 and 200 BPM, matching the tempo names listed further down this page.

What it means: in our 100 to 160 BPM runs the next click always kept the old spacing (we did not test slowing down); expect the new tempo to start after it, or one click later if the next click was about 150 ms away or less. If you change the number of beats per bar, press Stop and Start again so the accent starts on the first beat (we tested 4 to 3).

More details

How to use a metronome

Start slow — slower than you think you need — and raise the tempo by 4–5 BPM only when you can play a passage cleanly three times in a row. Use tap tempo to find the speed of a song: tap along with the beat four or more times.

Tempo markings

  • Largo: below 60 BPM
  • Adagio: 60–75 BPM
  • Andante: 76–107 BPM
  • Moderato: 108–119 BPM
  • Allegro: 120–155 BPM
  • Vivace: 156–199 BPM
  • Presto: 200 BPM and above

Finding a song's tempo with tap tempo

Press Tap tempo in time with the music. From the second tap onward the tool measures the gaps between taps and sets the BPM to 60,000 divided by the average gap in milliseconds. Example: taps 500 ms apart average to 120 BPM; taps 750 ms apart give 80 BPM.

Only the last eight taps are averaged, so a slightly wobbly start fades out of the result as you keep going. If you pause for more than two seconds, the next tap starts a new measurement. Four to eight steady taps is usually enough. The result is rounded to a whole BPM.

How the timing stays steady

Browsers' ordinary timers can drift or stall when a page is busy. This metronome therefore uses a look-ahead scheduler: a timer wakes every 25 milliseconds and schedules every click that falls within the next 150 milliseconds on the audio hardware clock. The sound itself is a short sine-wave blip, about 50 ms long, at 1600 Hz on the first beat and 1000 Hz on the others. Because each click is placed in the audio timeline in advance, small delays in the page do not change when you hear it. The visual squares use a separate timer, so on a very slow device the light may lag slightly behind the sound; trust your ears.

Tempo names in this tool

The label beside the BPM follows these ranges: below 60 Largo, 60 to 75 Adagio, 76 to 107 Andante, 108 to 119 Moderato, 120 to 155 Allegro, 156 to 199 Vivace, and 200 or more Presto. These are conventional rules of thumb and different books draw the borders a little differently. Composers' markings are guidance, not a precise instruction.

Practice ideas

  • Slow-to-fast ramp: play a passage at 60 BPM, then raise it by 4 to 5 BPM each time you get it right three times in a row. Write down the tempo you reached so the next session starts from there.
  • Subdivision check: set 60 BPM and play eighth notes or triplets against each click. If you rush between clicks, you will hear the click arrive "early" against your notes.
  • Odd meters: pick 5 or 7 beats per bar for pieces in 5/4 or 7/8-style groupings. The accent marks only the start of the bar, so you will need to count the internal groups (for example 3+2 or 2+2+3) yourself.
  • Half-tempo trick: for fast pieces, set the metronome to half speed and treat each click as a larger pulse. It trains you to feel the phrase, not every note.
  • Drummers and DJs: use tap tempo to approximate a track's BPM, then confirm by running the metronome against it for a minute and listening for drift.

Timing limits, audio permission and accents

  • The meter changes the number of beats per bar only. There is no separate setting for note value, swing or subdivisions, and every beat is the same volume except for the accent.
  • Tap tempo reflects your tapping accuracy. A recording with a human drummer is not perfectly constant either, so a reading of 97 or 103 for a "100 BPM" song is normal.
  • Audio output goes through your device speaker or headphones. Bluetooth headphones can add a delay of a few tenths of a second, which affects when you hear the click but not the spacing between clicks.
  • Browsers keep sound blocked until you interact with the page, which is why audio begins only after you press Start.

More questions

Can I use it with my screen off?

That depends on your phone and browser. Many mobile browsers pause timers and audio for pages in the background or with the screen locked, so keep the page open and visible for reliable practice.

Related guides

More in Sound & time