Resistor Color Code Calculator — 4, 5 & 6 Band
Click the bands on a resistor to read its resistance, tolerance and temperature coefficient — or enter a value to get the band colors. Follows the IEC 60062:2016 international standard. Free, no signup, sources cited below.
How it works
A resistor's value is printed as colored bands so it can be read from any angle. Each color maps to a number, and the calculator applies the mapping defined by the International Electrotechnical Commission in IEC 60062:2016 (the same scheme as the US EIA/ANSI RS-279 code). Read the resistor with the tolerance band on the right, then work left to right.
- Significant digits.Each digit color maps to a value: black 0, brown 1, red 2, orange 3, yellow 4, green 5, blue 6, violet 7, grey 8, white 9. A 4-band resistor uses the first two bands, so the significant number
S = 10·d1 + d2; a 5- or 6-band resistor adds a third digit, soS = 100·d1 + 10·d2 + d3. - Multiplier.The next band is a power of ten: black ×1, brown ×10, red ×100, orange ×1k, yellow ×10k, green ×100k, blue ×1M, violet ×10M, grey ×100M, white ×1G, and the two fractional cases gold ×0.1 and silver ×0.01 for sub-10-ohm parts.
- Resistance.
R = S × multiplierohms. The result is shown in engineering notation (Ω, kΩ, MΩ, GΩ). - Tolerance.The tolerance band gives the allowed spread: brown ±1%, red ±2%, green ±0.5%, blue ±0.25%, violet ±0.1%, grey ±0.05%, gold ±5%, silver ±10%, and no band ±20%. The value range is
R·(1 − tol)toR·(1 + tol). - Temperature coefficient (6-band).The sixth band gives ppm/K — brown 100, red 50, orange 15, yellow 25, blue 10, violet 5 — how much resistance drifts per degree.
In reverse mode the calculator runs this backwards: it normalises your target value into significant figures and a power of ten, picks the digit and multiplier colors that reproduce it, and attaches the tolerance you choose. If the value needs more significant figures than the band count allows, it snaps to the nearest standard value and flags it. Every reverse result is checked by decoding the chosen bands again — a decode → encode → decode round-trip that must return the same resistance to be shown.
Worked examples
Frequently asked questions
Sources & references
- IEC 60062:2016 — Marking codes for resistors and capacitors (International Electrotechnical Commission)
- EIA/ANSI RS-279 — Electronic Industries Alliance color code (US standard, corroborating reference)
The color-to-value tables on this page were transcribed from IEC 60062:2016 and last cross-checked on 2026-07-13. These mappings are a fixed engineering standard, so they do not change between revisions.
Related tools
Comments & feedback
Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.
Found a bug, edge case, or want to suggest an improvement?
Email me at [email protected] — most fixes ship within 24 hours.