Resistor Color Code Calculator
Read a resistor's value and tolerance from its colour bands — supports 3-band, 4-band and 5-band resistors.
How to use this calculator
- 1Select 3-band, 4-band or 5-band based on how many colour bands your resistor has.
- 2Read the colours in order from the band closest to one end, and select them here.
How the calculation works
3-band: Value = (10×digit1 + digit2) × multiplier, ±20% implied
4-band: Value = (10×digit1 + digit2) × multiplier
5-band: Value = (100×digit1 + 10×digit2 + digit3) × multiplier- digit bands
- Each colour maps to a digit 0–9 (black=0 through white=9)
- multiplier
- A power-of-ten scaling factor, with gold (×0.1) and silver (×0.01) for values under 10
The colour-to-digit mapping follows a fixed spectrum order (black, brown, red, orange, yellow, green, blue, violet, grey, white = 0–9), which is also why the same colours are reused for the multiplier band, just as powers of ten instead of digits.
3-band and 4-band resistors share the same two-digit-plus-multiplier structure — the only difference is whether a tolerance band is present to state a tighter tolerance than the ±20% default.
Worked example
Yellow, Violet, Red, Gold (4-band)
- 1.Yellow = 4, Violet = 7 → significant digits 47.
- 2.Red multiplier = ×100.
- 3.47 × 100 = 4,700 Ω = 4.7 kΩ, ±5% tolerance.
Result: 4.7 kΩ ±5%
Yellow, Violet, Red (3-band)
- 1.Same digits and multiplier as the 4-band example: 47 × 100 = 4,700 Ω.
- 2.No tolerance band is present, so the standard implied tolerance is ±20%.
Result: 4.7 kΩ ±20% (implied)
Why resistors are marked with colour, not printed numbers
A resistor is one of the smallest and most numerous parts in any circuit — a single radio or router can carry hundreds of them — and for most of the twentieth century, printing legible text onto something the size of a grain of rice was neither cheap nor reliable at the scale a factory needed. A colour band, by contrast, is just a ring of paint applied by a machine as the part rolls past on a production line, and because it wraps all the way around a cylindrical resistor rather than sitting on one flat face, it can be read from whatever angle the part happens to be sitting in on a workbench or soldered into a crowded board, without needing to be rotated to find a particular side.
The system was standardised in the United States in the 1920s by the Radio Manufacturers Association, formed by radio-set manufacturers who needed a common way to specify parts across competing suppliers. It was adopted internationally by the International Electrotechnical Commission in 1952, as IEC 62 — now IEC 60062 — which still governs resistor and capacitor colour marking today, more than a century after the first mass-produced radios made a shared standard necessary.
What the bands are actually encoding
Every band on a resistor plays one of three roles: stating a significant digit, scaling those digits by a power of ten, or stating how far the true resistance is allowed to drift from the number the earlier bands spell out. A 4-band resistor gives two significant digits plus a multiplier and a tolerance; a 5-band resistor adds a third significant digit for finer precision, which is why five-band parts turn up in circuits — like precision voltage references or measurement instruments — where a value rounded to two digits is not accurate enough.
The same ten colours, black through white, stand for the digits 0–9 in the digit bands, and do double duty as powers of ten in the multiplier band — black multiplies by 1, brown by 10, red by 100, and so on up the same order. That reuse is why gold and silver, which sit outside the normal digit spectrum, only ever appear as a multiplier (for values under ten ohms) or as a tolerance band, never as a digit themselves.
Reading a real resistor without a reference chart in hand
The physical layout of the bands does most of the work of telling you which end to start from: the tolerance band — most often gold or silver — sits spaced slightly apart from the rest, closer to one edge, while the digit and multiplier bands are grouped tightly together toward the other. Reading from the tightly grouped end toward the isolated one gets the order right even before you know what any individual colour means.
In practice, the hardest part is rarely the arithmetic — it is telling bands apart under poor light or on a part that has picked up dust or discolouration with age, especially brown against red, or blue against violet. A multimeter set to measure resistance is the fastest way to settle a reading in doubt, and treating it as routine practice rather than a last resort is worth it, since a single misread band produces a value that still looks entirely plausible on paper.
Why resistors only come in certain values
No manufacturer builds a resistor for every whole-number value of ohms — there is no 47-ohm, 48-ohm and 49-ohm part sitting side by side on a supplier’s shelf. Instead, values follow standardised sequences called the E-series, defined in IEC 60063: E12 gives 12 values per decade for ±10% parts, E24 gives 24 values per decade for ±5% parts, and finer E48 and E96 series exist for ±2% and ±1% components.
The spacing is not arbitrary. Preferred values sit on a geometric, not evenly-spaced, scale, so the tolerance range of one value just meets the tolerance range of its neighbour with as little overlap or gap as the tolerance allows — a loose ±10% part needs bigger steps between values than a tight ±1% part, which is exactly why E12 has only a dozen values a decade while E96 needs ninety-six. The underlying idea of a geometric sequence of preferred values traces back to the French engineer Charles Renard’s work in the 1870s, decades before it was adapted specifically for electronic components in the 1950s.
Where the colour code is still used today
Through-hole resistors — the kind with two wire leads and a painted cylindrical body — are still manufactured and sold by the billions, and the colour code remains the fastest way to identify one without pulling up a datasheet.
- Repair and troubleshooting — a technician tracing a fault on an old board can identify a suspect resistor’s nominal value on sight, without desoldering it first to test it.
- Hobbyist and educational electronics — reading colour bands is usually the first practical skill taught alongside Ohm’s law, since it turns an abstract formula into something verifiable by picking a real part off a breadboard.
- Prototyping and kit assembly — colour bands let a builder sort and check a mixed parts bin by eye, far faster than measuring every resistor individually with a meter.
- Legacy and field equipment — industrial, automotive and telecom gear built decades ago, and still in service, was assembled entirely with through-hole parts that only make practical sense read this way.
What this assumes, and where it stops
Assumptions
- Bands are read in the standard left-to-right order, starting from the band closest to one edge of the resistor (the tolerance band is usually spaced slightly apart from the rest, marking the other end).
Limitations
- Does not cover 6-band resistors (which add a temperature coefficient band) or surface-mount (SMD) numeric coding, which uses printed digits instead of colour bands.
Common questions
How do I know which end to start reading from?
The tolerance band (commonly gold or silver) is usually spaced further from the others and sits at the end of the resistor — read from the opposite end, toward the tolerance band. If a resistor has no clear gap, the digit bands are typically grouped closer together than the gap before the multiplier band.
Why do gold and silver appear as both multipliers and tolerances?
They serve double duty in the color code system: as a multiplier band they represent ×0.1 and ×0.01 (for resistances under 10 ohms), and as a tolerance band (always the last band) they mean ±5% and ±10% respectively. Position in the sequence is what tells them apart, not the color itself.
Sources
- Resistor color code standard (IEC 60062) — IEC 60062
Formula and content last reviewed on .
Results are estimates for information only, not professional advice.
Related calculators
Tools people commonly use alongside the resistor color code calculator.