Skip to main content

Notice Send us your feedback to help us improve this service.

Ohms Law Calculator

Calculate Voltage, Current, or Resistance using Ohm's Law.

What this calculator does

This tool uses Ohm's law to find voltage, current or resistance. Fill in two values and leave the third blank or at zero. It also shows the power in watts. It is meant for students, hobbyists and anyone checking a simple low-voltage circuit, such as an LED strip, a model railway or a 12-volt accessory.

How we work it out

Ohm's law says voltage equals current times resistance: V = I × R. We rearrange it to solve for the value you left blank. Current is voltage divided by resistance, and resistance is voltage divided by current.

Then we work out power with P = V × I. Volts times amps gives watts.

You need at least two values, and all must be positive. If you fill in all three, we check that they agree, within 1%. If they do not, the tool tells you instead of guessing which one is wrong. Results are shown to four significant figures, so small currents still read clearly.

Using the three values

Voltage is the push, measured in volts. Current is the flow, measured in amps. Resistance is how much a part holds back the flow, measured in ohms. If you raise the voltage across the same resistor, the current rises in step. If you raise the resistance at the same voltage, the current drops.

Power tells you how much energy a part uses, or turns into heat, each second. It is the number to check against a resistor's power rating, a fuse or a battery. A resistor that has to handle more power than its rating will run hot and may fail.

Where Ohm's law does not fit

The law works well for resistors, heating elements and wires. Many parts do not follow it. LEDs, diodes, motors and batteries do not have a fixed resistance, so a single calculation can mislead you. With an LED, apply the law to the resistor in series with it, using only the voltage left over across that resistor.

Household alternating current adds effects such as reactance that this tool ignores. Resistance also changes with temperature, so a heating element measured cold will read differently once it is hot.

Electrical safety

The electricity in your home's outlets and wiring has enough power to kill. Use this tool for planning and learning, not as a reason to work on live circuits. Switch off and lock out the power before anyone touches wiring. Take extra care in wet or damp places, where the risk of shock is higher, and use outlets protected by a ground fault circuit interrupter there. Leave work on your home's wiring to a qualified electrician.

What this does not include

  • Alternating current, which also involves reactance
  • Temperature effects on resistance
  • Parts that do not follow Ohm's law, such as LEDs, diodes and motors
  • Negative values, such as a battery connected the wrong way round
  • Wire resistance and the internal resistance of a battery or power supply

Common questions

How do I work out power?

Power is voltage times current, and we show it with every result. If you know current and resistance instead, power is the current squared times the resistance. If you know voltage and resistance, it is the voltage squared divided by the resistance. All three give the same answer in watts.

How do I enter milliamps?

Divide by 1,000 to get amps, so 20 milliamps is 0.02 A. Results are shown to four significant figures, so a small current still shows its digits instead of rounding to zero. To read an answer in milliamps, multiply the current shown by 1,000.

Why does it say my values do not agree?

When all three boxes are filled in, voltage must equal current times resistance, within 1%. A bigger gap usually means a typo or mixed units, such as milliamps typed in as amps. Leave one box blank and the tool will work that value out for you.

Can I use this for my home's wiring?

Only to learn. Home wiring runs on alternating current, which this simple tool does not model, and it carries enough power to kill. Have a qualified electrician do repairs or changes. Use the tool for low-voltage projects and homework instead.

How do I pick a resistor for an LED?

Take the LED's forward voltage, listed on its data sheet, away from your supply voltage. Enter what is left as the voltage, along with the current the LED should run at, and leave resistance blank. Choose the next standard resistor value up, and check that its power rating is higher than the power shown.

Sources

Last reviewed October 18, 2026. How we check our numbers.

This is an estimate to help you plan. It is not financial, medical, or legal advice. Talk to a professional before you make a big decision.

Add this calculator to your website

Free to use on your site, blog or intranet. Paste this code where you want the calculator to appear. It works on its own, sets no cookies and shows no ads.