Works on this device
Adc Resolution Calculator
The resolution of an analog-to-digital converter (ADC) is the size of its smallest step, one LSB. This calculator works it out from the number of bits and the input range, with the dynamic range and the ideal signal-to-noise ratio. It also finds the bits you need and the effective number of bits (ENOB) of a real converter.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose what you want: the step size from the bits, the bits you need, or the ENOB from a measured SINAD.
- Enter the number of bits and the input range. The range is usually the reference voltage: type 3.3 for 0 to 3.3 V, or 10 for −5 V to +5 V.
- Under More options you can choose how one step is defined: range ÷ 2^N (the usual definition) or range ÷ (2^N − 1).
- Choose Calculate.
The formulas
- Step size: LSB = range ÷ 2^N. Some texts use range ÷ (2^N − 1), so that the top code sits on the top of the range.
- Number of codes = 2^N, from 0 to 2^N − 1.
- Dynamic range (full range to one step) = 20 × log10(2^N) = 6.02 dB per bit.
- Ideal SNR for a full-scale sine wave = 6.02 × N + 1.76 dB. Exactly, it is 20 × log10(2^N × √1.5): the sine has an RMS value of range ÷ (2√2) and the rounding noise an RMS value of LSB ÷ √12.
- Bits needed: N = log2(range ÷ LSB), or N = (SNR − 1.76) ÷ 6.02, taken up to a whole number.
- ENOB = (SINAD − 1.76) ÷ 6.02.
Worked examples
12 bits, 0 to 3.3 V: LSB = 3.3 ÷ 4096 = 0.806 mV. The dynamic range is 72.25 dB and the ideal SNR 74.01 dB.
10 bits, 0 to 5 V: LSB = 5 ÷ 1024 = 4.88 mV, so a converter that rounds is off by at most 2.44 mV.
Bits for a 1 mV step over 3.3 V: log2(3.3 ÷ 0.001) = 11.69, so 12 bits.
ENOB: a converter with a SINAD of 68 dB has ENOB = (68 − 1.76) ÷ 6.02 = 11.0 bits. If it has 12 bits, about 1 bit is lost to noise and distortion.
Limits you should know
- The converter is ideal: no offset, gain error, nonlinearity or noise. The data sheet of a real converter gives these, and its ENOB tells how many bits are really useful.
- The ideal SNR is for a full-scale sine wave. A smaller signal has a smaller SNR.
- To turn codes into voltages and back, use the Adc Voltage Calculator. For SNR from powers or voltages, use the Signal to Noise Ratio Calculator. For the sampling rate, use the Sampling Frequency Calculator.