Concept explainer · Beginner · 4 min read
Ohm's Law and Power
V = IR Explained With Real Examples
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
Ohm's law says voltage equals current times resistance: V = I x R. Rearranged, I = V / R and R = V / I. Power in watts is P = V x I, which also equals I² x R and V² / R. These four formulas answer most everyday electronics questions, such as which resistor an LED needs or how hot a regulator will get.
Key specs at a glance
- Ohm's law
- V = I x R
- Current
- I = V / R (amps)
- Resistance
- R = V / I (ohms)
- Power
- P = V x I = I² x R = V² / R (watts)
- Units
- Volts (V), amps (A), ohms (Ω), watts (W); 1 mA = 0.001 A, 1 kΩ = 1000 Ω
- Energy
- Wh = W x hours (battery capacity in Wh = V x Ah)
Voltage, current and resistance in plain words
Think of water in a pipe. Voltage is the pressure pushing the water. Current is how much water flows. Resistance is how narrow the pipe is. More pressure gives more flow; a narrower pipe gives less. Ohm's law puts numbers on that: double the voltage across a resistor and the current doubles; double the resistance and the current halves.
Worked examples
1. LED resistor. A red LED drops 2 V and should get 15 mA from a 5 V supply. The resistor sees 5 - 2 = 3 V. R = V / I = 3 / 0.015 = 200 Ω, so use 220 Ω. Power in the resistor: P = V x I = 3 x 0.015 = 0.045 W, fine for a 1/4 W part.
2. Heating element. A 12 V, 10 W heater: I = P / V = 10 / 12 = 0.83 A, and R = V / I = 14.4 Ω.
3. Regulator heat. A 7805 fed with 12 V supplies 0.5 A at 5 V. It drops 7 V, so P = 7 x 0.5 = 3.5 W: too hot without a heatsink. See voltage regulators.
4. Wire loss. A 2 m run of thin wire with 0.5 Ω total carrying 3 A to an LED strip loses V = I x R = 1.5 V and P = I² x R = 4.5 W as heat. That is why long LED strips need thick wire and power injection.
The Ohm's law wheel
| You know | To find voltage | To find current | To find resistance | To find power |
|---|---|---|---|---|
| I and R | V = I x R | P = I² x R | ||
| V and R | I = V / R | P = V² / R | ||
| V and I | R = V / I | P = V x I | ||
| P and V | I = P / V | R = V² / P | ||
| P and I | V = P / I | R = P / I² |
- I and R
- To find voltage:
- V = I x R
- To find power:
- P = I² x R
- V and R
- To find current:
- I = V / R
- To find power:
- P = V² / R
- V and I
- To find resistance:
- R = V / I
- To find power:
- P = V x I
- P and V
- To find current:
- I = P / V
- To find resistance:
- R = V² / P
- P and I
- To find voltage:
- V = P / I
- To find resistance:
- R = P / I²
Where Ohm's law does not apply directly
Ohm's law describes resistors and other linear parts. LEDs and diodes have a fixed forward voltage rather than a resistance, which is why you use the resistor to set their current. Motors draw current that depends on load, not just voltage. Capacitors and inductors in AC circuits use impedance instead of resistance. The formulas still help: you apply them to the resistive parts of the circuit.
Power and energy: watts vs watt-hours
Power is how fast energy is used (watts). Energy is power over time (watt-hours). A 5 V device drawing 200 mA uses 1 W; over 10 hours it consumes 10 Wh. A 3.7 V, 2600 mAh battery holds 3.7 x 2.6 = 9.6 Wh, so it runs that device for roughly 8 hours after converter losses. See lithium batteries.
Try it: Ohm's law calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Mixing units: using mA with volts and ohms gives wrong answers. Convert to amps first.
- Applying V = IR to an LED as if it were a resistor.
- Forgetting that the resistor only sees the leftover voltage (supply minus LED voltage).
- Ignoring power: a correct resistance in a too-small package still burns out.
- Treating a motor's resistance as fixed; stall current follows Ohm's law, running current does not.
Frequently asked questions
What is Ohm's law in simple terms?
The current through a resistor equals the voltage across it divided by its resistance: I = V / R. More voltage means more current; more resistance means less.
How do I calculate power from voltage and current?
Multiply them: P = V x I. For example 12 V x 2 A = 24 W.
What is the formula for resistance?
R = V / I. A part with 3 V across it and 0.015 A through it has a resistance of 200 Ω.
Does Ohm's law work for AC?
Yes for resistive loads such as heaters. For capacitors, inductors and motors you use impedance (Z) in place of R, which depends on frequency.
Why does current go up when resistance goes down?
With the same voltage pushing, a smaller resistance opposes the flow less, so more current passes: I = V / R. A short circuit is the extreme case, where very low resistance lets a dangerous current flow.
Parts for this guide
Calculators
Terms in this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.



