The Core Definition: What Ohm's Law Actually States
Ohm's law states that the electrical current flowing through a linear conductor is directly proportional to the voltage applied across it and inversely proportional to its resistance. Expressed as V = I × R (Voltage = Current × Resistance), this foundational rule dictates exactly how much current will flow when a specific voltage pushes against a specific resistance. In a real circuit or installation, this law changes the physical reality of the system: if you increase the resistance of a load without changing the supply voltage, the current draw drops proportionally, which in turn reduces the total power consumed and the heat generated.
To visualize it, use the standard water analogy exactly once and move on: voltage is the water pressure in the pipe, current is the volume of water flowing per second, and resistance is a physical constriction in the pipe that chokes the flow. If you want more flow (current) through the same constriction (resistance), you must increase the pressure (voltage). For a deeper mathematical breakdown of linear DC circuits, the All About Circuits DC textbook chapter on Ohm's Law remains the definitive free reference.
Worked Numeric Example: Sizing an LED Current-Limiting Resistor
Let's apply V=IR to a common workbench task: driving a standard red LED from an ESP32 GPIO pin. If you connect an LED directly to a voltage source, it will draw excessive current and burn out. We use Ohm's law to size a resistor that limits the flow.
The Parameters
- Source Voltage (V_s): 3.3V (ESP32 GPIO logic high)
- LED Forward Voltage (V_f): 1.8V (typical for standard red 5mm LEDs)
- Target LED Current (I): 20mA (0.020A)
Step 1: Find the voltage the resistor must drop.
The resistor only needs to absorb the voltage left over after the LED takes its share.
V_r = V_s - V_f = 3.3V - 1.8V = 1.5V
Step 2: Calculate the required resistance.
Rearranging Ohm's law to solve for R gives us R = V / I.
R = 1.5V / 0.020A = 75 ohms
Step 3: Select a real-world part and verify power dissipation.
75 ohms is not a standard E12 series value. The nearest standard value up is 82 ohms. Let's verify the actual current and power with an 82Ω resistor.
Actual Current: I = 1.5V / 82Ω = 18.3mA (perfectly safe for the LED).
Power Dissipated: P = I² × R = (0.0183A)² × 82Ω = 0.027W.
The Concrete Pick: Since 0.027W is well below 0.25W, you should select a standard 1/4W (0.25W) 82Ω metal film resistor, such as the Vishay MFR-25FRF52-82R. Never use a 1/8W resistor if the calculated dissipation exceeds 0.10W, as ambient heat on a crowded breadboard will push it past its thermal limits.
Where You Meet This in Practice: Wire Runs and Voltage Drop
Ohm's law isn't just for components on a PCB; it governs the copper wire in your walls and the cables running to your DIY projects. The most common place makers meet this law in practice is calculating voltage drop in long 12V or 24V DC wire runs, such as powering addressable WS2812B LED strips.
Copper wire has inherent resistance. According to standard wire tables, 18 AWG copper wire has a resistance of roughly 6.385 ohms per 1,000 feet at 20°C. Suppose you are powering a 12V LED strip that draws 5A, and the strip is located 25 feet from your power supply. The current must travel 25 feet out and 25 feet back, making the total round-trip wire length 50 feet.
- Wire Resistance: (50 ft / 1000 ft) × 6.385 Ω = 0.319 Ω
- Voltage Drop (V = I × R): 5A × 0.319 Ω = 1.59V
- Voltage at the Strip: 12.0V - 1.59V = 10.41V
Common Confusions on the Workbench
When troubleshooting, makers frequently misapply Ohm's law by confusing it with related but distinct concepts. Here is what people commonly confuse it with:
1. Confusing Power (Watts) with Resistance (Ohms)
Resistance is the opposition to current flow; Power is the rate at which electrical energy is converted into heat or light. A 100W incandescent bulb actually has a lower resistance (about 144 ohms hot) than a 60W bulb (about 240 ohms hot) when both are connected to a 120V source. Lower resistance allows more current to flow, which generates more power. Assuming 'higher wattage means higher resistance' is a classic workbench error.
2. Ideal vs. Real Voltage Sources
Ohm's law assumes a perfect voltage source. In reality, every battery and power supply has internal resistance. If you measure a car battery at 12.6V open-circuit, and then engage the starter motor (drawing 200A), the voltage at the terminals might drop to 9.5V. The internal resistance of the battery is absorbing the missing voltage. Always measure voltage under load when verifying circuit behavior.
3. Applying DC Rules to AC Peak Voltages
Ohm's law applies directly to DC circuits and to AC circuits using RMS (Root Mean Square) values. If you try to calculate the current draw of a 120V AC heater using its peak voltage (170V) instead of its RMS voltage (120V), your calculated current will be wildly incorrect. For a complete guide on measuring these values safely, refer to the Fluke educational guide on multimeter applications.
Component Selection Decision Tree
Use this decision path to terminate your calculations into a concrete hardware choice. Identify which two variables you know, calculate the third, and select the default component rated for the physical realities of the result.
| Known Variables | Unknown Target | Action Required | Concrete Default Pick |
|---|---|---|---|
| V and I (e.g., 5V source, 20mA LED) | Resistance (R) | Calculate R = V/I. Verify wattage (P=I²R) and select a resistor with at least 2x the calculated wattage. | Vishay MFR-25 Series (1/4W Metal Film, 1% tolerance) |
| V and R (e.g., 120V AC, 24Ω heater element) | Current (I) | Calculate I = V/R. Select wire gauge and overcurrent protection based on 125% of the continuous load. | 12 AWG THHN Copper (Rated 20A at 60°C column) with a 15A breaker |
| I and R (e.g., 15A draw, 0.2Ω total wire resistance) | Voltage Drop (V) | Calculate V_drop = I×R. Ensure source voltage minus V_drop remains within the load's acceptable operating range. | Mean Well LRS-350-12 (12V 29A enclosed PSU with adjustable trim pot to compensate for drop) |
Workbench FAQ
Does Ohm's law apply to diodes and transistors?
No. Ohm's law strictly applies to 'ohmic' or linear materials where resistance remains constant regardless of voltage. Diodes, transistors, and gas-discharge tubes are non-linear components. Their resistance changes dynamically as voltage changes. For these, you must consult the component's I-V curve datasheet rather than relying on simple V=IR math.
What happens mathematically and physically if Resistance is zero?
Mathematically, dividing by zero yields infinity. Physically, a near-zero resistance path across a voltage source is a short circuit. Current spikes to the maximum limit the power supply can deliver, generating massive heat (P = I²R, where I is massive). In a properly designed installation, this massive current spike instantly trips a breaker or blows a fuse, opening the circuit and forcing the current back to zero.
How does temperature affect these calculations?
Resistance is temperature-dependent. For copper wire, resistance increases by roughly 0.4% for every 1°C rise in temperature. A wire run that calculates to a 1.0V drop at room temperature might exhibit a 1.2V drop when bundled in a hot attic. Always use the 75°C or 90°C ampacity columns from NEC Table 310.16 when sizing wire for environments that exceed standard 30°C ambient room temperature.
Never leave a circuit design to 'it depends.' When sizing conductors and overcurrent protection for a new DIY build or home wiring project, calculate the worst-case current (using the lowest expected resistance) and default to sizing your wire and breaker for exactly 125% of that continuous load. This single application of Ohm's law will prevent thermal runaway and ensure your projects survive long past the initial smoke test.






