Electrical · Calculator

Ohm's law calculator.

Fill in exactly two fields. Clear the two you want to calculate.

Ohm's law: V = I × R. Power: P = V × I. Enter any two values to get the other two. Example: 12 V across 100 Ω gives 0.12 A and 1.44 W. Use a resistor rated for at least twice the calculated power.

Voltage, current, resistance and power — enter any two, get the other two. Plus the next standard E24 resistor value and a safe wattage rating.

Next step Wire gauge for amperage and run length — Wire size for that current

How the math works

V = I × R          (Ohm's law)
P = V × I          (power)
P = I² × R = V² ÷ R

These two equations connect the four quantities. If you know any two, the other two follow. The table below gives all twelve forms.

Ohm's law formula table

To findFormulaFormulaFormula
V (volts)I × RP ÷ I√(P × R)
I (amps)V ÷ RP ÷ V√(P ÷ R)
R (ohms)V ÷ IV² ÷ PP ÷ I²
P (watts)V × II² × RV² ÷ R

Worked examples

SituationKnownResult
LED resistor: 5 V supply, red LED 2.0 V, 20 mAV = 3.0 V, I = 0.020 AR = 150 Ω, P = 0.06 W
Space heater: 1500 W on 120 VP = 1500 W, V = 120 VI = 12.5 A, R = 9.6 Ω
Car accessory: 12 V, 5 AV = 12 V, I = 5 AR = 2.4 Ω, P = 60 W
Pull-up resistor: 3.3 V across 10 kΩV = 3.3 V, R = 10 kΩI = 0.33 mA, P = 1.09 mW

Common pitfalls

Common questions

What is Ohm's law?

Ohm's law says that the voltage across a resistor equals the current through it times its resistance: V = I × R. If you know two of the three values, you can calculate the third.

How do I calculate current from voltage and resistance?

Divide the voltage by the resistance: I = V ÷ R. Example: 12 V across 100 Ω gives 0.12 A (120 mA).

How do I calculate power?

Multiply voltage by current: P = V × I. You can also use P = I² × R or P = V² ÷ R. Example: 12 V at 0.12 A is 1.44 W.

How many amps does a 1500 W heater draw on 120 V?

I = P ÷ V = 1500 ÷ 120 = 12.5 A. Its resistance when hot is R = V² ÷ P = 120² ÷ 1500 = 9.6 Ω.

Does Ohm's law work for every device?

No. Ohm's law describes resistors and other linear (ohmic) parts. LEDs, diodes, motors and lamps do not have a fixed resistance, so V = I × R gives only an operating-point value for them.

Can I use this for AC circuits?

Yes for resistive loads such as heaters, with RMS voltage and current. For motors and other loads with a power factor, P = V × I × power factor, so this calculator overstates their real power.

Sources

Last content change: 7 November 2026 · Changelog

Disclaimer. This calculator is for reference and education. For mains wiring, follow your local electrical code and use a qualified electrician.

See also