Resistance in circuits is the physical opposition to the flow of direct electrical current, measured in ohms (Ω), which dictates how much current flows and converts excess electrical energy into heat. In any real installation or breadboard build, resistance changes your voltage distribution, limits current to safe levels for sensitive semiconductors, and causes voltage drop over long wire runs. Beginners most commonly confuse pure DC resistance with impedance (the AC equivalent that includes phase shift) or reactance (the specific opposition caused by capacitors and inductors).
The Math That Actually Matters (Worked Numeric Example)
Theory is useless if you cannot size a component on the bench. Let us look at the most common scenario: driving a standard 5mm red LED from a 5V Arduino Nano GPIO pin.
An LED is not a resistor; it is a diode with a fixed forward voltage drop (V_f = 2.0V for standard red) and a maximum continuous current rating (usually 20mA). If you connect it directly to 5V, the LED will draw infinite current until it burns out. We must insert a resistor to drop the excess voltage and limit the current.
Step 1: Calculate the Required Ohms
Using Ohm's Law (R = V / I), we first find the voltage the resistor must absorb:
- V_resistor = V_source - V_LED = 5.0V - 2.0V = 3.0V
- Target Current (I) = 20mA = 0.02A
- R = 3.0V / 0.02A = 150Ω
Step 2: Calculate the Power Dissipation (Wattage)
Selecting the right ohm value is only half the job. If the resistor cannot dissipate the heat, it will scorch your board. We use the power formula P = I² × R:
- P = (0.02A)² × 150Ω = 0.0004 × 150 = 0.06 Watts
Where You Meet Resistance in Practice
Beyond current-limiting resistors, resistance shows up in three critical areas of DIY electrical and electronics work:
1. Wire Resistance and Voltage Drop
Every wire is a low-value resistor. For instance, 18 AWG solid copper wire has a resistance of roughly 6.385 Ω per 1,000 feet. If you run 50 feet of 18 AWG wire to a 12V solenoid drawing 2A, the total circuit length (out and back) is 100 feet. The wire resistance is 0.6385Ω. At 2A, you lose 1.27V to heat in the wire. Your solenoid only sees 10.73V, which may cause it to chatter or fail to pull in. The fix is not to increase the voltage, but to lower the wire resistance by stepping up to 14 AWG or 12 AWG.
2. Pull-Up and Pull-Down Networks
Digital communication protocols like I2C rely on open-drain architectures. The data lines (SDA/SCL) float unless pulled high. As detailed in the SparkFun I2C Tutorial, a typical 4.7kΩ pull-up resistor provides enough current to pull the line to VCC quickly without exceeding the 3mA sink limit of the microcontroller's GPIO pins when pulled low.
3. Current Sensing (Shunts)
To measure high DC currents without a bulky Hall-effect sensor, we use shunt resistors. By placing a very low resistance (e.g., 0.1Ω) in series with the load and measuring the millivolt drop across it, an ADC can calculate the exact current. For a 10A load, a 0.1Ω shunt drops 1V and dissipates 10W of heat, requiring a heavy-duty metal strip resistor like the Vishay WSL2512 series.
Common Confusions: Resistance vs. Impedance vs. Reactance
Mixing these terms up will lead to catastrophic failures in AC or high-frequency designs. Here is how they differ in practice:
| Term | Applies To | What It Does | Real-World Example |
|---|---|---|---|
| Resistance (R) | DC and AC | Opposes current flow; dissipates energy purely as heat. In-phase with voltage. | A 100Ω carbon film resistor limiting LED current. |
| Reactance (X) | AC Only | Opposes changes in voltage/current; stores and releases energy (no heat). 90° out of phase. | A 10µF capacitor blocking DC but passing AC audio signals. |
| Impedance (Z) | AC Only | The vector sum of Resistance and Reactance. The total AC opposition. | An 8Ω speaker (which is actually ~6Ω DC resistance + inductive reactance). |
Decision Tree: Picking the Right Resistor or Wire Gauge
Stop guessing component values. Use this decision path to terminate your design phase with a concrete part number or wire size.
| If your goal is... | Then you need... | Concrete Part Pick / Action |
|---|---|---|
| Limiting current for a standard 5mm LED on a 5V GPIO pin | 1/4W Carbon or Metal Film Resistor (150Ω - 330Ω) | Yageo CFR-25JB-52-150R (150Ω, 1/4W) |
| Pulling up an I2C bus running at 100kHz to 3.3V | 4.7kΩ 1/4W Metal Film Resistor (tight tolerance) | Vishay MRS25000C4702FCT00 (4.7kΩ, 1%) |
| Measuring 0-10A DC current via ADC shunt | 0.01Ω to 0.1Ω High-Power Metal Strip Resistor | Vishay WSL2512R0100FEA (0.01Ω, 1W, 1%) |
| Wiring a 10A continuous 12V load over a 20-foot run | Wire gauge that keeps voltage drop under 3% (0.36V) | 12 AWG THHN Copper Wire (0.001588 Ω/ft) |
| Bleeding off stored charge in a 400V DC capacitor bank | High-voltage, high-resistance bleed resistor (e.g., 1MΩ, 2W+) | Ohmite MOX-75022105FLE (1MΩ, 1.5W, thick film) |
Frequently Asked Questions
Does resistance change when a component gets hot?
Yes. Most standard metals and carbon films have a Positive Temperature Coefficient (PTC), meaning their resistance increases as they heat up. For precision analog circuits or current sensing, this thermal drift ruins your measurements. This is why we specify metal strip shunts (like the Vishay WSL series) which have ultra-low temperature coefficients (often < 75 ppm/°C) compared to standard wirewound resistors.
Can I substitute a 1/2W resistor if I only have a 1/4W in my design?
Electrically, yes. A 150Ω 1/2W resistor has the exact same opposition to current as a 150Ω 1/4W resistor. The only difference is physical size and thermal mass; the 1/2W part can safely dissipate twice as much heat. The only reason not to use it is if it physically will not fit on your PCB footprint or breadboard.
Why do my multimeter probes show 0.2Ω when touched together?
That is the parasitic resistance of your test leads and the internal shunt of the meter. When measuring low-value shunt resistors or checking for voltage drop across a breaker, you must 'zero' your meter (using the relative/REL button) or subtract the lead resistance from your final reading, otherwise your calculations will be wildly inaccurate.






