ADC resolution and LSB calculator
See how finely an ADC measures: the step size (LSB), the number of levels, the ideal SNR and the code for an input voltage.
ADC resolution
An n-bit ADC splits its reference voltage into 2ⁿ steps. Enter an input voltage to see the code it reads.
LSB = V_ref / 2ⁿ, ideal SNR = 6.02n + 1.76 dB
How it works
- An n-bit ADC has 2ⁿ levels between 0 V and Vref.
- One step (1 LSB) is Vref ÷ 2ⁿ.
- An ideal ADC’s signal-to-noise ratio is 6.02n + 1.76 dB for a full-scale sine wave.
Worked example
12-bit ADC, Vref = 3.3 V: 1 LSB = 3.3 ÷ 4096 = 0.806 mV. An input of 1.65 V reads as code 2048.
Common questions
Why does my ADC reading jump around?
Noise on the input, the reference or the ground. Average several readings, add a small capacitor at the input, and keep analog wires short.
Is more bits always better?
Only if your reference and wiring are quiet enough. A 16-bit ADC on a noisy breadboard often gives no better results than a good 12-bit one.
More calculators
- Resistor colour codePick the four colour bands and get the resistance, tolerance and the range the real part can fall in.
- Ohm's law and powerEnter any two of voltage, current, resistance and power.
- Voltage dividerTwo resistors in series split the input voltage.
- RC filter cut-offGet the cut-off frequency and time constant of a first-order RC filter, low-pass or high-pass.
- RL filter cut-offGet the cut-off frequency and time constant of a first-order RL filter.
- 555 timer (astable)Get the frequency, high and low times and duty cycle of a 555 timer running in astable mode.
- Op-amp gainGet the gain of an inverting or non-inverting op-amp amplifier, in times and in dB, and the output for a given input.
- Number base converterConvert between decimal, binary, hexadecimal and octal.
- Decibel converterConvert a power or voltage ratio to decibels, or decibels back to a ratio.
- SGPA calculatorEnter each subject’s credits and grade to get your semester grade point average.
- Digital logic toolsTruth tables, K-maps, simplifier and gates.