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.
DAC Parameters
bits
Typical: 8, 10, 12, 16
V
Use 0 for unipolar (GND)
V
Common: 3.3, 5, 2.5, 1.8
dec
Integer from 0 to 2N − 1
Results
Output Voltage
—
LSB Size
—
Full-Scale Range
—
Output % of Span
—
Max Code
—
V_min
—
V_ref
Bar shows output voltage position within the full-scale span.
Formulas Used
LSB = (Vref − Vmin) / 2N
Vout = Vmin + code × LSB
Full-scale = Vref − Vmin
Output % = (code / (2N − 1)) × 100
Code Sweep (key codes for your DAC)
| Code (dec) | Code (hex) | Output Voltage | % of Span |
|---|
Summary
Enter DAC bit resolution, digital input code, and reference voltage to compute the analog output voltage, LSB size, and full-scale range.
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.
Frequently Asked Questions
Last updated: 2026-07-01 ·
Reviewed by Nham Vu