Skip to content
Physics

Voltage Divider Calculator

Voltage Divider Calculator

Enter the supply voltage and your two resistor values to find the output voltage of the divider, with every step shown.

Two resistors and a power supply can do something surprisingly useful: produce any lower voltage you need. That little arrangement is called a voltage divider, and it sits inside volume knobs, sensor circuits, battery monitors, and countless hobby electronics projects. If you have a 12 V supply but your sensor wants 5 V, or a 5 V microcontroller pin that must never see more than 3.3 V, a divider built from two ordinary resistors solves the problem for pennies. The Voltage Divider Calculator does the one piece of arithmetic the circuit demands. You enter the supply voltage and the two resistor values, and it returns the output voltage — the voltage that appears at the junction between the two resistors — along with the divider ratio, the total resistance, and the current flowing through the pair. The full working is shown line by line, so you can verify every number before you solder anything.

What the Voltage Divider Calculator Does

A voltage divider is two resistors in series across a supply. The same current flows through both, and the supply voltage splits across them in proportion to their resistances. The output is taken from the middle point, so it equals the fraction of the supply that drops across the lower resistor, R2. This calculator turns that idea into a number. Give it Vin (the supply voltage), R1 (the upper resistor, between the supply and the output node), and R2 (the lower resistor, between the output node and ground), and it computes Vout. It also reports the divider ratio R2/(R1+R2), which tells you at a glance what fraction of the supply reaches the output; the total series resistance; and the current through the divider in milliamps, which matters for power and battery-life estimates. Because the output depends only on the ratio of the two resistors, the calculator is also a design tool in reverse: pick a target voltage, try resistor pairs, and watch the output converge on your goal. Standard resistor values rarely give an exact ratio, so being able to test combinations in seconds is genuinely practical.

How to Use the Voltage Divider Calculator

Start by identifying your three numbers. Vin is the voltage of your supply or battery — 12 V, 9 V, 5 V, 3.3 V, whatever you are working with. R1 is the resistor you plan to put between the supply's positive terminal and the output node. R2 is the resistor between the output node and ground (the supply's negative terminal). The output voltage is always measured across R2. Type each value into its box. Resistor values go in ohms, so a 1 kΩ resistor is entered as 1000 and a 4.7 kΩ resistor as 4700 — just keep both resistors in the same unit and the ratio works out. Decimals are fine. Then press Calculate. The green panel shows the output voltage in large type, for example "8.000 V." Underneath, the breakdown lists the total resistance, the divider ratio, the exact output computation, and the current through the divider. If a box is empty, or a resistor value is zero or negative, a red message explains the problem instead of producing a nonsense answer. Press Reset to clear everything and try a new resistor pair.

The Formula Behind the Calculator

The whole circuit is governed by one equation: Vout = Vin × R2 / (R1 + R2) Here is why it works. The two resistors in series behave like a single resistor of value R1 + R2, so Ohm's law gives the current through both as I = Vin / (R1 + R2). That same current flows through R2, and the voltage across R2 is I × R2. Substituting the current gives Vout = Vin × R2 / (R1 + R2). The voltage divides in direct proportion to the resistances: the bigger R2 is relative to the total, the bigger the slice of Vin that appears at the output. A few consequences fall straight out of the formula. Vout can never exceed Vin with passive resistors — the ratio R2/(R1+R2) is always below 1. If R1 equals R2, the ratio is exactly one half and the output is half the supply. If R2 is much larger than R1, the output approaches the full supply; if R2 is much smaller, the output approaches zero. The formula also shows why units cancel: only the ratio matters, so ohms, kilohms, or megaohms all give the same Vout as long as both resistors use the same unit. The current, I = Vin/(R1+R2), is the price you pay for the divider — it flows constantly, draining the battery even when nothing is connected to the output. Lower resistor values give a "stiffer" output that is less disturbed by a load, but they waste more current; higher values sip current but are easily pulled off-voltage by whatever you connect. Good divider design is a compromise between those two, and the calculator shows you the current so you can judge it.

Worked Examples

Example 1 — stepping 12 V down toward logic levels. Take Vin = 12 V, R1 = 1000 Ω, and R2 = 2000 Ω. Total resistance: 1000 + 2000 = 3000 Ω. Divider ratio: 2000 ÷ 3000 = 0.667. Output voltage: 12 × 2000 ÷ 3000 = 8.000 V. Circuit current: 12 ÷ 3000 = 0.004 A = 4.000 mA. The calculator reports "8.000 V" — two-thirds of the supply, exactly as the 1:2 resistor ratio promises. Example 2 — the balanced divider. Take Vin = 5 V, R1 = 10000 Ω, and R2 = 10000 Ω. Total: 10000 + 10000 = 20000 Ω. Ratio: 10000 ÷ 20000 = 0.500. Output: 5 × 10000 ÷ 20000 = 2.500 V. Current: 5 ÷ 20000 = 0.00025 A = 0.250 mA. Equal resistors always split the supply exactly in half, and the higher resistor values keep the wasted current down to a quarter of a milliamp — a common choice for battery-powered sensing. Example 3 — standard E12 values for a 9 V battery. Take Vin = 9 V, R1 = 4700 Ω, and R2 = 2200 Ω. Total: 4700 + 2200 = 6900 Ω. Ratio: 2200 ÷ 6900 = 0.319. Output: 9 × 2200 ÷ 6900 = 2.870 V. Current: 9 ÷ 6900 ≈ 0.001304 A = 1.304 mA. The result "2.870 V" is typical of real-world design: off-the-shelf resistors rarely land on a round ratio, so you calculate, check against your target, and nudge one value until the output sits where you need it.

How to Read Your Results

The headline number is the voltage you would measure with a multimeter between the output node and ground (with nothing else connected). The divider ratio beside it is worth a second look: it is the fraction of the supply that survives to the output, so a ratio of 0.667 means "two-thirds of whatever Vin is." If you later change the supply — say from a 12 V adapter to a 9 V battery — multiply the new Vin by the same ratio to get the new output instantly. The current figure tells you the divider's appetite. Multiply it by Vin for the wasted power: in Example 1, 4.000 mA × 12 V = 48 mW, split between the two resistors. For mains-powered projects that is negligible; for a coin cell it is a real drain, and you would scale both resistors up by 10× or 100× (the voltage stays the same, the current falls proportionally). One honest caveat belongs here: the calculated Vout assumes nothing is connected to the output. Anything you attach draws extra current through R1 and drags the output down — this is called loading. As a rule of thumb, keep the load's resistance at least ten times R2, or buffer the output with an op-amp or feed it into a high-impedance input like a microcontroller's analog pin, and the calculator's number will hold true in practice.

Common Mistakes to Avoid

The number-one wiring error is swapping R1 and R2. Remember: the output is measured across R2, the resistor to ground. If you want a small output voltage, R2 must be the small resistor. Swapping them in Example 1 would give 12 × 1000 ÷ 3000 = 4.000 V instead of 8.000 V — a completely different circuit. When in doubt, re-read the labels: R1 is upper (supply side), R2 is lower (ground side). Second, never use zero or negative resistance values. A zero-ohm R2 is a short to ground (output = 0 V, and a potentially large current), while a zero-ohm R1 shorts the supply — the calculator refuses these inputs because the formula divides by the total and the physics gets dangerous. Third, keep the resistor units consistent. Entering R1 as 1 (meaning 1 kΩ) and R2 as 2000 (meaning 2000 Ω) silently computes the wrong ratio. Convert everything to ohms first: 1 kΩ → 1000, 4.7 kΩ → 4700. Fourth, remember the loading caveat above — a divider is a fine voltage reference for high-impedance inputs but a poor power supply. And finally, do not expect more out than you put in: no combination of passive resistors can make Vout exceed Vin. If your target is higher than the supply, you need a boost converter or amplifier, not a divider.

Frequently Asked Questions

1. What is a voltage divider?

It is two resistors connected in series across a voltage supply, with the output taken from the point between them. The supply voltage splits across the two resistors in proportion to their values, so the middle point sits at a predictable fraction of the supply.

2. What is the voltage divider formula?

