Circuit 3D

How a capacitor works

A capacitor is a part that stores electric charge on two metal plates separated by an insulator, the dielectric, like a tiny, fast rechargeable tank. Connect it to a voltage and charge gathers on the plates, + on one and − on the other; how much it holds for each volt is its capacitance, in farads, so Q = C × V.

Q = C × V

where Q is the charge in coulombs (C), C is the capacitance in farads (F) and V is the voltage in volts (V).

Charged through a resistor, it fills over a time constant, τ = R × C, which is why capacitors set the timing in so many circuits.

What is a capacitor?

A capacitor is a component that stores electric charge on two conducting plates, separated by an insulator so that no current flows straight through.

The insulator is the dielectric: air, ceramic, plastic film or a thin oxide layer. When a voltage pushes charge onto one plate, the same amount leaves the other, so the plates end up equal and opposite.

++++++++−−−−−−−− 9 V

Q = C × V = 100 µF × 9 V = 900 µC

Figure 1. A 100 µF capacitor: two plates with an insulator between them. Raise the voltage and more charge gathers on each plate, + on one and − on the other.

What is capacitance?

Capacitance is how much charge a capacitor stores for each volt across it, C = Q ÷ V, measured in farads (F).

A farad is a lot, so capacitance is usually given in microfarads (µF), nanofarads (nF) or picofarads (pF). Bigger plates, closer together, give more capacitance; so does a better dielectric. Capacitors in parallel add; in series they give less than the smallest.

How does a capacitor charge and discharge?

A capacitor charging through a resistor fills quickly at first and then more and more slowly, reaching 63% of the supply voltage after one time constant, τ = R × C; it empties the same way.

The pace is set by the time constant, τ = R × C. After one τ the capacitor has covered 63% of the way to the supply voltage; after five, it is nearly full. Discharging, it falls to 37% in one τ.

9 V 0 0 s5 s10 s τ

τ = R × C = 10 kΩ × 100 µF = 1 s. After one τ it has 5.69 V, 63% of the way; after 5τ, 5 s, it is over 99% full.

Figure 2. A 100 µF capacitor charging from 9 V through a resistor, or emptying through it. A bigger resistor slows the flow, so it takes longer.

What are the types of capacitors?

The main types are ceramic, film, electrolytic and supercapacitors, which differ in how much they store and whether they have a polarity.

  • Ceramic: small and cheap, from a few pF to tens of µF, and either way round.
  • Film: steady and precise, for audio and timing.
  • Electrolytic: large values in a small can, but polarized: the stripe marks the − lead, and fitted backwards it can fail.
  • Supercapacitors: from a farad to thousands, storing far more energy than other capacitors, though still much less than a battery of the same size.

100 µF: about 6.3 × 11 mm. The pale stripe marks the negative lead.

Figure 3. An aluminum electrolytic capacitor from the lab, at real scale. Ten times the capacitance takes a bigger can.

How do you read a capacitor’s value?

Electrolytic capacitors print their value in microfarads, such as 100 µF 16 V; small ceramic ones use a three-digit code in picofarads.

The first two digits are the value and the third is how many zeros follow, so 104 is 100,000 pF, or 100 nF. The voltage printed on an electrolytic is the most it can safely take.

104

10 and four zeros: 100,000 pF = 100 nF = 0.1 µF

Figure 4. A ceramic disc capacitor. Its code works like a resistor’s bands: two digits, then the number of zeros, in picofarads.

How do you calculate a capacitor’s charge, energy and timing?

To calculate a capacitor’s charge, energy and timing, use Q = C × V for charge, E = ½ × C × V² for energy and τ = R × C for timing, with C in farads. The resistor’s current at any moment follows Ohm’s law.

Example 1: find the time constant

A 100 µF capacitor charges through a 10 kΩ resistor. What is its time constant, and how long does it take to charge?

