Voltage Divider Calculator: Vout, Resistor Values and Load Effects
By FindMySum · Last reviewed
A voltage divider is the simplest circuit for getting a smaller voltage from a larger one: two resistors in series, with the output taken from the point between them. It is how microcontrollers read battery voltages, how sensors are biased and how 5 V signals are brought down to 3.3 V. This calculator finds the output voltage, or works backwards to the resistor or input voltage you need, shows how a load changes the result, and picks the best pair of standard resistor values.
The formula
With R1 between the input and the output and R2 between the output and ground:
Vout = Vin × R2 ÷ (R1 + R2)
The same current flows through both resistors, I = Vin ÷ (R1 + R2), and each drops a voltage in proportion to its resistance. The output is simply the voltage across R2. Rearranged, the formula gives every other quantity:
- Vin = Vout × (R1 + R2) ÷ R2
- R1 = R2 × (Vin − Vout) ÷ Vout
- R2 = R1 × Vout ÷ (Vin − Vout)
Worked example: the default
The calculator opens with Vin = 5 V, R1 = 10 kΩ and R2 = 20 kΩ.
- Vout = 5 × 20 ÷ (10 + 20) = 3.333 V
- I = 5 V ÷ 30 kΩ = 166.7 µA
- Power in R1 = I² × R1 = 0.28 mW, in R2 = 0.56 mW
Two-thirds of the input appears at the output because R2 is two-thirds of the total resistance. The power is tiny, so any common resistor will do.
Example: 5 V to 3.3 V logic
To feed a 5 V signal into a 3.3 V input, choose R1 = 10 kΩ and solve for R2: 10 × 3.3 ÷ 1.7 = 19.41 kΩ. That is not a value you can buy. The calculator searches every pair in the series you choose and finds the closest ratio: in E24, 47 kΩ over 91 kΩ gives 3.297 V, 0.09% low; in E12, 18 kΩ over 33 kΩ gives 3.235 V. A divider is fine for slow, one-way signals such as a UART receive line; fast or bidirectional buses need a proper level shifter.
Example: measuring a 12 V battery
A 3.3 V microcontroller cannot read 12 V directly. Size the divider for the highest voltage the battery reaches, around 14.4 V on a charger, so the ADC never sees more than 3.3 V. With R2 = 10 kΩ:
R1 = 10 kΩ × (14.4 − 3.3) ÷ 3.3 = 33.6 kΩ
In software, multiply the ADC voltage by (R1 + R2) ÷ R2 to get the battery voltage back. Larger resistors (100 kΩ range) waste less battery current, at the cost of a slower, noisier reading.
The loading effect
Whatever you connect to the output, a microcontroller pin, a meter, another circuit, is a resistance RL in parallel with R2. That lowers the bottom leg to R2 ∥ RL = R2 × RL ÷ (R2 + RL) and pulls the output down.
With 10 V across a 10 kΩ / 10 kΩ divider, the unloaded output is 5 V. Connect a 10 kΩ load and the bottom leg becomes 5 kΩ, so Vout = 10 × 5 ÷ 15 = 3.33 V, a third lower. Enter the load under the advanced options to see the effect. The rule of thumb is to keep the load at least ten times R2, which keeps the error under about 10%; when that is not possible, buffer the output with an op-amp. When you solve for R2 with a load entered, the calculator chooses R2 so that the loaded output is right.
Choosing resistor values
The formula only fixes the ratio, so you choose the scale:
- Small values (hundreds of ohms to a few kilohms) make the output stiff against loading and noise but draw more current and dissipate more power.
- Large values (100 kΩ and up) save current but are more sensitive to the load, leakage and the input of an ADC.
For battery sensing and logic, 10 kΩ to 100 kΩ for R2 is a common compromise, which is the range the standard-pair search uses.
Capacitive dividers
Two capacitors in series also divide a voltage, but in the opposite proportion: because both carry the same charge, Vout across C2 is Vin × C1 ÷ (C1 + C2). The smaller capacitor takes the larger share. Capacitive dividers are used on AC lines and in high-voltage probes. At DC, leakage currents decide the split over time, so in practice they are combined with resistors.
When not to use a divider
A divider is a poor power supply: its output sags as soon as the load draws current, and it wastes power continuously. To run a circuit from a lower voltage, use a linear or switching regulator. Use dividers for measurement, reference voltages, biasing and simple signal scaling.
More questions
Does it matter which resistor is on top?
Yes. The output is taken across the bottom resistor R2, so swapping R1 and R2 changes Vout from Vin × R2/(R1 + R2) to Vin × R1/(R1 + R2). With 10 kΩ and 20 kΩ from 5 V, one way gives 3.33 V and the other 1.67 V.
What is a potentiometer?
A variable voltage divider: a resistive track with a sliding contact (the wiper). The wiper splits the track into R1 and R2, which always add up to the potentiometer's total resistance, so turning the knob sweeps Vout from 0 to Vin.
How accurate is a voltage divider?
As accurate as its resistor ratio. With 1% resistors the ratio can be off by up to about 2% in the worst case, and both resistors drift with temperature. For better accuracy use 0.1% resistors, a matched resistor network, or calibrate the reading in software.
Why does my multimeter read a different voltage from the calculator?
A meter has its own input resistance, usually 10 MΩ for a digital meter, which acts as a load on R2. With small resistors it makes no difference; with megohm resistors the meter itself pulls the reading down. Enter the meter's resistance as the load to see the effect.
Can I use a voltage divider for an AC signal?
Yes, a resistive divider scales AC and DC alike as long as the frequency is low enough that stray capacitance doesn't matter. At high frequencies the divider becomes frequency-dependent, which is why oscilloscope probes include a small trimming capacitor.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.