electrician.wiki

Electronics calculators

Voltage divider calculator

Find the output of a resistor divider, or the resistor values for a target voltage, with the effect of the load, the current, the power in each resistor and the nearest standard values.

Report a problem with this result

How to use the voltage divider calculator

Pick what you want to find. Find Vout takes the input voltage and both resistors and returns the output voltage, the current the divider draws, the power in each resistor and the divider’s output resistance. Find R2 and Find R1 work backwards: enter the input, the output you want and one resistor, and the calculator returns the exact value of the other, then picks the E12, E24 or E96 value that lands closest to your target and shows how far off it is. Switch on the load to model whatever the output feeds (an ADC pin, a meter, the next stage) as a resistance RL; every mode then designs for it. Values accept the shorthand printed on schematics: 4k7 is 4.7 kΩ, 1M is 1 MΩ and 470R is 470 Ω.

The voltage divider formula

Two resistors in series carry the same current, so the input voltage splits between them in proportion to their resistance. R1 runs from the input to the output and R2 from the output to ground, and the output is the voltage across R2:

Vout=Vin·R2R1+R2

Solved for either resistor, the same equation sizes a divider from a target voltage:

R2=R1·VoutVin−Vout
R1=R2·Vin−VoutVout

Only the ratio sets the unloaded output: 1 kΩ over 470 Ω gives the same Vout as 100 kΩ over 47 kΩ. The absolute values set two other things. One is the current the divider wastes, I=VinR1+R2. The other is how stiff the output is. Seen from the output, every divider behaves like a source equal to its unloaded Vout in series with R1 and R2 in parallel, its Thevenin resistance:

Rth=R1·R2R1+R2

Connect a load RL and it forms a second divider with that resistance:

Vout,L=Vout·RLRth+RL

That second step is why a divider that measures perfectly with a 10 MΩ multimeter can read low once it drives a real input. For the current and power in any single resistor on its own, work it out with the Ohm’s law calculator.

Worked examples

A reference from a 9 V battery

A comparator needs a threshold near 3 V from a 9 V battery. Ten kilohms over 4.7 kΩ is a common first try: what does it give, what does it cost in current, and how stiff is it?
  1. 1. Output voltage with no load

    Vout=Vin·R2R1+R2=9V·4.7kΩ10kΩ+4.7kΩ=2.878V
  2. 2. Current through the divider

    I=VinR1+R2=9V10kΩ+4.7kΩ=612.2µA
  3. 3. Power in R1

    PR1=I2·R1=(612.2µA)2·10kΩ=3.748mW
  4. 4. Power in R2

    PR2=I2·R2=(612.2µA)2·4.7kΩ=1.762mW
  5. 5. Output resistance (Thevenin)

    Rth=R1·R2R1+R2=10kΩ·4.7kΩ10kΩ+4.7kΩ=3.197kΩ

9 V across 10 kΩ (top) and 4.7 kΩ (bottom) gives Vout = 2.878 V; the divider draws 612 µA and has an output resistance of 3.2 kΩ.

Scaling 0–15 V into a 3.3 V ADC

A microcontroller monitors a supply that can reach 15 V. With R1 = 47 kΩ, which bottom resistor puts 15 V at the ADC’s 3.3 V full scale, and what does the nearest E24 part give?
  1. 1. Rearrange the divider formula for R2

    R2=R1·VoutVin−Vout=47kΩ·3.3V15V−3.3V=13.26kΩ
  2. 2. Nearest E24 value and the output it gives

    Vout=Vin·R2R1+R2=15V·13kΩ47kΩ+13kΩ=3.25V
  3. 3. Error against the target

    error=Vout−VtargetVtarget=3.25V−3.3V3.3V=−1.52 %
  4. 4. Divider current

    I=VinR1+R2=15V47kΩ+13kΩ=250µA

For 3.3 V from 15 V with R1 = 47 kΩ, R2 must be 13.26 kΩ; the closest E24 value, 13 kΩ, gives 3.25 V (−1.52 %).

The same ratio, loaded by a 10 kΩ input

Two 10 kΩ resistors halve 12 V to 6 V on the bench. Then the output is connected to a stage with a 10 kΩ input resistance.
  1. 1. Open-circuit output (Thevenin voltage)

    Vth=Vin·R2R1+R2=12V·10kΩ10kΩ+10kΩ=6V
  2. 2. Output resistance (Thevenin)

    Rth=R1·R2R1+R2=10kΩ·10kΩ10kΩ+10kΩ=5kΩ
  3. 3. Output with the load connected

    Vout=Vth·RLRth+RL=6V·10kΩ5kΩ+10kΩ=4V
  4. 4. Current through R1

    IR1=Vin−VoutR1=12V−4V10kΩ=800µA
  5. 5. Power in each resistor

    PR1=IR12·R1=6.4mWPR2=Vout2R2=1.6mW

12 V across 10 kΩ over 10 kΩ gives 6 V with nothing connected, but the 10 kΩ load pulls the output down to 4 V (−33.3 %).

Feeding a 1.8 V input from 3.3 V logic

A slow 3.3 V control line has to drive a 1.8 V input. With R2 = 10 kΩ, what top resistor is needed? (For fast edges, the divider’s resistance and the pin’s capacitance form a low-pass filter; use a level shifter instead.)
  1. 1. Rearrange the divider formula for R1

    R1=R2·(Vin−Vout)Vout=10kΩ·(3.3V−1.8V)1.8V=8.333kΩ
  2. 2. Nearest E96 value and the output it gives

    Vout=Vin·R2R1+R2=3.3V·10kΩ8.25kΩ+10kΩ=1.808V
  3. 3. Error against the target

    error=Vout−VtargetVtarget=1.808V−1.8V1.8V=+0.46 %
  4. 4. Divider current

    I=VinR1+R2=3.3V8.25kΩ+10kΩ=180.8µA

For 1.8 V from 3.3 V with R2 = 10 kΩ, R1 must be 8.333 kΩ; the closest E96 value, 8.25 kΩ, gives 1.808 V (+0.46 %).

Best resistor pairs for common conversions

When both resistors are free to choose, the job becomes a search: for each standard R2 there is an ideal R1, and the nearest standard R1 lands a little off. The table below comes from the same engine as the calculator. It tries every value in a decade for R2, keeps the pair with the smallest ratio error, then scales the pair by a power of ten so the output resistance sits between 1 kΩ and 10 kΩ, which most ADC inputs accept. Multiply both resistors by ten if you need a tenth of the current.

Best standard pairs (no load), scaled so R1 ∥ R2 sits between 1 kΩ and 10 kΩ. Error is the ratio error before tolerance.
ConversionRatioE24 pair R1 / R2ErrorE96 pair R1 / R2Error
5 V → 3.3 VLogic level for a 3.3 V input0.664.7 kΩ / 9.1 kΩ−0.09 %13.7 kΩ / 26.7 kΩ+0.135 %
3.3 V → 1.8 VLogic level for a 1.8 V input0.545510 kΩ / 12 kΩ0.00 %13.7 kΩ / 16.5 kΩ+0.166 %
4.2 V → 3.3 VSingle Li-ion cell, fully charged0.78573 kΩ / 11 kΩ0.00 %10.2 kΩ / 37.4 kΩ0.000 %
12 V → 5 V12 V rail on a 5 V ADC0.416718 kΩ / 13 kΩ+0.65 %14 kΩ / 10 kΩ0.000 %
15 V → 3.3 V12 V system with headroom0.2239 kΩ / 11 kΩ0.00 %11.5 kΩ / 3.24 kΩ−0.086 %
24 V → 5 VIndustrial 24 V on a 5 V ADC0.20839.1 kΩ / 2.4 kΩ+0.17 %5.23 kΩ / 1.37 kΩ−0.364 %
24 V → 3.3 VIndustrial 24 V on a 3.3 V ADC0.137547 kΩ / 7.5 kΩ+0.08 %10.2 kΩ / 1.62 kΩ−0.323 %
48 V → 3.3 V48 V telecom or e-bike pack0.0687527 kΩ / 2 kΩ+0.31 %107 kΩ / 7.87 kΩ−0.346 %

E24 values are widely stocked in 1 % tolerance, so an E24 pair with a ratio error well under 1 % is limited by tolerance, not by the value choice. Notice that E96 does not always win: it is not a superset of E24. Values such as 1.2, 3.3 and 4.7 are missing from it (E96 has 1.21, 3.32 and 4.75), so a ratio that E24 hits exactly can be out of reach. The full lists are in the E-series resistor value tables.

How much a load pulls the output down

The loaded output depends only on how many times larger the load is than the divider’s output resistance. For the 9 V reference divider from the first example:

Loading the 9 V, 10 kΩ / 4.7 kΩ divider (no-load output 2.878 V, output resistance 3.197 kΩ)
Load ÷ (R1 ∥ R2)RLVoutError
1×3.2 kΩ1.439 V−50.00 %
2×6.39 kΩ1.918 V−33.33 %
5×16 kΩ2.398 V−16.67 %
10×32 kΩ2.616 V−9.09 %
20×63.9 kΩ2.741 V−4.76 %
50×160 kΩ2.821 V−1.96 %
100×320 kΩ2.849 V−0.99 %
1,000×3.2 MΩ2.875 V−0.10 %

The common rule of thumb, a load at least ten times the output resistance, still costs about 9 %. Staying under 1 % needs a load about a hundred times larger, and a 12-bit ADC that should be accurate to its last bit needs several thousand times. When the load cannot be that light, buffer the output with an op-amp voltage follower, or design for the load: Find R2 and Find R1 both do that when the load is switched on.

