Sample to Time Converter

Enter a sample count and sample rate to get the exact duration, or enter a time and sample rate to get the sample count.

Use the Sample to Time Converter

Parameters

Hz
samples

Formula

time (s) = samples / sample_rate

Results

Duration (seconds)
—
s
Milliseconds
—
ms
Microseconds
—
µs
HH:MM:SS.mmm
—

Common Buffer Sizes — Latency at Standard Sample Rates

Buffer (samples) @ 44100 Hz @ 48000 Hz @ 96000 Hz Typical Use
320.73 ms0.67 ms0.33 msUltra-low latency monitoring
641.45 ms1.33 ms0.67 msReal-time input, live effects
1282.90 ms2.67 ms1.33 msLow-latency recording sessions
2565.80 ms5.33 ms2.67 msGeneral DAW tracking
51211.61 ms10.67 ms5.33 msMixing and editing
102423.22 ms21.33 ms10.67 msMastering, stable playback
204846.44 ms42.67 ms21.33 msHigh plugin count, final export
409692.88 ms85.33 ms42.67 msOffline rendering, batch processing

Summary

This tool converts between audio sample count and time duration using the relationship: time (s) = samples / sample rate. Enter a sample count to get the duration in seconds, milliseconds, and microseconds; or enter a time value to get the exact sample count. Supports any sample rate — standard rates (8 kHz to 192 kHz) are available as presets, or you can type a custom value.

How it works

  1. Select a direction: samples-to-time or time-to-samples.
  2. Pick a sample rate from the presets or type a custom value in Hz.
  3. Enter the sample count or the time duration depending on the chosen direction.
  4. The converter applies time = samples / sample_rate (or its inverse) and displays results in multiple units.
  5. Results update instantly as you type.

Use cases

  • Find how many milliseconds a given buffer of audio samples represents.
  • Calculate the exact sample offset for a cut point in a DAW at a specific timecode.
  • Convert a latency in samples to milliseconds when tuning real-time audio software.
  • Determine buffer sizes in samples to achieve a target latency at a given sample rate.
  • Verify frame alignment between a 44.1 kHz audio track and a 48 kHz video timeline.
  • Compute loop lengths in samples from a BPM and bar count combination.
  • Cross-check DSP algorithm delay lines expressed in samples against a time spec.

Frequently Asked Questions

Last updated: 2026-06-19 · Reviewed by Nham Vu