Resistor Color Code Calculator
Reading a Resistor's Value Without a Meter
Resistors are usually too small to print a legible number on, so their value is encoded instead as a sequence of colored bands — a system that's been standard in electronics since the mid-20th century and still shows up on nearly every through-hole resistor made today. Once you know the code, reading a resistor takes seconds; this calculator decodes the bands into an exact resistance value and tolerance.
The Formula
The first two (or three, on 5-band resistors) bands form the significant digits, and the next band multiplies them:
Tolerance = ± (value of the tolerance band)
A 4-band resistor uses 2 significant digits; a 5-band resistor uses 3, giving finer precision before the multiplier is applied.
Where This Calculation Matters
- Circuit repair and reverse-engineering — identifying an unlabeled resistor's value when swapping a failed component or tracing an existing circuit.
- Component sorting — quickly verifying a bag of mixed resistors matches its labeled value before using them in a build.
- Electronics education — learning and checking the standard color code without needing a multimeter on hand.
- Kit and prototype assembly — confirming the correct resistor is being placed in a breadboard or PCB position before soldering.
Color Code Reference
| Color | Digit | Multiplier | Tolerance |
|---|---|---|---|
| Black | 0 | ×1 | — |
| Brown | 1 | ×10 | ±1% |
| Red | 2 | ×100 | ±2% |
| Orange | 3 | ×1,000 | — |
| Yellow | 4 | ×10,000 | — |
| Green | 5 | ×100,000 | ±0.5% |
| Blue | 6 | ×1,000,000 | ±0.25% |
| Violet | 7 | ×10,000,000 | ±0.1% |
| Gray | 8 | ×100,000,000 | ±0.05% |
| White | 9 | ×1,000,000,000 | — |
| Gold | — | ×0.1 | ±5% |
| Silver | — | ×0.01 | ±10% |
| None | — | — | ±20% |
Brown-Black-Red-Gold decodes to 1,000 Ω (1 kΩ) ±5% — a very common value. Yellow-Violet-Orange decodes to 47,000 Ω (47 kΩ).
How to Use This Calculator
- Choose 4-Band Resistor or 5-Band Resistor.
- Select the color for each significant digit band (band 1, band 2, and band 3 on 5-band resistors).
- Select the Multiplier band color.
- Select the Tolerance band color (defaults to None, ±20%, if left unset).
- Select Calculate to see the resistance value with proper unit (Ω, kΩ, or MΩ) and tolerance.
Related Calculations
Working with capacitors on the same circuit? Use the Capacitor Charge Calculator. Need general storage or bandwidth unit conversions instead? See the Storage Calculator.
Principles of Electronic Resistor Color Code Decoding
A resistor color code calculator decodes the colored visual bands painted on axial-lead through-hole fixed resistors into their nominal electrical resistance value (in Ohms Ω, kilo-Ohms kΩ, or mega-Ohms MΩ), manufacturing tolerance percentage (±%), and temperature reliability coefficients. Standardized internationally under IEC 60062 / EIA-RS-279, color banding provides quick visual identification on circuit boards.
Standard Color Code Values and Mnemonics
| Band Color | Significant Digit | Multiplier Band (10n) | Tolerance Band (±%) | Temp. Coeff. (6-Band TCR) |
|---|---|---|---|---|
| Black | 0 | 100 = ×1 Ω | — | 250 ppm/°C |
| Brown | 1 | 101 = ×10 Ω | ±1% (F) | 100 ppm/°C |
| Red | 2 | 102 = ×100 Ω | ±2% (G) | 50 ppm/°C |
| Orange | 3 | 103 = ×1 kΩ | — | 15 ppm/°C |
| Yellow | 4 | 104 = ×10 kΩ | — | 25 ppm/°C |
| Green | 5 | 105 = ×100 kΩ | ±0.5% (D) | 20 ppm/°C |
| Blue | 6 | 106 = ×1 MΩ | ±0.25% (C) | 10 ppm/°C |
| Violet | 7 | 107 = ×10 MΩ | ±0.1% (B) | 5 ppm/°C |
| Gray | 8 | 108 = ×100 MΩ | ±0.05% | 1 ppm/°C |
| White | 9 | 109 = ×1 GΩ | — | — |
| Gold | — | 10-1 = ×0.1 Ω | ±5% (J) | — |
| Silver | — | 10-2 = ×0.01 Ω | ±10% (K) | — |
4-Band, 5-Band, and 6-Band Decoding Rules
- 4-Band Resistors (Standard ±5% / ±10%): [Digit 1] [Digit 2] × [Multiplier] ± [Tolerance].
- 5-Band Resistors (Precision 1% Metal Film): [Digit 1] [Digit 2] [Digit 3] × [Multiplier] ± [Tolerance].
- 6-Band Resistors (High Precision / Military): [Digit 1] [Digit 2] [Digit 3] × [Multiplier] ± [Tolerance] [Temperature Coefficient TCR].
Step-by-Step Worked Calculation Example
Example: Decoding a 5-Band Precision Metal Film Resistor
Problem: Decode a 5-band resistor with the color sequence: Yellow - Violet - Black - Orange - Brown. Calculate: (1) Nominal resistance value; (2) Manufacturing tolerance; and (3) Minimum and maximum acceptable resistance range.
Step 1: Map color bands to numerical values:
Band 1 (Yellow) = 4
Band 2 (Violet) = 7
Band 3 (Black) = 0 &implies; Significant Digits = 470
Band 4 (Orange) = Multiplier 103 (×1,000)
Band 5 (Brown) = Tolerance ±1.0%
Step 2: Calculate nominal resistance:
Resistance = 470 × 1,000 Ω = 470,000 Ω = 470.0 kΩ ± 1%
Step 3: Calculate allowable tolerance range (±1% of 470 kΩ = ±4.7 kΩ):
Rmin = 470.0 - 4.7 = 465.3 kΩ
Rmax = 470.0 + 4.7 = 474.7 kΩ
Conclusion: The resistor has a nominal rating of 470 kΩ ±1% (acceptable multimeter reading between 465.3 kΩ and 474.7 kΩ).
Standard EIA Decade Values (E12, E24, E96)
Resistors are manufactured in logarithmic decade standard values defined by the EIA (e.g., E24 series for 5% resistors: 10, 11, 12, 13, 15, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 43, 47, 51, 56, 62, 68, 75, 82, 91), ensuring adjacent tolerance bands overlap smoothly.
Surface Mount Device (SMD) Resistor Coding Systems
Modern miniaturized printed circuit boards (PCBs) utilize tiny rectangular Surface Mount Device (SMD) chip resistors (such as 0805, 0603, or 0402 package sizes) labeled with alphanumeric codes rather than color bands:
- 3-Digit SMD Code (5% Standard): First two digits are significant figures; third digit is power-of-ten multiplier.
- Example "472": 47 × 10² = 4,700 Ω = 4.7 kΩ.
- Example "100": 10 × 100 = 10 Ω (not 100 Ω!).
- 4-Digit SMD Code (1% Precision): First three digits are significant; fourth is multiplier.
- Example "1001": 100 × 101 = 1,000 Ω = 1.0 kΩ.
- EIA-96 Precision System (Alphanumeric): Two digits (01 to 96) represent a 3-digit significant value from the E96 table, followed by a letter multiplier (A = ×1, B = ×10, C = ×100, D = ×1,000).
- Example "01C": 01 (lookup = 100) × 100 (C) = 10.0 kΩ ±1%.
- Zero-Ohm Jumpers ("0" or "000"): Act as PCB wire trace bridges carrying zero nominal resistance.
Pulse Power Ratings and Overload Energy Limits
In addition to continuous steady-state power ratings (e.g., 1/4 Watt), resistors possess transient pulse energy ratings (measured in Joules). High-voltage surge pulses can cause instantaneous dielectric arc breakdown before thermal equilibrium is reached.
Zero-Ohm Jumpers and Current Shunt Resistors
In automated robotic PCB pick-and-place assembly, circuit designers use Zero-Ohm Jumpers (marked with a single black band or "0" SMD code) to bridge circuit traces across single-layer circuit boards without adding manual jumper wires.
Precision Four-Terminal Kelvin Current Sense Resistors
When measuring high-current power flows in battery management systems, standard two-lead resistors introduce parasitic lead contact resistance errors. Electronic engineers implement 4-Terminal Kelvin Resistors: two heavy outer copper terminals carry high current (I), while two inner high-impedance sense terminals measure the exact millivolt drop (V) across the precision alloy element, calculating current via Ohm's Law (I = V / R) with 0.1% measurement accuracy.
Wirewound vs. Metal Film vs. Carbon Composition Resistors
Resistor technologies are selected based on circuit frequency and power dissipation requirements:
- Metal Film (Precision 1%): Low thermal noise, low temperature coefficient (TCR 50 ppm/°C), ideal for precision instrumentation and audio preamplifiers.
- Wirewound (Power & Snubber): High surge energy handling and high power ratings (5W to 100W+), but exhibits parasitic inductance at radio frequencies.
- Carbon Composition (Pulse Surge): Solid slug design tolerates massive high-voltage electrostatic discharge (ESD) pulses without open-circuit flashover.
MELF (Metal Electrode Leadless Face) Resistor Codes
In high-reliability automotive and medical electronics, cylindrical SMD resistors known as MELF Resistors utilize standard color code bands painted around their cylindrical bodies, combining SMD surface-mount pick-and-place packaging with the thermal precision and moisture resistance of metal film through-hole resistors.
E96 Precision Resistor Decade Values
The EIA E96 series establishes 96 standardized resistance values per decade for 1% metal film resistors, providing complete logarithmic coverage across electronic circuits.