Ohm's Law Calculator

Enter any two of voltage (V), current (A), resistance (Ω) and power (W) to calculate the other two.

Fill in exactly two of the four boxes (leave the other two empty). Values must be 0 or more.

Result
Voltage V—
Current I—
Resistance R—
Power P—

Electrical safety: this is an ideal calculation for direct current (DC) and purely resistive loads. It does not include the power factor in AC circuits or changes in resistance with temperature. Follow the ratings in the device's datasheet. Working with high voltage or large currents can cause electric shock or fire, so check with a qualified person. Do not exceed the power rating of a resistor.

The text copied is the four values in base units (V, A, Ω, W), one per line, with 7 significant digits and no commas.

Ohm's law and the power formulas

For a DC circuit with a resistive load, voltage V (volts), current I (amperes), resistance R (ohms) and power P (watts) are related by

Which pair gives which result

You enter You get Formulas
V and I R, P R = V ÷ I, P = V × I
V and R I, P I = V ÷ R, P = V² ÷ R
V and P I, R I = P ÷ V, R = V² ÷ P
I and R V, P V = I × R, P = I² × R
I and P V, R V = P ÷ I, R = P ÷ I²
R and P V, I V = √(P × R), I = √(P ÷ R)

The calculation uses exact fractions. Only the R and P pair needs a square root (a square root that does not come out evenly is labeled "rounded value").

When you enter 0

A result that would need a division by 0 is shown as "Not available", and the other results are still calculated. If the two values you enter contradict each other, an error is shown.

Examples

Units and SI prefixes

The selector next to each box lets you choose a unit (mV or kV, µA or mA, mΩ, kΩ or MΩ, mW or kW and so on). Results are shown in base units (V, A, Ω, W), and when a more readable prefix applies it is shown in parentheses as well (for example, 0.02 A (20 mA)).

Notes

Frequently asked questions

How do I find the current when I know the power?

If you also know the voltage, I = P ÷ V. For example, a device that uses 1,500 W at 100 V draws 15 A. If you know the resistance instead of the voltage, I = √(P ÷ R).

What if I know three of the values?

Enter only two of them. You can then compare the third with the calculated result to check it.

How do I check a resistor's power?

Check that the power P that will actually be dissipated is smaller than the resistor's power rating (in watts). This calculator can find P from V and R (or from I and R).