Resistor Color Code Calculator - Decode EIA Color Bands

Use this resistor color code calculator to decode 4, 5, and 6-band EIA color sequences into ohms, kΩ, and MΩ with tolerance and temperature coefficient.

Resistor Color Code Calculator

Decode reads a printed color sequence into ohms; Encode writes a sequence for a target resistance.

4 bands for typical through-hole parts, 5 for precision (±1%), 6 for parts with temperature coefficient.

Tolerance band. Gold is the most common consumer value (±5%).

Color of the first digit band on the resistor body.

Color of the second digit band.

Color of the third digit band on 5-band and 6-band precision parts.

Sixth-band ppm/°C drift. Most 6-band parts use brown (100 ppm/°C).

Power-of-ten multiplier. Gold is ×0.1 and silver is ×0.01 for sub-10 Ω parts.

Resistance in the chosen prefix to encode into a color sequence.

SI prefix for the target resistance.

Encode for a 4-band (consumer) or 5-band (precision) part.

Tolerance band to write into the encoded sequence.

Results

Decoded Resistance
0
Resistance in Ohms 0Ω
Tolerance 0%
Min Resistance 0
Max Resistance 0
Temperature Coefficient 0ppm/°C
Encoded Color Sequence 0
Status 0

What Is Resistor Color Code Calculator?

A resistor color code calculator decodes the colored bands printed on a through-hole resistor into a resistance in ohms, kΩ, MΩ, or GΩ, with the tolerance range and the temperature coefficient on six-band parts included. It also works in reverse: write a color sequence for a target resistance.

  • Decode a resistor from a parts bin: Read the bands and see the nominal resistance with the tolerance range.
  • Order a resistor for a target value: Encode a target resistance in kΩ or MΩ into a color sequence for a parts order.
  • Check tolerance acceptance for a circuit: Read the min and max bounds so a part fits a design window.
  • Decode precision parts with temperature drift: Use 6-band mode for ±1% parts with a ppm/°C temperature coefficient.

Through-hole resistors are too small to print a numeric value, so the EIA standard encodes the value as colored bands. Red-red-brown-gold decodes to 220 Ω with ±5% tolerance, and the calculator can encode a target value back into a band sequence.

Once you decode a resistance with the resistor color code calculator, the Ohm's Law calculator lets you drop the value into V = IR to size the surrounding circuit.

How Resistor Color Code Calculator Works

The calculator looks up each color in the EIA color table, concatenates the digit bands into a number, and multiplies by the multiplier. The tolerance band gives the accepted range, and a sixth band adds the temperature coefficient on precision parts.

R = (D1 × 10 + D2) × 10^M Ω (4-band) R = (D1 × 100 + D2 × 10 + D3) × 10^M Ω (5/6-band) range = R × (1 ± tol / 100)
  • D1, D2, D3: Digit bands, each color maps to a digit from 0 (black) through 9 (white).
  • Multiplier (M): Power-of-ten multiplier. Black is ×1, brown ×10, gold ×0.1, silver ×0.01.
  • Tolerance (tol): Accepted deviation as a percentage. Gold (±5%) is the most common consumer value.
  • Temperature coefficient (TC): Sixth-band drift rate in ppm/°C. Brown (100), red (50), orange 15, yellow 25, blue 10, violet 5.

For five-band and six-band parts the formula gains a third significant digit, which is why those parts usually carry a 1% or better tolerance. In encode mode the calculator picks the smallest power-of-ten multiplier that lets the value sit in a two- or three-digit mantissa range.

Decode red-red-brown-gold (4-band)

Bands: red, red, brown, gold

D1 = 2, D2 = 2, M = 1. (2 × 10 + 2) × 10^1 = 22 × 10 = 220 Ω, ±5% tolerance.

220 Ω, range 209 Ω to 231 Ω

Common consumer part.

Decode yellow-violet-red-gold (4-band)

Bands: yellow, violet, red, gold

D1 = 4, D2 = 7, M = 2. (4 × 10 + 7) × 10^2 = 47 × 100 = 4,700 Ω, ±5% tolerance.

4.7 kΩ, range 4,465 Ω to 4,935 Ω

