Home / Science / Engineering / Electrical and electronics / Resistor colour codeTool #622

Resistor colour code calculator: 4, 5 and 6 bands both ways, nearest E-series value and voltage divider designer

Read a resistor's colour bands (3 to 6 bands) as ohms, tolerance and temperature coefficient, or turn a value into its colour bands; find the nearest standard value in E6 to E192; and design a voltage divider from a pair of standard resistors with worst-case output, current and power.

Keep it one tap away for everyday use.

Bookmark Resistor colour code?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Bands
  2. Value
  3. E-series
  4. Divider
Nothing is uploadedWorks offline once open

Colour bands to value

Read from the end with the band nearest the edge; the tolerance band (often gold or silver, or set a little apart) goes last. If the reading gives a strange value, try the other way round.

Value to colour bands

Type 4700, 4.7k, 4k7, 1M5 or 0R47. Here k means thousand and M (or m) means million ohms.

Voltage divider designer

R1 goes from the input to the output, R2 from the output to ground. Vout = Vin × R2 ÷ (R1 + R2). A load across R2 pulls the output down, so give it if there is one. The total range sets the current: a larger total wastes less power but is more affected by the load. Worst case: both resistors at opposite ends of their tolerance.

Download

What it does

Most through-hole resistors show their value as coloured bands instead of printed numbers. This tool reads them both ways and helps you choose standard values:

  • Colour bands to value: pick 3, 4, 5 or 6 bands and get the resistance, tolerance, the range a good part may measure, whether it is a standard value, and (for 6 bands) the temperature coefficient.
  • Value to colour bands: type a value such as 4.7k or 4k7 and see the bands for 4, 5 or 6-band parts, plus the nearest standard value below and above it in every E series from E6 to E192.
  • Voltage divider designer: give the input and wanted output voltage and it searches every pair in your chosen series for the closest output, with the worst-case range, current and power in each resistor.

How the code works

On a 4-band resistor the first two bands are digits, the third is the multiplier (how many zeros, or gold ×0.1 and silver ×0.01) and the fourth is the tolerance. Five and six-band parts have three digit bands; the sixth band is the temperature coefficient in ppm per kelvin. Digits run black 0, brown 1, red 2, orange 3, yellow 4, green 5, blue 6, violet 7, grey 8, white 9. Tolerance: brown ±1 %, red ±2 %, green ±0.5 %, blue ±0.25 %, violet ±0.1 %, gold ±5 %, silver ±10 %, no band ±20 %.

E series

Resistors are made in preferred values spaced evenly on a log scale. E12 has 12 values per decade (1.0, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8, 8.2) and is usually ±10 %; E24 is usually ±5 %, E96 ±1 %. A value off by less than the tolerance is as good as any other in that series.

Worked example

The first card starts with yellow, violet, red, gold: 4, 7, ×100, ±5 %, so 4.7 kΩ ±5 %, anything from 4.465 kΩ to 4.935 kΩ, and a standard E6 value. For 5,000 Ω the nearest E24 values are 4.7 kΩ and 5.1 kΩ; 5.1 kΩ is nearer (+2 %), and in E96 4.99 kΩ is only 0.2 % off.

The divider starts at 12 V to 3.3 V with E24 parts and a total of 1 kΩ to 100 kΩ. The best pair is R1 = 2.4 kΩ, R2 = 910 Ω, giving 3.299 V (0.0275 % low), drawing 3.63 mA (24 kΩ and 9.1 kΩ give the same ratio at a tenth of the current); with ±5 % parts the output could be anywhere from 3.065 V to 3.544 V. A 10 kΩ load on the output changes the best pair to 2.2 kΩ and 910 Ω.

FAQ

Which end do I start from? The end with a band closest to the edge. Gold and silver are never first. If you get a value that is not standard, read it the other way.

Why does m mean mega here? Resistors are never marked in milliohms by colour, so 1m or 1M both mean 1 MΩ, as on many parts lists.

Is the divider good for a power supply? No: a divider’s output sags with any load current. It is fine for setting a reference, biasing, or scaling a signal into a measuring input. For study and planning, not a substitute for professional judgement.

Where the numbers come from

  • Band meanings (digits, multipliers including gold, silver and pink, tolerance and temperature coefficient colours) follow the colour code of IEC 60062, a general convention printed on parts and in electronics textbooks.
  • E-series preferred numbers: E3 to E24 are the well-known IEC 60063 lists; E48, E96 and E192 are 10^(i/n) rounded to three figures, with 9.20 in E192 as the standard has it.
  • Divider pairs checked against an independent brute-force Python search of every pair. The example values are made up.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Uncertainty propagation calculator #25 Type your formula and your measurements with their uncertainties, or paste repeated readings. Get the result with its uncertainty, which input matters most, and a Monte Carlo check. Circuit simulator #621 Type or paste a SPICE-style netlist of resistors, capacitors, inductors and voltage or current sources, then get the DC operating point, an AC sweep with the Bode magnitude and phase at any node, or the voltage against time with pulse, sine or piecewise sources. Nothing is uploaded. Analog filter designer #623 Design a low-pass or high-pass filter of order 1 to 12 with a Butterworth or Chebyshev response, built as unity-gain Sallen-Key op-amp stages, a passive LC ladder, or a single RC or RL. Get every part value, rounded to E-series, the pole frequency and Q of each stage, the order you need for a given cut, and a Bode plot of the exact and rounded designs. Op-amp circuit calculator #625 Work out the gain of the classic op-amp circuits from their resistors and capacitors, the real bandwidth from the op-amp's gain-bandwidth product, the output swing and clipping on your supply, slew-rate limits, and the common-mode rejection of a difference amplifier, with a Bode plot and the input and output waveforms. LED resistor calculator #626 Work out the series resistor for one LED or a string of LEDs, pick the standard E12, E24 or E96 value, see the resistor and LED power with a safe resistor rating, how much the current moves with forward-voltage spread and supply tolerance, and plan an array of many LEDs as even strings with a power budget. PCB trace width and impedance #624 Work out the minimum PCB trace width for a current and temperature rise with the IPC-2221 formula, with the trace's resistance, voltage drop and heat; and the characteristic impedance, effective permittivity and delay of a microstrip or stripline, or the width for 50 Ω. Millimetres or mils.