Developer Tools
Resistor Color Code Calculator
Decode and build resistor color codes for 3, 4, 5, and 6 band axial resistors. Visual band picker, ohms value, tolerance, ppm, and E-series matching.
Pick the bands on a physical resistor to read off the resistance, tolerance, and temperature coefficient.
Visual resistor
The body and bands match the colors you choose below.
Decoded value
4.7 kΩ
4700 Ω
- Tolerance
- ±5%
- Range
- 4.465 kΩ → 4.935 kΩ
- Significant digits
- 47
- Multiplier
- 10^2
- Closest E24
- 4.7 kΩ (exact)
Bands
Yellow, Violet, Red, Gold
Color reference chart
Each color encodes a digit, a multiplier, a tolerance, or a temperature coefficient depending on its band position.
| Color | Digit | Multiplier | Tolerance | Temp coeff |
|---|---|---|---|---|
| Black | 0 | ×10^0 | - | 250 ppm/°C |
| Brown | 1 | ×10^1 | ±1% | 100 ppm/°C |
| Red | 2 | ×10^2 | ±2% | 50 ppm/°C |
| Orange | 3 | ×10^3 | - | 15 ppm/°C |
| Yellow | 4 | ×10^4 | - | 25 ppm/°C |
| Green | 5 | ×10^5 | ±0.5% | 20 ppm/°C |
| Blue | 6 | ×10^6 | ±0.25% | 10 ppm/°C |
| Violet | 7 | ×10^7 | ±0.1% | 5 ppm/°C |
| Grey | 8 | ×10^8 | ±0.05% | 1 ppm/°C |
| White | 9 | ×10^9 | - | - |
| Gold | - | ×10^-1 | ±5% | - |
| Silver | - | ×10^-2 | ±10% | - |
| Pink | - | ×10^-3 | - | - |
How to use
- Pick Decode colors to read a physical resistor, or Build from value to synthesise the bands for a target ohm value.
- In Decode mode, choose the band count (3, 4, 5, or 6) to match the resistor in front of you, then click each band to select its color. The visual resistor and the resistance readout update instantly.
- Read the resistance, tolerance band, +/- range, and (for 6-band parts) the temperature coefficient. The closest E-series preferred value is shown so you can confirm the part matches a stocked component.
- In Build mode, type a value using engineering shorthand: 4.7k, 470, 1M, 1k2 (1.2 kΩ), 4k7 (4.7 kΩ), 47R (47 Ω), 0.1, 22 kΩ all parse correctly. Pick the band count, tolerance color, and ppm color (for 6-band).
- Use Copy bands or Copy result to paste the colors or the value into your notes, a BOM, or a chat with a teammate.
About this tool
Resistor Color Code Calculator reads and writes the colored band markings used on through-hole, axial-lead resistors. It supports the four common variants: the 3-band code (digit, digit, multiplier; 20% tolerance assumed), the 4-band code (the most common consumer code, with a tolerance band), the 5-band code (an extra significant figure for tighter parts), and the 6-band code (adds a temperature coefficient in ppm/°C, used on precision resistors). Decode mode is the everyday workflow: pick the colors you see on the resistor and the tool prints the resistance in human form (e.g. 4.7 kΩ), the raw ohm value, the tolerance band as a percentage, the +/- range so you can predict drift, the temperature coefficient when the part has six bands, and the closest preferred value from the IEC 60063 E-series (E6, E12, E24, E48, E96) so you know whether the resistor matches a standard stocked part. Build mode runs the lookup in reverse: type a target value with the engineering shorthand most data sheets use (4.7k, 1M, 470R, 1k2, 4k7, 0.1, 22 kΩ) and the calculator chooses significant figures, picks the matching multiplier color, and lays the bands out on a visual resistor along with your tolerance and ppm band selections. The visual resistor is rendered with SVG, so the body, leads, and bands stay sharp at any size, and the live render uses the exact colors the tool will report. A full color reference table at the bottom of the page shows what each color encodes for digits, multipliers, tolerance, and ppm. Useful for hobbyist electronics, robotics, hi-fi and audio circuits, repair and reflow work, EE coursework and labs, and any time you have a strip of resistors and need to read or order a specific value. Everything runs in your browser; no upload, no signup, no API calls.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Chmod Calculator
Convert chmod values between octal, symbolic (rwxr-xr-x), and clickable owner, group, and other checkboxes.
Open tool
DeveloperSubnet Calculator
IPv4 CIDR network, broadcast, host range, mask, and binary view.
Open tool
ConverterNumber Base Converter
Binary, octal, decimal, hex, and custom-base conversion with two's complement.
Open tool
ConverterHEX to RGB Converter
Convert HEX, RGB, RGBA, and HSL with a live preview.
Open tool
DeveloperCSS Specificity Calculator
Score any CSS selector and compare a list to see which one wins.
Open tool