Resistor Color Code Calculator

Decode 4- and 5-band resistors — or find the bands for a target resistance.

The formula behind it

R = (d₁d₂[d₃]) × multiplier
d₁ d₂ (d₃)
digit bands — black 0 through white 9 (two digits on 4-band, three on 5-band)
multiplier
what to scale the digits by — including gold ×0.1 and silver ×0.01
tolerance
manufacturing accuracy: gold ±5%, silver ±10%, brown ±1% … no band ±20%

Resistors print their value as colored bands per IEC 60062: leading digits, a power-of-ten multiplier and a tolerance. Decoding is positional notation with colors; encoding is the reverse — with the honest note that E-series preferred values mean not every target exists exactly.

How to use this calculator

  1. 1

    Hold the resistor with the gold/silver tolerance band on the right.

  2. 2

    Decode: pick each band's color from the dropdowns — 4-band (2 digits + multiplier) or 5-band (3 digits + multiplier).

  3. 3

    Encode: enter a target resistance and tolerance; the tool finds the nearest standard value and lists the bands to look for in a parts drawer.

  4. 4

    Read the ohms range that tolerance implies — a ±5% 1 kΩ can measure 950–1050 Ω and still be in spec.

  5. 5

    Verify against the steps, which spell out digits × multiplier at every stage.

Worked examples

Yellow-Violet-Red-Gold

Digits 4, 7 → 47; red multiplier ×100 → 4,700 Ω = 4.7 kΩ, ±5% → 4.465–4.935 kΩ. The workhorse hobby value.

Encode 47 kΩ, 5-band, ±1%

47,000 = 470 × 100 → digits 4, 7, 0 with red (×100) multiplier and brown (±1%) tolerance: Yellow-Violet-Black-Red-Brown. The tool also reports the exact E-series fit.

Frequently asked questions

Explore more categories

Command Palette

Search for a command to run...