Electrical · Circuits
Resistor color code calculator icon showing a resistor with colored bands

Resistor color code calculator

This resistor color code calculator reads the colored bands on a through-hole resistor and gives its resistance, tolerance, minimum and maximum value and, for 6-band parts, the temperature coefficient. It also works the other way: enter a value and it shows the color bands, and it tells you whether the value belongs to the standard E6, E12, E24 or E96 series.

Hold the resistor with the gold or silver band (or the band set slightly apart) on the right and read from the left. The default example is a 4-band resistor with yellow, violet, red and gold bands: 4.7 kΩ ±5 %.

Resistor color code calculator: bands to value

Pick the number of bands, then the color of each band from left to right; the resistor color code calculator updates as you choose.
Choose “No band” for an old 3-band resistor.

Resistor color code calculator: value to bands

Enter a resistance; the resistor color code calculator rounds it to 2 or 3 significant digits and lists the colors.

How to use the resistor color code calculator

In the first panel, choose how many bands your resistor has, then pick the color of each band from left to right. The resistor color code calculator shows the resistance with its tolerance, the lowest and highest value the part may have, the temperature coefficient for 6-band parts, and whether the value is a standard E-series value. The drawing repeats your bands so you can compare it with the part in your hand. In the second panel, type a value such as 10 kΩ or 0.47 Ω and choose the number of bands; you get the colors, the coded value and the nearest standard values.

To find which end to start from, look for a gold or silver band: it is a tolerance band and belongs on the right. On precision parts the tolerance band is usually separated from the others by a wider gap, and it is often a little wider. A resistor never starts with gold or silver, and it rarely starts with black, so the resistor color code calculator does not offer gold or silver as digits. If the value you get is not a standard value, read it again from the other end.

How the resistor color code calculator reads the bands

The resistor color code calculator follows IEC 60062, the international standard for marking codes on resistors and capacitors. Each color from black to white stands for a digit from 0 to 9. The digit bands are followed by a multiplier band (a power of ten), a tolerance band and, on 6-band parts, a temperature coefficient band:

4 bands: R = (10·d₁ + d₂) × 10m ± tolerance
5 and 6 bands: R = (100·d₁ + 10·d₂ + d₃) × 10m ± tolerance

The tolerance gives the range the actual resistance is guaranteed to fall in when the part is new and at the reference temperature:

Rmin = R × (1 − t/100); Rmax = R × (1 + t/100); ΔR = R × TCR × ΔT

A resistor with only three bands has no tolerance band and is a ±20 % part. The temperature coefficient (TCR) in ppm/K says how much the resistance changes per kelvin: 100 ppm/K means 0.01 % per degree, so 0.5 % over a 50 °C rise.

Resistor color code chart used by the resistor color code calculator

ColorDigitMultiplierToleranceTemp. coefficient
Black0×1–250 ppm/K
Brown1×10±1 % (F)100 ppm/K
Red2×100±2 % (G)50 ppm/K
Orange3×1 k±0.05 % (W)15 ppm/K
Yellow4×10 k±0.02 % (P)25 ppm/K
Green5×100 k±0.5 % (D)20 ppm/K
Blue6×1 M±0.25 % (C)10 ppm/K
Violet7×10 M±0.1 % (B)5 ppm/K
Grey8×100 M±0.01 % (L)1 ppm/K
White9×1 G––
Gold–×0.1±5 % (J)–
Silver–×0.01±10 % (K)–
Pink–×0.001––
None––±20 % (M)–

Values follow the 2016 edition of IEC 60062 as summarized in the electronic color code article; the letters in brackets are the tolerance letters used in printed codes. Older charts list grey as ±0.05 % and some manufacturers use their own tempco colors, so check the datasheet for precision parts. TE Connectivity gives a practical guide with photos in Resistor Color Codes: What Do the Color Bands Mean?.

Worked example with the resistor color code calculator

A resistor shows yellow, violet, red and gold. Yellow is 4 and violet is 7, so the digits are 47. Red as the third band is the multiplier ×100, giving 47 × 100 = 4,700 Ω = 4.7 kΩ. Gold is ±5 %, so the part may measure anywhere from 4.7 kΩ × 0.95 = 4.465 kΩ to 4.7 kΩ × 1.05 = 4.935 kΩ. 4.7 kΩ is in the E6, E12 and E24 series. These are the default values of the resistor color code calculator, and “Show the working” lists the same steps.

The default of the second panel of the resistor color code calculator is the reverse task: 10 kΩ as a 5-band ±1 % part. Written with three digits, 10 kΩ = 100 × 10², so the bands are brown (1), black (0), black (0), red (×100) and brown (±1 %).

Value4-band colors (±5 %)5-band colors (±1 %)
10 ΩBrown, black, black, goldBrown, black, black, gold, brown
220 ΩRed, red, brown, goldRed, red, black, black, brown
1 kΩBrown, black, red, goldBrown, black, black, brown, brown
4.7 kΩYellow, violet, red, goldYellow, violet, black, brown, brown
10 kΩBrown, black, orange, goldBrown, black, black, red, brown
100 kΩBrown, black, yellow, goldBrown, black, black, orange, brown
1 MΩBrown, black, green, goldBrown, black, black, yellow, brown

