ADC Calculator (bits, LSB, voltage)

ADC code ↔ voltage and LSB size.

analog in ADC N-bit Vref code LSB = Vref/2ⁿ · V = code · LSB

Values

Result

LSB = 806 µV · V = 1.650 V

ADC math

The smallest discernible step is LSB = Vref / 2N. A 12-bit ADC with 3.3 V reference has an LSB of ~806 µV, so code 2048 reads ≈ 1.65 V: V = code · LSB.

For a sensor spanning a different range, scale it to Vref with a divider — the divider calculator helps pick R1/R2. Note that the top code (2N−1) clamps at Vref−(1 LSB) on most ADCs.