Resistors, Colour Codes and E-Series Values
Your design calculation says the LED needs . Nobody sells that. The drawer in front of you holds and parts, each painted with four coloured rings, and a tiny chip with no marking at all. This lesson is about getting from the number on paper to a real part: which values exist and why, how to read them off the body, and the two ratings that decide whether the part survives, tolerance and power.
The idea: preferred values on a ratio scale
If every resistor has a tolerance of , there is no point making , and : their tolerance bands overlap almost completely. It is enough to make values whose bands just touch, and that gives a geometric series: each value is a fixed ratio above the last. Twelve steps per decade with ratio cover a decade with parts. These are the E-series of IEC 60063 (current edition IEC 60063:2015): E6, E12, E24, E48, E96 and E192, where the number is the count of values per decade.
| Series | Values per decade | Usual tolerance | Mantissas (first decade) |
|---|---|---|---|
| E6 | 6 | 1.0, 1.5, 2.2, 3.3, 4.7, 6.8 | |
| E12 | 12 | E6 plus 1.2, 1.8, 2.7, 3.9, 5.6, 8.2 | |
| E24 | 24 | E12 plus 1.1, 1.3, 1.6, 2.0, 2.4, 3.0, 3.6, 4.3, 5.1, 6.2, 7.5, 9.1 | |
| E48 / E96 / E192 | 48 / 96 / 192 | / / and better | three significant digits, e.g. 1.00, 1.02, 1.05, … |
The same mantissas repeat in every decade: , , , , . Today the tolerance printed on a part is often much better than its series suggests (a resistor in an E24 value is normal), but the series still tells you which values you can buy.
E48 and higher follow this formula rounded to three digits. The older E6 to E24 values were fixed long before the standard and differ from the formula in a few places (the formula gives 2.6, 2.9, 3.2, 3.5, 3.8, 4.2, 4.6, 8.3 where E24 has 2.7, 3.0, 3.3, 3.6, 3.9, 4.3, 4.7, 8.2), so always use the table, never the formula, for E24 and below.
Reading the colour code
Leaded resistors carry the value as rings defined in IEC 60062 (current edition IEC 60062:2016 with amendment 1, 2019). Read from the end where the rings are bunched; the tolerance ring is usually set apart and is often gold or silver.
| Colour | Digit | Multiplier | Tolerance |
|---|---|---|---|
| black | 0 | ||
| brown | 1 | ||
| red | 2 | ||
| orange | 3 | ||
| yellow | 4 | ||
| green | 5 | ||
| blue | 6 | ||
| violet | 7 | ||
| grey | 8 | ||
| white | 9 | ||
| gold | |||
| silver |
The 2016 edition also gives orange, yellow and grey tolerances (, and ), amendment 1 (2019) added pink for a multiplier of , and no tolerance ring means .
Four rings = two digits, multiplier, tolerance. Five rings = three digits, multiplier, tolerance (precision parts). A sixth ring, when present, is the temperature coefficient. Surface-mount chips use printed codes instead: "472" is , "4R7" is (R marks the decimal point), and parts use the three-character EIA-96 code (two digits for the E96 index, one letter for the multiplier). The smallest chips ( and below) carry no marking at all; they live on reels with a label, so never mix loose ones.
Tolerance and power
The tolerance is the guaranteed range at delivery: a part lies between and . Temperature and age move it further (the temperature coefficient, in ppm/K, is on the datasheet).
The power rating is the heat the part may dissipate continuously at its rated ambient temperature:
Common ratings (typical, check the datasheet): leaded carbon or metal film or ; chips about , about , about . Above a stated ambient (often ) the allowed power falls linearly to zero at the maximum element temperature, the derating curve you meet in Reading Datasheets. There is also a maximum working voltage (often to for small leaded parts), which matters for high values: it is not a licence to work at those voltages here. Engineers usually keep below about half the rating, so the part runs cool and lasts.
Worked example: picking a part
Given: a calculation needs in a circuit with across it; stock holds E12 parts, , rated . Find: the part to fit, its worst-case range and its power. Solve: on a ratio scale sits between (ratio ) and (ratio ), so take (brown, red, red, gold). Range: to . Power: . Check: is of , inside the half-rating rule. The value is within of the target, less than the tolerance itself, so a nearer value would not buy much.
Code: nearest preferred value and a band decoder
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]
E24 = [1.0, 1.1, 1.2, 1.3, 1.5, 1.6, 1.8, 2.0, 2.2, 2.4, 2.7, 3.0,
3.3, 3.6, 3.9, 4.3, 4.7, 5.1, 5.6, 6.2, 6.8, 7.5, 8.2, 9.1]
def nearest(value, series):
"""Nearest preferred value, compared on a log scale (the series is geometric)."""
decade = 10 ** math.floor(math.log10(value))
candidates = [m * decade * k for m in series for k in (1, 10)]
best = min(candidates, key=lambda r: abs(math.log10(r / value)))
return round(best, 6)
DIGIT = {"black": 0, "brown": 1, "red": 2, "orange": 3, "yellow": 4,
"green": 5, "blue": 6, "violet": 7, "grey": 8, "white": 9}
MULT = dict(DIGIT, gold=-1, silver=-2)
TOL = {"brown": 1, "red": 2, "green": 0.5, "blue": 0.25, "violet": 0.1, "gold": 5, "silver": 10}
def decode(bands):
*digits, mult, tol = bands
n = int("".join(str(DIGIT[b]) for b in digits))
return n * 10.0 ** MULT[mult], TOL[tol]
def pretty(r):
for unit, scale in (("M", 1e6), ("k", 1e3), ("", 1)):
if r >= scale:
return f"{r / scale:g} {unit}ohm"
return f"{r:g} ohm"
for want in (1234, 3900, 6000, 47_500):
print(f"want {want:>6} ohm -> E12 {pretty(nearest(want, E12)):>10}, E24 {pretty(nearest(want, E24)):>10}")
for bands in (["yellow", "violet", "red", "gold"],
["brown", "black", "black", "brown", "brown"],
["red", "red", "gold", "gold"]):
r, t = decode(bands)
print(f"{'-'.join(bands):<32} {pretty(r):>9} +/-{t:g} % ({pretty(r*(1-t/100))} .. {pretty(r*(1+t/100))})")want 1234 ohm -> E12 1.2 kohm, E24 1.2 kohm
want 3900 ohm -> E12 3.9 kohm, E24 3.9 kohm
want 6000 ohm -> E12 5.6 kohm, E24 6.2 kohm
want 47500 ohm -> E12 47 kohm, E24 47 kohm
yellow-violet-red-gold 4.7 kohm +/-5 % (4.465 kohm .. 4.935 kohm)
brown-black-black-brown-brown 1 kohm +/-1 % (990 ohm .. 1.01 kohm)
red-red-gold-gold 2.2 ohm +/-5 % (2.09 ohm .. 2.31 ohm)
The comparison is on , not on the difference: is closer to (ratio ) than to (ratio ). Notice the gold multiplier in the last line: red, red, gold is .
Guided lab: is this resistor overloaded?
Hand calculation. A , resistor is connected straight across a supply. and , three times its rating. The largest voltage it may take is .
Simulation. The lab draws the circuit with ideal meters (it writes voltage as ). It shows ; multiply by the voltmeter reading for the power. Slide down to and check the current (, so , just over the limit).
What you would measure. With a bench supply set to and a current limit of , a part draws , between and from tolerance alone, plus the meter's own accuracy (about of reading on a typical current range; see The Digital Multimeter). The resistor dissipates and becomes warm to the touch within a minute; do not raise the voltage to see it smoke.
Hazards and safe setup
- Overloaded resistors reach well over and can burn fingers or char a breadboard: stay below the rating, touch only after switching off.
- Supply at most DC with the current limit set first; never mains.
- Wear eye protection when testing parts near their limits: overloaded film resistors can crack.
Pitfalls
- Reading the code backwards: "gold, red, violet, yellow" is not a value; start from the bunched end.
- Confusing a brown tolerance ring with a brown digit on five-band parts: measure when in doubt.
- Forgetting that the power rises with the square of the voltage: doubling quadruples .
- Picking the nearest value by difference instead of by ratio, or using the formula for E24.
Practice
- Decode orange, orange, brown, gold.
- Which E12 value is closest to ?
- A , chip has across it. Is it within the half-rating rule?
Answer
- , ( to ).
- : the ratio is smaller than .
- , about of the rating: yes.
Test yourself
What value is a resistor banded yellow, violet, orange, gold?
Why are E-series values spaced by a constant ratio rather than a constant difference?
- Because resistors are made in factories that work in powers of ten
- Because a tolerance is a percentage, so equal ratios make neighbouring tolerance bands just meet
- Because the colour code can only show two digits
- Because Ohm's law is logarithmic
An SMD resistor is printed 4R7. What is it?
A , resistor: what is the largest voltage it can take continuously at its rated ambient?