Productive Toolbox

Voltage Divider Calculator

Calculate output voltage (Vout) using resistor values and input voltage with step-by-step explanation. Free online voltage divider calculator.

Actions

Circuit Parameters

V

Common Configurations

What Is a Voltage Divider Calculator?

A voltage divider calculator computes the output voltage of a two-resistor divider circuit from an input voltage and two resistance values. Enter Vin, R1, and R2, and the calculator returns Vout, the divider ratio, the current flowing through the circuit, and the power dissipated in each resistor — everything needed to verify the circuit works and won't overheat a resistor.

The formula itself, Vout = Vin × R2 ÷ (R1 + R2), is simple, but real designs need more than just the output number: you also need to confirm the current draw is acceptable, check that resistor power ratings aren't exceeded, and account for how a connected load will pull the output down from the no-load calculation. This tool computes all of it at once and shows the full step-by-step derivation.

Built for electronics students, hobbyists working with Arduino and ESP32 projects, hardware developers designing sensor interfaces, and electrical engineers prototyping signal-level voltage conversion. Includes six built-in presets for common logic-level conversions, step-by-step calculation display, and text export — free.

The Voltage Divider Formula

Core Formulas

Output Voltage = Vin × R2 ÷ (R1 + R2)

Current (A) = Vin ÷ (R1 + R2)

Power in R = Current² × R

Example: Vin = 12V, R1 = 4.7kΩ, R2 = 3.3kΩ

Vout = 12 × 3,300 ÷ 8,000 = 4.95V

  • R1 — the top resistor, between Vin and the output tap point
  • R2 — the bottom resistor, between the output tap point and ground; Vout is measured across R2
  • Divider ratio — R2 ÷ (R1 + R2), the fraction of Vin that appears at the output
  • The calculation assumes no load draws current from the output — a connected load will pull Vout below this no-load value (see FAQ)

How to Use the Voltage Divider Calculator

Step-by-Step Guide

  1. 1Enter Input Voltage (Vin): Type the supply voltage feeding the divider circuit, in volts.
  2. 2Enter R1 (Top Resistor): Input the resistance between the input voltage and the output tap point, in Ω, kΩ, or MΩ.
  3. 3Enter R2 (Bottom Resistor): Input the resistance between the output tap point and ground. Vout is measured across this resistor.
  4. 4Read the Output Voltage and Ratio: View Vout, the R2 ÷ (R1 + R2) ratio, and a full step-by-step breakdown of the calculation.
  5. 5Check Current and Power Dissipation: Review the current through the divider and power dissipated in each resistor to confirm wattage ratings are sufficient.

What This Calculator Provides

  • ✓Real-time calculation as you type
  • ✓Full step-by-step calculation breakdown
  • ✓Current through the divider (mA)
  • ✓Power dissipation in R1 and R2 (mW)
  • ✓Resistance unit support: Ω, kΩ, MΩ
  • ✓Six built-in presets (Arduino, ESP32, logic-level)
  • ✓Calculation history
  • ✓Export calculation as a text file
  • ✓Private: your inputs are not collected or stored
  • ✓No signup required

Real-World Use Cases

Arduino Reading a 12V Battery

A hobbyist wants an Arduino (5V max ADC input) to monitor a 12V lead-acid battery. Using Vin = 12V, R1 = 4.7kΩ, R2 = 3.3kΩ, the calculator returns Vout = 4.95V — safely under the 5V limit with a small safety margin, and a divider current of just 1.5mA so it doesn't meaningfully drain the battery.

ESP32 Sensor Voltage Scaling

A developer needs to scale a 9V sensor output down to the ESP32's 3.3V ADC range. Using Vin = 9V, R1 = 10kΩ, R2 = 5.6kΩ, the calculator returns Vout = 3.23V — just under the 3.3V limit, with power dissipation in each resistor under 5mW, well within a standard resistor's rating.

Industrial 24V to Logic-Level Conversion

An engineer is interfacing a 24V industrial sensor signal with a 5V logic input. Using Vin = 24V, R1 = 19kΩ, R2 = 5kΩ, the calculator returns Vout = 5.0V exactly, confirming the divider ratio is correctly matched before building the interface board.

Resistor Power Rating Check

A student builds a divider with Vin = 12V, R1 = 100Ω, R2 = 100Ω for a low-impedance test circuit. The calculator returns a current of 60mA and power dissipation of 360mW in each resistor — well above a standard 1/4-watt (250mW) resistor's rating, prompting them to switch to 1-watt resistors or increase both resistances proportionally.

Potentiometer-Style Voltage Trim Check

A hardware designer compares two resistor pairs for a 3.3V reference: R1 = 10kΩ/R2 = 10kΩ (50% ratio) versus R1 = 6.8kΩ/R2 = 10kΩ (59.5% ratio). The calculator shows Vout = 1.65V for the first pair and Vout = 1.96V for the second, helping them pick the combination that lands closest to a 2.0V target for their comparator circuit.

Load Sag Estimation for a Sensor Interface

An engineer designs a divider with R1 = 1kΩ, R2 = 1kΩ at Vin = 5V, expecting Vout = 2.5V. Knowing the downstream ADC input impedance is only 2kΩ (comparable to R2), they recognize the no-load calculation of 2.5V will sag once loaded, and redesign with a lower total resistance (R1 = R2 = 100Ω) so the load's impedance is large enough by comparison to keep the sag under 1%.

Tips & Common Mistakes

