Voltage Divider Calculator: The Formula Every EE Student Needs
Reviewed by Jerry Croteau, Founder & Editor
Table of Contents
I was standing at my bench doing math on a sticky note
I was soldering up a little sensor board and I needed 3.3 V from a 12 V rail and I’m staring at two resistors like they’re going to confess the answer. I’d already picked values that “looked right,” and then I measured it and got something like 3.6 V and I did that thing where you nod like you understand. I didn’t.
So yeah, voltage dividers. Everyone learns them, everyone forgets the annoying parts, and then you build something real and the numbers start drifting around like they’ve got hobbies.
Here’s the version I wish someone had told me: the formula is easy, but the real trick is picking resistor values that don’t waste power, don’t load your signal into the dirt, and still land you in the ballpark once tolerances show up.
The voltage divider formula (and the one assumption nobody says out loud)
A voltage divider is just two resistors in series from your input voltage to ground, and you grab the output from the middle node. That’s it. Two resistors, one tap.
And the “silent assumption” is that whatever you connect to the output doesn’t pull meaningful current. If you hang a load on it (an ADC input is usually fine, a relay coil is absolutely not), the divider stops being the clean little textbook thing you remember.
So if you remember nothing else: Vout is Vin multiplied by the fraction of the total resistance that sits on the bottom. Bottom resistor bigger? Output goes up. Bottom resistor smaller? Output goes down. It’s weirdly intuitive once you say it out loud.
And if you want a calculator because you’re tired of doing it on your phone (same), I built these so you can just plug numbers in and move on:
Pick values like an engineer, not like a textbook
So you’ve got the formula. Cool. Now you’ve got to pick R1 and R2, and that’s where people accidentally build little space heaters (or build something so high-impedance it becomes an antenna).
Here’s the practical workflow I use when I’m helping an EE spec something that actually ships, or at least survives a week on a workbench.
Step 1: Start with the ratio. Decide what Vout you want from Vin, and solve for the ratio R2/(R1+R2). If you want 3.3 V from 12 V, that ratio is 3.3/12 = 0.275. So the bottom resistor needs to be about 27.5% of the total series resistance.
Step 2: Decide how “stiff” the divider needs to be. This is the part that’s never one-size-fits-all. If you’re feeding an ADC input, you can often use higher resistances (like tens of kΩ) to keep current low. If you’re feeding something that draws real current, a divider is usually the wrong tool, full stop, and you should be thinking regulator, reference, buffer op-amp, something like that.
Step 3: Check current and power. Divider current is basically Vin/(R1+R2). Power in each resistor is I²R (or V²/R if you prefer). This is where you catch “why is that resistor brown?” before it happens.
And then there’s tolerance. 5% resistors are common, 1% are common too, and both are still “wrong” in the sense that your exact ratio will drift. The thing is, the ratio error often matters more than the absolute values. Two 1% resistors can still stack worst-case in opposite directions. If you need accuracy, you either use tighter tolerance, add calibration in firmware, or stop pretending a divider is a precision reference.
One more real-world gotcha: input impedance of what you’re measuring with. A multimeter is usually high impedance, so it won’t disturb much. An ADC input can be trickier because of sample-and-hold behavior (it can gulp charge in bursts), so you might need a smaller divider resistance or a capacitor at the node. I had no idea why my readings were “jumpy” the first time I saw that, and I wasted an afternoon blaming the sensor.
A worked example: 12 V down to about 3.3 V
Let’s do the version you’ll actually run into: you’ve got a 12 V system and you want to scale it into a microcontroller ADC that tops out at 3.3 V.
Goal: Vin = 12 V, Vout ≈ 3.3 V.
- Compute the ratio: Vout/Vin = 3.3/12 = 0.275.
- Pick a total resistance that keeps current reasonable. Say we want divider current around 0.25 mA (low enough to not waste much, high enough to be fairly stable). Total R ≈ Vin / I = 12 / 0.00025 = 48,000 Ω.
- Now pick R2 = 0.275 × (R1+R2) ≈ 0.275 × 48,000 ≈ 13,200 Ω.
- Then R1 ≈ 48,000 − 13,200 = 34,800 Ω.
- Nearest common values? R1 = 34.8 kΩ and R2 = 13.3 kΩ gets you close, or you go with E24-ish values like 33 kΩ and 12 kΩ if you’re not picky (but check the output).
Let’s sanity-check with the formula using 34.8 kΩ and 13.3 kΩ:
Vout = 12 × (13.3 / (34.8 + 13.3)) = 12 × (13.3 / 48.1) ≈ 12 × 0.2765 ≈ 3.32 V.
And it works!
Now check power (because that’s where the “real world” lives): divider current I = 12 / 48.1k ≈ 0.249 mA. Total power is Vin × I ≈ 12 × 0.000249 ≈ 0.003 W, about 3 mW. Each resistor is a couple milliwatts. A basic 0.1 W resistor laughs at that.
So why did my earlier bench build read 3.6 V? Because I picked values off the top of my head, and then I hung a load on the node (a module with a pull-down I didn’t notice), and then I used 5% parts because that’s what was in the drawer. Three small “whatever” decisions, one annoying measurement.
Quick reference table (so you don’t have to re-derive it every time)
This isn’t meant to be exhaustive, just the kind of cheat sheet you scribble on the whiteboard.
| Vin | Target Vout | Example R1 | Example R2 | Notes |
|---|---|---|---|---|
| 5 V | 3.3 V | 5.1 kΩ | 10 kΩ | Common for logic-level shifting into 3.3 V inputs (still watch input specs). |
| 12 V | 3.3 V | 34.8 kΩ | 13.3 kΩ | Nice for ADC scaling; about 0.25 mA divider current. |
| 24 V | 5 V | 38.3 kΩ | 9.09 kΩ | Ratio ≈ 0.208; consider transient protection on the input. |
| 9 V | 1 V | 80.6 kΩ | 10 kΩ | High-ish impedance; can get noisy if your environment is messy (and it usually is). |
And yes, you can scale these up or down (multiply both resistors by 2, 5, 10…) and the voltage ratio stays the same. What changes is current, noise susceptibility, and how much the load messes with you.
That’s the trade.
FAQ (the stuff people ask after they build it)
Can I use a voltage divider to power something (like a small module)?
Usually no. A divider is a signal trick, not a power supply. The moment the load current is in the same neighborhood as the divider current, Vout sags and wanders. If you need a stable rail, use a regulator or a reference (or buffer the divider with an op-amp if you’re doing something analog).
What resistor tolerance do I actually need?
- If you’re just detecting “battery high vs low,” 5% is often fine.
- If you’re mapping voltage to a calibrated reading, 1% (or better) plus firmware calibration is my usual move.
- If you truly need precision without calibration, you’re probably shopping for a reference, not a divider.
Why does my ADC reading change when I change the resistor values (even with the same ratio)?
Because ADC inputs aren’t purely infinite impedance in the way the simple model pretends. Many ADCs have a sample-and-hold capacitor that charges through your divider, and if your divider is too high resistance, it can’t settle fast enough. Fixes are usually: lower the resistor values, add a small capacitor at Vout to ground, slow the ADC sampling, or use the ADC voltage divider calculator to sanity-check the loading assumptions.
If you want the fast way to verify all this without redoing algebra every time, use the
Related Calculators
Get smarter with numbers
Weekly calculator breakdowns, data stories, and financial insights. No spam.
Discussion
Be the first to comment!