Math & Science
Ohm's Law calculator icon showing a circuit symbol for voltage, current, and resistance

Ohm’s Law calculator

This Ohm’s Law calculator lets you calculate voltage, current, resistance, and power in one step. Enter any two known values and it instantly works out the other two using V = I × R.

Enter exactly two values and click “Calculate”. Highlighted results are ignored on the next run, so you can change one of your own values and calculate again, or click “Clear” to start over.

Enter two known values

How to use the Ohm’s Law calculator

To calculate voltage, current, resistance, or power with this tool, follow three steps:

  1. Enter any two known values in the fields above — for example voltage and current.
  2. Press Calculate. The Ohm’s Law calculator applies V = I × R and the power formula to solve for the rest.
  3. Read the highlighted fields — these are the two values the calculator worked out for you.

What is Ohm’s Law?

Ohm’s Law describes the relationship between voltage, current, and resistance in an electrical circuit: the voltage across a component equals the current through it multiplied by the resistance. In plain English, voltage equals current times resistance, which is exactly what the formula below expresses in symbols. As Britannica’s entry on Ohm’s law puts it, the amount of steady current through a conductor is directly proportional to the voltage across it and inversely proportional to its resistance — a relationship established by the German physicist Georg Simon Ohm in 1827.

V = I × R

Ohm’s Law formula explained, with power added in

The basic Ohm’s Law formula only relates three quantities: voltage, current, and resistance. Once you bring power into the picture, using P = V × I, the same Ohm’s Law calculator can also calculate electrical power directly, and it can work backward from power to find whichever of the other three quantities you’re missing. That’s why this tool asks for any two of the four fields rather than always the same two — voltage and current, voltage and resistance, current and resistance, or any combination involving power all give it enough information to solve the rest.

Ohm’s Law formulas to calculate voltage, current, resistance and power

By combining the basic formula with the power formula (P = V × I), there are twelve ways in total to calculate one quantity from two others. This Ohm’s Law calculator runs all twelve automatically, so you don’t have to look up which version applies.

KnownVoltage (V)Current (I)Resistance (R)Power (P)
V, I——R = V / IP = V × I
V, R—I = V / R—P = V² / R
I, RV = I × R——P = I² × R
V, P—I = P / VR = V² / P—
I, PV = P / I—R = P / I²—
R, PV = √(P × R)I = √(P / R)——

A worked example

Say you have a 12-volt battery connected to a 6-ohm resistor, and you want to know the current and the power. Using I = V / R, the current is 12 ÷ 6 = 2 amps. Using P = V × I, the power is 12 × 2 = 24 watts. Entering those same numbers into the Ohm’s Law calculator above — voltage 12, resistance 6 — highlights current and power and returns exactly 2 amps and 24 watts, confirming the two routes agree. It’s also a handy way to check the twelve-formula table: plugging resistance 6 and power 24 into V = √(P × R) gives √144 = 12 volts, and I = √(P / R) gives √4 = 2 amps — the same result, arrived at from a completely different pair of known values.

Common uses for Ohm’s Law

Choosing a current-limiting resistor for an LED. If you know your supply voltage, the LED’s forward voltage, and the current you want to run through it, Ohm’s Law tells you the resistor value needed to drop the difference safely.

Checking a component’s power rating. Before wiring up a resistor, you can calculate the power it will dissipate and compare that against its printed wattage rating to avoid overheating or burning it out.

Troubleshooting a circuit. If you measure an unexpectedly low current, Ohm’s Law lets you work out whether the resistance in the circuit is higher than expected, which often points to a bad connection or a failing component.

Sizing a battery or power supply. Knowing the resistance of the load you’re driving lets you calculate the current it will draw, so you can pick a battery or supply rated to handle it.

Units and prefixes

Always enter base units: volts, amps, ohms (Ω) and watts. Convert prefixes first: 250 mA is 0.25 A, 4.7 kΩ is 4700 Ω and 1.5 kW is 1500 W. Both a decimal point and a decimal comma are accepted, so 0.25 and 0,25 give the same result. The Ohm’s Law calculator shows up to six significant digits, which is more precision than most resistor tolerances (typically 1% to 5%) can justify.

Why use a calculator instead of doing it by hand?

You can always rearrange V = I × R yourself, but it’s easy to pick the wrong variant when power is involved. An Ohm’s Law calculator removes that guesswork: it automatically figures out which of the twelve formulas applies to the two values you entered, so you calculate voltage, current, resistance, and power correctly every time — useful for homework, circuit design checks, or quick lab calculations.

Frequently asked questions

What if I enter more than two values?

You get a short message asking you to enter exactly two values, so nothing is overwritten by surprise. Fields that the calculator filled in itself (the highlighted ones) do not count, which means you can edit one of your own two values and press Calculate again without clearing everything.

Why are there twelve formulas instead of one?

The basic law (V = I × R) and the power formula (P = V × I) can each be rearranged to solve for any other quantity, and combined with each other, which produces twelve usable variants in total.

Can I use this Ohm’s Law calculator to calculate voltage, current, and resistance at the same time?

Yes. Enter any two of the four values and the calculator will calculate the remaining two — including voltage, current, and resistance together — in a single step.

Does Ohm’s Law apply to every electrical component?

Ohm’s Law holds exactly for so-called “ohmic” components, such as most resistors, where the resistance stays constant. For some components, such as diodes or incandescent bulbs, the relationship between voltage and current is not linear, as Wikipedia’s overview of Ohm’s law notes when it distinguishes ohmic from non-ohmic materials.

Is this Ohm’s Law calculator free to use?

Yes, this Ohm’s Law calculator is completely free, requires no sign-up, and runs entirely in your browser — none of the numbers you enter are sent anywhere or stored.

Related calculators

Once the Ohm’s Law calculator has given you the power of a load, the power calculator turns watts into kWh and handles three-phase AC, and the energy cost calculator puts a price on that consumption. For square roots and powers of ten, use the scientific calculator.

This Ohm’s Law calculator provides a general, physically correct calculation for resistive (DC) circuits based on the values you entered. Back to CalcSwiftly home.

Reviewed by: CalcSwiftly · Last reviewed: