Home/Other Calculators & Tools/Resistor Calculator

Resistor Calculator

Free resistor colour code decoder · No sign-up · Runs entirely in your browser

Decode 4-band resistor colour codes into resistance and tolerance, and combine two resistors in series or parallel. Full colour chart plus 5, 6-band and SMD codes below.

Colour Band Decoder (4-band)
Band 1 (digit)
Band 2 (digit)
Band 3 (multiplier)
Band 4 (tolerance)

Series / Parallel

R1 (Ω)
R2 (Ω)
Decoded Value
Resistance
5,100 Ω
5.1 kΩ ±5%

Resistor Colour Code

The 4-band code: Band1 + Band2 = first two digits; Band3 = multiplier; Band4 = tolerance. Read from the band closest to one end.

⏱️ Last reviewed: 26 July 2026 · Written and reviewed by Mohsin Iqbal under our editorial policy and calculation methodology. The decoder above handles 4-band resistors; 5-band and 6-band decoding is explained below.
📖 Approx. 14 min read🎨 Full colour chart🔄 Updated 26 July 2026

On this page

  1. What a Resistor Does
  2. How the Colour Code Works
  3. 4-Band, 5-Band and 6-Band
  4. How to Use This Calculator
  5. Why 470 Ω Exists but 450 Ω Does Not
  6. Values Worth Keeping on Hand
  7. Worked Example: Choosing a Resistor for an LED
  8. Power Ratings and Physical Size
  9. Series and Parallel
  10. Surface-Mount Resistors
  11. Resistor Types
  12. Where Resistors Turn Up
  13. Common Mistakes
  14. Frequently Asked Questions
  15. Decode It, Then Check the Wattage

🔑 Key Takeaways

What a Resistor Does

A resistor opposes the flow of current in a controlled, predictable amount. That sounds unglamorous, and it is the most common component in electronics precisely because so much circuit design comes down to limiting current or dividing voltage.

Its behaviour follows Ohm's Law exactly: the voltage across it equals the current through it multiplied by its resistance. For the underlying relationships, see our Ohm's Law calculator.

JobExample
Limiting currentProtecting an LED from the destructive current it would otherwise draw
Dividing voltageScaling a 12 V signal down to something a 3.3 V microcontroller pin can read safely
Pull-up and pull-downHolding a digital input at a defined state instead of leaving it floating
Setting timingWith a capacitor, determining how fast a circuit charges or oscillates
Sensing currentA small known resistance producing a measurable voltage proportional to current

How the Colour Code Works

Resistors are too small to print numbers on legibly, so the value is encoded in coloured bands. The scheme is defined internationally under IEC 60062 and has been essentially unchanged for decades.

ColourDigitMultiplierToleranceTemp. coeff. (ppm/K)
Black0×1250
Brown1×10±1%100
Red2×100±2%50
Orange3×1 k15
Yellow4×10 k25
Green5×100 k±0.5%20
Blue6×1 M±0.25%10
Violet7×10 M±0.1%5
Grey8×100 M±0.05%1
White9
Gold×0.1±5%
Silver×0.01±10%
Which end do you start from? This is the question that trips up beginners, because a resistor read backwards gives a completely different value. Two reliable cues: the bands are grouped toward one end, with a wider gap before the tolerance band — start from the crowded end. And the tolerance band is usually gold or silver, colours that never appear as the first digit. If it is still ambiguous, measure it with a multimeter.

4-Band, 5-Band and 6-Band

BandsReadingTypical use
4-banddigit, digit, multiplier, toleranceGeneral purpose, ±5% and ±10% carbon film
5-banddigit, digit, digit, multiplier, tolerancePrecision metal film, ±1% and tighter
6-bandas 5-band, plus temperature coefficientPrecision work where drift with temperature matters

4-band example — yellow, violet, brown, gold: 4, 7, ×10, ±5% = 470 Ω ±5%, so anywhere from 446.5 to 493.5 Ω.

