1. Home
  2. Calculators
  3. Voltage Divider Calculator

Voltage Divider Calculator

For sensors, ADC inputs and level shifting: get the divider values and the true output once the load is included.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Voltage Divider Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • Output voltage from R1 and R2
  • R1 or R2 for a wanted voltage
  • Nearest E12, E24, E48 or E96 value and its error
  • Effect of a load resistance across R2
  • Current and power in each resistor

Supported formats

Input

  • Typed numbers with SI prefixes (4.7k, 100n, 20m)

You get

  • On-screen results
  • Copyable text
  • CSV table

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Voltage Divider Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • A divider cannot supply power: its output falls as the load draws current.
  • It uses the ideal formulas; real components have tolerances, temperature drift and parasitic effects.

Guide

Resistor voltage dividers: output voltage, choosing R1 and R2 and the effect of a load

A voltage divider turns a larger voltage into a smaller one using two resistors in series. It is the standard way to bring a 12 V signal within the 3.3 V range of a microcontroller pin, to measure a battery, or to bias a transistor. The formula is short, but real projects need a resistor from the E series, a check on the load and a decision about how much current to waste. This calculator handles all three.

The formula

With R1 on the high side and R2 on the low side, the same current flows through both, so the output across R2 is Vout = Vin × R2 / (R1 + R2). The ratio of the resistors sets the fraction of the input that appears at the output; their absolute values only set the current, which is Vin / (R1 + R2), and the power each resistor dissipates.

Three ways to use it

In the first mode you know R1 and R2 and want the output. In the second you know R1 and the wanted output and the tool solves R2 = R1 × Vout / (Vin − Vout). In the third you know R2 and need R1 = R2 × (Vin − Vout) / Vout. Values can be typed with prefixes such as 10k or 4k7. The wanted output must be above zero and below the input, or the divider cannot make it, and the page says so.

Standard values and error

Resistors come only in preferred numbers. In the design modes the tool shows the exact result, then the nearest value from the series you choose (E12, E24, E48 or E96) and the output that value really gives, with the percentage error against your target. Stepping up from E24 to E96 usually brings the error below 1%. For 12 V to 3.3 V with a 10 kΩ top resistor the exact R2 is 3.7931 kΩ; the E24 choice of 3.9 kΩ gives 3.3669 V, which is 2.03% high.

What a load does

Anything connected to the output sits in parallel with R2 and lowers the effective bottom resistance. Enter its resistance and the tool shows the loaded output beside the unloaded one. A 10 kΩ and 10 kΩ divider on 5 V should give 2.5 V, but with a 10 kΩ load the output falls to 1.6667 V, a drop of 33.33%. The page warns when the loaded output is more than 1% under the unloaded one. The cure is a divider whose resistors are a tenth of the load or less, or an op-amp buffer after it.

A battery monitor example

To scale a lithium cell at 4.2 V down to 3.3 V with R2 = 100 kΩ, the exact R1 is 27.273 kΩ. The nearest E96 value is 27.4 kΩ, which gives 3.2967 V, an error of −0.1%, with a current of only 32.97 µA and a total dissipation of well under a milliwatt. That is the kind of design where high values are right: the divider is always connected and should not drain the battery.

Limits

A divider cannot supply power, regulate against input changes or protect a pin from a high voltage spike. Resistor tolerance, temperature drift and the input leakage of the circuit you connect all move the output, and the calculator uses ideal values. For power, use a regulator or a converter.

Checked against the current version of the Voltage Divider Calculator on .

Frequently asked questions

How large should the resistors be?

Large enough not to waste current, small enough that the input being measured does not disturb them. A good rule is to make the divider current at least ten times the input current of whatever it feeds, or to make the resistors about a tenth of the load resistance. For a battery monitor that sits connected permanently, 100 kΩ or more keeps the drain to a few tens of microamps, as in the 32.97 µA example.

My ADC reads 5% off. Is the divider to blame?

Often, yes. Standard 5% resistors can move the output by several per cent in total, and the ADC input draws a little current from a high-impedance divider. Use 1% resistors, lower values, or a small capacitor across R2 to supply the sampling current, and calibrate in software against a meter.

Why is my measured output lower than the calculation?

Whatever you connect to the output sits in parallel with R2 and lowers it. Enter its resistance as the load, or use resistors ten times smaller than the load.

Can I power a circuit from a divider?

No. The output voltage falls as the circuit draws current. Use a regulator or a converter for power.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.