You're staring at a circuit diagram. Now, maybe it's a resistor glowing red in a breadboard. Maybe it's a motor pulling more current than you expected. Either way, you need to know how much power you're actually dealing with — and that means understanding the power formula with i and r.
Most people memorize P = I²R in high school physics. Here's the thing — then they forget it. Or worse, they remember the letters but not what they actually mean in practice.
Here's the thing: this formula isn't just academic. It's the difference between a working prototype and a melted breadboard. Between a battery that lasts all day and one that dies in twenty minutes Most people skip this — try not to..
Let's walk through it properly.
What Is the Power Formula With I and R
At its core, electrical power is the rate at which energy moves through a circuit. The standard definition is P = VI — voltage times current. But thanks to Ohm's Law (V = IR), you can substitute and get two other forms:
P = I²R
P = V²/R
The version with current and resistance — P = I²R — is the one that shows up most often in real-world design. Why? Because current is usually what you're measuring or limiting. And resistance is usually fixed by your component choices The details matter here..
The variables in plain language
P is power in watts. That's joules per second. Heat. Light. Motion. Whatever useful (or waste) work the circuit is doing.
I is current in amperes. The flow of charge. This is the variable that squares — and that squaring matters more than most people realize.
R is resistance in ohms. The opposition to current flow. In this formula, it's linear. Double the resistance, double the power (assuming current stays constant — which it usually doesn't, but we'll get to that).
Where the formula comes from
It's not magic. You get P = (IR)I = I²R. The derivation takes ten seconds. Day to day, start with P = VI. But that's it. Substitute V = IR. The implications take a career to fully appreciate.
Why It Matters / Why People Care
You might be thinking: *I have a multimeter. Consider this: i have a datasheet. Why do I need to derive anything?
Because datasheets lie. Or rather, they specify limits under ideal conditions. Your circuit isn't ideal Simple as that..
Heat is the enemy
Every watt dissipated in a resistor becomes heat. Because of that, 1W, pushing 0. In a 0603 SMD resistor rated for 0.15W means you're not just "over spec" — you're actively destroying the component. Maybe not today. But the MTBF curve drops off a cliff.
I've seen engineers spec a 1/4W resistor for a 0.3W dissipation "because it'll only run for a few seconds at a time.On the flip side, " Then the duty cycle changes. In real terms, the firmware updates. Even so, the "few seconds" becomes continuous. The board fails in the field Simple, but easy to overlook. That alone is useful..
Battery life lives and dies here
If you're designing something battery-powered, P = I²R is your battery life equation in disguise. Every milliamp squared times resistance is energy you're not delivering to the load Worth keeping that in mind..
A 100mA current through a 1Ω trace resistance? On top of that, that's 10mW lost as heat. Doesn't sound like much. But over a year of continuous operation, that's 87.6 watt-hours. From a coin cell? That's the whole battery.
Safety isn't optional
Mains voltage circuits. High-current DC. On the flip side, li-ion battery packs. That said, in all of these, underestimating I²R losses leads to thermal runaway, melted insulation, or worse. The formula doesn't care about your deadline.
How It Works (or How to Use It)
Let's break this down into the situations where you'll actually use it Worth keeping that in mind..
Calculating resistor power rating
This is the most common use case. Which means you have a current. Consider this: you have a resistance. You need a resistor that won't catch fire Small thing, real impact..
Step 1: Find the actual current. Not the nominal current. The maximum current under worst-case conditions. Startup surge. Stall current. Fault condition. Whatever the highest plausible I is.
Step 2: Square it. This is where people mess up. 2A squared is 4. 3A squared is 9. A 50% increase in current means 125% more power. The relationship is not linear Most people skip this — try not to. Less friction, more output..
Step 3: Multiply by resistance. Use the actual resistance, not the nominal value. Resistors have tolerance. A 10Ω resistor at 5% tolerance could be 10.5Ω. At 2A, that's 42W instead of 40W. Close enough? Maybe. At 10A, it's 1050W vs 1000W. The gap widens Simple, but easy to overlook. Simple as that..
Step 4: Apply a safety factor. Minimum 2x for consumer electronics. 3x for automotive. 4x for medical or aerospace. I know engineers who use 5x as a default. They sleep better.
Example: LED current-limiting resistor
You're driving a 3.But resistor value: (5 - 3. That's why 02 = 90Ω. So 2) / 0. Target current: 20mA. 2V LED from a 5V supply. Nearest standard value: 91Ω.
Power in the resistor: P = I²R = 0.02² × 91 = 0.0364W The details matter here..
A 0603 (0.1W) resistor works fine. A 0201 (0.Now, 063W) works but runs warm. A 0402 (0.05W) is pushing it And that's really what it comes down to..
But wait — what if the supply is 5.5 - 3.Power becomes 0.That's why current becomes (5. Consider this: 5V? What if the LED Vf is 3.5mA. Even so, 0275² × 91 = 0. But 069W. Consider this: 0) / 91 = 27. 0V? Your 0402 is now overloaded Most people skip this — try not to. Still holds up..
This is why you calculate at extremes, not nominals.
Trace width and PCB heating
Copper traces have resistance. At high currents, that resistance matters Still holds up..
A 10mm long, 0.5mm wide trace on 1oz copper: roughly 0.04Ω. On the flip side, at 5A, that's P = 5² × 0. Think about it: 04 = 1W. Consider this: in a tiny trace. In real terms, it will get hot. Practically speaking, the copper will expand. The board will warp. Adjacent components will feel it Nothing fancy..
PCB trace calculators exist for a reason. Still, they're solving I²R = ΔT × thermal_resistance for you. Use them.
Voltage drop in power distribution
Same physics, different symptom. 2V. That 0.04 = 0.Maybe that's fine. On the flip side, 8V at the load. So naturally, your 5V rail becomes 4. 04Ω trace at 5A drops V = IR = 5 × 0.Maybe your microcontroller browns out at 4.75V.
The power formula tells you the heat. Ohm's Law tells you the voltage drop. You need both.
Motor stall current and driver heating
DC motors have a nasty property: stall current can be 10-20x the free-run current. A motor
Motor stall current and driver heating
DC motors have a nasty property: stall current can be 10‑20× the free‑run current. A motor that draws 200 mA at no load may pull 3 A the instant its shaft jams. That surge isn’t just a brief spike; it can last for several hundred milliseconds, long enough to overstress a MOSFET or a bipolar transistor if you haven’t sized the driver for it Still holds up..
Once you calculate the power dissipated in the driver, you again fall back to (P = I^{2}R). And 09 W). A typical power MOSFET with an R(_{DS(on)}) of 10 mΩ at 3 A carries (3^{2} \times 0.09 \times 150 \approx 13 °C) above ambient in steady state. The “R” here isn’t the motor’s winding resistance—it’s the on‑resistance of the switching element plus any series trace or PCB copper that carries the stall current. Consider this: that sounds trivial, but the thermal resistance from junction to ambient for a small‑SOT‑23 part might be 150 °C/W, meaning the junction temperature would climb by roughly (0. Plus, 01 = 0. In a short stall, the temperature rise can be far larger, and the device may reach its limit before you even notice the voltage droop.
Quick note before moving on.
That’s why designers often add a “worst‑case stall margin” to their current rating. In real terms, if the motor’s datasheet lists a 3 A stall, you might select a driver rated for 5 A continuous, or you might parallel two MOSFETs to spread the dissipation. The key takeaway is that the same quadratic relationship that governs resistor heating also governs how quickly a driver’s junction temperature climbs under fault conditions That's the part that actually makes a difference..
Short version: it depends. Long version — keep reading.
Battery internal resistance and voltage sag
A less obvious but equally critical application of (P = I^{2}R) is in power‑source design. In practice, every battery has an internal resistance (r_{int}). On top of that, when you draw a large current, the voltage at the terminals drops according to Ohm’s Law: (V_{load}=V_{nominal} - I\cdot r_{int}). The power lost inside the battery itself is (P_{loss}=I^{2} r_{int}) Simple, but easy to overlook. That's the whole idea..
Suppose you have a 3.Consider this: 7 V Li‑ion cell with an internal resistance of 50 mΩ and you need to supply 2 A to a motor. The loss inside the cell is (2^{2} \times 0.In practice, 05 = 0. 2 W). Because of that, that 0. 2 W translates directly into heat inside the cell, raising its temperature and reducing efficiency. If you scale the current to 5 A, the loss jumps to (5^{2} \times 0.05 = 1.25 W) — more than six times higher. This is why high‑drain applications (e‑cigarette mods, power tools, drones) use cells with very low internal resistance or multiple cells in parallel to keep (I^{2}R) heating manageable.
Thermal runaway in parallel LEDs
Parallel LED arrays are popular for achieving higher luminosity, but they introduce a hidden hazard. Each LED has a slightly different forward voltage. When you connect them in parallel with a single current‑limiting resistor, the LED with the lowest (V_f) will draw a disproportionate share of the current. As that LED gets hotter, its forward voltage drops even more, causing it to draw still more current—a classic positive feedback loop. The result can be thermal runaway, where one LED eventually fails, forcing the remaining LEDs to carry the entire load and potentially fail as well That alone is useful..
A solid design either uses individual current‑limit resistors for each LED or employs a constant‑current driver that actively balances the current. In either case, you must calculate the worst‑case power dissipation for the LED that ends up carrying the highest current, using (P = I^{2}R) where (R) is the dynamic resistance of the LED’s junction at the elevated temperature That's the part that actually makes a difference..
Design checklist for “hidden heating” pitfalls
- Identify the true worst‑case current – consider startup, stall, fault, and overload conditions.
- Square that current before multiplying by any resistance.
- Use the highest plausible resistance – tolerance, temperature coefficient, and layout parasitics all matter.
- Apply an appropriate safety factor – 2× for hobby projects, 3–5× for safety‑critical domains.
- Validate with a thermal model or measurement – a quick IR scan or thermistor readout can confirm that the calculated temperature rise matches reality.
- Plan for derating – if your calculation shows a component operating at 80 % of its rated power, consider a larger package or better cooling.
Conclusion
The equations you learned in school are not academic curiosities; they are the backbone of reliable circuit design. Whether you’re sizing a resistor to survive a brief overload, preventing a MOSFET from overheating under motor stall, or ensuring a battery can deliver the current you demand without collapsing, the relationship (P = I^{2}R)
is the single most important formula for understanding where heat comes from in a circuit. In practice, master it, and you gain the ability to predict failure before it happens, to choose components with confidence, and to design systems that remain cool, safe, and reliable under even the most demanding conditions. Every watt of heat you prevent today is a fault you avoid tomorrow Nothing fancy..