Resistor Color Codes

Most small resistors do not have their value printed on them in numbers. Instead they carry rings of color, and each color stands for a number. This page explains that color code from the beginning: what the bands mean, a table of every color, worked examples, how to read a real part the right way around, and why the last band (the tolerance) matters. It also has a resistor simulator: pick a color for each band and the value is worked out as you go.

How to use this page. Read sections 1 to 3 once, then keep the color table and the simulator handy whenever you sort or check resistors.

1. Resistors and their values

A resistor is a small part made to oppose the flow of electric current by a fixed, known amount. That opposition is called resistance. Resistors are used to limit current (for example, so a light-emitting diode does not burn out), to split a voltage into a smaller one, and for many other jobs. Article 3, Resistors, explains how they work and what they are made of.

Resistance is measured in ohms, written with the Greek capital letter omega, Ω. A resistance of 1 Ω lets a current of 1 ampere flow when 1 volt is across it; in general, resistance is the voltage divided by the current, R = V / I.[1] (Voltage is the electrical "push" and current is the flow of charge; the Ohm's Law helper explains both from the start.)

Resistor values range from a fraction of an ohm to many millions of ohms, so we use the standard metric prefixes: k (kilo) means a thousand, M (mega) means a million and G (giga) means a billion.[2] So 4,700 Ω is written 4.7 kΩ, and 2,200,000 Ω is 2.2 MΩ. Note the capital M: a small m means one thousandth.

The value marked on a resistor is its nominal value, the value it is designed to have. No resistor is made perfectly, so the real value is a little higher or lower. The tolerance says how far off it is allowed to be, as a percentage of the nominal value.[3] The color code tells you both.

2. Why colors?

The common leaded resistor is a small cylinder, often only a few millimeters long, with a wire (a lead) at each end. The color code paints its value as rings around the body. International standard IEC 60062, "Marking codes for resistors and capacitors," sets the rules: the bands are expected to go all the way around the body, and at least two thirds of each band must be visible from any angle.[4] So however the part lies on a bench or a circuit board, you can read it without turning it, which printed numbers on such a tiny cylinder could not promise.

Surface-mount resistors, the tiny flat chips soldered onto the surface of modern circuit boards, use printed number codes instead; Article 3 covers those in Reading surface-mount codes.

3. What each band means

The most common pattern has four bands. The first three are close together near one end; the fourth sits a little apart near the other end and is wider. IEC 60062 requires the tolerance band to be at least 1.5 times as wide as the others, so it cannot be mistaken for them.[4] Read from the end where the bands are bunched:[4]​[3]

  1. Band 1: first digit. The first significant digit of the value. "Significant digits" are the digits that carry the number before any zeros are tacked on: in 4,700 they are 4 and 7.
  2. Band 2: second digit. The second significant digit.
  3. Band 3: multiplier. What to multiply the two digits by. Each multiplier is a power of ten (1, 10, 100, 1,000 and so on), so in practice the multiplier band tells you how many zeros to add after the digits. Red means ×100, two zeros. Gold and silver mean ×0.1 and ×0.01, for values under 10 Ω.
  4. Band 4: tolerance. How far the real value may be from the nominal value. Gold is ±5% and silver is ±10%; the sign ± means "plus or minus."
The four bands of a 4-band resistor A tan resistor body with a wire lead at each end and four colored rings. From the left: band 1, brown, labeled first digit; band 2, black, labeled second digit; band 3, red, labeled multiplier. After a wider gap comes band 4, gold, labeled tolerance, which is drawn wider than the others. An arrow at the left end says start here. Caption line: read left to right from the end nearest the bands: digit, digit, multiplier, tolerance. Band 1 1st digit Band 3 multiplier Band 2 2nd digit Band 4 tolerance wider gap wider band start here Read left to right from the end nearest the bands: digit, digit, multiplier, tolerance.
Figure 1. The four bands of a 4-band resistor. The tolerance band is set apart and is at least 1.5 times wider than the others.[4] Colors on this page are approximate; the standard itself says its example colors are only illustrations.[4]

So the recipe is: write down the two digits, add the number of zeros the multiplier says, then attach the tolerance. Figure 2 does this for brown, black, red, gold.

Decoding brown, black, red, gold The same four-band resistor, brown, black, red, gold. Under each band a box gives its meaning: brown is 1, black is 0, red is times 100, gold is plus or minus 5 percent. A summary box reads: digits 1 and 0 make 10; 10 times 100 is 1,000 ohms, which is 1 kilohm. Gold means plus or minus 5 percent, so the real value lies between 950 and 1,050 ohms. Brown 1 Black 0 Red ×100 Gold ±5% Digits 1 and 0 make 10. 10 × 100 = 1,000 Ω = 1 kΩ. Gold = ±5%, so the real value lies between 950 Ω and 1,050 Ω.
Figure 2. Brown (1), black (0), red (×100), gold (±5%) is 1,000 Ω, or 1 kΩ, ±5%. A 1 kΩ part at 5% can really be anywhere from 0.95 kΩ to 1.05 kΩ.[3]

4. The color table

The same ten colors stand for the digits 0 to 9 in every digit band and for the powers of ten in the multiplier band. Gold, silver and (rarely) pink are used only as multipliers or tolerances.[4]

The resistor color code (IEC 60062, Table 1)
ColorDigitMultiplierTolerance
Black0×1—
Brown1×10±1%
Red2×100±2%
Orange3×1,000 (1 k)±0.05%
Yellow4×10,000 (10 k)±0.02%
Green5×100,000 (100 k)±0.5%
Blue6×1,000,000 (1 M)±0.25%
Violet7×10,000,000 (10 M)±0.1%
Gray8×100,000,000 (100 M)±0.01%
White9×1,000,000,000 (1 G)—
Gold—×0.1±5%
Silver—×0.01±10%
No band——±20%

Values from IEC 60062:2016+AMD1:2019, Table 1.[4] The 2016 edition also added pink as a multiplier of ×0.001; you are unlikely to meet it. Older charts, including the U.S. Navy's, leave the tolerance column blank for orange through gray.[5] Where charts disagree, the table above follows the current standard.

Remembering the order

The digit colors 2 to 7 (red, orange, yellow, green, blue, violet) are simply the colors of the rainbow in order. SparkFun's tip is to take "ROY G. BIV," drop indigo, put black and brown in front and gray and white at the end.[3] If you prefer a sentence, the U.S. Navy's training course uses "Bad Boys Run Over Yellow Gardenias Behind Victory Garden Walls," one word per color from black (0) to white (9).[5]

5. The simulator

The resistor below works like a real one. Each band is a color picker: click or tap a band and a list opens showing every color it can be, each with its swatch and its name. Choose one and the list closes, leaving just the color on the band, as it would look on a real part. The value, the tolerance range and a band-by-band key update as you go.

6. Worked examples

Each example follows the same steps: digits, then multiplier, then tolerance. The simulator's example buttons load each of these.

Brown, black, red, gold

Brown = 1, black = 0, so the digits are 10. Red multiplier = ×100. 10 × 100 = 1,000 Ω = 1 kΩ. Gold = ±5%, so 950 Ω to 1,050 Ω.[3]

Red, red, orange, gold

Red = 2, red = 2: 22. Orange = ×1,000. 22 × 1,000 = 22,000 Ω = 22 kΩ, ±5% (20.9 kΩ to 23.1 kΩ).

Yellow, violet, red, gold, and yellow, violet, orange, gold

Yellow = 4, violet = 7: 47. With a red multiplier (×100) that is 4.7 kΩ.[3] Change only the third band to orange (×1,000) and it becomes 47 kΩ, ten times as much.[7] That is why the multiplier band matters most: misread a digit and you are a little off; misread the multiplier and you are off by a factor of ten.[5]

Red, violet, orange, silver

This is the U.S. Navy's example. Red = 2, violet = 7: 27. Orange = ×1,000, so 27,000 Ω = 27 kΩ. Silver = ±10%, and 10% of 27,000 is 2,700, so the real value is somewhere between 24,300 Ω and 29,700 Ω.[5]

Violet, green, yellow, gold

The example in the standard itself: violet = 7, green = 5: 75. Yellow = ×10,000. 75 × 10,000 = 750 kΩ, ±5%.[4]

Yellow, violet, gold, gold

Digits 47. A gold multiplier means ×0.1, so 47 × 0.1 = 4.7 Ω. The last gold band is the tolerance, ±5%. A gold or silver third band always means a value under 10 Ω (gold) or under 1 Ω (silver).[5]

Blue, gray, red (only three bands)

Blue = 6, gray = 8: 68. Red = ×100: 6.8 kΩ. There is no tolerance band, which means ±20%.[4]​[7]

Quick check: the multiplier tells you the "size." With two digit bands, a black third band means a value under 100 Ω; brown means hundreds of ohms; red, thousands (1 to 9.9 kΩ); orange, tens of thousands; yellow, hundreds of thousands; green, megohms (millions of ohms).[5] Red, orange and yellow are the most common.[5]

7. Reading a real resistor

The color table is the easy part. The hard part with a real resistor is finding which end to start from and telling similar colors apart. Work through these steps.

  1. Find the tolerance band. On a 4-band part it is usually gold or silver.[3] It is the wider band, and it is set a little apart from the others.[4]​[3] Turn the resistor so that band is on your right.
  2. Read from the other end. The first band is the one nearest its end of the body.[4] Read left to right: digit, digit, multiplier, tolerance.
  3. Sanity-check the first band. Gold and silver have no digit value, so they can never be first.[4] If you find gold or silver at your left, you are holding it backwards (Figure 3). Black is never first either, because a value does not start with a zero.
  4. Check the result is a standard value. Resistors are made in a fixed set of values, the E-series (section 9). Values such as 10, 22, 47 and 68 (times any power of ten) are standard; a reading such as 29 or 74 is not, so look again.[6]
  5. Use good light. Brown, red and orange look alike under yellowish lamps, and so do blue, violet and gray. Use daylight or a bright white light and a magnifier if you need one. Most technicians misread a band at some point.[5]
  6. When in doubt, measure. A multimeter set to measure resistance (Ω) gives the answer directly. See below.
Which end do you read from? Two drawings of the same resistor. Top: bands yellow, violet, red, then a wide gold band set apart at the right. Read from the left this is 4, 7, times 100, plus or minus 5 percent, which is 4.7 kilohms, a standard value. Bottom: the same resistor turned end for end, so read from the left the bands are gold, red, violet, yellow. Gold has no digit value, which shows this is the wrong end to start from. Right way: 4, 7, ×100, ±5% = 4.7 kΩ → standard Turned around: gold, red, violet, yellow gold has no digit → wrong end read Start from the end where the bands are bunched; the wide band, set apart, comes last.
Figure 3. Reading the same resistor from each end. From the correct end it is 4.7 kΩ ±5%; from the wrong end the first band is gold, which has no digit value, so that reading is impossible.[4]

A trap: some parts read sensibly both ways. A 5-band 1 kΩ ±1% resistor is brown, black, black, brown, brown. Read backwards it is brown, brown, black, black, brown: 110 × 1 = 110 Ω ±1%, which is also a standard value. Only the wider tolerance band and the spacing tell you which end is which, so look closely, or measure.

Checking the value with a multimeter

A multimeter is a handheld meter that measures voltage, current and resistance. To check a resistor:

The reading should fall inside the tolerance range worked out from the bands (allowing a little for the meter's own accuracy). Article 3 has more in Testing a resistor.

8. Five bands (and three and six)

Four bands give only two significant digits, which is enough for the common 5% and 10% values. Precision resistors need three digits (for example 249 or 102), so they use five bands: three digits, then the multiplier, then the wider tolerance band.[4] The multiplier is the fourth band, so it is one step smaller than on a 4-band part with the same value: brown, black, black, brown, brown is 100 × 10 = 1 kΩ, the same value as brown, black, red, gold on a 4-band part. Five-band parts always have a colored tolerance band, usually brown (±1%) or one of the tighter colors.[7]

Decoding a 5-band resistor: red, yellow, white, orange, brown A five-band resistor: red, yellow, white, orange, then a wider brown band. Boxes under the bands read: red 2, yellow 4, white 9, orange times 1,000, brown plus or minus 1 percent. A summary box reads: three digits make 249; 249 times 1,000 is 249,000 ohms, or 249 kilohms; brown means plus or minus 1 percent, so between 246.51 and 251.49 kilohms. Red 2 Yellow 4 White 9 Orange ×1,000 Brown ±1% Three digits: 249. 249 × 1,000 = 249,000 Ω = 249 kΩ. Brown = ±1%: between 246.51 kΩ and 251.49 kΩ.
Figure 4. The standard's 5-band example: red (2), yellow (4), white (9), orange (×1,000), brown (±1%) is 249 kΩ ±1%.[4]

Another example: orange, orange, black, brown, violet is 330 × 10 = 3.3 kΩ, ±0.1%.[7] Switch the simulator to 5 bands to try your own.

9. Tolerance and why it matters

Tolerance is the range, in percent, within which the real resistance may differ from the nominal value when the part is delivered.[10] To find the range, work out the percentage of the nominal value and subtract and add it:

lowest = R × (1 − tolerance/100)    highest = R × (1 + tolerance/100)

For 1 kΩ ±5%: 5% of 1,000 is 50, so the part may be anything from 950 Ω to 1,050 Ω.[3] At ±1% the range shrinks to 990 Ω to 1,010 Ω.

Tolerance: the allowed spread around the marked value A horizontal resistance scale from 900 to 1,100 ohms. A vertical line marks the nominal value, 1,000 ohms. A wide bar, labeled plus or minus 5 percent, gold, spans 950 to 1,050 ohms. A much narrower bar, labeled plus or minus 1 percent, brown, spans 990 to 1,010 ohms. Caption: any part whose real value falls inside its bar passes; the narrower the bar, the closer to 1 kilohm. 900 950 1,000 1,050 1,100 resistance (Ω) 950 1,050 ±5% (gold) 990 1,010 ±1% (brown) nominal 1,000 Ω Any part whose real value falls inside its bar passes; the narrower the bar, the closer to 1 kΩ.
Figure 5. The tolerance range of a 1 kΩ resistor at ±5% (gold) and at ±1% (brown).

Why it matters

Every calculation you do with a resistor's value inherits its tolerance. Suppose 5 V is across a 1 kΩ ±5% resistor. By Ohm's law the current is I = V / R,[1] so:

About ±5% in current, as you would expect. For an LED's current-limiting resistor or a pull-up resistor, that hardly matters. For a circuit that sets a time delay, a filter frequency or a measured voltage, it can, and there you choose 1% parts. You can try these numbers in the Ohm's Law calculator.

Tolerance and the standard values

Resistors are not made in every value. Standard IEC 60063 sets out the E-series of preferred values, and pairs each series with a tolerance.[6] The series name gives the number of values in each factor of ten:

The values repeat in every decade (factor of ten): 4.7 Ω, 47 Ω, 470 Ω, 4.7 kΩ and so on. The spacing is chosen so that the tolerance ranges of neighboring values just meet: Vishay describes the spreads of two successive values as overlapping slightly.[10] For example, 4.7 kΩ ±5% covers 4,465 to 4,935 Ω, and the next E24 value, 5.1 kΩ ±5%, covers 4,845 to 5,355 Ω. Between them, every value is covered by some standard part. Article 3 lists the full E24 table in Why resistors come in odd values.

Tolerance is not the whole story

Tolerance describes the part as delivered. In use, the value also moves with temperature (the TCR above) and drifts slowly with heat, load and age.[10] So a resistor that measures a little outside its tolerance after years in a hot box is not necessarily faulty; one that is far outside it, or reads as an open circuit, is.

Summary

For how resistors work, see Article 3, Resistors. To use a value once you have read it, see the Ohm's Law helper; for the resistor's symbol on a circuit drawing, see Schematic Symbols.

Sources

All links were checked in October 2026. External links open in a new tab.

  1. OpenStax, College Physics 2e, section 20.2, "Ohm's Law: Resistance and Simple Circuits": https://openstax.org/books/college-physics-2e/pages/20-2-ohms-law-resistance-and-simple-circuits
  2. NIST, Guide for the Use of the International System of Units (SI) (SP 811), chapter 4, "The Two Classes of SI Units and the SI Prefixes" (Table 5): https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-4-two-classes-si-units-and-si-prefixes
  3. SparkFun Learn, "Resistors" tutorial, section "Decoding Resistor Markings" (all pages): https://learn.sparkfun.com/tutorials/resistors/all
  4. IEC 60062:2016+AMD1:2019, "Marking codes for resistors and capacitors", clause 3, "Colour code for fixed resistors" (Table 1 and Figures 1 to 4; free preview pages, PDF): https://cdn.standards.iteh.ai/samples/20940/b5fb592a1a1749c79f33e4d987f7fefb/IEC-60062-2016.pdf
  5. U.S. Navy, NEETS Module 1: Introduction to Matter, Energy, and Direct Current, chapter 1, "Standard Color Code System" and "Simplifying the Color Code", pages 1-43 to 1-46 and Table 1-1 (PDF): https://legacy.maritime.org/doc/neets/mod01.pdf
  6. IEC 60063:2015, "Preferred number series for resistors and capacitors" (Tables 1 to 3; free preview pages, PDF): https://cdn.standards.iteh.ai/samples/21131/0b431abe83d64551accdfaebc210796e/IEC-60063-2015.pdf
  7. Tony R. Kuphaldt, Lessons In Electric Circuits, Volume V (Reference), chapter 2, "Color Codes" (resistor color code examples 1 to 6): https://www.ibiblio.org/kuphaldt/electricCircuits/Ref/REF_2.html
  8. Fluke, "How to Measure Resistance with a Digital Multimeter": https://www.fluke.com/en-us/learn/blog/digital-multimeters/how-to-measure-resistance
  9. NI (National Instruments), "Digital Multimeter Measurement Fundamentals" (section "Resistance Measurements with a DMM"): https://www.ni.com/en/shop/electronic-test-instrumentation/digital-multimeters/dmm-measurement-fundamentals.html
  10. Vishay Beyschlag, application note 28771, "Basics of Linear Fixed Resistors" (nominal value, tolerance, TCR and stability; PDF): https://www.vishay.com/docs/28771/basics.pdf