Ohm’s law and power calculator (V, I, R, P)

Two known values give the other two. Fill in any two fields below and leave the others empty.

Enter two values.

Check the resistor power rating. A common small resistor is rated about a quarter watt.

How it is calculated

V = I × R. P = V × I. Combining them: P = I² × R and P = V² ÷ R. If you give more than two values, the first pair in the order voltage, current, resistance is used.

A worked example

A 5 V supply across a 330 ohm resistor gives I = 5 ÷ 330 = 15.2 mA and P = 5 × 0.0152 = 0.076 W, well under a quarter watt.

Common mistakes

  • Mixing milliamps and amps. Enter current in amps (10 mA = 0.01 A).
  • Forgetting the power rating of the resistor.
  • Applying the law to parts that are not resistors, such as LEDs, which need a series resistor.

LED resistor and voltage divider calculator, battery runtime calculator.

Last reviewed: November 2026. The calculator runs in your browser and sends nothing anywhere. Results are ideal-case figures; add margin before you order parts.

Reading the result

Ohm’s law links three quantities of a resistor, and the power formula adds a fourth. Because P = V × I, you can write power three ways: P = V × I, P = I² × R and P = V² ÷ R. Use whichever form matches the two values you know. The calculator picks the right one for you, but knowing the forms helps you check a result by hand.

Another worked example: an overloaded resistor

Suppose a 470 ohm resistor is connected across a 12 V supply. Current is I = 12 ÷ 470 = 0.0255 A, or 25.5 mA. Power is P = V² ÷ R = 144 ÷ 470 = 0.306 W. A quarter-watt resistor is rated 0.25 W, so this resistor is overloaded and will run very hot. Either use a higher wattage part or raise the resistance.

Working the other way: a 220 ohm resistor carrying 20 mA drops V = 0.02 × 220 = 4.4 V and dissipates P = I² × R = 0.0004 × 220 = 0.088 W. That is well inside a quarter watt.

Assumptions and limits

  • The law holds for resistive parts whose resistance stays roughly constant. A resistor heats up as it dissipates power, and its value shifts slightly.
  • Resistor power ratings are given at a stated ambient temperature. A common habit is to keep the real dissipation at about half the rating or lower, so the part stays cool; check the datasheet for derating.
  • Motors, LEDs, diodes and batteries are not simple resistors, so V = I × R does not describe them across their whole range. Use their datasheets, and a series resistor where needed.
  • Measured values from a multimeter carry tolerance. Typical carbon and metal film resistors are 1 to 5 percent, so expect small differences between calculated and measured current.

Common mistakes

  • Entering resistance in kilohms (for example 4.7) when the field expects ohms (4700). Convert before you type.
  • Using the supply voltage when only part of it falls across the resistor, as in a series chain. Use the voltage across that resistor only.
  • Treating a calculated power as the rating to buy. Choose a rating comfortably above it.