ADC to Voltage Calculator
Convert a raw ADC reading into a voltage using the converter's bit resolution and reference voltage. It also shows the voltage per step and the reading as a percent of full scale.
1 Fill in the boxes
2 Your answer
Your answer shows here as you type.
How to use the ADC to Voltage Calculator
- Enter the raw reading from the ADC, as a whole number.
- Pick the ADC resolution in bits, such as 10-bit or 12-bit.
- Set the reference voltage the ADC uses, such as 3.3 V or 5 V.
Frequently asked questions
What is the formula for converting an ADC reading to voltage?
Voltage = ADC code × Vref ÷ (2^n − 1), where n is the resolution in bits and Vref is the reference voltage. For a 10-bit ADC with a 3.3 V reference, a code of 512 gives about 1.65 V.
Why is the divisor 2^n − 1 and not 2^n?
With n bits the codes run from 0 to 2^n − 1, so the highest code reaches the reference voltage exactly. Some datasheets divide by 2^n to get the ideal code width instead, and the difference is small at high resolution.
What does ADC resolution mean?
Resolution is the number of bits the converter outputs. A 10-bit ADC has 1024 codes (0 to 1023), and a 12-bit ADC has 4096 codes (0 to 4095), so higher resolution gives smaller voltage steps.
What reference voltage do microcontroller ADCs usually use?
Many use the supply voltage, commonly 3.3 V or 5 V. Others use an internal reference such as 1.1 V, 2.048 V or 2.5 V, depending on the chip.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.