Voltage Divider Calculator
This calculator models an ideal two-resistor divider with the output measured across R2. In the default mode it returns Vout, the loop current, and the ratio Vout/Vin from your supply voltage and both resistors; switch modes to size R2 for a target output. Every calculation runs in your browser, so nothing you type is uploaded.
How to use the voltage divider calculator
- Use the Mode dropdown to pick Find output voltage or Find R2 for a target Vout.
- In the Input voltage (Vin) field, type your supply voltage in volts.
- For output mode, enter Resistor R1 and Resistor R2 in ohms; for R2 mode, enter Target output (Vout) and Resistor R1.
- Read the Output voltage, Current, and Ratio (Vout / Vin) cards, or the Required R2 result.
- Press Copy to save the labeled Vin, R1, R2 and results as text.
Examples
9 V across 1k and 2k
Mode Find output voltage, Vin = 9 V, R1 = 1000 ohm, R2 = 2000 ohm
Vout = 6 V, I = 0.003 A, ratio = 0.666666667
Equal resistors halve the input
Mode Find output voltage, Vin = 5 V, R1 = 10000 ohm, R2 = 10000 ohm
Vout = 2.5 V, I = 0.00025 A, ratio = 0.5
Size R2 for a target output
Mode Find R2 for a target Vout, Vin = 10 V, Vout = 2 V, R1 = 1000 ohm
Required R2 = 250 ohm
Frequently asked questions
What formula does this use?
With the output taken across R2, Vout = Vin x R2 / (R1 + R2). The current is I = Vin / (R1 + R2) and the ratio is R2 / (R1 + R2). All three follow from Ohm's law for two series resistors.
How do I size R2 for a specific output?
Switch the Mode dropdown to Find R2 for a target Vout. The tool rearranges the formula to R2 = R1 x Vout / (Vin - Vout) and shows the Required R2 in ohms.
Why does my real circuit read lower than Vout?
This is an unloaded, ideal divider. Any load connected across R2 sits in parallel with it, lowering the effective bottom resistance and pulling the output below the calculated value. Keep the load resistance well above R2, or add a buffer, to stay close to the ideal figure.
Can the output ever exceed the input?
No. A resistive divider only attenuates, so Vout always lands between 0 and Vin. In R2 mode the tool rejects any target Vout that is equal to or greater than Vin.
What happens if both resistors are zero?
The engine guards against a zero total: if R1 + R2 is zero it reports an error instead of dividing by zero. A single resistor may be zero on its own as long as the pair sums above zero.
Does it accept negative values?
No. Voltage and resistance are treated as non-negative, and the calculator flags negative entries rather than returning a meaningless result.
What units are the outputs in?
Vout is in volts, the current is in amperes, and the ratio is a pure number with no unit. To read small currents as milliamps, multiply by 1000; 0.003 A is 3 mA.
How much current does the divider draw?
The Current card shows I = Vin / (R1 + R2), the quiescent current flowing through the pair with no load. Larger resistor values cut this current and save power but make the output more sensitive to loading.
Is my data sent anywhere?
No. Every calculation happens locally in your browser with plain JavaScript, so your voltages and resistor values never leave your device.
Learn more
- Why a Loaded Voltage Divider Sags
How a load resistor pulls a divider's output below its ideal value, and how to size resistors so the sag stays small.
Related tools
Ohm's Law Calculator
Solve Ohm's law online. Enter any two of voltage, current, resistance or power and get the other two, with the V, I, R and P formulas shown.
LED Resistor Calculator
Calculate the series resistor an LED needs. Enter supply voltage, LED forward voltage and current to get the resistance, nearest E12 value and power.
Power Calculator
Calculate power online. Solve mechanical power from work and time (P = W / t) or electrical power from voltage and current (P = V x I), in watts.
555 Timer Calculator
Calculate 555 timer astable frequency, period, high and low times and duty cycle from R1, R2 and the timing capacitor. Free oscillator design helper.
Absolute Humidity Calculator
Calculate absolute humidity in grams of water vapor per cubic meter from air temperature and relative humidity. Fast, free and works in your browser.
Allele Frequency Calculator
Find allele frequencies from genotype counts. Enter the number of AA, Aa and aa individuals to get the A and a allele frequencies and allele totals.