Audited ·Last updated 27 Jul 2026·7 citations·Tier 1·0 uses

Ohm's Law Calculator

Free Ohm's law calculator — solve for voltage, current, resistance, or power using V=IR and P=VI. Worked examples for LEDs and DC circuits.

Ohm's Law Calculator

Solve for
Electric potential difference across the component, in volts. Leave blank when solving for voltage.
V
Current through the component, in amperes. For milliamps divide by 1000 (e.g. 20 mA = 0.02 A). Leave blank when solving for current.
A
Resistance of the component, in ohms. For kilohms multiply by 1000 (e.g. 4.7 kΩ = 4700). Leave blank when solving for resistance.
Ω
Voltage
12
Electric potential difference V across the component, computed from V = I × R when solving for voltage and echoed back otherwise.
Current
0.02 A
Resistance
600 Ω
Power dissipated
0.24 W

Background.

This ohm's law calculator solves the foundational equation of direct-current circuit analysis — V = I × R — for whichever of the three quantities you do not know, and then returns the power dissipated by the component for free. Pick a 'solve for' mode, type in the two values you do know, and the tool returns voltage, current, resistance, and power in SI units (volts, amperes, ohms, watts).

The reason this single equation matters so much, and the reason an electrical engineer reaches for it before any more sophisticated tool, is that almost every elementary DC question — what resistor do I need in series with an LED, how much current is my motor drawing, will this wire overheat at 15 A, what is the equivalent resistance of two parallel speakers, how much power does my Raspberry Pi pull at 5 V — collapses to V = IR plus one of its three power siblings: P = VI, P = I²R, and P = V²/R. Those four relationships, sometimes drawn together as 'Ohm's law wheel' or 'power wheel', are the entire algebra of resistive DC circuits.

Georg Simon Ohm published the linear relationship between current and voltage across a conductor in his 1827 monograph 'Die galvanische Kette, mathematisch bearbeitet' ('The galvanic circuit investigated mathematically'), and despite being met with hostility by Berlin's physics establishment for years, the result eventually became one of the most experimentally validated statements in physics. The ohm itself is now a defined SI unit — one ohm is the resistance that produces one ampere of current under one volt of applied potential — and since the 2019 SI redefinition, all three quantities are tied to invariant constants of nature (the elementary charge e for amperes, the Josephson constant K_J = 2e/h and von Klitzing constant R_K = h/e² for the volt and ohm respectively).

Below the widget you will find the derivations of the three power forms, worked examples for the LED-and-series-resistor problem that every electronics hobbyist meets in their first hour, household-circuit math for breaker sizing and extension-cord ratings, the impedance generalization that Ohm's law morphs into for AC analysis, and an honest discussion of where the law breaks down — non-ohmic devices such as semiconductors, incandescent filaments at hot operating temperatures, gas discharges, and any component whose I-V curve is meaningfully nonlinear.

The calculator itself is a thin shell over a pure-function solver registered at ohmsLaw.solve; the same code path is exercised by 19 unit tests covering boundary cases (zero current, zero resistance, very small currents in the microampere range, very large currents in the kiloampere range) so the answer you read here is the same answer used elsewhere in the Quanta engineering toolset.

What is ohm's law calculator?

Ohm's law states that, for an ohmic (linear, time-invariant, passive) conductor at constant temperature, the current I flowing through it is directly proportional to the voltage V applied across it, with the proportionality constant being the conductance G = 1/R, where R is the resistance. The three algebraic forms — V = IR, I = V/R, R = V/I — are mathematically identical; which one you solve depends on which quantity is the unknown in your problem. The law is empirical: it summarizes a vast body of experimental observation rather than being derived from more fundamental principles, although in modern condensed-matter physics it can be understood as a consequence of the Drude model of electrons drifting in a lattice with a characteristic scattering time. Three things follow immediately. First, doubling the voltage across a fixed resistor doubles the current. Second, doubling the resistance at a fixed voltage halves the current. Third, the power dissipated as heat in the resistor — the Joule heating — is P = VI, which by substitution becomes P = I²R or P = V²/R depending on which quantity is held fixed in your design. Ohm's law as stated above applies most cleanly to DC steady-state circuits. In AC circuits the same proportionality survives, but R is replaced by the complex impedance Z, which packages resistance together with the frequency-dependent contributions of inductors and capacitors; voltage and current then become phasors and the law becomes V = IZ. For non-ohmic devices — diodes, transistors, neon bulbs, electrolytes, incandescent filaments hot enough to change resistance with temperature — the linear relationship fails and you need the device's full I-V curve, not a single resistance number.

