ADC Resolution Calculator

LSB size, digital code, quantisation error, ideal SNR and data rate for an N-bit ADC.

What it does

Converts between an analog voltage and the digital code of an N-bit ADC, and shows the step size (LSB), quantisation error, ideal SNR and data rate.

Where it's used

Choosing an ADC, scaling sensor readings in firmware and checking measurement resolution.

How to use it

  1. Choose voltage → code or code → voltage.
  2. Enter the resolution in bits and the reference voltage.
  3. Enter the input voltage or code (decimal, 0x hex or 0b binary).
  4. Enter the sample rate for the data rate.

The formula explained

LSB
Vref / 2ᴺ — smallest voltage step
code
⌊Vin / LSB⌋
SNR
6.02N + 1.76 dB for an ideal ADC
ENOB
effective number of bits for a real ADC

Worked example

An Arduino-style 10-bit ADC reading 2.5 V.

Inputs:

The calculator gives:

Tips and common mistakes

Questions people ask

How is the digital code calculated?

Code = Vin / Vref × 2^N, rounded down. 2.5 V on a 5 V, 10-bit ADC gives 2.5 / 5 × 1024 = 512. Some datasheets use 2^N − 1 instead of 2^N; the difference is one step at full scale.

What is the ideal signal-to-noise ratio?

SNR = 6.02 × N + 1.76 dB for a full-scale sine wave. That is about 62 dB for 10 bits and 74 dB for 12 bits. Each extra bit adds about 6 dB.

What is ENOB?

Effective number of bits: the resolution a real ADC actually achieves once noise and distortion are counted, ENOB = (SINAD − 1.76) / 6.02. A 12-bit converter often delivers 10–11 effective bits.

Related Signal & RF calculators

Enter your values to get the result with the formula, substituted values and an explanation of each step.

All engineering calculators