You're staring at a circuit diagram. 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 Worth keeping that in mind..
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. Plus, why? Because current is usually what you're measuring or limiting. And resistance is usually fixed by your component choices.
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 Simple, but easy to overlook..
I is current in amperes. The flow of charge. This is the variable that squares — and that squaring matters more than most people realize That's the whole idea..
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. Still, start with P = VI. So substitute V = IR. Now, you get P = (IR)I = I²R. In real terms, that's it. The derivation takes ten seconds. The implications take a career to fully appreciate Worth keeping that in mind..
Why It Matters / Why People Care
You might be thinking: *I have a multimeter. I have a datasheet. Why do I need to derive anything?
Because datasheets lie. Day to day, or rather, they specify limits under ideal conditions. Your circuit isn't ideal.
Heat is the enemy
Every watt dissipated in a resistor becomes heat. In a 0603 SMD resistor rated for 0.But maybe not today. 15W means you're not just "over spec" — you're actively destroying the component. 1W, pushing 0.But the MTBF curve drops off a cliff.
I've seen engineers spec a 1/4W resistor for a 0.The "few seconds" becomes continuous. Worth adding: " Then the duty cycle changes. The firmware updates. 3W dissipation "because it'll only run for a few seconds at a time.The board fails in the field Which is the point..
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.
A 100mA current through a 1Ω trace resistance? But over a year of continuous operation, that's 87.Doesn't sound like much. 6 watt-hours. From a coin cell? Think about it: that's 10mW lost as heat. That's the whole battery Easy to understand, harder to ignore..
Safety isn't optional
Mains voltage circuits. This leads to in all of these, underestimating I²R losses leads to thermal runaway, melted insulation, or worse. Li-ion battery packs. High-current DC. The formula doesn't care about your deadline Easy to understand, harder to ignore..
How It Works (or How to Use It)
Let's break this down into the situations where you'll actually use it And that's really what it comes down to..
Calculating resistor power rating
This is the most common use case. Worth adding: you have a resistance. Which means you have a current. You need a resistor that won't catch fire Simple as that..
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 Turns out it matters..
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 Easy to understand, harder to ignore. Turns out it matters..
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.Because of that, 2) / 0. Even so, 2V LED from a 5V supply. In real terms, target current: 20mA. Also, 02 = 90Ω. Resistor value: (5 - 3.Nearest standard value: 91Ω.
Power in the resistor: P = I²R = 0.Practically speaking, 02² × 91 = 0. 0364W.
A 0603 (0.Still, 1W) resistor works fine. That's why a 0402 (0. Still, 063W) works but runs warm. A 0201 (0.05W) is pushing it.
But wait — what if the supply is 5.Day to day, 0275² × 91 = 0. 0V? 069W. What if the LED Vf is 3.Power becomes 0.5V? 5mA. Current becomes (5.5 - 3.0) / 91 = 27.Your 0402 is now overloaded.
This is why you calculate at extremes, not nominals.
Trace width and PCB heating
Copper traces have resistance. At high currents, that resistance matters.
A 10mm long, 0.The copper will expand. 5mm wide trace on 1oz copper: roughly 0.04Ω. In a tiny trace. At 5A, that's P = 5² × 0.Think about it: 04 = 1W. It will get hot. The board will warp. Adjacent components will feel it The details matter here..
PCB trace calculators exist for a reason. They're solving I²R = ΔT × thermal_resistance for you. Use them.
Voltage drop in power distribution
Same physics, different symptom. Consider this: maybe that's fine. 8V at the load. 04 = 0.04Ω trace at 5A drops V = IR = 5 × 0.And that 0. 2V. Maybe your microcontroller browns out at 4.Worth adding: your 5V rail becomes 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. Still, 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.
Counterintuitive, but true.
If you're calculate the power dissipated in the driver, you again fall back to (P = I^{2}R). 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. A typical power MOSFET with an R(_{DS(on)}) of 10 mΩ at 3 A carries (3^{2} \times 0.So 01 = 0. Which means 09 W). 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.In real terms, 09 \times 150 \approx 13 °C) above ambient in steady state. 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.
That’s why designers often add a “worst‑case stall margin” to their current rating. Consider this: 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.
Battery internal resistance and voltage sag
A less obvious but equally critical application of (P = I^{2}R) is in power‑source design. Even so, every battery has an internal resistance (r_{int}). 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}) Nothing fancy..
Suppose you have a 3.So 05 = 1. 05 = 0.Think about it: the loss inside the cell is (2^{2} \times 0. That 0.Even so, 2 W translates directly into heat inside the cell, raising its temperature and reducing efficiency. Now, 7 V Li‑ion cell with an internal resistance of 50 mΩ and you need to supply 2 A to a motor. Even so, if you scale the current to 5 A, the loss jumps to (5^{2} \times 0. 25 W) — more than six times higher. Now, 2 W). 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 Simple, but easy to overlook..
Thermal runaway in parallel LEDs
Parallel LED arrays are popular for achieving higher luminosity, but they introduce a hidden hazard. Plus, 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. On the flip side, 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.
A strong 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.
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. Practically speaking, 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 Simple as that..