Sub topic 13
Choosing resistors: values, tolerance, power rating
This chapter assumes you can apply V = IR and the power formulas P = VI, P = I²R and P = V²/R. It also assumes you can combine series and parallel resistors and read SI prefixes. Here you pick a real part: the value you can buy, how far it can stray from that value, and how much heat it can survive.
Why the calculated value is not the part you buy
Design equations give exact answers such as 1,830 Ω. Resistors are sold only in a fixed list of values, each with a manufacturing tolerance and a power rating. A good choice has to meet all three:
- Value: the nearest standard value that keeps the circuit within its needs.
- Tolerance: the guaranteed range of actual resistance around the marked value.
- Power rating: the maximum heat the part can dissipate continuously without damage or drift.
Preferred values: the E series
Manufacturers use the IEC 60063 "E series". Each series divides one decade (1 to 10) into N values spaced by a constant ratio of 10^(1/N). Every value is then multiplied by powers of ten. The series name gives the number of values per decade.
| Series | Values per decade | Typical tolerance | Step between values |
|---|---|---|---|
| E6 | 6 | ±20% | about 47% |
| E12 | 12 | ±10% | about 21% |
| E24 | 24 | ±5% | about 10% |
| E96 | 96 | ±1% | about 2.4% |
The tolerance matches the spacing on purpose. In E12 each value is about 21% from its neighbor, and each part may vary by ±10%, so the allowed ranges nearly touch. Any resistor from a production line therefore falls inside some standard value's range.
The E12 values are 1.0, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8 and 8.2. Multiply by 1, 10, 100 and so on to get, for example, 470 Ω, 4.7 kΩ or 47 kΩ. E24 adds twelve more values, such as 1.1, 1.3 and 1.6.
The values are rounded, so E24 includes 2.7 and 3.0 even though a pure geometric progression would give slightly different numbers. E96 uses three-digit values such as 4.75 and 4.87.
The following code picks the nearest standard value. It compares ratios on a log scale, because the series is geometric.
import math
E12 = [1.0, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8, 8.2]
def nearest(value, series=E12):
decade = math.floor(math.log10(value))
best = None
for d in (decade - 1, decade, decade + 1):
for m in series:
candidate = m * 10 ** d
if best is None or abs(math.log(candidate / value)) < abs(math.log(best / value)):
best = candidate
return round(best, 6)
print(nearest(1830)) # 1800.0
print(nearest(4000)) # 3900.0
print(nearest(0.033)) # 0.033The function searches one decade below and above to handle values near a decade boundary, such as 9.5 kΩ, which is nearer to 10 kΩ than to 8.2 kΩ.
Reading the marking
Color bands
Through-hole resistors use bands. In a four-band part, the first two bands are digits, the third is a multiplier and the fourth is tolerance. Five-band parts add a third digit and are typical for 1% parts.
| Color | Digit | Multiplier | Tolerance |
|---|---|---|---|
| Black | 0 | ×1 | |
| Brown | 1 | ×10 | ±1% |
| Red | 2 | ×100 | ±2% |
| Orange | 3 | ×1 k | |
| Yellow | 4 | ×10 k | |
| Green | 5 | ×100 k | |
| Blue | 6 | ×1 M | |
| Violet | 7 | ×10 M | |
| Grey | 8 | ||
| White | 9 | ||
| Gold | ×0.1 | ±5% | |
| Silver | ×0.01 | ±10% |
Yellow, violet, red, gold reads 4, 7, ×100, ±5%, which is 4.7 kΩ ±5%. Yellow, violet, black, brown, brown reads 4, 7, 0, ×10, ±1%, which is 4.70 kΩ ±1%.
Surface-mount codes
Surface-mount parts print digits instead. A three-digit code is two digits plus a multiplier exponent, so 472 means 47 × 10² = 4.7 kΩ. A four-digit code uses three digits plus the exponent, so 1001 means 100 × 10¹ = 1 kΩ. An "R" marks the decimal point, so 4R7 is 4.7 Ω. Very small packages may carry no marking, so keep the reel label.
Tolerance in a real circuit
A tolerance of ±5% means the actual resistance lies between 0.95 and 1.05 times the marked value at the reference temperature. It does not mean the error is random in your circuit. For a design to be guaranteed, check the worst case, which occurs when each resistor sits at one of its limits.
For a voltage divider, the worst case has the top resistor at one extreme and the bottom at the other. Checking all four corner combinations is enough, because the output is monotonic in each resistance.
from itertools import product
def divider_range(v_in, r_top, r_bot, tol):
outs = []
for kt, kb in product((1 - tol, 1 + tol), repeat=2):
rt = r_top * kt
rb = r_bot * kb
outs.append(v_in * rb / (rt + rb))
return min(outs), max(outs)
for tol in (0.05, 0.01):
lo, hi = divider_range(5.0, 10_000, 10_000, tol)
print(f"tol {tol:.0%}: {lo:.3f} V to {hi:.3f} V")Output:
tol 5%: 2.375 V to 2.625 V
tol 1%: 2.475 V to 2.525 VWith ±5% parts the nominal 2.5 V output can be off by 0.125 V (5% of the output). With ±1% parts the error is 0.025 V. Note that the divider's error is roughly the tolerance, not twice it, because the two errors partly cancel in the ratio.
Tolerance applies to the part when new at 25 °C. Real resistance also changes with:
- Temperature: the temperature coefficient (TCR) is given in ppm/°C. A 100 ppm/°C part heated by 50 °C shifts by 50 × 100 ppm = 0.5%.
- Self-heating: dissipated power raises the part's own temperature, so a heavily loaded resistor drifts more than a lightly loaded one.
- Aging and soldering: a few tenths of a percent over years, more with moisture or high heat.
Choose a tolerance that covers the sum of these effects. For precision work (amplifier gain, reference dividers, sensors), the ratio of two resistors matters more than their absolute values, so matched networks or thin-film parts with low TCR are worth the cost.
Power rating
A resistor's rating (commonly 0.1 W, 0.125 W, 0.25 W, 0.5 W, 1 W, 2 W) is the power it can dissipate continuously at a stated ambient temperature, typically 70 °C. Above that temperature the allowed power falls linearly, reaching zero at the part's maximum temperature, often 155 °C.
Compute power with whichever form fits what you know: P = V²/R if you know the voltage across it, P = I²R if you know the current. Then derate:
- Compute the worst-case dissipation. Use the highest expected voltage or current, and for P = V²/R remember that a lower resistance within tolerance dissipates more.
- Divide by a derating factor. A common rule is to keep the load at or below 50% of the rating.
- Round up to the next standard rating.
STANDARD_RATINGS = [0.1, 0.125, 0.25, 0.5, 1.0, 2.0, 5.0]
def pick_rating(power, derate=0.5):
needed = power / derate
for rating in STANDARD_RATINGS:
if rating >= needed:
return rating
raise ValueError("No single standard part is large enough")
V, R = 12.0, 470.0
P = V * V / R
print(f"P = {P:.3f} W, choose a {pick_rating(P)} W part")This prints P = 0.306 W, choose a 1.0 W part. A 0.5 W part would survive on paper, but it would run at 61% of its rating and get hot. A 0.25 W part would be overloaded.
Sharing power across several resistors
If you need a rating you cannot buy, split the load. Two equal resistors in series, or in parallel, each carry half the power. Four 1 kΩ, 0.25 W resistors arranged as two series pairs in parallel give 1 kΩ and can dissipate 1 W in total. This only works if the resistors are equal. With unequal values, the one that receives more power will fail first.
The voltage rating
Each part also has a maximum working voltage (for example 200 V or 250 V for a common 0.25 W metal-film part), set by the construction. The two limits combine: the voltage at which the power limit is reached is V = √(P·R). For a 0.25 W, 1 MΩ resistor that is 500 V, but a 250 V part limit applies first. The resistor then dissipates only 250²/10⁶ = 0.0625 W. For high-value resistors in high-voltage circuits, the voltage rating, not the power rating, decides.
Choosing the construction
| Technology | Strengths | Weaknesses |
|---|---|---|
| Carbon film | Cheap, common | Higher TCR, ±5% typical |
| Metal film | Low noise, 1% or better, TCR about 50 to 100 ppm/°C | Slightly higher cost |
| Thick-film chip (SMD) | Small, cheap, automated assembly | Higher noise, limited power per package |
| Thin-film chip | Tight tolerance, TCR down to 10 ppm/°C | Higher cost |
| Wirewound | High power, stable | Inductive, unsuitable at high frequency |
For general work, 1% metal film or thick film is the usual default because it costs little more than 5%. For SMD parts, power rating depends on package size, for example 0.1 W for 0603 and 0.25 W for 1206, assuming good copper area on the board.
Common errors
- Choosing a resistor whose rating equals the calculated power, with no margin.
- Calculating power at the nominal supply, then using the part where the supply can be 10% higher.
- Ignoring tolerance in dividers that set a reference or threshold.
- Using wirewound parts in high-frequency circuits.
- Forgetting that two series resistors with different values share voltage, and therefore power, unequally.
Exercise
A 2.2 kΩ resistor has 15 V across it in the worst case. Using the 50% derating rule, what standard power rating from 0.1, 0.125, 0.25, 0.5, 1 and 2 W should you choose?
Show answer
P = V²/R = 15² / 2200 = 225 / 2200 ≈ 0.102 W. Dividing by 0.5 gives a required rating of about 0.205 W. The smallest standard rating at or above this is 0.25 W.
Exercise
A divider uses two 10 kΩ resistors of ±1% tolerance on a 5 V supply. Without running code, what are the minimum and maximum output voltages?
Show answer
The minimum occurs with the bottom resistor 1% low (9.9 kΩ) and the top 1% high (10.1 kΩ): 5 × 9.9 / 20.0 = 2.475 V. The maximum occurs with the opposite combination: 5 × 10.1 / 20.0 = 2.525 V. The output lies between 2.475 V and 2.525 V.
Exercise
A surface-mount resistor is marked 223. What is its value? What value would a four-digit mark of 4701 mean?
Show answer
223 means 22 × 10³ = 22 kΩ. 4701 means 470 × 10¹ = 4.7 kΩ.