Resistor Color Code Calculator

Decode color bands to resistance values, or find the bands for any resistance. Supports 4, 5, and 6 band resistors.

Last reviewed: April 2026

New to this tool? Click here for instructions

Select bands above
Select band colors above to calculate resistance.

Decode any 4-band, 5-band, or 6-band resistor instantly — get the resistance value, tolerance, and temperature coefficient in one step, all in your browser.

What This Tool Does

This calculator handles the two directions of the resistor color code problem: bands to value (you see a physical resistor and need to know its resistance) and value to bands (you have a target resistance and want to find the closest standard part and its color code). It supports every band format in common use — 4-band, 5-band, and 6-band — and decodes the resistance, the tolerance, and, for 6-band parts, the temperature coefficient of resistance (TCR) in ppm/°C.

The color-to-digit mapping follows the EIA RS-279 / IEC 60062 standard: each of the ten primary colors (black through white) maps to a digit 0-9, with additional metallic colors (gold, silver) reserved for the multiplier and tolerance positions. The tool renders a stylized resistor with the chosen bands so you can visually confirm your selection matches the physical part in front of you, displays the calculated value scaled to the appropriate unit (Ω, kΩ, MΩ, GΩ), and shows the full tolerance range so you know the bounds of what a multimeter should read. Every computation runs client-side — no part numbers, projects, or values you enter leave your browser session.

How to Use It

The interface offers three modes accessible from the top chip row: Bands → Value, Value → Bands, and Reference. Each mode is optimized for a different workflow, and switching between them preserves your prior input where it makes sense.

Decoding a Physical Resistor (Bands → Value)

Pick the band count chip that matches the part in front of you — most through-hole resistors in commercial stock are 4-band (5% or 10% tolerance) or 5-band (1% or 2% precision). Orient the resistor so the tolerance band — usually visually offset by a wider gap, and most often gold, silver, brown, or red — is on the right. Then read the bands left to right and select each color from the dropdowns. The resistance value, tolerance, and acceptable range update instantly, and the rendered resistor below the dropdowns mirrors your selection so you can confirm by eye.

Finding the Bands for a Target Resistance (Value → Bands)

Switch to Value → Bands, type your target resistance, select the unit (Ω, kΩ, MΩ), and choose 4-band or 5-band output. The tool snaps your input to the nearest E-series standard value and displays the color code for that part — useful when you're sizing a pull-up resistor or a feedback divider and want to know which color combination to look for in your parts bin.

Looking Up the Color Chart (Reference)

The Reference tab shows the full color-to-digit, color-to-multiplier, color-to-tolerance, and color-to-TCR mappings as a swatch grid. Useful when you need to verify an ambiguous color (was that brown or red?) or when you're teaching the system to someone for the first time.

Worked Example: Brown-Black-Red-Gold vs. Red-Violet-Green-Brown-Brown

The two examples below walk through both the classic 4-band case and a more typical precision 5-band part, so you can verify the tool against hand-calculation.

Example 1: 4-Band — Brown, Black, Red, Gold

Band 1 (Digit 1)
Brown = 1
Band 2 (Digit 2)
Black = 0
Band 3 (Multiplier)
Red = ×100
Band 4 (Tolerance)
Gold = ±5%

Calculation: the two digit bands form the number 10. Multiplying by the red band's ×100 gives 10 × 100 = 1000 Ω = 1 kΩ. The gold tolerance band means the actual resistance is guaranteed to fall between 950 Ω and 1050 Ω. This is the most common resistor value in any hobbyist parts bin and the canonical first example for learning the color code.

Example 2: 5-Band — Red, Violet, Green, Brown, Brown

Band 1 (Digit 1)
Red = 2
Band 2 (Digit 2)
Violet = 7
Band 3 (Digit 3)
Green = 5
Band 4 (Multiplier)
Brown = ×10
Band 5 (Tolerance)
Brown = ±1%

Calculation: the three digit bands form 275. Multiplying by the brown multiplier (×10) gives 275 × 10 = 2750 Ω = 2.75 kΩ. The brown tolerance band means ±1% — the actual resistance is between 2722.5 Ω and 2777.5 Ω. This is an E96 standard precision value, the kind you'd see in a precision voltage divider, an op-amp feedback network, or an instrumentation amplifier gain-setting position.

The diagram below renders Example 2 as a stylized 5-band resistor — orient the part with the tolerance band on the right and read left to right.

Red 2 Violet 7 Green 5 Brown ×10 Brown ±1% 2.75 kΩ ±1%

Expected output: the tool displays 2.75 kΩ with a tolerance string of ±1% and a range of 2.72 kΩ - 2.78 kΩ. Switching to the Value → Bands mode and entering 2.75 kΩ with 5-band selected should reproduce the same Red-Violet-Green-Brown-Brown sequence.