How to use this calculator.

  1. Choose which quantity you want the calculator to compute from the 'Solve for' menu — voltage, current, or resistance.
  2. Enter the two known quantities. Use SI units: volts (V), amperes (A), and ohms (Ω). Convert milliamps to amps by dividing by 1000 (20 mA = 0.02 A) and kilohms to ohms by multiplying by 1000 (4.7 kΩ = 4700 Ω).
  3. Leave the field for the unknown quantity blank — the calculator ignores it and computes the missing value from the other two.
  4. Read the primary result (your solved-for quantity) and the power output P, which is always returned in watts regardless of which mode you picked.
  5. For an LED-and-resistor sizing problem, enter the supply voltage minus the LED forward voltage as 'Voltage', the target LED current as 'Current' (typically 0.02 A for a standard 5 mm LED), and solve for resistance.
  6. For a 'will this wire overheat?' question, enter the expected current and the wire's resistance per metre times its length, and check the power output against the wire's rated dissipation.

The formula.

V = I × R

The core relationship and its three power forms are:

V = I × R (Ohm's law) P = V × I (electrical power, from the definition of voltage as energy per charge) P = I² × R (substitute V = IR into P = VI) P = V² / R (substitute I = V/R into P = VI)

These four equations form what electrical engineering textbooks call the 'Ohm's law wheel' or 'power wheel': given any two of {V, I, R, P}, you can solve for the other two. The calculator implements the V/I/R triangle directly and returns P alongside as a derived value. Three small but important conventions are baked in. First, all quantities are taken as positive scalars — the calculator does not model signed current direction or polarity, which is the right choice for a steady-state DC magnitude problem. Second, the calculator refuses to divide by zero: if you ask for resistance with current = 0 (an open circuit) or for current with resistance = 0 (a short circuit at finite voltage), it raises an InvalidInputError rather than silently returning Infinity. Third, the law applies to a single ohmic component or to a Thevenin-equivalent of a network. For series circuits, add the individual resistances and apply V = IR to the total. For parallel circuits, add the reciprocals: 1/R_total = 1/R_1 + 1/R_2 + ... and then apply V = IR to the equivalent. The calculator does not perform network reduction for you — feed it the equivalent resistance you have already computed.

A worked example.

Example

Classic problem: you want to drive a standard red 5 mm LED from a 9 V battery at its rated forward current of 20 mA, and you need to know what series resistor to use. The LED has a forward voltage drop of about 2 V, so the resistor sees the supply voltage minus that drop — 9 V − 2 V = 7 V — across it. Enter solveFor = 'resistance', voltage = 7, current = 0.02 (which is 20 mA in amperes). Ohm's law gives R = V / I = 7 / 0.02 = 350 Ω, so the closest standard E12 value is 330 Ω (a touch more current, slightly brighter LED) or 390 Ω (a touch less current, slightly cooler). The power output also displays P = V × I = 7 × 0.02 = 0.14 W, well under the 0.25 W rating of a standard quarter-watt resistor, so any garden-variety through-hole resistor will be fine. If you instead ran the same LED from a 5 V USB rail (so 5 − 2 = 3 V across the resistor), you would get R = 3 / 0.02 = 150 Ω and P = 0.06 W. Notice that the headline figure people quote — '20 mA through a red LED' — is a current target, not a current measurement; the resistor is what enforces it, and Ohm's law is what tells you what value to use.

current0.02
solve Forresistance
voltage7

Frequently asked questions.

What is the formula for Ohm's law?
Voltage equals current times resistance, written V = I × R, where V is in volts, I is in amperes, and R is in ohms. Rearranging gives I = V / R when you want to find the current through a known resistance under a known voltage, and R = V / I when you want to find the resistance from a measured voltage and current. The three forms are algebraically identical — you use whichever one isolates the quantity you are trying to compute.
How do I calculate power using Ohm's law?
Power in a resistive component is P = V × I, with P in watts when V is in volts and I is in amperes. By substituting Ohm's law you also get P = I² × R (useful when you know the current and resistance, e.g. for wire-heating calculations) and P = V² / R (useful when you know the voltage and resistance, e.g. for sizing a heater element across a fixed mains voltage). All three give the same answer for an ohmic component; they differ only in which inputs you happen to have.
Does Ohm's law apply to AC circuits?
Yes, but in a generalized form. For sinusoidal AC steady-state analysis, resistance R is replaced by complex impedance Z, which combines resistance with the frequency-dependent reactance of inductors (X_L = ωL) and capacitors (X_C = 1/ωC). The law becomes V = I × Z, with V and I as phasors that carry both magnitude and phase. The simple scalar V = IR still works in AC when the load is purely resistive (a heating element, an incandescent bulb in steady state) and you use RMS values for V and I — but for any circuit with motors, transformers, capacitors, or non-trivial wiring inductance, you need impedance, not resistance.
What is a non-ohmic device, and why doesn't Ohm's law work for it?
A non-ohmic device is any component whose current does not increase linearly with applied voltage — meaning the ratio V/I changes depending on the operating point. Semiconductor diodes have an exponential I-V curve (Shockley equation): negligible current below the forward voltage and rapidly rising current above it. Incandescent filaments become significantly more resistive when hot (a 60 W bulb measures about 20 Ω cold but about 240 Ω at operating temperature — a 12× change). Gas discharge tubes have negative differential resistance regions. For these devices, you cannot quote a single resistance — you need the full I-V curve, or a small-signal linearization around the operating point. The calculator returns a numerical answer regardless of what device you plug in, but the answer is only physically meaningful when the device is genuinely ohmic over the range you care about.
How do I size a current-limiting resistor for an LED?
Take the supply voltage, subtract the LED's forward voltage drop (about 2 V for a red LED, 3 V for a blue or white LED — check the datasheet), and divide by the LED's rated current (typically 0.02 A for a standard 5 mm LED, but check the datasheet here too). For a white LED at 20 mA from a 5 V USB supply: (5 − 3) / 0.02 = 100 Ω. The next-larger standard E12 value is 120 Ω, which is the safe choice. Also verify the resistor's power rating: P = (V_supply − V_LED) × I, so 2 × 0.02 = 0.04 W in the example above, well under a quarter-watt resistor's 0.25 W rating. Run the calculator in 'solve for resistance' mode with V = (V_supply − V_LED) and I = LED rated current.
Will my wiring overheat at a given current?
Heat dissipated per unit length of a wire is P = I² × R_per_metre, so the relevant power output of this calculator is the I²R one. A 14 AWG copper wire is roughly 8.3 mΩ/m (0.0083 Ω/m). Carrying 15 A, it dissipates 15² × 0.0083 = 1.87 W per metre, which is well within its 15 A residential branch-circuit ampacity rating. Carrying 30 A on the same wire would dissipate 30² × 0.0083 = 7.5 W/m — four times the heat for double the current, because of the I² term — and the wire would likely overheat its insulation. This quadratic dependence is also why long extension cords matter: the resistance scales linearly with length, but the heat scales with the same square of current, and a marginal cord can become a fire risk when run at its labelled rating.
Who discovered Ohm's law and when?
Georg Simon Ohm, a German physicist and high-school teacher, published the relationship in his 1827 book 'Die galvanische Kette, mathematisch bearbeitet' ('The galvanic circuit investigated mathematically'). His experimental setup used a thermoelectric pile (because chemical batteries of the period drifted too much to give stable readings) and a torsion magnetometer to measure current. The book was poorly received at first — the Prussian Ministry of Education considered the work heretical and pressured Ohm to resign his teaching position — but by the 1840s the result had been independently reproduced across Europe, and by 1841 the Royal Society awarded him the Copley Medal. The SI unit of resistance was named after him in 1881 at the International Electrical Congress in Paris.
What is the difference between resistance and impedance?
Resistance is the real, scalar opposition to current flow in a DC circuit or in the purely-resistive part of an AC circuit. It dissipates energy as heat. Impedance is the complex, phasor opposition to current flow in an AC circuit, with a real part (resistance) that dissipates energy and an imaginary part (reactance) that stores energy temporarily in electric or magnetic fields and returns it to the source. Capacitors and inductors have zero resistance (ideally) but nonzero reactance: a capacitor's reactance falls with frequency, an inductor's rises with frequency. Impedance is measured in ohms — same unit as resistance — but it carries phase information that resistance alone does not. Ohm's law in its scalar V = IR form is the DC special case; V = IZ is the AC generalization.
Can current flow without a voltage difference?
In an ordinary resistive circuit, no — Ohm's law says I = V/R, so if V is zero, I is zero. There are two important exceptions that lie outside Ohm's law as ordinarily stated. First, superconductors below their critical temperature carry persistent currents indefinitely with zero applied voltage and zero resistance; the Meissner effect and the underlying Cooper-pair physics are quantum-mechanical phenomena that the classical Drude picture does not capture. Second, in a circuit containing an EMF source (a battery, a generator) the current is driven by the EMF, and the 'voltage difference' across an ideal wire connecting the two terminals is zero even while current flows — the EMF is doing the work. Both exceptions are important in their own domain but neither contradicts Ohm's law for ordinary resistive components.
Why is the calculator's power output the same regardless of which quantity I solved for?
Because for any ohmic component, the three power expressions P = VI, P = I²R, and P = V²/R are algebraically identical once V = IR holds. The calculator computes V, I, and R as a self-consistent set — it never returns inconsistent values — and then derives P from any one of the three forms. You could verify by hand: given V = 12 V and R = 600 Ω, the calculator returns I = 0.02 A and P = 0.24 W. Check: VI = 12 × 0.02 = 0.24, I²R = 0.0004 × 600 = 0.24, V²/R = 144 / 600 = 0.24. All three agree to the floating-point precision of the engine.

References& sources.

  1. [1]Ohm, G. S. (1827). Die galvanische Kette, mathematisch bearbeitet. Berlin: T. H. Riemann. The original monograph in which Ohm states and experimentally validates the linear voltage-current relationship that bears his name.
  2. [2]NIST Reference on Constants, Units, and Uncertainty — Ohm (Ω) and the 2019 SI redefinition of electrical units in terms of the elementary charge e, the Planck constant h, the Josephson constant K_J = 2e/h, and the von Klitzing constant R_K = h/e². National Institute of Standards and Technology.
  3. [3]IEEE Std 100-2000, The Authoritative Dictionary of IEEE Standards Terms, Seventh Edition. Institute of Electrical and Electronics Engineers. Definitions of voltage, current, resistance, impedance, and the operational form of Ohm's law for DC and AC analysis.
  4. [4]Halliday, D., Resnick, R. & Walker, J. (2014). Fundamentals of Physics, 10th ed., Wiley. Chapter 26, sections 26-4 to 26-6, on resistance and Ohm's law, and Chapter 26 problem set on power dissipation and the I²R / V²R forms.
  5. [5]Feynman, R. P., Leighton, R. B. & Sands, M. (1964). The Feynman Lectures on Physics, Volume II, Chapter 22 'AC Circuits' and Chapter 32 'Refractive Index of Dense Materials' — Feynman's derivation of why ordinary resistors are ohmic (the Drude model) and why semiconductors are not.
  6. [6]Klitzing, K. v., Dorda, G. & Pepper, M. (1980). New method for high-accuracy determination of the fine-structure constant based on quantized Hall resistance. Physical Review Letters, 45(6), 494–497. Peer-reviewed paper establishing the quantum Hall resistance standard now used to define the ohm, and discussing where macroscopic Ohm's law fails at the quantum scale.
  7. [7]Shockley, W. (1949). The theory of p-n junctions in semiconductors and p-n junction transistors. Bell System Technical Journal, 28(3), 435–489. The original paper deriving the exponential I-V relationship of a semiconductor diode — the canonical example of a non-ohmic device for which Ohm's law fails.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon