Resistor Calculator: Read Color Codes, Solve Ohm’s Law, and Combine Resistors
Anyone who builds electronics runs into the same questions. What does this striped resistor measure? Which value protects my LED? What do two resistors give me in parallel? A resistor calculator answers all three in seconds, so you can spend your time building instead of doing arithmetic.
This guide covers how to read resistor color codes, how to use Ohm’s Law, how to calculate series and parallel resistance, and how to pick the right resistor for common projects, with examples you can check yourself.
What Is a Resistor Calculator?
A resistor calculator is a free online tool that handles the most common resistor math in one place. The resistor calculator has three modes:
- Color Code: Select the bands on a 4- or 5-band resistor to get its value, tolerance, and min/max range.
- Ohm’s Law: Enter any two of voltage, current, and resistance to get the third, plus power.
- Series / Parallel: Enter several resistors and get the total resistance.
What Does a Resistor Do?
A resistor is a component that limits or controls the flow of electric current. It’s measured in ohms (Ω). Resistors protect LEDs and chips from too much current, divide voltages, and hold signal lines high or low (pull-up and pull-down resistors). Nearly every circuit board has dozens of them.
Resistor Color Code Chart
Each color stands for a digit, a multiplier, or a tolerance:
| Color | Digit | Multiplier | Tolerance |
|---|---|---|---|
| Black | 0 | ×1 | n/a |
| Brown | 1 | ×10 | ±1% |
| Red | 2 | ×100 | ±2% |
| Orange | 3 | ×1,000 | n/a |
| Yellow | 4 | ×10,000 | n/a |
| Green | 5 | ×100,000 | ±0.5% |
| Blue | 6 | ×1,000,000 | ±0.25% |
| Violet | 7 | ×10,000,000 | ±0.1% |
| Gray | 8 | ×100,000,000 | ±0.05% |
| White | 9 | ×1,000,000,000 | n/a |
| Gold | n/a | ×0.1 | ±5% |
| Silver | n/a | ×0.01 | ±10% |
Memory trick: “Better Be Right Or Your Great Big Venture Goes Wrong” covers the digits 0 to 9 in order: Black, Brown, Red, Orange, Yellow, Green, Blue, Violet, Gray, White.
How to Read a 4-Band Resistor
Hold the resistor so the gold or silver band is on the right, then read left to right:
- Value = (Band 1 × 10 + Band 2) × Multiplier
- Band 4 gives the tolerance
Example: Orange, White, Yellow, Silver
- Band 1: Orange = 3
- Band 2: White = 9
- Band 3: Yellow = ×10,000
- Band 4: Silver = ±10%
- Value: 39 × 10,000 = 390,000 Ω (390 kΩ) ±10%
More 4-Band Examples
| Colors | Calculation | Value |
|---|---|---|
| Brown, Black, Orange, Gold | 10 × 1,000 | 10 kΩ ±5% |
| Red, Violet, Brown, Gold | 27 × 10 | 270 Ω ±5% |
| Green, Brown, Red, Gold | 51 × 100 | 5.1 kΩ ±5% |
| Blue, Gray, Red, Gold | 68 × 100 | 6.8 kΩ ±5% |
How to Read a 5-Band Resistor
Precision resistors use five bands: three digits, a multiplier, then the tolerance.
- Value = (Band 1 × 100 + Band 2 × 10 + Band 3) × Multiplier
| Colors | Calculation | Value |
|---|---|---|
| Brown, Black, Black, Red, Brown | 100 × 100 | 10 kΩ ±1% |
| Red, Red, Black, Brown, Brown | 220 × 10 | 2.2 kΩ ±1% |
| Yellow, Violet, Black, Black, Brown | 470 × 1 | 470 Ω ±1% |
Understanding Tolerance
Tolerance tells you how far the real value can drift from the marked one.
Example: A 4.7 kΩ resistor at ±5% can measure anywhere between 4,465 Ω and 4,935 Ω (4,700 × 0.05 = 235). The calculator shows that min/max range for you.
Gold (5%) is fine for most hobby circuits. Use 1% resistors for precision work such as measurement circuits and accurate voltage dividers.
Ohm’s Law Calculator
Ohm’s Law links voltage (V), current (I), and resistance (R):
- V = I × R
- I = V ÷ R
- R = V ÷ I
- Power: P = V × I = I² × R = V² ÷ R
Ohm’s Law Examples
Current through a resistor: A 9 V battery across a 470 Ω resistor gives I = 9 ÷ 470 ≈ 0.0191 A (19.1 mA).
Voltage drop: 25 mA through a 120 Ω resistor gives V = 0.025 × 120 = 3 V.
Resistance: 12 V and 0.4 A give R = 12 ÷ 0.4 = 30 Ω.
Power: 12 V across a 100 Ω resistor dissipates P = 12² ÷ 100 = 1.44 W. With a 2x safety margin, pick a resistor rated at least 3 W.
How to Choose a Resistor for an LED
An LED needs a series resistor to limit current:
R = (Supply voltage − LED forward voltage) ÷ Desired current
Example 1: 5 V supply, red LED with a 2.0 V forward voltage, 15 mA target.
- R = (5 − 2.0) ÷ 0.015 = 200 Ω, a standard value
Example 2: If you only have a 220 Ω resistor, the current is 3 ÷ 220 ≈ 13.6 mA, which is safe and slightly dimmer.
Example 3: 3.3 V supply, 2.0 V LED, 10 mA target.
- R = 1.3 ÷ 0.01 = 130 Ω
LED forward voltage varies by color and part, so check your LED’s datasheet.
Series Resistor Calculator
In series, resistances add up:
R_total = R1 + R2 + R3 + …
| Resistors in Series | Total |
|---|---|
| 330 Ω + 470 Ω + 1 kΩ | 1.8 kΩ |
| 2.2 kΩ + 3.3 kΩ + 4.7 kΩ | 10.2 kΩ |
| 4.7 kΩ + 1.5 kΩ | 6.2 kΩ |
Series is a handy way to build a value you don’t have on hand.
Parallel Resistor Calculator
In parallel, the total is always lower than the smallest resistor:
- Two resistors: R_total = (R1 × R2) ÷ (R1 + R2)
- Any number: 1/R_total = 1/R1 + 1/R2 + 1/R3 + …
| Resistors in Parallel | Total |
|---|---|
| 1 kΩ ∥ 1 kΩ | 500 Ω |
| 330 Ω ∥ 680 Ω | about 222 Ω |
| 1 kΩ ∥ 2 kΩ ∥ 4 kΩ | about 571 Ω |
| 2.2 kΩ ∥ 2.2 kΩ | 1.1 kΩ |
Parallel resistors also share power, so two resistors in parallel can handle more heat than one.
Voltage Divider Example
A voltage divider uses two resistors to scale a voltage down:
V_out = V_in × R2 ÷ (R1 + R2)
Example: 12 V input, R1 = 10 kΩ (top), R2 = 5 kΩ (bottom).
- V_out = 12 × 5,000 ÷ 15,000 = 4 V
Standard Resistor Values
Resistors come in standard series, so your calculated value may not exist exactly. Choose the nearest standard value.
- E12 (10% tolerance): 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82, then repeating ×10 (for example 100, 120, 150...)
- E24 (5% tolerance): adds 11, 13, 16, 20, 24, 30, 36, 43, 51, 62, 75, 91 to the E12 list
- E96 (1% tolerance): a finer series for precision work
Choosing the Right Resistor Wattage
Calculate power with P = I² × R or P = V² ÷ R, then pick a resistor rated for at least double that.
Example: A 220 Ω resistor carrying 13.6 mA dissipates (0.0136)² × 220 ≈ 0.04 W, which is well within a 1/4 W resistor’s rating.
Common ratings are 1/8 W, 1/4 W, 1/2 W, 1 W, 2 W, and 5 W. A resistor running near its limit gets hot and fails early.
Common Resistor Uses
| Application | Typical Value | Purpose |
|---|---|---|
| LED current limiter (5 V) | 220 Ω to 470 Ω | Limit LED current |
| Pull-up / pull-down | 4.7 kΩ to 10 kΩ | Hold a pin high or low |
| I²C pull-up | 2.2 kΩ to 4.7 kΩ | Required for the I²C bus |
| Voltage divider | 1 kΩ to 100 kΩ | Scale voltage down |
| Current sense | 0.1 Ω to 1 Ω | Measure current from voltage drop |
Surface-Mount Resistor Codes
Tiny SMD resistors print numbers instead of bands:
- 3 digits: the first two are digits, the third is the number of zeros. 472 = 47 × 10² = 4.7 kΩ.
- “R” notation: R marks the decimal point. 4R7 = 4.7 Ω.
Tips for Identifying Resistors
- Confirm with a multimeter. Turn the circuit’s power off and, if you can, take the resistor out for an accurate reading.
- Faded or burnt bands are easy to misread. Measuring is safer.
- Start from the tolerance end. If you can’t tell which side is the start, the gold or silver band is on the right, and the gap between bands is often larger before the tolerance band.
- Check wattage by size. Larger resistors generally handle more power.
Common Mistakes to Avoid
- Reading the color bands backward
- Forgetting the multiplier, so a 4.7 kΩ resistor is mistaken for 47 Ω
- Skipping the resistor in an LED circuit
- Using a 1/4 W resistor where more power is dissipated
- Ignoring tolerance in precision circuits
- Working on mains-voltage circuits without proper training
FAQ: Resistor Calculator
How do I read a resistor color code?
Read the bands left to right, with the tolerance band on the right. The first bands are digits, the next is a multiplier, and the last is tolerance.
What does a gold band mean on a resistor?
Gold on the tolerance end means ±5%. Silver means ±10%.
How do I calculate the resistor for an LED?
Subtract the LED’s forward voltage from the supply voltage, then divide by the current you want.
What is the difference between 4-band and 5-band resistors?
A 5-band resistor adds a third digit for more precision, and is common for 1% resistors.
How do I calculate resistors in parallel?
For two resistors, multiply them and divide by their sum. For more, add the reciprocals and invert the result.
Why is my parallel total less than either resistor?
Each added path gives current another route, which lowers total resistance.
Is the resistor calculator free?
Yes. The free resistor calculator needs no sign-up.
Related Calculators
Final Thoughts
Resistors are simple parts, but the math around them adds up quickly. Knowing the color code, Ohm’s Law, and the series and parallel rules covers most of what a hobbyist needs. Use the free resistor calculator to check your values, and always confirm ratings and power dissipation before powering a real circuit.
This article is for educational purposes and hobby projects. Always check component ratings, power dissipation, and safety requirements before applying power to a circuit, and take special care with mains voltages.
Comments (0)
Want to join the discussion?
Log In to Comment