Resistor Color Calculator
Value entries: 123, 1%, 5 Band | 12, 5%, 20 ppm/K
Color entries: Black, White, Blue, Yellow | Black, White, Blue, Yellow, Gold
The earliest resistors were large, bulky wirewound components used in early radio and telegraph systems. These resistors had their resistance values printed directly on their bodies, which was practical for large components but became problematic as electronics miniaturized. In the 1920s, as radios became smaller, manufacturers needed a more compact way to indicate resistance values on tiny components. [Wikipedia, Resistor]
The color code system emerged from the need for a standardized, visually readable marking system that could be applied to small cylindrical components. The Radio Manufacturers Association (RMA) began promoting standardized color codes in the 1920s and 1930s. [Wikipedia, Electronic Color Code]
The modern resistor color code was formally standardized internationally in 1952 by the International Electrotechnical Commission (IEC) as IEC 62:1952. It was subsequently published in the United States as EIA RS-279 in 1963 by the Electronic Industries Alliance (EIA), the successor organization to the Radio Manufacturers Association. The system uses colored bands painted around the resistor body to encode the resistance value, tolerance, and reliability information. This standardization allowed technicians and engineers worldwide to identify resistor values at a glance without needing to read tiny printed numbers. The current international standard is IEC 60062:2016. [Wikipedia, Electronic Color Code]
The standard color order for resistor bands is: black, brown, red, orange, yellow, green, blue, violet, gray, white (digits 0–9), with gold and silver used for tolerance bands. Electronics students have memorized this sequence for decades using mnemonic phrases, where the first letter of each word corresponds to the first letter of each color in order. Common examples include "Better Be Right Or Your Great Big Venture Goes Wrong" and "Bad Boys Race Our Young Girls But Violet Generally Wins." The older phrase "Bad Boys Rape Our Young Girls But Violet Gives Willingly" is widely noted as the original but is considered offensive and has largely been replaced by more appropriate alternatives. [Wikipedia, List of Electronic Color Code Mnemonics]
The four band resistor became the industry standard for general purpose resistors. The first two bands represent significant digits, the third band is the multiplier (power of ten), and the fourth band indicates tolerance. This system provides adequate precision (2 significant figures) for many applications while keeping the coding simple and easy to read.
As electronic circuits required higher precision, the five band system emerged for precision resistors (1% or better tolerance). The five band system uses three significant digits for increased accuracy. The six band system adds a sixth band for temperature coefficient (measured in parts per million per Kelvin, or ppm/K), which indicates how much the resistance changes with temperature. This is critical for precision analog circuits, measurement equipment, and applications with wide temperature ranges. [Wikipedia, Electronic Color Code]
With the rise of surface mount technology (SMT) in the 1980s, through hole resistors with color bands have been partially replaced by tiny rectangular surface mount resistors. These use printed three or four digit numeric codes instead of color bands due to their small size. However, through hole resistors with color bands remain widely used in prototyping, education, hobby electronics, and applications where manual assembly and repair are expected. [Wikipedia, Surface Mount Technology]
Resistor color codes use a simple positional notation similar to scientific notation. The first one, two, or three bands represent the significant digits of the resistance value. The next band (the multiplier) indicates the power of ten by which the significant digits should be multiplied. For example, a resistor with bands Brown (1), Black (0), Red (multiplier of 100) represents 10 times 100 equals 1000 ohms, or 1 kilohm. [Wikipedia, Electronic Color Code]
To read a resistor, orient it so the tolerance band (gold or silver for four band resistors) is on the right side. The tolerance band is typically spaced slightly farther from the other bands or is the last band on the right. Read the bands from left to right. The first band is nearest the end of the resistor body. For four band resistors, the first two bands are digits. For five and six band resistors, the first three bands are digits. The band immediately following the digit bands is the multiplier. The final band(s) indicate tolerance (for all resistor types) and temperature coefficient (for six band resistors).
The tolerance band indicates how much the actual resistance can vary from the stated value. Gold means +/-5%, silver means +/-10%, and brown means +/-1%. Precision resistors may have blue (+/-0.25%), green (+/-0.5%), or violet (+/-0.1%) tolerance bands. For six band resistors, the sixth band indicates the temperature coefficient in parts per million per Kelvin (ppm/K). A lower ppm/K value means the resistance changes less with temperature, which is important for precision applications. Brown indicates 100 ppm/K, red indicates 50 ppm/K, orange indicates 15 ppm/K, and yellow indicates 25 ppm/K among others.
Resistor values are not arbitrary. They follow the E series preferred numbers, such as E12, E24, E48, E96, and E192. Each series defines a set of standard resistance values that are logarithmically spaced. E24 (24 values per decade) is the most common for 5% tolerance resistors. E96 (96 values per decade) is used for 1% precision resistors. The color code system directly supports these standard values through the significant digit bands. For example, a 1% resistor might have digit bands forming the number 470 (for 470 ohms) or 100 (for 100 ohms). [Wikipedia, E Series of Preferred Numbers]
A zero ohm resistor is a resistor that has been manufactured to have zero resistance. It is used as a jumper or link on printed circuit boards where a wire link would normally be placed. Zero ohm resistors are typically marked with a single black band. They behave like a short circuit but can be handled by automated pick and place machines that also handle normal resistors, simplifying assembly. [Wikipedia, Zero Ohm Link]
Each color maps to a specific digit value, multiplier, tolerance, and sometimes temperature coefficient. This mapping is universal across the electronics industry.
Black: digit 0, multiplier 1 (10^0), no standard tolerance
Brown: digit 1, multiplier 10 (10^1), tolerance +/-1%, temp coefficient 100 ppm/K
Red: digit 2, multiplier 100 (10^2), tolerance +/-2%, temp coefficient 50 ppm/K
Orange: digit 3, multiplier 1,000 (10^3), no standard tolerance, temp coefficient 15 ppm/K
Yellow: digit 4, multiplier 10,000 (10^4), no standard tolerance, temp coefficient 25 ppm/K
Green: digit 5, multiplier 100,000 (10^5), tolerance +/-0.5%, temp coefficient 20 ppm/K
Blue: digit 6, multiplier 1,000,000 (10^6), tolerance +/-0.25%, temp coefficient 10 ppm/K
Violet: digit 7, multiplier 10,000,000 (10^7), tolerance +/-0.1%, temp coefficient 5 ppm/K
Gray: digit 8, multiplier 100,000,000 (10^8), tolerance +/-0.05%, temp coefficient 1 ppm/K
White: digit 9, multiplier 1,000,000,000 (10^9), no standard tolerance
Gold: no digit value, multiplier 0.1 (10^-1), tolerance +/-5%
Silver: no digit value, multiplier 0.01 (10^-2), tolerance +/-10%
No band: tolerance +/-20% (for four band resistors without a fourth band)
For a four band resistor, the resistance value is calculated as: value = (digit1 * 10 + digit2) * multiplier. For example, a resistor with bands Yellow (4), Violet (7), Orange (1000), Gold (+/ 5%) would be calculated as 47 * 1000 = 47,000 ohms or 47 kilohms with +/ 5% tolerance.
For a five band precision resistor, the resistance value uses three significant digits: value = (digit1 * 100 + digit2 * 10 + digit3) * multiplier. This allows for more precise resistance values. For example, a resistor with bands Brown (1), Black (0), Black (0), Brown (multiplier 10), Brown (+/ 1% tolerance) would be calculated as 100 * 10 = 1,000 ohms or 1 kilohm with +/ 1% tolerance.
A six band resistor adds the temperature coefficient. The calculation is the same as the five band system for resistance and tolerance, with the sixth band indicating the temperature coefficient in ppm/K. For example, a resistor with bands Brown (1), Black (0), Black (0), Brown (multiplier 10), Brown (+/ 1% tolerance), Red (50 ppm/K) would be 1 kilohm, +/ 1% tolerance, with a temperature coefficient of 50 parts per million per Kelvin.
The resistor color code system is designed to encode EIA standard values efficiently. For 5% tolerance resistors (E24 series), 24 values exist per decade: 1.0, 1.1, 1.2, 1.3, 1.5, 1.6, 1.8, 2.0, 2.2, 2.4, 2.7, 3.0, 3.3, 3.6, 3.9, 4.3, 4.7, 5.1, 5.6, 6.2, 6.8, 7.5, 8.2, 9.1. These correspond to the two digit combinations possible with the first two color bands. For 1% resistors (E96 series), 96 values exist per decade, which is why three digit bands are used for five and six band resistors.
This tool implements the complete EIA standard color code system for 4, 5, and 6 band resistors. It correctly handles the multiplier values including gold (0.1) and silver (0.01), tolerance bands for all standard values, and temperature coefficients for six band resistors. The value to color conversion algorithm uses logarithmic scaling to find the appropriate significant digits and multiplier for any valid resistance value within the E series constraints.