Why do some datasheets use 2ⁿ−1?
Some quote the spacing between endpoint codes rather than the width of a bin. Match the converter’s transfer function when working from a datasheet.
Find the voltage step, nominal code and quantization error bound of an ideal analog-to-digital converter from bit depth and input range.
A 12-bit ADC has 4,096 levels. A 0 to 3.3 V span yields about 0.806 mV per least significant bit.
The tool uses equal-width bins and returns the index of the bin containing your input. The largest nominal index is one less than the number of levels.
Some quote the spacing between endpoint codes rather than the width of a bin. Match the converter’s transfer function when working from a datasheet.
Noise, offset and nonlinearity can reduce effective resolution. The displayed error bound applies to this ideal bin-center model.