What Is a Resistor and How Does It Work?
The most common component in electronics, explained from the ground up.
What Does a Resistor Do?
A resistor is an electronic component that limits, or "resists," the flow of electric current through a circuit. Every resistor has a resistance value, measured in ohms (Ω), that determines how much it restricts current for a given voltage. Resistors are passive components — they don't require an external power source to operate, and they don't amplify or generate a signal, unlike active components such as transistors. They do dissipate the energy they resist as heat, which is why higher-power resistors are physically larger and why a resistor can warm up noticeably in a circuit carrying significant current.
How Resistors Limit Current
The relationship between a resistor's value and the current it allows is described by Ohm's Law (V = I × R). A higher resistance value means less current flows for the same voltage; a lower resistance value lets more current through. That's why resistors are used constantly in circuit design — they let you take a fixed voltage source and dial in exactly how much current reaches a sensitive component like an LED, transistor, or microcontroller pin.
Reading the Resistor Color Code
Most through-hole resistors use colored bands instead of printed numbers to show their value. A standard 4-band resistor works like this:
- Band 1: first digit
- Band 2: second digit
- Band 3: multiplier (how many zeros to add)
- Band 4: tolerance (how accurate the actual value is, e.g. gold = ±5%)
For example, a resistor with bands colored brown-black-red-gold reads as 1, 0, ×100, which works out to 1,000 ohms — better known as 1kΩ — with a 5% tolerance.
Common Resistor Values
You'll see certain resistor values again and again in beginner projects: 220Ω and 330Ω are common starting points for current-limiting an LED, 1kΩ and 10kΩ for pull-up or pull-down resistors on digital inputs, and 100kΩ or higher for things like timing circuits. The right LED resistor value isn't universal, though — it depends on your supply voltage, the LED's forward voltage, and how much current you want flowing through it, so 220Ω/330Ω are just common defaults rather than fixed rules. Most hobby resistor kits include these common values for exactly that reason.
Where Resistors Are Used in Real Projects
Almost every circuit board you'll build includes resistors somewhere — protecting an LED from too much current, setting up a button or switch so a microcontroller can read a clean high/low signal, or dividing voltage between two points in a circuit. If you've ever wired up a button to a GPIO pin on a board like an RP2040, you've likely relied on either an external resistor or the microcontroller's built-in pull-up resistor to make that connection work reliably.
Frequently Asked Questions
What happens if I use the wrong resistor value?
Too low a value lets through too much current, which can overheat or destroy components like LEDs. Too high a value can starve a component of the current it needs to work properly, or make a signal too weak to read reliably.
Do resistors have polarity?
No. Unlike diodes or electrolytic capacitors, standard resistors work the same no matter which direction current flows through them.
What's the difference between a resistor and a potentiometer?
A potentiometer is a variable resistor — its resistance value can be adjusted, usually with a dial or slider, instead of being fixed like a standard resistor.
Next up: learn how multiple resistors and components behave differently depending on how they're wired — read Series vs Parallel Circuits, or browse all electronics tutorials.