Home / Physics / Ohm’s Law Calculator

Ohm’s Law Calculator – Any Two Values In, the Rest Out

Type in any two of voltage, current, resistance and power, and this calculator solves the other two on the spot — with the working shown, not just the answer.

100% FreeNo sign-up neededInstant results

Enter any two values

Your circuit
Voltage V (volts)
Current I (amps)
Resistance R (ohms)
Power P (watts)

Fill in any two boxes and leave the other two blank. If you enter three or four, the calculator solves from the first two and checks the extras against Ohm’s law.

Private by design: every number is worked out in your browser. Nothing you type is sent anywhere or stored.

Your circuit, solved

Current, solved from voltage and resistance
3.00 A
12 V across 4 Ω: I = 12 ÷ 4 = 3.00 A, and P = 12 × 3.00 = 36.00 W.
Voltage V12.00 V
Current I3.00 A
Resistance R4.00 Ω
Power P36.00 W
Copied
Key Takeaways
  • Any two of voltage, current, resistance and power determine the other two (V = I × R, P = V × I).
  • Default circuit: 12 V across 4 Ω gives 3.00 A and 36.00 W.
  • Ohm's law holds exactly for resistors at steady temperature; lamps, LEDs and motors do not follow it perfectly.

The Ohm’s law triangle

Cover the value you want and the triangle tells you the formula: voltage on top, current and resistance side by side below.

VIRV = I × R · I = V ÷ R · R = V ÷ I

Worked example: a 12 V battery drives a 4 Ω resistor. Current I = 12 ÷ 4 = 3.00 A. Power P = 12 × 3.00 = 36.00 W. Start from voltage and power instead and the same circuit falls out the other way: I = 36 ÷ 12 = 3.00 A and R = 12 ÷ 3.00 = 4.00 Ω. Power always ties in through P = V × I, which is the same as P = I² × R and P = V² ÷ R.

How it works

Step 1.
Pick the two values you know: any pair of voltage, current, resistance and power.
Step 2.
Type them into their boxes and leave the other two boxes blank.
Step 3.
Read all four values, with the formula and the working shown beside them.

Understand the result

Ohm’s law links the voltage across a component to the current flowing through it: double the voltage and, for the same resistor, double the current flows. Resistance is the constant in the middle — how hard the component pushes back against the flow. Power is the rate the circuit turns electrical energy into heat, light or motion, and it follows from whichever pair you already have: P = V × I. Because the four quantities are locked together by these two equations, any two of them are enough to work out the other two, which is exactly what this calculator does.

The four quantities are locked together by two equations, V = I × R and P = V × I. Two equations can pin down two unknowns, so two known values are enough to solve the other two. If you enter three or four values, the calculator solves from the first two and checks the extras against the law, flagging any that disagree.

It holds exactly for resistors and other ohmic components at a steady temperature. Lamps, LEDs, motors and semiconductors do not follow it perfectly: a bulb’s resistance rises as it heats up, and an LED holds a near-fixed voltage. For AC circuits the same shape of law uses impedance instead of plain resistance. Treat results for non-resistive loads as a good estimate, not an exact reading.

Every pair, solved: six ways into the same circuit

There are four quantities in Ohm’s law and the power law — voltage, current, resistance and power — and any two of them determine the other two. That gives six possible pairs, and the table below works through the ones this calculator demonstrates, starting from its default circuit: 12 volts across 4 ohms, giving 3.00 amps and 36.00 watts. Every figure in the first three rows was run through the calculator above; the remaining rows use the page’s own worked formulas and its own worked examples, so the whole set can be checked by hand from two equations: V = I × R and P = V × I.

Pair you enterWhat the calculator solvesResult on this page
Voltage 12 V and resistance 4 Ω (default)Current I = V ÷ R; power P = V × I3.00 A, 36.00 W
Voltage 24 V and resistance 4 ΩCurrent doubles with voltage; power quadruples6.00 A, 144.00 W
Voltage 12 V and resistance 8 ΩCurrent halves as resistance doubles1.50 A, 18.00 W
Voltage 12 V and power 36 W (page’s example)Resistance R = V² ÷ P4 Ω, and current 3.00 A
Current 3 A and power 36 WVoltage V = P ÷ I; resistance R = V ÷ I12 V, 4 Ω
Current 3 A and resistance 4 ΩVoltage V = I × R; power P = I² × R12 V, 36.00 W

