Metronome Math Calculator

Turn BPM and a bar count into exact beat, bar and total durations.

Ad placeholder (leaderboard)

A precise timing calculator for composers scoring to picture, video editors cutting to music, DJs planning transitions, and anyone who needs to know exactly how long a passage of music will take at a given tempo.

How it works

The arithmetic rests on one fact: at a tempo of BPM beats per minute, a single beat lasts 60 ÷ BPM seconds, because there are 60 seconds in a minute shared across BPM beats.

From there:

beat duration  = 60 / BPM
bar duration   = beat duration × beats-per-bar
total time     = bar duration × number-of-bars

At 120 BPM in 4/4: a beat is 0.5 s, a bar is 0.5 × 4 = 2 s, and 32 bars run 2 × 32 = 64 s (1:04).

Reverse mode — finding the tempo

Sometimes you know the time you need to fill and the number of bars, and you want the tempo. Rearranging the formula:

total beats = beats-per-bar × bars
BPM         = (total beats × 60) / total seconds

So to fit 16 bars of 4/4 into exactly 30 seconds you need (64 × 60) / 30 = 128 BPM. This is how editors lock a music bed to a fixed cue length.

Tips and notes

  • BPM counts the denominator note of the time signature, so the beat duration is independent of whether you are in 4/4, 3/4 or 6/8 — only the bar length (via beats-per-bar) changes.
  • For compound meters you can count either the small subdivision (6 eighths in 6/8) or the larger dotted-beat pulse (2 dotted quarters); pick the convention that matches how your metronome is set.
  • The total-time figure assumes a single constant tempo. For pieces with tempo changes, calculate each section separately and add the results.

Everything runs locally in your browser; nothing is sent to any server.

Ad placeholder (rectangle)