Electrical resistance is the physical opposition a material presents to the flow of electric current, converting electrical energy into heat. When you ask 'what is a resistance in electricity,' you are fundamentally asking about the friction of the electron world. In any real circuit or installation, resistance changes two critical parameters: it restricts the total current draw from your power supply, and it creates a proportional voltage drop across the component. Think of it like a deliberate kink in a garden hose; the kink (resistance) restricts the water flow (current) and causes pressure (voltage) to drop across that specific section of the hose.
The Core Definition and Circuit Impact
At the atomic level, resistance occurs when moving electrons collide with the atomic lattice of a conductor. These collisions transfer kinetic energy from the electrons to the material, manifesting as heat. This is described by Ohm’s Law (V = I × R), which states that the voltage drop across a component equals the current flowing through it multiplied by its resistance.
In practical terms, adding resistance to a circuit achieves three things:
- Current Limiting: Protects sensitive components (like LEDs or microcontroller GPIO pins) from drawing destructive amounts of current.
- Voltage Division: Creates specific, lower reference voltages from a higher supply rail using resistor networks.
- Signal Conditioning: Works alongside capacitors and inductors to create filters that block or pass specific AC frequencies.
For a deeper dive into the foundational physics, the All About Circuits textbook on DC resistors provides excellent schematic-level breakdowns of how these components behave in series and parallel networks.
Clearing the Confusion: Resistance vs. Impedance vs. Resistivity
Makers and trade students frequently mix up three related but distinct concepts. Here is how to separate them on the bench:
Resistance vs. Impedance
Resistance (R) is strictly a DC concept. It opposes current equally regardless of frequency. Impedance (Z) is the AC equivalent. It includes pure resistance but adds reactance—the opposition created by capacitors and inductors that changes with frequency. If you are measuring a standard carbon film resistor with a multimeter, you are measuring resistance. If you are measuring a speaker coil or an AC motor winding, you are dealing with impedance.
Resistance vs. Resistivity
Resistivity (ρ) is an inherent material property (e.g., copper has low resistivity, rubber has high resistivity). Resistance is the property of a specific physical object. A 10-foot spool of 24 AWG copper wire and a 100-foot spool of the exact same wire share the same resistivity, but the 100-foot spool has 10 times the resistance.
Resistance vs. Reactance
Reactance (X) is the imaginary component of impedance. Unlike resistance, pure reactance does not dissipate power as heat; it temporarily stores energy in magnetic (inductors) or electric (capacitors) fields and returns it to the circuit.
The Math That Matters: A Worked Numeric Example
Let’s apply this to a common bench scenario: driving a standard 5mm red LED from a 5V Arduino or ESP32 GPIO pin. LEDs are non-linear devices; they will draw infinite current until they burn out if not limited by a resistor.
Supply Voltage (Vs) = 5.0V
LED Forward Voltage (Vf) = 2.1V
Target LED Current (I) = 20mA (0.020A)
Step 1: Calculate the required voltage drop across the resistor.
V_resistor = Vs - Vf = 5.0V - 2.1V = 2.9V
Step 2: Calculate the resistance using Ohm's Law (R = V / I).
R = 2.9V / 0.020A = 145 Ω
Step 3: Select a standard E24 series value.
145 Ω is not a standard manufacturing value. We round up to the nearest standard value to ensure we don't exceed the 20mA limit. We choose 150 Ω.
Step 4: Calculate power dissipation to size the physical component.
P = I² × R = (0.020A)² × 150 Ω = 0.0004 × 150 = 0.06 Watts.
Since 0.06W is well below the 0.25W rating of a standard through-hole resistor, a 1/4W (0.25W) resistor is perfectly safe and will remain cool to the touch.
Where You Meet Resistance in Practice
Beyond basic LED blinking, resistance dictates the success or failure of more advanced builds.
Microcontroller I2C Pull-Up Resistors
When wiring I2C sensors (like a BME280 or MPU6050) to an ESP32, the data lines (SDA/SCL) are open-drain. They can pull the line to ground, but need a resistor to pull the line back up to VCC (3.3V). While the ESP32 has internal pull-ups, they are weak (typically ~45kΩ). For reliable I2C communication at 400kHz, you must add external 4.7kΩ or 10kΩ pull-up resistors to the 3.3V rail to overcome bus capacitance. The SparkFun resistor tutorial covers pull-up configurations in excellent detail.
Parasitic Resistance in Wire Sizing
In home wiring or 12V solar setups, the wire itself acts as an unwanted resistor. For example, 100 feet of 14 AWG solid copper wire has a resistance of roughly 0.25 Ω. If you pull 15A through it (like a space heater), the voltage drop is V = 15A × 0.25 Ω = 3.75V. More critically, the power dissipated as heat in the wire is P = 15² × 0.25 = 56.25 Watts. This parasitic resistance is exactly why the NEC mandates specific AWG sizes for given breaker ampacities—to keep parasitic heat generation below the insulation's melting point.
Current Sensing Shunts
To measure high currents with a microcontroller's ADC, you pass the current through a very low-value, high-precision resistor (a shunt). A 0.1 Ω shunt carrying 10A will drop exactly 1.0V, which an op-amp can amplify and an Arduino can read. Here, resistance is used as a precise measurement tool rather than a limiting tool.
Decision Tree: Picking the Right Resistor for Your Build
Not all resistors are created equal. Use this decision matrix to select the right physical component for your specific application.
| If your application is... | Then choose this type... | Why? |
|---|---|---|
| General prototyping, LED limiting, pull-ups | 1/4W 1% Metal Film (Axial) | Low noise, tight tolerance, cheap, and low inductance. |
| High-precision ADC reference or medical sensor | 0.1% Precision Metal Film | Minimal thermal drift ensures measurement accuracy over temperature changes. |
| High power dissipation (>1W), dummy loads, snubbers | Wirewound or Cement Resistor | Bulk mass absorbs and radiates high heat without degrading the resistive element. |
| High-frequency RF circuits or fast-switching logic | Thick Film SMD (e.g., 0603 package) | Surface mount geometry eliminates the parasitic inductance found in axial wire leads. |
| DEFAULT PICK (90% of hobbyist use cases) | Yageo CFR-25 or Vishay MRS25 (1/4W, 1%, Metal Film) | Provides the best balance of low noise, 1% accuracy, and thermal stability for under $0.02 per part. |
Frequently Asked Questions
Can I use a higher wattage resistor than calculated?
Yes. Wattage rating is a maximum thermal limit, not a target. Replacing a calculated 1/4W (0.25W) resistor with a 1/2W (0.5W) resistor of the exact same Ohm value is perfectly safe. The 1/2W resistor will simply run cooler because it has more physical surface area to dissipate the heat. The only downside is that it takes up more physical space on your PCB or breadboard.
Why does my multimeter read 'OL' when measuring resistance?
'OL' stands for Over Limit (or Open Loop). This means the resistance between the two probes is higher than the multimeter's maximum measurable range, effectively indicating an open circuit. If you are measuring a component and see OL, the component is either blown open internally, or your probes are not making solid metal-to-metal contact with the leads.
Does resistance change with temperature?
Yes. Every material has a Temperature Coefficient of Resistance (TCR). For standard copper wire, resistance increases as it gets hotter (a positive TCR), which is why a motor draws less current once it warms up. For components like NTC thermistors, resistance drops as temperature rises, a property deliberately exploited for inrush current limiting and temperature sensing.






