Take a Stance, The Resist Stance
Resistors - the most ubiquitous of electronic components. They are a critical piece in just about every circuit. And they play a major role in our favorite equation, Ohm's Law.
In this, our pièce de résistance, we'll cover:
- What is a resistor?!
- Resistor units
- Resistor circuit symbol(s)
- Resistors in series and parallel
- Different variations of resistors
- Color coding decoding
- Surface mount resistor decoding
- Example resistor applications
Some of the concepts in this tutorial build on previous electronics knowledge. Before jumping into this tutorial, consider reading (at least skimming) these first:
- What is Electricity?
- Voltage, Current, Resistance, and Ohm's Law
- What is a Circuit
- Series vs. Parallel Circuits
- How to Use A Multimeter - Specifically check out the measuring resistance section.
- Metric Prefixes
Looking to get hands-on with resistors?
We've got you covered!
Resistors are electronic components which have a specific, never-changing electrical resistance. The resistor's resistance limits the flow of electrons through a circuit.
They are passive components, meaning they only consume power (and can't generate it). Resistors are usually added to circuits where they complement active components like op-amps, microcontrollers, and other integrated circuits. Commonly resistors are used to limit current, divide voltages, and pull-up I/O lines.
The electrical resistance of a resistor is measured in ohms. The symbol for an ohm is the greek capital-omega: Ω. The (somewhat roundabout) definition of 1Ω is the resistance between two points where 1 volt (1V) of applied potential energy will push 1 ampere (1A) of current.
As SI units go, larger or smaller values of ohms can be matched with a prefix like kilo-, mega-, or giga-, to make large values easier to read. It's very common to see resistors in the kilohm (kΩ) and megaohm (MΩ) range (much less common to see miliohm (mΩ) resistors). For example, a 4,700Ω resistor is equivalent to a 4.7kΩ resistor, and a 5,600,000Ω resistor can be written as 5,600kΩ or (more commonly as) 5.6MΩ.
All resistors have two terminals, one connection on each end of the resistor. When modeled on a schematic, a resistor will show up as one of these two symbols:
The terminals of the resistor are each of the lines extending from the squiggle (or rectangle). Those are what connect to the rest of the circuit.
The resistor circuit symbols are usually enhanced with both a resistance value and a name. The value, displayed in ohms, is obviously critical for both evaluating and actually constructing the circuit. The name of the resistor is usually an R preceding a number. Each resistor in a circuit should have a unique name/number. For example, here's a few resistors in action on a 555 timer circuit:
Types of Resistors
Resistors come in a variety of shapes and sizes. They might be through-hole or surface-mount. They might be a standard, static resistor, a pack of resistors, or a special variable resistor.
Termination and Mounting
Resistors will come in one of two termination-types: through-hole or surface-mount. These types of resistors are usually abbreviated as either PTH (plated through-hole) or SMD/SMT (surface-mount technology or device).
Through-hole resistors come with long, pliable leads which can be stuck into a breadboard or hand-soldered into a prototyping board or printed circuit board (PCB). These resistors are usually more useful in breadboarding, prototyping, or in any case where you'd rather not solder tiny, little 0.6mm-long SMD resistors. The long leads usually require trimming, and these resistors are bound to take up much more space than their surface-mount counterparts.
The most common through-hole resistors come in an axial package. The size of an axial resistor is relative to its power rating. A common ½W resistor measures about 9.2mm across, while a smaller ¼W resistor is about 6.3mm long.
Surface-mount resistors are usually tiny black rectangles, terminated on either side with even smaller, shiny, silver, conductive edges. These resistors are intended to sit on top of PCBs, where they're soldered onto mating landing pads. Because these resistors are so small, they're usually set into place by a robot, and sent through an oven where solder melts and holds them in place.
SMD resistors come in standardized sizes; usually either 0805 (0.08" long by 0.05" wide), 0603, or 0402. They're great for mass circuit-board-production, or in designs where space is a precious commodity. They take a steady, precise hand to manually solder, though!
Resistors can be constructed out of a variety of materials. Most common, modern resistors are made out of either a carbon, metal, or metal-oxide film. In these resistors, a thin film of conductive (though still resistive) material is wrapped in a helix around and covered by an insulating material. Most of the standard, no-frills, through-hole resistors will come in a carbon-film or metal-film composition.
Other through-hole resistors might be wirewound or made of super-thin metallic foil. These resistors are usually more expensive, higher-end components specifically chosen for their unique characteristics like a higher power-rating, or maximum temperature range.
Surface-mount resistors are usually either thick or thin-film variety. Thick-film is usually cheaper but less precise than thin. In both resistor types, a small film of resistive metal alloy is sandwiched between a ceramic base and glass/epoxy coating, and then connected to the terminating conductive edges.
There are a variety of other, special-purpose resistors out there. Resistors may come in pre-wired packs of five-or-so resistor arrays. Resistors in these arrays may share a common pin, or be set up as voltage dividers.
Variable Resistors (i.e. Potentiometers)
Resistors don't have to be static either. Variable resistors, known as rheostats, are resistors which can be adjusted between a specific range of values. Similar to the rheostat is the potentiometer. Pots connect two resistors internally, in series, and adjust a center tap between them creating an adjustable voltage divider. These variable resistors are often used for inputs, like volume knobs, which need to be adjustable.
Decoding Resistor Markings
Though they may not display their value outright, most resistors are marked to show what their resistance is. PTH resistors use a color-coding system (which really adds some flair to circuits), and SMD resistors have their own value-marking system.
Decoding the Color Bands
Through-hole, axial resistors usually use the color-band system to display their value. Most of these resistors will have four bands of color circling the resistor, though you will also find five band and six band resistors.
Four Band Resistors
In the standard four band resistors, the first two bands indicate the two most-significant digits of the resistor's value. The third band is a weight value, which multiplies the two significant digits by a power of ten.
The final band indicates the tolerance of the resistor. The tolerance explains how much more or less the actual resistance of the resistor can be compared to what its nominal value is. No resistor is made to perfection, and different manufacturing processes will result in better or worse tolerances. For example, a 1kΩ resistor with 5% tolerance could actually be anywhere between 0.95kΩ and 1.05kΩ.
How do you tell which band is first and last? The last, tolerance band is often clearly separated from the value bands, and usually it'll either be silver or gold.
Five and Six Band Resistors
Five band resistors have a third significant digit band between the first two bands and the multiplier band. Five band resistors also have a wider range of tolerances available.
Six band resistors are basically five band resistors with an additional band at the end that indicates the temperature coefficient. This indicates the expected change in resistor value as the temperature changes in degrees Celsius. Generally these temperature coefficient values are extremely small, in the ppm range.
Decoding Resistor Color Bands
When decoding the resistor color bands, consult a resistor color code table like the one below. For the first two bands, find that color's corresponding digit value. The 4.7kΩ resistor shown here has color bands of yellow and violet to begin - which have digit values of 4 and 7 (47). The third band of the 4.7kΩ is red, which indicates that the 47 should be multiplied by 102 (or 100). 47 times 100 is 4,700!
If you're trying to commit the color band code to memory, a mnemonic device might help. There are a handful of (sometimes unsavory) mnemonics out there to help remember the resistor color code. A good one, which spells out the difference between black and brown is:
Or, if you remember "ROY G. BIV", subtract the indigo (poor indigo, no one remembers indigo), and add black and brown to the front and gray and white to the back of the classic rainbow color-order.
Resistor Color Code Table
Resistor Color Code Calculator
If you'd rather skip the math (we won't judge!), and just use a handy calculator, give one of these a try!
Four Band Resistors
|Band 1||Band 2||Band 3||Band 4|
|Value 1 (MSV)||Value 2||Weight||Tolerance|
1 kΩ ±5%
Five and Six Band Resistors
|Band 1||Band 2||Band 3||Band 4||Band 5|
|Value 1 (MSV)||Value 2||Value 3||Weight||Tolerance|
1 kΩ ±5%
Decoding Surface-Mount Markings
SMD resistors, like those in 0603 or 0805 packages, have their own way of displaying their value. There are a few common marking methods you'll see on these resistors. They'll usually have three to four characters -- numbers or letters -- printed on top of the case.
If the three characters you're seeing are all numbers, you're probably looking at an E24 marked resistor. These markings actually share some similarity with the color-band system used on the PTH resistors. The first two numbers represent the first two most-significant digits of the value, the last number represents a magnitude.
In the above example picture, resistors are marked 104, 105, 205, 751, and 754. The resistor marked with 104 should be 100kΩ (10x104), 105 would be 1MΩ (10x105), and 205 is 2MΩ (20x105). 751 is 750Ω (75x101), and 754 is 750kΩ (75x104).
Another common coding system is E96, and it's the most cryptic of the bunch. E96 resistors will be marked with three characters -- two numbers at the beginning and a letter at the end. The two numbers tell you the first three digits of the value, by corresponding to one of the not-so-obvious values on this lookup table.
The letter at the end represents a multiplier, matching up to something on this table:
|Y or R||0.01||B or H||10||E||10000|
|X or S||0.1||C||100||F||100000|
So a 01C resistor is our good friend, 10kΩ (100x100), 01B is 1kΩ (100x10), and 01D is 100kΩ. Those are easy, other codes may not be. 85A from the picture above is 750Ω (750x1) and 30C is actually 20kΩ.
The power rating of a resistor is one of the more hidden values. Nevertheless it can be important, and it's a topic that'll come up when selecting a resistor type.
Power is the rate at which energy is transformed into something else. It's calculated by multiplying the voltage difference across two points by the current running between them, and is measured in units of a watt (W). Light bulbs, for example, power electricity into light. But a resistor can only turn electrical energy running through it into heat. Heat isn't usually a nice playmate with electronics; too much heat leads to smoke, sparks, and fire!
Every resistor has a specific maximum power rating. In order to keep the resistor from heating up too much, it's important to make sure the power across a resistor is kept under it's maximum rating. The power rating of a resistor is measured in watts, and it's usually somewhere between ⅛W (0.125W) and 1W. Resistors with power ratings of more than 1W are usually referred to as power resistors, and are used specifically for their power dissipating abilities.
Finding a resistor's power rating
A resistor's power rating can usually be deduced by observing its package size. Standard through-hole resistors usually come with ¼W or ½W ratings. More special purpose, power resistors might actually list their power rating on the resistor.
The power ratings of surface mount resistors can usually be judged by their size as well. Both 0402 and 0603-size resistors are usually rated for 1/16W, and 0805's can take 1/10W.
Measuring power across a resistor
Power is usually calculated by multiplying voltage and current (P = IV). But, by applying Ohm's law, we can also use the resistance value in calculating power. If we know the current running through a resistor, we can calculate the power as:
Or, if we know the voltage across a resistor, the power can be calculated as:
Series and Parallel Resistors
Resistors are paired together all the time in electronics, usually in either a series or parallel circuit. When resistors are combined in series or parallel, they create a total resistance, which can be calculated using one of two equations. Knowing how resistor values combine comes in handy if you need to create a specific resistor value.
When connected in series resistor values simply add up.
So, for example, if you just have to have a 12.33kΩ resistor, seek out some of the more common resistor values of 12kΩ and 330Ω, and butt them up together in series.
Finding the resistance of resistors in parallel isn't quite so easy. The total resistance of N resistors in parallel is the inverse of the sum of all inverse resistances. This equation might make more sense than that last sentence:
(The inverse of resistance is actually called conductance, so put more succinctly: the conductance of parallel resistors is the sum of each of their conductances).
As a special case of this equation: if you have just two resistors in parallel, their total resistance can be calculated with this slightly-less-inverted equation:
As an even more special case of that equation, if you have two parallel resistors of equal value the total resistance is half of their value. For example, if two 10kΩ resistors are in parallel, their total resistance is 5kΩ.
A shorthand way of saying two resistors are in parallel is by using the parallel operator: ||. For example, if R1 is in parallel with R2, the conceptual equation could be written as R1||R2. Much cleaner, and hides all those nasty fractions!
As a special introduction to calculating total resistances, electronics teachers just love to subject their students to finding that of crazy, convoluted resistor networks.
A tame resistor network question might be something like: "what's the resistance from terminals A to B in this circuit?"
To solve such a problem, start at the back-end of the circuit and simplify towards the two terminals. In this case R7, R8 and R9 are all in series and can be added together. Those three resistors are in parallel with R6, so those four resistors could be turned into one with a resistance of R6||(R7+R8+R9). Making our circuit:
Now the four right-most resistors can be simplified even further. R4, R5 and our conglomeration of R6 - R9 are all in series and can be added. Then those series resistors are all in parallel with R3.
And that's just three series resistors between the A and B terminals. Add 'em on up! So the total resistance of that circuit is: R1+R2+R3||(R4+R5+R6||(R7+R8+R9)).
Resistors exist in just about every electronic circuit ever. Here are a few examples of circuits, which heavily depend on our resistor friends.
Resistors are key in making sure LEDs don't blow up when power is applied. By connecting a resistor in series with an LED, current flowing through the two components can be limited to a safe value.
When sizing out a current-limiting resistor, look for two characteristic values of the LED: the typical forward voltage, and the maximum forward current. The typical forward voltage is the voltage which is required to make an LED light up, and it varies (usually somewhere between 1.7V and 3.4V) depending upon the color of the LED. The maximum forward current is usually around 20mA for basic LEDs; continuous current through the LED should always be equal to or less than that current rating.
Once you've gotten ahold of those two values, you can size up a current-limiting resistor with this equation:
VS is the source voltage -- usually a battery or power supply voltage. VF and IF are the LED's forward voltage and the desired current that runs through it.
For example, assume you have a 9V battery to power an LED. If your LED is red, it might have a forward voltage around 1.8V. If you want to limit the current to 10mA, use a series resistor of about 720Ω.
A voltage divider is a resistor circuit which turns a large voltage into a smaller one. Using just two resistors in series, an output voltage can be created that's a fraction of the input voltage.
Here's the voltage divider circuit:
Two resistors, R1 and R2, are connected in series and a voltage source (Vin) is connected across them. The voltage from Vout to GND can be calculated as:
For example, if R1 was 1.7kΩ and R2 was 3.3kΩ, a 5V input voltage could be turned into 3.3V at the Vout terminal.
Voltage dividers are very handy for reading resistive sensors, like photocells, flex sensors, and force-sensitive resistors. One half of the voltage divider is the sensor, and the part is a static resistor. The output voltage between the two components is connected to an analog-to-digital converter on a microcontroller (MCU) to read the sensor's value.
A pull-up resistor is used when you need to bias a microcontroller's input pin to a known state. One end of the resistor is connected to the MCU's pin, and the other end is connected to a high voltage (usually 5V or 3.3V).
Without a pull-up resistor, inputs on the MCU could be left floating. There's no guarantee that a floating pin is either high (5V) or low (0V).
Pull-up resistors are often used when interfacing with a button or switch input. The pull-up resistor can bias the input-pin when the switch is open. And it will protect the circuit from a short when the switch is closed.
In the circuit above, when the switch is open the MCU's input pin is connected through the resistor to 5V. When the switch closes, the input pin is connected directly to GND.
The value of a pull-up resistor doesn't usually need to be anything specific. But it should be high enough that not too much power is lost if 5V or so is applied across it. Usually values around 10kΩ work well.
Don't limit your flow of resistors. We've got kits, packs, single pieces, and tools that you just can't resist.
Resources and Going Further
Now that you're a budding expert on all things resistor, how 'bout exploring some more fundamental electronics concepts! Resistors certainly aren't the only basic component we use in electronics, there's also:
Or maybe you'd like to further explore resistor applications?