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.
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.
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
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
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
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
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
(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
Related Calculators
- Ohm's Law CalculatorSolve voltage, current, resistance, and power with AC/DC and series/parallel circuit modes.
- Voltage Drop CalculatorVoltage drop for DC, single-phase, and three-phase circuits with NEC compliance.
- Unit ConverterAll-in-one converter for 40+ measurement categories with natural-language input.
- Scientific CalculatorAdvanced trig, log, exponent, root, factorial, and memory functions.
- Horsepower CalculatorHorsepower from torque & RPM, force-distance-time, watts, or vehicle trap-speed data.