How to use this tool
- Enter resolution bits, digital code, reference voltage.
- Select Calculate to view the result.
- Check the method and assumptions below before using the result.
Input reference and sample values
Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.
| Input | Format and units | Sample |
|---|---|---|
| Resolution bits | Numeric value. Unit: bits. Minimum: 1. Maximum: 32. | 12 |
| Digital code | Numeric value. Zero or positive. | 2048 |
| Reference voltage | Numeric value. Unit: V. Must be greater than zero. | 3.3 |
Result for these sample inputs
1.65 V
Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.
The method, explained
Vout = Vref × code / 2^N. The maximum code is 2^N−1.
Using resolution bits = 12 bits, digital code = 2048, reference voltage = 3.3 V, the result is 1.65 V. Change these example inputs to match your task; use the method above to check each step.
Understanding your result
Uses a binary-weighted full-scale convention. Output amplifier headroom, settling and reference errors are not modeled.
What to keep in mind
Uses a binary-weighted full-scale convention. Output amplifier headroom, settling and reference errors are not modeled. Ideal-component calculation for study and estimation. It does not select safe wiring, protective devices or component ratings for an installation.
Methodology maintained by ClarityKit. How these tools are built and checked.