Skip to content

Resistor Color Code Calculator

Through-hole resistors carry their value in coloured bands. Once the code is in your head you can read any part at a glance. Until then — use this.

It works in both directions: click a band to change it and watch the value update, or type the value you want and watch the bands rearrange to match.


Most parts you meet are 4-band. Precision parts use 5.

BandMeaning
1First significant digit
2Second significant digit
3Multiplier (×10ⁿ)
4Tolerance

Value = (Band1 × 10 + Band2) × Multiplier

Yellow, violet, red, gold → (4, 7) × 100 → 4.7 kΩ ±5%

BandMeaning
1First significant digit
2Second significant digit
3Third significant digit
4Multiplier
5Tolerance

Value = (Band1 × 100 + Band2 × 10 + Band3) × Multiplier


  • The tolerance band sits alone at one end, with a noticeably wider gap before it. Start from the opposite end and read toward the gap.
  • Gold and silver are never digits. If you can see one, that end is the finish.
  • Band 1 is usually closer to its lead than the tolerance band is to its own.

ColourDigitMultiplierTolerance
Black0×1
Brown1×10±1%
Red2×100±2%
Orange3×1 k
Yellow4×10 k
Green5×100 k±0.5%
Blue6×1 M±0.25%
Violet7×10 M±0.1%
Grey8×100 M±0.05%
White9×1 G
Gold×0.1±5%
Silver×0.01±10%

Value4-band codeWhat it is usually doing
10 ΩBrown, black, black, goldCurrent limiting at high current
100 ΩBrown, black, brown, goldLED limiting
330 ΩOrange, orange, brown, goldLED on a 3.3 V rail
470 ΩYellow, violet, brown, goldGeneral LED limiting
1 kΩBrown, black, red, goldPull-up or pull-down
4.7 kΩYellow, violet, red, goldI²C pull-up
10 kΩBrown, black, orange, goldGPIO pull-up or pull-down
100 kΩBrown, black, yellow, goldHigh-impedance pull-up

  • ±1% (brown) — metal film, for precision work
  • ±2% (red) — metal film
  • ±5% (gold) — carbon film, and what you almost always have in the drawer
  • ±10% (silver) — carbon composition, older stock

For pull-ups, LED limiting and voltage dividers on a microcontroller, ±5% is fine. The tool shows the real spread a tolerance implies — a 4.7 kΩ ±5% part is anywhere from 4.46 kΩ to 4.93 kΩ, and that is normal.