Capacitors

Capacitors Explained: How They Behave in DC and AC Circuits

How capacitors store charge, act as an open circuit in DC, pass AC, follow I = C dV/dt, and why they count as linear elements. A clear beginner's guide.

On this page
  1. What a capacitor does
  2. Capacitors in DC circuits
  3. Capacitors in AC circuits
  4. The current-voltage relationship
  5. Are capacitors linear?
  6. What is the largest capacitor ever made?
  7. Where to go next
  8. Key takeaways

What a capacitor does

A capacitor is two conductive plates separated by an insulating material called the dielectric. When a voltage is applied, charge collects on the plates: one plate gains positive charge and the other gains an equal amount of negative charge. The energy is stored in the electric field between the plates.

The amount of charge a capacitor holds for a given voltage is its capacitance, measured in farads (F). A farad is a very large unit, so most parts are rated in microfarads (µF), nanofarads (nF) or picofarads (pF):

  • 1 µF = 1,000 nF
  • 1 nF = 1,000 pF
  • 1 µF = 1,000,000 pF

The relationship is Q = C × V, where Q is charge in coulombs, C is capacitance in farads and V is voltage in volts.

Capacitors in DC circuits

Connect a discharged capacitor to a DC source and current flows for a short time while the plates charge. The current is largest at the start and falls as the voltage across the capacitor rises toward the supply voltage. Once the capacitor voltage matches the supply, the current stops.

In that steady state, the capacitor acts as an open circuit. The dielectric is an insulator, so charge cannot cross the gap between the plates. Once the plates are charged to the supply voltage, there is no continuing path for current.

Charging through a resistor

Real circuits almost always have resistance in the path. The resistor limits the charging current, and the product of resistance and capacitance sets how fast the capacitor charges. That product is the time constant, written as τ = R × C. After one time constant, the capacitor reaches about 63% of the supply voltage. After about five time constants, it is close enough to full charge for most purposes. The RC time constant article works through this in detail.

Common DC uses

  • Smoothing: A capacitor across the output of a rectifier fills in the ripple, so the DC voltage is steadier.
  • Decoupling and bypassing: A capacitor placed close to a chip’s power pins supplies short bursts of current and absorbs noise. See decoupling and bypass capacitors.
  • Timing: Paired with a resistor, a capacitor sets how long a voltage takes to rise or fall.
  • DC blocking: A capacitor in series passes AC signals while blocking any DC component. This is common in audio coupling.

Capacitors in AC circuits

With AC, the voltage keeps reversing direction. The capacitor charges in one direction, discharges, then charges in the other. The current appears to flow through the circuit even though no charge crosses the dielectric.

The opposition a capacitor offers to AC is called capacitive reactance:

X_C = 1 / (2π × f × C)

Here f is the frequency in hertz and C is the capacitance in farads. Reactance falls as frequency or capacitance goes up, so capacitors pass high frequencies more easily than low ones.

For example, a 1 µF capacitor has a reactance of about 2.65 kΩ at 60 Hz, and about 159 Ω at 1 kHz. In an ideal capacitor the current leads the voltage by 90 degrees.

The current-voltage relationship

For an ideal capacitor, the current is:

i = C × dv/dt

The current depends on how fast the voltage is changing, not on the voltage itself. A steady voltage produces no current. A fast change produces a large current. For example, a 10 µF capacitor whose voltage rises by 1 V every millisecond (1,000 V/s) draws about 10 mA:

i = 10 × 10⁻⁶ F × 1,000 V/s = 0.01 A

The relationship also runs the other way. The voltage across a capacitor is the integral of the current divided by the capacitance, plus the starting voltage. Because of this, the voltage across an ideal capacitor cannot change instantly. Doing so would need an infinite current. Real capacitors have resistance and inductance that limit the current.

The energy stored is E = ½ × C × V². Doubling the voltage quadruples the stored energy. This is why high-voltage capacitors can be dangerous even when they are small.

Are capacitors linear?

In circuit theory, yes. An ideal capacitor is a linear element. Scaling the input scales the output by the same factor, and the response to two inputs added together equals the sum of the separate responses (superposition).

The relationship is not a straight line on a voltage-versus-current graph, though. Because i = C × dv/dt, a plot of current against the rate of change of voltage is the straight line, and its slope is the capacitance.

Real parts depart from the ideal in a few ways. Some ceramic types lose capacitance as the applied voltage rises, a “voltage coefficient” effect. Others show dielectric absorption, where a capacitor partly recharges after being discharged. Leakage current also flows through every real dielectric.

What is the largest capacitor ever made?

“Largest” can mean physical size or capacitance, and there is no single authoritative record for either.

  • Physical size: Early spark-gap radio transmitters used large air-dielectric capacitors built from many metal plates, sometimes filling a whole building. Power-factor correction banks and industrial pulse systems also use large capacitors. Reported dimensions for individual historic installations vary, so treat any single figure with caution.
  • Capacitance: Supercapacitors, also called electric double-layer capacitors, reach from fractions of a farad to thousands of farads in one package. They work at low voltage per cell, usually about 2.5 to 2.7 V, so they are often connected in series for higher voltages.

The supercapacitors explainer covers their uses and limits in more depth.

Where to go next

Key takeaways

  • A capacitor stores charge between two plates separated by an insulator.
  • In steady DC, a charged capacitor acts as an open circuit.
  • In AC, it passes current, with opposition set by reactance, X_C = 1 / (2πfC).
  • Capacitor current is i = C × dv/dt, so it depends on how fast the voltage changes.
  • Ideal capacitors are linear circuit elements, but real parts have leakage and voltage effects.

Keep exploring

Guides from other topics

All topics →