Audio Session ToolkitIndependent tools · Venture Channel Studio

Audio production

How PCM Audio Storage works

Calculate raw PCM sample payload size and bitrate from duration, sample rate, channels and bytes per sample.

Calculate samples per channel

Multiply duration in seconds by sample rate. Multiply by channel count and stored bytes per sample to find payload bytes.

Distinguish MB from MiB

Decimal MB divides bytes by 1,000,000; MiB divides by 1,048,576. Bitrate is sample rate × channel count × stored bits per sample.

Account for the actual format

This models uncompressed whole-byte PCM only. Packed 24-bit audio uses 3 bytes; 24-bit samples stored in 32-bit slots use 4. WAV headers, metadata, alignment and compressed formats are excluded. Check the Library of Congress WAVE format reference for container details.

Worked example

Ten minutes of stereo, 48 kHz, packed 24-bit PCM contains 172,800,000 bytes of audio samples (172.80 MB). Three such recordings contain 518.40 MB, before container overhead.

Try the calculator

About the method

This tool uses the stated arithmetic and assumptions. Test the worked example and confirm the inputs before using the result.

Reference material

Return to PCM storage · Explore all Audio Session Toolkit tools.