Ohm's law calculator
Enter any two of voltage, current, resistance and power to get the other two.
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
- Choose the two values you know.
- Type them in volts, amps, ohms or watts.
- 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.