Voltage Divider Calculator
Free Voltage divider Calculator for electrical projects. Enter dimensions to get material lists and cost estimates. Includes formulas and worked examples.
Voltage Divider Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Vout = Vin ร R2 / (R1 + R2) | I = Vin / (R1 + R2)
Worked example โ R1 = 10kฮฉ | R2 = 20kฮฉ | Vout = 3.33V | I = 0.167mA
Formula
Vout = Vin ร R2 / (R1 + R2) | I = Vin / (R1 + R2)
The voltage divider formula calculates the output voltage as a fraction of the input voltage based on the ratio of R2 to the total series resistance (R1 + R2). The current through the divider is determined by the total resistance. Power dissipation in each resistor equals IยฒR.
Worked Examples
Example 1: 5V to 3.3V Level Shifting
Problem:Design a voltage divider to convert a 5V signal to 3.3V for a microcontroller input.
Solution:Required ratio: 3.3/5 = 0.66 Choose R2 = 20kฮฉ R1 = R2 ร (Vin/Vout - 1) = 20k ร (5/3.3 - 1) = 20k ร 0.515 = 10.3kฮฉ Nearest standard: R1 = 10kฮฉ Actual Vout = 5 ร 20k/(10k + 20k) = 3.33V Current: I = 5V / 30kฮฉ = 0.167mA
Result:R1 = 10kฮฉ | R2 = 20kฮฉ | Vout = 3.33V | I = 0.167mA
Example 2: Battery Voltage Monitoring
Problem:Monitor a 12V battery with a microcontroller ADC that has a 3.3V maximum input.
Solution:Required ratio: 3.3/12 = 0.275 Choose R2 = 10kฮฉ R1 = R2 ร (Vin/Vout - 1) = 10k ร (12/3.3 - 1) = 10k ร 2.636 = 26.36kฮฉ Nearest standard: R1 = 27kฮฉ Actual Vout = 12 ร 10k/(27k + 10k) = 3.24V Current: I = 12V / 37kฮฉ = 0.324mA
Result:R1 = 27kฮฉ | R2 = 10kฮฉ | Vout = 3.24V | I = 0.324mA
Frequently Asked Questions
What is a voltage divider?
A voltage divider is a simple circuit that uses two resistors connected in series to produce an output voltage that is a fraction of the input voltage. The output voltage is taken across the second resistor (R2). Voltage dividers are one of the most fundamental and commonly used circuits in electronics, found in sensor interfaces, reference voltage generation, level shifting, volume controls, and biasing transistor circuits. The key formula is Vout = Vin x R2 / (R1 + R2).
How do I calculate voltage divider output?
The voltage divider formula is Vout = Vin x (R2 / (R1 + R2)). R1 is the resistor connected between the input voltage and the output node, and R2 is the resistor connected between the output node and ground. For example, with Vin = 12V, R1 = 10kohm, and R2 = 10kohm, Vout = 12 x (10000 / 20000) = 6V. The ratio R2/(R1+R2) is called the divider ratio and always falls between 0 and 1, meaning the output voltage is always less than or equal to the input voltage.
Why does loading affect voltage divider output?
When you connect a load (such as a circuit or component) to the output of a voltage divider, the load resistance appears in parallel with R2, effectively reducing the R2 value and lowering the output voltage. For the divider to work accurately, the load resistance should be at least 10 times greater than R2 (the 10x rule). For critical applications, use a buffer amplifier (op-amp voltage follower) between the divider output and the load to prevent loading effects.
Can a voltage divider be used as a power supply?
Voltage dividers should generally NOT be used as power supplies. They are designed for signal-level applications, not for delivering significant power. Problems include: poor voltage regulation (output voltage changes with load), wasted power (current flows through R1 and R2 even with no load), and inability to supply meaningful current without large voltage drops. For power supply applications, use voltage regulators (like LM7805), DC-DC converters, or switching regulators instead.
How do I choose resistor values for a voltage divider?
When choosing resistor values: (1) Calculate the required ratio: ratio = Vout/Vin = R2/(R1+R2). (2) Choose R2 first, typically between 1kohm and 100kohm for general use. (3) Calculate R1 = R2 x (Vin/Vout - 1). (4) Select the nearest standard resistor values. (5) Verify the current draw is acceptable: I = Vin/(R1+R2). Lower resistor values give better load regulation but waste more power. Higher values save power but are more sensitive to loading. A common guideline is to keep divider current at least 10x the expected load current.
What is the Thevenin equivalent of a voltage divider?
Looking back into the output node, the divider behaves as a single source of Vin times R2 divided by R1 plus R2, in series with an output resistance equal to R1 in parallel with R2. For the 5 V divider using 10 kohm and 20 kohm that is 3.33 V behind 6.67 kohm. This Thevenin resistance is the number that predicts loading error, sets how fast the node can charge stray capacitance, and tells you the impedance any following stage must work against.
How much does resistor tolerance shift the divider ratio?
The ratio error is not simply the sum of the two tolerances. Differentiating the divider expression shows the fractional error equals R1 divided by R1 plus R2, multiplied by the combined tolerance of the pair. Two 1 percent resistors of equal value therefore give at worst about 1 percent of ratio error, and a divider with a small R1 relative to R2 is less sensitive still. Resistor networks and matched pairs do better than their individual tolerance implies, because the two elements drift together with temperature.
Why can a high-value divider give wrong ADC readings?
A successive-approximation ADC charges an internal sampling capacitor through whatever source impedance it sees during the acquisition window. With a divider, that impedance is R1 in parallel with R2, so a pair of 470 kohm resistors leaves the converter charging through more than 200 kohm and the sample may end before the node has settled, reading low. Data sheets specify a maximum recommended source impedance for this reason; keep the divider stiff, lengthen the acquisition time, or buffer with an op-amp follower.
What is a compensated divider and why do oscilloscope probes need one?
Stray and input capacitance sits across the resistors, so at higher frequencies the reactive path takes over and a purely resistive divider stops dividing by the same factor. Adding a deliberate capacitor across each resistor and adjusting until R1 times C1 equals R2 times C2 makes the capacitive ratio match the resistive ratio, giving the same attenuation at every frequency. That adjustment is exactly what the trimmer on a 10x oscilloscope probe does, and an uncompensated probe shows square waves with rounded or peaked corners.
What is the difference between a voltage divider and a current divider?
A voltage divider is a series pair, and the larger resistor takes the larger share of the voltage: Vout equals Vin times R2 over R1 plus R2. A current divider is a parallel pair, and the relationship inverts, since the larger resistor takes the smaller share of the current: the current in R2 equals the total current times R1 over R1 plus R2. Mixing up which resistance goes in the numerator is the most common error, so check whether the elements share a node pair or a single path.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎThree Phase Power Calculator
Calculate three phase power with inputs, formulas, and instant results.
๐งฎPower Factor Correction Calculator
Calculate the capacitor bank size needed to improve power factor to a target value.
๐งฎGrounding Resistance Calculator
Calculate earth grounding resistance from rod dimensions and soil resistivity.
๐งฎOhm Wheel Calculator
Interactive Ohm law wheel calculator showing relationships between voltage, current, resistance, and power.
๐งฎMotor Starting Current Calculator
Calculate inrush current at motor startup from nameplate FLA and code letter.
๐งฎTransformer Calculator
Calculate transformer turns ratio, voltage, and current from primary and secondary specifications.
๐งฎMotor Horsepower Calculator
Calculate electric motor horsepower from voltage, current, efficiency, and power factor.
๐งฎInductor Energy Calculator
Calculate energy stored in an inductor from inductance and current.