5-band example — brown, black, black, brown, brown: 1, 0, 0, ×10, ±1% = 1,000 Ω ±1%, so 990 to 1,010 Ω. Note how the third digit lets a precision part specify 1.00 kΩ rather than just 1 kΩ.

6-band adds a final band giving parts per million per kelvin — how much the resistance drifts as it warms. Brown is 100 ppm/K, red 50, blue 10. It only matters in precision analogue work; for hobby projects you can safely ignore it.

Counting the bands is itself a common error. On a 5-band resistor the third band is a digit, not a multiplier. Read a 5-band part as though it were 4-band and you will be out by roughly a factor of ten. Count first, then decode.

How to Use This Calculator

  1. Orient the resistor so the closely grouped bands are on the left and the isolated gold or silver band is on the right.
  2. Select each band colour in order from the left.
  3. Read the value and its tolerance range. Any real resistor is guaranteed only to fall somewhere inside that range.
  4. Use the series and parallel section below to combine two resistors when the value you need is not available.
For 5-band and 6-band parts, decode by hand using the chart above: combine the first three digits into a number, then apply the multiplier. Brown-green-black-red-brown is 1, 5, 0 = 150, ×100 = 15 kΩ ±1%.

Why 470 Ω Exists but 450 Ω Does Not

Work out the resistor you need for a circuit and the answer almost never matches a real part. That is not bad luck — resistors are manufactured only in preferred values, spaced logarithmically in standard series.

SeriesValues per decadeMatching tolerance
E66±20%
E1212±10%
E2424±5%
E9696±1%
E192192±0.5% and tighter

The E12 series is the one most hobby parts come from: 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82 and the same figures in every decade — 100, 120, 150, and so on.

The elegant part is why there are exactly twelve. Each E12 step is about a 20% increase, and each part is ±10%. So the tolerance band around one value reaches almost exactly to the band around the next, and together the twelve values cover every resistance in the decade with no gaps and minimal overlap. The series was designed around the tolerance, not chosen arbitrarily.
E12 valueNext valueStep
101220.0%
121525.0%
151820.0%
182222.2%
222722.7%
273322.2%
333918.2%
394720.5%
475619.1%
566821.4%
688220.6%
8210022.0%

This is why your calculated 495 Ω becomes a 470 Ω part in practice, and why circuits are designed to tolerate that. If a design genuinely needs 495 Ω, you use a tighter series, combine two resistors, or reconsider the design.

Values Worth Keeping on Hand

A handful of E12 values cover the overwhelming majority of hobby circuits. If you are stocking a drawer, start here.

ValueColour bands (4-band, ±5%)What it is usually doing
100 ΩBrown, black, brown, goldSeries protection on signal lines, LED on 3.3 V
220 ΩRed, red, brown, goldLED current limiting on 5 V — the classic Arduino value
330 ΩOrange, orange, brown, goldLED on 5 V at lower brightness, safe general choice
470 ΩYellow, violet, brown, goldLED current limiting on 12 V
1 kΩBrown, black, red, goldGeneral purpose, transistor base resistor
2.2 kΩRed, red, red, goldLevel shifting, I²C pull-ups on faster buses
4.7 kΩYellow, violet, red, goldI²C pull-ups, general pull-up duty
10 kΩBrown, black, orange, goldThe workhorse — pull-ups, pull-downs, voltage dividers
100 kΩBrown, black, yellow, goldHigh-impedance dividers, timing circuits
1 MΩBrown, black, green, goldVery high impedance, bleeder and gate pull-downs
If you buy one value, buy 10 kΩ. It is high enough not to load a circuit meaningfully, low enough to hold a digital input firmly at a defined state, and it appears in more beginner projects than every other value combined. 220 Ω and 470 Ω come next, for LEDs on 5 V and 12 V respectively.

Worked Example: Choosing a Resistor for an LED

