Back to Tools

Ohm's Law Calculator

Enter any two of voltage, current, resistance and power to get the other two, with the Ohm's law formula and the numbers for each step.

Enter any two values

Prefixes work the way they're printed on parts: 4k7 is 4.7 kΩ, 20m is 20 mA, 1M is 1 MΩ. Type into a calculated field to use it as an input instead.

Result

Voltage
12 V
Current
2.553 mA
Resistance
4.7 kΩ
Power
30.64 mW

How it was worked out

I = V / R
I = 12 V / 4.7 kΩ = 2.553 mA
P = V² / R
P = (12 V)² / 4.7 kΩ = 30.64 mW

The Ohm's law wheel

Ohm's law wheel: all 12 formulas for voltage, current, resistance and powerVI×RP/I√(P×R)IV/RP/V√(P/R)RV/IV²/PP/I²PV×IV²/RI²×R

Each quarter of the centre is the quantity you want, and the three slices around it are the ways to get it from two others. The slices used for your result are filled in.

The formula for Ohm's law

Ohm's law says the current through a resistor is proportional to the voltage across it. The constant is the resistance:

V = I × R  ·  I = V / R  ·  R = V / I

V is in volts, I in amps and R in ohms. Keep the units consistent and the prefixes take care of themselves: volts divided by kilohms gives milliamps, so 5 V across 1 kΩ is 5 mA.

Power is the other half of the wheel. The power a part turns into heat is voltage times current, and substituting Ohm's law into it gives the two forms you use most when picking a resistor's wattage:

P = V × I  ·  P = I² × R  ·  P = V² / R

Rearranging those four equations for each quantity gives the 12 formulas on the wheel above. Given any two of V, I, R and P, one formula from each of the other two quarters finds the rest.

Ohm's law examples

12 V across a 4.7 kΩ resistor

I = V / R = 12 V / 4700 Ω = 2.55 mA

P = V² / R = (12 V)² / 4700 Ω = 30.6 mW

30.6 mW is well under the 125 mW an 0805 resistor is rated for, so any size will do.

A 60 W lamp on a 12 V supply

I = P / V = 60 W / 12 V = 5 A

R = V² / P = (12 V)² / 60 W = 2.4 Ω

5 A is the figure for the fuse and the wire gauge. The 2.4 Ω is the filament when it's hot: measured cold with a multimeter it reads much lower, which is why bulbs pull a surge at switch-on.

Ohm's law and watts

To size a resistor, work out its power and buy a part rated for at least twice that. A 220 Ω resistor dropping 3 V burns (3 V)² / 220 Ω = 41 mW, so a 1/8 W (125 mW) part has plenty of margin. A 10 Ω resistor carrying 300 mA burns (0.3 A)² × 10 Ω = 0.9 W and needs a 2 W part, which gets hot enough to keep away from plastic.

Typical ratings for SMD chip resistors are 1/16 W for 0402, 1/10 W for 0603, 1/8 W for 0805 and 1/4 W for 1206 (Yageo RC series datasheet). Through-hole parts come in 1/4 W, 1/2 W and up.

Questions people ask

What is the formula for Ohm's law?
V = I × R: voltage equals current times resistance. Rearranged, I = V / R and R = V / I.
How do I calculate watts from volts and amps?
Multiply them: P = V × I. 12 V at 2 A is 24 W. If you know the resistance instead of one of them, use P = I² × R or P = V² / R.
Does Ohm's law work for LEDs and diodes?
Not directly. An LED's current rises steeply once the voltage passes its forward voltage, so it has no fixed resistance. Apply Ohm's law to the resistor in series with it instead: the resistor sees the supply minus the forward voltage. The LED resistor calculator does exactly that.
Does it work for AC?
For resistors, yes, using RMS voltage and current. With capacitors and inductors in the circuit the resistance becomes an impedance that depends on frequency, and power also depends on the phase between voltage and current.
Why does my measured current differ?
Resistors have a tolerance (1% or 5% is common), they warm up and change value, and supplies sag under load. A multimeter on its current range also adds its own shunt resistance in series.

Related tools and guides

Describe a circuit. Get a board you can order.

GrandpaCAD's chat picks real parts, draws the schematic, routes the PCB and checks it against JLCPCB's rules. You get Gerbers, BOM, pick-and-place, a KiCad project and a 3D board, plus a printed case if you want one.

"USB-C board that measures current with a 0.1 Ω shunt"

3 free generations, no card required