BPM Delay Time Calculator

Tempo to delay times, exactly.

  • Dotted and triplet
  • Samples at any rate
  • Exact fractions
A small rounded clay stage with a soft clay drum and a trail of rounded echo rings fading into the distance in soft daylight.

The guide

A delay time is a fraction of a beat, exact until a whole number of samples gets in the way

Tempo turns into delay time by one division and a few fractions. The sums stay exact on paper, and the only rounding that matters is the one a digital buffer forces on you.

  • 500 ms a quarter note at 120 beats per minute
  • 375 ms a dotted eighth at 120 beats per minute
  • 500/3 ms an eighth triplet at 120 beats per minute, exactly
  • 16537.5 samples in a dotted eighth at 120 BPM and 44,100 Hz
  • 60000 milliseconds in a minute, where every result starts
Read the full guide Fold the guide 8 min · 17 sources

At 120 beats per minute a quarter note lasts 500 milliseconds. Anyone who has set a delay time by hand has done that sum, and the shortcut is to round the answer. A rounded number is usually close enough that nothing sounds wrong. It is also, by a small and steady margin, not the tempo you set, and the gap grows with every repeat.

The sum is short. A minute holds 60,000 milliseconds, so one beat lasts 60000 divided by the tempo. The tempo page measures tempo in beats per minute: 60 of them signify one beat per second, and 120 signify two beats every second. Everything else is a fraction of that one beat. Those fractions are where most mistakes live. A dot adds half. A triplet squeezes three notes into the time of two. A delay line, finally, stores whole samples, and most delay times do not come out as a whole number of them. Each step is simple, and each is exact until somebody rounds.

From beats per minute to milliseconds

The beat page calls the beat the basic unit of time in music, the pulse a listener would tap a toe to. Which note value gets the beat is a matter of notation. The tempo page says it is typically the note value given by the denominator of the time signature, so in 4/4 the beat is a quarter note. The time signature page adds that the lower numeral is a power of 2: 2 for a half note, 4 for a quarter, 8 for an eighth, 16 for a sixteenth.

A calculator has to pick one convention, and the page here picks the common one: the beat is a quarter note, always. A note value 1/N of a whole note then lasts 4/N beats. A whole note is four beats, a half note two, a quarter note one, an eighth note half a beat. The note value page lists the series down to the sixty-fourth note, 1/64 of a whole note.

At 120 beats per minute one beat is 500 ms, and the series reads 2000, 1000, 500, 250, 125, 62.5 and 31.25 ms from the whole note down to the sixty-fourth. Nothing is rounded anywhere in that line. Change the tempo to 128 and the beat becomes 468.75 ms, still exact, because 60000 divided by 128 stops after two decimals.

The metronome page describes the instrument behind the unit: a device that produces a click at a uniform interval the user sets, typically in beats per minute. It reports a patent of 1815 for a mechanical version, and notes that a metronome may add visible motion such as a swinging pendulum. The page here borrows that idea for its picture.

What a dot and a triplet do

The dotted note page says that in modern practice the dot increases a note’s duration by half of its value, so a dotted note equals the original note tied to a note of half the value. That is a factor of 3/2. A dotted eighth at 120 beats per minute is an eighth of 250 ms plus a sixteenth of 125 ms, which makes 375 ms. The same page warns that performed dots are sometimes longer or shorter than the notation says, practices called over-dotting and under-dotting. A calculator has no use for that. It applies the mathematical value, 3/2, and leaves the interpretation to the player.

A triplet works the other way. The tuplet page defines the most common tuplet as the triplet: three notes in the time normally taken by two. Three triplet quarter notes fill the time of a half note, so a triplet quarter lasts 2/3 of a standard quarter. Three triplet eighth notes equal one quarter note. Every value under the bracket is reduced to 2/3 of its length.

Apply that to 120 beats per minute and an eighth triplet is 250 ms times 2/3, which is 500/3 ms. As a decimal that is 166.666 and the sixes never end. Written to six places it is 166.666667, and the last digit is a rounding, not a measurement.

Rounding early is how triplet delays drift. Take 166.67 ms, a fair-looking two-place value. Three of them make 500.01 ms, a hundredth of a millisecond over the quarter note they were meant to fill. The difference is 0.0033 ms per repeat, and after 300 repeats it reaches a whole millisecond. Keeping the fraction costs nothing and removes the drift.

Delay time, repeat rate and the oscillator

The delay page describes the effect plainly. A delay records the input to a storage medium and plays it back after a period of time. Mixed with the live sound it gives an echo, and if the delayed signal is played back several times or fed back into the recording, the echo repeats and decays. Most delays let you set the delay time, the time between each playback. They may also be synchronized to a tempo, so that the time is set as a division of the beat.

Scale matters. The same page says delays of thirty to fifty milliseconds are the most common doubling echo, and longer times become slapback. A quarter note at 120 beats per minute, 500 ms, is ten times the top of that range. The shortest value on this page, a sixty-fourth triplet at 400 beats per minute, is 6.25 ms, far below it.

Time and rate describe one fact. The hertz page says the unit is often described as one event, or cycle, per second, and that the time between events, the period, is given by 1 divided by the frequency. A delay of 500 ms therefore repeats at 2 Hz, and one of 375 ms repeats at 2.667 Hz, because 1000 divided by 375 is 2.6667. The page lists that rate beside the milliseconds as the setting for a low-frequency oscillator with the same period.