Pro Tips

  • 💡Keep total resistance (R1 + R2) low relative to your load's input impedance — a good rule of thumb is at least 10× lower — so the load doesn't meaningfully pull the output voltage down from the calculated no-load value.
  • 💡For battery-powered circuits, keep total resistance high (tens to hundreds of kΩ) to minimize the divider's own current draw, since that current flows continuously whenever the circuit is powered, even with no load connected.
  • 💡Always check the power dissipation result against your resistor's wattage rating, especially for low total resistance values. A 1/4-watt resistor is fine for most logic-level dividers but can be exceeded in low-impedance test or power circuits.
  • 💡Use standard E12 or E24 resistor values (like 4.7kΩ, 3.3kΩ, 10kΩ) rather than the mathematically exact ratio — off-the-shelf resistors have a tolerance of 1-5% anyway, so hitting an odd exact value isn't worth sourcing a custom part.
  • 💡Add a small capacitor (0.1μF is common) across R2 if you're feeding the output into an ADC, to filter noise — this doesn't change the calculated Vout but improves reading stability in practice.

Common Mistakes to Avoid

  • ✕Swapping R1 and R2. Vout is measured across R2, the bottom resistor — putting the wrong resistor in the wrong position inverts the ratio and gives a completely different output voltage than intended.
  • ✕Ignoring load sag when the downstream device draws meaningful current. The standard formula assumes no load; connecting anything with a comparable or lower impedance than R2 in parallel will pull Vout below the calculated figure.
  • ✕Using a voltage divider to supply real power, like charging a battery or driving a motor. Dividers waste power as heat and cannot maintain voltage under significant current draw — use a regulator or converter for anything beyond a signal-level connection.
  • ✕Forgetting to check resistor power ratings on low-resistance dividers. A divider built with 100Ω resistors at 12V dissipates hundreds of milliwatts — well above a standard 1/4-watt resistor's limit — and will overheat or fail.
  • ✕Mixing resistance units without converting first. Entering R1 as "4.7" in ohms when you meant 4.7kΩ produces a ratio off by a factor of 1,000 — always confirm the unit selector matches the value you intended.

Common Voltage Divider Presets

ConversionR1R2Vout
5V → 2.5V (50%)1 kΩ1 kΩ2.50 V
12V → 5V (Arduino)4.7 kΩ3.3 kΩ4.95 V
9V → 3.3V (ESP32)10 kΩ5.6 kΩ3.23 V
12V → 4V (33%)2 kΩ1 kΩ4.00 V
24V → 5V (logic)19 kΩ5 kΩ5.00 V
3.3V → 1.65V (50%)10 kΩ10 kΩ1.65 V

* Values are no-load calculations. Actual output will sag slightly under load — see the FAQ for details.

Frequently Asked Questions

What is a voltage divider calculator?

A free online tool that computes the output voltage (Vout) of a two-resistor divider circuit from Vin, R1, and R2, along with current draw and power dissipated in each resistor.

What is the voltage divider formula?

Vout = Vin × R2 ÷ (R1 + R2). Example: Vin = 12V, R1 = 4.7kΩ, R2 = 3.3kΩ gives Vout = 12 × 3,300 ÷ 8,000 = 4.95V.

Which resistor is R1 and which is R2?

R1 is the top resistor between Vin and the output tap. R2 is the bottom resistor between the output tap and ground. Vout is measured across R2.

How do I choose resistor values for a specific output voltage?

Set R2 ÷ (R1 + R2) equal to your target Vout ÷ Vin, then pick a total resistance high enough to limit current but low enough to stay stiff against the connected load.

How much current flows through a voltage divider?

Current (A) = Vin ÷ (R1 + R2). A 12V input across 8kΩ total resistance draws 1.5mA continuously, even with no load connected.

Why does a voltage divider's output sag under load?

The standard formula assumes no load draws current from the output. Connecting a load in parallel with R2 lowers its effective value, pulling Vout below the no-load calculation.

Can I use a voltage divider to step down power?

No. A resistive divider wastes power as heat and cannot supply meaningful current without significant voltage sag. Use a voltage regulator or buck converter for power conversion instead.

How do I calculate power dissipation in divider resistors?

Power (W) = Current² × Resistance. With 1.5mA through a 4.7kΩ resistor: Power = 0.0015² × 4,700 = 0.0106W (10.6mW).

What ratio do I need for an Arduino or ESP32 ADC?

Arduino reads up to 5V; ESP32 up to about 3.3V. To read a 12V source on a 5V ADC, use a ratio of 5/12 = 0.417 — R1 = 4.7kΩ, R2 = 3.3kΩ gives Vout = 4.95V.

Is my data private when using this calculator?

Yes. We do not collect or store what you enter.

Who Uses This Voltage Divider Calculator?

🔌

Electronics Hobbyists

Scale battery or sensor voltages down to safe levels for Arduino, ESP32, and Raspberry Pi analog inputs.

⚡

Electrical Engineers

Verify divider ratios and resistor power ratings during signal-conditioning circuit design and prototyping.

🖥️

Hardware Developers

Design sensor interface boards that translate industrial or automotive voltage levels into microcontroller-safe logic levels.

🎓

Electronics Students

Work through voltage divider problems and verify homework and lab calculations against the standard formula.

🔧

Technicians

Quickly check whether an in-circuit voltage divider is producing the expected output before troubleshooting further.

🎛️

Circuit Designers

Compare multiple resistor pair options side by side to find the combination closest to a target reference voltage.