UTILS.
Private by default
Ω

Resistor Color Code

Decode a 4-band resistor color code into its resistance value and tolerance.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— output appears here —

About this tool

Decode a standard four-band resistor by choosing its colours from drop-downs. The resistance and tolerance appear immediately, with a swatch strip of the chosen bands, all in your browser.

The first and second bands give the significant digits, from black (0) to white (9). The third band is the multiplier, a power of ten: black ×1 up to white ×10^9, with gold ×0.1 and silver ×0.01 for values below 10 Ω. The fourth band is the tolerance: brown ±1%, red ±2%, green ±0.5%, blue ±0.25%, violet ±0.1%, grey ±0.05%, gold ±5% and silver ±10%. The menus only list colours that are valid for each position, so gold and silver cannot be picked as digits. The default is brown, black, red, gold, which reads 1 kΩ ±5%.

Results are written as Ω, kΩ or MΩ and rounded to three decimals.

Only four-band codes are covered. Five-band precision resistors have a third digit band, and six-band parts add a temperature coefficient; neither is supported here. Read the bands from the end that has the bands closer together, and check an uncertain value with a multimeter.

Frequently asked questions

How is the value calculated?
The first two bands make a two-digit number, the third band multiplies it by a power of ten, and the fourth band gives the tolerance percentage.
Does it support 5-band resistors?
No. It decodes the common 4-band code. Five-band resistors add a third digit band before the multiplier, which this tool does not handle.
Which end do I start reading from?
Start from the end where the bands sit closer together. The tolerance band, usually gold or silver, is separated by a larger gap and is read last.
Why can't I choose gold as the first band?
Gold and silver are never digit colours. They only appear as multipliers (×0.1, ×0.01) and tolerances, so the digit menus leave them out.

More tools