A 12 V supply, a red LED with a 2.1 V forward voltage, and a 20 mA target current.

StepWorkingResult
Voltage the resistor must drop12 − 2.19.9 V
Ideal resistance9.9 ÷ 0.02495 Ω
Nearest E12 value470 Ω
Actual current9.9 ÷ 47021.06 mA
Power in the resistorI²R = 0.02106² × 4700.209 W
Check the power rating, not just the resistance. At 0.209 W, a 0.25 W resistor runs at 83% of its rating and will be noticeably warm. A 0.5 W part costs the same few cents and runs cool. This is the step people skip — the resistance is easy, the wattage is what fails.

Power Ratings and Physical Size

Resistance is set by the colour bands. Power rating is set by physical size — a bigger body sheds heat faster. You cannot tell the resistance from the size, but you can usually tell the wattage.

RatingTypical body sizeWhere you see it
1/8 W (0.125 W)~3.5 × 1.8 mmDense PCBs, signal circuits
1/4 W (0.25 W)~6.3 × 2.3 mmThe default hobby part — most breadboard work
1/2 W (0.5 W)~9 × 3.5 mmLED circuits on 12 V, anything running warm
1 W~11 × 5 mmPower supplies, small loads
2 W~15 × 5 mmHigher-current circuits
5 W and aboveCeramic block, ~22 × 9 mmWirewound, dummy loads, bleeder resistors
SMD packageSize (mm)Typical rating
04021.0 × 0.51/16 W
06031.6 × 0.81/10 W
08052.0 × 1.251/8 W
12063.2 × 1.61/4 W
Derate, do not run to the limit. A resistor at its full rated power is running hot enough to drift in value, discolour its own markings and cook whatever sits next to it on the board. Standard practice is to size for roughly half the rating — so a circuit dissipating 0.2 W wants a 0.5 W part, not a 0.25 W one. The extra costs a few cents and buys you a component that stays where you put it.

Work out the dissipation with I²R or V²/R using the Ohm's Law calculator, then pick a rating at least double that figure.

Series and Parallel

Series:     R = R₁ + R₂
Parallel:   R = (R₁ × R₂) ÷ (R₁ + R₂)
CombinationSeriesParallel
100 Ω + 220 Ω320 Ω68.75 Ω
470 Ω + 470 Ω940 Ω235 Ω
1 kΩ + 10 kΩ11 kΩ909.09 Ω

Two useful rules of thumb: parallel resistance is always lower than the smaller of the two, and two identical resistors in parallel give exactly half the value. That last one is the standard trick for hitting a value the E12 series does not offer.

Watch the power sharing. In series, the same current flows through both, so each dissipates I²R for its own resistance. In parallel, they share current in inverse proportion to their resistance, so the smaller resistor takes more and gets hotter. Combining resistors to reach a value does not automatically double your power handling.

Surface-Mount Resistors

SMD resistors are too small for bands and use printed number codes instead. If you are working on modern equipment or a commercial PCB, this is what you will actually encounter.

Code styleHow to read itExample
3-digitTwo digits then the number of zeros472 = 47 followed by 2 zeros = 4,700 Ω = 4.7 kΩ
4-digitThree digits then the number of zeros4701 = 470 followed by 1 zero = 4,700 Ω
R notationR marks the decimal point4R7 = 4.7 Ω;  R47 = 0.47 Ω
EIA-96Two digits index a lookup table, the letter is the multiplier01C = 100 × 100 = 10 kΩ
000 or 0A zero-ohm link — a wire in resistor formUsed as a jumper on a PCB

The 3-digit and 4-digit codes are straightforward once you see the pattern. EIA-96 is used on very small precision parts and needs a lookup table, because the two digits are an index rather than a value.

Resistor Types

