Resistor Calculator

Decode color bands, size series and parallel networks, estimate wire resistance, current-limit LEDs, and design voltage dividers — six precision electrical tools on one page.

Color Code Calculator

Read 4-, 5-, or 6-band resistors and decode the ohm value, tolerance, and temperature coefficient.

1st digit
2nd digit
Multiplier
Tolerance
gold = ÷10, silver = ÷100

Color code reference

Standard IEC 60062 resistor color codes. Tap any color in the band selectors above; this table shows the digit, multiplier, tolerance, and temperature coefficient each color represents.

Color
Digit
Multiplier
Tolerance
Tempco
black
0
×1
250 ppm
brown
1
×10
±1%
100 ppm
red
2
×100
±2%
50 ppm
orange
3
×1K
±0.05%
15 ppm
yellow
4
×10K
±0.02%
25 ppm
green
5
×100K
±0.5%
20 ppm
blue
6
×1M
±0.25%
10 ppm
violet
7
×10M
±0.1%
5 ppm
grey
8
×100M
±0.01%
1 ppm
white
9
×1G
gold
×0.1
±5%
silver
×0.01
±10%

What Is a Resistor?

A resistor is a passive two-terminal component that opposes the flow of electric current. By converting a small portion of the electrical energy passing through it into heat, it limits current, divides voltage, biases active devices, terminates signal lines, and dissipates power in a predictable way. Resistance is measured in ohms (Ω); one ohm lets one volt push exactly one amp of current.

This calculator suite combines six tools — color-band decoding, series and parallel network analysis, wire resistance estimation, LED current-limiting design, and voltage divider calculation — into a single page so you can move between problems without losing your place. Pair it with our Ohm's Law calculator for the V/I/R/P fundamentals or our voltage drop calculator for NEC-compliant cable sizing.

How Resistors Work

Drift velocity and lattice collisions

Inside a conductor, free electrons drift in response to an electric field but constantly collide with atoms in the crystal lattice. Each collision transfers kinetic energy to the lattice as heat. Resistance is just a macroscopic measure of how often these collisions slow down the electrons relative to the applied voltage.

Material, length, and area

A resistor's resistance depends on three things: the resistivity ρ of the material (a fixed property like copper's 1.68×10⁻⁸ Ω·m), the path length L, and the cross-sectional area A. R = ρL/A — double the length doubles the resistance; double the area halves it.

Linearity and Ohm's Law

For ordinary metallic resistors, current is directly proportional to voltage — V = IR. This linearity is what makes resistors so predictable as design elements. Non-ohmic devices (LEDs, diodes, thermistors) have curved V-I characteristics and require different math.

Power dissipation

The power dissipated as heat equals P = I²R, equivalently V²/R or V·I. Because the I² term scales quickly, even modest current through a small-value resistor can produce significant heat — which is why power rating matters as much as the resistance value itself.

Resistor Color Code Explained

Through-hole resistors are too small to print numbers on, so manufacturers encode the value in coloured bands following the international IEC 60062 standard. Each colour maps to a digit (0–9); the multiplier band scales the result by a power of ten; the tolerance band tells you the manufacturing precision; and an optional sixth band gives the temperature coefficient.

4-band (±5% or ±10%)

Two digit bands, one multiplier, one tolerance. The classic carbon-film and metal-film hobby resistor — yellow/violet/red/gold = 4.7 kΩ ±5%.

5-band (±1% or ±2%)

Three digit bands plus multiplier plus tolerance. Modern precision metal-film parts use this — brown/black/black/orange/brown = 100 kΩ ±1%.

6-band (precision + tempco)

Five digit/multiplier/tolerance bands plus a temperature coefficient band. Used in instrumentation and calibration networks.

How To Read Resistor Color Bands

  1. 1

    Find the tolerance band

    It is usually offset toward one end of the body and is often gold (±5%) or silver (±10%). Once you locate it, that end is the right-hand side of the resistor — read the remaining bands left to right.

  2. 2

    Decode the significant digits

    On a 4-band resistor the first two bands are digit bands; on a 5-band or 6-band, the first three are. Black=0, Brown=1, Red=2, Orange=3, Yellow=4, Green=5, Blue=6, Violet=7, Grey=8, White=9.

  3. 3

    Apply the multiplier

    The next band is the multiplier — a power of ten that scales the digit number. Black=×1, Brown=×10, Red=×100, Orange=×1k, Yellow=×10k, Green=×100k, Blue=×1M, Violet=×10M, Grey=×100M, White=×1G, Gold=×0.1, Silver=×0.01.

  4. 4

    Read the tolerance

    Brown=±1%, Red=±2%, Green=±0.5%, Blue=±0.25%, Violet=±0.1%, Grey=±0.01%, Gold=±5%, Silver=±10%, no band = ±20%.

  5. 5

    (6-band only) Read the tempco

    The sixth band gives the temperature coefficient in parts per million per °C. Brown=100, Red=50, Orange=15, Yellow=25, Blue=10, Violet=5 ppm/°C. Lower is better for precision circuits.

Core Resistor Formulas

Every result this calculator produces comes from one of these closed-form equations.

Ohm's Law

V = I × R

Voltage equals current times resistance — the foundational relationship.

Series

R_t = R₁ + R₂ + …

Series resistors simply add; same current through every resistor.

Parallel

1/R_t = 1/R₁ + 1/R₂ + …

Parallel branches share voltage; the total is below the smallest individual.

Wire resistance

R = ρL ÷ A

Resistivity times length over cross-section, with temperature correction.

LED resistor

R = (Vs − Vf) ÷ If

Drop the excess supply voltage at the LED's design current.

Voltage divider

Vout = Vin × R₂ ÷ (R₁+R₂)

Fixed-ratio scaling of an input voltage.

E-Series Standard Resistor Values

Resistors are manufactured to a geometric series called the E-series, designed so consecutive values are spaced just far enough apart that they don't overlap within their tolerance. E12 (used for ±10% parts) has 12 values per decade; E24 (±5%) doubles that to 24; E48, E96, and E192 provide ever-tighter spacing for precision tolerances down to ±0.1%.

E6 (±20%)

10 · 15 · 22 · 33 · 47 · 68

E12 (±10%)

10 · 12 · 15 · 18 · 22 · 27 · 33 · 39 · 47 · 56 · 68 · 82

E24 (±5%)

above + 11, 13, 16, 20, 24, 30, 36, 43, 51, 62, 75, 91

E96 (±1%)

96 values per decade — used in precision metal-film parts

Real-World Applications

💡

LED current limiting

Every LED needs a series resistor to limit current. Modern 5 mm LEDs at 20 mA from a 5 V supply usually want 100–220 Ω depending on colour.

📡

Signal-line termination

High-speed digital lines (HDMI, Ethernet, USB) use 50 Ω or 100 Ω termination resistors to prevent reflections and signal integrity issues.

🔧

Transistor biasing

Voltage divider networks set the operating point of bipolar and MOSFET amplifier stages — usually pairs of resistors in the 1 kΩ – 100 kΩ range.

🔋

Sensor signal conditioning

Voltage dividers scale a 0–24 V industrial signal down to 0–3.3 V for a microcontroller ADC. Use 1% metal-film resistors for stable, repeatable readings.

🎚️

Volume and tone control

Audio circuits use logarithmic-taper potentiometers (variable resistors) for volume and linear-taper for tone — both are still just resistors.

Snubber networks

RC snubbers across inductive loads (relays, motors) protect contacts from arcing by absorbing the inductive kick. Resistance is typically 22–100 Ω, capacitance 0.1–1 µF.

🌡️

Sensor pull-ups

1-Wire, I²C, and Dallas temperature sensors require pull-up resistors (typically 4.7 kΩ) to provide the idle-high logic level.

🛡️

Inrush limiting

Power supplies use NTC thermistors and bleed resistors to limit inrush current at switch-on and discharge bulk capacitors safely when the supply is removed.

Choosing the Correct Resistor

  • Match the value to a standard E-series number. Calculated values rarely land exactly on a standard part — snap to the nearest E12, E24, or E96 value and re-check tolerance impact on the circuit.
  • Choose tolerance to match the circuit demand. Pull-ups and current-limiting want ±5%; analog filters and dividers want ±1%; precision references want ±0.1% or better.
  • Size the power rating for at least 2× calculated dissipation. Standard ratings: 1/8 W, 1/4 W, 1/2 W, 1 W, 2 W, 5 W. Headroom protects against tolerance, ambient temperature, and surge.
  • Pick a tempco that matches the operating range. For circuits exposed to wide temperature swings (outdoor, automotive, industrial), use ≤50 ppm/°C metal-film or precision foil parts.
  • Use the right package and footprint. Through-hole for prototyping and high-power; 0603, 0805, or 1206 SMD for production at low to medium power; 2512 or larger for surface-mount power resistors.
  • Verify on the bench with a calibrated multimeter. Calculated values assume ideal components. Real wiring, contacts, and connector resistance can all matter — measure before committing critical designs to production.

Electronics Troubleshooting Tips

Always disconnect before measuring

