Calculator: Ideal unipolar DAC output

Enter the labelled inputs to calculate: Voltage (V).

Voltage (V)
1.65

How the calculation works

Vout=Vref·code/2ᴺ; 0≤code<2ᴺ

Ideal lumped components are assumed. Parasitics, saturation, mutual inductance, losses and switching ripple are excluded unless explicitly included in the formula.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

Vout=Vref·code/2ᴺ; 0≤code<2ᴺ

What assumptions apply?

Ideal lumped components are assumed. Parasitics, saturation, mutual inductance, losses and switching ripple are excluded unless explicitly included in the formula.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Bit width = 12
Voltage Vref (V) = 3.3
Count = 2048
Voltage (V): 1.65
2
Bit width = 8
Voltage Vref (V) = 5
Count = 200
Voltage (V): 3.90625
3
Bit width = 16
Voltage Vref (V) = 2.5
Count = 40000
Voltage (V): 1.525878906

How we test our calculators →

Also try:

Back to category →