Skip to content
FiftyOhm
Esc
  • Air-core coilSingle-layer air-core solenoid inductance from Nagaoka's exact coefficient, compared with Wheeler's formula. Solve for the number of turns for a target inductance.Components & magnetics
  • Attenuator PadsResistor values for Pi, T, bridged-T and minimum-loss L-pad attenuators, with unequal impedances, power dissipation per resistor and E24/E96 rounding.Couplers, dividers & attenuators
  • CoaxCoax Z0, capacitance and inductance per length, velocity factor, loss, exact TE11 cutoff and breakdown voltage. Solve for D, d or εr from Z0.Transmission lines
  • CPW / GCPWCoplanar waveguide and grounded CPW impedance, effective permittivity, dispersion, delay and loss by conformal mapping. Solve for centre width or gap.Transmission lines
  • dBm ↔ W ↔ VConvert RF power between dBm, dBW, watts, Vrms, Vpeak, Vpp, dBµV and dBmV for any system impedance. Instant, accurate, with formulas.Fundamentals & conversions
  • Differential pairEdge-coupled microstrip and stripline differential impedance, Z0 even/odd, common-mode impedance, coupling and delay. Solve for spacing or width from Zdiff.Transmission lines
  • Filter OrderMinimum filter order to meet a passband/stopband attenuation mask for Butterworth, Chebyshev and elliptic responses, with the attenuation actually achieved.Filters
  • Free-space path lossFree-space path loss from the Friis equation, received power with antenna gains, and a far-field check. Solve for distance or frequency.Propagation & link budget
  • L / Pi / T MatchingDesign lumped L, Pi and T matching networks between complex source and load impedances. Both L solutions, loaded-Q Pi/T, component values and bandwidth.Matching & Smith chart
  • LC Filter DesignerDesign lumped LC ladder filters: Butterworth, Chebyshev or Bessel; low-pass, high-pass, band-pass, band-stop to order 10, with exact insertion loss and group delay.Filters
  • LED ResistorSeries resistor for one LED or a string of LEDs: exact value, next standard E12/E24/E96 value, actual current, resistor power and recommended rating.Electronics basics

Resistor Color Code Calculator (3, 4, 5 and 6 Band)

Read 3-, 4-, 5- and 6-band resistor colour codes (IEC 60062) as value, tolerance and temperature coefficient, or find the bands for any resistance.

Read the bands

Results

Resistance
4.7 kΩ
Tolerance
±5 %
Range
4.465 kΩ to 4.935 kΩ

Find the bands for a value

  1. Yellow
  2. Violet
  3. Black
  4. Brown
  5. Brown
Marked value
4.7 kΩ

Formulas

R=(10 d1+d2)×10m(3 and 4 bands),R=(100 d1+10 d2+d3)×10m(5 and 6 bands)R = (10\,d_1 + d_2)\times 10^{m}\quad\text{(3 and 4 bands)},\qquad R = (100\,d_1 + 10\,d_2 + d_3)\times 10^{m}\quad\text{(5 and 6 bands)}Rmin=R(1−t),Rmax=R(1+t)R_\mathrm{min} = R(1 - t),\qquad R_\mathrm{max} = R(1 + t)ΔR≈R⋅TCR⋅10−6⋅ΔT\Delta R \approx R\cdot \mathrm{TCR}\cdot 10^{-6}\cdot\Delta T

What this calculator does

Through-hole resistors are too small to print a number on, so their value is painted on as coloured bands. The code is set by the international standard IEC 60062. This calculator works in both directions:

  • Read the bands: choose 3, 4, 5 or 6 bands and pick each colour. You get the resistance, the tolerance, the range the real value can lie in, and (for 6 bands) the temperature coefficient.
  • Find the bands for a value: type a resistance and you get the colours to look for, ready to check against a resistor in your parts drawer.

How the code works

Each colour stands for a digit:

