Calculating sound sample sizes

Analogue wave stays the same. Only the digital sample changes when you change sample rate and bit depth.

Analogue wave (continuous) Quantised digital sample

Y-axis shows the bit depth codes for the current bit depth (e.g. 4 bits shows 0000 to 1111).

6 Hz
4 bits
3 s
Sound file size = (samples per second) × (bits per sample) × (length in seconds)

Term Your value
Sample rate (samples per second)
Bit depth (bits per sample)
Duration (seconds)
File size (bits)
File size (bytes)
Enter your values and select “Check my calculation”.

Bytes are marked using either the exact value (bits ÷ 8) or the rounded value (nearest whole byte).