Resistor Colour Code Calculator
A language printed in stripes
Resistors are too small for numbers, so for a century they have worn their values as coloured stripes, in a code standardised internationally (IEC 60062) and unchanged in essentials since the 1950s. The code is positional: significant digits first, then a multiplier that places the decimal point, then — set slightly apart — the tolerance, the manufacturer's promise of how far the real value may stray. Reading it is a core bench skill, and misreading it by one band is a rite of passage: a brown where a red should be is the difference between 1 kΩ and 2 kΩ, and between a circuit that works and an afternoon of confusion.
This decoder takes the bands in order for both common layouts — four bands (two digits) on ordinary carbon and metal-film parts, five bands (three digits) on precision parts — and returns the nominal value in ohms, kΩ or MΩ as appropriate, plus the full in-tolerance range, which is the figure that matters when you are checking a suspect component against a multimeter reading.
The code at a glance
| Colour | Digit | Multiplier | Tolerance |
|---|---|---|---|
| Black | 0 | ×1 | — |
| Brown | 1 | ×10 | ±1% |
| Red | 2 | ×100 | ±2% |
| Orange | 3 | ×1,000 | — |
| Yellow | 4 | ×10,000 | — |
| Green | 5 | ×100,000 | ±0.5% |
| Blue | 6 | ×1,000,000 | ±0.25% |
| Violet | 7 | ×10,000,000 | ±0.1% |
| Grey | 8 | — | ±0.05% |
| White | 9 | — | — |
| Gold | — | ×0.1 | ±5% |
| Silver | — | ×0.01 | ±10% |
Worked examples
Yellow–violet–red–gold (4-band): 47 × 100 = 4,700 Ω (4.7 kΩ) ±5% — in-spec range 4,465–4,935 Ω.
Red–red–brown–silver (4-band): 22 × 10 = 220 Ω ±10% — range 198–242 Ω.
Brown–black–black–brown, brown (5-band): 100 × 10 = 1,000 Ω (1 kΩ) ±1% — range 990–1,010 Ω.
Orange–white–black–gold, red (5-band): 390 × 0.1 = 39 Ω ±2% — the gold multiplier is how sub-100-ohm precision values are written.
Why 4.7 kΩ exists but 4.6 kΩ does not: the E-series
Resistors are not made in every value, and the colour code's two-digit precision is exactly matched to the system that decides which values exist. Manufacturers produce preferred values in geometric series — E12 for ±10% parts, E24 for ±5%, E96 for ±1% — where each step is a constant ratio apart (about 1.21× for E12, 1.10× for E24). The spacing is chosen so the tolerance bands of neighbouring values just touch: a 4.7 kΩ ±5% part may legitimately measure up to 4,935 Ω, and the next E24 value, 5.1 kΩ, may measure down to 4,845 Ω, so the series covers the whole range with no gaps and no wasteful overlap. That is why the values 1.0, 1.1, 1.2, 1.3, 1.5, 1.6, 1.8, 2.0… recur at every scale, why 4.7 and 5.1 are neighbours while 4.8, 4.9 and 5.0 do not exist in E24, and why a designer who calculates a need for exactly 4,900 Ω simply picks 4.7 or 5.1 kΩ and checks the circuit still behaves — it almost always does, because the tolerance was in the design from the start. Three-digit 5-band parts follow E96 and E192 for the same reason at finer resolution.
Frequently asked questions
How do you read a 4-band resistor?
The first two bands are digits, the third is the multiplier, and the fourth — set apart, usually gold or silver — is the tolerance. Yellow, violet, red, gold reads as 4, 7, then ×100: 4,700 ohms (4.7 kΩ), ±5 percent. Read from the end opposite the tolerance band; if you cannot tell which end that is, the tolerance band is usually spaced further from the others, and gold or silver can never start a value, which settles the direction.
What is the difference between 4-band and 5-band resistors?
Precision. A 5-band resistor carries three significant digits instead of two, so values like 39.0 ohms or 1.02 kΩ can be marked exactly rather than rounded to a preferred value. Five bands usually go with tighter tolerances (1 percent or better, with a brown or red tolerance band). The reading method is identical: digits, then multiplier, then tolerance.
What do gold and silver bands mean?
Two different jobs depending on position. As the tolerance band, gold means ±5 percent and silver ±10 percent (no band at all means ±20 percent). As the multiplier band, gold means ×0.1 and silver ×0.01 — that is how values below 10 ohms are marked: red, red, gold is 22 × 0.1 = 2.2 ohms. Gold and silver never appear as a first digit, which is the quickest way to tell which end of the resistor to start reading from.
Why is my measured resistance different from the colour code?
First, tolerance: a 4,700-ohm resistor with a gold band is allowed to measure anywhere from 4,465 to 4,935 ohms and still be in specification. Second, measurement conditions: a multimeter measuring in-circuit reads everything connected in parallel with the resistor, not the resistor alone — lift one leg for a true reading. Third, heat and age drift values, especially in equipment that has run hot for years.
How do I remember the colour order?
The digits run black (0), brown (1), red (2), orange (3), yellow (4), green (5), blue (6), violet (7), grey (8), white (9) — the colours of the rainbow, roughly, bookended by black and white, with brown squeezed in after black. Generations of technicians have used mnemonics for the sequence; the polite one is 'Black Bears Race Over Young Grass But Violets Grow Willingly'. After a few dozen resistors, the common values — brown-black-red for 1 kΩ, red-red-brown for 220 Ω — become sight words.
Related tools
Colour code and worked examples last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.