Resistance measurements in-circuit include all parallel paths and read low. Lift one lead of the suspect resistor or de-energize and isolate before checking with the ohmmeter.

Burned resistors mean too much power

A discoloured or cracked body is the resistor telling you it dissipated more than its rated wattage. Re-check the I²R math, increase the part's rating, and look for upstream short circuits driving the over-current condition.

Resistance drifts with temperature

If a precision circuit only misbehaves when warm, suspect tempco. Carbon-film parts can shift hundreds of ppm/°C; switching to metal-film with ≤50 ppm/°C usually solves it.

Contact and lead resistance adds up

Long thin meter leads and oxidized terminals can add 0.05–0.2 Ω. For measurements below a few ohms, use a 4-wire (Kelvin) connection to subtract lead resistance.

Beware of in-circuit parallel paths

An apparently bad resistor that measures low may be in parallel with another path — usually a chip's internal protection diode or an unsuspected wire. Trace the schematic before condemning the part.

Aging and humidity

Some carbon-composition resistors absorb moisture and drift several percent in damp environments. Replace with hermetically sealed or modern metal-film parts for outdoor or marine applications.

Built for electrical engineers, electronics hobbyists, students, and makers.

Color-code data follows IEC 60062. Resistivity values come from CRC Handbook of Chemistry and Physics. E-series values follow IEC 60063. See our methodology and editorial policy. Educational only — always confirm critical designs with a licensed electrician.

Frequently Asked Questions

A resistor is a passive two-terminal component that opposes the flow of electric current. By converting a small portion of the electrical energy passing through it into heat, it limits current, divides voltage, biases active devices, and dissipates power in a controlled, predictable way. Resistance is measured in ohms (Ω); 1 Ω lets one volt push one amp of current. Real-world resistors carry a value, a tolerance, and a power (wattage) rating — all three matter when picking the right part for a circuit.

Hold the resistor so the tolerance band (typically gold or silver, and noticeably wider on many parts) is on the right. Read left to right. On a 4-band resistor the first two bands are significant digits, the third is the multiplier, and the fourth is the tolerance. On a 5-band resistor the first three bands are digits, the fourth is the multiplier, and the fifth is the tolerance. A 6-band resistor adds a sixth temperature coefficient (tempco) band. Black=0, Brown=1, Red=2, Orange=3, Yellow=4, Green=5, Blue=6, Violet=7, Grey=8, White=9.

The number of bands tells you the precision tier. 4-band parts give two significant digits and typically ±5% or ±10% tolerance — fine for hobby, decoupling, and current-limiting work. 5-band parts give three significant digits and tighter tolerances, usually ±1% or ±2%, and are the modern standard for precision analog circuits and instrumentation. 6-band parts add a temperature coefficient (ppm/°C) — important when the circuit must hold its value across a wide temperature range, such as in calibration references, audio gear, or aerospace electronics.

