✦ScienexySCIENCE KNOWLEDGE LIBRARY
Science reference · INFO-PHY-ACOU-178

Quantization and Bit Depth

Quantization maps sampled signal amplitudes to a finite set of numerical levels, while bit depth determines how many levels can be represented.

N_levels = 2^N

Explanation

A fuller explanation is being developed. Verify this concept with cited sources before relying on it.

Variables

SymbolMeaning

N_levels

Number of available digital quantization code values.

N

Bit depth, measured in bits per sample.

Example or application

A 16-bit audio sample can represent 65,536 distinct code values, while a 24-bit sample can represent 16,777,216 code values.

Text

After an analog signal is sampled, each sample amplitude must be represented using a finite number of digital values. Quantization performs this mapping by assigning each sample to the nearest available amplitude level according to the chosen quantizer. The difference between the original sample and its quantized value is called quantization error. Bit depth determines the number of possible levels in a uniform binary representation: an N-bit system can represent 2^N distinct code values. Increasing bit depth generally reduces quantization step size and improves the theoretical signal-to-quantization-noise ratio for an ideal uniform quantizer. Actual audio performance also depends on converter design, noise, dither and signal level.

Key Points

  • Quantization maps sample amplitudes to discrete numerical levels.

  • Quantization error is the difference between the original and represented value.

  • An N-bit representation provides 2^N possible code values.

  • Greater bit depth generally reduces quantization step size.

  • Dither can help make low-level quantization behavior more linear and less correlated with the signal.

  • Bit depth is different from sampling frequency.

Applications

  • Digital audio recording.

  • Audio interface and converter design.

  • Mastering and production workflows.

  • Digital measurement systems.

  • Audio file format design.

Common Mistakes

  • Confusing bit depth with sample rate.

  • Assuming more bits increase the number of samples taken per second.

  • Assuming every real converter achieves the ideal theoretical dynamic range.

  • Ignoring dither and analog noise when discussing low-level signals.

Learning Outcomes

  • Define quantization and quantization error.

  • Calculate the number of code values from bit depth.

  • Explain how bit depth influences quantization resolution.

  • Distinguish bit depth from sampling frequency.

Practice Questions

QuestionAnswer

How many code values can an 8-bit quantizer represent?

256 distinct code values.

What is quantization error?

The difference between the original sample amplitude and its quantized representation.

Does increasing bit depth increase the sample rate?

No. Bit depth changes amplitude resolution, while sample rate determines how frequently samples are taken.

Related Concepts

  • Digital Audio

  • Sampling Frequency

  • Quantization Noise

  • Dither

  • Dynamic Range

Sources and verification

Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.

  • Principles of Digital Audio by Ken C. Pohlmann; The Art of Digital Audio by John Watkinson.

Suggest a correction or source · More in Acoustics