← Block library
÷

Voltage Divider

@electrace/voltage-divider@1.0.0 · CC-BY-4.0
ratio 0.5zout 5 kΩ
The actual schematic inside this block — every part is explained below.

Voltage Divider

Two resistors that turn a big voltage into a smaller, proportional one. The most-used two-component circuit in electronics — and the one whose two failure modes bite everyone exactly once.

The whole idea: the same current flows through both resistors, so the voltage splits in proportion to the resistances:

Vout = Vin × R2 / (R1 + R2)

Equal resistors → exactly half. 12 V battery into a 3.3 V ADC? R1 = 27k, R2 = 10k gives you 3.24 V at full charge.

What it's for: measuring things (battery monitors, sensor scaling, feedback pins on regulators) and biasing things. What it's not for: power. It can only deliver microamps before the ratio collapses.

The two gotchas, both about the same number — the output impedance R1∥R2:

  1. Loading. Anything you connect to vout is electrically part of the divider. A 10 k load on this 5 k-output divider shifts the ratio from 0.50 to 0.40 — your reading is just wrong. Keep loads ≥10× the output impedance, or buffer with an op-amp follower.
  2. The current never stops. Vin²/(R1+R2) flows 24/7 — the silent battery drain in "why does my project die in a week" designs. Scale the resistors up (100 k–1 M) for battery monitors; just know that high-impedance dividers are slower and noisier into ADC pins.

Exposes: vin, vout (= vin × ratio), gnd.

⚠ An ADC input is not a perfect voltmeter — most want to be driven from under ~10 kΩ. A 1 MΩ battery-saver divider straight into an ADC reads low and jumps around; add a small capacitor on vout or a buffer.

Exposed nets

vinin · signal
gndin · gnd
voutout · signal

Inside this block

R1
10k
the top leg — drops the share of Vin that vout doesn't get
R2
10k
the bottom leg — vout is the fraction across this one: Vout = Vin × R2/(R1+R2)

Limits & gotchas

load.min 50The divider's output impedance is R1∥R2 = 5 kΩ. Any load comparable to that becomes part of the divider and shifts the ratio — keep loads ≥10× Zout (≥50 kΩ), or buffer with an op-amp follower.
power.note 0It burns Vin²/(R1+R2) continuously — 12 V across 20 k is 7 mW, fine; the same divider made from 200 Ω would be 720 mW and a hot resistor. Scale R up for battery designs, down for noise-sensitive nodes.
Use this block in a real design
Drop it on a canvas, wire it up, and watch the live checks — free, no card.
Start designing →
This page is generated from the block's source — the same content powers the editor's explanations and live checks.