The oscillator page puts the usual range of a low-frequency oscillation below 20 Hz, used to modulate an instrument for effects such as vibrato, tremolo and phasing. That is worth remembering when reading the Hz column. Rates below 20 Hz are oscillator territory. The 160 Hz of the shortest row, at 400 beats per minute, is an ordinary audio frequency, not a slow wobble.

The 3D pendulum on the page takes its period from this table. The pendulum page defines the period as the time taken for a complete cycle, so one full swing, out and back, lasts one delay. A real pendulum with a 500 ms cycle would be about 6.2 cm long, using the small-swing formula 2 pi times the square root of length over gravity. The rod on the page changes length for the picture only. Periods under 500 ms are drawn slowed down, and the page says by how much.

Why a sample count has to be a whole number

A digital delay works on samples. The sampling page defines the sampling rate as the average number of samples taken in one second, so 48 kHz means 48,000 samples a second. It lists 44.1 kHz, 48 kHz, 88.2 kHz and 96 kHz as typical for audio that covers the range of human hearing. The compact disc page gives 44,100 Hz for the audio disc.

The delay page describes a digital delay as sampling the input, passing it through a memory buffer and recalling it a short time later. A buffer of samples is addressed one whole sample at a time. In the Web Audio interface the delay time of a delay node is given in seconds, and an audio context reports its sample rate in samples per second, so an engine has to turn one into the other by multiplication.

That multiplication is where the trouble starts. A dotted eighth at 120 beats per minute lasts 375 ms. At 48,000 Hz that is 375 times 48, or 18,000 samples, which is whole. At 44,100 Hz it is 16537.5 samples. Half a sample cannot be stored. What happens next depends on the engine, which may round or may interpolate between neighbours, and this page does not know which yours does.

If the buffer rounds, it does so to the nearest sample, and the exact half has to go somewhere. The rounding page names one tie-breaking rule, round half up, in which a half-way value always goes up. Here that gives 16,538 samples, half a sample over the exact figure. In time the error is 0.5 divided by 44.1 kHz, about 11 microseconds. A loop that always rounds the same way repeats the same error each pass, so after ten repeats it has grown to five samples.

Whole samples and tidy decimals are separate questions. The eighth triplet of 500/3 ms has a decimal that never ends, yet at 120 beats per minute it is exactly 7,350 samples at 44.1 kHz and exactly 8,000 at 48 kHz. The 351.5625 ms of a dotted eighth at 128 beats per minute is a short decimal, and still gives 15503.90625 samples at 44.1 kHz, though 16,875 at 48 kHz. The tool shows both the decimal and the whole-sample check for that reason.

What the arithmetic leaves out

The quarter-note convention has limits. The time signature page notes that in compound meters the beat is usually a dotted note value worth three of the signature’s note values. If your session counts a dotted quarter as the beat and says 60, each beat lasts 1000 ms and a quarter note lasts two thirds of that, 666.667 ms. On this page that is a tempo of 90. Convert first, then read the table.

Swing and groove are outside it too. The metronome page says markings on sheet music cannot accurately communicate pulse, swing or groove, and a fixed grid is a fixed grid. The table gives the straight mathematical values, plus the dotted and triplet forms, and nothing in between.

Some limits are only caps. The tempo field accepts 20 to 400 beats per minute and the sample rate 8,000 to 384,000 Hz. The reverse panel turns a delay of up to ten minutes into a tempo and says plainly when the answer falls outside that range. Lists of up to 500 values run in a worker, a background thread that, as the web workers page puts it, keeps laborious processing off the main thread so the page stays responsive.

The tool does not find a tempo, add an echo to a recording or model feedback and filtering. It answers one narrow question, how long and how many samples, and answers it as a fraction first. Set the tempo, read the exact value, and decide whether your gear wants milliseconds, hertz or a sample count before you copy a number across.

Sources

Every source consulted for this guide. Links checked November 10, 2026.

  1. Tempo - Wikipedia Wikipedia (CC BY-SA)
  2. Dotted note - Wikipedia Wikipedia (CC BY-SA)
  3. Tuplet - Wikipedia Wikipedia (CC BY-SA)
  4. Note value - Wikipedia Wikipedia (CC BY-SA)
  5. Beat (music) - Wikipedia Wikipedia (CC BY-SA)
  6. Time signature - Wikipedia Wikipedia (CC BY-SA)
  7. Metronome - Wikipedia Wikipedia (CC BY-SA)
  8. Delay (audio effect) - Wikipedia Wikipedia (CC BY-SA)
  9. Low-frequency oscillation - Wikipedia Wikipedia (CC BY-SA)
  10. Sampling (signal processing) - Wikipedia Wikipedia (CC BY-SA)
  11. Compact Disc Digital Audio - Wikipedia Wikipedia (CC BY-SA)
  12. Hertz - Wikipedia Wikipedia (CC BY-SA)
  13. Pendulum - Wikipedia Wikipedia (CC BY-SA)
  14. Rounding - Wikipedia Wikipedia (CC BY-SA)
  15. Web Workers API - Web APIs | MDN MDN Web Docs (CC BY-SA)
  16. DelayNode: delayTime property - Web APIs | MDN MDN Web Docs (CC BY-SA)
  17. BaseAudioContext: sampleRate property - Web APIs | MDN MDN Web Docs (CC BY-SA)