Common in transistor bias and LED current limiters.

According to Wikipedia Electronic color code, a through-hole resistor is marked with two (4-band) or three (5/6-band) digit color bands followed by a multiplier band, a tolerance band, and an optional temperature coefficient band, so red-red-brown-gold decodes to 22 × 10^1 = 220 Ω with gold (±5%) tolerance.

Resistors and capacitors sit in the same RC timing and filter networks, so the capacitor calculator decodes the matching component for the same schematic.

Key Concepts Explained

Four ideas cover the EIA color code; learn these once and decoding becomes mechanical.

EIA color table and digit mapping

Every color from black through white maps to a digit from 0 through 9 in the same order it appears on a resistor body.

Multiplier band as a power of ten

Black is ×1, brown is ×10, red is ×100, through white at ×1 GΩ. Gold is ×0.1 and silver is ×0.01 for sub-10 Ω parts.

Tolerance band as a percentage

Brown is ±1%, red is ±2%, gold is ±5%, silver is ±10%, and a missing tolerance band defaults to ±20% per IEC 60062.

Sixth-band temperature coefficient

Six-band parts add a ppm/°C drift rate. Brown (100) is the most common; red 50, orange 15, yellow 25, blue 10, violet 5 for tighter parts.

The decoded resistance is the R in an RC low-pass or high-pass filter, and the capacitive reactance calculator returns the matching Xc at any chosen frequency.

How to Use This Calculator

Five steps take you from a resistor in your hand (or a target value) to a complete resistance, tolerance range, and color sequence.

  1. 1 Pick decode or encode mode: Use Decode to read a printed color sequence into ohms, or Encode to write a sequence for a target resistance.
  2. 2 Choose the band count: Pick 4 for a typical consumer part, 5 for a precision ±1% part, or 6 when the part also lists a temperature coefficient.
  3. 3 Match each band to its color: Hold the resistor with the tolerance band on the right, then read each band left to right and select the matching color.
  4. 4 Set the tolerance band: Pick the rightmost band color. If there is no tolerance band, choose 'No band = ±20%' for the IEC 60062 default.
  5. 5 Read the result panel: Check the nominal resistance in the auto-selected prefix, the tolerance range, and the temperature coefficient on six-band parts.

A parts bin has a four-band resistor with red, red, brown, gold stripes. Pick Decode, set Band Count to 4, Band 1 to red, Band 2 to red, Multiplier to brown, and Tolerance to gold. The result panel shows 220 Ω with a tolerance range of 209 Ω to 231 Ω.

When you need the inverse relationship between conductance and the decoded resistance value, conductivity to resistivity calculator solves the σ to ρ conversion from the same physics.

Benefits of Using This Calculator

Six practical benefits of one resistor color code calculator over a printed color chart and a separate tolerance table.

  • Decode and encode in one tool: Switches between reading a printed color sequence and writing a sequence for a target resistance.
  • Covers 4-band, 5-band, and 6-band parts: Handles the full EIA range from a consumer four-band part to a precision six-band part with temperature coefficient.
  • Auto-selected prefix for readability: Reads the result in the SI prefix that keeps the printed number between 1 and 999, so 4,700 Ω shows as 4.7 kΩ.
  • Shows the tolerance range: Reports the min and max resistance from the tolerance band so the part can be confirmed against a design window.
  • Encodes back to color bands: Writes a fresh color sequence for a target resistance in kΩ or MΩ with the digit and multiplier colors already in order.
  • Includes gold and silver multipliers: Decodes the ×0.1 gold and ×0.01 silver multipliers used on sub-10 Ω resistors without a separate lookup.

Encoding is the harder direction because it requires choosing a multiplier exponent and matching the mantissa to the EIA color order; the calculator handles that step so the result lands on a real part number.

When the decoded value lands in a prefix the rest of the design does not use, the electrical resistance calculator converts ohms, kilohms, megohms, and gigohms in both directions.

Factors That Affect Your Results

Five factors decide whether the decoded value matches the part on the bench; two limitations describe when the calculator is incomplete.

Band orientation on the body

