Ohm's Law Calculator,
V=IR.
Find volts, amps or ohms, add resistors in series or parallel, or size an LED resistor.
- Power
- 172.34 mW
- Voltage
- 9 V
- Resistance
- 470 Ω
470 Ω at this current turns 172.3 mW into heat, so a resistor here needs a rating of 0.25 W or more. Double the voltage and the current doubles, but the heat goes up four times.
Current against voltage
Drag the point to change the voltageA straight line through zero, because current is voltage over resistance: for 470 Ω, each 1 V adds 2.128 mA. The point is 9 V and 19.15 mA.
Working
- 1Ohm’s law, rearranged for the currentI =VR
- 2Put the numbers in, in volts and ohmsI =9470= 0.0191489 A
- 3Change to mA0.0191489 A = 19.1489 mA
- 4Power: voltage times currentP = 9 × 0.0191489 = 0.17234 W
- 5Check: current times resistance gives the voltage back0.0191489 × 470 = 9 V
Current and power at other voltages
| Voltage (V) | Current (mA) | Power |
|---|---|---|
| 2.25 | 4.787 | 10.77 mW |
| 4.5 | 9.574 | 43.09 mW |
| 9 (now) | 19.15 | 172.3 mW |
| 13.5 | 28.72 | 387.8 mW |
| 18 | 38.3 | 689.4 mW |
| 27 | 57.45 | 1.551 W |
If this current went through a person
| Current (hand to foot, 1 s) | Reaction |
|---|---|
| Below 1 mA | Generally not perceptible |
| 1 mA | Faint tingle |
| 5 mA | Slight shock, not painful but disturbing |
| 6 to 30 mA, this current | Painful shock, loss of muscle control, may not be able to let go |
| 50 to 150 mA | Extreme pain, breathing stops, death is possible |
| 1,000 to 4,300 mA | The heart stops pumping in rhythm, death likely |
| 10,000 mA | Cardiac arrest, severe burns, death probable |
OSHA 3075, after Kouwenhoven (1968). A circuit only drives current through you if your body completes it, and then your skin sets the current: NIOSH gives 100,000 Ω or more for dry skin and 1,000 Ω for wet skin.
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.
Power is the rate a resistor turns electrical energy into heat. OpenStax gives three equal forms; use whichever two quantities you know.
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.
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.
Here is the supply and 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.
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.
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.
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.
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.
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.
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
Sources
- OpenStax, University Physics Volume 2, section 9.4, Ohm’s Law
- OpenStax, University Physics Volume 2, section 9.5, Electrical Energy and Power
- OpenStax, University Physics Volume 2, section 10.2, Resistors in Series and Parallel
- Vishay Dale, Standard Electronic Decade Value Tables (document 31001)
- DigiKey, How to select a resistor for an LED
- Adafruit, Let’s put LEDs in things: from scratch
- OSHA, Controlling Electrical Hazards (OSHA 3075), page 7
- NIOSH, Electrical Safety: Safety and Health for Electrical Trades, publication 2009-113, page 7