Convert samples to milliseconds with milliseconds = samples ÷ sample rate × 1,000. Convert back with samples = milliseconds × sample rate ÷ 1,000. Keep the rate in samples per second. The same sample count represents different durations at 44.1, 48 or 96 kHz.
This conversion is useful for reading buffer settings, plug-in reports, waveform offsets and analysis windows. It translates units; it does not measure the complete delay of a sound system. First identify what the count represents.
Use hertz or kilohertz consistently
At 48,000 samples per second, 240 samples last 240 ÷ 48,000 = 0.005 seconds, or 5 ms. If the rate is written as 48 kHz, the shortcut is 240 ÷ 48 = 5 ms. Do not divide by 48,000 and then forget the conversion from seconds.
A factor-of-one-thousand error can turn a small offset into an implausibly large one. Write the units on an intermediate line when the result will be used in an editor or support request.
The sample-rate and latency guide explains why the rate belongs with every sample-based timing statement. A number such as “256” without its rate and context is incomplete.
A table for common sample counts
| Samples | 44.1 kHz | 48 kHz | 96 kHz |
|---|---|---|---|
| 64 | 1.451 ms | 1.333 ms | 0.667 ms |
| 128 | 2.902 ms | 2.667 ms | 1.333 ms |
| 256 | 5.805 ms | 5.333 ms | 2.667 ms |
| 512 | 11.610 ms | 10.667 ms | 5.333 ms |
| 1,024 | 23.220 ms | 21.333 ms | 10.667 ms |
Every entry uses the same formula. Rounding the display does not change the underlying sample count. When applying an exact edit, use the editor’s sample-based position where available rather than repeatedly converting a rounded millisecond value back and forth.
Convert milliseconds back to sample positions
At 48 kHz, 7.5 ms corresponds to 7.5 × 48,000 ÷ 1,000 = 360 samples. At 44.1 kHz, the same duration corresponds to 330.75 samples. A stored integer sample position cannot be 330.75, so a simple sample-boundary edit must choose a nearby boundary.
At 44.1 kHz, 331 samples represent approximately 7.5057 ms. The difference from 7.5 ms is about 0.0057 ms. State the rounding choice if it matters to the comparison; do not present the rounded placement as mathematically exact.
Some processing uses fractional-delay methods between sample positions. That is a processing capability, not evidence that a file stores a fractional ordinary sample index. Check what the particular control accepts.
Do not double a count without defining the path
A 256-sample block at 48 kHz lasts about 5.333 ms. Two such durations sum to about 10.667 ms, but that arithmetic does not prove that an actual system’s round trip is exactly two blocks. Hidden buffering, conversion, processing and acoustic travel can contribute differently.
The round-trip latency guide explains the measured path. The input and output guide explains why the two directions need not be equal. Do not infer one direction by halving a complete acoustic result.
Likewise, a plug-in report expressed in samples normally refers to that processor’s timing context, not necessarily the entire application. Keep the original label when sharing the converted value.
Channels change data size, not the time axis
At 48 kHz, one frame of stereo audio contains one sample for the left channel and one for the right. A duration of 480 frames is 10 ms, just as 480 samples of a single channel span 10 ms. Stereo does not make those 480 frames last 20 ms.
Some documentation uses “samples” loosely when it means frames across channels. Read the API or editor definition. If a raw interleaved stereo array contains 960 scalar sample values, that can represent 480 stereo frames rather than 960 time positions.
This distinction is especially useful when comparing a waveform selection with a buffer or file payload. Count channels for storage calculations; use frames per second for the shared timeline.
Apply a signed offset carefully
Suppose an editor reports an event 480 samples later than a reference at 48 kHz. The displacement is +10 ms under an “event later” convention. A repair control might require moving that event earlier, while a different application might delay the other stream.
The calculation determines the magnitude and your defined measurement sign. It does not determine every application’s knob direction. The OBS synchronization guide gives a specific audio-offset context, while the AV sync tool uses a relative visual adjustment.
Keep calculated duration separate from measured accuracy
The homepage audio latency test labels acoustic measurements and browser estimates separately. Converting a displayed result to samples does not make it more accurate or turn it into a measurement of a particular buffer.
For a useful note, write “480-sample displacement at 48 kHz, calculated as 10 ms” or “measured acoustic round trip, converted at this capture rate.” The method attached to the number prevents a correct conversion from becoming an incorrect claim about the hardware.
Frequently asked questions
How many milliseconds are 128 samples at 48 kHz?
About 2.667 ms. Divide 128 by 48,000 and multiply by 1,000. That is a duration, not automatically the complete monitoring delay.
How many samples make one millisecond?
At 48 kHz the answer is 48; at 96 kHz it is 96. At 44.1 kHz the calculated value is 44.1, which is not an integer sample boundary.
Does stereo double the duration?
No. Stereo adds channel data at each time frame. Two channels recorded at 48 kHz still have 48,000 shared frame positions per second.
Should I round before converting back?
Keep the original count and full calculation where possible. Repeatedly converting rounded values can introduce unnecessary small discrepancies in edit positions.
Is a sample count always a buffer size?
No. It may describe a selection, offset, analysis window or reported processor delay. Identify the quantity before interpreting its duration.
Can this formula reveal Bluetooth-only latency?
No. It changes timing units. Isolating a component’s delay requires a measurement designed for that component, not just a conversion of a complete-path result.
