Resistor Color Code Calculator
Resistance
—
Tolerance Range
—
How the Resistor Color Code System Works
The resistor color code is a standardized system for marking the resistance value, tolerance, and sometimes the temperature coefficient of through-hole resistors using colored bands painted around the component body. This coding system was first standardized by the Electronic Industries Alliance (EIA) in the 1920s and is formally defined in international standard IEC 60062. The system encodes digits 0-9 as ten distinct colors (Black through White), with additional colors for multipliers and tolerance values. Despite the widespread adoption of surface-mount devices (SMDs) that use numeric codes, through-hole resistors with color bands remain ubiquitous in education, prototyping, repair work, and hobbyist electronics.
According to industry data, global resistor production exceeds 100 billion units per year, making resistors the most commonly used passive electronic component. The color code system allows technicians and engineers to identify resistance values quickly without test equipment, a critical skill given that resistors are found in virtually every electronic circuit from simple LED drivers to complex computer motherboards. The All About Circuits educational platform notes that memorizing the color code sequence is considered a foundational skill for anyone working in electronics.
How Resistor Values Are Calculated from Color Bands
The formula depends on whether the resistor has 4 or 5 bands:
4-Band Resistor: Value = (Band1 x 10 + Band2) x Multiplier, with tolerance from Band4.
5-Band Resistor: Value = (Band1 x 100 + Band2 x 10 + Band3) x Multiplier, with tolerance from Band5.
Worked example (4-band): Brown (1), Black (0), Red (x100), Gold (5%). Value = (1 x 10 + 0) x 100 = 1,000 ohms = 1 kohm. With 5% tolerance, the actual resistance is 950-1,050 ohms.
Worked example (5-band): Brown (1), Black (0), Black (0), Brown (x10), Brown (1%). Value = (1 x 100 + 0 x 10 + 0) x 10 = 1,000 ohms = 1 kohm. With 1% tolerance, the actual resistance is 990-1,010 ohms -- much tighter precision than the 4-band equivalent.
Key Terms You Should Know
- Resistance (ohms) -- The opposition to electric current flow, measured in ohms. Named after physicist Georg Ohm who formulated Ohm's Law (V = I x R) in 1827.
- Tolerance -- The acceptable range of variation from the stated resistance value, expressed as a percentage. A 1 kohm resistor with 5% tolerance can be anywhere from 950 to 1,050 ohms.
- Multiplier -- The power of 10 by which the significant digits are multiplied. Red (x100) means multiply by 100; Gold (x0.1) means multiply by 0.1 for sub-ohm values.
- Temperature coefficient (ppm/C) -- Found on 6-band resistors, this indicates how much the resistance changes per degree Celsius. Brown = 100 ppm/C; Red = 50 ppm/C; Orange = 15 ppm/C; Yellow = 25 ppm/C.
- E-series (E12, E24, E96) -- Standardized sets of preferred resistance values. E12 has 12 values per decade (10% tolerance), E24 has 24 (5%), and E96 has 96 (1%). These ensure that adjacent values in the series overlap within their tolerance bands.
Complete Color Code Reference Table
The table below shows the digit value, multiplier, and tolerance for each color in the resistor color code system. A common mnemonic for the digit sequence is "Bad Boys Race Our Young Girls, But Violet Generally Wins" (Black, Brown, Red, Orange, Yellow, Green, Blue, Violet, Grey, White).
| Color | Digit | Multiplier | Tolerance | Temp Coeff (ppm/C) |
|---|---|---|---|---|
| Black | 0 | x1 | -- | 250 |
| Brown | 1 | x10 | 1% | 100 |
| Red | 2 | x100 | 2% | 50 |
| Orange | 3 | x1k | -- | 15 |
| Yellow | 4 | x10k | -- | 25 |
| Green | 5 | x100k | 0.5% | 20 |
| Blue | 6 | x1M | 0.25% | 10 |
| Violet | 7 | x10M | 0.1% | 5 |
| Grey | 8 | x100M | 0.05% | 1 |
| White | 9 | x1G | -- | -- |
| Gold | -- | x0.1 | 5% | -- |
| Silver | -- | x0.01 | 10% | -- |
Practical Examples
Example 1: LED current-limiting resistor. Bands: Red (2), Red (2), Brown (x10), Gold (5%). Value = 22 x 10 = 220 ohms. This is the classic resistor value for driving a standard LED from a 5V supply: (5V - 2V forward voltage) / 220 ohms = 13.6 mA, well within the typical 20 mA LED rating.
Example 2: Pull-up resistor. Bands: Brown (1), Black (0), Orange (x1k), Gold (5%). Value = 10 x 1,000 = 10,000 ohms = 10 kohm. This is the standard pull-up resistor value for I2C communication lines and digital input pins on microcontrollers like Arduino.
Example 3: Precision 5-band resistor. Bands: Yellow (4), Violet (7), Black (0), Red (x100), Brown (1%). Value = 470 x 100 = 47,000 ohms = 47 kohm. With 1% tolerance, actual resistance is 46,530-47,470 ohms. This precision is important in filter circuits, sensor interfaces, and measurement equipment.
Tips for Reading Resistor Color Codes
- Identify the tolerance band first. Gold and silver bands are always the tolerance band (last band). Orient the resistor so this band is on the right, then read left to right.
- Look for band spacing. On most resistors, there is a slightly larger gap between the last significant digit band and the tolerance band. This gap helps confirm the reading direction.
- Use a multimeter to verify. When in doubt, measure the resistor with a digital multimeter set to the resistance range. The measured value should fall within the tolerance range of your color code reading.
- Watch for 4 vs 5 bands. 5-band resistors (1% or 2% tolerance) have three significant digit bands before the multiplier. If you see a brown or red tolerance band, it is likely a 5-band resistor with three digits of precision.
- Beware of faded or damaged bands. Old resistors may have faded colors. Brown and red can look similar, as can orange and yellow on aged components. When colors are ambiguous, use a multimeter rather than guessing.
- Learn the E-series values. Standard resistors come in preferred values (E12: 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82). If your reading produces a non-standard value, you may have misidentified a band.
Frequently Asked Questions
Which end of the resistor do I start reading from?
Start reading from the end opposite the tolerance band. The tolerance band is typically gold (5%) or silver (10%) and is positioned on the right side of the resistor. On 5-band resistors with a brown (1%) or red (2%) tolerance band, look for the slightly wider gap between the multiplier band and the tolerance band. If you are unsure about orientation, a digital multimeter provides a definitive measurement. Many modern resistors also have printed text or a dot indicating the first band.
What is the difference between 4-band and 5-band resistors?
A 4-band resistor encodes two significant digits followed by a multiplier and tolerance band, providing resistance values with two digits of precision. A 5-band resistor encodes three significant digits followed by a multiplier and tolerance band, providing three digits of precision. 5-band resistors are typically used for 1% and 2% tolerance components where greater accuracy is needed. For example, a 4-band resistor can only specify 47 kohm, while a 5-band resistor can specify 47.0 kohm, 47.5 kohm, or 46.4 kohm -- values that the 4-band system cannot represent.
What does tolerance mean on a resistor?
Tolerance is the maximum percentage by which the actual resistance may differ from the labeled (nominal) value due to manufacturing variation. A 1 kohm resistor with gold tolerance (5%) can have an actual resistance anywhere from 950 to 1,050 ohms. Silver tolerance (10%) allows 900-1,100 ohms. Brown tolerance (1%) restricts the range to 990-1,010 ohms. For most hobby and general-purpose circuits, 5% tolerance is adequate. Precision applications like audio filters, measurement circuits, and sensor interfaces typically require 1% or better tolerance.
Do 6-band resistors exist, and what does the extra band mean?
Yes, 6-band resistors include all five bands of a standard 5-band resistor plus an additional sixth band indicating the temperature coefficient in parts per million per degree Celsius (ppm/C). The temperature coefficient tells you how much the resistance changes with temperature. Brown = 100 ppm/C, Red = 50 ppm/C, Orange = 15 ppm/C, and Yellow = 25 ppm/C. A 100 ppm/C resistor at 1 kohm changes by 0.1 ohm for every degree Celsius of temperature change. 6-band resistors are used in high-precision applications like instrumentation, medical devices, and aerospace electronics where environmental temperature variation affects circuit performance.
Why do surface-mount resistors use numbers instead of colors?
Surface-mount device (SMD) resistors are too small for color bands -- common sizes like 0402 (1.0 x 0.5mm) and 0603 (1.6 x 0.8mm) have bodies smaller than a grain of rice. Instead, SMD resistors use a numeric marking code. Three-digit codes use two significant digits and a multiplier: "103" means 10 x 10^3 = 10 kohm. Four-digit codes add precision: "4702" means 470 x 10^2 = 47 kohm. The EIA-96 code used on 1% SMD resistors uses two digits and a letter: "01A" = 100 ohms. Through-hole color-coded resistors remain standard for prototyping, breadboard work, and educational purposes.
How do I calculate the right resistor value for my circuit?
Use Ohm's Law (R = V / I) to calculate the required resistance. For an LED circuit: subtract the LED forward voltage from the supply voltage, then divide by the desired current. Example: (5V - 2V) / 0.020A = 150 ohms. Choose the nearest standard E-series value (150 ohms is in the E12 series). For voltage dividers, use Vout = Vin x R2 / (R1 + R2). For pull-up and pull-down resistors, 4.7 kohm to 10 kohm is standard for most digital logic applications. Always verify your calculation with the actual resistor value using this color code calculator before soldering.