Loona Construction Calculators
Loona Construction Calculators › Electrical › Resistor Color Code Calculator

🌈 Resistor Color Code Calculator

Pick the colors painted on a resistor — 4-band, 5-band or 6-band — and read off its resistance, tolerance and (for 6-band) temperature coefficient. Or switch to reverse mode: type a value in ohms and get the bands you should see.

How to use the Resistor Color Code Calculator

  1. Choose forward or reverse mode and the band count printed on the resistor.
  2. Forward: set each band's color in order, starting with the band nearest one end (the tolerance band — gold, silver or widely spaced — is read last).
  3. Reverse: enter the value in ohms and the tolerance you want; the calculator names the band colors and the exact value they represent.
Example: Yellow – violet – brown – gold on a 4-band resistor: 4, 7, ×10 → 470 Ω ±5%.

Frequently Asked Questions

Which end do I read from?

Start at the end where the bands are clustered closest to the edge, and read toward the tolerance band — usually gold, silver, or set apart with a wider gap. On 4-band parts, if both ends look similar, the first band is never gold or silver (they are not digit colors), which settles the direction.

What is the difference between 4-band and 5-band resistors?

Precision. A 4-band part encodes two significant digits and is fine at ±5% or ±10%. A 5-band part encodes three digits, so values like 4.99 kΩ can be specified exactly, and tolerances are usually ±1% or better (metal-film types).

What does the 6th band mean?

The temperature coefficient: how much the resistance drifts per degree of temperature change, in parts per million per kelvin. 50 ppm/K means a 1,000 Ω resistor changes by about 0.05 Ω per degree — relevant in precision and measurement circuits, rarely in everyday ones.

Related Calculators

💡

LED Resistor Calculator

Electrical

⚡

Ohm's Law Calculator

Electrical

📏

AWG Converter

Electrical

〰️

Reactance Calculator

Electrical

How it works — the formula

4-band: Value = (10 × d1 + d2) × multiplier, 4th band = tolerance
5-band: Value = (100 × d1 + 10 × d2 + d3) × multiplier, 5th band = tolerance
6-band: as 5-band, 6th band = temperature coefficient (ppm/K)

Digit colors: black 0, brown 1, red 2, orange 3, yellow 4, green 5, blue 6, violet 7, gray 8, white 9. Multipliers run ×0.01 (silver) and ×0.1 (gold) up to ×10⁹ (white). Tolerances: gold ±5%, silver ±10%, no band ±20%, and the precision colors brown ±1%, red ±2%, green ±0.5%, blue ±0.25%, violet ±0.1%, gray ±0.05%. Temperature coefficients: brown 100, red 50, orange 15, yellow 25, green 20, blue 10, violet 5, gray 1 ppm/K (black 250).

Worked example

4-band, yellow–violet–brown–gold: digits 4 and 7 give 47; the brown multiplier is ×10; 47 × 10 = 470 Ω; gold means ±5%, so the true value lies between 446.5 Ω and 493.5 Ω. Reverse check: 4,700 Ω in 4-band form is 47 × 100, and ×100 is the red multiplier — yellow, violet, red, plus your tolerance band.

Frequently asked questions

Why does reverse mode sometimes say the value cannot be shown exactly?

Because a 4-band code holds only two significant digits. 4,720 Ω needs three (4-7-2), so a 4-band resistor simply does not exist at that exact value — the calculator shows the nearest representable one and says so, rather than pretending.

Can I trust the colors on an old or burnt resistor?

Heat and age fade colors — red, orange and brown become hard to tell apart, and a burnt resistor's value may have drifted anyway. When in doubt, measure with a multimeter (out of circuit, or with one leg lifted) instead of trusting the bands.

What about resistors with only 3 bands, or SMD codes?

A 3-band resistor is read like a 4-band with an implied ±20% tolerance. SMD (surface-mount) parts use printed digit codes instead of colors — a different system not covered by this calculator.

Embed this calculator on your website — free

Add this calculator to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the calculator to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.