b2KIT

Resistor Color Code Calculator

Decode 4, 5, and 6-band resistor color codes. Click color bands to calculate resistance value and tolerance with visual preview.

Tested tool guide Tested browser tools Checked August 16, 2026

What Resistor Color Code Calculator does, with a checked example

Four stripes on a resistor body encode digits, a multiplier, and a tolerance, and this tool reads them for you: pick a 4, 5, or 6-band layout, click each stripe's color, and it returns the value in ohms with tolerance and, for six bands, the temperature coefficient. The third stripe is the step most people trip on: it is a multiplier - a power of ten - not a third digit. Red, violet, orange means 27 times 1,000, not 272. A visual preview of the resistor shows the code you have assembled as you click.

Worked example

A concrete input and expected output from the current implementation.

Input

4-band: Red / Violet / Orange / Gold

Expected output

27 kohm +/-5% (acceptable range 25.65-28.35 kohm)

Red and violet are digit bands 2 and 7; orange is the multiplier band, meaning x1,000, so the value is 27 x 1,000 = 27,000 ohm. Gold marks +/-5% tolerance, which puts the acceptable range at 25.65 to 28.35 kohm.

How the result is produced

1

Digit and multiplier bands

The significant-digit bands follow the IEC 60062 table: black 0, brown 1, red 2, orange 3, yellow 4, green 5, blue 6, violet 7, gray 8, white 9. The next band is the multiplier: the same colors mean powers of ten from 10^0 to 10^9, gold and silver mean 0.1 and 0.01. Four-band codes use the first two stripes as digits; 5 and 6-band codes use the first three.

2

Tolerance and temperature coefficient

After the multiplier comes the tolerance stripe: brown +/-1%, red +/-2%, gold +/-5%, silver +/-10%, and no stripe at all means +/-20%. The tool reports the resistance and the full acceptable range by multiplying the nominal value by (1 +/- tolerance). A sixth stripe on 6-band parts adds a temperature coefficient in parts per million per kelvin, telling how much the resistance drifts with heat.

Good uses

  • You are repairing an old board and a bare resistor's value is unreadable - stripes rubbed off, or a salvage part with no printed text. Decode its bands to know what to order.
  • You picked a resistor from an assortment tray for a circuit that calls for a 1% part and want to confirm the 5-band code really matches before you solder it in.
  • You are learning the color code and want instant feedback: read a stripe pattern yourself, click it in, and see whether your hand-reading matches the tool.

Limits and checks

  • Gold and silver are never digit stripes, so if the pattern you clicked starts with gold or silver, the resistor is being read from the wrong end; flip it and try again. The tool reports what you click, not which end you started from.
  • The same colors mean different values at different band counts: brown-black-brown is 100 ohm as a 4-band part (10 x 10), while brown-black-black-brown-brown is 1,000 ohm as a 5-band part. Pick the right band count first or the result is off by a factor of ten.
  • The tool computes whatever colors you click, so a misread stripe - red versus orange, blue versus violet, gray versus silver - yields a confident but wrong value. And an all-black pattern comes out as 0 ohm: that is a zero-ohm jumper, not a calculation error.

Common questions

What does the sixth band on a 6-band resistor mean?

It is the temperature coefficient: how much the resistance changes per kelvin of temperature, in parts per million. A 10 ppm/K band on a 10 kohm resistor means 0.1 ohm per degree, about 10 ohm across a 100-degree swing. Note that this band's color table is less standardized than the others, so a few manufacturers assign colors differently.

Why are some resistors marked with five bands and others with four?

Band count tracks precision. Four-band resistors carry two significant digits and usually 5-10% tolerance - values from the E12 and E24 series. Five-band parts add a third digit so they can hit the finer E48 and E96 value steps, and they typically pair with 1% or tighter tolerances. If a resistor has five or six bands, treat it as a precision component.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools