Audio Duration From Samples
Calculator
Results
- Duration (seconds)
- 100
- Duration (minutes)
- 1.666666
- Samples per channel
- 4,410,000
Music and audio results
| Duration (seconds) | 100 |
| Duration (minutes) | 1.666666 |
| Samples per channel | 4,410,000 |
formula-map diagram
- Duration (seconds)
- 100
- Duration (minutes)
- 1.666666
- Samples per channel
- 4,410,000
Musical and acoustic relationship
Formula
duration = total samples ÷ (sample rate × channels)= 100
Note
This result is a simplified model: it applies the displayed standard formula to the values you entered, assuming twelve-tone equal temperament, a speed of sound of 343 m/s in dry air at 20 °C, an ideal free field with no reflections or air absorption, purely resistive speaker loads and Sabine's diffuse-field assumption. Real rooms, instruments, codecs and amplifiers depart from these idealisations, so measure with proper instruments for critical work.
Example: with the default inputs, calculator.music.duration_seconds is 100.
More in Music and audio
See all →Frequently asked questions
How do I get audio duration from a sample count?+
Divide the total sample count by the sample rate times the number of channels. The calculator returns the duration in seconds and in minutes.
Does the sample count include all channels?+
Yes. Enter the total number of samples across all channels; the calculator divides by the channel count to get the frames per channel.
What is the default example?+
8,820,000 samples at 44,100 Hz with 2 channels, which gives 100 seconds. You can change any of the three fields.
What are frames per channel?+
It is the total sample count divided by the number of channels, that is, how many samples each channel holds.
Does this account for file headers or compression?+
No. It only applies samples ÷ (sample rate × channels) to the raw sample count you enter, so it ignores metadata, headers and compression.