Ohm's Law is the fundamental electrical principle stating that the current flowing through a conductor is directly proportional to the voltage applied across it and inversely proportional to its resistance. You don't need to memorize 19th-century physics to use it; you just need to know that if you push harder (voltage), more flows (current), and if the pipe is narrower (resistance), less flows. This single relationship dictates everything from whether your 5mm LED will pop when connected to a 9V battery to whether your 12 AWG THHN wire will overheat on a 20A branch circuit.
The Core Formula and What It Changes in a Circuit
The mathematical expression is deceptively simple, yet it forms the bedrock of all circuit analysis:
V (Voltage in Volts) = I (Current in Amps) × R (Resistance in Ohms)
I = V / R
R = V / I
In a real circuit or installation, Ohm's Law changes how we size protective devices and conductors. If you have a fixed voltage (like a 120V AC mains receptacle or a 12V DC LiFePO4 battery), the resistance of the load determines the current draw. If the resistance drops unexpectedly—say, a frayed wire touches a metal chassis (a short circuit)—the current spikes toward infinity. That is exactly why we install fuses and circuit breakers: they are calibrated to trip when the current calculated by this formula exceeds the safe ampacity of the wire.
What people commonly confuse it with: Makers and apprentices frequently mix up Ohm's Law with Watt's Law (Power = Voltage × Current, or P = V × I). Ohm's Law strictly governs the V-I-R relationship. Watt's Law brings power (Watts) into the picture. While they are often used together to find the total power dissipated as heat (P = I²R), they are distinct formulas. If you are calculating heat generation or battery drain time, you need Watt's Law. If you are calculating current flow through a specific resistance, you need Ohm's Law.
Worked Numeric Example: Sizing an LED Current-Limiting Resistor
Let's move off the whiteboard and onto the workbench. You are wiring a standard 5mm red LED to the 5V GPIO pin of an ESP32-WROOM-32 dev board. If you connect the LED directly to the 5V pin, it will draw excessive current, overheat, and permanently fail (and potentially damage the ESP32's voltage regulator).
Here is how we use the formula to find the exact resistor value needed.
1. Identify the Known Variables
- Source Voltage (Vs): 5.0V (from the ESP32 5V pin)
- LED Forward Voltage (Vf): 2.0V (typical for a standard red LED, found in the datasheet)
- Target Current (I): 20mA (0.020A) for full brightness without exceeding the LED's max rating
2. Calculate the Voltage Drop Across the Resistor
The resistor must absorb the excess voltage that the LED doesn't use.
Vr = Vs - Vf = 5.0V - 2.0V = 3.0V
3. Apply the Formula to Find Resistance
We know the voltage across the resistor (3.0V) and the desired current (0.020A).
R = V / I = 3.0V / 0.020A = 150Ω
You need a 150-ohm resistor. Since 150Ω is a standard E12 series resistor value, you can use it directly. If your calculation yielded 162Ω, you would round up to the next standard value (180Ω) to keep the current safely below the 20mA maximum.
4. Verify the Power Rating (Watt's Law Check)
Resistors burn up if they dissipate more heat than their physical size can handle. A standard 1/4W (0.25W) through-hole resistor is typical.
Power = I² × R = (0.020)² × 150 = 0.0004 × 150 = 0.06W.
Since 0.06W is well below the 0.25W limit of a standard 1/4W resistor, a standard carbon film or metal film resistor is perfectly safe.
Where You Meet This in Practice
You might think this only applies to breadboards and Arduinos, but the V-I-R relationship governs heavy electrical installations just as strictly.
Home Wiring and Voltage Drop
Wire itself has resistance. According to NEC Chapter 9, Table 8, 100 feet of solid 12 AWG copper wire has a resistance of approximately 0.193 ohms. If you run 100 feet of 12 AWG NM-B cable to a shed and pull a 16A load (like a heavy-duty shop vac), the wire's resistance creates a voltage drop.
Using the formula: V_drop = I × R = 16A × 0.193Ω = 3.088V.
Because the current has to travel out and back, you double that resistance for the loop, resulting in roughly a 6.1V drop. Your 120V nominal source arrives at the shed as ~113.9V. While the NEC recommends keeping voltage drop under 3% for branch circuits (3.6V on a 120V circuit), this example shows why long runs require upsizing to 10 AWG or 8 AWG wire to lower the resistance (R) and keep the voltage drop within acceptable limits. For authoritative tables on wire resistance, refer to the NFPA 70 National Electrical Code guidelines.
Automotive and 12V DC Systems
In a 12V DC camper van or solar setup, resistance is the enemy. A poor crimp connection on a 2/0 AWG battery terminal might introduce just 0.05 ohms of resistance. It sounds negligible, but if your inverter pulls 100A to run a microwave, the voltage drop across that single bad crimp is V = 100A × 0.05Ω = 5V. Your inverter sees only 7V, triggers a low-voltage cutoff, and the bad crimp dissipates 500W of heat (P = I²R), which will melt the terminal lug and start a fire. This is why high-current DC systems demand meticulous crimping, proper torque specs, and thick cables.
Edge Cases: When the Math Doesn't Apply Linearly
The standard formula assumes a linear, "ohmic" material where resistance stays constant regardless of voltage. In the real world, many components are non-ohmic. For deeper bench-level breakdowns of non-linear components, the All About Circuits DC theory section provides excellent references.
- Diodes and LEDs: These do not have a fixed resistance. They have a forward voltage threshold. Below that threshold, resistance is nearly infinite; above it, resistance drops to near zero. You cannot simply use R = V/I to model an LED across varying voltages.
- Incandescent Bulbs: The tungsten filament has a very low resistance when cold (which is why they draw a massive inrush current and usually burn out the moment you flip the switch). As the filament heats up to 2,500°C, its resistance increases by a factor of 10 to 15.
- Motors: A DC motor's current draw is dictated by its mechanical load and the back-EMF it generates while spinning, not just the DC resistance of its copper windings. If you stall a motor, the back-EMF drops to zero, and the current spikes to V / R_winding, which will fry the motor driver if not protected.
Frequently Asked Questions
How do I calculate amps if I only know watts and volts?
You are stepping outside Ohm's Law and into Watt's Law. The formula is I = P / V (Current = Power / Voltage). For example, if you have a 1500W space heater plugged into a 120V AC receptacle, the current draw is 1500W / 120V = 12.5 Amps. This tells you that the heater will run safely on a standard 15A breaker, but leaves very little headroom for other devices on the same circuit.
Does the formula apply to AC circuits and alternating current?
Yes, but with a major modification. In AC circuits containing inductors (like motors or transformers) or capacitors, you must replace simple Resistance (R) with Impedance (Z), which is measured in ohms but includes phase angles. The formula becomes V = I × Z. For purely resistive AC loads (like a toaster or incandescent bulb), standard DC math works perfectly using RMS voltage and current values.
Why does my multimeter show infinite ohms (OL) on an open circuit?
When you place your multimeter probes across a broken wire, an open switch, or a blown fuse, the air gap acts as a resistor with a value in the billions of ohms. Because the meter's test voltage cannot push any measurable current across that gap, the calculated resistance exceeds the meter's maximum display capability, resulting in an "OL" (Over Limit) or infinite reading. This is the definitive test for a blown fuse or a broken conductor.
What happens to current if resistance drops to absolute zero?
Mathematically, dividing voltage by zero yields infinite current. In physical reality, if you short a 12V car battery with a heavy copper wrench (near-zero resistance), the current will spike to thousands of amps, limited only by the internal resistance of the battery and the wrench. The wrench will glow red hot, the battery will vent explosive hydrogen gas, and the copper will eventually vaporize. This is exactly why every battery bank and solar array requires a fuse or breaker placed as close to the positive terminal as possible.






