The difference between the actual analog value at the sample time and the nearest quantized (digitally encoded) value is called quantization error. At worst, the quantized value encoded will be no greater than one-half increment away from the actual analog value. Quantization error is related to the S/N ratio and the maximum number of quantization increments is related to dynamic range.

See bit depth.