This website requires JavaScript.
Coupons
Ship to
Blog

What Is a Resistor? Types, Functions, Specifications, and How to Choose One

Published Nov 16, 2026, updated Nov 16, 2026

14 min

Table of Contents
  • What Is a Resistor?
  • How Does a Resistor Work?
  • Types of Resistors
  • Key Resistor Specifications and Parameters
  • Resistor Markings and Identification
  • Common Resistor Packages
  • How to Choose the Right Resistor
  • Common Resistor Applications
  • PCB Design Considerations for Resistors
  • How to Test a Resistor
  • Conclusion

A small LED connected directly to a power supply may burn out in seconds. A microcontroller input might receive an unstable signal if the circuit lacks a proper pull-up resistor. Even a simple voltage divider depends on choosing the right resistor values.

These examples show how important resistors are in electronic circuits. Although they are among the simplest and most common electronic components, resistors play an essential role in controlling current, setting voltage levels, and ensuring stable circuit operation.

But what exactly is a resistor? How does it work, what types are available, and how do you choose the right one for your circuit?

Let's take a closer look.

resistor types hero

Figure: Assorted through-hole, ceramic power, and surface-mount resistors

What Is a Resistor?

A resistor is a passive electronic component that provides electrical resistance in a circuit. Its primary function is to limit or control the flow of electric current.

Resistance is measured in ohms (Ω). A resistor with a higher resistance value allows less current to flow under the same applied voltage, while a lower resistance value allows more current to flow.

Resistors are used in almost every type of electronic device, from simple LED circuits to complex embedded systems.

Common functions include:

  • Current Limiting: Prevents excessive current from flowing through components such as LEDs.
  • Voltage Division: Splits an input voltage into smaller voltage levels.
  • Pull-up and Pull-down: Establishes a defined logic level for digital inputs.
  • Biasing: Sets the operating conditions of transistors and other semiconductor devices.
  • Signal Conditioning: Helps adjust signal levels and form filters.
  • Current Sensing: Measures current by detecting the voltage drop across a known resistance.

led current limiting

Figure: Resistor used in a basic LED current limiting circuit

How Does a Resistor Work?

A resistor works by opposing the flow of electric current. When voltage is applied across its terminals, current flows through the resistive material, where electrical energy is converted primarily into heat.

For an ideal ohmic resistor, the relationship between voltage, current, and resistance is described by Ohm's Law:

V = I × R

Where:

  • V = Voltage (volts, V)
  • I = Current (amperes, A)
  • R = Resistance (ohms, Ω)

For example, if a 1 kΩ resistor is connected across a 5 V supply, the current flowing through it is:

I = 5 V / 1,000 Ω = 5 mA

This relationship explains why resistors are useful for controlling current in electronic circuits.

ohms law

Figure: Ohm's law diagram showing current direction and voltage drop across a resistor

Power Dissipation in a Resistor

A resistor does not simply reduce current without consequences. It dissipates electrical power as heat.

The power consumed by a resistor can be calculated using:

P = V × I

By combining this with Ohm's Law, two other useful formulas can be obtained:

  • P = I² × R
  • P = V² / R

For example, if 5 V is applied across a 1 kΩ resistor:

P = 5² / 1,000 = 0.025 W (25 mW)

The resistor must have a power rating suitable for the power it dissipates under actual operating conditions.

Types of Resistors

Resistors come in different constructions and technologies, each designed for particular applications.

types of resistors

Figure: From left to right: fixed resistor, trimmer potentiometer, NTC thermistor, and photoresistor.

Fixed Resistors

Fixed resistors have a predetermined resistance value that cannot be adjusted during normal operation. They are the most commonly used resistors in electronic circuits.

Common types include:

  • Carbon Film Resistors: Made by depositing a carbon film onto an insulating substrate. They are commonly used in general-purpose circuits.
  • Metal Film Resistors: Use a thin metal film to provide better resistance tolerance and temperature stability than many general-purpose carbon film types.
  • Thick Film Resistors: Widely used in surface-mount technology (SMT), offering low cost and compact dimensions.
  • Wirewound Resistors: Made by winding resistive wire around an insulating core. They are often used in applications requiring higher power handling.

Variable Resistors

