DAC Output Calculator
Enter DAC bit resolution, digital input code, and reference voltage to compute the analog output voltage, LSB size, and full-scale range.
Use the DAC Output Calculator
DAC Parameters
Typical: 8, 10, 12, 16
Use 0 for unipolar (GND)
Common: 3.3, 5, 2.5, 1.8
Integer from 0 to 2N − 1
Results
Bar shows output voltage position within the full-scale span.
Formulas Used
Code Sweep (key codes for your DAC)
| Code (dec) | Code (hex) | Output Voltage | % of Span |
|---|
Summary
A Digital-to-Analog Converter (DAC) maps an N-bit digital code to a proportional analog voltage between a lower and upper reference. The output voltage equals V_min plus the digital code multiplied by the LSB size, where the LSB equals the full-scale range divided by 2^N. This calculator accepts the bit resolution, digital input value, and reference voltage to instantly return the output voltage, LSB size, full-scale range, and the output expressed as a percentage of the full span.
How it works
- Enter the DAC bit resolution (e.g. 12 for a 12-bit DAC).
- Enter the lower reference voltage V_min (use 0 for a unipolar supply referenced to GND).
- Enter the upper reference voltage V_ref (e.g. 3.3 V or 5 V).
- Enter the digital input code — an integer from 0 to 2^N − 1.
- Click Calculate to see the analog output voltage, LSB size, and full-scale range.
- Use the sweep table to see how the output voltage changes across key digital codes.
Use cases
- Verify the output voltage for a specific DAC code in a firmware design.
- Choose the correct DAC bit depth for a required voltage step size.
- Calculate the LSB voltage for audio DACs, signal generators, or motor controllers.
- Design the output stage of a DAC-driven power supply or waveform generator.
- Debug DAC mismatch between expected and measured output voltages.
- Compare unipolar vs bipolar DAC output ranges for sensor driving applications.
- Estimate the settling accuracy required for a given output tolerance.