Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · Math and study

Ohm's law calculator

Fill in any two of voltage, current, resistance and power. The other two appear at once, with the sum written out so you can follow it.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

Fill in any two boxes and leave the other two empty. The empty ones are worked out. The 12 V and 20 mA are an example.

Result

R = 600 Ω · P = 240 mWfrom voltage and current

  • Voltage: 12 V (you typed)
  • Current: 20 mA (you typed)
  • Resistance: 600 Ω
  • Power: 240 mW
Resistance
600 Ω
Power
240 mW
Check
12 V = I × R

Your working: R = V ÷ I = 12 V ÷ 20 mA = 600 Ω; P = V × I = 12 V × 20 mA = 240 mW.

FindWay 1Way 2Way 3
VI × RP ÷ I√(P × R)
IV ÷ RP ÷ V√(P ÷ R)
RV ÷ IV² ÷ PP ÷ I²
PV × II² × RV² ÷ R

How to use the Ohm's Law Calculator

  1. Type a number in two of the four boxes: Voltage, Current, Resistance or Power.
  2. Pick the right Unit beside each one, such as mA for milliamps or kΩ for kilo-ohms.
  3. Leave the other two boxes empty. If you type in three, clear one.
  4. Read the big answer, then the working line, to see which formula was used.

What is Ohm's law?

Ohm's law says that voltage equals current times resistance: V = I × R. Voltage is the push, current is the flow and resistance is what holds the flow back. Say a 12 V supply pushes current through a 600 Ω resistor. The current is 12 ÷ 600 = 0.02 A, which is 20 mA. Fill in 12 V and 20 mA on this page and it gives back 600 Ω.

Power has a rule of its own: P = V × I. It tells you how much heat or work the part is handling. Put the two rules together and you can swap one quantity for another. That is why any two of the four values are enough to find the rest.

How do I find the missing values from any two?

Pick the two you know, then use the matching row of the table below. If you know power and voltage, current is P ÷ V and resistance is V² ÷ P. A 60 W lamp on 230 V draws 260.9 mA and has a hot resistance of 881.7 Ω. Both come straight from the calculator.

A short wheel of formulas sits under every result, so you can do the same sum by hand. The calculator writes your own numbers into those formulas under Your working. That makes it handy for homework, since you can compare each step with yours.

Which formula finds which value
FindWay 1Way 2Way 3
VI × RP ÷ I√(P × R)
IV ÷ RP ÷ V√(P ÷ R)
RV ÷ IV² ÷ PP ÷ I²
PV × II² × RV² ÷ R

How do the units work, such as mA and kΩ?

A common slip is mixing units in one sum. If you divide 12 by 20 and forget that the 20 was milliamps, you get 0.6 instead of 600. Because each box has its own unit, you never have to convert by hand. Type the figure exactly as it is printed on the part or the meter.

Small and large values wear a prefix. Milli (m) means one thousandth, so 20 mA is 0.02 A. Kilo (k) means one thousand, so 4.7 kΩ is 4,700 Ω. Mega (M) means one million. Choose the prefix in the Unit box and the page does the conversion before it calculates.

The answer comes back in the prefix that reads best. A result of 0.00025 W is shown as 250 µW, and 4,700 Ω is shown as 4.7 kΩ. Four digits are kept, which is plenty for parts that are only made to within a few percent.

What do the answers look like for common cases?

Small circuits are where Ohm's law gets used most. A resistor across a battery turns the supply voltage straight into a current and a heat figure. A 120 V heater element of 9.6 Ω pulls 12.5 A and so uses 1.5 kW. The table lists a few examples worked by the same code as the tool, so every figure is one you can reproduce.

Notice how the current in the table falls as the resistor grows, while the power falls even faster. Double the resistance on the same supply and the current halves, and the power halves too. Double the voltage on the same resistor and the current doubles, but the power goes up four times.

Use the power figure to pick a resistor that will not overheat. A part rated for less than the power it has to handle will run hot. Choose a rating well above the figure shown, and check the part's data sheet.

Example resistors across a supply
SupplyResistorCurrentPower
5 V100 Ω50 mA250 mW
9 V470 Ω19.15 mA172.3 mW
12 V1000 Ω12 mA144 mW
12 V47 Ω255.3 mA3.064 W
24 V220 Ω109.1 mA2.618 W

All rows are examples. Type your own supply and resistor to see yours.

Where does Ohm's law stop working?

The rule fits parts whose resistance stays the same, such as ordinary resistors and wire. It does not fit parts like diodes and LEDs, where the current climbs steeply once the voltage passes a threshold. A filament lamp is also off, because its resistance climbs as it heats up. The 60 W lamp above shows its hot resistance; the same lamp measured cold would read far lower.

Real parts also have limits. A resistor has a power rating, and a wire has a safe current. The calculator tells you what the numbers say, not what a given part can stand. If the power it shows is close to a part's rating, step up to a bigger part.

Alternating current adds more to think about. In an AC circuit with coils or capacitors, the push and the flow can fall out of step, and the simple sum becomes an approximation. For plain heaters and lamps it still works well.

Use it with

Questions

What is Ohm's law in simple words?

Current in a circuit equals the voltage divided by the resistance. At 12 V across 600 Ω, the current is 0.02 A, or 20 mA.

How do I calculate resistance from voltage and current?

Divide voltage by current: R = V ÷ I. With 12 V and 20 mA, R = 12 ÷ 0.02 = 600 Ω.

How do I find power from voltage and current?

Multiply them: P = V × I. With 12 V and 20 mA, the power is 240 mW.

How do I find power if I only know current and resistance?

Use P = I² × R. Square the current first, then multiply by the resistance. 2 A through 5 Ω is 4 × 5 = 20 W.

Why does the page refuse three values?

Two values fix the other two. A third value could disagree with them, so the page asks you to clear one.

Can I use it for AC mains?

For heaters and lamps, yes. For motors and anything with coils, power factor changes the answer, so treat the result as a rough guide.

The tool's results are computed in your browser by the code on this page; the explanations are checked against the tool's own output.