Online Metronome
Keep precise tempo to practice any instrument. 100% in your browser, nothing to install.
beats per minute (BPM)
Built by
Miguel Ángel Colorado Marin (MACM)
Built by
Miguel Ángel Colorado Marin (MACM)
Full-Stack Developer · Guadalajara, España
I develop web apps, digital tools and full projects — from design to deployment.
The online metronome keeps the beat so you can practice any instrument without relying on a separate app. Set the tempo between 1 and 1000 beats per minute (BPM) with the slider or the plus and minus buttons, choose a time signature from 2/4 to 8/4 so the first beat of each bar sounds accented, and follow the visual indicator while you play. If you don't know a song's tempo, tap tempo along with what you hear: from the second tap on, the metronome calculates the BPM from the average of your last intervals. Clicks are scheduled with the Web Audio API on the browser's audio clock, with no sound file involved.
Features
- ✓From 1 to 1000 BPM
- ✓Time signatures from 2/4 to 8/4
- ✓Accent on the first beat (1500 Hz against 900 Hz)
- ✓Tap tempo: calculates the BPM from your taps
- ✓Visual beat indicator
- ✓100% in browser
How to use the metronome?
- 1
Adjust the tempo
Move the slider or use the plus and minus buttons to change the BPM one step at a time.
- 2
Choose the time signature
Select how many beats each bar has, from 2/4 to 8/4.
- 3
Press Start
The metronome starts playing and the visual indicator marks each beat.
- 4
Or use Tap tempo
Tap along to the rhythm you hear several times in a row to calculate the BPM automatically.
How the clicks are scheduled
The metronome does not rely on the browser's regular timers for its sound. Every 25 milliseconds, a timer checks which clicks are missing and schedules every one that falls in the next 0.1 seconds on the browser's audio clock. Each click is a 50-millisecond sine tone whose volume fades out exponentially. The first click sounds 50 milliseconds after you press Start, giving the audio engine time to start.
Each beat lasts 60 divided by the BPM, so the tempo counts quarter notes. The first beat of the bar uses 1500 Hz at a gain of 0.5, and the other beats use 900 Hz at a gain of 0.3. The indicator dots light up as each click sounds, with as many dots as beats in the bar. If you change the tempo while it plays, the new value applies to the clicks scheduled from then on.
Tap tempo step by step
The tool keeps the last six taps. With two or more, it averages the intervals between them, converts the average to BPM by dividing 60,000 by the milliseconds and rounds to the nearest whole number, limited to the range from 1 to 1000 BPM. If more than 2.5 seconds pass without a tap, the series starts again. Tapping does not start or stop the metronome; it only changes the BPM.
For a stable result, tap at least four times on the pulse of the song. Only the most recent intervals are used, so each new tap replaces the oldest one. Because it only measures your taps, it does not analyze the audio of the song: the BPM comes from your rhythm and will be as accurate as your timing.
Range, time signatures and limits
The tempo goes from 1 to 1000 BPM with the slider, the ±1 buttons and tap tempo. Tempos from classical terminology, such as Largo or Presto, fall within that range. Time signatures run from 2/4 to 8/4 and the quarter note is always the unit: the selector changes how many clicks each bar has, and only the first beat is accented. There are no compound meters such as 6/8 and no subdivisions.
The audio context is created the first time you press Start, because browsers require a user action before playing sound. Stop cancels new clicks, but those already scheduled, up to 0.1 seconds ahead, still sound. There is no volume control of its own: adjust the system volume. Settings are not saved between visits, and the audio context is closed when you leave the page.
Frequently asked questions
Do I need a connection for it to play?
No. The clicks are generated by the Web Audio API in your browser, and nothing is sent to any server while the metronome plays. The page does need to load the first time.
What is tap tempo?
It is a way to calculate BPM by tapping along to the rhythm you hear: the metronome measures the time between your last taps (up to six) and calculates the average tempo. If more than 2.5 seconds pass without a tap, it starts over.
Why does the first beat sound different?
It is accented: it sounds at 1500 Hz and a little louder, compared with 900 Hz for the other beats, so you always know where each bar starts, just like on a physical metronome.
What BPM range does it support?
From 1 to 1000 BPM. The slider, the ±1 buttons and tap tempo all use the same range. Tempos from classical terminology, such as Largo or Presto, fall within it.
Can I use time signatures such as 6/8?
No. Every bar is counted in quarter notes (1/4), and the selector goes from 2/4 to 8/4. Compound meters such as 6/8 have no dedicated mode.
Related tools
Embed Online Metronome on your site
Add Online Metronome to any web page with a simple iframe. Free, with attribution to miguelacm.es.
<iframe
src="https://miguelacm.es/embed/metronome?locale=en"
width="100%"
height="700"
frameborder="0"
allow="clipboard-write"
title="Online Metronome — miguelacm.es"
></iframe>View embed in new tab →