Voltage Divider Calculator

Calculate the output voltage of a two-resistor voltage divider, the current it draws from your supply, and how much power each resistor dissipates. Includes a reverse-design mode for picking R1 and R2 to step any input voltage down to a target (e.g. dividing a 12 V battery to fit Arduino's 5 V ADC).

Vout — V
Divider current — µA
P on R1 — mW
P on R2 — mW
Vin = 12 V R1 = 10 kΩ Vout = 6 V R2 = 10 kΩ

How it works

A voltage divider is just two resistors in series across your supply. The voltage at the junction between them is a fraction of the input:

Vout = Vin × R2 / (R1 + R2)

Practical example: a 9 V battery and two 10 kΩ resistors gives Vout = 9 × 10/(10+10) = 4.5 V at the junction. To get exactly 5 V from 9 V, use R1 = 4.7 kΩ and R2 = 5.6 kΩ → Vout ≈ 4.9 V.

When (not) to use a voltage divider

Voltage dividers work for signal-level voltages — sensor outputs, ADC inputs, reference voltages. They do not work as power supplies because:

Battery monitoring example

To measure a 12 V lead-acid battery on a 5 V Arduino ADC:

  1. Maximum expected battery voltage: ~13.8 V (when charging)
  2. Arduino ADC max: 5 V
  3. Divider ratio: 5 / 13.8 ≈ 0.36, so Vout = Vin × 0.36
  4. Pick R1 = 10 kΩ, then R2 = R1 × ratio / (1 − ratio) = 10 × 0.36/0.64 ≈ 5.6 kΩ
  5. Verify: 13.8 × 5.6/(10+5.6) = 4.95 V ✓
  6. Current draw: 13.8/(10k+5.6k) = 0.88 mA — about 1 mA continuous (fine for sensing, but on battery think about adding a MOSFET to disable the divider when not measuring)

In Arduino code, scale back: actualVolts = analogRead(A0) × 5.0/1023.0 / 0.36

Choosing R1 + R2 (impedance vs power)

The ratio R1:R2 sets the output voltage. The total R1 + R2 sets:

Rule of thumb for Arduino ADC inputs: keep output impedance under 10 kΩ (so combined R1 || R2 ≤ 10 kΩ). For 12 V → 5 V, that means R1 ≈ 10 kΩ, R2 ≈ 5.6 kΩ — what we worked out above.

Related