Every through-hole resistor in electronics is colour-coded with a series of painted bands that encode its resistance value and tolerance.
What is a resistor color code calculator?
A resistor color code calculator decodes the painted bands on through-hole resistors into resistance in ohms and tolerance percent. Choose 4-band or 5-band mode, then pick each band colour from the dropdowns. It multiplies digit values by the multiplier band and applies tolerance for min and max resistance. You can verify bench stock without a multimeter for every part.
How to use the Resistor Color Code Calculator
- Select 4-band or 5-band resistor type.
- Pick digit colours for bands one and two.
- For 5-band, set the third digit band.
- Choose multiplier and tolerance band colours.
- Read ohms, tolerance, and allowed resistance range.
About this calculator
Every through-hole resistor in electronics is colour-coded with a series of painted bands that encode its resistance value and tolerance. The colour code is one of the oldest standardised systems in electronics, dating to before World War II, and remains universal today. Once you can read the bands fluently, you can identify any resistor on a workbench, in a kit or on a PCB without a multimeter.
The code uses three pieces of information. The first 2 (or 3, for precision resistors) bands are the significant digits of the resistance, with each colour mapped to a digit 0-9. The next band is the multiplier -- a power of 10 used to scale the digits up or down. The final separate band, often gold or silver, gives the manufacturing tolerance as a percentage. A 4-band resistor is the most common, with 2 digits + multiplier + tolerance. A 5-band precision resistor has 3 digits + multiplier + tolerance, giving an extra significant figure for tighter accuracy.
For example, a resistor with bands yellow, violet, red, gold reads 4-7-×100-±5%, giving 4700 Ω or 4.7 kΩ ± 5%. With ±5% tolerance, the actual resistance can be anywhere from 4465 Ω to 4935 Ω. For analog filters, audio circuits, and instrumentation amplifiers, you'd choose a precision 5-band resistor with 1% or even 0.1% tolerance, recognised by brown or violet tolerance bands. Combine this calculator with the [[voltage-divider]] calculator to size resistor pairs for output voltages, and the [[paint]] calculator and others in the everyday section for non-electronic projects.
Formula for resistor color code values
4-band: R = (d1 × 10 + d2) × multiplier ± tolerance%
5-band: R = (d1 × 100 + d2 × 10 + d3) × multiplier ± tolerance%- d1, d2, d3 are digit values 0–9 from band colours
- multiplier scales the digits (red = ×100, orange = ×1000)
- tolerance is the manufacturing accuracy percent
Worked examples
4-band brown-black-red-gold
Decode a 4-band resistor with brown, black, red, gold bands.
• Digits: brown = 1, black = 0 → 10. • Multiplier: red = ×100 → 10 × 100 = 1,000 Ω = 1 kΩ. • Tolerance: gold = ±5% → value is 950 Ω to 1,050 Ω.
5-band yellow-violet-black-red-brown
Decode a 5-band precision resistor with yellow, violet, black, red, brown bands.
• Three significant digits: yellow = 4, violet = 7, black = 0 → 470. • Multiplier: red = ×100 → 470 × 100 = 47,000 Ω = 47 kΩ. • Tolerance: brown = ±1% → value range 46.53 kΩ to 47.47 kΩ.
Low-value resistor with silver multiplier
Decode a 4-band resistor with red, red, silver, gold.
• Digits: red = 2, red = 2 → 22. • Multiplier: silver = ×0.01 → 22 × 0.01 = 0.22 Ω. • Tolerance: gold = ±5%. Typical application: current-sense shunts in motor-driver or power-monitoring circuits.
Common uses
- Identifying resistor values on a hobbyist breadboard or PCB without a multimeter
- Quick reference during DIY Arduino, Raspberry Pi and ESP32 builds
- Teaching electronics fundamentals -- decoding the colour code is a Day 1 lesson
- Sorting and labelling bulk resistor kits when packaging gets jumbled
- Verifying purchased resistors match the design specification before assembly
Frequently asked questions
What does the gold band on the multiplier mean?
Gold as a multiplier means × 0.1, used for sub-ohm resistors. For example, brown-black-gold = 1.0 Ω. Silver as multiplier means × 0.01, even smaller. Gold and silver as tolerance bands mean ±5% and ±10% respectively.
How do I know which side to start reading from?
The tolerance band is usually gold, silver or wider than the others, and is placed slightly apart from the digit bands. Hold the resistor with the tolerance band on the right, then read the digit bands from left to right.
Why are some resistors 4-band and some 5-band?
4-band is the standard for general-purpose resistors with ±5% or ±10% tolerance. 5-band is used for precision resistors (typically ±1% or better) where an extra significant digit is needed. Some 6-band resistors also include a temperature coefficient as the sixth band.
Can I check the value with a multimeter?
Yes -- always verify critical resistors with a multimeter before assembly, especially in feedback loops, current-limiting applications or anywhere the wrong value could damage components. The colour code can wear or fade on old resistors.
What about SMD (surface mount) resistors?
SMD resistors don
Deep dive
What each band represents
Digits, multiplier, tolerance, optionally temp coefficient.
Tolerance band colours
Gold, silver, brown, red and others.
Related calculators
- Scientific Calculator
- Ohm's Law Calculator
- Electricity Cost Calculator
- BTU Calculator
- Speed Calculator
- Bandwidth Calculator
- Wind Chill Calculator
- Heat Index Calculator
Maintained by J Jaya Prakash · Last updated: October 2026