Tech & Digital
Voltage Divider Calculator
A voltage divider is one of the simplest and most common circuits in electronics. Two resistors are connected in series across a voltage source, and the voltage at the point between them is a fixed fraction of the input. Because the same current flows through both resistors, the voltage across each is proportional to its resistance, so the output across the bottom resistor R2 equals the input voltage multiplied by R2 divided by the sum of R1 and R2. Dividing 12 volts with a 10 kilohm resistor on top and a 4.7 kilohm resistor below gives about 3.84 volts. Dividers are used to create reference voltages, to bias transistors, to scale down a battery or sensor voltage so a microcontroller’s analogue input can measure it, and inside potentiometers, which are adjustable dividers. This calculator works in two directions. Enter the input voltage and both resistors to get the output voltage, the divider ratio, the current drawn from the supply and the power dissipated in each resistor, so you can check that the resistors’ power ratings are adequate. Or enter the input, R1 and the output you need to find the value of R2, which you can then round to the nearest standard resistor value. An optional load resistance shows what happens when something is connected to the output: the load sits in parallel with R2, lowering the effective resistance and the output voltage. As a rule of thumb, keep the load at least ten times larger than R2. A divider is not a power supply; to power circuits, use a voltage regulator instead.
How to use this calculator
- Choose whether to find the output voltage or the R2 needed.
- Enter the input voltage and R1.
- Enter R2, or the target output voltage.
- Optionally enter the resistance of the load connected to the output.
- Read the output voltage or R2, the current and the power in each resistor.
Choosing resistor values
Only the ratio sets the voltage, but the absolute values matter. Low values waste power and drain batteries; very high values make the output sensitive to loads and noise.
For microcontroller analogue inputs, total resistances of a few kilohms to a few hundred kilohms are common; check the input impedance recommended in the datasheet.
Measuring higher voltages
To measure a 12 V battery with a 3.3 V analogue input, a divider can scale the voltage by about one quarter, with some margin for a fully charged battery.
Add a small capacitor across R2 to reduce noise, and remember that resistor tolerances of 1% or 5% affect the accuracy of the measured voltage.
Formula & method
Vout = Vin × R2 ÷ (R1 + R2)R2 for a target = R1 × Vout ÷ (Vin − Vout)With a load RL across R2, use R2 ∥ RL = R2 × RL ÷ (R2 + RL)Current = Vin ÷ (R1 + R2); power in each resistor = I² × RVout = Vin × R2 ÷ (R1 + R2). R2 = R1 × Vout ÷ (Vin − Vout). With a load: R2eff = R2 × RL ÷ (R2 + RL). I = Vin ÷ (R1 + R2eff).
Worked example
Dividing 12 V with 10 kΩ and 4.7 kΩ
- Total resistance = 10,000 + 4,700 = 14,700 Ω.
- Current = 12 ÷ 14,700 ≈ 0.816 mA.
- Vout = 12 × 4,700 ÷ 14,700 ≈ 3.84 V.
Answer: The output is about 3.84 V, with 0.82 mA flowing through the divider.
Frequently asked questions
Why does my output drop when I connect a load?
The load is in parallel with R2, lowering the effective bottom resistance; keep the load resistance at least about 10 times larger than R2, or use a buffer or regulator.
Can I power a device from a divider?
Usually not: dividers waste power and their voltage changes with load. They are best for reference voltages and level shifting of high-impedance inputs.
What is the divider ratio?
Vout divided by Vin, equal to R2 ÷ (R1 + R2).
What if my R2 is not a standard value?
Pick the nearest standard value, or combine two resistors in series or parallel, and check the resulting voltage.
Does the divider work with AC?
Yes, resistive dividers scale AC voltages too, as long as the frequency is not so high that stray capacitance matters.
What power rating do I need?
At least the power shown for each resistor, with a comfortable margin; common small resistors are rated 0.125–0.25 W.