What is a resistor and how do you choose one for a circuit?
What a resistor does in an electronic circuit
A resistor is a passive electronic component that provides a controlled amount of resistance to electric current. In a circuit, it may limit current, create a voltage drop, divide voltage, set gain, bias a transistor, sense current, discharge a capacitor or help match signal lines. A real resistor is not defined by resistance value alone. The selected part also has to meet the required tolerance, power rating, voltage rating, temperature behavior, package size and application environment.
In the International System of Units, the ohm, written as Ω, is the unit of electrical resistance. For a given voltage, a higher resistance value allows less current to flow, while a lower value allows more current. This relationship is why resistors appear in almost every category of electronic equipment, from low-power sensor boards to power supplies and industrial controls.

For related background on passive and active devices, see the Components section.
How resistance, voltage and power work together
The core calculation behind most resistor decisions is Ohm’s law:
V = I × R
In this formula, V is voltage in volts, I is current in amperes and R is resistance in ohms. If a 1 kΩ resistor has 5 V across it, the current is 5 mA. If a circuit needs 2 mA from a 12 V source through a simple resistive path, the required resistance is 6 kΩ before accounting for tolerances, standard values and the real load.
Power is the next essential check. A resistor converts electrical energy into heat, so the dissipated power must remain within the part’s rating and within the thermal limits of the board or enclosure. Common formulas are:
- P = V × I
- P = I² × R
- P = V² ÷ R
For example, a 1 kΩ resistor with 5 V across it dissipates 25 mW. A 0.125 W or 0.25 W resistor may appear sufficient in a room-temperature prototype, but production designs often apply derating because heat, nearby components, airflow and PCB copper area affect the actual resistor temperature. Manufacturer datasheets commonly include derating curves that reduce allowable power above a specified ambient temperature.
Voltage rating should also be checked. A high-value resistor may dissipate little power but still exceed its maximum working voltage. This matters in high-voltage dividers, offline power supplies, insulation monitoring and measurement equipment. Designers may use series resistors to share voltage, but the sharing depends on tolerance, leakage, board contamination and layout spacing.
Key resistor specifications to check before selecting a part
Datasheets describe resistors with several parameters. Resistance value is only the starting point. The table below summarizes the specifications that usually determine whether a resistor is suitable for a circuit.
| Specification | What it means | Why it matters |
|---|---|---|
| Resistance value | The nominal opposition to current, measured in ohms | Sets current, voltage division, gain, timing or sensing level |
| Tolerance | The allowed initial variation from the nominal value | Affects accuracy in dividers, filters, references and measurement circuits |
| Power rating | The maximum heat dissipation under stated conditions | Prevents overheating, drift, board damage and early failure |
| Maximum working voltage | The continuous voltage limit across the resistor | Important in high-value and high-voltage applications |
| Temperature coefficient | Resistance change with temperature, often stated in ppm/°C | Controls drift in precision, sensing and analog circuits |
| Package and size | Physical form such as axial leaded, 0603 or 1206 SMD | Affects assembly, power handling, parasitics and layout density |
| Technology | Construction such as thick film, thin film, metal film or wirewound | Influences noise, stability, pulse handling, cost and frequency behavior |
| Surge or pulse rating | Short-duration overload capability | Needed for inrush limiting, snubbers, protection and discharge paths |
Tolerance and temperature coefficient are often confused. Tolerance describes the initial value range when the part is supplied. Temperature coefficient describes how the value changes as temperature changes. A 1% resistor with a poor temperature coefficient can become less accurate than expected in a hot enclosure, while a tighter and more stable resistor may be necessary for precision analog or measurement circuits.
Common resistor types and where they are used
Resistors are grouped by function, package and internal construction. The right type depends on the electrical role of the part and the conditions around it.
Fixed resistors
Fixed resistors have a nominal resistance value that is not intended to be adjusted during normal operation. They are used for pull-up and pull-down networks, LED current limiting, voltage dividers, filters, feedback networks and bias circuits. Most modern electronic assemblies use surface-mount fixed resistors because they are compact and compatible with automated assembly.
Variable resistors and potentiometers
A potentiometer is an adjustable resistor with a movable contact. It may be used for calibration, manual controls or analog setpoints. Potentiometers are useful when a value must be adjusted after assembly, but they are generally larger, less stable and more mechanically sensitive than fixed resistors. Digital potentiometers serve related purposes in some controlled systems, but their voltage, resistance and current limits must be checked carefully.
Film resistors
Thick-film chip resistors are widely used because they are inexpensive and available in many values and packages. Thin-film resistors usually offer better tolerance, lower noise and better temperature stability, making them suitable for precision dividers, amplifiers and instrumentation. Metal film axial resistors are common in through-hole assemblies and repair work.
Wirewound and power resistors
Wirewound resistors can handle higher power and provide good stability, but their wound construction may introduce inductance. That can be a disadvantage in high-frequency circuits or fast switching applications. Power resistors may use ceramic, metal-clad or chassis-mounted packages to move heat away from the resistive element. Their rating depends strongly on mounting method and thermal path.
Current sense resistors
Current sense resistors, also called shunt resistors, use low resistance values to produce a measurable voltage proportional to current. They are common in battery management, motor control, power supplies and protection circuits. Important parameters include resistance tolerance, temperature coefficient, thermal electromotive force, pulse capability and the availability of Kelvin connections for accurate measurement.
How to read resistor markings and standard values
Not every resistor has enough physical space to print its full value. Standards such as IEC 60062 define marking methods for resistors and capacitors, including color bands and compact alphanumeric codes. IEC 60063 defines preferred number series that organize common resistor values into E-series such as E12, E24, E96 and E192.
Color bands on leaded resistors
Many axial resistors use color bands. A four-band resistor typically uses two significant-digit bands, one multiplier band and one tolerance band. A five-band resistor usually adds a third significant digit for more precise values. Some six-band resistors add a temperature coefficient band. In practice, the tolerance band is often spaced apart or made wider, and the first band is normally closest to one end of the body. See also: Gadgets.
As a simple example, brown-black-red-gold means 10 × 100 Ω with ±5% tolerance, so the nominal value is 1 kΩ. Brown-black-black-red-brown means 100 × 100 Ω with ±1% tolerance, so the nominal value is 10 kΩ. Color code reading is useful for maintenance and prototyping, but production purchasing should rely on full part numbers and datasheets rather than visual interpretation alone.
SMD codes and RKM notation
Surface-mount resistors may use three-digit or four-digit numeric markings. A marking of 103 commonly means 10 followed by three zeros, or 10 kΩ. A marking of 1001 means 100 followed by one zero, or 1 kΩ. Some small packages have no marking at all, especially 0402 and smaller sizes, so reel labels and assembly documentation become essential.
RKM notation replaces the decimal point with a letter to reduce printing errors. For example, 4R7 means 4.7 Ω, 2K2 means 2.2 kΩ and 1M0 means 1.0 MΩ. This notation is common in schematics, bills of materials and component labels.
Why E-series values matter
Preferred values reduce unnecessary inventory while covering each decade of resistance values in useful steps. E12 has 12 values per decade, E24 has 24, E96 has 96 and E192 has 192. A circuit calculation may produce an exact value such as 6.14 kΩ, but the selected real part will normally be the nearest standard value that satisfies performance and availability requirements. For precision work, the designer must calculate the effect of the selected value, not only the mathematically ideal value.
A practical workflow for choosing a resistor
A disciplined selection process helps avoid problems that may not appear during the first bench test. Use the following steps as a practical checklist.
- Define the resistor’s job. A pull-up resistor, gain-setting resistor, current shunt and surge resistor each has different priorities.
- Calculate the nominal value. Use Ohm’s law, circuit equations and the actual operating range, not only the typical condition.
- Select a standard value. Choose an E-series value that keeps the circuit within limits across tolerance and temperature.
- Check power dissipation. Calculate worst-case power and compare it with the datasheet rating after derating for temperature and layout.
- Check voltage rating. Confirm that the continuous and transient voltage across the resistor are within the allowed limits.
- Match tolerance and drift to accuracy needs. Precision dividers, filters and sensors may require tighter tolerance and lower temperature coefficient.
- Choose the technology. Thick film may be cost-effective for general use, while thin film, metal film, wirewound or current-sense parts may be better for special requirements.
- Review layout and assembly constraints. Package size affects thermal performance, solder reliability, creepage, clearance and inspectability.
Consider a basic current-limiting example. If a circuit needs about 10 mA and the resistor must drop 1.3 V, the calculated value is 130 Ω. The power is 13 mW, so the power rating appears modest. The final choice should still consider the source voltage range, load variation, ambient temperature, resistor tolerance and whether the circuit can accept a higher or lower current at the tolerance extremes.
Common mistakes when using resistors
One common mistake is choosing a resistor only by ohm value and package. In low-power digital pull-ups this may be acceptable, but it can fail in power, precision or high-voltage circuits. Another mistake is assuming that a 0.25 W resistor can safely dissipate 0.25 W in every layout. Ratings are tied to test conditions, and dense boards or hot enclosures reduce margin.
A third mistake is ignoring self-heating. When a resistor warms up, its value may shift according to its temperature coefficient. In a current sense path or precision divider, that shift can become a measurement error. A fourth mistake is overlooking parasitic inductance and capacitance. At high frequency, a real resistor is not a pure resistance; package geometry and construction begin to matter.
Safety-related applications require extra care. Resistors connected to mains, high voltage, surge paths or discharge functions may need flame-retardant, fusible, pulse-rated or safety-certified parts. General-purpose chip resistors should not be substituted into those positions without confirming the applicable datasheet ratings and safety requirements.
Frequently asked questions
What is the main purpose of a resistor?
The main purpose of a resistor is to control current and voltage in a circuit. Depending on placement, it may limit current, create a voltage divider, set amplifier gain, provide bias, measure current or dissipate stored energy.
Does a resistor reduce voltage or current?
It can do both, depending on the circuit. A resistor limits current according to Ohm’s law, and it creates a voltage drop when current flows through it. In a divider, two or more resistors create a predictable output voltage from a higher input voltage.
How do I know what wattage resistor to use?
Calculate the worst-case power with P = I²R or P = V²/R, then choose a rating with appropriate margin after checking derating curves, ambient temperature and board layout. Do not rely only on the nominal wattage printed in a catalog table.
What is the difference between 1% and 5% resistors?
A 1% resistor has a tighter initial tolerance than a 5% resistor. For example, a 10 kΩ 1% resistor should initially fall between 9.9 kΩ and 10.1 kΩ, while a 5% part should initially fall between 9.5 kΩ and 10.5 kΩ. Temperature drift and aging still need separate consideration.
Can I replace a resistor with a higher wattage part?
Usually yes, if the resistance value, tolerance, voltage rating, technology and physical fit are suitable. A higher wattage rating can provide more thermal margin, but it does not automatically satisfy voltage, pulse, frequency or safety requirements.
Bottom line
A resistor looks simple, but correct selection requires electrical, thermal and mechanical judgment. Start with the required resistance value, then verify tolerance, power, voltage, temperature coefficient, package, construction and operating environment. For general circuits, standard values and common chip resistors may be enough. For precision, power, high-voltage, pulse or safety-related designs, the datasheet and the real operating conditions should drive the final choice.
