Voltage Divider Calculator

Voltage Divider Calculator

Calculate ideal output, loaded output, ADC loading error, worst-case resistor tolerance range, divider current, and resistor power for low-voltage sensing circuits.

Real divider presets

🔧Divider and load inputs

Use the maximum voltage you expect when checking safety margin.
R1 connects from Vin to the output node.
R2 connects from the output node to ground.
The load is modeled in parallel with R2. Use a large value for high impedance.
Positive value means current is drawn from the divider node.
Applied to Vin for low and high output range checks.
Worst case uses R1 low/R2 high and R1 high/R2 low.
Used for the safety margin and overvoltage flag.
Power checks use the loaded circuit, so R1 usually carries the highest stress.
Loaded output
0 V
includes load and bias current
Ideal output
0 V
unloaded divider ratio
Load error
0%
difference from ideal divider
Worst-case range
0-0 V
source and resistor tolerance

Formula breakdown

📊Live circuit spec check

0 mA
Loaded source current
0 mW
R1 power
0 mW
R2 power
0 V
Input limit margin

🗂Reference tables

Target circuit Common input limit Typical input load Divider note
Arduino-style 5V ADC5.0V maxAbout 100 Mohm DC, sampling cap dynamicKeep source impedance under about 10k ohm for fast ADC reads or add a capacitor.
ESP32 ADC channel3.3V absolute rail limitHigh DC load, nonlinear ADC front endUse margin below 3.3V and calibrate ADC readings in firmware.
RP2040 ADC input3.3V maxHigh impedance with sample capacitorLower divider resistance improves settling between channel switches.
CMOS logic sense pinUsually VDD plus clamp diode limitVery high impedance, leakage nA to uADivider output must stay below the pin rail at high Vin.
Industrial 0-10V ADC module3.3V or 5V internal ADCOften 100k to 1 Mohm front endExternal load may already be part of the module input network.
Design rule Formula Good target Why it matters
Unloaded outputVout = Vin x R2 / (R1 + R2)At least 5% below input limitLeaves room for supply and resistor tolerance.
Loaded R2R2eq = R2 || RloadRload at least 100 x R2Heavy loads pull the output lower than the nominal ratio.
Bias current sagV = (Vin/R1 - Ibias) / conductanceBias small versus divider currentVery high-value dividers are sensitive to leakage current.
Divider currentI = Vin / (R1 + R2)0.05 to 1 mA for many sensorsLower current saves power but increases load and leakage error.
Resistor powerP = I squared x RUse 2x or more marginHigher Vin and low resistor values can overheat small packages.
Vin to target Example R1 Example R2 Ideal output
12V to 5V14.7k ohm10k ohm4.86V
24V to 3.3V62k ohm10k ohm3.33V
5V to 1.8V18k ohm10k ohm1.79V
4.2V to 1.4V20k ohm10k ohm1.40V
48V to 3.0V150k ohm10k ohm3.00V
10V to 3.3V20k ohm10k ohm3.33V
Resistor tolerance Typical use Divider impact Best fit
5%General pullups and rough sense linesCan move ratio several percentNoncritical threshold detection
1%Common metal film and SMD valuesGood default for ADC scalingBattery monitors and smart sensors
0.5%Better matched networksImproves span accuracyRepeated sensor boards
0.1%Precision divider partsRatio error is usually below ADC gain errorReference scaling and calibration fixtures

🔋Device and spec comparison grid

Device class Practical divider current Input concern Recommended check
Battery monitor that sleeps5 to 50 uAQuiescent drainUse higher ohms, then account for ADC acquisition time and leakage.
Microcontroller ADC telemetry50 to 500 uASample capacitor settlingKeep Thevenin resistance modest or add a small hold capacitor.
Logic-level presence detect20 to 200 uAThreshold spreadCompare worst-case low output against VIH and high output against max pin voltage.
Industrial analog scaling100 uA to 1 mAInput impedance and noise pickupConfirm the module load resistance before selecting external values.
High-voltage sense front end100 uA to 1 mAPower and voltage ratingUse series parts if a single resistor lacks voltage or power margin.

