Resistor Project


<--Back

12th April 2025

This project calculates the resistance of the resistor based on the colour coding given to it. It also has extensive validity checks to ensure the right input is given.

It follows the following conventions:

Colour First Band Second Band Third Band Multiplier Tolerance
Black 0 0 0 100 -
Brown 1 1 1 101 -
Red 2 2 2 102 -
Orange 3 3 3 103 -
Yellow 4 4 4 104 -
Blue 5 5 5 105 -
Violet 6 6 6 106 -
Grey 7 7 7 107 -
White 8 8 8 108 -
Gold - - - - 5%
Silver - - - - 10%


Link to the Repository