Electrical

ADC Resolution Calculator

Estimate an ideal analog-to-digital converter step size and the nearest lower code for an input voltage.

Ideal component relationshipsUnits and assumptions explained below
Digital measurement desk
Digital measurement desk

Choose resolution and reference, then compare the input with the available codes.

See the method

Set the converter and input

Runs on your device

Voltage step and code

Your result

Let’s calculate.

Use the Calculate button to see your result.

Review the method below for assumptions and conventions.

How to use this tool

  1. Enter resolution bits, reference voltage, input voltage.
  2. Select Calculate to view the result.
  3. Check the method and assumptions below before using the result.

Input reference and sample values

Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.

InputFormat and unitsSample
Resolution bitsNumeric value. Unit: bits. Minimum: 1. Maximum: 32.12
Reference voltageNumeric value. Unit: V. Must be greater than zero.3.3
Input voltageNumeric value. Unit: V. Zero or positive.1.65

Result for these sample inputs

0.000805664062 V
Output code
2048
Number of codes
4096

Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.

The method, explained

LSB = Vref/2^N. Code = floor(Vin/LSB), clamped to the largest N-bit code at full scale.

A WORKED EXAMPLE

Using resolution bits = 12 bits, reference voltage = 3.3 V, input voltage = 1.65 V, the result is 0.000805664062 V. Change these example inputs to match your task; use the method above to check each step.

Understanding your result

Ideal unipolar converter; excludes noise, offset, gain error and differential nonlinearity. Actual ADC endpoint conventions may vary.

What to keep in mind

Ideal unipolar converter; excludes noise, offset, gain error and differential nonlinearity. Actual ADC endpoint conventions may vary. Ideal-component calculation for study and estimation. It does not select safe wiring, protective devices or component ratings for an installation.

Methodology maintained by ClarityKit. How these tools are built and checked.