Bit Depth and Quantization
You'll learn how continuous amplitude values become discrete digital numbers and why bit depth matters for audio quality.
The Core Idea
When we digitize audio, we've already sampled the sound wave at regular intervals (sampling rate). But each sample captures an analog amplitude value—a continuous number that could be any value between silence and maximum loudness. Computers can't store infinite precision, so we must quantize these continuous amplitudes into discrete levels.
Bit depth determines how many levels are available. With 8-bit audio, you have 2⁸ = 256 possible amplitude values. With 16-bit (CD quality), you get 2¹⁶ = 65,536 levels. With 24-bit (professional audio), you have 2²⁴ = 16,777,216 levels.
The Quantization Process
Think of quantization like rounding prices to the nearest dollar. If something costs 7.00. The 43 cents is quantization error—information lost forever. In audio, each amplitude gets mapped to its nearest available level.
Lower bit depths mean fewer levels, so values must round to coarser steps. This introduces quantization noise—a kind of distortion that sounds like a subtle hiss or graininess, especially in quiet passages.
Impact on Quality
- 8-bit audio: Noticeable noise, suitable only for lo-fi applications
- 16-bit audio: 96 dB dynamic range, transparent for most listening (CD standard)
- 24-bit audio: 144 dB dynamic range, captures extreme detail for recording and production
The dynamic range (in dB) is approximately bit_depth × 6. More bits = quieter noise floor = more detail preserved.
Key Takeaway: Bit depth controls how finely you divide amplitude into discrete levels; higher bit depth reduces quantization noise and increases dynamic range, preserving audio fidelity.