The short definitions
Resistor. A resistor opposes the flow of current. Its job is to limit current, divide voltages, and turn electrical energy into heat. The unit is the ohm (Ω). Ohm’s law gives the relationship R = V / I, where V is the voltage across the resistor in volts and I is the current through it in amps. The power it dissipates is P = V × I, in watts.
Capacitor. A capacitor stores electric charge in an electric field. It has two conductive plates separated by an insulator, called the dielectric. Capacitance is measured in farads (F), though most parts are in microfarads (µF), nanofarads (nF), or picofarads (pF). The relationship is C = Q / V, where Q is the charge in coulombs and V is the voltage across the plates.
Inductor. An inductor is a coil of wire, often wound around a core, that stores energy in a magnetic field when current flows through it. It opposes changes in current. Inductance is measured in henries (H). In small circuits, values are usually given in millihenries (mH) or microhenries (µH).
How each one acts with DC and AC
- Resistor: ideally, the same resistance for DC and AC. The voltage and current stay in step with each other.
- Capacitor: in steady DC, it blocks current once it has charged. With AC, it passes current, and its opposition, called reactance (Xc = 1 / (2πfC)), falls as the frequency rises. In a capacitor, current leads voltage.
- Inductor: in steady DC, it passes current, with only its winding resistance limiting it. With AC, its opposition, called reactance (XL = 2πfL), rises with frequency. In an inductor, current lags voltage.
Do inductors pass direct current? looks at the inductor case in more detail.
Quick comparison
| Part | Symbol | Unit | Stores energy in | Opposes | DC behavior | AC behavior |
|---|---|---|---|---|---|---|
| Resistor | R | ohm (Ω) | Not stored; turned into heat | Current flow | Passes current according to Ohm’s law | Ideally the same as DC |
| Capacitor | C | farad (F) | Electric field | Changes in voltage | Blocks current in steady state | Passes AC; opposition falls with frequency |
| Inductor | L | henry (H) | Magnetic field | Changes in current | Passes current; winding resistance limits it | Opposition rises with frequency |
Real parts are not ideal
The definitions above describe ideal parts. Real ones have small unwanted effects:
- Resistors have some stray inductance and capacitance, and their value changes slightly with temperature.
- Capacitors have leakage, a series resistance (ESR), and a series inductance (ESL).
- Inductors have DC resistance, and stray capacitance between their turns.
These effects matter most at high frequencies and in precise circuits. For learning the basics, the ideal definitions are a good starting point.
Where each one shows up
- Resistors set currents, bias transistors, and form voltage dividers. To read their values, see resistor color codes.
- Capacitors smooth supply voltage, filter noise, and set timing when paired with resistors.
- Inductors appear in filters, switching power supplies, and the coils of relays and solenoids.
These three are the core passive components. Active vs passive components explains why they are called passive, and how they differ from transistors and other active parts.