Given
R = 10 kΩ = 10,000 Ω, C = 100 µF = 100 × 10⁻⁶ F
Find
the time constant, τ, and how long it takes to charge
Solution
τ = R × C = 10,000 Ω × 100 × 10⁻⁶ F = 1 sIt is 63% charged after one τ, and nearly full after 5τ = 5 s
Answer
τ = 1 s; about 5 s to charge

Example 2: find the charge and energy

A 1,000 µF capacitor is charged to 9 V. How much charge and energy does it hold?

Given
C = 1,000 µF, V = 9 V
Find
the charge, Q, and the energy stored, E
Solution
Q = C × V = 1,000 µF × 9 V = 9 mCE = ½ × C × V² = ½ × 1,000 µF × (9 V)² = 40.5 mJ
Answer
9 mC and 40.5 mJ

What does a capacitor do?

A capacitor stores charge and gives it back, so in a circuit it smooths supplies, sets timing, blocks DC while passing AC, and delivers quick bursts of energy.

  • Smoothing: a large capacitor fills the dips in a rectified supply.
  • Decoupling: a 100 nF ceramic beside each chip steadies its supply.
  • Timing: R × C sets how fast a light blinks or a timer runs.
  • Bursts: a camera flash charges a capacitor, then empties it in a moment.

Summary

Key equations

  • Q = C × V charge stored
  • τ = R × C the time constant
  • E = ½ × C × V² energy stored

Key terms

Capacitance (C)
Charge stored per volt, in farads.
Dielectric
The insulator between the plates.
Time constant (τ)
R × C: the time to reach 63% charge.
Polarized
Has a + and a − lead, like an electrolytic.

Practice problems

  1. A 100 µF capacitor is charged to 5 V. How much charge does it hold?

  2. What is the time constant of 10 kΩ and 100 µF?

  3. How charged is a capacitor after one time constant?

  4. A ceramic capacitor is printed 103. What is its value?

  5. Which kind of capacitor must go in the right way round?

FAQ

Does a capacitor let current through?

Not steady DC: once charged, it blocks it, because the dielectric is an insulator. Changing current, such as AC, does get through, as the plates keep charging and discharging.

What is the difference between a capacitor and a battery?

A battery stores energy in chemicals and releases it slowly at a steady voltage. A capacitor stores it as charge on its plates, charges and empties far faster, but holds much less, and its voltage falls as it empties.

Can a capacitor shock you?

Yes. Large capacitors, especially in mains equipment, can hold a dangerous charge after the power is off. Small capacitors in battery circuits are harmless.

What does µF mean on a capacitor?

Microfarads: millionths of a farad. 100 µF is 0.0001 F.

What happens if you put an electrolytic capacitor in backwards?

It can heat up, leak or burst, as reverse voltage breaks down the oxide layer that makes its dielectric. Match its stripe to the negative side.

What voltage capacitor should I use?

One rated comfortably above the highest voltage it will see. A common rule is at least 1.5 times the supply: a 16 V part for a 9 V circuit.

What is a supercapacitor?

A capacitor with a huge capacitance, often a farad or more at a few volts, also called an ultracapacitor. It holds far less energy than a battery its size but charges in seconds, many thousands of times over.

What is the formula for capacitance?

C = Q ÷ V, the charge stored for each volt. For two flat plates it is C = ε × A ÷ d, where A is the plate area, d the gap and ε the dielectric’s permittivity, so bigger, closer plates store more.

How do you discharge a capacitor?

Hold a resistor across its leads for at least five time constants, 5 × R × C, then check that it reads near 0 V: 1 kΩ empties 100 µF in about 0.5 s. Never short a large one with a screwdriver.

What is a ceramic capacitor?

A small, cheap capacitor with a ceramic dielectric, from a few pF to tens of µF, with no polarity, so it fits either way round. The 100 nF decoupling capacitor beside a chip is usually ceramic.

How much energy does a capacitor store?

E = ½ × C × V², so 100 µF charged to 9 V holds ½ × 0.0001 × 81 ≈ 4 mJ.