3.837
V
0.3197
0.816
mA
9.8
mW
3.837
V
0.3197
0.816
mA
9.8
mW
The Voltage Divider Calculator computes the output voltage of a resistive voltage divider network — one of the most frequently used circuit configurations in hobby electronics. The voltage divider is a simple two-resistor circuit that produces a fraction of its input voltage at the output node between the two resistors. It appears in analog signal conditioning, sensor interfacing, ADC input scaling, bias networks, and countless other applications in Arduino and maker projects.
The formula is elegantly simple: Vout = Vin × R2 / (R1 + R2). R1 sits between the input voltage and the output node; R2 sits between the output node and ground. The output voltage is determined entirely by the ratio of R2 to the total resistance. If R1 equals R2, the output is exactly half the input. If R2 is much larger than R1, the output approaches the input voltage. If R1 is much larger than R2, the output approaches zero.
One of the most common maker applications is level shifting — converting a higher logic voltage to a lower one for microcontroller input pins. For example, many sensors output 5V signals, but ESP32 and Raspberry Pi GPIO pins are only 3.3V tolerant. A properly designed voltage divider scales 5V down to 3.3V (using R1 = 10kΩ and R2 ≈ 20kΩ). This protects the 3.3V GPIO from damage while maintaining correct logic levels. This is far simpler and cheaper than a dedicated level-shifter IC for signal-only (non-bidirectional) applications.
Another important application is battery voltage monitoring with a microcontroller ADC. A fully charged 12V battery exceeds the 3.3V or 5V ADC input range. A voltage divider scales the 12V range down proportionally — using R1 = 100kΩ and R2 = 20kΩ gives Vout = 12 × 20 / 120 = 2.0V, which is safely within ADC range. The ADC reading is then multiplied by the inverse ratio (120/20 = 6) to recover the actual battery voltage in software.
Voltage dividers are also used to set the reference voltage for operational amplifiers, create bias points for transistor circuits, generate mid-rail references for single-supply audio circuits, and set threshold voltages for comparator circuits. Understanding the voltage divider is therefore a prerequisite for understanding a large fraction of analog circuit design.
The critical limitation of the voltage divider is that it is not a regulated voltage source. The output voltage is valid only when the load impedance is much larger than R2 (at least 10× larger). When a load draws current from the output node, it appears in parallel with R2, lowering the effective R2 and thus the output voltage. This effect is called loading. For sensor interfacing into a high-impedance ADC input (typically 100kΩ–1MΩ), loading is negligible with 10kΩ resistors. For driving lower-impedance loads, a voltage regulator or op-amp buffer is needed.
Power consumption is also an important consideration for battery-powered projects. The quiescent current flows continuously through both resistors even when no measurement is occurring. Using 100kΩ resistors instead of 10kΩ reduces quiescent current by 10× with no change in voltage ratio — critical for battery life in IoT nodes. This calculator shows both quiescent current and total power dissipation so you can make informed decisions about resistor sizing for your power budget.
The output voltage formula is: Vout = Vin × R2 / (R1 + R2). The division ratio is R2 / (R1 + R2) — a value between 0 and 1 representing the fraction of input voltage at the output. Quiescent current is Vin / (R1 + R2), which flows continuously through both resistors to ground. Total power dissipation is Vin² / (R1 + R2) — the power drawn from the supply and dissipated as heat in both resistors combined.
For reliable voltage divider operation, ensure the load impedance connected to Vout is at least 10× the value of R2 (for less than 10% loading error). For ADC inputs, the high input impedance (typically 100kΩ–1MΩ) makes loading negligible with resistor values up to 100kΩ. For battery-powered designs, use the highest practical resistor values (100kΩ–1MΩ) to minimize quiescent current drain. Verify that Vout stays within the ADC reference voltage or GPIO voltage tolerance with a safety margin.
Inputs
Results
R1=10kΩ, R2=20kΩ scales 5V to 3.33V — safely within ESP32's 3.3V GPIO input tolerance. Quiescent current is only 167µA.
Inputs
Results
R1=100kΩ, R2=20kΩ scales 12V to 2V for a 5V Arduino ADC input. Multiply ADC result by 6 to recover battery voltage. Only 100µA quiescent drain.
No — a voltage divider is not a voltage regulator. Its output voltage changes with load current (loading effect). For powering circuits, use a proper voltage regulator (LDO, buck converter, or boost converter) which maintains constant output voltage regardless of load current. Use voltage dividers only for signal-level voltages driving high-impedance inputs like ADCs, op-amp inputs, and comparator inputs.
Choose a convenient total resistance (e.g., R1 + R2 = 100kΩ for low quiescent current). Then R2 = Vout / Vin × (R1 + R2). Example: Vin=5V, Vout=2.5V, total=100kΩ → R2 = 2.5/5 × 100kΩ = 50kΩ, R1 = 50kΩ. Round to nearest E12/E24 standard values and recalculate actual Vout. The ratio is more important than the absolute values.
Reversing R1 and R2 gives Vout = Vin × R1 / (R1 + R2) instead — meaning you get the complement of the intended ratio. The larger resistor closer to the output node produces a higher output voltage. For a step-down divider (Vout < Vin), R2 must be smaller than R1. The formula always places R2 between the output node and ground.
The same formula applies, but Vin can be negative. For example, if Vin = −12V, R1 = R2 = 10kΩ, then Vout = −6V. For shifting a bipolar signal to a positive range for an ADC, add a positive reference to the lower resistor's ground end instead of connecting it to actual ground. This creates a summing/biasing network analyzed using superposition.
For signal-level work (ADC inputs, GPIO level shifting): 10kΩ–100kΩ range is ideal. 10kΩ total resistance gives good noise immunity but 500µA quiescent current from 5V. 100kΩ total gives 50µA quiescent — much better for battery circuits. Avoid very high values (1MΩ+) in noisy environments as they can pick up interference. Standard E12 values that work well together: 10k+20k (÷3), 10k+10k (÷2), 47k+22k (≈÷3.1).
Replace R2 with an NTC (negative temperature coefficient) thermistor. As temperature increases, thermistor resistance decreases, lowering Vout. As temperature decreases, resistance increases, raising Vout. Read Vout with an ADC and use the Steinhart-Hart equation (or a lookup table from the thermistor datasheet) to convert voltage to temperature. The fixed resistor (R1) is typically chosen equal to the thermistor's resistance at midpoint temperature for best sensitivity.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
5.0/5 (1 rating)
Resistor Color Code Calculator
Electronics & Maker Calculators
LED Resistor Calculator
Electronics & Maker Calculators
Ohm's Law Calculator
Electronics & Maker Calculators
PCB Trace Width Calculator
Electronics & Maker Calculators
Electronic Component Value Calculator
Electronics & Maker Calculators
Arduino Current Calculator
Electronics & Maker Calculators