The second row is the one that surprises people, because doubling the voltage does not double the power: it quadruples it. At 12 volts the current is 3.00 amps and the power is 36.00 watts; at 24 volts across the same 4 ohms the current doubles to 6.00 amps, and power, which is voltage times current, becomes 24 times 6, which is 144.00 watts, exactly four times 36. The reason is that voltage raises both factors of the power product at once: it raises the voltage factor directly, and it raises the current factor through Ohm’s law. Whenever a quantity appears twice in a product, doubling it quadruples the product, and power is the textbook case. That is why running a device at twice its rated voltage is not twice as demanding but four times as demanding, and why the page’s disclaimer about sizing wiring and fuses is not boilerplate: a voltage mistake punishes quadratically.

The third row shows the inverse relationship from the other side. Doubling the resistance from 4 ohms to 8 ohms, at the same 12 volts, halves the current from 3.00 amps to 1.50 amps, and the power halves with it, from 36.00 watts to 18.00 watts. Resistance appears once in the current equation as a divisor, so doubling it halves the current, and power, which is voltage times current with voltage fixed, halves as well. The contrast between the two rows is the whole of Ohm’s law in miniature: voltage drives current up, resistance holds it down, and power follows the product. If you can predict which of the two rows a change resembles — a voltage change, which moves current and power together, or a resistance change, which moves current against itself — you can predict the direction of every result this calculator produces before you type anything.

The remaining rows exist to prove that no pair is special. Voltage with power gives resistance through R = V² ÷ P, which is the page’s own example: 144 divided by 36 is 4 ohms, and the current then follows as 12 divided by 4, which is 3 amps. Current with power gives voltage through V = P ÷ I, which is 36 divided by 3, which is 12 volts, and resistance follows as 12 divided by 3, which is 4 ohms. Current with resistance gives voltage directly through V = I × R, which is 3 times 4, which is 12 volts, and power through P = I² × R, which is 9 times 4, which is 36 watts. The calculator’s rule for three or four entered values is worth knowing too: it solves from the first two and checks the extras against the law, flagging any that disagree, rather than silently averaging inconsistent inputs. If you enter three values that do not agree, the flag is telling you that at least one of them is wrong, and the first two are the ones the answer was built from.

Why two values are enough, and why the third is a check

The four quantities are locked together by two equations, V = I × R and P = V × I. Two equations can pin down two unknowns, so two known values are enough to solve the other two, and that is exactly what this calculator does. The counting is worth spelling out because it explains both the power and the limit of the tool. With one value entered, the circuit is underdetermined: a voltage of 12 volts alone says nothing about the current, because the resistance could be anything. With two values, the system closes, and both remaining values follow. With three values, the system is overdetermined: the third value must agree with the first two, or the inputs are inconsistent, and the calculator flags the disagreement instead of hiding it. With four values, there are two independent checks, and any inconsistency is still a data problem, not a calculator problem.

The triangle picture on the page is the same idea drawn as a memory aid. Cover the quantity you want, and the remaining two show how to compute it: voltage is current times resistance, current is voltage divided by resistance, resistance is voltage divided by current, and power joins through P = V × I, with the equivalent forms P = I² × R and P = V² ÷ R following by substitution. Those equivalent forms are not new laws; they are the same two equations with one variable eliminated. P = I² × R comes from replacing V in P = V × I with I × R, and P = V² ÷ R comes from replacing I with V ÷ R. Knowing that they are substitutions, not separate rules, prevents the most common textbook confusion, which is treating the three power formulas as three different laws that might disagree. They cannot disagree, because they are the same law rewritten, and any disagreement in a calculation means an arithmetic slip, not a choice between formulas.

Units are the other half of getting the right answer, and the page’s unit note is short enough to restate in full: voltage in volts (V), current in amps (A), resistance in ohms (Ω) and power in watts (W), with conversions of 1,000 mA to 1 A and 1 kΩ to 1,000 Ω. The trap is entering milliamps or kilohms as if they were amps or ohms, which scales the answer by a factor of a thousand in the wrong direction. A circuit described as 12 volts and 4 kilohms carries 3 milliamps, not 3 amps, and dissipates 36 milliwatts, not 36 watts; the numbers look identical until the unit is read. Convert first, then calculate, and check the result’s order of magnitude before trusting it: a phone charger circuit giving kilowatts, or a heater giving milliwatts, has a unit error in it, whatever the calculator displayed.

Where Ohm’s law stops being exact

