All articles

    What Is a Capacitor? And How Does It Store Electricity?

    The capacitor explained for beginners: two plates and an insulator, the charge and energy it stores in numbers, the farad and its units, the voltage rating, series and parallel, how it behaves with DC and AC and its reactance, the types (ceramic, electrolytic, tantalum, film and supercapacitor), its uses, and how to measure it.

    Updated 6 min read

    A capacitor is a part that stores electric charge and releases it again. You can picture it as a very small water tank: it fills quickly and empties quickly. That ability to store and release charge fast is what puts it in almost every circuit, from a charger to the processor in your phone.

    How it's built

    Two conductive plates with an insulating material between them. When you connect it to a voltage, positive charges collect on one plate and negative ones on the other, and no current flows through the insulator itself.

    Charges collect on the two plates and the voltage on the capacitor rises until it equals the source voltage
    Charges collect on the two plates and the voltage on the capacitor rises until it equals the source voltage

    And because it has to fill and empty, a capacitor passes changes (AC and signals) and blocks steady DC once it's charged.

    The capacitance increases when the plates are larger, the distance between them is smaller, or the insulator is changed to a better material. That's why large capacitors contain very long rolled-up strips, and small ceramics contain many layers stacked on top of each other.

    The unit: the farad

    The farad is a very large unit, so you'll meet its fractions:

    UnitSymbolValue
    microfaradµF0.000001 farad
    nanofaradnF1000 nF = 1 µF
    picofaradpF1000 pF = 1 nF

    The code printed on small capacitors (such as 104) is explained in the capacitor codes article, and converting between prefixes in the milli, micro and nano article.

    How much does it store?

    charge:   Q = C × V
    energy:   E = ½ × C × V²

    Example: a 1000 µF capacitor at 12 V stores energy = ½ × 0.001 × 144 = 0.072 joules. That's very small: an ordinary AA battery holds about 10 thousand joules. So a capacitor is not a substitute for a battery in storage, but it releases its small energy extremely fast, and that's the secret of its importance: it fills the momentary current peaks that a battery or power supply can't keep up with.

    And notice the energy goes up 4 times when the voltage doubles (because of V²). That's why a large capacitor at 400 V inside a power supply is very dangerous, even if it's small.

    The voltage rating

    Every capacitor has a maximum voltage it can withstand (16 V, 25 V, 50 V...). Exceed it and the insulator breaks down and the capacitor is ruined, and an electrolytic can burst. Always choose a rating at least 25% above the circuit voltage.

    Series and parallel

    Exactly the opposite of resistors:

    • In parallel: the capacitances add. Two 100 µF capacitors = 200 µF. The allowed voltage is that of the lowest-rated one.
    • In series: the total capacitance falls (for two equal ones: half), but the allowed voltage rises. You need balancing resistors across each one so the voltage divides evenly.

    The calculation is covered in detail in the series and parallel article.

    With DC and with AC

    • With DC: when you connect it, it draws current at first while it charges, then the current stops. Charging takes a time set by the resistance before it: the RC time constant.
    • With AC: it keeps charging and discharging every cycle, so current flows. And the higher the frequency, the more easily the capacitor passes it. That resistance is called reactance:
    Xc = 1 ÷ (2 × π × f × C)

    A 100 nF capacitor has a reactance of about 32 kΩ at 50 Hz, and only about 1.6 Ω at 1 MHz. That's exactly why the 100 nF next to a chip shorts fast noise to ground without affecting the DC. Calculate it with the reactance calculator.

    The types

    • Ceramic: small and cheap, from picofarads to a few microfarads. No polarity. The most common is 100 nF next to chips. Note that large ceramics lose capacitance as the voltage rises.
    • Electrolytic: large capacitances (microfarads to thousands of microfarads). Polarised: the long leg is positive, and the stripe printed on the body is negative. Fit it backwards and it can heat up and burst.
    • Tantalum: large capacitance in a small size, also polarised, and its stripe marks the positive.
    • Film (polyester): stable and accurate, for audio and timing, and on 220 V lines (the special X2 type).
    • Supercapacitor: capacitances in farads at a low voltage (2.7 V, for example). It keeps an RTC clock running for days, or lets a device keep working for moments after the power cuts.
    TypeCapacitancePolarityUsed for
    CeramicpF to a few µFNoDecoupling and fast filters
    ElectrolyticµF to thousands of µFYesPower filtering
    TantalumµF to hundreds of µFYesSupply in a small space
    FilmnF to a few µFNoAudio, timing and 220 V
    SupercapacitorfaradsYesBackup storage

    What do we use it for?

    1. Smoothing the voltage after a rectifier: the filter capacitor.
    2. Decoupling: a 100 nF capacitor next to each chip absorbs fast fluctuations on the supply. Details are in the decoupling capacitors article.
    3. Timing: with a resistor it creates an RC time constant, which is the basis of the 555 timer.
    4. Blocking DC: passes an audio signal and blocks the steady voltage.
    5. Filters: with resistors (RC filters) or inductors.
    6. Button debouncing: it smooths the bounce. See the buttons article.

    How do you measure it?

    • A multimeter with a capacitance mode (the capacitor symbol or F): the capacitor out of circuit and discharged. Large capacitors take a few seconds for the reading to settle.
    • A cheap component tester: measures capacitance and ESR together, which matters a lot for electrolytics.
    • The normal reading differs from the marking: electrolytics are usually ±20%, so a 1000 µF capacitor reading 900 or 1150 is fine.

    Electrolytic capacitors age with time and heat, and the signs are in the bulging capacitors article.

    Warning

    Large capacitors in a power supply can stay charged after it's disconnected. Discharge them through a resistor before touching the circuit, not with a screwdriver: a direct short makes a spark and can damage the capacitor or the solder joints.

    FAQ

    Can I use a capacitor with a larger value than specified? For filtering, usually yes. For timing, no, because the time will change. And for decoupling, bigger isn't necessarily better.

    Why is the capacitor rated much higher than the circuit voltage? That's normal and does no harm. The marked voltage is the maximum, not the voltage it will operate at.

    Circuits Nerd
    © 2026 Circuits Nerd. All rights reserved.