Ohm's Law

Solve voltage, current, resistance and power from any two

🔒 Your data stays in your browser: nothing you type or upload is sent to a server.

How it works

Choose which two values you know and enter them; the other two are calculated at once. The slider moves in a logarithmic scale so you can sweep from milliohms to megaohms, and the last row suggests a standard power rating with a 2× safety margin.

Formula

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

Common questions

Why a 2× margin on the resistor power?

A resistor running at its full rating gets very hot and drifts in value. Choosing at least twice the dissipated power keeps it cooler and more stable.

How do I calculate the resistor for an LED?

Subtract the LED forward voltage from the supply and divide by the current: R = (Vsupply − Vled) / I. A red LED (about 2 V) at 20 mA on 5 V needs (5 − 2) / 0.02 = 150 Ω. If the result is not a standard value, pick the next higher one.

Does Ohm’s law work with AC?

For purely resistive loads, such as heaters or incandescent lamps, yes, using RMS values. Motors, transformers and capacitors add reactance, so you need the impedance and the power factor instead of a plain resistance.

Related tools