Ohm’s law holds exactly for resistors and other ohmic components at a steady temperature. Lamps, LEDs, motors and semiconductors do not follow it perfectly, and the page names the reasons plainly. A bulb’s resistance rises as it heats up, so the resistance measured cold is not the resistance at operating temperature, and a current computed from the cold resistance overstates the running current. An LED holds a near-fixed voltage, so it does not behave like a resistor at all: doubling the applied voltage does not double the current through it in any useful sense, and LEDs are normally run with a series resistor precisely so that the resistor, which does obey the law, sets the current. Motors add back-electromotive force, which opposes the applied voltage and changes with speed, so a stalled motor and a spinning motor are different circuits for Ohm’s law purposes even though the wiring never changed.

For AC circuits the same shape of law uses impedance instead of plain resistance, and the page states that limit directly. Impedance combines resistance with reactance from inductance and capacitance, and it depends on frequency, so a coil that looks like a short length of wire to direct current can present a large impedance to alternating current. Treat results for non-resistive loads as a good estimate, not an exact reading, and treat results for AC circuits computed with plain resistance as a starting approximation only. The page’s disclaimer draws the practical line: this calculator covers ideal DC resistive circuits, real components heat up as current flows, resistance drifts with temperature, and AC circuits involve impedance, so the numbers are exact for textbook circuits and close estimates for real ones. It is not a substitute for a qualified electrician when sizing wiring, fuses or breakers, and any result that will be built, wired, or relied on for safety should be checked by one.

Worked checks: the default circuit, three ways

The default circuit is 12 volts and 4 ohms, and it can be checked three ways that must all agree. By Ohm’s law, current is voltage divided by resistance: 12 divided by 4 is 3.00 amps. By the power law, power is voltage times current: 12 times 3 is 36.00 watts. By the substituted forms, power is current squared times resistance, 9 times 4, which is 36 watts, and voltage squared divided by resistance, 144 divided by 4, which is also 36 watts. Four routes to the same two answers, and any route that disagrees with the others contains an arithmetic error. The calculator shows the solved pair with its working — “I = V ÷ R = 12.00 ÷ 4.00 = 3.00 A, and P = V × I = 36.00 W” — so the check is printed on the results panel itself, and the habit of reading that working line, rather than just the headline number, catches most input errors before they propagate.

The voltage-doubling check is the second one to memorise. At 24 volts across the same 4 ohms, current is 24 divided by 4, which is 6.00 amps, and power is 24 times 6, which is 144.00 watts, exactly what the calculator shows. The resistance-doubling check is the third: at 12 volts across 8 ohms, current is 12 divided by 8, which is 1.50 amps, and power is 12 times 1.50, which is 18.00 watts, again exactly what the calculator shows. Between the three checks, every behaviour of the calculator is covered: voltage up moves current and power up, resistance up moves current and power down, and power moves with the square of voltage when resistance is fixed. If a future result ever surprises you, run it against the nearest of these three checks first. A result that contradicts all three has a wrong input; a result that matches one of them is behaving as the law requires, and the surprise is in the circuit, not in the calculator.

A last practical note on entering values: enter exactly two, and leave the other two blank, unless you deliberately want the consistency check. Entering a third value that agrees with the first two changes nothing, but entering one that disagrees produces a flag, and the flag means the inputs, not the calculator, need attention. The most common cause of a flag is a unit slip, milliamps entered as amps or kilohms as ohms, followed by a copied value from a different circuit, such as a power rating from a nameplate that belongs to a different voltage. Clear the extra fields, re-enter the pair you trust, convert the units first, and let the calculator solve the rest: that is the workflow the tool was built for, and it is also the workflow that makes its answers easy to verify by hand.

Power, heat, and why the numbers matter beyond the textbook

Power is not an abstraction in a real circuit: it is heat, light, or motion, and the power figure on the results panel is the rate at which the circuit converts electrical energy into one of those forms. A resistor dissipating 36 watts gets hot, and the heat must go somewhere; a resistor dissipating 144 watts, as in the 24-volt variant of the default circuit, gets four times as hot, and needs four times the cooling, not twice. That is the practical reason the voltage-doubling result matters outside the textbook: ratings for resistors, wiring, and enclosures are power ratings, and a circuit that is safe at 12 volts can be dangerous at 24 volts even though nothing else changed. The calculator’s power figure should always be read against the ratings of the components that will carry it, and the page’s disclaimer about sizing wiring, fuses and breakers is the professional version of the same warning.