Common Use Cases

Electronics Hobbyists Learning the Code

Anyone working through their first Arduino or Raspberry Pi project encounters the color code within the first hour: pull-up resistors for buttons, current-limiting resistors for LEDs, voltage dividers for sensors. The mnemonic Bad Boys Race Our Young Girls But Violet Generally Wins covers black-brown-red-orange-yellow-green-blue-violet-grey-white in order — useful while building intuition, but a quick lookup tool removes the guesswork during real work and avoids the LED-burning consequences of mis-reading a band.

Circuit Repair and Component Replacement

When repairing a damaged board, a charred or cracked resistor needs replacement with an equivalent part. Reading the surviving bands on an in-place part gives you the original value; the calculator then confirms whether your stocked replacement matches both the resistance and the tolerance class the original designer specified. Using a 5% replacement where a 1% part was specified can subtly shift voltage references or filter cutoff frequencies in ways that are hard to debug later.

Debugging Assembled Boards

During in-circuit debugging, a quick visual check of a suspect resistor's color code — cross-referenced with the schematic — catches stuffing errors that a multimeter alone might miss because of parallel paths through nearby components. The calculator gives you the expected reading; the meter tells you what's actually there. A mismatch points to either a wrong part installed or another component pulling the reading off-value.

Prototype Builds and One-Off Designs

During breadboard prototyping, you frequently grab resistors from a mixed parts bin where the part-marking is faded or the values are jumbled. A reliable decode tool saves you from soldering a 100 kΩ where a 10 kΩ was needed — a 10× error that produces a circuit which still looks like it might work but operates entirely outside the design assumptions.

Training New Engineers and Technicians

In an electronics lab or technical training environment, the calculator doubles as a teaching aid. New technicians can decode a part by hand, then verify with the tool — and the rendered band visualization helps build the color-to-digit mental mapping faster than rote memorization of the mnemonic alone.

Edge Cases and Limitations

The color code looks simple — ten colors, three or four positions, one tolerance — but real-world parts and lighting conditions introduce ambiguity worth knowing about.

5-band vs. 4-band ambiguity (band direction matters). A 5-band resistor read from the wrong end produces a plausible but wrong value. Always identify the tolerance band first — it's usually visually offset by a wider gap from the four bands on the opposite side, and is most often brown, red, gold, or silver. If both ends look symmetric, measure the part with a multimeter and choose the reading direction that matches.

Tolerance band reading direction. 4-band resistors with a 20% tolerance technically have no tolerance band — only three bands total — but these are vanishingly rare in modern stock. If you see only three bands, treat the rightmost as the multiplier and assume ±20%. If you see four bands and the rightmost is not metallic (gold or silver), you may actually be looking at a 5-band part where the tolerance band is brown or red and was mistaken for a digit band.

SMD (surface-mount) resistors use numeric codes, not colors. A 0603 or 0805 chip resistor is far too small to carry colored bands and instead carries a printed 3- or 4-digit code: 472 = 47 × 10² = 4.7 kΩ; 1003 = 100 × 10³ = 100 kΩ; 0R10 (with the R as decimal point) = 0.10 Ω. The EIA-96 system used on 1% precision SMD parts encodes the value as a 2-digit lookup code plus a multiplier letter (01A = 100 Ω). This calculator handles only colored-band parts; for SMD codes, see a dedicated SMD decoder.

Military and precision parts use E96/E192 series. Tight-tolerance resistors — 1% and below — come from the E96 (96 values per decade) or E192 (192 values per decade) standard series, which carry values like 1.05 kΩ, 1.07 kΩ, 1.10 kΩ that don't appear in the more familiar E24 series. The tool's Value → Bands mode snaps your input to the nearest E-series value; if the snapped value differs significantly from your target, you may need to combine two standard parts in series or parallel.

Photometric color confusion (blue vs. purple under tungsten light). Under warm incandescent or tungsten lighting, blue and violet bands can appear nearly identical, and brown and red can blur. Always verify color reading under neutral white light (5000-6500K), ideally daylight or a bright LED desk lamp. If you have to read under poor light, measure the part with a multimeter and work backward to which color was actually there.

Reading worn-out resistors. Old or heat-damaged parts may have faded, scorched, or partially missing band markings. If you can read a few bands but not all, sometimes the part can be identified by measuring the live resistance and reverse-engineering the band sequence from a standard E-series value near that reading. If all bands are illegible, replacement with an equivalent stocked value is usually faster than archaeology.

Behind the Standards: EIA RS-279, IEC 60062, and the E-Series

The 1920s Origin of Coded Paint

