
To convert milliseconds to BPM, divide 60,000 by the millisecond value — when that value is the length of one quarter note. A 500 ms beat is 120 BPM; a 375 ms beat is 160 BPM. If your millisecond figure is a different note value, account for that first.
A minute is 60,000 milliseconds, so the number of quarter-note beats per minute is 60000 ÷ (ms per beat). The whole conversion is that one division — the only trick is making sure the millisecond value you start with really is one beat.
| Milliseconds | BPM |
|---|---|
| 1000 | 60 |
| 600 | 100 |
| 500 | 120 |
| 469 | 128 |
| 375 | 160 |
| 345 | 174 |

A loop rarely lasts exactly one beat — it is usually one, two, or four bars. So measure its full length in milliseconds, work out how many beats it contains, and divide to get the per-beat time before converting.
Example: a loop is 2,000 ms long and covers one bar of 4/4. That is 2000 ÷ 4 = 500 ms per beat, and 60000 ÷ 500 = 120 BPM. A converter does the division for you once you know the per-beat figure.
Going the other way — from a known tempo to delay and modulation times — is just as common when you are setting up effects. The math is the mirror image: 60,000 divided by the BPM gives the quarter-note length in milliseconds.
Divide 60,000 by the millisecond value, treating that value as the length of one quarter-note beat. A 500 ms beat is 120 BPM and a 375 ms beat is 160 BPM.
Measure the loop length in milliseconds, count how many beats it spans, and divide the length by the beats to get the per-beat time. Then divide 60,000 by that per-beat figure. A 2,000 ms one-bar 4/4 loop is 120 BPM.
When a delay unit, sample length, or loop gives you a millisecond value and you need the tempo behind it — for matching a sample to a session, or reverse-engineering a delay setting from a reference track.
They are inverses. BPM to ms turns a tempo into note-length times for effects; ms to BPM turns a measured time back into a tempo. Both use the constant 60,000 milliseconds in a minute.