Song Length from BPM Calculator

Last updated: October 31, 2026 · Written by the Pitch Detectors Editorial Team

A song length calculator turns musical structure into clock time: enter tempo (BPM), time signature, and bar count to get exact duration in minutes, seconds, and milliseconds. Plan arrangements, DJ sets, and film cues before a single note is recorded.

Quarter notes per minute
Beats in each bar
Total bars in arrangement
Quick Bar Presets:
Calculated Total Song Length
4 min 00 sec
Total Exact Seconds
240.00 s

Total Beats
512 beats
Milliseconds
240,000 ms
Seconds / Bar
1.88 s/bar
Bars / Minute
32.0 bars/min

Key Takeaways

  • Song length = (bars × beats per bar ÷ BPM) × 60 seconds. Three inputs, one exact answer.
  • The classic club track — 128 bars at 128 BPM in 4/4 — is exactly 4:00. That is not a coincidence; it is the math behind the genre.
  • Time signature changes everything: 64 bars in 3/4 is 25% shorter than 64 bars in 4/4 at the same tempo.
  • Watch 6/8 time: conductors count it in 2 beats, but this calculator counts 6 eighth-note beats per bar — know which one you need.
  • The millisecond readout is not trivia — it is how you sync delays and reverbs to tempo (bpm to ms).

What Is a Song Length Calculator?

A song length calculator converts musical structure into clock time: given a tempo (BPM), a time signature, and a bar count, it tells you exactly how long the music lasts in minutes, seconds, and milliseconds. Producers use it to plan arrangements, DJs use it to time sets, and film composers use it to hit exact timecodes.

Unlike a stopwatch measurement, the calculation is deterministic — the same three inputs always give the same duration, because tempo and meter define time mathematically. That makes it the planning tool you reach for before the music exists.

How This Calculator Works

This calculator turns your three inputs into total beats, then converts beats to seconds with one division. The exact method running in the widget above:

  1. Total beats = measures (bars) × beats per measure from the time signature.
  2. Seconds = (total beats ÷ BPM) × 60 — because BPM means beats per minute.
  3. Milliseconds = seconds × 1,000, for sample-accurate and effect-sync work.
  4. Seconds per bar and bars per minute are derived from the same numbers for quick reference.

BPM here means quarter-note beats per minute — the standard metronome convention. If your DAW's tempo reads 128, enter 128.

Song Length Formula and Worked Example

The complete formula, with units made explicit:

duration (seconds) = (bars × beats per bar ÷ BPM) × 60

Worked example — the classic club track: 128 bars, 4/4 time, 128 BPM.

  1. Total beats: 128 bars × 4 beats = 512 beats.
  2. Minutes of beats: 512 ÷ 128 BPM = 4.0 minutes.
  3. Seconds: 4.0 × 60 = 240.0 seconds = 4:00 exactly.

Second example — a waltz: 64 bars, 3/4 time, 90 BPM → 64 × 3 = 192 beats → 192 ÷ 90 × 60 = 128 seconds (2:08). Same bar count as a 4/4 track, but 25% shorter — the time signature is doing real work in the formula.

How to Use This Calculator

  1. Tempo (BPM): enter the track's tempo in quarter-note beats per minute (tap it with our BPM tap tempo if you don't know it).
  2. Time signature: pick the beats per measure — 4/4 for most pop and dance, 3/4 for waltzes, 6/8 for compound feels.
  3. Total measures (bars): enter the bar count, or tap a quick preset (32, 64, 96, 128, 192 bars).
  4. Read the dashboard: total time, exact seconds, total beats, milliseconds, seconds per bar, and bars per minute update instantly.

Reading Your Result

Each readout answers a different production question:

Readout What it means Use it for
Total song length Minutes and seconds of music. Set planning, radio-edit targets, arrangement checks.
Total exact seconds Duration to two decimals. Video sync, podcast timing, cue sheets.
Total beats Every beat in the piece. Sanity-checking the math; loop math.
Milliseconds Sample-accurate duration. Tempo-synced delays, reverb pre-delay, editing.
Seconds per bar One bar's duration. Timing drops, fills, and transitions by ear.
Bars per minute Arrangement density. Estimating how fast an arrangement "moves."