Variable resistors allow their resistance to be adjusted, either manually or through mechanical movement.

Common examples include:

  • Potentiometers: Typically have three terminals and are used as adjustable voltage dividers, such as in volume controls.
  • Rheostats: Usually use two terminals to control current by varying resistance.
  • Trimmers: Small adjustable resistors used for circuit calibration and fine-tuning.

Special Resistors

Some resistors change their electrical characteristics in response to environmental conditions or applied voltage.

  • Thermistors: Change resistance with temperature. NTC thermistors decrease in resistance as temperature rises, while PTC thermistors increase in resistance.
  • Photoresistors (LDRs): Change resistance according to the intensity of incident light.
  • Varistors: Exhibit voltage-dependent resistance and are commonly used for transient overvoltage protection. Metal Oxide Varistors (MOVs) are a common example.

Our guide to resistor types compares typical resistance ranges, tolerances, and power ratings side by side.

Key Resistor Specifications and Parameters

Choosing a resistor involves more than selecting a resistance value. Several electrical and environmental specifications determine whether it can operate reliably in a particular circuit.

resistor datasheet

Figure: resistor datasheet showing resistance, tolerance, power rating, temperature coefficient, and voltage limit

Resistance Value

Resistance determines how strongly a resistor opposes current flow. Common values range from a few ohms to several megaohms.

Resistor values are commonly expressed using

  • Ω (ohm)
  • kΩ (kilohm) = 1,000 Ω
  • MΩ (megohm) = 1,000,000 Ω

Also read: How to Read SMD Resistor Values: Codes, Charts, and Identification Guide

Resistance Tolerance

Tolerance indicates how much the actual resistance may differ from its nominal value.

For example, a 1 kΩ resistor with ±5% tolerance may have an actual resistance between 950 Ω and 1,050 Ω.

Common tolerances include ±1%, ±2%, and ±5%.

Applications requiring accurate voltage division, measurement, or analog signal processing may need tighter tolerance resistors.

Power Rating

Power rating specifies the maximum power a resistor can dissipate under defined operating conditions.

Common ratings for small resistors include 0.1 W, 0.125 W, 0.25 W, and 0.5 W, although available ratings vary by resistor type and package.

Selecting a resistor with insufficient power capacity can cause excessive heating, resistance drift, or component failure.

Also read: Resistor Power Rating Explained: How to Calculate & Choose

Temperature Coefficient of Resistance (TCR)

The temperature coefficient describes how much a resistor's resistance changes with temperature.

It is commonly expressed in parts per million per degree Celsius (ppm/°C).

A lower absolute TCR generally means better resistance stability over temperature.

This parameter is particularly important in precision measurement circuits and temperature-sensitive applications.

Maximum Working Voltage

A resistor also has a maximum working voltage. Exceeding this limit may cause insulation breakdown, arcing, or changes in resistance.

Even if the calculated power dissipation is within the rated power, the applied voltage must still remain within the manufacturer's specified limits.

Resistor Markings and Identification

How can you identify a resistor's value without measuring it?

The answer depends on the resistor's construction and package.

resistor markings

Figure: Resistor color code and SMD resistor marking identification

Resistor Color Codes

Also read: How to Read Resistor Color Code: Complete Guide with Chart and Examples

Through-hole resistors commonly use colored bands to indicate their resistance value, tolerance, and sometimes temperature coefficient.

For a standard four-band resistor:

  • First band: First significant digit
  • Second band: Second significant digit
  • Third band: Multiplier
  • Fourth band: Tolerance

For example, a resistor with the following bands:

Brown – Black – Red – Gold

Its resistance value is:

10 × 100 = 1,000 Ω = 1 kΩ

The gold band indicates a tolerance of ±5%.

Five-band resistors use three significant digits, followed by a multiplier and tolerance band.

SMD Resistor Markings

Unlike through-hole resistors, most SMD resistors use printed numerical codes instead of color bands.

Common marking systems include:

Three-Digit Code

The first two digits represent significant figures, and the third digit indicates the multiplier.

Example: 472 = 47 × 100 = 4,700 Ω = 4.7 kΩ.

Four-Digit Code

The first three digits represent significant figures, and the fourth digit indicates the multiplier.

