Skip to content
Language:en

Ohm's law calculator

Enter any two of voltage, current, resistance and power to get the other two.

I know

Runs entirely in your browser. Your files never leave your device.

About this tool

Ohm's law ties together the three basic quantities of a circuit: voltage equals current times resistance, V = R × I. Add the power formula, P = V × I, and knowing any two values is enough to find the other two. Pick which pair you know, type the values and the missing ones appear instantly.

Use it to choose a resistor for an LED, check that a heater draws less current than its fuse allows, size a power supply or find the resistance of a component from a voltage and a current you measured. Values can be decimals, so milliamps are typed as 0.02 A and kilo-ohms as 4700 Ω.

How it works

  1. Choose the two values you know.
  2. Type them in volts, amps, ohms or watts.
  3. Read the two other values, highlighted.

V = I × R, I = V ÷ R, R = V ÷ I, P = V × I = I² × R = V² ÷ R. Values apply to direct current, or to RMS values on a purely resistive AC load.

Worked example

An LED that needs 2 V and 20 mA on a 5 V supply: the resistor must drop 3 V at 0.02 A, so R = 3 ÷ 0.02 = 150 Ω, and it dissipates 0.06 W, well within a common 1/4 W resistor.

A 2,000 W heater on 230 V draws 2000 ÷ 230 ≈ 8.7 A; on a 120 V circuit it would draw about 16.7 A, more than a 15 A breaker allows.

Good to know

  • If the exact resistor value does not exist, choose the next standard value up: the LED will be a little dimmer but safe.
  • Check the power rating of resistors: P = I² × R tells you how much heat it must handle.
  • For mains appliances, the power on the label is the figure to use; the formulas apply to resistive loads such as heaters and kettles.

Frequently asked questions

Which resistor do I need for an LED?
Subtract the LED voltage from the supply, then divide by the current. For a 2 V LED at 20 mA on 5 V: choose “voltage and current”, enter 3 V and 0.02 A, and you get 150 Ω.
How much current does a 2000 W heater draw?
Choose “power and voltage”: 2000 W on 230 V gives about 8.7 A, and on 120 V about 16.7 A.
Does it work for alternating current?
For resistive loads such as heaters and incandescent bulbs, yes, with RMS values. Motors and electronics add reactance and a power factor not covered here.