The 128-Bar Rule: Why Club Tracks Land on 4:00

A 128-bar arrangement at 128 BPM in 4/4 lasts exactly 240.0 seconds — four minutes on the nose. This is why the "standard club track" converged on those numbers: the math is clean, DJs can plan sets by the minute, and radio edits (usually 96 bars ≈ 3:00 at 128 BPM) fall out of the same arithmetic.

Genre template Bars BPM Length
House / techno (standard) 128 128 4:00
House / techno (extended) 192 128 6:00
Pop radio edit 96 128 3:00
Hip-hop (16-bar verses) 80 90 3:33
Drum & bass 128 174 2:57

If your arrangement must hit a target length, work the formula backwards: bars needed = (target seconds × BPM) ÷ (60 × beats per bar).

PROCESS WORKFLOW Alt text: Flow diagram showing how bars, beats per bar, and BPM combine into total song duration. 1 the song-length formul.. 2 total beats 3 ÷ BPM × 60 4 clock time the song-length formula as a pipeline — bars × beats per bar → total beats → ÷ BPM × 60 → clock
Alt text: Flow diagram showing how bars, beats per bar, and BPM combine into total song duration.

The 6/8 Trap: Compound Meter Counts Differently

In 6/8 time, musicians feel two beats per bar (two dotted-quarter notes), but this calculator counts six eighth-note beats per bar. Both are correct — they just slice the bar differently — and mixing them up doubles or triples your answer.

Practical rule: if your metronome clicks twice per bar on a 6/8 groove and reads 60 BPM, the eighth-note pulse is 180 BPM. Enter 6 beats per bar at 180 BPM in the calculator (not 2 beats at 60), and the duration comes out right. When in doubt, count the clicks you actually hear and match the BPM to that pulse.

Milliseconds Are a Musical Tool, Not Trivia

Tempo-synced delay and reverb times come straight from the milliseconds-per-bar readout. A quarter-note delay at 128 BPM is 468.75 ms; a dotted-eighth is 351.56 ms. Dial those numbers into any delay plugin for echoes that sit exactly on the grid.

Tempo Quarter note Dotted eighth One bar (4/4)
100 BPM 600 ms 450 ms 2,400 ms
120 BPM 500 ms 375 ms 2,000 ms
128 BPM 468.75 ms 351.56 ms 1,875 ms
140 BPM 428.57 ms 321.43 ms 1,714 ms

For the full subdivision chart (triplets, 16ths, dotted values), use our dedicated BPM to milliseconds tool.

Planning a Whole DJ Set by the Numbers

Set arithmetic starts with average track length. A 60-minute set of 4-minute tracks needs about 15 tracks — but DJs mix out before the outro, so budget roughly 2.5–3 minutes of audible time per track, which means 20–24 tracks per hour for long-blend genres.

Workflow: calculate each candidate track's length with this tool, sum them, then subtract your planned overlap (typically 32 bars ≈ 1 minute per transition at 128 BPM). For the full calculation including transitions and energy curve, use our DJ set length calculator.

[Infographic: a 60-minute DJ set timeline showing 20 tracks with 32-bar overlaps between them]
Alt text: Timeline infographic of a 60-minute DJ set built from 4-minute tracks with 32-bar transition overlaps.

For Film Scorers: Hitting the Timecode

Film cues work backwards from a hit point. Suppose a reveal lands at 47.5 seconds and your tempo is 100 BPM in 4/4: bars needed = (47.5 × 100) ÷ (60 × 4) = 19.79 bars. Write 20 bars (48.0 s) and trim the half-second, or nudge tempo to 101 BPM for 20.0 bars.

