Calculate output voltage from a resistor divider circuit. Essential for level shifting, sensor interfaces, and voltage reference circuits.
A voltage divider is one of the most fundamental circuits in electronics. It uses two resistors in series to reduce an input voltage to a lower output voltage. The output is taken from the junction between the two resistors.
| R1 : R2 Ratio | Vout / Vin | Example (12V in) |
|---|---|---|
| 1:1 (equal) | 50% | 6V |
| 2:1 | 33% | 4V |
| 1:2 | 67% | 8V |
| 3:1 | 25% | 3V |
| 1:3 | 75% | 9V |
| 9:1 | 10% | 1.2V |
Connect a 5V sensor output to a 3.3V microcontroller input safely.
Measure a 12V battery with an ADC that only accepts 0-3.3V.
A potentiometer is essentially a variable voltage divider.
Audio volume controls use voltage dividers to attenuate signals.
Voltage dividers are only accurate when the load resistance (what you connect to Vout) is much higher than R2. If your load draws significant current, it will change the output voltage. For low-impedance loads, consider using a buffer amplifier or voltage regulator.
Problem: You want to measure a 12V car battery with an ESP32 ADC (max 3.3V).
We need: Vout = 3.3V when Vin = 14.4V (fully charged battery)
Ratio = 3.3 / 14.4 = 0.229 ≈ R2 / (R1 + R2)
If R2 = 10kΩ, then R1 = (14.4/3.3 - 1) × 10k = 33.6kΩ
Use standard values: R1 = 33kΩ, R2 = 10kΩ
Vout = 14.4 × (10k / (33k + 10k)) = 14.4 × 0.233 = 3.35V ✓
Use higher resistance values (10kΩ+) to minimize current draw. Lower values waste power and drain batteries faster.
Generally no. Voltage dividers can't supply significant current. The output voltage drops as you draw more current. Use a voltage regulator (like LM7805 or LDO) for powering circuits.
For signal-level applications (sensors, ADCs), use 1kΩ to 100kΩ. Higher values save power but are more susceptible to noise. Lower values can handle more loading but waste power.
Yes, for resistive dividers with lower frequencies. At high frequencies, consider using capacitive dividers or accounting for parasitic capacitance.
R1 = R2 × ((Vin / Vout) - 1). For example, to get 3.3V from 12V with R2 = 10kΩ: R1 = 10k × (12/3.3 - 1) = 26.4kΩ