The colored-band resistor code emerged in the 1920s when carbon composition resistors first entered mass production for the burgeoning radio receiver industry. Early parts carried printed value markings, but the small size of resistor bodies and the limited resolution of contemporary printing made small text unreliable — and importantly, printed text was easily smudged or rubbed off during handling and soldering. Colored paint applied as bands solved both problems at once: it was visible from any angle, survived contact wear, and could be read at a glance without rotating the part to find the printed face. The Radio Manufacturers Association (RMA) standardized the mapping in 1930, and the system has remained essentially unchanged for nearly a century.

EIA RS-279 and IEC 60062

The modern formal standard is EIA RS-279 (Electronic Industries Alliance) in the United States and IEC 60062 internationally. Both specify the same color-to-digit mapping, the same multiplier and tolerance conventions, and the same band ordering rules. Black = 0 through white = 9 for digit bands; gold and silver as additional multiplier values (×0.1 and ×0.01) for sub-10-Ω resistances; gold (5%), silver (10%), brown (1%), red (2%), green (0.5%), blue (0.25%), violet (0.1%), and grey (0.05%) as tolerance bands. The standardization means a resistor manufactured by Vishay in Israel, Yageo in Taiwan, or KOA in Japan all carry the same bands for the same value — a quietly remarkable feat of decades-long international coordination.

The E-Series of Standard Values

You can't buy a 1234 Ω resistor off the shelf — manufacturers stock only standardized values from the E-series, defined in IEC 60063. The series names refer to how many values exist per decade: E6 has 6 values per decade (used for very loose 20% tolerance), E12 has 12, E24 has 24 (standard for 5% parts), E48 has 48, E96 has 96 (standard for 1% precision), and E192 has 192 (for 0.5% and tighter). E24, for example, runs 10, 11, 12, 13, 15, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 43, 47, 51, 56, 62, 68, 75, 82, 91 — then the sequence repeats in each higher decade as 100, 110, 120, and so on.

Why These Specific Values

The E-series values are not arbitrary — they're logarithmically spaced. Each successive value in E24 is approximately the 24th root of 10 times the previous value (about 10.1% larger), which means the percentage gap between adjacent values is roughly constant. This matters because the tolerance of a 5% resistor is itself ±5%, so the spacing must be wide enough that adjacent stocked values do not overlap their tolerance ranges meaningfully. The geometric progression guarantees that any target resistance can be reached within roughly half the tolerance percentage using a stocked part — for E24 (5% tolerance), the worst-case rounding error to the nearest stocked value is about 5%, matching the tolerance itself. For E96 (1% precision), it's roughly 1%. This elegant matching of stocked-value spacing to part tolerance is why the same series numbers have survived since the 1952 IEC standard.

Comparison: Color Bands vs. SMD Codes vs. Printed Values vs. In-Circuit Measurement

Resistor values can be identified by several methods, each with its own use case, accuracy, and pitfalls. The table below summarizes when each approach is appropriate and what it costs you in time and certainty.

Resistor Value Identification Methods Compared
Method Used On Reading Speed Accuracy Main Risk
Color bands (this tool) Through-hole axial resistors Fast (under 5 seconds with practice) Within stated tolerance band (5%, 1%, 0.5%, etc.) Misreading colors under poor lighting; wrong reading direction on symmetric parts
SMD numeric codes Surface-mount chip resistors (0402, 0603, 0805, 1206, etc.) Fast — just read the printed digits Within stated tolerance band EIA-96 lookup-table codes require a reference card; 4-digit codes can be mistaken for 3-digit codes
Printed text on body Large power resistors (5W+) and some precision parts Fast when face is visible Exact stated value Text may face away from viewer requiring rotation; can be obscured by heat shrink or potting
In-circuit multimeter Any installed resistor (with caveats) Slow — requires probing and may need power-off Reading shifted by parallel paths through nearby components; can give wrong impression of part value Reading is not the part's nominal value when other components share the same node
Out-of-circuit multimeter Suspect or unmarked parts after desolder Slow — requires desoldering one lead Most accurate; reflects actual measured resistance Desoldering risks damaging the part or nearby components if technique is poor
Color bands and SMD codes give you the manufacturer's nominal value; a multimeter on an isolated part gives you the actual value. For verification work, use both: bands tell you what was specified, the meter tells you what's actually there.

In practice, the workflow is layered: read the bands first to get the design intent, then measure the live circuit if a fault is suspected. Discrepancies between the two readings are diagnostically valuable — they point either to a stuffing error (wrong part installed) or to another component on the same node pulling the reading off.

Related Tools

After identifying a resistor value, the next steps in most electronics work involve unit conversions, base conversions, or related circuit calculations. The Number Base Converter handles binary, decimal, hex, and octal conversions — useful when working with register values or microcontroller pin-state encodings. The Color Converter translates between hex, RGB, HSL, and CMYK formats, which is handy when documenting board schematics or recreating the resistor color palette in design software for schematic illustrations or instructional diagrams.