The tolerance band sits on the right edge of the resistor. Reading the part backwards gives no tolerance or a 10× off multiplier.

Gold and silver on the multiplier position

Gold and silver appear as multipliers (×0.1 and ×0.01) on resistors below 10 Ω; on the tolerance position they mean ±5% and ±10%.

Tolerance band availability

Parts without a tolerance band default to ±20% per IEC 60062.

Temperature coefficient on six-band parts

Six-band parts report ppm/°C drift. The calculator returns 0 ppm/°C on 4-band and 5-band parts.

Manufacturer rounding to E-series values

Manufacturers round the nominal value to the nearest E12, E24, E96, or E192 step, so a 4.7 kΩ part may actually measure 4.64 kΩ or 4.75 kΩ.

  • The calculator assumes the resistor is ideal, with no parasitic inductance or parallel capacitance. High-frequency analog work needs a separate impedance analysis.
  • Encoding snaps to the nearest mantissa the band count allows, so the encoded value may differ from the target by up to a few percent.

Reading the resistor in good lighting with a magnifier helps when bands are faded or close in color.

According to Digi-Key Resistor Color Code Calculator, a six-band resistor adds a temperature coefficient on the sixth band in ppm/°C, with brown equal to 100, red equal to 50, orange 15, yellow 25, blue 10, and violet 5 ppm/°C.

According to Wikipedia IEC 60062, the international resistor and capacitor marking standard specifies that a missing tolerance band on a through-hole resistor defaults to ±20%, which is why the calculator's 'No band' option returns a 20% range.

Filter design pairs the decoded resistor with combined capacitance, and the capacitors in series calculator handles the reciprocal-sum equivalent for stacked parts.

Resistor color code calculator interface showing band count selector, color pickers for each band, decoded resistance in ohms, tolerance percentage, and temperature coefficient
Resistor color code calculator interface showing band count selector, color pickers for each band, decoded resistance in ohms, tolerance percentage, and temperature coefficient

Frequently Asked Questions

Q: What is a resistor color code calculator?

A: A resistor color code calculator decodes the colored bands printed on a through-hole resistor and reports the resistance in ohms, kΩ, or MΩ, plus the tolerance range from the tolerance band and, on six-band parts, the temperature coefficient in ppm/°C. It also encodes a target resistance back into a color sequence.

Q: How do you read the bands on a 4-band resistor?

A: Hold the resistor with the tolerance band on the right. Read the first two bands as a two-digit number, multiply by the multiplier band (which is a power of ten, or ×0.1 for gold and ×0.01 for silver), then read the rightmost band as the tolerance. Red, red, brown, gold decodes to 220 Ω with ±5% tolerance.

Q: What does the tolerance band on a resistor mean?

A: The tolerance band tells you how much the actual resistance can differ from the printed nominal value. Brown is ±1%, red is ±2%, gold is ±5%, silver is ±10%, and a missing tolerance band defaults to ±20% under IEC 60062. Tighter tolerances usually correspond to five-band or six-band parts.

Q: How do you read a 5-band or 6-band resistor?

A: A five-band resistor reads three digit bands instead of two before the multiplier and tolerance bands, so it has three significant figures instead of two. A six-band resistor adds a temperature coefficient band on the right edge expressed in ppm/°C, with brown equal to 100, red equal to 50, orange 15, yellow 25, blue 10, and violet 5 ppm/°C.

Q: What is the difference between ohms, kilohms, and megohms?

A: All three are SI prefixes on the same unit, the ohm. One kilohm equals 1,000 Ω, one megohm equals 1,000,000 Ω, and one gigohm equals 1,000,000,000 Ω. The calculator picks the prefix that keeps the printed value between 1 and 999 so the answer stays readable.

Q: Why do some resistors have a gold or silver multiplier band?

A: Gold and silver on the multiplier position are used on resistors below 10 Ω where a standard power-of-ten multiplier would not fit. Gold means ×0.1 (so 10 × 0.1 = 1 Ω) and silver means ×0.01 (so 56 × 0.01 = 0.56 Ω). The same two colors on the tolerance position mean ±5% and ±10% rather than a multiplier.