Ohm's law explained
How Ohm's law works
V = I × R P = V × I = I² × R = V² / R
Ohm's law links the voltage across a resistor (V, in volts), the current through it (I, in amps) and its resistance (R, in ohms). Double the voltage across the same resistor and the current doubles too.
Power (P, in watts) is the energy the part turns into heat each second. Combining it with Ohm's law gives twelve formulas, so knowing any two of the four quantities is enough to find the other two.
Power is what decides the resistor's physical size: a common through-hole resistor is rated 0.25 W, and running it near that limit makes it hot and shortens its life.
Worked example: 470 Ω on a 12 V supply
You connect a 470 Ω resistor straight across a 12 V supply and want to know the current and whether a ¼ W part survives.
- Current from voltage and resistance
I = V / R = 12 / 470 = 0.0255 A = 25.5 mA - Power from voltage and current
P = V × I = 12 × 0.0255 = 0.306 W - Compare with the rating
0.306 W > 0.25 W
A ¼ W resistor would overheat. A ½ W part works but runs warm; a 1 W part keeps under half its rating and runs cool.
Common mistakes
Forgetting the unit prefixes
20 mA is 0.02 A, and 4.7 kΩ is 4 700 Ω. Mixing milliamps with ohms is the most common source of answers that are off by 1000.
Ignoring power
A value can be correct and still burn the part. Always check P against the resistor's rating, with a safety margin of about two.
Applying it to an LED or a motor directly
LEDs, diodes and motors are not resistors: their current does not follow V/R. For an LED, apply Ohm's law to the series resistor using the voltage left over after the LED's forward voltage.
Using the supply voltage instead of the voltage across the part
In a series circuit each component sees only part of the supply. Use the voltage across the resistor you are calculating.
Ohm's law FAQ
V = I × R. Rearranged, I = V / R and R = V / I. With power: P = V × I, P = I² × R and P = V² / R.
Subtract the LED's forward voltage from the supply, then divide by the LED current. A red LED (about 2 V) at 20 mA on 5 V needs (5 − 2) / 0.02 = 150 Ω, dissipating 60 mW, so a ¼ W resistor is fine.
Calculate P and pick a rating at least twice as large. At half its rating a resistor runs warm but lasts; at full rating it gets hot enough to discolor the board.
For pure resistors, yes, using RMS voltage and current. With capacitors and inductors you need impedance instead of resistance, because current and voltage are no longer in step.
Its resistance is tiny, so V = I × R stays small. At high currents it adds up, though: 10 A through 0.05 Ω of thin wire drops 0.5 V and wastes 5 W.









