Song Length from BPM Calculator

Last updated: October 18, 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 — the numbers behind arrangements, DJ sets, and film cues, calculated 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 club classic — 128 bars at 128 BPM in 4/4 — is exactly 4:00. That is the genre's math, not a coincidence.
  • Time signature changes everything: 64 bars in 3/4 runs 25% shorter than 64 bars in 4/4 at the same tempo.
  • 6/8 trap: musicians feel two beats per bar, but this calculator counts six eighth-note beats — know which count the tempo follows.
  • The millisecond readout syncs delays and reverbs to tempo (see the bpm to ms tool).

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 returns the exact duration in minutes, seconds, and milliseconds. Producers plan arrangements with it, DJs time sets, and film composers hit exact timecodes.

A calculated duration differs from a stopwatch measurement in one useful way: it is deterministic — the same three inputs always produce the same duration, because tempo and meter define time mathematically. That makes it the planning tool to reach for before the music exists.

How This Calculator Works

This calculator turns 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. When the DAW 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, 25% shorter — the time signature does real work in the formula.

How to Use This Calculator

  1. Enter the tempo in quarter-note beats per minute (measure it first with BPM tap tempo if unknown).
  2. Pick the time signature — 4/4 for most pop and dance, 3/4 for waltzes, 6/8 for compound feels.
  3. Enter the total 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:

ReadoutWhat it meansUse it for
Total song lengthMinutes and seconds of music.Set planning, radio-edit targets, arrangement checks.
Total exact secondsDuration to two decimals.Video sync, podcast timing, cue sheets.
Total beatsEvery beat in the piece.Sanity-checking the math; loop math.
MillisecondsSample-accurate duration.Tempo-synced delays, reverb pre-delay, editing.
Seconds per barOne bar's duration.Timing drops, fills, and transitions by ear.
Bars per minuteArrangement 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. That arithmetic is why the "standard club track" converged on those numbers: DJs plan sets by the minute, and radio edits (usually 96 bars ≈ 3:00 at 128 BPM) fall out of the same math.

Genre templateBarsBPMLength
House / techno (standard)1281284:00
House / techno (extended)1921286:00
Pop radio edit961283:00
Hip-hop (16-bar verses)80903:33
Drum & bass1281742:57

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

Flow diagram showing how bars, beats per bar, and BPM combine into total song duration.
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), while this calculator counts six eighth-note beats per bar. Both counts are correct — they slice the bar differently — and mixing them up doubles or triples the answer.

Practical rule: when the 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 (not 2 beats at 60), and the duration comes out right. Count the clicks actually heard 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.

TempoQuarter noteDotted eighthOne bar (4/4)
100 BPM600 ms450 ms2,400 ms
120 BPM500 ms375 ms2,000 ms
128 BPM468.75 ms351.56 ms1,875 ms
140 BPM428.57 ms321.43 ms1,714 ms

For the full subdivision chart (triplets, 16ths, dotted values), use the 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: 20–24 tracks per hour for long-blend genres.

Workflow: calculate each candidate track's length here, sum them, then subtract the planned overlap (typically 32 bars ≈ 1 minute per transition at 128 BPM). For the full calculation with transitions and energy curve, use the 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. A reveal at 47.5 seconds with tempo 100 BPM in 4/4 needs bars = (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 so a whole bar count lands on the hit.

This bar-exact thinking builds tempo maps: each cue's duration locks before a note is written, so the climax downbeat lands on the cut. Rehearse the target tempo with the 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

MethodHow it worksBest forWatch out for
This calculatorExact formula from BPM, meter, barsPlanning before music exists; quick checksAssumes constant tempo
DAW timelineMeasures the actual arrangementFinished projects with automationOnly works after composing
Mental mathBars ÷ bars-per-minuteOn-stage estimatesError-prone under pressure
Tap tempo + stopwatchMeasures a real performanceLive bands with tempo driftMeasures one take, not the composition

Durations here come from tempo, meter, and bar count at a constant tempo. Real performances with tempo changes, pickups, or vamps will differ — confirm against the DAW or a stopwatch for critical timing.

Frequently Asked Questions

Multiply bars by beats per bar for total beats, divide by BPM, 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. That arithmetic is why 128 bars at 128 BPM became the default club-track template.

Yes — it sets 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). Enter the time signature actually played in, not the default 4/4.

Tempo decides: bars = (180 seconds × BPM) ÷ (60 × beats per bar). At 120 BPM in 4/4, a 3-minute song holds 90 bars. At 90 BPM the same 3 minutes holds 67.5 bars — slower songs pack fewer bars into identical 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 baked into the export, and reverb tails ringing past the last bar. Match the calculator's assumptions and the numbers agree.

Take the milliseconds readout and divide by the 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. The dedicated BPM-to-milliseconds tool covers dotted and triplet subdivisions.

Divide 60 by the 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 2-minute blends push toward 30; long progressive blends pull toward 15.

Musicians feel two dotted-quarter beats, but the notation holds six eighth notes — and this calculator counts six beats per bar. When the metronome clicks twice per bar at 60 BPM, enter 6 beats at 180 BPM (the eighth-note pulse) for the correct duration.

Yes — run 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 changes the real duration. For mapped tempos, calculate each constant-tempo section with its own bar count and BPM, then add the sections together.