Estimate analog voltage from digital readings. Enter counts, bits, reference, gain, and offset easily. Compare ideal and adjusted outputs using tables, exports, graphs.
Unipolar straight binary:
Voltage = (ADC Value / (2n - 1)) × Vref
Bipolar offset binary:
Voltage = (((ADC Value / (2n - 1)) × 2) - 1) × Vref
Bipolar two’s complement:
Signed Code = ADC Value, if ADC Value < 2n-1
Signed Code = ADC Value - 2n, if ADC Value ≥ 2n-1
Voltage = Signed Code × (Vref / 2n-1)
Adjusted output:
Adjusted Voltage = (Ideal Voltage × Gain) + Offset
This example uses a 12-bit unipolar converter with a 3.3 V reference, gain of 1, and offset of 0.
| ADC Value | Voltage (V) |
|---|---|
| 0 | 0.0000 |
| 512 | 0.4126 |
| 1024 | 0.8252 |
| 2048 | 1.6504 |
| 3072 | 2.4756 |
| 4095 | 3.3000 |
An analog-to-digital converter changes a continuous signal into numeric codes. Those codes are useful for microcontrollers, measurement systems, data loggers, and embedded control circuits. Engineers often need to convert the reported code back into a voltage so they can understand the original signal level. This calculator speeds up that process and reduces manual mistakes.
The most important inputs are ADC resolution and reference voltage. Resolution defines how many digital steps the converter can represent. A 10-bit ADC provides 1024 levels, while a 12-bit ADC provides 4096 levels. Reference voltage sets the electrical span used for conversion. Together, these values determine the LSB size, which is the voltage change represented by one code step.
Not all converters use the same data format. Many low-voltage sensors use unipolar straight binary, where zero maps to zero volts and the maximum code maps to the reference level. Some systems measure bipolar signals and use offset binary or two’s complement formats. Selecting the wrong coding mode can produce incorrect negative or shifted values, so this option is important in real projects.
Real measurement chains rarely behave ideally. Signal conditioning amplifiers, shunts, reference drift, and calibration constants can change the final voltage. Gain and offset inputs let you estimate the corrected result after calibration. This is helpful when comparing raw converter behavior against system-level results used in firmware or test reports.
Engineers often work with more than one code. Batch conversion lets you paste several ADC counts and build a clean table instantly. The export tools are useful when sharing readings, documenting tests, or reviewing captured values in spreadsheets and PDF reports. The graph also helps visualize how ADC codes map across the full transfer curve.
An ADC value is the digital code produced by the converter after sampling an analog input. It shows where the input falls within the converter’s measurable range.
Reference voltage defines the electrical span used for conversion. If it changes, the same ADC code represents a different voltage. Accurate Vref gives accurate output.
LSB size is the voltage represented by one digital step. It helps you estimate sensitivity, quantization limits, and the smallest detectable input change.
Use unipolar mode when the converter input range starts at zero and rises to a positive full-scale limit. Many sensor and microcontroller ADC channels work this way.
Both represent bipolar signals, but the code mapping differs. Offset binary centers around midscale, while two’s complement uses signed arithmetic behavior common in digital systems.
These fields help model calibration adjustments. Gain corrects scale error, and offset corrects zero shift. Together they produce a more realistic final voltage.
Yes. Enter multiple values in the batch box using commas, spaces, or new lines. The calculator creates a table and supports CSV and PDF export.
An n-bit converter has 2n total levels, starting at zero. Because counting begins at zero, the highest valid code is always one less than the number of levels.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.