Resistor Color Code Calculator

Inputs

Results

Resistance
—
Tolerance
—
Range
—
Temperature coefficient
—

Small through-hole resistors are too tiny to print numbers on, so their value is painted as colored bands. The first bands are digits, the next is a power of ten, and a separate band on the right gives the tolerance. Precision resistors have a third digit, and some add a sixth band for how much the value drifts with temperature.

How to use it

  1. Choose Colors → value to read a resistor, or Value → colors to find its bands.
  2. Pick the number of bands. Hold the resistor with the tolerance band (often gold or brown, set slightly apart) on the right.
  3. Choose each band’s color, or type the value.

Examples: yellow, violet, red, gold is 4.7 kΩ ± 5 % (4.465 kΩ to 4.935 kΩ). Brown, black, black, red, brown is 10 kΩ ± 1 %. A 4.8 kΩ value would be yellow, gray, red, but it isn’t a standard E24 value: the nearest is 4.7 kΩ.

Questions and answers

Which end do I read from?

Start at the end where the bands are closest to the edge. The tolerance band is usually gold, silver or brown and set a little apart; gold and silver never come first.

What are E24 and E96?

Series of preferred values, spaced so that tolerances overlap: E24 has 24 values per decade (10, 11, 12, 13, 15…) for ± 5 % parts, and E96 has 96 for ± 1 % parts. Resistors are sold in these values.

Is there a mnemonic for the colors?

Many people remember the order black, brown, red, orange, yellow, green, blue, violet, gray, white (0 to 9) as a rainbow from dark to light, with the warm colors in the middle.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
modecolors (read bands) or value (find bands).
bandsNumber of bands: 3, 4, 5 or 6.
colorsBand colors separated by -: black, brown, red, orange, yellow, green, blue, violet, grey, white, gold, silver.
valueResistance for value mode, like 470, 4.7k or 2.2M.
tolTolerance in % for value mode.
tcTemperature coefficient in ppm/K for 6 bands.

Example: https://toolabelle.com/resistor-color-code/#mode=colors&bands=4&colors=brown-black-orange-gold

Related tools