Resistor tolerance
The total sets the current the divider draws: lower wastes power, higher is more easily pulled down by whatever reads Vout. 10 kΩ to 100 kΩ suits most signals; go up to 1 MΩ for a battery that has to last.
| R1 | R2 | Vout | Error | Current | Use |
|---|---|---|---|---|---|
| 24 kΩ | 9.1 kΩ | 3.299 V | −0.03% | 363 µA | |
| 18 kΩ | 6.8 kΩ | 3.29 V | −0.29% | 484 µA | |
| 47 kΩ | 18 kΩ | 3.323 V | +0.70% | 185 µA | |
| 20 kΩ | 7.5 kΩ | 3.273 V | −0.83% | 436 µA | |
| 39 kΩ | 15 kΩ | 3.333 V | +1.01% | 222 µA | |
| 15 kΩ | 5.6 kΩ | 3.262 V | −1.15% | 583 µA | |
| 22 kΩ | 8.2 kΩ | 3.258 V | −1.26% | 397 µA | |
| 43 kΩ | 16 kΩ | 3.254 V | −1.39% | 203 µA |
Each ratio is listed once, sized to sit in the middle of your range. The same pair times 10 or divided by 10 gives the same voltage.
Two resistors in series across a supply split its voltage in proportion to their values. The output is taken from the point between them:
Vout = Vin × R2 / (R1 + R2)
It comes straight from Ohm's law. The same current I = Vin / (R1 + R2) flows through both resistors, and the voltage across R2 is I × R2. In the UK the same thing is usually called a potential divider, and the equation is identical.
Worked example: 12 V into R1 = 27 kΩ and R2 = 10 kΩ. Vout = 12 × 10 / (27 + 10) = 3.24 V, and the divider draws 12 V / 37 kΩ = 324 µA.
To go the other way, pick R2 and solve R1 = R2 × (Vin − Vout) / Vout. The answer is rarely a value you can buy, which is why the finder above searches real E-series pairs and shows the voltage you actually get.
Anything connected to Vout sits in parallel with R2 and pulls the output down. Seen from the load, the divider is a voltage source of Vin × R2 / (R1 + R2) with R1 ∥ R2 in series (its Thévenin equivalent). Keep the load at least 10 times that output impedance and the error stays under about 10%; at 100 times it's under 1%.
That's why a divider is fine for feeding an ADC or a logic input, and useless as a power supply. A module that draws 20 mA one moment and 100 mA the next makes Vout jump around. Use a regulator for power.
The most common use. A 2S LiPo reaches 8.4 V when full, and an ESP32's ADC is most accurate below about 2.45 V at its highest attenuation (Espressif ESP-IDF ADC documentation). 100 kΩ over 39 kΩ gives 2.36 V at 8.4 V and draws 60 µA, which a battery barely notices.
High values save the battery but leave a high output impedance (28 kΩ here), and the ADC's sampling capacitor briefly loads it on every reading. Espressif suggests a 100 nF capacitor from the ADC pin to ground to cut noise, and it also gives the sampling capacitor a charge to draw from. Measure the real ratio once with a multimeter and calibrate in firmware; resistor tolerance and the ADC's own offset both add up. Solder the divider with the pack unplugged: a shorted LiPo delivers tens of amps and can catch fire.
A 5 V Arduino's TX into a 3.3 V ESP32's RX is a fine job for a divider: 1 kΩ over 2 kΩ (or 10 kΩ over 20 kΩ) gives 3.33 V. It works for one-way, fairly slow signals like UART, a button or a chip-select line.
GrandpaCAD's chat picks real parts, draws the schematic, routes the PCB and checks it against JLCPCB's rules. You get Gerbers, BOM, pick-and-place, a KiCad project and a 3D board, plus a printed case if you want one.
"Battery monitor board: ESP32 reads a 2S LiPo through a voltage divider"