Series resistors add directly: R_total = R₁ + R₂ + R₃ + … + Rₙ. The current is the same through every series resistor, while the voltage drop across each is proportional to its resistance (Ohm's Law). For example, three resistors of 100 Ω, 220 Ω, and 470 Ω in series give a total of 790 Ω. Connect them across a 9 V battery and you get 11.4 mA flowing through every resistor — and voltage drops of 1.14 V, 2.51 V, and 5.35 V respectively that sum back to 9 V.

For two parallel resistors, R_total = (R₁ × R₂) ÷ (R₁ + R₂). For three or more, take the reciprocal of the sum of reciprocals: 1/R_total = 1/R₁ + 1/R₂ + 1/R₃ + … The total parallel resistance is always less than the smallest individual resistor — a useful sanity check. Each branch sees the full source voltage; current splits inversely with resistance, so the smallest resistor draws the most current and dissipates the most power.

R = ρ × L ÷ A, where ρ (rho) is the resistivity of the conductor material in ohm-metres, L is the wire length in metres, and A is the cross-sectional area in square metres. Copper has ρ ≈ 1.68 × 10⁻⁸ Ω·m, aluminum ≈ 2.82 × 10⁻⁸, silver ≈ 1.59 × 10⁻⁸. Doubling the length doubles the resistance; doubling the cross-section halves it. Resistance also rises with temperature — about 0.39%/°C for copper — which is why hot wires carry more loss than cold ones.

Subtract the LED's forward voltage from the supply voltage and divide by the desired forward current. R = (V_supply − V_forward) ÷ I_forward. For a red LED at 2.0 V driven at 20 mA from 5 V: R = (5 − 2.0) ÷ 0.020 = 150 Ω. The power dissipated in the resistor is (V_supply − V_forward) × I_forward; pick a part rated at least 2× that wattage. For multiple LEDs, wire them in series and sum their forward voltages, or in parallel each with its own resistor — never share one resistor across parallel LEDs.

A voltage divider uses two resistors in series to produce an output voltage that is a fixed fraction of the input: V_out = V_in × R₂ ÷ (R₁ + R₂). With R₁ = 10 kΩ and R₂ = 10 kΩ across 12 V, V_out = 6 V at the midpoint. Dividers are used to bias transistor inputs, scale sensor signals for microcontroller ADCs, and produce reference voltages. The divider only delivers the predicted voltage when the load draws negligibly little current — for stiff loads, use an op-amp buffer or a regulator.

Standard resistor values follow geometric progressions designed so any combination falls within the part's tolerance. E12 (12 values per decade, used for ±10% parts) runs 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82. E24 (±5%) doubles that with 24 values. E48, E96, and E192 series provide ever-tighter spacing for precision ±2%, ±1%, and ±0.5% resistors. When designing, snap calculated values to the nearest standard — this calculator does the snap automatically in LED mode.

Tolerance is the manufacturing precision band around the nominal value. A 1 kΩ ±5% resistor is guaranteed to measure between 950 Ω and 1,050 Ω. Standard tolerances are ±20% (no band), ±10% (silver), ±5% (gold), ±2% (red), ±1% (brown), ±0.5% (green), ±0.25% (blue), ±0.1% (violet), and ±0.05% (orange) or tighter for instrumentation parts. Tighter tolerances cost more — most digital and decoupling work tolerates ±5%, while analog filters, precision dividers, and instrumentation usually call for ±1% or better.

Compute the actual power dissipation as P = I²R or P = V²/R, then pick a part rated at least 2× that value to allow headroom for tolerance, ambient temperature, and surge. Standard ratings are 1/8 W, 1/4 W, 1/2 W, 1 W, 2 W, 5 W, 10 W, 25 W, and 50 W. Most through-hole hobby parts are 1/4 W; SMD chip resistors are typically 1/16 W or 1/10 W. Power resistors above 5 W need heat-sinking and clearance from PCB substrate to dissipate the heat safely.

Each parallel branch opens a new path for current. Adding a second 100 Ω path to an existing 100 Ω path halves the total resistance to 50 Ω — even though no individual branch is below 100 Ω. Mathematically, the reciprocal-sum form 1/R_total = 1/R₁ + 1/R₂ + … guarantees R_total < min(Rᵢ), because adding any positive reciprocal makes the sum larger and the inverse smaller. This is a quick sanity check: if a parallel calculation gives an answer larger than the smallest input, you have an arithmetic error.

If the bands are unreadable, the most reliable approach is to measure the resistor with a digital multimeter set to its ohms range. Disconnect the part from the circuit first — in-circuit readings include parallel paths and read low. For surface-mount resistors marked with three or four numbers, the first two or three digits are significant figures and the last digit is the multiplier exponent: 472 means 47 × 10² Ω = 4.7 kΩ; 4701 means 470 × 10¹ Ω = 4.7 kΩ. The R notation (e.g. 4R7) places the decimal: 4R7 = 4.7 Ω.

All calculations use exact closed-form algebra at IEEE-754 double precision (about 15 significant digits) — far more than enough for any practical electrical work. Real-world accuracy is then limited by your input precision, manufacturing tolerance on actual resistors, temperature drift, lead and contact resistance, and ambient noise. Always verify critical designs on the bench with a multimeter; the calculator is a fast first-pass design tool, not a substitute for measurement.

The temperature coefficient (tempco), expressed in parts per million per degree Celsius (ppm/°C), tells you how much the resistance changes per degree of temperature swing. A 100 ppm/°C resistor drifts 0.01% per °C, so a 100 °C swing changes a 1 kΩ part by 10 Ω. Carbon-film resistors typically run 250 ppm/°C; metal-film parts run 25–100 ppm/°C; precision metal-foil and bulk-metal parts can be as low as 1–5 ppm/°C. Match tempcos on both legs of a divider or bridge so they drift together and the ratio stays constant.

Every milliamp of current the LED draws passes through the resistor, and the resistor drops the entire difference between the supply voltage and the LED's forward voltage. P = (V_supply − V_forward) × I — exactly the power that becomes heat. On a 12 V supply lighting a 2 V LED at 30 mA, the resistor dissipates (12−2) × 0.030 = 0.30 W and a 1/4 W part will run uncomfortably hot. Either pick a higher wattage part, lower the LED current, drive multiple LEDs in series to absorb more of the supply voltage, or switch to a constant-current LED driver IC for high-power LEDs.