ADC Resolution Calculator

Calculate the voltage resolution, step size, and digital output code of an analog-to-digital converter.

V
V

Must be 0 to V_ref

Digital Output Code

512

Step Size (1 LSB)3.223 mV
Reconstructed Voltage1.6500 V
Quantization Error0.000 mV
Total Levels1,024

Digital Output Code vs ADC Resolution (bits)

ADC Resolution and Digital Conversion

An ADC maps a continuous voltage range to discrete digital codes. The resolution determines the smallest detectable voltage change.

Formulas

Step Size = V_ref / 2^N

Digital Code = floor(V_input / Step Size)

Quantization Error = V_input - Code x Step Size

The maximum quantization error is +/- 0.5 LSB.

Example Calculation

10-bit ADC with 3.3 V reference, input 1.65 V.

  1. 01Step size: 3.3 / 1024 = 3.223 mV
  2. 02Digital code: floor(1.65 / 0.003223) = 512
  3. 03Reconstructed: 512 x 0.003223 = 1.6504 V
  4. 04Error: |1.65 - 1.6504| = 0.4 mV

Frequently Asked Questions

Learn More

Ohm's Law Guide

A complete guide to Ohm's Law. Learn the relationship between voltage, current, and resistance, with practical examples, the power triangle, and circuit analysis tips.

Related Calculators