100nF

Voltage divider calculator

Output voltage of a resistive divider, the current it burns, and what each resistor dissipates. It also gives you the nearest E24 part and what that substitution actually does to the output.

Vin 5.00 VR110.0 kΩVout2.50 VR210.0 kΩI = 250 µA
Fig 1 — Unloaded divider. 250 µA flows through the chain at all times.
Output
2.50 V
Nearest E24
10.0 kΩ → 2.50 V
Chain current
250 µA
P in R1 / R2
625 µW · 625 µW
Output impedance (Thevenin)
5.00 kΩ
Worst case, ±1 % parts
2.48 V to 2.52 V (-1.00 % / +1.00 %)

How this is calculated

Standard: Ohm's law, unloaded divider

Vout=Vin⋅R2R1+R2V_{out} = V_{in} \cdot \frac{R_2}{R_1 + R_2}
I=VinR1+R2I = \frac{V_{in}}{R_1 + R_2}
P=I2⋅RP = I^2 \cdot R
Per resistor.
R2=R1⋅VoutVin−VoutR_2 = R_1 \cdot \frac{V_{out}}{V_{in} - V_{out}}
Rth=R1∥R2R_{th} = R_1 \parallel R_2
Output impedance.
Vout(load)=Vin⋅R2∥RLR1+R2∥RLV_{out(load)} = V_{in} \cdot \frac{R_2 \parallel R_L}{R_1 + R_2 \parallel R_L}
R1(1∓tol),R2(1±tol)R_1(1 \mp \text{tol}), \quad R_2(1 \pm \text{tol})
Worst-case tolerance corners.
tsettle=Rth⋅Csample⋅ln⁡(2 bits+1)t_{settle} = R_{th} \cdot C_{sample} \cdot \ln(2^{\,bits+1})
ADC settling, to half an LSB.

Assumptions

What sets a divider's ratio, and its loading error

Two resistors in series across a source, output taken from the junction. With nothing connected to the output the current through both resistors is the same, so the output is just the source scaled by the ratio of the lower leg to the total. That is Ohm's law and Kirchhoff's voltage law, nothing more; there is no standard to cite because there is nothing to standardise. That divider, the current through it and the dissipation in each leg are the first three expressions under How this is calculated above.

The second mode inverts the same equation to find the lower resistor for a target output, given the upper one, which is the fourth.

The calculator then snaps R2 to the nearest E24 value (IEC 60063, closest in log distance) and recomputes the output with that part, because the number you solved for is never a number you can buy.

Voltage divider chart: common input and output pairs

The pairs a board actually needs, with a 10 kΩ upper resistor and the lower one rounded to the nearest E24 value. The output column is what that real pair gives, computed by the calculator above, and the error column is what the rounding costs before any resistor tolerance is added. Scale both resistors together for a different current; the ratio, and therefore the output, does not move.

InOut wantedR1 (top)R2 (bottom)Out, actualErrorCurrent
5 V3.3 V10 kΩ20 kΩ3.333 V+1.0 %167 µA
5 V2.5 V10 kΩ10 kΩ2.500 V+0.0 %250 µA
5 V1.8 V10 kΩ5.6 kΩ1.795 V−0.3 %321 µA
12 V5 V10 kΩ7.5 kΩ5.143 V+2.9 %686 µA
12 V3.3 V10 kΩ3.9 kΩ3.367 V+2.0 %863 µA
12 V2.5 V10 kΩ2.7 kΩ2.551 V+2.0 %945 µA
24 V12 V10 kΩ10 kΩ12.000 V+0.0 %1.20 mA
24 V5 V10 kΩ2.7 kΩ5.102 V+2.0 %1.89 mA
24 V3.3 V10 kΩ1.6 kΩ3.310 V+0.3 %2.07 mA
48 V12 V10 kΩ3.3 kΩ11.910 V−0.8 %3.61 mA
48 V5 V10 kΩ1.2 kΩ5.143 V+2.9 %4.29 mA
48 V3.3 V10 kΩ750 Ω3.349 V+1.5 %4.47 mA

Worked example: monitoring a 12 V rail with a 3.3 V ADC

A 12 V rail monitored by a 3.3 V ADC. Upper resistor fixed at 27 kΩ, solve for the lower one.

R2 = 27 000 · 3.3 / (12 − 3.3)
   = 89 100 / 8.7
   = 10 241 Ω

nearest E24 = 10 kΩ

Vout (10 kΩ) = 12 · 10 000 / 37 000 = 3.243 V
I            = 12 / 37 000          = 324.3 µA
P_R1         = (324.3e-6)² · 27 000 = 2.84 mW
P_R2         = (324.3e-6)² · 10 000 = 1.05 mW

Entering 12 V, 27 kΩ, 10 kΩ in output-voltage mode gives 3.24 V, 324 µA, 2.84 mW and 1.05 mW (three significant figures). Both dissipations are far under a 0603's 100 mW rating, so power is not the constraint here; the ratio and the source impedance are.

Now add the two things the calculator deliberately leaves out.

Loading. Looking back into the output, the source impedance is R1 in parallel with R2 (Thevenin). Anything hung on the output is in parallel with R2 and pulls the ratio down. (How a fixed currentsplits between parallel resistors is the dual problem, and has its owncurrent divider calculator.)

R_th = 27k ∥ 10k = 7.30 kΩ

load 1 MΩ:   R2' = 10k ∥ 1M   = 9.90 kΩ   Vout = 12 · 9.90 / 36.90 = 3.220 V   (−0.7 %)
load 100 kΩ: R2' = 10k ∥ 100k = 9.09 kΩ   Vout = 12 · 9.09 / 36.09 = 3.023 V   (−6.8 %)

A 100 kΩ load costs almost 7 %, which is more than the ADC's whole error budget. The rule: load impedance at least 100× the Thevenin impedance for a 1 % hit, and even then it is a systematic offset you should calibrate out.

Tolerance. Two 1 % parts, worst case pulling in opposite directions:

R1 +1 %, R2 −1 %:  12 · 9 900 / (27 270 + 9 900)  = 3.196 V   (−1.45 %)
R1 −1 %, R2 +1 %:  12 · 10 100 / (26 730 + 10 100) = 3.291 V   (+1.47 %)

The ratio error is roughly 2 % × R1/(R1+R2), so it approaches the sum of both tolerances when the division ratio is large and about 1 % when the resistors are equal. Same-reel parts track better than that, but you cannot design on it.

Where the ideal divider stops being valid

Common voltage divider mistakes

Further reading