Audio File Size Calculator
How many bytes of raw PCM audio fit this duration? Enter the stated values to calculate this model.
Result for the values shown.
Calculations run in your browser.
What to enter
| Input | Meaning and units |
|---|---|
| Sample rate (samples/s) | Enter sample rate in samples/s; use the same basis as the other measurements. |
| Bits per sample (bit) | Enter bits per sample in bit; use the same basis as the other measurements. |
| Channels (count) | Enter channels in count; use the same basis as the other measurements. |
| Duration (s) | Enter duration in s; use the same basis as the other measurements. |
Understanding your result
Read Audio data size (byte) in the units and model stated on this page. The formula bytes=rate*bits*channels*seconds/8 defines the relationship; measurement accuracy and model applicability are separate from numerical precision.
Common mistakes
- Mixing input units or changing the physical meaning of a variable without changing the model.
Check your calculation
- Use the worked example as a known reference case, then change one input at a time and check the direction and units of the response.
Calculation checks, sources and review limits
How many bytes of raw PCM audio fit this duration?
How many bytes of raw PCM audio fit this duration? Enter the stated values to calculate this model.
Common uses
- How many bytes of raw PCM audio fit this duration
How it works
bytes=rate*bits*channels*seconds/8
Worked example
Enter Sample rate: 48000 samples/s; Bits per sample: 16 bit; Channels: 2 count; Duration: 60 s. Results: Audio data size: 11520000 byte.