Resistor Color Code Calculator

Pick the band colours to read the resistance, tolerance and temperature coefficient, or type a value to get its colour bands. The drawing updates live and the nearest E12/E24 standard value is shown.

Free, no sign-upRuns in your browserUpdated November 2026
Number of bands
Colours → value
Value → colours
Type a value and the bands above update to match.
Resistance
—
Minimum
—
Maximum
—
Nearest E12
—
Nearest E24
—

How to use the Resistor Color Code Calculator

  1. Choose 4, 5 or 6 bands. Hold the resistor so the tolerance band (often gold or silver, and set apart from the others) is on the right.
  2. Pick the colour of each band from left to right. The drawing, resistance, tolerance range and temperature coefficient update as you choose.
  3. To go the other way, type a value such as 4.7 kΩ in Value → colours. The digit and multiplier bands change to match.
  4. Check the nearest E12 and E24 values to confirm it is a standard part, or to pick the closest one you can buy.

How to read a resistor colour code

Through-hole resistors are too small for printed numbers, so their value is painted as coloured bands. The code is defined by the international standard IEC 60062. Read from the end with the bands grouped together; the tolerance band usually sits slightly apart on the right.

  • 4-band: digit, digit, multiplier, tolerance.
  • 5-band: digit, digit, digit, multiplier, tolerance. Used for precision (±1% and better) resistors.
  • 6-band: as 5-band, plus a temperature-coefficient band in ppm/K.
R = (significant digits) × 10^(multiplier) ± tolerance %

Mnemonic for the digit order

The ten digit colours from 0 to 9 are black, brown, red, orange, yellow, green, blue, violet, grey and white. Indian textbooks teach the mnemonic “B B ROY of Great Britain has a Very Good Wife”: Black, Brown, Red, Orange, Yellow, Green, Blue, Violet, Grey, White. For tolerance remember “gold 5, silver 10, no band 20”.

IEC 60062 colour code table

ColourDigitMultiplierTolerance (letter)Temp. coefficient
Black0×1—250 ppm/K
Brown1×10±1% (F)100 ppm/K
Red2×100±2% (G)50 ppm/K
Orange3×1k±0.05% (W)15 ppm/K
Yellow4×10k±0.02% (P)25 ppm/K
Green5×100k±0.5% (D)20 ppm/K
Blue6×1M±0.25% (C)10 ppm/K
Violet7×10M±0.1% (B)5 ppm/K
Grey8×100M±0.01% (L)1 ppm/K
White9×1G——
Gold—×0.1±5% (J)—
Silver—×0.01±10% (K)—
None——±20% (M)—

Worked examples

Yellow, violet, red, gold (4-band). Digits 4 and 7 give 47. Red is ×10², so R = 47 × 100 = 4,700 Ω = 4.7 kΩ ±5%. The real value may lie anywhere from 4.465 kΩ to 4.935 kΩ.

Brown, black, black, red, brown (5-band). Digits 1, 0, 0 give 100. Red is ×10², so R = 100 × 100 = 10 kΩ ±1% (9.9 kΩ to 10.1 kΩ).

Orange, orange, gold, gold (4-band). 33 × 0.1 = 3.3 Ω ±5%. A gold multiplier means divide by 10, and silver means divide by 100.

Value to colours: 220 Ω. With two significant digits, 220 = 22 × 10¹, so the bands are red, red, brown, then the tolerance band. As a 5-band resistor, 220 = 220 × 10⁰: red, red, black, black, then tolerance.

E12 and E24 standard values

Resistors are not made in every value. Manufacturers follow the preferred-number E series of IEC 60063, where each decade is split into equal steps on a logarithmic scale. E12 has 12 values per decade (10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82), suited to ±10% parts. E24 adds 12 more (11, 13, 16, 20, 24, 30, 36, 43, 51, 62, 75, 91) for ±5% parts. The calculator shows the nearest value in each series and how far your value is from it. A tick means your value is already standard. If a circuit calculation from the Ohm’s law calculator gives, say, 520 Ω, the nearest E24 part is 510 Ω.

Temperature coefficient

The sixth band gives how much the resistance changes with temperature, in parts per million per kelvin. A 10 kΩ resistor at 100 ppm/K changes by 10,000 × 100 × 10⁻⁶ = 1 Ω for each 1 °C change. Low values such as 15 or 25 ppm/K matter in measurement and reference circuits.

Common mistakes

  • Reading from the wrong end. Gold and silver never appear as the first band, so if one end is gold or silver, start from the other end.
  • Confusing similar colours. Brown, red and orange look alike under warm light, as do violet and blue, or grey and white. Check with a multimeter if unsure.
  • Counting the multiplier as a digit. In a 4-band code only the first two bands are digits; the third is the number of zeros (the power of ten).
  • Mixing up 5-band and 4-band with a missing tolerance band. A 3-band resistor is a 4-band code with no tolerance band, meaning ±20%.

Frequently asked questions

What is the colour code for a 10k resistor?
On a 4-band resistor 10 kΩ is brown, black, orange, then the tolerance band (gold for ±5%). On a 5-band resistor it is brown, black, black, red, then tolerance (brown for ±1%).
Which side do you start reading a resistor from?
Start from the end where the bands are bunched together. The tolerance band is usually set slightly apart on the right, and gold or silver bands are never first.
What does a gold band mean on a resistor?
In the tolerance position gold means ±5%. In the multiplier position it means ×0.1, so yellow, violet, gold, gold is 4.7 Ω ±5%.
What is the difference between 4, 5 and 6 band resistors?
A 4-band code has two significant digits, a 5-band code has three for better precision, and a 6-band code adds a sixth band for the temperature coefficient in ppm/K.
What is the mnemonic for resistor colour codes?
B B ROY of Great Britain has a Very Good Wife gives black 0, brown 1, red 2, orange 3, yellow 4, green 5, blue 6, violet 7, grey 8 and white 9.
Why can’t I buy a 4.5 kΩ resistor?
Standard resistors follow the E-series. 4.5 kΩ is not in E12 or E24; the nearest standard values are 4.3 kΩ and 4.7 kΩ in E24. Use a series or parallel combination, or a precision E96 part, if you need it exactly.

Last reviewed November 2026. Results are estimates for information only — see our disclaimer.