TypeTypical toleranceBest forWatch out for
Carbon film±5%General purpose, cheapest optionNoisier, drifts more with temperature
Metal film±1% or betterPrecision, analogue and audio workSlightly more expensive
Wirewound±1–5%High power, current sensingInductive — unsuitable at high frequency
SMD thick film±1–5%Modern commercial boardsDifficult to hand-solder at small sizes
PotentiometerVariableVolume controls, adjustable dividersWears out; wiper can go open circuit
ThermistorVaries deliberatelyTemperature sensing, inrush limitingResistance is meant to change — not a fault

For most hobby work, ±5% carbon film is entirely adequate. Move to metal film when the circuit is analogue, when accuracy genuinely matters, or when noise is a concern.

Where Resistors Turn Up

The same handful of values do very different jobs depending on the circuit around them.

ContextThe resistor's jobTypical value
ArduinoLimiting LED current on a 5 V output pin; pull-down on a button input so the pin is not left floating220 Ω / 10 kΩ
Raspberry PiProtecting 3.3 V GPIO pins, which are not 5 V tolerant, and forming dividers to bring 5 V sensor outputs down safely1 kΩ / 10 kΩ pairs
I²C sensor busesPull-ups on the data and clock lines — the bus does not work without them4.7 kΩ
LED strips and panelsSeries resistance per LED or per string, set by supply voltage and forward voltage220 Ω to 470 Ω
Audio amplifiersSetting gain, forming input impedance and volume dividers — where metal film pays for itself in lower noise1 kΩ to 100 kΩ
Power suppliesBleeder resistors discharging capacitors after power-off; feedback dividers setting output voltageVaries; often high wattage
Solar and battery systemsCurrent shunts — a very low, precise resistance producing a measurable voltage proportional to current0.001 Ω to 0.1 Ω
Transistor circuitsBase resistors limiting drive current; emitter resistors setting bias1 kΩ to 10 kΩ
The Raspberry Pi row is worth pausing on. Its GPIO pins run at 3.3 V and are not 5 V tolerant — connecting a 5 V sensor output directly can damage the pin permanently. A two-resistor divider, or a proper level shifter, sits between them. This is the single most common way people destroy a Pi, and it costs two resistors to avoid.

Common Mistakes

  1. Reading the bands from the wrong end. Start from the crowded end. Yellow-violet-brown-gold is 470 Ω; read backwards it is meaningless, but a symmetrical-looking code can silently give you the wrong value.
  2. Miscounting the bands. A 5-band part read as 4-band will be out by about a factor of ten, because the third band is a digit rather than a multiplier.
  3. Ignoring the power rating. The correct resistance in an undersized package overheats, drifts and eventually fails. Always check I²R against the part's wattage.
  4. Expecting the exact calculated value. Preferred values mean you will be choosing the nearest E12 or E24 part. Design so that matters little.
  5. Forgetting tolerance stacks. Two ±5% resistors in a divider can combine to a worse error than either alone. Use ±1% parts where the ratio matters.
  6. Confusing brown and red, or orange and red, under poor light. Faded and dusty resistors are genuinely hard to read. A multimeter settles it in seconds.
  7. Assuming a resistor failed open. Overheated resistors often drift high rather than going fully open, so a circuit can misbehave while the part still measures as present.

Frequently Asked Questions

How do I read resistor colour codes?

Start from the end where the bands are grouped closest together. On a 4-band resistor the first two bands are digits, the third is a multiplier and the fourth is tolerance. Yellow-violet-brown-gold is 4, 7, ×10, ±5% = 470 Ω. The tolerance band is usually gold or silver and sits slightly apart from the others.

How do I calculate a resistor value from the bands?

Combine the digit bands into a number, then multiply by the multiplier band. For 4-band: (first digit × 10 + second digit) × multiplier. For 5-band, combine three digits instead of two. Brown-black-black-brown-brown is 100 × 10 = 1,000 Ω ±1%.

What is resistor tolerance?