Example: 1002 = 100 × 100 = 10,000 Ω = 10 kΩ.

EIA-96 Code

Some precision SMD resistors use a three-character code consisting of two digits and one letter.

The two digits identify a value from the EIA-96 number series, while the letter represents the multiplier.

Not all SMD resistors have printed markings. Many small-package resistors are unmarked, so their values must be identified through the BOM, component documentation, or measurement.

Common Resistor Packages

Resistors are available in both through-hole and surface-mount packages.

smd package sizes

Figure: SMD resistor package sizes

Through-Hole Packages

Through-hole resistors have wire leads that pass through holes in the PCB and are soldered on the opposite side.

Common examples include:

  • Axial leaded resistors
  • Wirewound power resistors
  • Cement resistors

They are often used in prototyping, power circuits, and applications where mechanical strength or easier manual replacement is important.

Surface-Mount Packages

Also read: SMD Resistor Package Sizes: Complete Size Chart, Footprints & How to Choose

SMD resistors are mounted directly onto PCB pads without requiring drilled component holes.

Common package sizes include:

PackageApproximate Dimensions (L × W)
02010.6 × 0.3 mm
04021.0 × 0.5 mm
06031.6 × 0.8 mm
08052.0 × 1.25 mm
12063.2 × 1.6 mm
12103.2 × 2.5 mm

Smaller packages help reduce PCB area, while larger packages generally provide more room for heat dissipation and higher power ratings within a given resistor technology.

However, package size alone does not determine a resistor's power rating. Always check the manufacturer's datasheet.

jlcpcb parts library resistors
Find the Right Resistors for Your PCB Design
Explore Resistors
  • Looking for resistors for your next electronics project? Explore JLCPCB's Parts Library to find SMD resistors in different resistance values, tolerances, and package sizes.

  • Check component availability and find suitable parts for your PCB assembly.

How to Choose the Right Resistor

led resistor calculation

Figure: LED resistor selection and current limiting resistor calculation

Selecting a resistor requires considering both the electrical requirements of the circuit and the physical constraints of the PCB.

Here are five important steps.

Step 1: Determine the Required Resistance

Start by identifying the circuit's function and calculating the required resistance.

For example, when connecting an LED to a DC supply, the current-limiting resistor can be calculated using:

R = (V_supply − V_forward) / I_LED

Suppose an LED has a forward voltage of 2 V and requires 10 mA of current, while the supply voltage is 5 V.

R = (5 − 2) / 0.01 = 300 Ω

A nearby standard value, such as 330 Ω, could be selected, subject to checking the resulting LED current.

Step 2: Check the Power Rating

Calculate the expected power dissipation and select a resistor with an appropriate power rating.

For the 330 Ω resistor above:

P = V² / R = (3 V)² / 330 Ω ≈ 0.027 W (27 mW)

A resistor rated at 0.1 W or higher may be suitable under appropriate operating conditions, but ambient temperature and manufacturer derating requirements must also be considered.

Step 3: Consider Tolerance and Temperature Coefficient

For general-purpose circuits, ±5% tolerance may be sufficient.

For precision voltage dividers, sensing circuits, or measurement applications, tighter tolerance and lower TCR may be necessary.

Step 4: Select the Appropriate Package

Choose a package that matches the PCB footprint, assembly process, available space, and power requirements.

For high-density designs, smaller SMD packages can save board area. For higher-power applications, larger packages or specialized power resistors may be more appropriate.

Step 5: Check Voltage and Environmental Limits

Check the maximum working voltage, operating temperature range, pulse capability, and other relevant datasheet specifications.

A resistor that meets the resistance and power requirements may still be unsuitable if its voltage or environmental limits are exceeded.

Common Resistor Applications

Resistors are used in many different circuit configurations. Understanding these applications helps explain why they are essential in electronic design.

resistor applications

Figure: Four resistor circuits for voltage division, pull-up, pull-down, and current sensing

Current-Limiting Resistors

A resistor connected in series with an LED limits the current flowing through it, helping prevent excessive current from damaging the LED.

Voltage Dividers

Two resistors connected in series across a voltage source can create a lower output voltage at their midpoint.

For an unloaded voltage divider:

