Number of States (n bits)
States = 2ⁿ
Calculator
Result
—
Formula
States = 2ⁿ
Description
Each binary bit doubles the number of distinct values that can be represented, so n bits encode 2 to the n states. This sets the resolution of an ADC or DAC, the number of addressable memory locations from an address bus, the count range of a counter, and the size of any digital code space. It is the most fundamental relationship in digital design.
Variables
- States — Number of distinct values (codes)
- n — Number of bits
Practical Notes
A 10-bit ADC has 1024 levels; a 16-bit address bus reaches 65536 locations. Add one bit to double the range; the maximum unsigned value is 2ⁿ − 1.
Related Concepts
All Digital Logic formulas →Need more features?
Save calculations, import telemetry data, simulate battery discharge, and collaborate with your team.
Try the App