Frequently Asked Questions

Which way do I read a 5-band resistor?

Read with the tolerance band on the right. The tolerance band is usually visually offset — separated from the other four bands by a wider gap — and is most often brown (1%), red (2%), or, on tighter precision parts, green (0.5%) or blue (0.25%). Orient the resistor so that the lone band sits on the right side, then read left to right: three digit bands, one multiplier band, and the tolerance band you just identified. If both ends look symmetric, measure the part with a multimeter and compare against the value implied by each reading direction — only one will match.

What does a gold tolerance band mean?

A gold band in the tolerance position indicates ±5% tolerance — meaning the actual resistance is guaranteed to fall within 5% of the marked value. A 1 kΩ resistor with a gold band, for example, may measure anywhere from 950 Ω to 1050 Ω and still be within spec. Gold can also appear in the multiplier position (where it means ×0.1) for values below 10 Ω; the position determines its meaning. Silver in the tolerance position means ±10%; silver in the multiplier position means ×0.01.

How do SMD resistors differ?

Surface-mount device (SMD) resistors are too small to carry colored bands and use printed numeric codes instead. The 3-digit code (e.g., 472) reads as two significant digits followed by a power-of-ten multiplier — 472 = 47 × 10² = 4700 Ω = 4.7 kΩ. The 4-digit code (e.g., 4701) carries three significant digits plus a multiplier — 4701 = 470 × 10¹ = 4700 Ω. The EIA-96 system used on 1% precision parts encodes the value as a 2-digit lookup code plus a single multiplier letter (e.g., 01A = 100 Ω, 96Z = 976 mΩ). Zero-ohm jumpers are marked simply 0 or 000.

What's an E-series value?

The E-series is the international standard set of preferred resistor values, defined in IEC 60063. Each series — E6, E12, E24, E48, E96, E192 — contains N values per decade, spaced logarithmically so the percentage gap between adjacent values is roughly constant. E24 (24 values per decade) is the most common stocking series for 5% resistors; E96 (96 values per decade) is standard for 1% precision parts; E192 covers 0.5% and tighter. The values themselves are derived from a geometric progression of the Nth root of 10, then rounded to two or three significant digits.

Why does my multimeter read different from the bands?

Several legitimate reasons. First, tolerance — a 1 kΩ ±5% resistor can read anywhere from 950 to 1050 Ω and still be in spec. Second, in-circuit measurement: if you measure with the resistor soldered to a board, parallel paths through other components will pull the reading lower than the band value. Third, lead and contact resistance becomes significant below 10 Ω; your meter leads alone may add 0.2-0.5 Ω. Fourth, temperature: most resistors drift slightly with heat. Fifth, a damaged resistor — overheated parts can drift permanently. To verify a part in isolation, desolder one lead and measure across the part alone.

What's the temperature coefficient band?

On 6-band resistors, the sixth band specifies the temperature coefficient of resistance (TCR) in parts per million per degree Celsius (ppm/°C). It tells you how much the resistance drifts per degree of temperature change: a brown 6th band means 100 ppm/°C, red means 50, orange 15, yellow 25, blue 10, violet 5. For most digital circuits this is irrelevant. For precision analog work — instrumentation amplifiers, voltage references, audio gain stages — TCR matters because thermal drift directly shifts gain, offset, or filter cutoff frequency. Metal-film parts typically achieve 25-100 ppm/°C; precision foil resistors reach 0.2 ppm/°C.

Can I get any resistance value?

Not from a single off-the-shelf part. Standard resistors come only in E-series values — E24 for 5%, E96 for 1%. To hit a non-standard value, you have three options: combine resistors in series (resistances add) or parallel (1/R = 1/R1 + 1/R2), use a trimmer or potentiometer for an adjustable value, or specify a custom precision part from a manufacturer like Vishay or Caddock (expensive, long lead times). The combine-standard-parts approach is usually the practical choice — two E96 values in series can hit nearly any target within 0.5% with stock components.

How do I tell a 4-band from a 5-band visually?

Count the bands. If you see four total bands, it's a 4-band part (±5% or ±10%, with gold or silver as the tolerance band). If you see five bands, it's a precision part (typically ±1% or ±2%, with brown or red as the tolerance band). A 6-band part adds a temperature coefficient band on the far right. Two visual cues help when the count is ambiguous: precision (5/6-band) resistors are typically blue-bodied rather than the classic beige of 4-band parts, and the tolerance band on 5-band parts is usually visually offset by a slightly wider gap from the rest. When in doubt, measure with a multimeter and compare against both possible readings.