This bar-exact thinking is also how tempo maps are built: each cue's duration is locked before a note is written, so the downbeat of the climax lands on the cut. Practice the target tempo with our online metronome before recording.

Limitations

  • Constant tempo assumed. Ritardandos, accelerandos, and tempo automation make real performances longer or shorter than the calculation — the tool models a fixed BPM.
  • Pickup bars (anacrusis) are not counted. A 4-beat pickup before bar 1 adds time the bar count misses; add it manually.
  • Swing and groove don't change the math — swung eighth notes still occupy the same total duration — but they change how the time feels.
  • Fermatas and vamps: held notes and repeated-until-cue sections have no fixed bar count; estimate them separately.

Song Length Calculator vs Alternatives

Method How it works Best for Watch out for
This calculator Exact formula from BPM, meter, bars Planning before music exists; quick checks Assumes constant tempo
DAW timeline Measures the actual arrangement Finished projects with automation Only works after composing
Mental math Bars ÷ bars-per-minute On-stage estimates Error-prone under pressure
Tap tempo + stopwatch Measures a real performance Live bands with tempo drift Measures one take, not the composition

Durations are calculated from tempo, meter, and bar count assuming a constant tempo. Real performances with tempo changes, pickups, or vamps will differ — always confirm against your DAW or a stopwatch for critical timing.

Frequently Asked Questions

Multiply bars by beats per bar to get total beats, divide by BPM, and multiply by 60: seconds = (bars × beats per bar ÷ BPM) × 60. For 128 bars of 4/4 at 128 BPM: (128 × 4 ÷ 128) × 60 = 240 seconds, exactly 4 minutes.

Exactly 4 minutes (240.0 seconds) in 4/4 time. The numbers cancel neatly: 128 × 4 = 512 beats, and 512 ÷ 128 = 4 minutes. This is why 128 bars at 128 BPM became the default club-track template.

Yes — it changes the beats-per-bar multiplier. At the same tempo, 64 bars of 3/4 (192 beats) runs 25% shorter than 64 bars of 4/4 (256 beats). Always enter the time signature you are actually playing in, not just the default 4/4.

It depends on tempo: bars = (180 seconds × BPM) ÷ (60 × beats per bar). At 120 BPM in 4/4, a 3-minute song has 90 bars. At 90 BPM, the same 3 minutes holds only 67.5 bars — so slower songs pack fewer bars into the same clock time.

Four usual culprits: tempo automation (the DAW follows a tempo curve, the calculator assumes one BPM), pickup bars before bar 1, count-in clicks included in the export, and reverb tails ringing past the last bar. Match the calculator's assumptions — or measure the DAW's actual tempo map — and the numbers agree.

Read the milliseconds readout and divide by your bar count, or compute directly: ms per bar = (60,000 ÷ BPM) × beats per bar. At 128 BPM in 4/4, one bar is 1,875 ms and a quarter-note delay is 468.75 ms. Use the dedicated BPM-to-milliseconds tool for dotted and triplet subdivisions.

Divide 60 by your average audible minutes per track. With 4-minute tracks and 1-minute transition overlaps, each track occupies about 3 audible minutes — roughly 20 tracks per hour. Faster mixing (2-minute blends) pushes that toward 30; long progressive blends pull it toward 15.

Musicians feel it as two dotted-quarter beats, but the notation contains six eighth notes — and this calculator counts six beats per bar. If your metronome clicks twice per bar at 60 BPM, enter 6 beats at 180 BPM (the eighth-note pulse) to get the correct duration.

Yes — work the formula backwards. For a hit at 47.5 seconds in 100 BPM 4/4: bars = (47.5 × 100) ÷ (60 × 4) = 19.79 bars. Write 20 bars (48.0 s) and trim the tail, or adjust tempo slightly so a whole bar count lands exactly on the hit.

Yes — the formula assumes one constant BPM. A ritardando, accelerando, or DAW tempo automation makes the real duration differ. For mapped tempos, calculate each constant-tempo section separately with its own bar count and BPM, then add the sections together.