Vout = Vin × R2 / (R1 + R2). Multiply the supply voltage by the lower resistor, then divide by the sum of both resistors. For Vin = 12 V, R1 = 1000 Ω, R2 = 2000 Ω, that is 12 × 2000 ÷ 3000 = 8.000 V.

3. Which resistor is R1 and which is R2?

R1 is the upper resistor, connected between the supply's positive terminal and the output node. R2 is the lower resistor, connected between the output node and ground. The output voltage is measured across R2.

4. Why is the output taken across R2?

By convention the divider output is the node between the resistors referenced to ground, and R2 is the resistor from that node to ground — so the node voltage equals the voltage across R2. If you instead measured across R1, you would get Vin × R1/(R1+R2), the complementary fraction.

5. Can the output voltage be higher than the input?

No — not with a passive divider. The ratio R2/(R1+R2) is always less than 1, so Vout is always less than Vin. To get a higher voltage you need an active circuit such as a boost converter or an amplifier.

6. What happens if R1 and R2 are equal?

The supply splits exactly in half: Vout = Vin ÷ 2. The divider ratio is 0.500. Equal-value dividers are the most common quick way to get a mid-supply reference voltage.

7. Do both resistors need to be in ohms?

They need to be in the same unit — both in ohms, both in kilohms, or both in megaohms. Because only the ratio R2/(R1+R2) matters, the units cancel. Mixing units (one in kΩ, one in Ω) is the classic way to get a wrong answer.

8. How much current does a voltage divider waste?

I = Vin/(R1+R2), flowing constantly. For 12 V across 3000 Ω total, that is 4.000 mA. Higher total resistance wastes less current but makes the output easier for a connected load to disturb — divider design is a trade-off between the two.

9. What is loading, and why does it change the output?

Loading is what happens when you connect something to the output that draws current. That extra current flows through R1 but not R2, upsetting the ratio the formula assumes and pulling Vout down. Keep the load resistance at least ten times R2, or buffer the output, to keep the error small.

10. Can I use a voltage divider to power a device?

Only for devices that draw almost no current, like a microcontroller analog input or a comparator reference. Anything with a real appetite (motors, LEDs, radios) will load the divider and collapse the voltage. For power, use a voltage regulator instead.

11. Why does the calculator reject zero-ohm resistors?

Because zero resistance breaks the circuit model: R1 = 0 shorts the supply (enormous current), and R2 = 0 shorts the output to ground. Real resistors are never truly zero, and the formula divides by the total resistance, so zero is both unphysical and mathematically invalid here.

12. How do I pick resistor values for a target voltage?

Rearrange the formula: R1/R2 = (Vin − Vout)/Vout. Pick a convenient R2, solve for R1, then choose the nearest standard value and re-check with the calculator. Aim for a total resistance that keeps the wasted current acceptable for your power source.

13. What resistor values are practical?

For sensing and references, 1 kΩ to 100 kΩ total is typical. Below about 1 kΩ the current waste grows noticeable for batteries; above about 1 MΩ, leakage currents and noise start to corrupt the measurement. Most designs land in the 10 kΩ neighborhood.

14. Does temperature affect a voltage divider?

Slightly. Resistors drift with temperature, but if both resistors are the same type, they drift together and the ratio — and therefore Vout — barely moves. That ratio-based stability is one reason dividers are popular for sensor conditioning.

15. Can I chain more than two resistors?

Yes. With three or more resistors in series you get multiple tap points, each at its own fraction of the supply — the same formula generalizes to Vn = Vin × (resistance below the tap)/(total resistance). Resistor ladders in digital-to-analog converters work exactly this way.

Final Thoughts

The voltage divider is the simplest useful circuit in electronics: two resistors, one equation, and an answer you can trust before you pick up a soldering iron. The formula Vout = Vin × R2/(R1+R2) rewards a moment of thought about which resistor is which and what the ratio means, and the current figure keeps you honest about power. Use the Voltage Divider Calculator to test resistor pairs in seconds, keep the loading rule of thumb in mind when you connect a real load, and you will find this humble circuit solving level-shifting and sensing problems for years to come.