Sample Offset Calculator | Samples, ms, Frames & Beats

Sample Offset Calculator

Convert any audio sample offset into milliseconds, seconds, video frames and musical beats at your chosen sample rate, frame rate and tempo – all in one pass

🎛 Quick Presets
🏛 Offset Inputs
Offset in Samples
samples
Offset in Milliseconds
ms
Offset in Video Frames
frames
Offset in Beats
beats

Full Conversion Breakdown

Chosen input
Sample rate
Base offset in samples
ms = samples / rate × 1000
seconds = samples / rate
frames = seconds × fps
samples per beat = rate × 60 / BPM
beats = samples / samplesPerBeat
acoustic distance = sec × speed
📐 1 ms @ 48k Spec Grid
48
Samples = 1 ms @48k
2000
Samples = 1 Frame 24fps
24000
Samples / Beat @120
48000
Samples = 1 Sec @48k
📊 Milliseconds to Samples by Sample Rate
Time44.1 kHz48 kHz96 kHz192 kHz
1 ms44.14896192
5 ms220.5240480960
10 ms4414809601920
100 ms44104800960019200
1 second441004800096000192000
🎼 Samples per Beat at Common Tempos (48k)
BPMSamples / Beatms / Beat1/8 Note (samp)
9032000666.6716000
10028800600.0014400
12024000500.0012000
12822500468.7511250
14020571.4428.5710285.7
17416551.7344.838275.9
🎬 Frame to Samples at Common Frame Rates (48k)
Frames24 fps25 fps30 fps
1 frame200019201600
10 frames200001920016000
30 frames600005760048000
1 sec @ fps480004800048000
ms / frame41.66740.00033.333
📏 Acoustic Distance Offset (speed 343 m/s, 48k)
DistanceDelay (ms)SamplesFrames 24fps
1 m2.915139.90.070
3 m8.746419.80.210
10 m29.1551399.40.700
34.3 m100.004800.02.400
100 m291.5513994.26.997
💡 Pro Tips
Samples from milliseconds: The core formula is samples = ms × sampleRate / 1000, so at 48 kHz one millisecond equals exactly 48 samples and ten milliseconds equals 480 samples. Reverse it with ms = samples / sampleRate × 1000.
Samples per beat: One beat spans samplesPerBeat = sampleRate × 60 / BPM samples, which at 120 BPM and 48 kHz is 24000 samples per quarter note. Halve it for eighths, quarter it for sixteenths to line up edits to the grid.

If you’ve ever struggled as an audio engineer to get everything lined up perfectly in your digital audio workstation, only to find that it doesn’t sound right during playback, then you’re not alone. What many audio engineers discover is that visual grid on the screen isn’t necessarily aligned with rhythm of music. For example, if you’re trying to measure your monitor latency or sync audio to video, this can be partcularly frustrating.

The reason behind this misalignment is that we measure time in discrete data points. Depending on how fast (or slow) your music is moving and what sample rate you’re recording at, these values fluctuates.

How to Fix Audio Timing Errors

First, decide how you want to divide up your audio for the beat and specify your desired frame rate and rate (for example, the default video rate is 48kHz, so there are 48,000 samples in a second). The sample offset calculator then does the rest of math for you. It converts raw sample numbers into something easier to understand, like musical beats or seconds and milliseconds.

For example: You may be aware that at typical 48 kHz video rate, there are 48,000 samples per second. But at various settings within a given project, you might assume every millisecond is an even number of samples, and that’s where rounding error can cause all sorts of problems with drift. Enter the sample offset calculator, filling that gap.

In terms of accuracy, it’s important to understand how sample rate affect time resolution. That means that at 44.1 kHz, there are approximately 44.1 samples in one millisecond. You can’t have fractions of a sample, so over longer periods, rounding errors adds up. This is why video pros care about accurate frame rates.

With 24 fps film stock, a frame duration is about 41.67 milliseconds. When you convert that to audio samples using 48 kHz, you end up with exactly 2,000 samples per frame. Because of that certainty, you’re able to make precise cuts to your audio on frame boundaries which eliminates any visible sync drift or audible clicks. It is a small detail, but it’s incredibely important when delivering professionally.

Timing also complicates music because beats aren’t equal to seconds. A beat at 120 BPM equals 0.5 seconds; at 90 BPM, the same beat is 0.6666 seconds. That equals 24,000 samples at 48 kHz. If you drop tempo to 90 BPM, that same quarter note stretchs to 32,000 samples.

To make things easy, this calculator has switches for whole, half, and sixteenth notes. Then you can visualize what amount of data is contained within each rhythmic division. For example, if you’re measuring the quantization error on an instrument or vocal recording, knowing how many samples something is will help you understand the impact. That’s the kind of small latency that requires compensation.

Convert 1,500 samples into units of time, and suddenly it doesn’t sound so abstract. A delay of 1,500 samples at 48 kHz amounts to approximately 31 milliseconds. In normal room conditions, sound travels about one meter in just under three milliseconds. So a 1,500-sample delay is literally like being a few meters away from your speakers. This makes it easier for engineers to imagine what a microphone-delaying phase issue sounds like when they’re trying to sum multiple microphone together.

On the page are some handy reference tables for common scenarios like comparing sample count at different rates, ie 96 vs 44.1 kHz. You’ll see that for every second of audio, there’s twice as many samples (and thus twice the processing load) at double resolution. That impacts your buffer sizes, too. Doubling resolution increase accuracy of time by a factor of two, but it requires more out of your computer. Learning to balance all this is part of workflow.

The calculator above does the math for you. It helps ensure your edits land on exact frame or beat boundary you want. In audio, precision isn’t usually about whether you can hear one sample better than another; it’s about knowing where the samples are so that you should of known exactly where to put an edit with confidence and consistency.

Sample Offset Calculator | Samples, ms, Frames & Beats

Leave a Comment