Standard values: the E series in the resistor color code calculator

Resistors are not made in every value. Manufacturers follow the preferred-number series of IEC 60063, where each decade is split into 6, 12, 24 or 96 steps that are evenly spaced on a logarithmic scale. The steps match the tolerance: E12 values with ±10 % tolerance overlap, so any resistance falls within one of them. That is why the resistor color code calculator checks the series. A value outside every series usually means a misread band.

SeriesTypical toleranceValues per decade
E6±20 %1.0, 1.5, 2.2, 3.3, 4.7, 6.8
E12±10 %1.0, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8, 8.2
E24±5 %E12 plus 1.1, 1.3, 1.6, 2.0, 2.4, 3.0, 3.6, 4.3, 5.1, 6.2, 7.5, 9.1
E96±1 %1.00, 1.02, 1.05, 1.07, 1.10 … 9.53, 9.76 (10i/96 rounded to 3 digits)

When a design needs a value between two standard steps, combine two resistors in series or parallel; the Parallel Resistor Calculator finds the second resistor for a target value. For a two-resistor ratio, such as a sensor input or a regulator feedback network, the Voltage Divider Calculator suggests standard pairs.

Practical tips: before you use a resistor color code calculator

Use good light. Brown, red and orange look alike under warm light, and violet can look like brown. Daylight or a white LED helps. Check the body color. Beige bodies are usually carbon film parts with 4 bands (±5 %); blue or green bodies are usually metal film parts with 5 bands (±1 %). Blue bodies make some bands hard to see, so look at the part from several angles. Measure when in doubt. A resistor color code calculator is only as good as your reading of the colors; a multimeter on the resistance range settles any doubt in seconds; measure the part out of the circuit, because other components in parallel change the reading. The Ohm’s Law Calculator and the Electrical Power Calculator then give the current and the power the resistor will see, which decides the wattage you need. The color code says nothing about power: a small 1/4 W and a large 2 W resistor with the same bands have the same resistance.

Common mistakes with a resistor color code calculator

Reading from the wrong end. This is the most common reason a resistor color code calculator gives a strange value. Yellow, violet, red, gold reads 4.7 kΩ; reversed, it would start with gold, which is impossible. On 5-band parts both ends can look plausible: brown, black, black, red, brown is 10 kΩ, but reversed it would be brown, red, black, black, brown = 120 × 1 = 120 Ω with a brown tolerance band. Look at the band spacing and let the resistor color code calculator check the result against the E series. Treating the third band as a digit on a 4-band part. On 4-band resistors the third band is the multiplier; on 5- and 6-band resistors it is the third digit. Forgetting gold and silver multipliers. Gold as the multiplier means ×0.1 and silver ×0.01, so yellow, violet, gold, gold is 4.7 Ω, not 47 Ω. Confusing the tempco band with tolerance. On 6-band parts the last band is the temperature coefficient; the tolerance is the fifth band. Ignoring the tolerance. A 1 kΩ ±5 % resistor measuring 1,040 Ω is in specification; for tighter values, choose a 1 % part. Surface-mount resistors use printed numeric codes instead of colors (for example 472 for 4.7 kΩ), which this resistor color code calculator does not decode.

For other circuit calculations, see the electrical calculators: the LED Resistor Calculator sizes the series resistor for an LED, and the RC Time Constant Calculator gives the timing of a resistor and capacitor.

Related calculators

Frequently asked questions

How do you read a 4-band resistor color code?

Hold the gold or silver band on the right, or enter the colors in the resistor color code calculator. The first two bands are digits, the third is the multiplier and the fourth is the tolerance. Yellow, violet, red, gold is 47 × 100 = 4.7 kΩ ±5 %.

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 values such as 102 Ω or 4.99 kΩ. 5-band parts are usually precision metal film resistors with ±1 % or better tolerance.

What does the sixth band on a resistor mean?

On a 6-band resistor the last band is the temperature coefficient in ppm/K. Brown means 100 ppm/K, red 50 ppm/K and orange 15 ppm/K under IEC 60062. The tolerance is the fifth band. Choose “6 bands” in the resistor color code calculator to see the change over temperature.

What is the color code for a 10k resistor?

Brown, black, orange, gold for a 4-band ±5 % part, and brown, black, black, red, brown for a 5-band ±1 % part. The resistor color code calculator shows both when you enter 10 kΩ in the second panel.

Why does my resistor measure a different value than the resistor color code calculator shows?

The tolerance allows a spread: a 4.7 kΩ ±5 % part may read 4.465 to 4.935 kΩ. Measuring in circuit, cold probes, or a misread band can also explain a difference. Measure it out of the circuit before you swap it.

Is this resistor color code calculator free?

Yes. It runs in your browser, needs no sign-up and does not store the values you enter.

Results are for study and planning. Electrical installations must follow your local wiring code and be done or checked by a qualified electrician; check component ratings in the datasheet. Back to electrical calculators or CalcSwiftly home.

Reviewed by: CalcSwiftly · Last reviewed: