What this calculator does
Through-hole resistors are too small to print a number on, so their value is painted on as coloured bands. The code is set by the international standard IEC 60062. This calculator works in both directions:
- Read the bands: choose 3, 4, 5 or 6 bands and pick each colour. You get the resistance, the tolerance, the range the real value can lie in, and (for 6 bands) the temperature coefficient.
- Find the bands for a value: type a resistance and you get the colours to look for, ready to check against a resistor in your parts drawer.
How the code works
Each colour stands for a digit:
| Colour | Digit | Multiplier | Tolerance | Temp. coefficient |
|---|---|---|---|---|
| Black | 0 | ×1 | 250 ppm/K | |
| Brown | 1 | ×10 | ±1 % | 100 ppm/K |
| Red | 2 | ×100 | ±2 % | 50 ppm/K |
| Orange | 3 | ×1 k | ±0.05 % | 15 ppm/K |
| Yellow | 4 | ×10 k | ±0.02 % | 25 ppm/K |
| Green | 5 | ×100 k | ±0.5 % | 20 ppm/K |
| Blue | 6 | ×1 M | ±0.25 % | 10 ppm/K |
| Violet | 7 | ×10 M | ±0.1 % | 5 ppm/K |
| Grey | 8 | ×100 M | ±0.01 % | 1 ppm/K |
| White | 9 | ×1 G | ||
| Gold | ×0.1 | ±5 % | ||
| Silver | ×0.01 | ±10 % | ||
| Pink | ×0.001 | |||
| No band | ±20 % |
A handy way to remember the digit order is the rainbow (red, orange, yellow, green, blue, violet) with black and brown in front and grey and white at the end.
- 3 bands: two digits and a multiplier, with no tolerance band. A missing tolerance band means ±20 %. Old and very cheap resistors use this code.
- 4 bands: two digits, a multiplier, a tolerance. multiplier.
- 5 bands: three digits, a multiplier, a tolerance. Used for 1 % and better resistors, because three digits are needed to show values such as 4.99 kΩ.
- 6 bands: like 5 bands, plus a temperature coefficient (TCR): how many millionths (ppm) the resistance changes for each degree of temperature change.
The multiplier band tells you how many zeros to add. Gold and silver multipliers divide instead, which is how values below 10 Ω are marked.
Which end to start from
The tolerance band is usually set a little apart from the others, and is often gold or silver, which never appear as the first band. Start reading from the other end. If your reading begins with black, or gives a value that is not a standard E-series value, try reading from the other end. The calculator shows a hint when the first band is black.
Worked example
The default resistor has the bands yellow, violet, red, gold:
- Yellow = 4 and violet = 7 give the digits 47.
- Red is the multiplier ×100, so the value is = 4.7 kΩ.
- Gold means ±5 %, so the real value lies between and : the calculator shows 4.465 kΩ to 4.935 kΩ.
In the other direction, type 4.7 kΩ with 5 bands and 1 % tolerance. The calculator gives yellow, violet, black, brown, brown: digits 4-7-0, multiplier ×10 and tolerance ±1 %, so the marked value is again 4.7 kΩ. Try 4.75 kΩ with 4 bands instead: two digits are not enough, so the code is rounded to yellow, grey, red (4.8 kΩ), and the calculator reports a rounding of +1.05 %. With 5 bands, 4.75 kΩ is shown exactly as yellow, violet, green, brown.
Accuracy and validity
The decoding is exact: it is a lookup in the IEC 60062:2016 table. A few practical limits:
| Situation | What to know |
|---|---|
| Old or overheated parts | Colours fade or darken; brown, red and orange are easily confused. Measure with a meter when in doubt. |
| Yellow and grey tolerance bands | Before IEC 60062:2016 some makers used them as substitutes for gold and silver. Check the datasheet. |
| Military and special parts | Some carry a fifth band for failure rate, or a wide first band for wire-wound types. |
| Zero-ohm links | A single black band. |
| Surface-mount resistors | Use a printed number code (for example 472 = 4.7 kΩ) instead of colours. |
Practical notes
- Standard values. Resistors are made in the preferred values of IEC 60063. For 5 % parts (E24) the digit pairs are 10, 11, 12, 13, 15, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 43, 47, 51, 56, 62, 68, 75, 82 and 91. If your reading is not one of these, you are probably reading it backwards or misjudging a colour.
- Tolerance is not drift. A ±1 % resistor starts within 1 % of its value; heating, ageing and soldering can move it further.
- Temperature coefficient. A 100 ppm/K, 10 kΩ resistor that warms up by 50 °C changes by , or 0.5 %.