Ohm's Law Calculator

Solve voltage, current, resistance and power from any two of them with Ohm's law and the power formulas, with milli, micro and kilo units.

Math & Science Runs in your browser · no upload

Reviewed 23 November 2026 · Free · No account needed

ExecutionYour browserInput never leaves your tab
File retentionNoneNothing is stored
AccountNot requiredNo sign-up, no paywall
PriceFreeNo trial, no usage cap on the tool itself

How to use

  1. Fill in any two of the four boxes: voltage, current, resistance or power. Leave the other two empty.
  2. Pick the unit prefix next to each box, such as mA for milliamps or kΩ for kilohms.
  3. Read the other two values, shown in sensible units such as 25.53 mA, with the exact number underneath.
  4. Press an example to load a typical circuit, or Clear all to start again.

Example

Input: 12 V and 470 Ω

Output: 25.53 mA and 306.4 mW

How it works

Ohm's law says voltage equals current times resistance. Power is voltage times current. Combining the two gives a formula for each of the six pairs of known values, so any two of voltage, current, resistance and power are enough to find the other two.

V = I × R, P = V × I. From V and I: R = V ÷ I. From V and R: I = V ÷ R and P = V² ÷ R. From V and P: I = P ÷ V and R = V² ÷ P. From I and R: V = I × R and P = I² × R. From I and P: V = P ÷ I and R = P ÷ I². From R and P: V = √(P × R) and I = √(P ÷ R).

Another example

With 12 V across 470 Ω, the current is 12 ÷ 470 = 0.02553 A, which is 25.53 mA. The power is 12² ÷ 470 = 144 ÷ 470 = 0.3064 W, which is 306.4 mW. Feeding any other pair of those four numbers back in gives the same circuit.

Limits and edge cases

  • Fill in exactly two values. With three or four the tool asks you to leave two empty.
  • Values must be greater than zero. The tool uses the DC model of a fixed resistance, or RMS values for a purely resistive load.
  • Ohm's law does not describe diodes, LEDs, bulbs or batteries, whose resistance changes with voltage or temperature.
  • Results show four significant digits. The exact number is shown under each result.
  • The unit boxes multiply your number, so 20 with mA selected is 0.02 amps in the calculation.
  • Results are shown with the prefix that keeps the number between 1 and 1,000, such as 4.7 kΩ or 220 pF.
  • The tool names the two formulas it used under the results.
  • Zero, negative and non-numeric values are refused, because they have no meaning for a simple resistor.

Privacy

Everything is calculated in this browser tab. The numbers you enter are never sent to a server or stored.

About this page

Written and reviewed by Toolnexo on 23 November 2026. The limits above describe the published tool, not an idealised version of it. If a result looks wrong or the page is unclear, email [email protected] with the tool URL and what you entered. Corrections are published here.

Further reading

Guides that use Ohm's Law Calculator

All guides →

Related tools

FAQ

Questions about Ohm's Law Calculator

What is Ohm's law?

It says that the current through a resistor is proportional to the voltage across it: V = I × R, with voltage in volts, current in amperes and resistance in ohms. It is the basic rule for analysing simple circuits.

How do I calculate current from voltage and resistance?

Divide the voltage by the resistance. A 12 V supply across a 470 Ω resistor drives 12 ÷ 470 = 0.0255 A, or 25.5 mA.

How do I choose a resistor for an LED?

Subtract the LED's forward voltage from the supply, then divide by the current you want. For a 5 V supply, a 2 V LED and 20 mA, the resistor is (5 − 2) ÷ 0.02 = 150 Ω. Use the next standard value up and check the resistor's power rating.

How much power should a resistor be rated for?

Work out the power with P = V × I or P = I² × R, then pick a resistor rated for at least double that, so that it runs cool. A resistor dissipating 0.3 W should be rated for at least 0.6 W.

Why does it not work for my bulb or LED?

Ohm's law holds for parts whose resistance stays the same. A filament bulb's resistance rises as it heats, and an LED or diode does not follow a straight voltage and current line at all.

Is anything uploaded?

No. The values are calculated in your browser and nothing is sent anywhere.