InputTestHub

Resistor Colour Code Calculator

Reads resistor colour bands into a value and tolerance, and tells you whether the result is a real preferred value.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
Enter your figures and press Calculate.
In short A resistor's colour bands are a number in base ten with the digits written as colours. On a four-band part the first two bands are digits, the third is how many zeros to add, and the fourth is the tolerance — so brown-black-red-gold is 1, 0, two zeros, giving 1,000 Ω at ±5%. Five and six band parts add a third digit for precision and, on six-band, a temperature coefficient. The digit colours run black, brown, red, orange, yellow, green, blue, violet, grey, white for 0 to 9, and the middle of that run is not arbitrary: 2 to 7 are the visible spectrum in order, which is the part worth actually memorising. Two practical points save more time than the code itself. First, reading from the wrong end gives a plausible but wrong answer, so find the reference: gold and silver only ever appear as a multiplier or a tolerance, never as a digit, and the tolerance band is spaced slightly further from the others. A first band of black is impossible, because a value never starts with zero. Second, check the result against the preferred series. Resistors are only made in the IEC 60063 values — E24 for ±5% parts — so a reading that does not land on one of those is almost always a misread band rather than an unusual resistor.

How to use the Resistor Colour Code Calculator

  1. Choose how many bands the resistor has.
  2. Set each band to the colour you see, left to right.
  3. Read the value, tolerance and whether it is a standard preferred value.

About the Resistor Colour Code Calculator

Resistor colour bands decoded into value, tolerance and temperature coefficient.

What people use it for

  • Reading a resistor you have pulled out of a drawer.
  • Checking a value before soldering it in.
  • Confirming you are reading the bands from the correct end.

Details

Digits 2–7the visible spectrum: red, orange, yellow, green, blue, violet
brown-black-red-gold1 kΩ ±5%
Gold and silvernever a digit — only multiplier or tolerance
A black first bandimpossible; you are reading from the wrong end
Sanity checkthe value should land on a preferred series value
PrivacyEverything runs in your browser. Nothing you enter is sent anywhere
Whether the decoded value belongs to a preferred series is shown with every result, because that is the fastest check that the bands have been read correctly.

Where this tool stops

These are ideal-component calculations. Real resistors drift with temperature and age, real capacitors lose capacitance with applied voltage, and every semiconductor changes with temperature — so treat the figures as a starting point and check anything critical against the datasheet. Nothing here covers mains voltages: the site's installation tools are separate, and mains wiring is a job for a qualified electrician.

Frequently asked questions

How do I know which end to start reading from?
The tolerance band is set slightly further from the rest, and gold or silver only ever appear as a multiplier or tolerance — so if you see one at an end, that end is the last band. Failing that, a resistor never starts with a black band, because a value cannot begin with zero.
What do the colours mean?
Black 0, brown 1, red 2, orange 3, yellow 4, green 5, blue 6, violet 7, grey 8, white 9. The stretch from red to violet is the visible spectrum in order, which makes the middle of the table easy to remember.
What is the difference between a 4 and 5 band resistor?
A five-band resistor has three significant digits instead of two, so it can express tighter values — it is how ±1% and ±2% parts are marked. A six-band adds a temperature coefficient.
My reading is not a normal value — what did I get wrong?
Almost certainly the direction or one band. Resistors are only manufactured in the preferred series, so a value like 370 Ω does not exist as a standard part. This page tells you when the result is not a preferred value for exactly that reason.
What does the tolerance actually mean?
It is the guaranteed range, not the accuracy of any one part. A 1 kΩ ±5% resistor is sold as anything from 950 Ω to 1,050 Ω, and manufacturers do not aim for the middle.
Do I need an account to use the Resistor Colour Code Calculator?
No charge and no sign-up. There is no free tier to run out of because there is no paid tier — inputtesthub.com is funded by advertising rather than by metering the utility.
Is what I paste into the Resistor Colour Code Calculator stored?
No. The Resistor Colour Code Calculator runs entirely in your browser using JavaScript. Your input never reaches inputtesthub.com or any third party — open your browser's Network tab while you use it and you will see no request go out.
What is the Resistor Colour Code Calculator used for?
In practice it gets used for three things: reading a resistor you have pulled out of a drawer. Checking a value before soldering it in. Confirming you are reading the bands from the correct end. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there anything the Resistor Colour Code Calculator cannot do?
These are ideal-component calculations. Real resistors drift with temperature and age, real capacitors lose capacitance with applied voltage, and every semiconductor changes with temperature — so treat the figures as a starting point and check anything critical against the datasheet. Nothing here covers mains voltages: the site's installation tools are separate, and mains wiring is a job for a qualified electrician. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What figures does the Resistor Colour Code Calculator work from?
Digits 2–7 is the visible spectrum: red, orange, yellow, green, blue, violet. brown-black-red-gold is 1 kΩ ±5%. Gold and silver is never a digit — only multiplier or tolerance. These are printed on the page itself, so you do not have to take them on trust.
How precise is the result?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related calculators tools

All 382
01

Loan Calculator

Works out the monthly payment, total interest and full repayment schedule for any loan from…

02

EMI Calculator

Calculates your Equated Monthly Instalment with a full principal-versus-interest breakdown and…

03

Mortgage Calculator

Estimates a full monthly housing payment including principal, interest, property tax…

04

Car Loan Calculator

Calculates a car finance payment from the price, deposit, trade-in, interest rate and term…

05

Personal Loan Calculator

Works out instalments and total cost for an unsecured personal loan, including any processing…

09

SIP Calculator

Projects the maturity value of a monthly Systematic Investment Plan, showing invested amount…