💡Divider design tips

Use loaded math for ADC inputs. A divider that is perfect with no load can be measurably low once the ADC input resistance, sample network, or leakage current is included. If the load is not known, test both 1 Mohm and 100k ohm cases to see the sensitivity.
Check high-side tolerance before connecting hardware. The dangerous case is usually maximum source voltage with R1 at its low tolerance and R2 at its high tolerance. Keep that worst-case output below the device input limit, not just the nominal output.
This calculator is for low-voltage electronics planning. It does not replace isolation, surge, creepage, or safety design requirements for mains or hazardous circuits.

A voltage divider circuit are used to take a high voltage and lower it to a lower voltage using two resistor in series. You would use a voltage divider if the voltage from the voltage source that you are measuring is higher than what your chip can accept. This circuit take a measurement from the voltage source at a tap between the two resistors, which provide a lower voltage that your chip can measure.

The voltage divider equation is based off assuming that nothing is connected to the output node of the divider. However, in practice, there will be many component connected to that output node. If a component is connected to the output node, then that component will have some resistance.

Voltage Divider: How It Works and What Can Go Wrong

This resistance will be in parallel with the lower of the two resistors in the divider. Because of this, the output voltage will be lower than that calculated by the voltage divider equation. This error in the output voltage is known as a load error.

The load error will be more pronounced with higher value resistors. For example, if you are using the voltage divider circuit to measure the voltage of a battery, you will likely want to limit the amount of current draw from the battery. However, if the resistance of the analog to digital converter isnt significantly higher than the lower resistor, then the voltage of the battery will be less than the actual voltage of the battery.

Another factor to consider with voltage dividers is the tolerance of the resistors and the variation of the source voltage. Resistors will never have exactly the same value as the one marked on the resistors. Additionally, the voltage of the source can change over time.

If the source voltage is at its maximum, and the top resistor is at its low tolerance limit, and the bottom resistor is at its high tolerance limit, then the circuit could experience an overvoltage fault. In this case, you want to make sure that the output voltage is within a safe level for the device pin. To calculate this, you can calculate the high and low possible output voltage range to ensure it is within the proper range.

Another consideration with voltage dividers is the power dissipation of the resistors. The current flowing through the top resistor will be the highest if the output node is loaded with components. With higher current through the resistor, more power is dissipated as heat.

If the resistor dissipates too much power, it may discolor or fail. Therefore, it is important to calculate the power that each resistor will have to dissipate to make sure it is within the power rating of the resistor. Furthermore, there will often be leakage paths in a real circuit that are not represented in the circuit schematic.

These paths can be caused by moisture on the circuit board or the flux residue left on the board during the circuit board manufacture process. The current through these paths can be significant if the current through the voltage divider is small. This bias current can be modeled with a value in a voltage divider calculator to see if the output voltage will move significant with the addition of this current.

When choosing resistor values, you must balance a few factors. If you choose lower resistor values, the impact of any leakage current will be less, which is helpful if you have a multiplexed analog to digital converter. However, with lower values of resistors, the power draw of the circuit will increase.

If you choose higher resistor values, the circuit will draw less power. However, higher value resistors will be more sensitive to any component connected to the output node. One rule of thumb is to make sure the load resistance is at least one hundred times the value of the lower resistor.

Additionally, the output voltage should be at least five percent below the absolute maximum voltage that is allowed for that pin specification. Finally, another important consideration of voltage dividers is that the output voltage remains within the expected range. You want to make sure that the output voltage is within the expected range despite changes in temperature, supply voltage drift, and resistor tolerance.

To ensure the voltage divider works as expected, calculate the loaded voltage and calculate the worst-case scenario for the voltage divider before you begin laying out your circuit. By calculating these value, you can avoid having to debug the voltage divider once it is built on the circuit board.

Voltage Divider Calculator

Leave a Comment