Skip to content
AESTECHNO
AESTECHNO
Contact
Resistors

Voltage divider formula: Vout = Vin × R2 / (R1 + R2)

Two resistors in series across a voltage Vin give a smaller voltage Vout at their junction. The ratio depends only on the two resistances, as long as nothing draws current from the output.

The voltage divider scales a battery or supply voltage down to an ADC input, sets the threshold of a comparator, biases a transistor and sets the output of an adjustable regulator through its feedback pin.

The formula

Vout=VinR2R1+R2

Output of an unloaded divider: no current is drawn from the junction of R1 and R2.

Symbol Quantity Unit
Vout Output voltage, across R2 volt (V)
Vin Input voltage, across the whole divider volt (V)
R1 Upper resistor, between the input and the output ohm (Ω)
R2 Lower resistor, between the output and ground ohm (Ω)
The same current I flows through R1 and R2 as long as the load RL draws nothing; connecting RL lowers Vout.

Where the formula comes from

With no load on the output, R1 and R2 are in series: the current has nowhere else to go, so the same current I flows through both. Ohm's law applied to the total resistance gives that current:

I=VinR1+R2

The output voltage is the voltage across R2 alone. Ohm's law applied to that resistor, with the same current, gives the divider formula:

Vout=IR2=VinR2R1+R2

Each resistor takes a share of the input voltage in proportion to its resistance. The output can never exceed Vin, and only the ratio of the resistors matters: 1 kΩ with 1 kΩ and 100 kΩ with 100 kΩ both give half the input, unloaded.

What a load does to the output

Anything connected to the output draws current and acts as a load resistor RL in parallel with R2. The lower leg of the divider is no longer R2 but the parallel combination:

R2∥RL=R2RLR2+RL

That combination is always smaller than R2, so the output voltage drops. The loaded divider follows the same formula with R2 replaced by the parallel combination:

Vout=VinR2∥RLR1+R2∥RL

Thevenin's theorem gives a shorter view. Seen from the output, the divider behaves like a source of voltage VTh, the unloaded output, behind a resistance RTh equal to R1 and R2 in parallel, found by replacing the input source with a short circuit:

RTh=R1∥R2=R1R2R1+R2,Vout=VThRLRTh+RL

The relative drop caused by the load is therefore RThRTh+RL. To keep it small, the load resistance must be large compared with RTh, not just compared with R2.

Choosing the resistor values

The ratio fixes the output voltage, but the absolute values are a trade-off. Low values make the divider stiff against a load, at the cost of a permanent current through both resistors and the power it dissipates:

P=Vin2R1+R2

High values save current, which matters on a battery, but raise the Thevenin resistance seen by whatever reads the output. Leakage currents and input bias currents then flow through a large resistance and shift the output.

An ADC input is a common case. A SAR ADC charges an internal sampling capacitor from its source during a short acquisition time, and the source impedance of a divider is R1 in parallel with R2. If that impedance is too high, the capacitor does not settle and the reading carries gain and settling errors. Check the ADC datasheet for its source impedance limit, and add an op-amp follower as a buffer when the divider has to stay high in value.

A divider is not a power supply

A divider gives a voltage that depends on the load. As soon as a circuit draws a significant current from the output, the voltage falls, and it moves again every time that current changes. A microcontroller, a radio module or a motor draws a current that changes all the time.

Efficiency is poor as well: all the current that reaches the load also flows through R1, which turns the voltage difference into heat. To power a circuit from a higher voltage, use a linear or switching regulator. Keep dividers for signals and references read by high-impedance inputs.

Worked example

Scaling 12 V to an ADC input

A 12 V supply has to be monitored by an ADC with a 3.3 V input range, using the standard E12 values R1=27kΩ and R2=10kΩ. What does the ADC see, how much current does the divider draw, and what happens if the input loads it with 100 kΩ?

  1. Unloaded output: Vout=12×1027+10=3.24V, inside the 3.3 V range.
  2. Divider current: I=12V37kΩ=0.32mA, about 3.9 mW drawn from the 12 V supply all the time.
  3. Thevenin resistance: RTh=27×1037kΩ=7.30kΩ.
  4. Loaded output with RL=100kΩ: Vout=3.24V×100107.3=3.02V, a drop of 7.30107.3=6.8%.

Result: 3.24 V unloaded for 0.32 mA of divider current, but only 3.02 V with a 100 kΩ load, a 6.8 % error unless the load is accounted for or buffered.

Common mistakes

  • Putting the wrong resistor in the numerator. The output across R2 is VinR2R1+R2; the fraction with R1 on top gives the voltage across R1.
  • Ignoring the load. The formula assumes no current is drawn from the output; any load acts in parallel with R2 and lowers the voltage.
  • Comparing the load with R2 only. The error depends on the Thevenin resistance R1 in parallel with R2, so check the load against that value.
  • Choosing very high values to save current and then reading them with an ADC. The sampling capacitor and leakage currents need a low enough source impedance.
  • Using a divider to power a circuit. The output voltage follows the load current, and all of that current is wasted as heat in R1.
Calculator

Run the numbers with your own values:

A circuit to design?

Our design house in Montpellier, France designs and validates electronic boards, from schematic to production.

Our electronic design expertise

Frequently asked questions

Why does the voltage divider formula use R2 in the numerator?
Because the output is taken across R2. The same current flows through both resistors, so the voltage across R2 is that current times R2, and the current is the input voltage divided by R1 plus R2. Dividing gives R2 over R1 plus R2. Taking the output across R1 instead would put R1 in the numerator.
What happens when a load is connected to a voltage divider?
The load resistance appears in parallel with R2, so the lower leg of the divider becomes smaller and the output voltage drops. The more current the load draws, the larger the drop. With the Thevenin equivalent, the relative drop is the divider's Thevenin resistance divided by that resistance plus the load resistance.
What is the output impedance of a voltage divider?
It is R1 in parallel with R2, the product of the two divided by their sum. That is the Thevenin resistance seen from the output when the input source is replaced by a short circuit. It sets how much the output moves under load and how quickly an ADC sampling capacitor can charge.
How do I choose resistor values for a voltage divider?
Pick the ratio for the output voltage you need, then pick the absolute values. Lower values make the output stiffer against a load but draw more current and dissipate more power. Higher values save current but raise the source impedance, which can cause errors with an ADC, leakage or input bias current.
Can a voltage divider be used as a power supply?
No. Its output voltage changes with the load current, so a circuit whose consumption varies sees a varying supply, and every milliampere delivered to the load also flows through R1 and is turned into heat. To power a circuit from a higher voltage, use a linear or switching regulator; keep dividers for signals and references.

Sources

Formulas and values checked against these published references.