Practical pitfalls

  • Using a divider as a power supply. The output moves whenever the load current changes, and both resistors burn power all the time. To run a 5 V device from 12 V, use a linear or switching regulator; keep dividers for signals, references and bias points. An LED is not a divider job either: size its series resistor instead.
  • Tolerance stacking. Both tolerances act on the ratio. For the 9 V reference divider, ±1 % resistors allow anywhere from 2.839 V to 2.917 V; ±5 % parts widen that to 2.685 V to 3.077 V. The worst case is roughly ±2t(1 − Vout/Vin) for a tolerance t, so a divider that cuts the voltage a lot suffers nearly twice the tolerance of a single part. Use 0.1 % parts or a matched network, or calibrate in software. If parts come from a mixed drawer, check each resistor’s colour bands first.
  • ADC source impedance. A microcontroller ADC samples by connecting a small capacitor to the pin for a short acquisition time, and the divider has to charge it through its output resistance. Many datasheets give a maximum source impedance (often around 10 kΩ at the default sampling time) or a formula linking it to the sampling time. Exceed it and readings come out low and carry over charge from the previous channel. Lower the resistor values, lengthen the sampling time, add 10–100 nF from the ADC pin to ground for slow signals, or buffer the output.
  • Battery drain. A divider across a battery never switches off. 10 kΩ + 10 kΩ across a 4.2 V cell draws 210 µA, about 1,840 mAh a year. 1 MΩ + 1 MΩ cuts that to 2.1 µA (18.4 mAh a year), but its 500 kΩ output then needs a capacitor at the ADC pin. The alternative is a MOSFET that connects the divider only while measuring.
  • Power and voltage ratings. The calculator flags any resistor dissipating more than 62.5 mW and suggests a rating with a 2× margin. On high-voltage dividers the resistor’s maximum working voltage matters as much as its wattage: small chip resistors are typically rated between about 50 V and 200 V depending on size, so mains-sensing dividers use several resistors in series, with creepage distances to suit.
  • Temperature drift. General-purpose thick-film resistors typically drift ±100 ppm/°C or more, thin-film types ±25 ppm/°C or better. When both resistors are the same type and at the same temperature, much of the drift cancels in the ratio, which is why precision references use matched resistor networks.

Dividers also hide inside other circuits: a 555 timer’s ⅓ and ⅔ thresholds come from three equal internal resistors, which is why its timing barely changes with the supply. Calculate 555 timer frequency and pulse width with the timing calculator.

Method and verification

The calculator evaluates the divider equations exactly in double precision and rounds only for display, to four significant figures. A load is treated as a resistance from the output to ground, in parallel with R2; the loaded result is also checked against the Thevenin form above. In Find R2 and Find R1 the exact value comes first. The calculator then takes the standard values either side of it from the IEC 60063 series (E12, E24 or E96) and keeps the one that brings Vout closer to the target. That is not always the nearest value in ohms: when R2 is much smaller than R1, the output is almost proportional to R2 and the arithmetic midpoint, not the logarithmic one, decides.

Test cases include the reference divider (2.878 V, 612.2 µA, output resistance 3.197 kΩ), the 12 V half-divider loaded to exactly 4 V, round trips through all three modes with and without a load, a brute-force check of the best-pair search over every E24 combination, and loads too heavy for any R2 to reach the target.

Assumes ideal resistors and a resistive load at DC or low frequency. Updated 2026-10-14. Found a problem? Report it and we log every fix publicly.

Questions people ask

What is the voltage divider formula?
Vout = Vin × R2 / (R1 + R2), where R1 connects the input to the output and R2 connects the output to ground. 9 V across 10 kΩ and 4.7 kΩ gives 2.878 V. The formula assumes nothing draws current from the output.
How do I choose resistor values for a voltage divider?
Set the ratio first: R2 / (R1 + R2) = Vout / Vin. Then choose the size. The total R1 + R2 sets the current wasted, and R1 ∥ R2 sets the output resistance, which should be at most a tenth of the load (a hundredth for 1 % accuracy) and within what an ADC input accepts, often about 10 kΩ.
Why is my voltage divider output lower than calculated?
Usually the load. Whatever the output feeds sits in parallel with R2 and lowers the ratio; a load ten times the divider’s output resistance already costs about 9 %. Resistor tolerance and an ADC input that needs a low source impedance are the next suspects.
Can I use a voltage divider to power a device?
Not reliably. The output voltage changes with the device’s current, and the divider wastes power continuously. Use a voltage regulator: linear for small currents, a switching converter for anything larger. A divider is for signals and references.
How do I get 3.3 V from 5 V with a voltage divider?
For a signal, R1 = 4.7 kΩ and R2 = 9.1 kΩ (both E24) give 3.297 V from 5 V, with an output resistance of 3.1 kΩ. For a 3.3 V supply rail, use a regulator instead.
What is the output impedance of a voltage divider?
R1 and R2 in parallel: R1 × R2 / (R1 + R2). For 10 kΩ and 4.7 kΩ that is 3.197 kΩ. This is the resistance a load or an ADC input sees, and the reason the output sags under load.