Lesson
The theory — Ohm's Law Calculator
Two different statements hide inside V = IR. Resistance is defined as the ratio V/I, and that ratio can be measured for any component at any operating point — a diode, a lamp, a length of wet string. Ohm’s law is the further, separate claim that for some materials the ratio does not move when you change the voltage. That is what turns the graph into a straight line through the origin, and it is why a single number can stand in for the whole component.
What each symbol means
V- voltage, in volts — energy per unit charge. One volt hands one joule to every coulomb that passes. That unit does real work below: joules per coulomb times coulombs per second is joules per second, so
VandImultiply into watts without any new physics being added. I- current, in amperes — charge per second, one coulomb each second. Around a single loop it is the same at every point, including on both sides of the resistor. A resistor does not use up current; it uses up energy.
R- resistance, in ohms — one ohm is one volt per ampere. Push it down and nothing holds the current back: at
0.001 Ωthe readout reports12000 Afrom 12 V. At exactly0it prints—rather than a number, which is the honest response to a question with no finite answer.
Where the formula comes from
- Start from the units rather than from a formula.
Vis joules per coulomb andIis coulombs per second, soV × Iis joules per second — watts. The power a resistor turns into heat is not an extra law to memorise; it is what those two units give when multiplied. - Now substitute the law. Putting
V = IRintoP = VIgivesP = (IR)I = I²R. At a fixed resistance the heat follows the square of the current, so doubling the current quadruples the dissipation. - Substitute the other way instead.
I = V/RinP = VIgivesP = V(V/R) = V²/R. Three expressions, one quantity — use whichever names the two things you already know. - Put it on the short-circuit preset: 12 V across
0.1 Ω, and the readout says120 A. ThenP = I²R = 120² × 0.1 = 1440 W. That is a kilowatt and a half inside a piece of wire, and it is why the note attached to that preset warns the current can overheat wires. The wattage that justifies the warning is never printed anywhere on the page.
How to read what you see
Read down the panel and the units shift under you. The large readout is in amperes — the LED preset shows 0.015 A — while the sentence directly beneath it switches to milliamperes and says 15 mA. The same number twice, in two units, on one screen. The rest is a worked line you can check instead of trust: the formula shows the relation rearranged for whatever you asked for, I = V ÷ R or R = V ÷ I, and plug in the numbers repeats that line with your own values in place.
- Assumes
- One ohmic element, at a steady temperature, on direct current, with the entire supply voltage across it. Nothing else in the loop: no internal resistance in the battery, no second component, no signal that changes with time. The three boxes describe a single resistor rather than a circuit, and on a real bench that is the assumption most likely to be false.
- Breaks when
- The trap is this page’s own first preset. LED circuit loads 3.3 V and
220 Ωand returns 15 mA, which is exactly right for a resistor with 3.3 V across it — but an LED is not ohmic. It holds a roughly fixed forward drop, near 2 V for a red one, almost regardless of the current through it, so in a real circuit the LED takes its 2 V first and the resistor is left with 1.3 V. Type1.3into the voltage box and the readout returns0.005909 A— under 6 mA, less than half the preset’s answer. Ohm’s law did not fail here; it was applied to the supply instead of to the resistor.
Problem solved in full
-
A red LED on a 5 V supply with a 220 Ω resistor 5 steps
A red LED on a 5 V supply, with the classic 220 Ω resistor. Find the current, then find where the power goes — because most of it does not go to the LED.
-
Ohm's law gives the current directly from the voltage across the resistor and its resistance.
-
But that 3.3 V is not the supply. An LED holds a roughly fixed forward voltage — about 1.7 V for a red one — and the resistor gets whatever is left of the 5 V. That subtraction is why 220 Ω became the default value in every beginner's kit.
-
The resistor's power dissipation follows from the current it carries. At 0.05 W, a quarter-watt resistor is running at a fifth of its rating and will not even feel warm.
-
The LED's share is its forward voltage times the same current, since the two are in series and carry the same current by definition. The total is the supply voltage times that current, and the two parts add up to it exactly.
-
So a third of the power reaches the LED and two thirds is turned into heat in the resistor.
Answer
The tool prints 0.015 A. The efficiency in step 5 is not a coincidence to be computed — it is the voltage ratio 1.7/5.0 read back as a fraction, because both components carry the same current and power is voltage times current. A series resistor is therefore a divider whose loss is fixed by the supply voltage you chose, and no resistor value can improve it. That is the whole argument for switching regulators in lighting: they change the current without standing in its way, and a torch that burned two thirds of its battery in a resistor would be a poor torch.
-
Learning path
Resistance, then reactance
References (3)
- The lesson's failure case — an LED holds a roughly fixed forward drop, so the resistor sees the supply voltage minus that drop: P. Horowitz & W. Hill, The Art of Electronics, 3rd ed. Cambridge University Press, 2015. ISBN 978-0-521-80926-9.
- The three forms of resistive power, P = VI = I²R = V²/R, as set out in a standard circuits text: J. W. Nilsson & S. A. Riedel, Electric Circuits, 10th ed. Pearson/Prentice Hall, 2015. ISBN 978-0-13-376003-3.
- Insight block 3 — the analogy Ohm built the law on: G. S. Ohm, Die galvanische Kette, mathematisch bearbeitet. Riemann, Berlin, 1827 — modelled directly on Fourier's Théorie analytique de la chaleur (1822).