What the Resistor Color Code Calculator Does
This calculator decodes a standard 4‑band resistor into its resistance value in ohms, along with its tolerance and the resulting minimum and maximum resistance range. Instead of memorising the color chart, you simply pick the color of each painted band and the tool does the math. It uses the internationally recognised electronic color code (used worldwide), so it works for any standard 4‑band carbon‑film or metal‑film resistor.
The Input Fields Explained
- 1st Band – the first significant digit. Colors run black=0, brown=1, red=2, orange=3, yellow=4, green=5, blue=6, violet=7, gray=8, white=9.
- 2nd Band – the second significant digit, using the same color‑to‑number scale.
- Multiplier – the power of ten the two digits are multiplied by. Black \(\times 1\), brown \(\times 10\), red \(\times 100\), orange \(\times 1\text{k}\), and so on, plus gold (\(\times 0.1\)) and silver (\(\times 0.01\)).
- Tolerance – how far the actual value may stray from the nominal value: brown \(\pm 1\%\), red \(\pm 2\%\), green \(\pm 0.5\%\), blue \(\pm 0.25\%\), violet \(\pm 0.1\%\), gray \(\pm 0.05\%\), gold \(\pm 5\%\), silver \(\pm 10\%\).
The Formula
The calculator combines the bands like this:
$$R = \left(10 \cdot \text{Band 1} + \text{Band 2}\right) \times \text{Multiplier}$$ $$\text{Range} = R \pm \frac{R \cdot \text{Tolerance (\%)}}{100}$$- Resistance = (band1 \(\times\) 10 + band2) \(\times\) multiplier
- Tolerance amount = (resistance \(\times\) tolerance%) \(\div\) 100
- Range = resistance − tolerance amount → resistance + tolerance amount
The result is auto‑formatted: values of 1,000,000 Ω or more show as MΩ, values of 1,000 Ω or more show as kΩ, and smaller values stay in Ω.
Worked Example
Suppose a resistor has bands yellow, violet, red, gold:
- 1st band yellow = 4, 2nd band violet = 7 → digits give 47
- Multiplier red = \(\times 100\)
- Resistance = $$(4 \times 10 + 7) \times 100 = 47 \times 100 = 4{,}700 \ \Omega = 4.70 \ \text{k}\Omega$$
- Tolerance gold = \(\pm 5\%\) → \(4700 \times 5 \div 100 = \pm 235 \ \Omega\)
- So the real value lies between 4,465 Ω and 4,935 Ω
Example Resistors Compared
The table decodes five common 4-band resistors using \(R = (10 \cdot D_1 + D_2) \times M\) and \(\text{Range} = R \pm \frac{R \cdot T}{100}\), where \(D_1\) and \(D_2\) are the first two digit bands, \(M\) is the multiplier and \(T\) is the tolerance in %.
| Bands (1st-2nd-multiplier-tolerance) | Calculation | Resistance | Tolerance | Min–Max range |
|---|---|---|---|---|
| Brown-Black-Red-Gold | \((10 \cdot 1 + 0) \times 100\) | 1 kΩ (1,000 Ω) | ±5% | 950–1,050 Ω |
| Red-Red-Brown-Gold | \((10 \cdot 2 + 2) \times 10\) | 220 Ω | ±5% | 209–231 Ω |
| Yellow-Violet-Orange-Silver | \((10 \cdot 4 + 7) \times 1000\) | 47 kΩ | ±10% | 42.3–51.7 kΩ |
| Brown-Black-Green-Gold | \((10 \cdot 1 + 0) \times 100000\) | 1 MΩ | ±5% | 950 kΩ–1.05 MΩ |
| Green-Blue-Black-Brown | \((10 \cdot 5 + 6) \times 1\) | 56 Ω | ±1% | 55.44–56.56 Ω |
Standard digit values: black 0, brown 1, red 2, orange 3, yellow 4, green 5, blue 6, violet 7, gray 8, white 9. Tolerance bands: brown ±1%, red ±2%, gold ±5%, silver ±10%.
Interpreting Your Result
The decoded resistance is the nominal value, the value the manufacturer aims for. A real resistor of that marking should measure anywhere inside the min–max range. For example, a 220 Ω ±5% resistor that measures 226 Ω is in tolerance, since \(220 \pm \frac{220 \cdot 5}{100} = 220 \pm 11\) gives 209–231 Ω.
- Tolerance and E-series: Preferred-value series are matched to tolerance. E12 values are typically used with ±10%, E24 with ±5% and E96 with ±1%. A smaller tolerance means more standard values per decade, so the values sit closer together.
- Measured value outside the range: This suggests that the resistor is damaged or has drifted (often from overheating), that it was measured while still in a circuit (parallel paths lower the reading), or that a band was misread. Check the band order and look for discoloration or burn marks. Measure with one lead lifted from the board.
- Reading direction: The tolerance band (gold or silver) is usually set slightly apart from the others and goes on the right. Gold and silver are never first-digit colors.
Limits of a 4-band code: The code gives only resistance and tolerance. It does not show power rating (such as 1/4 W or 1/2 W), which you must judge from the physical size or the datasheet. 5-band resistors use three significant digits (for example 1.00 kΩ ±1%) followed by a multiplier and a tolerance band, so this 4-band decoder does not apply to them. Precision ±1% parts are commonly marked this way, since E96 values need three digits.
Frequently Asked Questions
Which way do I read the bands? Hold the resistor so the tolerance band (usually gold or silver) is on the right, then read from left to right.
Why is there no third digit option? This tool handles 4‑band resistors, where only the first two bands are significant digits and the third is the multiplier. Five‑band resistors use three digit bands.
What if the tolerance band has no color? A missing fourth band traditionally means \(\pm 20\%\) tolerance, but standard color codes start at silver (\(\pm 10\%\)).