Skip to content
ScienceQuest

Ohm’s Law Calculator

CalculatorSchool Updated

Support ScienceQuest on Buy Me a Coffee (opens in a new tab)

Solve Ohm’s law, V = IR, for voltage, current or resistance from microamps to megohms, with the power dissipated and the working shown.

Calculator

240

Power
P = VI = I²R = V²/R. All three forms give the same number.
0.6 W
In milliwatts
600 mW
Conductance
4.167 mS

Working, with your numbers

  1. R = V / I
  2. = 12 / 0.05
  3. = 240 ohm

Values are converted into the units the equation is worked in before the arithmetic.

Cite this tool

Citing this tool

Last updated . Add the date you accessed it as well, which a citation of a page that can change asks for. If a specific result matters, cite the permalink from the tool’s share row instead of this page: it reproduces the exact parameters.

On the syllabus: AP Physics 2, Unit 11: Electric Circuits; AQA GCSE Required Practicals, I-V characteristics; MCAT, 4C: Electrochemistry and electrical circuits and their elements.

Teaching with this? You can put it on a class page or LMS for free, with no ads inside the frame. Get the embed code.

The equation

V=IRV = IR

Ohm, Die galvanische Kette (1827)

The equation as an image to reuse
Ohm’s Law Calculator: the equation V = IR, solved for any of V, I and R.
The equation the calculator is built on, with its source. Image © ScienceQuest, CC BY 4.0. Free to reuse with credit and a link to this page; how to reuse it. Download PNG

What is the Ohm’s law formula?

The Ohm’s law formula is V = IR, where V is voltage in volts (V), I is electric current in amperes (A), and R is resistance in ohms (Ω). The equation rearranges to I = V / R to calculate current and R = V / I to calculate resistance.

What V = IR is saying

At a fixed resistance the current is proportional to the applied voltage, so doubling the voltage doubles the current. One ohm is the resistance that passes one ampere when one volt is applied across it, which makes a volt an ampere times an ohm.

Resistance measures how strongly a component opposes the movement of charge. In a metal it comes mostly from conduction electrons scattering off the vibrating lattice, and because those vibrations grow with temperature, a metal’s resistance rises as it heats up.

Worked example

A resistor has 12 V across it and draws 50 mA. Find its resistance and the power it dissipates.

  • Convert the current to amperes first: 50 mA is 0.05 A.
  • R = V / I = 12 / 0.05 = 240 Ω
  • P = VI = 12 × 0.05 = 0.6 W, which is 600 mW.
  • Check against a second power form: P = I²R = 0.05² × 240 = 0.6 W, the same answer.

Picking a power form, and where the law holds

The three expressions P = VI, P = I²R and P = V²/R are algebraically identical. Substituting V = IR into the first produces the second, and substituting I = V/R produces the third, so pick whichever form uses the two values you already have. Sizing a resistor is usually an I²R job, because you know the current the branch has to carry.

Ohm’s law applies to ohmic components only, meaning those whose resistance stays constant as voltage varies. Fixed resistors and metal wires at steady temperature qualify. Diodes, LEDs, transistors and filament lamps do not: their resistance changes with the applied voltage, with the temperature the current itself produces or, in a transistor, with the base current that controls it, so no single resistance value describes them. For those parts you work from the current-voltage curve, and Ohm’s law is at best a local approximation at one operating point.

Common mistakes

  • Mixing milliamperes with amperes. Entering 50 where 0.05 belongs shifts the answer by a factor of a thousand. By hand, convert to volts, amperes and ohms before substituting. The calculator takes the unit you pick for each value, such as mA or kΩ.
  • Applying it to an LED. An LED drops a roughly fixed forward voltage across its working range of current, so dividing that voltage by the desired current gives no resistance you can use. Size the series resistor from the supply voltage minus the forward voltage, divided by the current, or use the LED Resistor Calculator.
  • Ignoring the resistor power rating. A 240 Ω resistor dissipating 0.6 W will overheat if the part is rated 0.25 W. Compute the power as well as the resistance and choose a part rated above it.
  • Using cold resistance for a hot filament. A tungsten lamp filament has more than ten times its cold resistance at operating temperature, 4.8 Ω against 0.350 Ω in OpenStax’s example, which is why the inrush current at switch-on far exceeds the steady running current.

Sources

How to calculate resistance with Ohm’s law

  1. Write down the formula: R = V ÷ I
  2. Gather the values it needs. The calculator above starts with these:
    • Voltage: V = 12 V
    • Current: I = 50 mA
  3. Substitute them and work through the arithmetic. The first worked example below runs these values, line by line.
  4. To find one of the other values instead, rearrange the formula for it:
    • Voltage: V = I · R
    • Current: I = V ÷ R

More worked examples

Each one runs through the calculator above, so the arithmetic here is the arithmetic it does.

What resistance draws 50 mA from a 12 V supply?

  1. R = V / I
  2. = 12 / 0.05
  3. = 240 ohm

The milliamps must become amps first. Dividing 12 by 50 gives 0.24, and a reader who writes that down has an answer a thousand times too small with no obvious sign anything went wrong.

How much current flows through a 220 ohm resistor at 5 V?

  1. I = V / R
  2. = 5 / 220
  3. = 0.022727 A = 22.73 mA

About 23 mA on its own. With a red indicator LED’s roughly 2 V forward drop in series it falls to about 14 mA, well inside the 30 mA DC forward-current rating of a red indicator LED such as the Kingbright WP7113ID.

What voltage is across a 1.5 kilohm resistor carrying 8 mA?

  1. V = I × R
  2. = 0.008 × 1500
  3. = 12 V

Two prefixes at once, and they happen to cancel: milliamps times kilohms gives volts directly. That shortcut is worth knowing and worth being careful with, because it only works where the prefixes cancel: microamps with megohms also give volts, but milliamps with megohms give kilovolts.

Common questions

Which power formula should I use?

P = VI, P = I²R and P = V²/R all give the same answer for the same circuit, so pick whichever uses the two values you already know. P = I²R is the usual choice for sizing a resistor, because current and resistance are what you specified.

Does Ohm’s law apply to everything?

No. It describes ohmic components, where current is proportional to voltage. Resistors and metal wires qualify over normal operating ranges. Diodes, LEDs, transistors and filament lamps do not, because their resistance changes with voltage or temperature, or, in a transistor, with the base current that controls it.