Resistor Color Code Calculator
Decode 4-band and 5-band resistor color codes to find resistance values and tolerance.
About
Resistor color codes are a compact visual encoding of resistance value, multiplier, and tolerance printed as colored bands around the body of a through-hole resistor. The system was standardized in the 1920s by the Radio Manufacturers Association (RMA, later EIA) to allow assembly-line workers and engineers to identify component values without reading tiny printed numbers, which were hard to manufacture reliably on small cylindrical bodies. The code is read from the band closest to one end of the resistor, with the multiplier band immediately after the digits and the tolerance band offset slightly toward the other end.
The mnemonic "Big Boys Race Our Young Girls But Violet Generally Wins" encodes the digit sequence Black (0), Brown (1), Red (2), Orange (3), Yellow (4), Green (5), Blue (6), Violet (7), Gray (8), White (9). The two extra colors — Gold (multiplier ×0.1, tolerance ±5%) and Silver (multiplier ×0.01, tolerance ±10%) — are only used as multiplier or tolerance bands, never as digit bands, because they would create ambiguity. A resistor with no tolerance band at all is implicitly ±20% — the loosest grade and the historical default before tighter manufacturing became standard.
4-band resistors are the most common general-purpose type: two digits, one multiplier, one tolerance. 5-band resistors add a third significant digit for tighter values, common in 1% and 2% precision resistors — for example, a 4.7 kΩ 5% resistor is coded yellow-violet-red-gold (4, 7, ×100, ±5%), while a 4.75 kΩ 1% resistor is coded yellow-violet-green-red-brown (4, 7, 5, ×10, ±1%). 6-band resistors exist for temperature-critical applications, adding a sixth band for the temperature coefficient (e.g., brown = 100 ppm/°C), but are not commonly used outside precision analog work.
How to Use
- Pick the resistor band mode: 4-band (most common) or 5-band (precision, adds a third digit).
- For each band, open the dropdown and select the color you see on the resistor.
- The visual preview at the top updates with colored swatches matching your selection.
- The calculator instantly computes the nominal resistance, tolerance, and the worst-case minimum and maximum values.
- Use Reset to return to the default 1 kΩ ±5% (brown-black-red-gold) example.
- Read the resistor with the band closest to the wire on the left — that end is the "start" of the code.
Formula
Each digit band contributes its color's digit (0-9) to a place value, the multiplier band is the power of 10 to multiply by, and the tolerance band gives the accuracy:
4-band: R = (d₁ × 10 + d₂) × 10^m
5-band: R = (d₁ × 100 + d₂ × 10 + d₃) × 10^m
tolerance: ±t% (see table)
Color → digit / multiplier / tolerance table:
| Color | Digit | Multiplier | Tolerance |
|---|---|---|---|
| Black | 0 | ×1 (10⁰) | — |
| Brown | 1 | ×10 (10¹) | ±1% |
| Red | 2 | ×100 (10²) | ±2% |
| Orange | 3 | ×1k (10³) | — |
| Yellow | 4 | ×10k (10⁴) | — |
| Green | 5 | ×100k (10⁵) | ±0.5% |
| Blue | 6 | ×1M (10⁶) | ±0.25% |
| Violet | 7 | ×10M (10⁷) | ±0.1% |
| Gray | 8 | ×100M (10⁸) | ±0.05% |
| White | 9 | ×1G (10⁹) | — |
| Gold | — | ×0.1 (10⁻¹) | ±5% |
| Silver | — | ×0.01 (10⁻²) | ±10% |
| None | — | — | ±20% |
Worked Example
Decode a 4-band resistor: yellow-violet-red-gold.
- Yellow = 4, Violet = 7, Red multiplier = ×100, Gold tolerance = ±5%
- R = (4 × 10 + 7) × 100 = 47 × 100 = 4,700 Ω = 4.7 kΩ
- Worst-case range: 4,700 × 0.95 = 4,465 Ω to 4,700 × 1.05 = 4,935 Ω
Decode a 5-band precision resistor: red-red-orange-gold-brown.
- Red = 2, Red = 2, Orange = 3, Gold multiplier = ×0.1, Brown tolerance = ±1%
- R = (2 × 100 + 2 × 10 + 3) × 0.1 = 223 × 0.1 = 22.3 Ω
- Worst-case range: 22.3 × 0.99 = 22.08 Ω to 22.3 × 1.01 = 22.52 Ω
Encode a 4-band 10 kΩ ±5% resistor:
- 10 kΩ = 10 × 10³ → digits 1, 0; multiplier ×1000 = orange
- Tolerance ±5% → gold
- Final code: brown-black-orange-gold
Tips
- The classic mnemonic "Big Boys Race Our Young Girls But Violet Generally Wins" encodes Black-Brown-Red-Orange-Yellow-Green-Blue-Violet-Gray-White. Modern gender-neutral alternatives include "Bad Boys Race Our Young Girls But Violet Generally Wins" (same) or the cleaner "Black Brown Red Orange Yellow Green Blue Violet Gray White" memorized as a color-wheel progression from dark to light.
- Read the resistor from the end with bands closest to the wire — that end is the "start". The tolerance band is typically spaced slightly wider than the others, which also helps orient the resistor.
- Surface-mount (SMD) resistors use a 3-digit or 4-digit numerical code instead — 472 = 4,7 × 10² = 4.7 kΩ; 4R7 = 4.7 Ω; 0R05 = 0.05 Ω. The color code does not apply to SMD parts.
- Tolerances stack in design — for two 5% resistors in series, the worst-case combined tolerance is still ±5% (errors do not add — they combine in quadrature to ±7%, but worst-case bounds are ±5% on the sum because both errors can be at the same sign).
- The E-series (E12, E24, E96) defines the standard "preferred values" — 4.7 kΩ, 5.6 kΩ, 6.8 kΩ are E12 values, but 4.65 kΩ or 4.75 kΩ are E96 values, requiring a 5-band code. If you see an unusual value, it's probably an E96 part.
Common Mistakes
- Reading the resistor from the wrong end — always start from the band closest to the wire. The tolerance band (gold, silver, brown) is also typically spaced slightly wider than the others; this end is the "finish", not the "start".
- Confusing red and orange, or brown and red, especially under dim light — orange is distinctly yellow-leaning; red is darker. Always confirm under good lighting, especially for 1% and 2% resistors where errors are costly.
- Treating gold/silver as digit bands — they are NEVER digit bands, only multiplier or tolerance. A 4-band resistor starting with gold or silver is malformed; you are reading it from the wrong end.
- Misreading the multiplier for the tolerance — the band immediately after the digits is the multiplier (10^n); the last band, often wider-spaced, is the tolerance. Swapping them gives wildly wrong values.
- Forgetting the "no tolerance band" case — old or cheap carbon-film resistors sometimes have only 3 bands, with no separate tolerance. By default, these are ±20%; the calculator's "None" tolerance option reproduces this behavior.
Frequently Asked Questions
- What's the difference between 4-band and 5-band resistors?
- 4-band resistors encode two significant digits and a multiplier (e.g., 47 × 100 = 4,700 Ω); 5-band resistors add a third significant digit (e.g., 475 × 10 = 4,750 Ω). The 5-band form is needed for values that don't round to two digits — typically 1% and 2% precision resistors in the E96 series, like 4.75 kΩ, 4.64 kΩ, or 28.0 Ω. Most general-purpose circuits use 4-band ±5% resistors; precision analog and instrumentation use 5-band ±1% or better.
- Why are gold and silver used as multipliers (×0.1 and ×0.01)?
- Without them, sub-1-Ω values could not be expressed in two digits — the smallest standard 4-band code is 0 Ω (black-black-black), which is meaningless. Gold as a multiplier gives values like 47 × 0.1 = 4.7 Ω, and silver gives 47 × 0.01 = 0.47 Ω, covering the sub-ohm range used in current-sensing and shunt resistors. They are reserved for multiplier and tolerance use only because using them as digits would create unresolvable ambiguity (would gold-brown mean 1 followed by brown, or 0 followed by gold-as-10?)
- What does ±20% (no tolerance band) mean in practice?
- It means a 1 kΩ resistor of this grade could measure anywhere from 800 Ω to 1,200 Ω straight out of the box — a 50% spread between worst-case extremes. This was the historical default for carbon composition resistors in tube-era electronics. Modern carbon-film and metal-film resistors are nearly always ±5% (gold) or better, so a ±20% part today is rare and usually either vintage or a very cheap consumer-grade component.
- Are there 6-band resistors?
- Yes. The sixth band indicates the temperature coefficient (TC) in ppm/°C, most commonly brown (100 ppm/°C) or red (50 ppm/°C). These are used in precision analog circuits (oscillators, references, measurement bridges) where the resistance must stay nearly constant over temperature swings. The first five bands work the same as a 5-band resistor; the sixth band is just the TC indicator. This calculator supports 4-band and 5-band only, as 6-band resistors are uncommon outside precision work.
- How do I read a resistor with a black body and bands that are hard to distinguish?
- Use a multimeter on the ohms range — for through-hole parts this is the most reliable method, and modern DMMs are accurate to 0.5% or better, exceeding the resistor's own tolerance. For ambiguous color codes, also check the E-series: only certain values are standard (e.g., 4.7, 5.6, 6.8, 8.2, 10), so a near-match to a known E-value resolves the ambiguity. As a last resort, compare to a known-good resistor of the same value.
Try our other free calculators
CalcGenius has 1,200+ free, ad-free, browser-based calculators for finance, health, math, science, and everyday life. No sign-up required.