Samples to Milliseconds Calculator
Convert between audio sample counts and elapsed time using the sample rate from your shared session.
Samples → Time
Time → Samples
Why sample rate changes the count, not the elapsed time
Elapsed time is the same at every sample rate. A higher sample rate simply uses more sample frames to represent that same duration, so the exact sample count changes while the milliseconds do not.
seconds = samples ÷ sample rate
samples = seconds × sample rate
Worked examples: 2048 @ 48 kHz ≈ 42.6667 ms. 1 ms @ 44.1 kHz = 44.1 exact samples, nearest frame 44.
FAQ
Can a sample count be fractional?
Mathematically, yes. A time value can correspond to a fractional sample count. Stored or played audio still uses discrete whole sample frames.
Why show the nearest whole sample?
The nearest frame is the practical count when a workflow needs a discrete sample position, while the exact value preserves the underlying calculation.