The relationship
Voltage (V, volts) is the push. Current (I, amps) is the flow. Resistance (R, ohms) is the restriction.
| To find | Formula | Units |
|---|---|---|
| Voltage | V = I × R | volts |
| Current | I = V ÷ R | amps |
| Resistance | R = V ÷ I | ohms |
| Power | P = V × I = I² × R = V² ÷ R | watts |
Example 1: sizing an LED resistor
A red LED with a 2 V forward voltage, running at 20 mA, from a 9 V supply. The resistor must absorb the voltage the LED does not:
R = 7 ÷ 0.02 = 350 Ω
350 Ω is not a standard value. Choosing the next value up — 390 Ω — gives 7 ÷ 390 = 17.9 mA, slightly dimmer and safely inside the LED's rating. Rounding down instead would overdrive it.
Now check the resistor survives
P = I² × R = 0.0179² × 390 = 0.126 W. A standard quarter-watt (0.25 W) resistor handles that with margin to spare.
Example 2: what a load draws
A 12 V heating element drawing 5 A:
- Resistance: R = 12 ÷ 5 = 2.4 Ω
- Power: P = 12 × 5 = 60 W
That 60 W figure is what sizes the fuse, the wire and the power supply. A supply rated 12 V at 4 A will not run it.
Why components burn out
Almost always because power dissipation was never calculated. Power rises with the square of current, so doubling the current quadruples the heat:
Where Ohm's law stops being enough
The law holds for resistive DC circuits. Two common places it needs extending:
- Long cable runs. The wire itself has resistance, so voltage arriving at the load is lower than voltage leaving the source — that is voltage drop, and it is Ohm's law applied to the conductor.
- AC with reactance. Motors, transformers and capacitors introduce impedance and phase shift, so V = I × R becomes V = I × Z.
Sizing a DC system such as solar or 12 V wiring? The same power relationship — watts, amps and volts — is what turns panel ratings into real output.
Run your own numbers
FAQ
What is Ohm's law?
How do I calculate the resistor for an LED?
What is the power formula in a circuit?
Why does my resistor get hot or burn out?
Does Ohm's law work for AC circuits?
Sources
Primary references used for the figures and rules on this page.
- SI Units — NIST
- Fundamental Physical Constants — NIST