V_out = V_in × R2 / (R1 + R2)

Voltage dividers are commonly used for signal scaling and voltage sensing.

Pull-up and Pull-down Resistors

Pull-up resistors connect a signal line to a positive supply voltage, while pull-down resistors connect it to ground.

They establish a defined logic level when a signal is otherwise undriven.

Pull-up resistors are particularly important in open-drain and open-collector circuits, including I²C communication.

Current-Sensing Resistors

A low-value resistor, commonly called a shunt resistor, can be placed in series with a load.

By measuring the voltage across it, the current can be calculated using Ohm's Law.

This method is widely used in battery monitoring, power supplies, and motor control circuits.

Feedback and Biasing Networks

Resistors are frequently used in transistor biasing networks and operational amplifier feedback circuits to establish operating points and control circuit gain.

jlcpcb pcb assembly service banner 1
Take Your Resistor-Based PCB Design to Production
Get a PCBA Quote
  • Once you've selected the right resistors and finalized your PCB layout, the next step is reliable assembly.
  • JLCPCB offers SMT assembly for a wide range of resistor packages, from compact 0201 and 0402 components to larger SMD parts. Get your PCB assembled with components sourced from our extensive Parts Library.

PCB Design Considerations for Resistors

Even a correctly selected resistor can cause problems if its PCB layout or assembly is poorly designed.

Several practical considerations should be taken into account.

kelvin sensing layout

Figure: PCB shunt layout with separate load current paths and Kelvin voltage sense traces

Choose the Correct Footprint

The PCB footprint must match the resistor's package dimensions and terminal spacing.

Using an incorrect footprint can lead to poor solder joints, component misalignment, or assembly difficulties.

Always refer to the manufacturer's package drawings when creating or selecting footprints.

Consider Heat Dissipation

Resistors dissipate power as heat, so placement and copper layout can affect their operating temperature.

For higher-power resistors.

  • Allow sufficient spacing from temperature-sensitive components.
  • Follow the manufacturer's recommended PCB land pattern.
  • Consider copper area and thermal conditions.
  • Avoid placing heat-generating components too close together.

Keep Current-Carrying Traces Appropriate

Resistors used in power paths or current-sensing circuits may carry significant current.

PCB trace width should be selected according to current, copper thickness, temperature rise, and other design constraints.

For current-sensing resistors, consider using Kelvin connections where appropriate. Separate sense traces help reduce measurement errors caused by voltage drops in high-current paths.

Pay Attention to High-Voltage Applications

In high-voltage circuits, resistor selection and PCB layout must account for working voltage, creepage distance, and clearance.

Series-connected resistors may be used to distribute voltage across multiple components, but voltage sharing and individual resistor ratings must be verified.

Verify Polarity and Orientation Where Applicable

Most standard fixed resistors are non-polarized and can be installed in either orientation.

However, some specialized resistor assemblies or networks may have defined pin configurations. Check their datasheets and PCB footprints before placement.

How to Test a Resistor

multimeter resistance test

Figure: Measuring resistor resistance using a digital multimeter

A digital multimeter is the most common tool for checking a resistor.

Follow these steps:

  1. Turn off the power and disconnect the circuit from its power source.
  2. Discharge any capacitors that may retain voltage.
  3. Set the multimeter to resistance (Ω) mode.
  4. Place the probes across the resistor's two terminals.
  5. Compare the measured value with the nominal resistance and its tolerance.

For example, a 1 kΩ resistor with ±5% tolerance should measure between 950 Ω and 1,050 Ω under appropriate test conditions.

Important

Measuring a resistor while it is still connected to a circuit may produce inaccurate readings because other components can create parallel current paths.

For more reliable results, lift one resistor terminal or remove the component from the PCB before testing.

Conclusion

Resistors may be simple passive components, but their role in electronic circuits is far from minor. From limiting LED current and establishing logic levels to controlling amplifier gain and measuring current, they are essential to reliable circuit operation.

When selecting a resistor, consider more than its resistance value. Power rating, tolerance, temperature coefficient, working voltage, package size, and operating conditions all influence its suitability.

Understanding these specifications and applying them correctly in PCB design helps prevent unnecessary failures and improves overall circuit reliability.

Keep Learning