Calculators
Voltage divider calculator
By Bulan Sarkar
Check a divider you already have, with or without a load on the output, or give the voltage you want and get the best pair of standard resistors. Both modes show the current drawn and the power in each resistor.
The input resistance of whatever the output drives. Leave empty for no load.
- Output
- 3.243 V
- 27.03 % of the input
- Worst case at ±1 %
- 3.196 V to 3.291 V
- Output resistance
- 7.3 kΩ
- R1 ∥ R2: what the load sees
- Current from the input
- 324 µA
- Power in R1 / R2
- 2.84 mW / 1.05 mW
- ⅛ W parts are enough
Quick answer
Vout = Vin × R2 / (R1 + R2). To get 3.3 V from 5 V, the E24 pair 4.7 kΩ and 9.1 kΩ gives 3.297 V. Anything you connect to the output pulls it down, so check the load as well.
The formula, and what the load does to it
Vout = Vin × R2 / (R1 + R2)
The same current flows through both resistors, so each one takes a share of the input voltage in proportion to its resistance. The output is the voltage across R2. The voltage divider lesson derives it and works through where dividers turn up.
That formula assumes nothing draws current from the output. Anything you connect does, and electrically it sits in parallel with R2, so the bottom arm becomes R2 ∥ RL and the output drops. How far it drops depends on the divider's output resistance, R1 ∥ R2, against the load. Thévenin's theorem is the tool for this: the divider looks like a source of Vout behind R1 ∥ R2. A load 100 times that resistance costs about 1 %; a load equal to it halves the output. Meter loading is the same effect showing up on your multimeter.
The worst-case range assumes both resistors sit at opposite ends of their tolerance, R1 high and R2 low, then the reverse. When R1 and R2 are equal, 1 % parts give a 1 % spread on the output. The pair finder tries each standard value of R1, solves for the R2 that would give the exact output (allowing for the load when there is one), and tests the standard values either side of it. It keeps pairs whose total lands within about a factor of three of the total you asked for.
Worked example in numbers
- R1
- 4.7 kΩ
- R2
- 9.1 kΩ
- Output
- 3.297 V
- Current drawn
- 362 µA
Worked examples
5 V down to 3.3 V from E24 parts
A 5 V signal needs to reach a 3.3 V input. The ratio is 3.3 / 5 = 0.66, so R2 has to be about 1.94 times R1. Asked for E24 values totalling around 30 kΩ, the pair finder returns R1 = 4.7 kΩ and R2 = 9.1 kΩ: 5 V × 9.1 / 13.8 = 3.297 V, which is -0.088 % from the target.
The pair draws 362 µA and has an output resistance of 3.1 kΩ. With 1 % resistors the output can land anywhere from 3.275 V to 3.319 V, so resistor tolerance matters far more here than the 0.09 % the E24 rounding costs.
Halving 12 V into a 100 kΩ input
Two 10 kΩ resistors split 12 V into 6 V with nothing connected. Connect an input with 100 kΩ of resistance and the bottom arm becomes 10 kΩ ∥ 100 kΩ = 9.09 kΩ. The output falls to 5.71 V, -4.76 %. The divider's output resistance is 4.76 kΩ, and the load is only 20 times that.
Drop both resistors to 1 kΩ and the same load costs much less: the output is 5.97 V (-0.5 %). The price is current. The 1 kΩ pair draws 6.03 mA against 629 µA, and each resistor dissipates about 36 mW. When neither the error nor the current is acceptable, put a buffer (an op-amp follower) between the divider and the load.
Choosing the resistance scale
The ratio fixes the output; the size of the resistors fixes everything else. Low values make a stiff divider that shrugs off a load but wastes current and warms up. High values sip current, which matters on a battery, but a load or even the input current of an ADC pulls them around. A few kilohms to a few tens of kilohms suits most signal work. For battery monitoring people go to hundreds of kilohms and add a small capacitor across R2 for the ADC to draw from. The power dissipation lesson covers the heat side.
Tips and tricks
- Check the output with the real load connected. A 10 MΩ multimeter barely loads a divider, so the open reading looks right while the circuit it feeds sees less.
- Use 1 % resistors. With 5 % parts the tolerance spread is several times bigger than the error from rounding to standard values.
- On a high-value divider feeding an ADC, put 10 to 100 nF across R2. The ADC samples from the capacitor and the reading stops jumping about.
- For 5 V to 3.3 V logic, a divider is fine on slow lines such as a UART at ordinary baud rates. On fast SPI or anything in the megahertz range, the resistors and the pin capacitance round off the edges; use a level-shifter chip there.
- On higher input voltages, check R1, which carries most of the voltage. Look at its wattage and its maximum working voltage, which is low on small SMD packages.
What we would do
For scaling a signal into a microcontroller ADC, we would pick a pair from this calculator totalling 10 kΩ to 100 kΩ, in 1 % metal film. For watching a battery that must last, go to a few hundred kilohms and add the capacitor across R2. If the output has to supply real current, or hold its voltage while the load changes, a divider is the wrong part: use a regulator such as the LM317, or an op-amp buffer.
Questions people ask
How do you calculate a voltage divider?
Vout = Vin × R2 / (R1 + R2), where R2 is the resistor from the output to ground. Two equal resistors give half the input; to get 3.3 V from 5 V, R2 has to be about 1.94 times R1. That formula holds only while nothing draws current from the output.
What resistors give 3.3 V from 5 V?
From E24 values, R1 = 4.7 kΩ and R2 = 9.1 kΩ give 3.297 V, -0.088 % from 3.3 V. With 1 % resistors the output can land anywhere from 3.275 V to 3.319 V. That is fine for a logic input, which reads the level and draws almost no current.
Why does my divider output drop when I connect something to it?
The load sits in parallel with R2 and lowers the bottom arm. Two 10 kΩ resistors on 12 V give 6 V open, but a 100 kΩ input pulls that down to 5.71 V. Keep the load at least 100 times the divider's output resistance, use smaller resistors, or buffer the output with an op-amp follower.
Can I use a voltage divider to power a module?
No. The output voltage depends on the current drawn, and a module or motor changes its current all the time, so the voltage moves with it. Dividers are for signals and measurement. To power something, use a regulator.
Do the resistor values matter if the ratio is the same?
Yes. The ratio sets the output, and the size sets the current drawn and how well the output holds under a load. A 10 kΩ pair on 12 V draws 629 µA; a 1 kΩ pair draws 6.03 mA but sags far less when loaded.
One email a month from the bench
New circuits, lessons, part guides and calculators, on the first Sunday of each month.