Ohm's Law Explained with Practical Examples


· CalculatorEdge Editorial Team

Ohm's law links voltage, current and resistance. It is the first tool you reach for when you size a resistor, check a load or find out why a circuit is drawing too much current. This guide gives the formulas, the units and two practical examples.

The law

V = I × R

  • V = voltage across the component, in volts (V).
  • I = current through the component, in amperes (A). 1 mA = 0.001 A.
  • R = resistance, in ohms (Ω). 1 kΩ = 1000 Ω.

Rearranged: I = V / R and R = V / I. If you know any two of the three, you can find the third.

Power

Power in watts (W) is voltage times current. Combining it with Ohm's law gives three equivalent forms:

P = V × I = I2 × R = V2 / R

Use the power value to choose a resistor rating. Common ratings are 1/8 W, 1/4 W, 1/2 W and 1 W. A good habit is to select a rating at least twice the calculated dissipation.

Series and parallel resistors

  • Series: Rtotal = R1 + R2 + … The same current flows through every resistor and the voltages add up.
  • Parallel: 1 / Rtotal = 1/R1 + 1/R2 + … For two resistors, Rtotal = (R1 × R2) / (R1 + R2). The same voltage is across each resistor and the currents add up.

Example: 100 Ω and 220 Ω in series give 320 Ω. In parallel they give (100 × 220) / 320 = 68.75 Ω, which is always lower than the smallest resistor.

Practical example 1: current and power in a resistor

A 470 Ω resistor is connected across a 12 V supply.

  1. Current: I = 12 / 470 = 0.0255 A = 25.5 mA.
  2. Power: P = V × I = 12 × 0.0255 = 0.306 W. Check with V2/R = 144 / 470 = 0.306 W.

A 1/4 W (0.25 W) resistor would be overloaded here. Use at least a 1/2 W part, and preferably 1 W to leave a safety margin.

Practical example 2: LED series resistor

You want to run an LED from a 5 V supply. The LED has a forward voltage of 2.0 V and should carry 15 mA.

  1. Voltage the resistor must drop: 5 − 2.0 = 3.0 V.
  2. Resistance: R = 3.0 / 0.015 = 200 Ω.
  3. Choose the nearest standard value. 220 Ω (E12 series) is a common choice. Actual current: 3.0 / 220 = 13.6 mA, slightly under the target, which is safe.
  4. Resistor power: 3.0 × 0.0136 = 0.041 W, so a 1/4 W resistor is plenty.

When rounding to a standard value, round the resistance up so the LED current stays at or below its rating.

Limitations

  • Ohm's law applies to ohmic components, where current is proportional to voltage. Diodes, LEDs, transistors and lamps are non-linear, so you must use their forward voltage or a characteristic curve, as in the LED example.
  • Resistance changes with temperature. A tungsten lamp, for example, has a much lower resistance when cold.
  • In AC circuits with inductors or capacitors, resistance is replaced by impedance (Z), and power also depends on the power factor.
  • Resistor tolerance (commonly 1 % to 5 %) means real values differ from the marking.
  • This is a basic educational guide. Mains-voltage and safety-critical work must follow the applicable electrical code and be done by qualified people.

Try it with your numbers

Use the Ohm's Law Calculator or the Voltage, Current, Resistance and Power Calculator. For cables, see the Voltage Drop Calculator.