# Resistor colour code calculator > How do you read a resistor's colour bands? Turn 4, 5 or 6 colour bands into ohms and tolerance, or find the bands of a value. Read a resistor's 4, 5 or 6 colour bands as ohms, tolerance and range, or find the bands for a value. Drawn, with every colour named, per IEC 60062. - Page: https://how.box/resistor/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/resistor/?m={m}&b={b}&r={r}&ru={ru}&n={n}&t={t}&c={c} - `m` (decode or encode): decode (colours to value, default) or encode (value to colours). Example: `encode`. - `b` (text): Band colours in reading order, joined by -. Example: `yellow-violet-red-gold`. - `r` (number 0.01 to 1e11): Resistance in ohms (encode). Example: `4700`. - `ru` (milliohm, ohm, kohm or megohm): Display unit of the resistance. Example: `kohm`. - `n` (4, 5 or 6): Number of bands (encode): 4, 5 or 6. Example: `5`. - `t` (20, 10, 5, 2, 1, 0.5, 0.25, 0.1, 0.05, 0.02 or 0.01): Tolerance in ± per cent (encode). Example: `1`. - `c` (250, 100, 50, 25, 20, 15, 10, 5 or 1): Temperature coefficient in ppm/K (encode, 6 bands). Example: `100`. Example answer: https://how.box/resistor/?m=encode&b=yellow-violet-red-gold&r=4700&ru=kohm&n=5&t=1&c=100 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `resistor_color_code`: Resistor colour code (IEC 60062). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"resistor_color_code","arguments":{"mode":"encode","bands":"yellow-violet-red-gold","ohms":4700,"ohms_unit":"kohm","band_count":5,"tolerance_percent":1,"tcr_ppm":100}}}` - GET: https://how.box/mcp/run/resistor_color_code?mode=encode&bands=yellow-violet-red-gold&ohms=4700&ohms_unit=kohm&band_count=5&tolerance_percent=1&tcr_ppm=100 ## How it works Small resistors are too small for printed numbers, so their value is painted on as coloured rings. Each colour stands for a digit, from black for 0 to white for 9. The next band says how many zeros to add, and a band set apart at the end gives the tolerance: how far the real value may be from the marked one. On a 4-band resistor the first two bands are digits and the third is the multiplier: yellow (4), violet (7), red (× 100) and gold (±5 %) read 47 × 100 = 4 700 Ω = 4.7 kΩ, so the part is between 4 465 Ω and 4 935 Ω. Precision resistors have 5 bands with three digits, and a sixth band can give the temperature coefficient, how much the value drifts with heat in parts per million per kelvin. Gold and silver as the multiplier mean × 0.1 and × 0.01. The colours and values are those of the standard IEC 60062. Colours fade and some look alike (red, orange and brown), so when in doubt, measure the resistor with a multimeter out of the circuit. Military and some older parts use other markings. ## FAQ **Which end do I start reading from?** From the end where the bands are closer to the edge. The tolerance band, usually gold or silver, is at the other end, often with a gap before it. Gold and silver are never the first band. **What does a resistor with only three bands mean?** Two digits and a multiplier with no tolerance band: the tolerance is ±20 %. **Why can't my value be shown with 4 bands?** Four bands hold only two digits, so 4.75 kΩ needs 5 bands. Standard 4-band values come from the E12 and E24 series, which the tool suggests next to the bands. **Do the bands tell me the power rating?** No. The bands show resistance and tolerance, and sometimes a temperature coefficient. Check the part specification for its power rating. **What if the colours are faded?** Do not guess. Measure the resistance with the circuit unpowered and the resistor isolated from other current paths. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)