The Metronome, Explained

After reading this you will know exactly what BPM means, how a click track is scheduled so it never drifts, how to convert tempo into milliseconds and note lengths, and how to set up accents and tap tempo without common timing errors.

What a metronome does

A metronome plays a short click at a fixed rate. You set the rate in beats per minute (BPM), and the tool emits one click per beat. At 120 BPM you get 120 clicks in 60 seconds, so one click every 0.5 seconds. Set an accent on the first beat of a bar and every fourth click (in 4/4 time) sounds louder or brighter, marking the downbeat.

Here is the hook. Play a steady 90 BPM click and tap a coin on a table with it. Within a few beats your tap locks to the click and the timing of your hand tightens noticeably. That is the whole point: an external, exact reference removes the drift your internal sense of time introduces over 20 or 30 seconds.

When to use it, and when not to

Use a metronome to build steady tempo, to practice a passage at a slow speed and step it up, and to check whether a recorded take is rushing or dragging. It is the right tool any time you need a reference pulse that does not change.

Do not use it to judge expressive timing. Music with rubato, swing, or human feel is not supposed to sit on a rigid grid. A metronome measures deviation from a fixed pulse; it cannot tell you whether that deviation sounds good. Also avoid leaning on it as a crutch: practice with it to calibrate, then practice without it to confirm you internalized the tempo.

If a passage falls apart at target tempo, drop the BPM until you can play it cleanly, then raise it in steps of 4 to 8 BPM. Cleanliness at a slow tempo transfers upward; sloppiness does not.

The tempo formula and its intuition

BPM is a rate. To get the time between clicks, divide 60 seconds by the beat count.

T_{\text{beat}} = \frac{60}{\text{BPM}}

Here T_{\text{beat}} is the interval between beats in seconds and BPM is the tempo. At 120 BPM the interval is 60 / 120 = 0.5 seconds, or 500 ms. At 60 BPM it is one second exactly. At 30 BPM (the tool minimum) it is 2 seconds, and at 300 BPM (the maximum) it is 60 / 300 = 0.2 seconds, or 200 ms between clicks.

Note lengths follow from the beat. If the beat is a quarter note, an eighth note lasts half a beat and a sixteenth note lasts a quarter of a beat. In general the duration of a note that is a fraction f of a beat is:

T_{\text{note}} = f \cdot \frac{60}{\text{BPM}}

So at 120 BPM an eighth note (f = 0.5) lasts 0.5 \times 0.5 = 0.25 seconds, and a sixteenth (f = 0.25) lasts 125 ms. The relationship is linear in f and inversely proportional to BPM: double the tempo and every note gets half as long.

Why scheduling ahead keeps the click steady

A naive metronome would wait, play a click, wait again, and so on, using the browser's general-purpose timers. Those timers are not accurate. When the tab is busy rendering or the CPU is loaded, a timer set for 500 ms can fire late by 20, 50, or even 100 ms. Over a minute those late clicks accumulate into audible drift and jitter.

The fix is to schedule clicks against the audio hardware clock, which advances at the sample rate and does not care what the page is doing. The tool looks ahead a short window (say 100 ms), and for every beat whose start time falls inside that window, it tells the audio hardware to play a click at an exact future timestamp. A slow imprecise timer only decides when to look ahead again; it never decides when a click actually sounds. That is why the footnote can promise steady timing even when the tab is busy.

The audio clock typically runs at 44,100 or 48,000 samples per second. A click scheduled for time t plays within one sample of that time, so the error is under 1 / 44100 \approx 0.0000227 seconds, about 23 microseconds. Human ears cannot resolve timing that fine.

A worked example at the demo defaults

The demo uses the tool defaults: 120 BPM in 4/4 time with an accented first beat. Work through one full bar.

One bar of 4/4 at 120 BPM

  1. Beat interval: 60 / 120 = 0.5 seconds, so 500 ms per click.
  2. Beats per bar: 4/4 means 4 beats, so a full bar lasts 4 \times 0.5 = 2 seconds.
  3. Click times within the bar, measured from the downbeat: 0.000 s, 0.500 s, 1.000 s, 1.500 s. The next downbeat lands at 2.000 s.
  4. Accent: the click at 0.000 s is the downbeat and plays louder or higher. The clicks at 0.500, 1.000, and 1.500 are the weak beats.
  5. Clicks per minute: 120 beats, which is 30 complete bars in 60 seconds (120 / 4 = 30).