The same power figure explains why the current matters as much as the voltage. Fuses and breakers are current ratings, not power ratings: a fuse does not know the voltage of the circuit it protects, it knows the current through it, and it opens when that current exceeds its rating for long enough. At 12 volts and 4 ohms the current is 3.00 amps, so a 5-amp fuse holds comfortably; at 24 volts the current is 6.00 amps, so the same fuse opens, even though the wiring never changed. Wire gauge works the same way: the heating of a wire depends on the current squared times its resistance, so doubling the current quadruples the heating in the wire itself, which is why a wire that runs cool at 3 amps can run hot at 6 amps. Ohm’s law gives you the current, the power law gives you the heat, and the ratings tell you whether either is acceptable; the calculator supplies the first two, and the component datasheets supply the third.

Estimating before calculating: a habit that catches errors

The fastest way to catch an input error is to estimate the answer before the calculator gives it, and Ohm’s law is simple enough that estimation is always possible. For the default circuit, 12 divided by 4 is obviously 3, and 12 times 3 is obviously 36, so any result that is not near 3 amps and 36 watts signals a wrong input, not a surprising circuit. For the 24-volt variant, doubling the voltage should double the current and quadruple the power, so the expected answers are near 6 amps and near 144 watts; a result near 12 amps or near 72 watts would mean the resistance or the voltage was mis-entered. For the 8-ohm variant, doubling the resistance should halve the current and halve the power, so the expected answers are near 1.5 amps and near 18 watts. These directional checks — voltage up, current and power up; resistance up, current and power down — take seconds and catch the errors that matter most: unit slips, which move answers by a factor of a thousand, and copied values from a different circuit, which move them unpredictably. A calculator result that matches your estimate is worth trusting; one that contradicts it is worth re-entering, not worth believing because a machine produced it.

Estimation also helps when the circuit is described in words rather than numbers, which is how real problems usually arrive. A device rated 36 watts at 12 volts must draw 3 amps, because 36 divided by 12 is 3, and its resistance must be 4 ohms, because 12 divided by 3 is 4. A heater rated 1,000 watts at 230 volts draws about 4.35 amps, because 1,000 divided by 230 is 4.35, and its resistance is about 53 ohms, because 230 divided by 4.35 is 52.9. Those are the same two equations, run backwards from the nameplate, and they show why the calculator’s six pairs are not an academic exercise: nameplates give you voltage and power, wiring questions give you voltage and resistance, and fault-finding gives you current and whatever else you can measure. Whichever pair you start from, the other two follow, and the habit of estimating first means you will recognise the right answer when it appears.

One last check before you trust a result

Before you act on any result this calculator shows, run through three checks that take less than a minute. First, confirm the units: volts, amps, ohms and watts, with milliamps converted to amps and kilohms to ohms before entry, because a unit slip moves the answer by a factor of a thousand. Second, confirm you entered exactly the pair you trust, leaving the other fields blank unless you deliberately want the consistency check, since a third value that disagrees produces a flag that means the inputs need attention, not the calculator. Third, estimate the answer first using the directional rules — voltage up moves current and power up, resistance up moves current and power down — and compare the calculator’s result with your estimate. A result that matches the estimate is worth trusting; one that contradicts it is worth re-entering. With those three checks done, the numbers on the screen are as good as the two equations can make them.

Ohm law and alternating current: the limit

Ohm law in its simple form applies to direct current and to resistive alternating current circuits. In AC circuits with inductors and capacitors, voltage and current are no longer simply in phase, and resistance generalises to impedance, a complex quantity combining resistance and reactance. The magnitude form, V equals I times Z, still holds for magnitudes, but the phase difference means power is no longer simply V times I: real power is V times I times the power factor, the cosine of the phase angle.

For household AC work at mains frequency with mostly resistive loads, heaters and incandescent lamps, the simple form is a good approximation. For motors, transformers, and electronic loads, impedance and power factor must be counted, and the calculator resistive model should not be applied blindly.

Resistance changes with temperature

Most conductors increase resistance as they warm up, which means a circuit current falls slightly as a resistor heats, and a filament lamp resistance when hot is far higher than when cold. That is why a cold lamp draws a surge current at switch-on: the cold resistance is low, the current is high, and it settles as the filament heats. For most circuit calculations at normal operating temperatures, the rated resistance is used and temperature effects are a correction, but for lamps, heaters, and precision work they are the main effect.

Thermistors exploit the effect deliberately: their resistance changes strongly with temperature, making them useful as temperature sensors, and their non-linear behaviour is exactly why Ohm law alone does not describe them.