ColourDigitMultiplierToleranceTemp. coefficient
Black0×1250 ppm/K
Brown1×10±1 %100 ppm/K
Red2×100±2 %50 ppm/K
Orange3×1 k±0.05 %15 ppm/K
Yellow4×10 k±0.02 %25 ppm/K
Green5×100 k±0.5 %20 ppm/K
Blue6×1 M±0.25 %10 ppm/K
Violet7×10 M±0.1 %5 ppm/K
Grey8×100 M±0.01 %1 ppm/K
White9×1 G
Gold×0.1±5 %
Silver×0.01±10 %
Pink×0.001
No band±20 %

A handy way to remember the digit order is the rainbow (red, orange, yellow, green, blue, violet) with black and brown in front and grey and white at the end.

  • 3 bands: two digits and a multiplier, with no tolerance band. A missing tolerance band means ±20 %. Old and very cheap resistors use this code.
  • 4 bands: two digits, a multiplier, a tolerance. R=(10 d1+d2)×R = (10\,d_1 + d_2) \times multiplier.
  • 5 bands: three digits, a multiplier, a tolerance. Used for 1 % and better resistors, because three digits are needed to show values such as 4.99 kΩ.
  • 6 bands: like 5 bands, plus a temperature coefficient (TCR): how many millionths (ppm) the resistance changes for each degree of temperature change.

The multiplier band tells you how many zeros to add. Gold and silver multipliers divide instead, which is how values below 10 Ω are marked.

Which end to start from

The tolerance band is usually set a little apart from the others, and is often gold or silver, which never appear as the first band. Start reading from the other end. If your reading begins with black, or gives a value that is not a standard E-series value, try reading from the other end. The calculator shows a hint when the first band is black.

Worked example

The default resistor has the bands yellow, violet, red, gold:

  1. Yellow = 4 and violet = 7 give the digits 47.
  2. Red is the multiplier ×100, so the value is 47×100=4700 Ω47 \times 100 = 4700\ \Omega = 4.7 kΩ.
  3. Gold means ±5 %, so the real value lies between 4700×0.954700 \times 0.95 and 4700×1.054700 \times 1.05: the calculator shows 4.465 kΩ to 4.935 kΩ.

In the other direction, type 4.7 kΩ with 5 bands and 1 % tolerance. The calculator gives yellow, violet, black, brown, brown: digits 4-7-0, multiplier ×10 and tolerance ±1 %, so the marked value is again 4.7 kΩ. Try 4.75 kΩ with 4 bands instead: two digits are not enough, so the code is rounded to yellow, grey, red (4.8 kΩ), and the calculator reports a rounding of +1.05 %. With 5 bands, 4.75 kΩ is shown exactly as yellow, violet, green, brown.

Accuracy and validity

The decoding is exact: it is a lookup in the IEC 60062:2016 table. A few practical limits:

SituationWhat to know
Old or overheated partsColours fade or darken; brown, red and orange are easily confused. Measure with a meter when in doubt.
Yellow and grey tolerance bandsBefore IEC 60062:2016 some makers used them as substitutes for gold and silver. Check the datasheet.
Military and special partsSome carry a fifth band for failure rate, or a wide first band for wire-wound types.
Zero-ohm linksA single black band.
Surface-mount resistorsUse a printed number code (for example 472 = 4.7 kΩ) instead of colours.

Practical notes

  • Standard values. Resistors are made in the preferred values of IEC 60063. For 5 % parts (E24) the digit pairs are 10, 11, 12, 13, 15, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 43, 47, 51, 56, 62, 68, 75, 82 and 91. If your reading is not one of these, you are probably reading it backwards or misjudging a colour.
  • Tolerance is not drift. A ±1 % resistor starts within 1 % of its value; heating, ageing and soldering can move it further.
  • Temperature coefficient. A 100 ppm/K, 10 kΩ resistor that warms up by 50 °C changes by 10 000×100×10−6×50=50 Ω10\,000 \times 100 \times 10^{-6} \times 50 = 50\ \Omega, or 0.5 %.

References

  1. IEC 60062:2016, Marking codes for resistors and capacitors, 6th ed., International Electrotechnical Commission, 2016.
  2. IEC 60063:2015, Preferred number series for resistors and capacitors, International Electrotechnical Commission, 2015.
  3. P. Horowitz and W. Hill, The Art of Electronics, 3rd ed., Cambridge University Press, 2015, Appendix C (resistor types and colour code).