ADC Resolution Calculator
Find an analogue-to-digital converter's LSB size, levels, quantisation error and ideal SNR, the bits needed for a required resolution, or the effective bits from SINAD.
Formula
- number of bits
- least significant bit: the smallest step the converter resolves
- measured signal-to-noise-and-distortion ratio, in dB
- effective number of bits
How it works
An n-bit converter divides its input range into 2ⁿ steps, and the size of one step, the LSB, is the range divided by that number. Rounding to the nearest step leaves a quantisation error of up to half an LSB, which for a full-scale sine wave gives an ideal signal-to-noise ratio of 6.02 n + 1.76 dB.
Real converters do worse, because of noise, distortion and offset and gain errors. The effective number of bits inverts the same relationship for a measured SINAD and says how many bits an ideal converter would need to have the measured performance. The resolution required is best chosen from the noise of the signal, with a margin, rather than from the datasheet bit count.
Worked example
A 12-bit converter with a 3.3 V range.
- Levels = 2¹² = 4,096.
- LSB = 3.3 V / 4,096 = 0.8057 mV.
- Ideal SNR = 6.02 × 12 + 1.76 = 74.0 dB.
One LSB is 0.806 mV, the quantisation error ±0.40 mV and the ideal SNR 74 dB.
These are the values the calculator opens with, so you can check its output against this example.
Assumptions
- An ideal converter with a full-scale sine-wave input, for the SNR.
- A fixed input range.
Common mistakes
- Treating the bit count as the accuracy. Offset, gain and noise set the real accuracy.
- Choosing the converter by bits when the sensor's noise is larger than one LSB.
- Forgetting that the effective number of bits falls with input frequency.
Related tools
Related equipment
Service documentation, failure modes and parts for the instruments this calculation is used with.