Measuring voltage, current, and resistance in practice

Measure voltage across a component, with the meter in parallel, and current through a component, with the meter in series, and never measure resistance in a live circuit: an ohmmeter applies its own voltage and a live circuit corrupts the reading and can damage the meter. Measure resistance with the component isolated and the power off, and expect the reading to differ from the marked value by the component tolerance, typically 5% or 1% for common resistors.

If a measured value disagrees with the Ohm law calculation, suspect the measurement first, then the component tolerance, then the circuit: a resistor that has drifted with heat or age, a supply voltage that sags under load, or a parallel path that the simple circuit diagram omitted.

Frequently asked questions

What is Ohm’s law?

Ohm’s law says the voltage across a resistor equals the current through it times its resistance: V = I × R. If you know any two of voltage, current and resistance, the third follows at once, and power joins in through P = V × I.

How do I calculate current from voltage and resistance?

Divide the voltage by the resistance: I = V ÷ R. For example, 12 volts across 4 ohms gives I = 12 ÷ 4 = 3 amps.

How do I find resistance from voltage and power?

Combine the two laws: R = V² ÷ P. For example, a device running on 12 volts and using 36 watts has R = 144 ÷ 36 = 4 ohms.

How do I calculate electrical power?

Power is voltage times current: P = V × I. The same answer comes from P = I² × R or P = V² ÷ R, so any pair that includes one of voltage, current or resistance is enough once the rest is solved.

Which two values do I need to enter?

Any two of the four: voltage, current, resistance and power. Voltage with resistance gives current and power; current with power gives voltage and resistance; every pair works out the remaining two.

What units does Ohm’s law use?

Voltage in volts (V), current in amps (A), resistance in ohms (Ω) and power in watts (W). Convert first if your figures are in millivolts, milliamps or kilohms: 1,000 mA is 1 A and 1 kΩ is 1,000 Ω.

Why does doubling the voltage quadruple the power?

Because voltage raises both factors of the power product at once. At 24 volts across 4 ohms the current doubles to 6.00 amps, and power, which is voltage times current, becomes 24 times 6, which is 144.00 watts, four times the 36.00 watts at 12 volts. Whenever a quantity appears twice in a product, doubling it quadruples the product, which is why running a device at twice its rated voltage is four times as demanding, not twice.

What happens if I enter three values that disagree?

The calculator solves from the first two and flags any extra value that disagrees with the law, rather than silently averaging inconsistent inputs. A flag means at least one input is wrong, and the usual causes are a unit slip, such as milliamps entered as amps or kilohms as ohms, or a value copied from a different circuit. Clear the extra fields, convert the units first, and re-enter the pair you trust.

Can I use this calculator for an LED or a motor?

Only as an estimate. Ohm’s law holds exactly for resistors at a steady temperature, but an LED holds a near-fixed voltage rather than behaving like a resistor, a bulb’s resistance rises as it heats up, and a motor adds back-electromotive force that changes with speed. For AC circuits the same shape of law uses impedance instead of plain resistance. Treat results for non-resistive loads as a good estimate, not an exact reading.

How do I convert between the power formulas?

They are the same law rewritten, not separate rules. Starting from P = V × I, replacing V with I × R gives P = I² × R, and replacing I with V ÷ R gives P = V² ÷ R. The page’s own example uses the last form: a device on 12 volts using 36 watts has R = 144 ÷ 36 = 4 ohms. Because all three forms are substitutions of the same two equations, they cannot disagree; any disagreement in a calculation is an arithmetic slip.

Does Ohm law work for AC circuits?

For resistive AC loads, yes in magnitude form. With inductors and capacitors, resistance generalises to impedance and power needs the power factor, so the simple form is an approximation.

Why does a lamp draw more current when cold?

Because filament resistance is much lower cold than hot. Current surges at switch-on and settles as the filament heats and resistance rises.

Can I measure resistance in a live circuit?

No. Measure resistance with power off and the component isolated, or the circuit voltage corrupts the reading and can damage the meter.

Disclaimer: this calculator covers ideal DC resistive circuits. Real components heat up as current flows, resistance drifts with temperature, and AC circuits involve impedance, so treat the numbers as exact for textbook circuits and as close estimates for real ones. It is not a substitute for a qualified electrician when sizing wiring, fuses or breakers.

↑ Ohm’s Law ExplainedVoltage, current, resistance, power, series and parallel, with safety notes.