Calculator: Uncompressed PCM audio size
Enter the labelled inputs to calculate: Value (byte); Value (MB); Value (Mbit/s).
Enter a finite value within the formula’s domain and supported numeric range.
How the calculation works
B=⌊fs·t⌋·Nc·⌈b/8⌉
Image rows are packed to whole bytes without extra row alignment. PCM samples use ceil(bits/8) bytes per channel and floor(rate×duration) sample frames. No compression or file headers are included. Video uses constant average bitrates and a user-supplied overhead percentage. MB is decimal; MiB is binary.
Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
Frequently asked questions
How is the result calculated?
B=⌊fs·t⌋·Nc·⌈b/8⌉
What assumptions apply?
Image rows are packed to whole bytes without extra row alignment. PCM samples use ceil(bits/8) bytes per channel and floor(rate×duration) sample frames. No compression or file headers are included. Video uses constant average bitrates and a user-supplied overhead percentage. MB is decimal; MiB is binary.
How precise are the displayed results?
Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
How we verified this calculator
The calculator is checked against 3 reference cases computed independently from the sources below. Last passed: .
| # | Inputs | Expected result |
|---|---|---|
| 1 |
Frequency (Hz) = 44100
Bit width (bit/sample) = 16
Count ch = 2
Duration (s) = 60
|
Value (byte): 10584000
Value (MB): 10.584
Value (Mbit/s): 1.4112
|
| 2 |
Frequency (Hz) = 48000
Bit width (bit/sample) = 24
Count ch = 2
Duration (s) = 180
|
Value (byte): 51840000
Value (MB): 51.84
Value (Mbit/s): 2.304
|
| 3 |
Frequency (Hz) = 8000
Bit width (bit/sample) = 8
Count ch = 1
Duration (s) = 2.5
|
Value (byte): 20000
Value (MB): 0.02
Value (Mbit/s): 0.064
|
Sources
- The International System of Units (SI), 9th edition (2019) — SI Brochure — Bureau International des Poids et Mesures (BIPM)