Hobby Hour Resistor Code Calculator
- Tolerance
- %
- Result
- 1st band color
- 2 Black=0, Brown=1, Red=2, Orange=3, Yellow=4, Green=5, Blue=6, Violet=7, Grey=8, White=9
- You entered
- 2nd band color
- 5 Black=0, Brown=1, Red=2, Orange=3, Yellow=4, Green=5, Blue=6, Violet=7, Grey=8, White=9
- You entered
The Hobby Hour resistor code calculator is a free online tool that decodes the color bands on through-hole resistors, telling you the resistance value in ohms, the tolerance, and in some cases the temperature coefficient. You enter the number of bands (4, 5, or 6) and select the color of each band, and the calculator returns the nominal resistance and the tolerance percentage. It is one of the most widely used references for electronics hobbyists because it handles the standard E-series color codes exactly as defined in the IEC 60062 standard.
Formula
For a 5-band resistor (the most common among hobbyists), the resistance is calculated as:
R = (digit1 × 100 + digit2 × 10 + digit3) × multiplier
- digit1 – value of the first color band (0–9)
- digit2 – value of the second color band (0–9)
- digit3 – value of the third color band (0–9)
- multiplier – power of ten (or 0.1 for gold, 0.01 for silver) that scales the digits
- tolerance – percentage deviation from the nominal value (e.g., ±5%)
For a 4-band resistor, the third digit is omitted, so the formula becomes R = (digit1 × 10 + digit2) × multiplier. The 6-band version adds a sixth band that indicates the temperature coefficient in ppm/°C, but it does not affect the resistance value.
Worked Example
Using the default values from the calculator: band1 = Red (2), band2 = Green (5), band3 = Brown (1), band4 = Red (×100), band5 = Gold (±5%).
- Combine the digits: 2, 5, 1 → 251
- Multiply by the multiplier: 251 × 100 = 25,100 ohms
- Apply tolerance: 25,100 Ω ±5% (i.e., between 23,845 Ω and 26,355 Ω)
The calculator displays 25100 ohms and 5% tolerance, matching the manual calculation.
How to Read a Resistor
Resistors are marked with colored bands that are read from left to right, with the tolerance band usually separated by a gap or placed at the end. The first few bands represent significant digits, the next band is the multiplier (a power of ten), and the last band is the tolerance. For 4-band resistors, the first two bands are digits, the third is the multiplier, and the fourth is tolerance. For 5-band, the first three are digits. For 6-band, the sixth is temperature coefficient.
Color-to-digit mapping is standard: black=0, brown=1, red=2, orange=3, yellow=4, green=5, blue=6, violet=7, grey=8, white=9. The multiplier uses the same colors but with gold (×0.1) and silver (×0.01) for values below 1 ohm.
Why Use a Calculator Instead of Memorizing?
While many hobbyists memorize the color chart, a calculator reduces errors when you are dealing with non-standard values or when the bands are faded. It also helps with 5-band resistors, which are common in precision circuits but have an extra digit that can be confusing. A calculator is especially useful when you need to quickly check a resistor from a mixed bin or when you are sorting components.
Another advantage: the calculator works in both directions. You can enter the color bands to get the value, or you can look up a desired resistance and see what color bands to look for. Some online calculators also include a reverse mode, but the Hobby Hour version focuses on decoding bands.
Common Mistakes and Misconceptions
- Reading direction – Always look for the tolerance band (gold or silver) and read from the opposite end. If there is no gap, the tolerance band is usually wider or spaced apart.
- Confusing gold and silver multipliers – Gold is 0.1, silver is 0.01. A resistor with brown, black, gold is 1 ohm, not 10 ohms.
- Assuming all resistors have 4 bands – Many modern resistors are 5-band, especially 1% tolerance ones. Misreading a 5-band as a 4-band gives a value that is off by a factor of 10.
- Ignoring tolerance – The tolerance tells you the range of possible actual resistance. For a 100 Ω ±20% resistor, the actual value could be anywhere from 80 to 120 Ω.
A common misconception is that the color code is the same for all resistor types. In reality, surface-mount resistors (SMD) use a numerical code, and some military or precision resistors use a different marking system. The color band system applies only to through-hole axial resistors.
How to Choose the Right Calculator
When selecting a resistor color code calculator, look for one that supports 4, 5, and 6 bands, includes the tolerance and temperature coefficient, and has a clear visual representation of the bands. The Hobby Hour calculator is popular because it is simple and accurate. However, you can also use mobile apps or offline charts if you prefer. For beginners, a printable color chart can be handy, but a calculator is more reliable for unusual values.
If you are working with SMD resistors, you need a different calculator that decodes the three- or four-digit numerical code (e.g., 103 = 10 kΩ). The Hobby Hour tool does not handle SMD codes, so you may need a separate resource.
Limitations of the Color Code
The color code is only as accurate as the printing. Faded bands, poor lighting, or color blindness can lead to misreading. Also, the code does not give you the actual measured resistance—only the nominal value and tolerance. For critical circuits, you should always measure with a multimeter. Additionally, the color code does not indicate power rating or voltage rating; those are determined by the resistor’s physical size and material.
The temperature coefficient (6th band) is rarely needed for hobby projects, but it matters in precision analog circuits where resistance changes with temperature. The standard values are brown (100 ppm/°C), red (50 ppm/°C), orange (15 ppm/°C), and yellow (25 ppm/°C).
Frequently Asked Questions
How do I read a 4-band resistor? The first two bands are digits, the third is the multiplier (power of ten), and the fourth is tolerance. For example, brown-black-red-gold = 1 0 ×100 = 1000 Ω ±5%.
What does the gold band mean? On the multiplier position, gold means multiply by 0.1. On the tolerance position, gold means ±5%. Always check the position.
Can I use the calculator for SMD resistors? No, SMD resistors use a numerical code (e.g., 472 = 4.7 kΩ). You need a separate SMD code calculator.
Why does my resistor have 5 bands? 5-band resistors have an extra significant digit, allowing for tighter tolerances (usually 1%). The first three bands are digits, the fourth is multiplier, the fifth is tolerance.
What is the temperature coefficient band? The 6th band on a 6-band resistor indicates how much the resistance changes with temperature, in ppm/°C. It is not present on most hobby resistors.
How accurate is the color code? The color code gives the nominal value, but the actual resistance can vary within the tolerance range. For a 100 Ω ±5% resistor, the actual value is between 95 and 105 Ω. Always measure if precision matters.
Related
Formula used
in band1 | 1st band color | Black=0, Brown=1, Red=2, Orange=3, Yellow=4, Green=5, Blue=6, Violet=7, Grey=8, White=9 | 2 in band2 | 2nd band color | Black=0, Brown=1, Red=2, Orange=3, Yellow=4, Green=5, Blue=6, Violet=7, Grey=8, White=9 | 5 in band3 | 3rd band color (5-band only) | Black=0, Brown=1, Red=2, Orange=3, Yellow=4, Green=5, Blue=6, Violet=7, Grey=8, White=9 | 1 in band4 | Multiplier color | Black=1, Brown=10, Red=100, Orange=1000, Yellow=10000, Green=100000, Blue=1000000, Violet=10000000, Grey=100000000, White=1000000000, Gold=0.1, Silver=0.01 | 100 in band5 | Tolerance color | Brown=1, Red=2, Gold=5, Silver=10 | 5 out resistance | Resistance | ohms | (band1*100 + band2*10 + band3) * band4 | 0 out tolerance | Tolerance | % | band5 | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.