If you tap along and want to check yourself, count "ONE two three four" and confirm the "ONE" lands on the accented click every 2 seconds.

Four evenly spaced clicks 0.5 seconds apart. Beat 1 carries the accent.

Tap tempo and how the average settles

Tap tempo lets you find a BPM by tapping a button in time with music. Each pair of consecutive taps gives an interval; the tool converts the interval back to BPM with the inverse of the beat formula:

\text{BPM} = \frac{60}{T_{\text{tap}}}

where T_{\text{tap}} is the measured gap between two taps in seconds. Tap twice half a second apart and you get 60 / 0.5 = 120 BPM. The catch is that your taps are not perfectly even. A single interval of 0.52 s reads as 60 / 0.52 \approx 115.4 BPM, while 0.48 s reads as 125 BPM. Averaging several intervals shrinks that spread.

Suppose you tap five times, giving four intervals of 0.50, 0.52, 0.49, and 0.51 seconds. The mean interval is (0.50 + 0.52 + 0.49 + 0.51) / 4 = 0.505 seconds, so the estimated tempo is 60 / 0.505 \approx 118.8 BPM. Notice that averaging the intervals and then converting is not identical to averaging the four separate BPM readings, because BPM is a reciprocal. Average the intervals; it is the correct quantity.

Tapping unevenly produces a spread of BPM readings. With one tap interval of 0.50 s you read exactly 120 BPM, but a jitter of 0.03 s in your tapping shifts a single reading between about 113 and 128 BPM. Averaging 8 intervals cuts that spread by roughly the square root of 8, to about plus or minus 2.5 BPM.

Common mistakes

Several errors recur when people first work with a click track.

Confusing beats with notes
In 6/8 time the beat is usually a dotted quarter, felt as two pulses per bar, not six clicks. Setting the metronome to click all six eighth notes at a fast tempo can bury the real pulse. Decide what the beat is before you set the BPM.
Rushing between clicks
Playing fast notes early and then waiting for the next click is a classic fault. At 120 BPM a sixteenth note is 125 ms; if you play it at 110 ms you gain 15 ms per note and arrive early. The click will expose it, but only if you listen for the beat you land on, not just the beat you start from.
Trusting one tap
A single tap interval has no way to average out your reaction time. Tap at least 4 times, and prefer 8, before you accept the reading.
Reading loudness as timing
A louder accent does not fall earlier. The accent marks position in the bar, not a shift in time. All clicks in the example above are exactly 500 ms apart regardless of volume.

Related tools

If you need a sustained pitch rather than a pulse, for tuning or for testing a signal path, the Tone Generator plays continuous sine, square, saw, and triangle tones at a frequency you set. For spoken counting or cue tracks, the Text to Speech Playground reads text aloud using your system voices, which pairs well with a click when you want a count-in.

Frequently asked questions

What is a good starting tempo for practice?

Pick the fastest tempo at which you can play the passage with zero mistakes, which is often well below your target. If your goal is 132 BPM and you stumble there, try 100 BPM, confirm it is clean, then raise the tempo 4 to 8 BPM at a time.

How many times should I tap to set the tempo?

At least 4 taps, giving 3 intervals. With 8 taps the random spread in the estimate drops by about a factor of \sqrt{8} \approx 2.83 compared with a single interval, so the reading settles much closer to your intended tempo.

Why does the click stay steady when my browser tab lags?

Clicks are scheduled ahead on the audio hardware clock, which advances at the sample rate independently of page activity. Each click plays within about 23 microseconds of its scheduled time even if the general page timers fire late.

What is the difference between BPM and time signature?

BPM sets how fast the beats come. The time signature sets how beats group into bars and which beat gets the accent. At 120 BPM the clicks are 500 ms apart whether you choose 3/4 or 4/4; the difference is that 3/4 accents every third click and 4/4 accents every fourth.

Can a metronome be too fast to be useful?

Above roughly 240 to 300 BPM the clicks are only 200 to 250 ms apart, and a dense subdivision blurs into a buzz. For fast music it is often clearer to click the half-beat or the bar. At 280 BPM, clicking once per bar in 4/4 gives one click every 4 \times 60 / 280 \approx 0.857 seconds, which is easy to follow.