SciencePhysics

Ohm's Law Calculator,
V=IR.

Find volts, amps or ohms, add resistors in series or parallel, or size an LED resistor.

Before you rely on this result. Work on mains wiring only when it is switched off and tested dead. Sources used on this page.

How it's worked out

Ohm’s law says the current through most conductors is proportional to the voltage across them. The fixed ratio is the resistance. V is in volts, I in amps and R in ohms, so convert mA and kΩ before you multiply. The tool does that for you when you pick a unit.

V\displaystyle V=I×R\displaystyle {}= I \times R
I\displaystyle I=VR\displaystyle {}= \frac{V}{R}
R\displaystyle R=VI\displaystyle {}= \frac{V}{I}

Power is the rate a resistor turns electrical energy into heat. OpenStax gives three equal forms; use whichever two quantities you know.

P\displaystyle P=IV\displaystyle {}= I\,V=I2R\displaystyle {}= I^{2} R=V2R\displaystyle {}= \frac{V^{2}}{R}

Resistors in series carry the same current, so their resistances add. In parallel each one has the same voltage across it, and the reciprocals add. That always gives a total below the smallest resistor.

Rs\displaystyle R_{s}=R1+R2+R3\displaystyle {}= R_{1} + R_{2} + R_{3}
1Rp\displaystyle \frac{1}{R_{p}}=1R1+1R2+1R3\displaystyle {}= \frac{1}{R_{1}} + \frac{1}{R_{2}} + \frac{1}{R_{3}}

An LED does not follow Ohm’s law. Like any diode, its voltage stays near one value over a wide range of current, so it is called nonohmic. The resistor in series takes whatever voltage the LED leaves, and Ohm’s law on the resistor alone sets the current.

R\displaystyle R=Vs−VfI\displaystyle {}= \frac{V_{s} - V_{f}}{I}

Here VsV_{s} is the supply and VfV_{f} the LED’s forward voltage from its datasheet. Resistors are sold in preferred values: the E12 series has 12 per decade, 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68 and 82, times a power of ten. The tool rounds up to the next one, so the real current lands a little under your target.

Worked examples

Maya checks a resistor across a 9 V battery

Maya clips a 470 Ω resistor straight across a fresh 9 V battery to test a breadboard rail. The current is 9 over 470 amps.

I\displaystyle I=9470\displaystyle {}= \frac{9}{470}=0.01915 A\displaystyle {}= 0.01915\ \text{A}

That is 19.15 mA. The resistor turns 172.3 mW into heat, which is more than a 0.125 W part is rated for, so she needs a 0.25 W resistor. If she swapped in an 18 V supply, the current would double to 38.3 mA but the heat would rise four times, to 689.4 mW.

Open this example in the tool

Sam sizes a resistor for a red LED on 12 V

Sam wants a red indicator LED on a 12 V car accessory line. The datasheet gives a forward voltage of about 2 V at 20 mA, so the resistor must drop 10 V.

R\displaystyle R=100.02\displaystyle {}= \frac{10}{0.02}=500 Ω\displaystyle {}= 500\ \Omega

No resistor is sold at 500 Ω, so he rounds up to 560 Ω, the next E12 value. The current becomes 17.86 mA and the resistor dissipates 178.6 mW. That is above 0.125 W, so he fits a 0.25 W part. The LED itself uses only 35.7 mW: on 12 V most of the power goes into the resistor.

Open this example in the tool

Jo puts three resistors in parallel on 9 V

Jo has 100, 220 and 330 Ω resistors and wants less resistance than any one of them, so she wires them in parallel across 9 V.

1R\displaystyle \frac{1}{R}=1100+1220+1330\displaystyle {}= \frac{1}{100} + \frac{1}{220} + \frac{1}{330}

The total is 56.9 Ω, under the 100 Ω part, and the group draws 158.2 mA. In series the same three would total 650 Ω. Each resistor sees the full 9 V, so the 100 Ω one carries the most current, 90 mA, and turns 0.81 W into heat. A common 0.25 W resistor would overheat there; it needs a 1 W part.

Open this example in the tool

Reading your result

The power figure picks the part. A resistor’s rating must meet or exceed the power it dissipates. The tool names the smallest of the common ratings, 0.125, 0.25, 0.5, 1, 2, 5 and 10 W, that covers the result. Because power goes with the square of the voltage, a part that is fine at 5 V can cook at 12 V.

The E12 value is what you buy. Rounding up gives a little less current, which is the safe side for an LED. Adafruit’s example of a 3.3 V blue LED on 4.5 V at 18 mA works out at 66.67 Ω and rounds up to 68 Ω.

A small total in parallel means a large current. Two equal resistors in parallel give half of one: two 100 Ω parts make 50 Ω. Check the supply can deliver the total current, not just each branch.

The safety table applies to people only. It is OSHA’s summary of what a current does when it flows hand to foot for 1 second, after Kouwenhoven (1968). Your body only carries current if it completes a circuit, and then your skin sets the amount. NIOSH gives 100,000 Ω or more for dry skin and as little as 1,000 Ω for wet skin. At 120 V that is 1.2 mA (OSHA: faint tingle) against 120 mA (extreme pain, breathing stops, death is possible). Mains is AC, so treat these as rough guides, not a model of a body.

Common mistakes

Entering milliamps as amps. 9 V at 20 mA is 450 Ω. Type 20 with the unit left on amps and you get 0.45 Ω, a thousand times too small. Set the unit next to each box before you read the answer.

Using Ohm’s law on the LED itself. Dividing the supply by the LED current ignores the forward voltage and gives too large a resistor. Subtract the forward voltage first; the resistor only sees what is left.

Forgetting to flip the parallel sum. Adding 1 over each resistor gives 1 over the total, not the total. If your parallel answer is larger than the smallest resistor, you have not turned the sum over.

Measuring a resistor while it is still in the circuit. Other parts wired across it are in parallel with it, and the parallel rule pulls the reading down: a 100 Ω resistor with another 100 Ω across it reads 50 Ω. Switch the power off and lift one leg of the part first.

Questions people ask

Each resistor you add in parallel opens another path, so more current flows for the same voltage. More current at the same voltage means less resistance. With 100, 220 and 330 Ω the total comes out at 56.9 Ω.

Sources