# A little question about Javascript Resistance Caculator

• Java
• KENNEL STW
In summary, the resistance calculator shows the values of a resistor in terms of colour bands, with silver, gold, and no bands denoting tolerance levels of ± 20%, ± 10%, and ± 5%, respectively.f

#### KENNEL STW

Javascript Resistance Calculator

The values of the resistor are calculated from the colour of the bands. The values of the colours are shown in Table 1. The first band is the tens values. The second band gives the units, the third band is a multiplying factor the factor being 10band value. The fourth band gives the tolerance of the resistor. No band implies a tolerance of ± 20%, a silver band means the resistor has a tolerance of ± 10% and a gold band has the closest tolerance of ± 5%.

This is what I read in suplung,and I am not a native English speaker,so can you expain the word tolerance there to me? Thank you so much!Have a good day because there going to have a game of liverpool today hhhhh

"tolerance" is the accuracy of a resistor's nominal value to its actual value.

A resistor that says "100Ω" with 20% tolerance could have a real value between 80-120Ω. If it is marked as 5% tolerance its real value should be between 95 and 105Ω.

Delta2 and malawi_glenn

Welcome to PF.
The values of the resistor are calculated from the colour of the bands. The values of the colours are shown in Table 1.
Can your use the "Attach files" link below the Edit window to upload Table1? Thanks.

Also, keep in mind that if you are trying to decode resistor color codes, you will need to be able to handle the color bands in either order. That's something that EEs deal with in real life all the time. Oh, and sometimes "red" is washed out to look more like "brown", and "gold" tolerance can look like "brown" too. So reading the color code can involve some AI (and/or guesswork and a DVM to back up the guesswork).

Oh, and sometimes "red" is washed out to look more like "brown", and "gold" tolerance can look like "brown" too.
I have a compact fluorescent work-light with an emission spectrum that makes red and orange look the same to human eyes; 33k = 22k = 3k3.

Use daylight or a bright filament lamp to read component color codes.