This online metronome plays a steady click from 20 to 300 BPM in any common time signature, with the first beat of each bar accented and optional 8th-note, triplet or 16th-note subdivisions. Press Start (or the Space bar), set the tempo with the slider, the buttons or the arrow keys, and practise. It runs in your browser with nothing to install, and the clicks are generated on the spot, so there is no sound file to download first.
Timing is the part most web metronomes get wrong. A click fired by a JavaScript timer lands whenever the browser gets round to it, often several milliseconds late and much later when the page is busy, which is audible as a wobble. This one hands every click to the Web Audio clock up to a tenth of a second in advance with its exact start time, the way music software does, so the pulse stays sample-accurate. Honest limits: on iPhone and iPad the ring/silent switch mutes web audio, Bluetooth headphones add a delay between the click and what you play, and a browser tab cannot keep running if the phone itself goes to sleep (the page asks the screen to stay on while it plays).
How to use
- Set the tempo: drag the slider, type a number, use the −/+ buttons, the ↑ ↓ arrow keys (Shift for steps of 10), or tap the Tap tempo button in time with a song.
- Choose the time signature and, if you want them, subdivisions (8th notes, triplets or 16th notes).
- Pick a sound and volume; untick the accent if you want every beat the same.
- Press Start or the Space bar. Change anything while it plays; the change applies from the next click.
- Copy the link to save or share this exact setup.
Frequently asked questions
Is this online metronome accurate?
Yes. Each click is scheduled on the Web Audio clock, which runs at the audio sample rate, rather than fired by a JavaScript timer. The scheduler wakes every 25 ms and queues every click due in the next 120 ms with its exact start time, so a busy page delays the queueing, not the click. Tick times are calculated from the start time, not added up click by click, so after 10,000 beats the pulse is still exactly on time.
How does the metronome count 6/8 and 7/8?
In x/8 meters each click is an eighth note and the BPM counts eighth notes, as most metronomes and most odd-meter sheet music do. The groups are accented so you hear the feel: 6/8 as 3+3 (two big beats), 9/8 as 3+3+3, 12/8 as 3+3+3+3, 7/8 as 2+2+3 and 5/8 as 3+2. For 6/8 at a dotted-quarter pulse of 60, set 180 BPM.
What BPM should I practise at?
Start where you can play the passage cleanly every time, often 60–70% of the target tempo, then raise it a few BPM at a time once it is easy. Common reference points: a slow ballad around 60–80 BPM, pop and rock 100–130, house music about 120–128, drum and bass around 170–175. The tempo name under the number (Andante, Allegro…) is the traditional Italian marking for that range.
Why can't I hear the metronome on my iPhone?
On iPhone and iPad, web audio follows the ring/silent switch: if the switch shows orange, the page is muted even though media volume is up. Flip the switch to ring, then press Start again. Also check that the volume slider on the page is not at zero.
Can I use it with headphones?
Wired headphones are fine. Bluetooth headphones add their own delay, typically 100–300 ms, so the click reaches your ears late relative to the beat indicator and to what you play into a microphone. The pulse itself stays steady, so for practising along it still works, but for recording to a click use wired headphones.
Subdivisions and accents: what each setting is for
• Beats only: the pulse. Best once a passage is secure, because you have to place everything between the clicks yourself.
• 8th notes (2 per beat): fills the gap between beats; good for slow tempos below about 60 BPM, where the space between clicks is long enough to rush.
• Triplets (3 per beat): for swing, shuffles and 12/8 feels, and for evening out triplet runs.
• 16th notes (4 per beat): for fast passages, strumming patterns and drum grooves. Subdivision clicks are pitched lower and quieter so the beat still stands out.
• Accented first beat: tells you where the bar starts. Turn it off to practise feeling the downbeat yourself, or when a piece changes meter often.
Tempo markings and their BPM
Italian tempo words were in use long before the metronome existed and were never standardised, so published ranges differ by a few BPM. Typical values: Largo 40–60, Larghetto 60–66, Adagio 66–76, Andante 76–108, Moderato 108–120, Allegro 120–156, Vivace 156–168, Presto 168–200, Prestissimo above 200. The page shows the marking for the current tempo as a guide; follow the composer's metronome mark when there is one.
Why browser metronomes drift, and how this one avoids it
A naive web metronome plays a sound from setInterval every 60,000 ÷ BPM milliseconds. Browsers only promise that such a timer fires no earlier than asked; it fires late whenever the page is busy, and background tabs are throttled to about once a second. The result is clicks that wander by 5–20 ms, enough for a drummer to hear.
This metronome uses the two-clock approach described by Chris Wilson in "A Tale of Two Clocks": a JavaScript timer, run in a Web Worker so background throttling hits it less, only decides which clicks are due soon; each click is then started by the audio hardware's own clock at a precise time. Changing the tempo re-anchors the timeline at the next click, so there is never a gap or a double click.
