Resistor Color Code Calculator
Beta: this tool hasn't been fully reviewed yet. Double-check results before relying on them.
Inputs
In ohms, with k or M if you like: 470, 4.7k, 4k7, 2.2M.
Results
- Resistance
- —
- Tolerance
- —
- Range
- —
- Temperature coefficient
- —
Your input is too long to share as a link, so the page address no longer includes it.
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
- Choose Colors → value to read a resistor, or Value → colors to find its bands.
- Pick the number of bands. Hold the resistor with the tolerance band (often gold or brown, set slightly apart) on the right.
- 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.
| Parameter | What it sets |
|---|---|
mode | colors (read bands) or value (find bands). |
bands | Number of bands: 3, 4, 5 or 6. |
colors | Band colors separated by -: black, brown, red, orange, yellow, green, blue, violet, grey, white, gold, silver. |
value | Resistance for value mode, like 470, 4.7k or 2.2M. |
tol | Tolerance in % for value mode. |
tc | Temperature coefficient in ppm/K for 6 bands. |
Example: https://toolabelle.com/resistor-color-code/#mode=colors&bands=4&colors=brown-black-orange-gold