Tolerance is the guaranteed accuracy of the value. A 470 Ω ±5% resistor is guaranteed to measure between 446.5 Ω and 493.5 Ω. Gold is ±5%, silver ±10%, brown ±1% and red ±2%. Tighter tolerance costs more and is only worth paying for where accuracy genuinely affects the circuit.

What is the difference between 4-band and 5-band resistors?

A 5-band resistor has three digit bands instead of two, allowing a more precise value — 1.00 kΩ rather than 1 kΩ. They are usually precision metal film parts at ±1% or better. The important practical point is to count the bands before decoding, because reading a 5-band part as 4-band is out by roughly a factor of ten.

What does the sixth band mean?

The sixth band is the temperature coefficient in parts per million per kelvin — how much resistance drifts as the part warms. Brown is 100 ppm/K, red 50 and blue 10. It matters in precision analogue and measurement circuits, and can be safely ignored for general hobby work.

Why can't I buy the exact resistor value I calculated?

Resistors are made only in preferred values from standard series. E12 has twelve values per decade — 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82 — and E24 has twenty-four. A calculated 495 Ω becomes a 470 Ω part. If you need something in between, combine two resistors or use a tighter series such as E96.

What resistor do I need for an LED?

Subtract the LED's forward voltage from the supply, then divide by the target current. For 12 V, a 2.1 V red LED and 20 mA: (12 − 2.1) ÷ 0.02 = 495 Ω, so use a 470 Ω part. Then check the wattage — I²R here is 0.209 W, which means a 0.5 W resistor rather than a 0.25 W one.

How do I read surface-mount resistor codes?

SMD parts use printed numbers, not colours. A 3-digit code gives two digits and a count of zeros, so 472 is 4,700 Ω. A 4-digit code gives three digits and a count of zeros. An R marks the decimal point, so 4R7 is 4.7 Ω. Very small precision parts use EIA-96, where two digits index a lookup table and a letter gives the multiplier.

How do resistors combine in series and parallel?

In series they simply add: two 470 Ω resistors give 940 Ω. In parallel, the combined value is (R1 × R2) ÷ (R1 + R2), so two 470 Ω resistors give 235 Ω. Parallel resistance is always lower than the smaller of the two, and two identical resistors in parallel give exactly half the value.

What is a zero-ohm resistor for?

It is a wire link in resistor form, marked 000 or 0. Automated assembly machines place resistors, not wires, so a zero-ohm part lets a manufacturer bridge two points on a board using the same equipment. They also allow one board design to be configured differently by fitting or omitting links.

What is the difference between carbon film and metal film resistors?

Carbon film is cheaper, typically ±5%, and slightly noisier with more drift over temperature. Metal film achieves ±1% or better with lower noise and better stability, at modest extra cost. Use carbon film for general purposes and metal film for analogue, audio and measurement circuits where accuracy matters.

Does a resistor's power rating matter?

Very much. The resistance sets the current; the power rating determines whether the part can dissipate the resulting heat. Calculate I²R and choose a resistor rated comfortably above it — running at more than about two-thirds of rating means a hot component that drifts in value and shortens its life.

Decode It, Then Check the Wattage

Reading the bands is the easy part, and this page's decoder handles it. The steps that actually determine whether a circuit works are the ones after: choosing the nearest preferred value, and confirming the part can dissipate the power it will be asked to handle.

From here, the Ohm's Law calculator works out the resistance and power you need, the voltage drop calculator covers losses in cable runs, and the electricity cost calculator prices consumption.

⚡ Electronics Calculators

Resistor Calculator — decode colour bands (this page) Ohm's Law Calculator — volts, amps, ohms and watts Voltage Drop Calculator — cable losses and sizing Electricity Cost Calculator — running cost from consumption

📋 References & Further Reading

International Electrotechnical Commission — IEC 60062 marking codes for resistors and capacitors Engineers Australia — Professional engineering standards IEEE — Electrical and electronics engineering resources Standards Australia — Australian and international standards