Resistor color code calculator
Tap the stripes on the resistor to read its value, or type a value to see its stripes. Works for 4, 5 and 6 band resistors.
How it works
A resistor is too small to print numbers on, so it wears stripes instead. Each color is a secret digit: black is 0, brown is 1, red is 2, all the way up to white, which is 9. Hold the resistor with the gold stripe on the right. Read the first two stripes as a two-digit number. The third stripe tells you how many zeros to stick on the end. Red, red, brown means 2, 2 and one zero: 220. The last stripe, usually gold, says how close to that number the factory promises to be. Gold means within 5 percent, which is close enough for almost everything you will build.
Resistor color code chart
| Color | Digit | Multiplier | Tolerance | Temp coefficient (6th band) |
|---|---|---|---|---|
| Black | 0 | x1 | - | 250 ppm/K |
| Brown | 1 | x10 | 1% | 100 ppm/K |
| Red | 2 | x100 | 2% | 50 ppm/K |
| Orange | 3 | x1k | - | 15 ppm/K |
| Yellow | 4 | x10k | - | 25 ppm/K |
| Green | 5 | x100k | 0.5% | 20 ppm/K |
| Blue | 6 | x1M | 0.25% | 10 ppm/K |
| Violet | 7 | x10M | 0.1% | 5 ppm/K |
| Grey | 8 | x100M | - | 1 ppm/K |
| White | 9 | x1G | - | - |
| Gold | - | x0.1 | 5% | - |
| Silver | - | x0.01 | 10% | - |
| No band | - | - | 20% | - |
Common resistor values and their colors
| Value | 4-band (5%) | 5-band (1%) |
|---|---|---|
| 100 ohm | brown, black, brown, gold | brown, black, black, black, brown |
| 220 ohm | red, red, brown, gold | red, red, black, black, brown |
| 330 ohm | orange, orange, brown, gold | orange, orange, black, black, brown |
| 470 ohm | yellow, violet, brown, gold | yellow, violet, black, black, brown |
| 1 k | brown, black, red, gold | brown, black, black, brown, brown |
| 2.2 k | red, red, red, gold | red, red, black, brown, brown |
| 4.7 k | yellow, violet, red, gold | yellow, violet, black, brown, brown |
| 10 k | brown, black, orange, gold | brown, black, black, red, brown |
| 47 k | yellow, violet, orange, gold | yellow, violet, black, red, brown |
| 100 k | brown, black, yellow, gold | brown, black, black, orange, brown |
| 1 M | brown, black, green, gold | brown, black, black, yellow, brown |
Worked examples
- Red, red, brown, gold: 2, 2, then one zero = 220 ohms, plus or minus 5 percent (209 to 231 ohms).
- Yellow, violet, red, gold: 4, 7, then two zeros = 4,700 ohms (4.7 k), plus or minus 5 percent (4,465 to 4,935 ohms).
- Brown, black, orange, gold: 1, 0, then three zeros = 10,000 ohms (10 k), plus or minus 5 percent (9,500 to 10,500 ohms).
The first ArduinoStudio lesson wires an LED through a 220 ohm resistor: red, red, brown, gold.
More free tools
- Resistor Color Code Decoder
- LED Resistor Calculator
- Resistor Worksheet Generator
- Electronics games
- Arduino and Snap Circuits simulators
- All free tools
Low-voltage battery and USB projects only. Never experiment with wall power.
Frequently asked questions
How do you read a resistor color code?
Hold the resistor so the gold or silver band is on the right and read from the left. On a 4-band resistor the first two bands are digits, the third is the multiplier (how many zeros to add) and the fourth is the tolerance. Red, red, brown, gold is 2, 2, one zero: 220 ohms, plus or minus 5 percent.
What number is each color?
Black 0, brown 1, red 2, orange 3, yellow 4, green 5, blue 6, violet 7, grey 8, white 9. As a multiplier the same number tells you how many zeros to add. Gold as a multiplier means divide by 10 and silver means divide by 100.
What color bands are on a 220 ohm, 330 ohm, 1k and 10k resistor?
With four bands: 220 ohm is red, red, brown; 330 ohm is orange, orange, brown; 1k is brown, black, red; 10k is brown, black, orange; each usually followed by gold. With five bands: 220 ohm is red, red, black, black; 1k is brown, black, black, brown; 10k is brown, black, black, red; each usually followed by brown.
What is the difference between 4-band and 5-band resistors?
A 5-band resistor has three digit bands instead of two, so it can show a more exact value, and it usually has a tighter tolerance such as 1 percent. A 6-band resistor adds one more band for how much the value drifts with temperature.
Which end do I start reading from?
Start from the end farthest from the gold or silver band. If there is no gold or silver, the tolerance band usually sits a little apart from the others. If the number you get is not a standard value, try the other direction, and if you are still unsure, measure it with a multimeter.
What does tolerance mean?
It is how far the real resistor may be from the printed value. A 220 ohm resistor with a gold 5 percent band can measure anywhere from 209 to 231 ohms and still be correct.