Voltage Divider Calculator: Output, Load Effect and R2 Finder

Enter the input voltage and two resistors to get the divided output, with optional boxes for a connected load and for the output voltage you are aiming at.

ScienceFreeNo sign-upWorks on phones
––
–Vout / Vin
–Current in R1
–Power in R1
–Power in R2

For learning and low-voltage classroom projects such as battery and breadboard circuits. Mains electricity is dangerous: never use a resistor divider on it. Real wiring follows the local electrical code and a licensed electrician.

This tool runs in your browser. Nothing you type is uploaded or saved, and there is nothing to install or sign up for.

A voltage divider in one picture

Stack two resistors between a voltage source and ground, and the point where they meet sits at a voltage somewhere in between. That is a voltage divider: a two-part circuit that turns a bigger voltage into a smaller one. Voltage (in volts, V) is the electrical push, resistance (in ohms, Ω) is how hard a part resists the flow, and current (in amperes, A) is the flow itself.

This calculator gives the output voltage for any input and pair of resistors. It also shows what most textbook formulas leave out: what happens to that output once something is connected to it. And when you know the output you want, it works backward to the bottom resistor that delivers it.

How to enter a divider

  1. Type the supply as Input voltage, Vin.
  2. Enter Top resistor R1, the one joined to the supply, and Bottom resistor R2, the one joined to ground. Write 10,000 Ω as 10000, 10k or 10K; a capital M means a million.
  3. If a part or an instrument is attached to the output, enter its resistance under Load across R2. Leave the box empty for an unloaded divider.
  4. To design instead of analyze, type a Wanted output. The tool keeps your R1 and reports the R2 that gives that voltage.
  5. The yellow bar shows the output as a share of the input. Use Copy result for a one-line summary or Reset to start over.

Worked example: 12 V across 10 kΩ and 4.7 kΩ

These values load with the page.

  1. Add the resistors: 10,000 + 4,700 = 14,700 Ω.
  2. Take the bottom resistor’s share: 4,700 ÷ 14,700 is about 0.32 (the tile shows the unrounded ratio).
  3. Multiply by the input: 12 × 4,700 / 14,700 = 3.83673 V.

The current is the same in both resistors, 12 ÷ 14,700 = 816.3 microamperes (µA). The top resistor turns 6.664 milliwatts (mW) into heat and the bottom one 3.132 mW, far below what even a small quarter-watt part can handle.

Now connect something to it

Type 10k into the load box. The load sits side by side with R2, and two resistors in parallel always act like one smaller resistor: here 4.7 kΩ and 10 kΩ behave as about 3,197 Ω. The output falls from 3.83673 V to 2.90722 V, a drop of 0.929518 V or 24.23%. Nothing is broken; the load is simply sharing the bottom half of the divider.

The divider equation and where it comes from

Vout = Vin × R2 / (R1 + R2)

The equation is Ohm’s law used twice. The current through the stack is I = Vin / (R1 + R2), and the voltage across the bottom resistor is that current times R2. With a load RL, R2 is first replaced by the parallel pair R2 × RL / (R2 + RL). To solve for the bottom resistor, the same equation is rearranged to R2 = R1 × Vout / (Vin − Vout).

If R2 isOutput isExample with 9 V in
Equal to R1Half of the input4.5 V
Much smaller than R1Close to 0 VNear ground
Much larger than R1Close to the inputNear 9 V

Only the ratio of the two resistors sets the unloaded output. A pair of 1 MΩ resistors halves 5 V to 2.5 V just as a pair of 1 kΩ resistors would, but it draws only 2.5 µA. The price of large values is a weak output that sags as soon as any load is attached. The row called output resistance tells you how stiff the divider is: the lower it is, the less the output moves under load.

Sensor circuits for a school electronics project

Many classroom sensors are simply resistors that change. A light-dependent resistor changes with brightness, a thermistor with temperature, a flex strip with bending. A microcontroller board cannot read resistance directly, but it can read a voltage, so the sensor is used as one half of a divider and a fixed resistor as the other half. As the sensor’s resistance moves, the midpoint voltage moves with it.

Try it: set Vin to 5, R1 to 10k, and step R2 through the values your sensor takes in bright and dark conditions (measure them, or read them from its data sheet). The two outputs you get are the range your program will see.

A second common job is level shifting, for example bringing a 5 V signal down to 3.3 V for an input pin. Enter 5 V, R1 = 10k and a wanted output of 3.3. The tool answers that R2 should be 19,411.8 Ω, that the nearest standard E12 value is 18 kΩ, and that the real output with it is 3.21429 V.

Where dividers go wrong

  • Powering things from a divider. A divider is for signals and references, not for running a motor, a lamp or a board. Those loads have low resistance, so the output collapses.
  • Forgetting the load. Even a meter or an input pin is a load. As a rule of thumb, keep the load at least ten times larger than R2 so the drop stays small.
  • Swapping R1 and R2. The output is taken across the resistor that touches ground. Swap them and 12 V with these parts gives 8.16327 V instead of 3.83673 V.
  • Trusting every decimal. Real resistors are a few percent off their marked value, so expect the built circuit to differ slightly.
  • Using it on alternating mains voltage. This page is about small direct-current circuits only.

The results assume ideal resistors and a steady supply that does not droop. The E12 suggestion is the nearest value in the common series of standard resistor values; a value from a finer series, or two resistors combined, can get closer.

Next steps with related calculators

Before trusting a divider, confirm what the parts really are with the resistor color code calculator.

The load effect is a parallel-resistor problem in disguise, and the series and parallel resistor calculator lets you explore it with more than two parts.

For the current or power in a single resistor, the Ohm’s law calculator covers every arrangement of volts, amps and ohms.

Because the unloaded output depends only on how R1 compares with R2, the ratio calculator is a quick way to scale a pair of values up or down without changing the result.

Add a capacitor across the bottom resistor and the output no longer changes instantly; the RC time constant calculator shows how long it takes to settle.

These pages belong to the science and engineering calculators group.

You can browse every category from the index of free online calculators and classroom tools.

Frequently asked questions

What is the formula for a voltage divider?

Vout = Vin x R2 / (R1 + R2), where R2 is the resistor connected to ground. With 12 V, R1 = 10 k ohms and R2 = 4.7 k ohms the output is about 3.84 V.

Why does my voltage divider output drop when I connect something?

The connected part acts as a resistor in parallel with R2, which lowers the bottom resistance and so the output. A 10 k ohm load on the 10 k and 4.7 k ohm example pulls the output from 3.84 V down to about 2.91 V.

How do I choose R2 for a certain output voltage?

Use R2 = R1 x Vout / (Vin – Vout). To get 3.3 V from 5 V with R1 = 10 k ohms, R2 is about 19.41 k ohms, and the nearest E12 value of 18 k ohms gives about 3.21 V.

What do two equal resistors do in a voltage divider?

They cut the input exactly in half, whatever their value. Two 1 M ohm resistors on 5 V give 2.5 V, and two 10 k ohm resistors on 9 V give 4.5 V.

Can I use a voltage divider as a power supply?

Not for anything that draws real current. The output sags as soon as a low-resistance load such as a motor or lamp is attached, and the resistors waste power as heat. Dividers suit sensors, reference voltages and signal inputs.

How is a voltage divider used with a sensor?

A sensor whose resistance changes, such as a light-dependent resistor or thermistor, takes the place of one of the two resistors. As its resistance changes, the midpoint voltage changes, and a microcontroller input can read that voltage.

Related tools

Browse all free tools →