Audio sample-rate converter

Samples to milliseconds calculator

Convert samples to milliseconds or milliseconds to samples at common audio sample rates, with support for any custom rate from 1 kHz to 768 kHz.

Common sample rates
Samples → milliseconds10.666667 ms0.010666667 seconds at 48 kHz
Milliseconds → samples480 samplesExact whole-sample result

Both conversions use the selected sample rate. Channel count does not change the timing.

Formula

How to convert samples to milliseconds

A sample rate states how many samples occur in one second. Divide the sample count by the sample rate to get seconds, then multiply by 1,000 for milliseconds. To convert in the other direction, multiply milliseconds by the sample rate and divide by 1,000.

milliseconds = samples ÷ sample rate × 1,000

  1. 01

    Select the sample rate used by your audio interface, DAW session or file.

  2. 02

    Enter a sample count to translate plugin latency, buffer size or phase offset into milliseconds.

  3. 03

    Enter milliseconds to find the equivalent sample offset, then use the nearest whole sample when required.

Worked example

Example: 512 samples at 48 kHz

At 48,000 samples per second, 512 samples last 10.666667 milliseconds. In reverse, 10 milliseconds at 48 kHz equals exactly 480 samples.

Good to know

Assumptions and limits

  • Sample rate is measured in samples per second, so 48 kHz means 48,000 samples per second.
  • Channel count does not change duration; the same sample position occurs at the same time in mono or stereo audio.
  • Hardware and DAW delay-compensation fields may require a fractional result to be rounded to the nearest whole sample.
Quick answers

Frequently asked questions

How many milliseconds is 512 samples?

At 48 kHz, 512 samples is 10.666667 ms. At 44.1 kHz, the same 512 samples is about 11.609977 ms.

How many samples are in 1 millisecond?

There are 48 samples per millisecond at 48 kHz and 44.1 samples per millisecond at 44.1 kHz.

Does stereo double the duration?

No. Stereo doubles the number of stored sample values, but both channels play together, so the duration stays the same.

Should a fractional sample result be rounded?

Physical sample positions are whole numbers. If a device or DAW requires an integer, use the displayed nearest whole-sample value.