Resistor color code calculator
Pick the color of each band from left to right and the calculator reads the resistance, the tolerance and the range the part should measure within. It handles 4-band, 5-band and 6-band resistors, and shows how the same value is marked with the other band count.
Example: 4.7 kΩ ±5%
Yellow, Violet, Red, Gold reads 47 × 100 = 4,700 Ω. A part in tolerance measures between 4.465 kΩ and 4.935 kΩ.
- Band 1: Yellow, digit 4
- Band 2: Violet, digit 7
- Band 3: Red, multiplier × 100
- Band 4: Gold, tolerance ±5%
| Resistance | 4.7 kΩ (4,700 Ω) |
|---|---|
| Tolerance | ±5% |
| In-spec range | 4.465 kΩ to 4.935 kΩ |
| Temperature coefficient | Not marked (no sixth band) |
| As a 4-band code | Yellow, Violet, Red, then the tolerance band |
| As a 5-band code | Yellow, Violet, Black, Brown, then the tolerance band |
| Standard series | E6, E12, E24 |
Worked from the formula shown for low-voltage DC circuits. Part values vary within their tolerance, so confirm with a multimeter and the parts' datasheets before you rely on a figure.
The formula, with a worked example
- 4-band: resistance = (first digit × 10 + second digit) × multiplier, and band 4 is the tolerance.
- 5-band: resistance = (first digit × 100 + second digit × 10 + third digit) × multiplier, and band 5 is the tolerance.
- 6-band: read it exactly like a 5-band part; band 6 adds the temperature coefficient in ppm per kelvin.
- Worked example (yellow, violet, red, gold): yellow is 4 and violet is 7, so the digits read 47. Red is a multiplier of 100, so 47 × 100 = 4,700 Ω, written 4.7 kΩ or 4k7.
- Gold in the tolerance position means ±5%: 4,700 × 0.95 = 4,465 Ω and 4,700 × 1.05 = 4,935 Ω, so a good part measures somewhere between those two.
- Gold and silver in the multiplier position divide instead: orange, orange, gold, gold is 33 ÷ 10 = 3.3 Ω, and brown, black, silver, silver is 10 ÷ 100 = 0.1 Ω.
Which end to start reading from
Hold the resistor so the bands bunched closest to one lead are on your left. The band nearest that lead is band 1. On most parts the last band sits a little apart from the others, with a wider gap before it, and that lonely band is the tolerance.
Gold and silver never appear as the first band, so if one end has a gold or silver stripe, that end is the right-hand side. Black never starts a standard value either, which is why this calculator refuses black in band 1: it almost always means the part is upside down.
When neither clue helps, read it both ways and see which answer is a real stock value. Brown, black, orange, gold reads 10 kΩ. Backwards it would start with gold, which is impossible. A 5-band part read backwards usually lands on an odd number that is in no E-series at all, and the calculator flags that.
What each band means on 4, 5 and 6-band resistors
Common carbon-film parts use four bands: two significant digits, a multiplier and a tolerance. Two digits are enough for the 5% and 10% values in the E12 and E24 series, such as 22, 47 or 68 followed by zeros.
Precision metal-film parts usually carry five bands, because 1% values like 4.99 kΩ or 1.21 kΩ need three significant digits. The first three bands are digits, the fourth is the multiplier and the fifth is the tolerance, very often brown for 1%.
A sixth band, when present, gives the temperature coefficient: how far the value moves per degree of temperature change, in parts per million per kelvin. Brown means 100 ppm/K, so a 10 kΩ part drifts about 1 Ω for every degree it warms.
The multiplier band is a power of ten. Black multiplies by 1, brown by 10, red by 100, orange by 1,000 and so on up to white for a billion. Gold divides by 10 and silver by 100, which is how values under 10 Ω get marked.
Tolerance and what your meter should read
The tolerance band tells you how far a new part may sit from its marked value. A 220 Ω resistor with a gold band can read anywhere from 209 to 231 Ω and still be in spec. The min and max in the result above are exactly that window.
Measure out of circuit, with the part cool and your fingers off both leads, because your body adds a parallel path on high values. A reading inside the window confirms the bands. A reading far outside it usually means the colors were misread, most often red against orange or brown against red, rather than a faulty part.
Why resistor values look so odd: the E-series
Manufacturers do not make every value. They make the preferred numbers of IEC 60063, spaced so each value overlaps its neighbours once tolerance is counted. The E12 series, for 10% parts, has twelve steps per decade: 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68 and 82.
E24 doubles that for 5% parts and E96 carries ninety-six three-digit steps for 1% parts. The result above lists which of these series your value belongs to. A value in none of them is a strong hint that a band was read wrongly or the part was read from the wrong end.
Colors that are hard to tell apart
Red, orange and brown look alike under warm light, and violet often passes for brown or grey on cheap parts. Daylight or a white LED torch helps, and so does comparing against a known part from the same bag.
Blue-bodied metal-film resistors make the colors harder still, because the paint sits on a coloured background. If the value matters, a two-second meter check settles it faster than staring at the stripes.
Resistor color code chart
| Color | Digit | Multiplier | Tolerance | Temp. coefficient |
|---|---|---|---|---|
| Black | 0 | × 1 | – | 250 ppm/K |
| Brown | 1 | × 10 | ±1% | 100 ppm/K |
| Red | 2 | × 100 | ±2% | 50 ppm/K |
| Orange | 3 | × 1,000 | – | 15 ppm/K |
| Yellow | 4 | × 10,000 | – | 25 ppm/K |
| Green | 5 | × 100,000 | ±0.5% | 20 ppm/K |
| Blue | 6 | × 1,000,000 | ±0.25% | 10 ppm/K |
| Violet | 7 | × 10,000,000 | ±0.1% | 5 ppm/K |
| Grey | 8 | × 100,000,000 | ±0.05% | 1 ppm/K |
| White | 9 | × 1,000,000,000 | – | – |
| Gold | – | × 0.1 | ±5% | – |
| Silver | – | × 0.01 | ±10% | – |
Frequently asked questions
What are the color bands for a 10k resistor?
On a 4-band part, brown, black, orange, then the tolerance band (gold for 5%): 10 × 1,000 = 10,000 Ω. On a 5-band part it is brown, black, black, red, then the tolerance band, often brown for 1%: 100 × 100 = 10,000 Ω.
What color is a 220 ohm resistor?
Red, red, brown on a 4-band part, because 22 × 10 = 220. The 5-band version is red, red, black, black, since 220 × 1 = 220.
What color code is a 1k resistor?
Brown, black, red: 10 × 100 = 1,000 Ω. With five bands it is brown, black, black, brown, which is 100 × 10.
What does a resistor with a single black band mean?
It is a zero-ohm link, used as a jumper that a pick-and-place machine can fit like any other part. It has no tolerance band because there is nothing to be accurate about.
Why does my resistor have only three bands?
Older parts left the tolerance band off, which meant ±20%. Read the three bands as digit, digit, multiplier and expect the value to be loose.
How can I tell a 5-band resistor from a 4-band one?
Count the stripes, ignoring any wide band on a fuse-style body. If there are five, the third stripe is a digit, not the multiplier. A 5-band part read as a 4-band one comes out ten times too large or too small, so the stock-value check in the result is a useful sanity test.
Using two resistors to set a voltage? Work out the output, current and power of the pair with the Voltage divider calculator.
Other calculators on this site
-
Voltage divider calculator
Output voltage, current and power of a two-resistor divider, with the R2 for a target voltage.
-
LED resistor calculator
The series resistor for one LED or a string, rounded to a stock value, with its power rating.
-
Parallel and series resistor calculator
Total resistance of two to six resistors in parallel and in series, with each one's current and power.
-
Ohm's law calculator
Enter any two of voltage, current, resistance and power to get the other two.
-
Resistor voltage drop calculator
The voltage across a resistor from the current, or from the supply and the rest of the circuit.
-
SMD resistor code calculator
Decode 3-digit, 4-digit, R and EIA-96 codes on surface-mount resistors.
-
RC time constant calculator
τ = RC, the capacitor voltage at each time constant, and the filter cutoff.