What a Capacitor Actually Does
The textbook definition — “a capacitor stores charge” — is accurate but almost useless for understanding why capacitors appear in virtually every circuit ever designed. A better mental model is this: a capacitor resists changes in voltage. It smooths, stabilises, and buffers. Wherever a voltage is doing something it shouldn’t — spiking, drooping, rippling, or oscillating when it needs to be steady — a capacitor is usually the solution.
Physically, a capacitor is two conductive plates separated by an insulating material called a dielectric. When voltage is applied, positive charge accumulates on one plate and negative charge on the other. The capacitor is now storing energy in the electric field between the plates. When the voltage source is removed or drops, the capacitor releases that stored energy back into the circuit — acting temporarily like a small local battery, propping up the voltage until the source recovers.
This behaviour explains almost everything a capacitor does in practice. In a power supply, it smooths the rippling DC that comes out of a rectifier. On a microcontroller’s power pin, it absorbs brief current spikes that would otherwise cause voltage fluctuations and erratic behaviour. In a filter circuit, it passes high-frequency signals while blocking DC. In a timer, the time it takes to charge through a resistor creates a predictable delay. Every one of these applications is a variation on the same theme: a component that opposes sudden changes in voltage and stores energy to do so.
Capacitance, Voltage Rating, and What They Mean
Capacitance
Capacitance is measured in farads (F), named after Michael Faraday. One farad is an enormous amount of capacitance — far larger than anything found in typical electronics. In practice, you’ll work with:
- Microfarads (µF) — one millionth of a farad. Electrolytic capacitors typically range from 1 µF to 10,000 µF.
- Nanofarads (nF) — one billionth of a farad. Film capacitors commonly fall in this range.
- Picofarads (pF) — one trillionth of a farad. Ceramic capacitors for high-frequency work are often in this range.
A larger capacitance means the component can store more charge at a given voltage and sustain its buffering effect for longer before it needs to recharge. For decoupling and filtering applications, bigger isn’t always better — the best value depends on the frequencies involved and the circuit’s needs.
Voltage Rating
Every capacitor has a maximum voltage rating — the highest voltage it can safely hold across its plates without the dielectric breaking down. Exceeding this rating permanently damages or destroys the capacitor. Electrolytic capacitors that fail under overvoltage can rupture, vent gas, and in some cases, explode.
The standard practice is to choose a capacitor with a voltage rating at least 1.5× to 2× higher than the maximum voltage it will see in your circuit. For a 12 V circuit, use capacitors rated at 25 V or higher. For a 5 V Arduino circuit, 10 V rated capacitors are the minimum; 16 V or 25 V gives comfortable headroom. This is not excessive caution — voltage transients and spikes in real circuits routinely exceed the nominal supply voltage.
Types of Capacitors — Ceramic, Electrolytic, Film, Tantalum
Ceramic Capacitors
Ceramic capacitors are the most common type in modern electronics and the ones you’ll encounter most frequently on circuit boards. They use a ceramic material as the dielectric, are physically small, and are typically available in values from 1 pF to around 100 µF. Crucially, they are non-polarised — they can be inserted in either orientation without issue.
Their key strengths are stability, low cost, wide availability, and excellent high-frequency performance. Ceramic capacitors are the default choice for decoupling (placing on power pins to suppress noise) and high-frequency filtering. Their main weakness is that some ceramic types (particularly X5R and X7R grades) show significant capacitance change with applied voltage and temperature — something that matters for precision timing circuits but is irrelevant for basic decoupling work.
Electrolytic Capacitors
Electrolytic capacitors use a liquid or gel electrolyte and an aluminium oxide dielectric formed by an electrochemical process. This construction allows very high capacitance values in a small package — from 1 µF to tens of thousands of µF. They are the go-to choice wherever you need large capacitance: power supply smoothing, audio coupling, and bulk energy storage.
The critical characteristic of electrolytics is that they are polarised. They have a positive terminal (anode) and a negative terminal (cathode), and they must be installed with the correct polarity — always. Connecting one backwards, or exposing one to an AC signal without a DC bias, can cause the dielectric to break down, leading to catastrophic failure. More on this in the polarity section below.
Electrolytic capacitors also have a finite lifespan and degrade with heat and age. In old electronics that are misbehaving, failed electrolytic capacitors are among the first components to suspect.
Film Capacitors
Film capacitors use a thin plastic film (polyester, polypropylene, or similar) as the dielectric. They are non-polarised, extremely stable over temperature and time, have low losses, and are generally more accurate in their rated value than electrolytics. Values typically range from a few nanofarads to a few microfarads.
Film capacitors are the preferred choice for audio circuits (where stability and low distortion matter), precision timing circuits, and any application where the capacitance value needs to be accurate and repeatable. They are larger than ceramics at equivalent values but more consistent and longer-lived than electrolytics.
Tantalum Capacitors
Tantalum capacitors offer high capacitance in a small package — comparable to electrolytics — with better stability and lower leakage. They are polarised and require correct installation. Their reputation among engineers carries a caveat: they fail catastrophically (sometimes dramatically) when subjected to reverse voltage or current surges beyond their rating. In a beginner circuit, there’s rarely a strong reason to choose tantalum over electrolytic or ceramic. They appear frequently in commercial PCB designs where board space is at a premium, so you’ll recognise them when you encounter them.
| Type | Typical Range | Polarised? | Best Use |
|---|---|---|---|
| Ceramic | 1 pF – 100 µF | No | Decoupling, high-frequency filtering |
| Electrolytic | 1 µF – 10,000 µF | Yes | Power supply smoothing, bulk storage |
| Film | 1 nF – 10 µF | No | Audio, precision timing, stable filtering |
| Tantalum | 0.1 µF – 1,000 µF | Yes | Compact high-cap where board space is tight |
An assorted capacitor kit covers the ceramic and electrolytic types across a range of values, which is all you need to get started with the vast majority of beginner and intermediate projects.
Reading Capacitor Markings
Capacitor markings vary by type and size, but follow a few consistent conventions once you know the system.
Large Electrolytics
Electrolytic capacitors are large enough to print values directly on the body: you’ll see something like 100 µF 25V, often accompanied by a stripe or chevron pattern marking the negative (cathode) lead. The shorter lead is also the negative terminal. These are straightforward to read.
Small Ceramic and Film Capacitors
Smaller capacitors use a three-digit code, with values in picofarads:
- The first two digits are the value digits.
- The third digit is the multiplier — the number of zeros to add.
Examples:
- 104 = 10 followed by 4 zeros = 100,000 pF = 100 nF = 0.1 µF
- 472 = 47 followed by 2 zeros = 4,700 pF = 4.7 nF
- 221 = 22 followed by 1 zero = 220 pF
- 100 = 10 followed by 0 zeros = 10 pF
The code 104 (100 nF / 0.1 µF) is by far the most common marking you’ll encounter — this is the standard decoupling capacitor value used on virtually every microcontroller power pin in existence.
Tolerance and Voltage Codes
A letter following the three-digit code indicates tolerance: J = ±5%, K = ±10%, M = ±20%. A separate number indicates voltage rating — for example, 104K50 means 100 nF, ±10%, 50 V. Not all capacitors include the full code, and small ceramics often omit the voltage rating entirely (assume minimum 16 V for standard types).
Polarity — Why Getting It Wrong Is Dangerous with Electrolytics
Non-polarised capacitors — ceramics and most film types — can be installed in either orientation without consequence. Polarised capacitors are a different matter entirely.
Electrolytic capacitors have a thin layer of aluminium oxide as their dielectric, formed during manufacturing by applying the correct polarity of voltage. This oxide layer is what gives them their high capacitance in a small package. Apply reverse voltage and the oxide layer breaks down. Current flows through what was an insulator. The electrolyte heats rapidly, pressure builds inside the sealed aluminium can, and the capacitor vents — or if the vent is blocked or the reversal is severe, it ruptures with considerable force and sprays electrolyte.
This is not a theoretical risk. It happens regularly when beginners wire electrolytics without checking polarity. The warning markers are unambiguous for a reason:
- The negative lead is marked with a prominent stripe (usually white or silver) running along the body.
- The negative lead is the shorter of the two legs on a new, untrimmed capacitor.
- The positive lead is sometimes marked with a + symbol on the body.
Before every power-on, verify that the striped side of each electrolytic connects to the lower-voltage (GND or negative) side of the circuit. In a power supply filter circuit, the negative lead connects to GND. In an audio coupling circuit, determine the DC bias at each end of the capacitor and orient accordingly.
When in doubt about polarity in a circuit, use a ceramic capacitor instead — for values up to around 10 µF, ceramics are available and there is no polarity risk. Reserve electrolytics for where their large capacitance values are genuinely needed.
Decoupling and Bypass Capacitors
Decoupling capacitors are probably the most important practical application you will encounter, and certainly the most frequently used. Every time you place a capacitor between VCC and GND near a chip’s power pin, you are decoupling it.
Here is why it matters. When a microcontroller or logic IC switches state internally, it draws a brief, sharp pulse of current from the power supply. This current spike travels through the PCB traces and supply wiring, which have small but real inductance and resistance. These parasitic elements cause brief voltage dips — dips that can cause the chip to misread logic levels, reset unexpectedly, or generate noise that corrupts sensor readings.
A decoupling capacitor placed close to the power pin acts as a local energy reservoir. When the chip demands a sudden burst of current, the capacitor supplies it instantly from its stored charge, before the voltage can drip. The main supply then recharges the capacitor at its own pace. The chip sees a stable voltage; the spike is absorbed locally and never propagates across the board.
The standard approach is a 100 nF (0.1 µF) ceramic capacitor placed as close as physically possible to each IC’s power pin, with the shortest possible connections to VCC and GND. This value is chosen because 100 nF ceramic capacitors have low impedance across the frequency range where microcontroller switching noise is most problematic. For additional filtering at lower frequencies, a 10 µF electrolytic in parallel with the ceramic covers a broader frequency range.
In Arduino projects, place 100 nF ceramics near the ATmega328’s VCC pins and near any other ICs you add to the board. On a solderless breadboard, bridge one from the power rail to the ground rail close to each chip — it takes five seconds and eliminates a common source of mysterious intermittent errors.
RC Timing Circuits
When a capacitor charges through a resistor, the charging follows a predictable curve — not a straight line, but an exponential rise that approaches the supply voltage asymptotically. The key parameter is the time constant, denoted τ (tau), equal to the resistance in ohms multiplied by the capacitance in farads: τ = R × C.
After one time constant, the capacitor has charged to approximately 63% of the supply voltage. After five time constants, it is considered fully charged (over 99%). This predictable timing is the basis of the RC timing circuit.
The 555 timer IC — one of the most iconic components in electronics — uses an RC network to set its timing. The familiar monostable (one-shot pulse) and astable (oscillator) configurations both work by letting a capacitor charge and discharge through a resistor, with the 555 detecting when the voltage crosses specific thresholds. Change R or C, and the timing changes proportionally.
RC circuits also form the basis of simple debounce filters for mechanical buttons, delay-on circuits for relays, and the frequency-determining elements in many oscillators. Understanding τ = R × C is the single piece of capacitor maths most worth knowing as a beginner — it lets you predict and design timing behaviour without needing to understand the full differential equation behind it.
Filter Applications
Capacitors block DC and pass AC — or more precisely, their opposition to current flow (called reactance) decreases as frequency increases. At DC (zero frequency), a capacitor is an open circuit: no current flows. At very high frequencies, its reactance approaches zero and it acts like a short circuit. Somewhere in between, it provides selective filtering.
Low-Pass Filters
A resistor and capacitor in series, with the output taken across the capacitor, form a low-pass filter: low frequencies pass through, high frequencies are attenuated. This is used to smooth PWM signals into a DC analogue voltage, remove high-frequency noise from sensor readings, and separate audio frequency signals from RF interference.
High-Pass Filters
Taking the output across the resistor instead gives a high-pass filter: high frequencies pass, low frequencies and DC are blocked. This is used in audio circuits to remove DC offsets from signals, to couple AC signals between stages while blocking DC bias, and in communication circuits to separate data from carrier signals.
Bypass Capacitors in Audio
In audio amplifier circuits, capacitors are placed in series with the signal path to block the DC bias voltages present within the amplifier from reaching the input or output. The signal (AC) passes through freely; the DC bias stays where it belongs. These are called coupling or blocking capacitors and are one of the most common uses of film capacitors specifically, where their low distortion and stability contribute to audio quality.
Common Beginner Mistakes
Installing an Electrolytic Backwards
The most dangerous common mistake. Double-check the stripe (negative) orientation against your circuit before applying power. If the circuit is at all unclear, use a multimeter to confirm which node is at higher voltage before committing.
Choosing a Voltage Rating Below the Circuit Voltage
A 10 V rated electrolytic in a 12 V circuit will fail — possibly not immediately, but progressively as the dielectric is stressed. Always use a rating with headroom. The slight cost increase for a higher-rated capacitor is negligible compared to the time spent troubleshooting a failed circuit.
Assuming All Capacitors Are Interchangeable
The value in farads is only part of the specification. A 10 µF ceramic and a 10 µF electrolytic behave differently at different frequencies and have very different internal constructions. Use ceramics for decoupling and high-frequency work. Use electrolytics for bulk smoothing. Use film types for precision timing and audio. The right type matters.
Omitting Decoupling Capacitors
Many beginner circuits that produce mysterious resets, noise on sensor readings, or erratic serial communications are simply missing decoupling capacitors on IC power pins. It’s one of the first things experienced engineers check when a circuit misbehaves. Place a 100 nF ceramic near every chip’s power pin — it costs almost nothing and eliminates an entire category of problems.
Not Discharging Before Handling
Large electrolytic capacitors in power supply circuits can hold a dangerous charge even after the power is removed. Before handling capacitors in mains-connected equipment, verify with a multimeter that the voltage has discharged to a safe level. This is not typically a concern with the small capacitors used in Arduino and breadboard projects, but it’s a habit worth building early.
The Foundation of Every Circuit
Resistors set current; capacitors manage voltage in time. Together, these two passive components appear in some combination in virtually every circuit that has ever been designed. Understanding capacitors — not just their values but their behaviour, their types, and the reason they’re placed where they are — transforms circuit reading from memorising patterns into genuinely understanding what a design is doing and why.
To get hands-on experience with the full range of types and values, an assorted capacitor kit gives you ceramics, electrolytics, and films across the most useful values. Combine it with a solderless breadboard and start placing decoupling caps, building RC timing circuits, and experimenting with filters. The concepts become intuitive quickly once you can see and measure them directly.
