Sub topic 5
Power and heating in a resistor
Prerequisites and scope
This chapter assumes you can rearrange algebraic equations, use SI prefixes (milli, kilo), and apply Ohm's law, V = IR, to find one of voltage, current, or resistance from the other two. It covers how a resistor turns electrical energy into heat, three equivalent formulas for the power, and the errors that most often appear when applying them. Choosing a physical part by its power rating is covered in a later chapter. Here we only introduce the idea.
From energy per charge to power
Voltage is energy per unit charge: one volt means one joule for each coulomb that moves through the potential difference. Current is charge per unit time: one ampere is one coulomb per second. Multiply the two and the charge cancels:
(joules / coulomb) × (coulombs / second) = joules / second
One joule per second is one watt. So the rate at which energy is delivered to a component is
P = V × I
where P is power in watts (W), V is the voltage across the component in volts, and I is the current through it in amperes.
In an ideal resistor, all of that energy leaves as heat. This is called Joule heating. Moving charges collide with the atoms of the material and pass energy to them, which raises the temperature of the resistor. The resistor does not store the energy. Its temperature rises until it loses heat to the surroundings as fast as it receives it.
Three equivalent forms
Ohm's law lets you eliminate either V or I from P = VI.
- Substitute V = IR: P = I²R
- Substitute I = V/R: P = V²/R
All three give the same answer for a resistor. Choose the form that uses the two quantities you already know.
| You know | Use | Why |
|---|---|---|
| V and I | P = VI | No resistance needed |
| I and R | P = I²R | Natural for series circuits, where the same current flows through every element |
| V and R | P = V²/R | Natural for parallel circuits, where every branch has the same voltage |
These forms apply to resistors, or to any component for which V = IR holds. P = VI is more general. It gives the power delivered to any two-terminal component, including ones that do not obey Ohm's law, such as a battery being charged or an LED. P = I²R and P = V²/R are valid only for the resistance part.
A worked example
A 470 Ω resistor is connected across 12 V. The current is I = V/R = 12 / 470 ≈ 0.0255 A, or 25.5 mA. The power is P = VI = 12 × 0.0255 ≈ 0.306 W.
V = 12.0 # volts
R = 470.0 # ohms
I = V / R # Ohm's law
P = V * I # power in watts
print(f"I = {I * 1000:.1f} mA, P = {P:.3f} W")Check it with the other two forms: I²R = 0.0255² × 470 ≈ 0.306 W, and V²/R = 144 / 470 ≈ 0.306 W. All three agree.
Note that 0.306 W is more than a typical 0.25 W (¼ W) resistor can safely dissipate. That resistor would run hotter than its rating allows. A 0.5 W part would be the minimum choice here, and a larger margin is better.
How power scales
The squared terms in P = I²R and P = V²/R control how a resistor behaves when conditions change.
- If the voltage across a fixed resistor doubles, the current doubles and the power quadruples.
- If the current through a fixed resistor triples, the power increases ninefold.
- For a fixed voltage, a smaller resistance means more power. A 47 Ω resistor across 12 V dissipates ten times as much as a 470 Ω resistor.
- For a fixed current, a larger resistance means more power.
The last two points look contradictory until you notice which quantity is held fixed. A resistor on a voltage source (a battery, a regulated supply) dissipates more as R falls. A resistor in a current-controlled path, such as in series with a current source, dissipates more as R rises. Always ask which quantity the circuit actually fixes.
Energy, not just power
Power is a rate. The total energy converted to heat over a time t is
E = P × t
in joules when t is in seconds. The 0.306 W resistor above converts about 0.306 J every second, or about 1,100 J in an hour. Electricity bills use kilowatt-hours (kWh) instead, where 1 kWh = 3.6 × 10⁶ J.
Energy matters for a different reason than power does. A resistor that dissipates a brief high-power pulse can survive it, because the heat has little time to build up. The same resistor may fail under a much lower power applied continuously. Ratings on datasheets usually describe continuous (steady-state) dissipation, and a separate pulse rating may apply.
Where the heat goes
At steady state, the power dissipated equals the heat flowing out of the resistor. Three paths carry it away: conduction into the circuit board and leads, convection into the surrounding air, and radiation. Designers summarize the combined effect with a thermal resistance, θ, in °C per watt:
ΔT = P × θ
where ΔT is the temperature rise of the resistor above its surroundings. If a part has θ = 200 °C/W and dissipates 0.25 W, its body is about 50 °C above ambient. In a 25 °C room that is 75 °C, which is warm but acceptable. At 0.5 W the rise doubles to 100 °C, giving about 125 °C, which exceeds the limit for many ordinary parts.
The surroundings matter. A resistor in a closed, hot enclosure or packed close to other heat sources has a higher ambient temperature, and manufacturers specify that the power rating falls above a given ambient temperature (derating). Airflow, copper area on the board, and lead length all change θ.
Heating feeds back on resistance
For metals, resistance rises with temperature. A resistor that heats up therefore changes its own resistance, which in turn changes the power it dissipates. The effect is small for a good resistor, which is made from materials with a low temperature coefficient. It is large for components such as incandescent lamp filaments. A tungsten filament is much lower in resistance when cold than when glowing. This is why a lamp draws a large surge current when first switched on.
The direction of the feedback depends on what is held fixed.
- On a constant-voltage source, P = V²/R. If R rises with temperature, power drops as the part warms. The system settles at a stable temperature. This negative feedback is self-limiting.
- For components whose resistance falls as they heat (some semiconductors and thermistors with a negative temperature coefficient), P = V²/R rises as they warm. More power means more heating and still lower resistance. This positive feedback can lead to thermal runaway, where the current and temperature climb until the part fails or something else limits the current.
You can estimate the first-order effect with the linear model from the temperature chapter:
def resistance_at(r_ref, alpha, temp, temp_ref=20.0):
# Linear approximation: R = R_ref * (1 + alpha * (T - T_ref))
return r_ref * (1.0 + alpha * (temp - temp_ref))
alpha_copper = 0.0039 # per degree C, approximate near 20 C
print(resistance_at(100.0, alpha_copper, 70.0)) # about 119.5 ohmsFor a 100 Ω copper element heated from 20 °C to 70 °C, the resistance rises to about 119.5 Ω. On a fixed 10 V supply, the power would fall from 1.00 W to about 0.84 W.
Common errors
- Mixing units. P = VI gives watts only if V is in volts and I is in amperes. A current of 25 mA must be entered as 0.025 A. Entering 25 gives a result 1,000 times too large.
- Squaring the wrong thing. In P = I²R, only the current is squared. Writing (IR)² gives V², which is not power. Similarly, the "2" in V²/R applies to voltage alone.
- Using the supply voltage instead of the voltage across the resistor. In a series circuit, each resistor sees only part of the supply. Use the drop across that resistor in V²/R. Using the full supply overstates the power.
- Applying P = I²R to a whole non-resistive load. For an LED or motor, I²R gives only the power lost in the part's resistance. The total power drawn is still VI.
- Rating at exactly the calculated power. A resistor dissipating 0.25 W continuously should not be a ¼ W part. A common rule is to choose a rating of at least twice the calculated dissipation, and more in hot enclosures.
- Assuming power adds the way voltage does. Power does add across a circuit, since total power equals the sum of the power in each element. But a component's power depends on its own V and I, not on the supply alone.
Power in series and parallel
In a series string, the same current flows through every resistor, so P = I²R says the largest resistance dissipates the most power. In a parallel bank, every resistor sees the same voltage, so P = V²/R says the smallest resistance dissipates the most.
For example, take 100 Ω and 220 Ω in series across 10 V. The total is 320 Ω, so I = 10/320 = 31.25 mA. The 100 Ω resistor dissipates 0.03125² × 100 ≈ 0.098 W. The 220 Ω resistor dissipates 0.03125² × 220 ≈ 0.215 W. The total, 0.3125 W, equals VI = 10 × 0.03125, as conservation of energy requires.
def power_i2r(current, resistance):
return current ** 2 * resistance
v_supply = 10.0
r1, r2 = 100.0, 220.0
current = v_supply / (r1 + r2)
p1 = power_i2r(current, r1)
p2 = power_i2r(current, r2)
print(f"I = {current * 1000:.2f} mA")
print(f"P1 = {p1:.3f} W, P2 = {p2:.3f} W")
print(f"Sum = {p1 + p2:.4f} W, source = {v_supply * current:.4f} W")The sum of the two resistor powers matches the power supplied by the source. That check is a quick way to catch arithmetic mistakes in your own circuit calculations.
Summary of key relationships
- P = VI is the general rate of energy transfer. P = I²R and P = V²/R apply to resistance.
- Power scales with the square of voltage or current, so small increases in either raise the heat quickly.
- Energy is power multiplied by time, and the temperature rise is power multiplied by thermal resistance.
- Resistance changes with temperature, which can stabilize a circuit or, for falling-resistance parts, cause runaway.
Exercise
A 220 Ω resistor carries a steady 40 mA. (a) What power does it dissipate? (b) What is the voltage across it? (c) Would a ¼ W resistor be a sensible choice, and why or why not?
Show answer
(a) P = I²R = (0.040)² × 220 = 0.0016 × 220 = 0.352 W. (b) V = IR = 0.040 × 220 = 8.8 V, and a check with P = VI = 8.8 × 0.040 = 0.352 W agrees. (c) No. 0.352 W exceeds 0.25 W, so the part would be overloaded. A 1 W resistor gives a margin of about 2.8 times, which fits the usual guideline of at least twice the calculated power.
Exercise
A 100 Ω resistor and a 300 Ω resistor are connected in parallel across 6 V. Which one dissipates more power, and what is the total power drawn from the source?
Show answer
In parallel both see 6 V, so use P = V²/R. The 100 Ω resistor dissipates 36/100 = 0.36 W. The 300 Ω resistor dissipates 36/300 = 0.12 W. The smaller resistance dissipates more, the 100 Ω one. The total is 0.36 + 0.12 = 0.48 W. As a check, the equivalent resistance is 75 Ω, and 36/75 = 0.48 W.
Exercise
A heating element is rated 1,000 W at 120 V. (a) What is its resistance? (b) How much energy in kWh does it use in 3 hours? (c) If it were connected to 60 V, what power would it dissipate, assuming its resistance stays the same?
Show answer
(a) R = V²/P = 14,400 / 1,000 = 14.4 Ω. (b) E = P × t = 1 kW × 3 h = 3 kWh. (c) P = V²/R = 3,600 / 14.4 = 250 W. Halving the voltage cuts the power to one quarter. In practice the resistance of a real element would be lower when cooler, so the actual power would be somewhat higher than 250 W.