If you’ve ever opened up a circuit board or watched an electronics tutorial, you’ve almost certainly come across a capacitor. They’re everywhere โ from the tiniest wearable devices to massive industrial power systems. Yet for many beginners (and even some seasoned hobbyists), the question what is a capacitor remains surprisingly fuzzy.
As a PCB engineer, I get asked this more than almost anything else. So let me walk you through everything you need to know about capacitors โ how they work, what types exist, how to read them, and how to use them correctly on a PCB. No unnecessary jargon. Just clear, practical knowledge.
What Is a Capacitor?
A capacitor is a passive electronic component that stores and releases electrical energy in the form of an electric field. Think of it like a tiny, fast-charging rechargeable battery โ but instead of using a chemical reaction, it stores energy between two conductive plates separated by an insulating material called a dielectric.
The fundamental job of a capacitor is to hold a charge temporarily and release it when needed. This makes it incredibly useful for smoothing power supplies, filtering signals, timing circuits, and coupling AC signals while blocking DC.
Every capacitor on a PCB plays a specific functional role โ and understanding that role is the first step to becoming a confident circuit designer.
How Does a Capacitor Work?
The Basic Operating Principle
At its core, a capacitor consists of two conductive plates (usually made of metal) placed very close together but not touching. Between them sits the dielectric โ an insulating material that prevents direct current from flowing through but allows an electric field to build up.
When you apply a voltage across the capacitor’s terminals:
- Electrons accumulate on one plate (negative charge)
- The opposite plate loses electrons (positive charge)
- An electric field forms between the two plates
- Energy is stored in that field
When the voltage source is removed or a load is connected, the capacitor discharges โ releasing that stored energy back into the circuit.
The Charging and Discharging Curve
Capacitors don’t charge or discharge instantly. They follow an exponential curve described by the RC time constant (ฯ = R ร C), where R is the resistance in the circuit and C is the capacitance. After one time constant, a capacitor charges to about 63.2% of the supply voltage. After five time constants, it’s considered fully charged (~99.3%).
This behavior is exactly what makes capacitors so useful in timing circuits and filters.
Capacitance: The Key Measurement
What Is Capacitance?
Capacitance is the measure of a capacitor’s ability to store charge per unit of voltage. It is measured in Farads (F), named after physicist Michael Faraday.
In practice, most capacitors you’ll work with are measured in smaller units:
| Unit | Symbol | Equivalent |
| Microfarad | ยตF | 10โปโถ F |
| Nanofarad | nF | 10โปโน F |
| Picofarad | pF | 10โปยนยฒ F |
| Millifarad | mF | 10โปยณ F |
Surface mount capacitors on a PCB often range from a few picofarads to several hundred microfarads, depending on their application.
What Affects Capacitance?
The capacitance of a capacitor depends on three physical factors:
| Factor | Effect on Capacitance |
| Plate area (A) | Larger plates = higher capacitance |
| Distance between plates (d) | Smaller gap = higher capacitance |
| Dielectric material (ฮต) | Higher permittivity = higher capacitance |
This relationship is expressed as: C = ฮต ร (A / d)
Types of Capacitors
One of the most common areas of confusion for beginners is the sheer variety of capacitor types. Each type has its own characteristics, strengths, and ideal use cases. Here’s a comprehensive breakdown.
Ceramic Capacitors
Ceramic capacitors are the most widely used type in modern PCB design. They use a ceramic material as the dielectric and are available in a huge range of values from a few picofarads to tens of microfarads.
Key characteristics:
- Non-polarized (can be connected either way)
- Very low ESR (Equivalent Series Resistance)
- Available in SMD packages (0201, 0402, 0603, 0805, etc.)
- Temperature stability varies by class (C0G/NP0 most stable, X5R/X7R good for general use, Y5V poorest stability)
Best for: Decoupling/bypass capacitors, high-frequency filtering, general-purpose signal filtering
Electrolytic Capacitors
Electrolytic capacitors use an electrolyte solution to achieve very high capacitance values โ often from 1 ยตF up to tens of thousands of ยตF. They are polarized, meaning they must be connected with the correct polarity or they can fail catastrophically.
Key characteristics:
- Polarized (has a positive and negative terminal)
- Higher ESR than ceramics
- Available in through-hole and SMD versions
- Shorter lifespan at high temperatures
Best for: Power supply filtering, bulk energy storage, audio coupling stages
Tantalum Capacitors
Tantalum capacitors offer a middle ground โ higher capacitance density than ceramics but lower ESR and smaller size than electrolytics. They are also polarized.
Key characteristics:
- Polarized
- Compact and reliable
- Sensitive to voltage spikes (can fail short if over-volted)
- More expensive than ceramics or electrolytics
Best for: Portable electronics, medical devices, power supply decoupling where space is critical
Film Capacitors
Film capacitors use a thin plastic film as the dielectric. They are highly stable and have very low ESR and ESL (Equivalent Series Inductance).
Key characteristics:
- Non-polarized
- Excellent temperature stability
- Low self-heating
- Physically larger than other types
Best for: Audio circuits, precision timing, power factor correction, motor run capacitors
Supercapacitors (Ultracapacitors)
Supercapacitors are a class apart. They can store dramatically more energy than conventional capacitors โ sometimes hundreds or thousands of farads โ by using an electrochemical double-layer effect.
Key characteristics:
- Very high capacitance (1F to 3000F+)
- Low energy density compared to batteries, but much faster charge/discharge
- Limited voltage rating (typically 2.5โ2.7V per cell)
Best for: Energy harvesting, backup power systems, regenerative braking, IoT devices that need brief power bursts
Capacitor Type Comparison Table
| Type | Capacitance Range | Polarized? | ESR | Typical Use |
| Ceramic (C0G) | 1pF โ 1ยตF | No | Very Low | RF, precision |
| Ceramic (X7R) | 100pF โ 10ยตF | No | Low | Decoupling |
| Electrolytic | 1ยตF โ 100,000ยตF | Yes | Medium-High | Power filtering |
| Tantalum | 0.1ยตF โ 2,200ยตF | Yes | Low | Portable electronics |
| Film | 1nF โ 100ยตF | No | Very Low | Audio, precision |
| Supercapacitor | 0.1F โ 3,000F | Yes | Very Low | Energy storage |
How to Read Capacitor Values
Reading Through-Hole Capacitors
Most electrolytic capacitors are straightforward โ the value is printed directly on the body (e.g., “100ยตF 25V”). The longer lead is positive (+), and many have a stripe indicating the negative terminal.
Reading Ceramic Capacitor Codes
SMD and small ceramic capacitors often use a 3-digit code. Here’s how to decode it:
- The first two digitsย are the significant figures
- The third digitย is the multiplier (number of zeros to add)
- The result is in picofarads (pF)
Example:
| Code | Calculation | Value |
| 104 | 10 ร 10โด | 100,000 pF = 100 nF = 0.1 ยตF |
| 103 | 10 ร 10ยณ | 10,000 pF = 10 nF |
| 472 | 47 ร 10ยฒ | 4,700 pF = 4.7 nF |
| 220 | 22 ร 10โฐ | 22 pF |
Voltage Rating
Every capacitor has a voltage rating โ the maximum voltage it can safely handle. As a PCB engineer, I always recommend using a capacitor rated at at least 1.5ร to 2ร the maximum voltage it will see in the circuit. This provides a safety margin against voltage spikes and extends component life.
What Does a Capacitor Do in a Circuit?
Understanding what a capacitor actually does in different circuit contexts will save you hours of debugging. Here are the most common roles:
1. Decoupling / Bypass Capacitor
This is probably the most common use of a capacitor on a PCB. A small ceramic capacitor (typically 100nF) placed close to an IC’s power pin “decouples” it from the rest of the power supply. When the IC suddenly draws a burst of current, the capacitor supplies that current instantly โ preventing a voltage dip that could cause logic errors or noise.
2. Bulk Capacitance
Larger electrolytic or tantalum capacitors are placed across power rails to handle slower, larger current demands. Where decoupling caps handle high-frequency transients, bulk caps handle lower-frequency demand changes โ like when a motor starts or a display lights up.
3. Filtering
Capacitors are fundamental building blocks in filter circuits:
| Filter Type | What It Does |
| Low-pass filter | Passes low frequencies, blocks high frequencies |
| High-pass filter | Passes high frequencies, blocks low frequencies |
| Band-pass filter | Passes a specific frequency range |
| Notch filter | Rejects a specific frequency |
A simple low-pass RC filter uses a resistor and capacitor in series, taking the output across the capacitor. The cutoff frequency is: f = 1 / (2ฯ ร R ร C)
4. Coupling / DC Blocking
In audio and RF circuits, a capacitor in series with a signal path passes AC (the audio or RF signal) while blocking DC offset. This is called AC coupling and is essential for connecting circuit stages with different DC bias levels.
5. Timing
In a classic 555 timer circuit, the time delay or oscillation frequency is set by an RC network. The capacitor charges and discharges through a resistor to create a predictable timing interval.
6. Energy Storage
In camera flash circuits, camera sensors, and power backup systems, capacitors store charge and then release it rapidly when needed. A camera flash is a perfect example โ the capacitor charges slowly from a small battery, then dumps that energy almost instantly through the flash tube.
Capacitor Specifications You Need to Understand
Before you select a capacitor for your design, you need to understand these key specifications:
| Specification | Description | Why It Matters |
| Capacitance (C) | Value in pF, nF, or ยตF | Determines the function in circuit |
| Voltage rating (V) | Max operating voltage | Exceeding it damages/destroys the cap |
| Tolerance | Accuracy of capacitance (ยฑ5%, ยฑ10%, ยฑ20%) | Critical in precision circuits |
| ESR | Equivalent Series Resistance | Affects efficiency and heat generation |
| ESL | Equivalent Series Inductance | Limits high-frequency performance |
| Temperature coefficient | How much capacitance shifts with temperature | Critical in timing and RF circuits |
| Leakage current | Small current through dielectric | Matters in low-power and precision circuits |
| Lifetime / MTBF | Expected service life | Key for reliability engineering |
Capacitors in Series and Parallel
Capacitors in Parallel
When capacitors are in parallel, their capacitances add together:
C_total = C1 + C2 + C3 + …
This is useful when you need a higher capacitance value but only have smaller caps available, or when you want to combine a bulk cap with a decoupling cap for wider frequency coverage.
Capacitors in Series
When capacitors are in series, the total capacitance decreases and follows this formula:
1/C_total = 1/C1 + 1/C2 + 1/C3 + …
For two equal capacitors in series: C_total = C/2
Series configurations are used when you need a higher voltage rating than any single capacitor provides.
How to Test a Capacitor
If you suspect a capacitor has failed, here are the most common testing methods:
Using a Multimeter
Set your multimeter to the capacitance measurement mode (if available) and measure across the capacitor terminals. Compare the reading to the marked value โ a significantly different reading indicates a failed component.
For electrolytic caps, you can also do a rough test in resistance mode:
- Good capacitor:ย resistance briefly reads low, then climbs toward infinity
- Short circuit:ย resistance stays near zero
- Open circuit:ย no deflection at all
Using an LCR Meter
An LCR meter gives you capacitance, ESR, and sometimes dissipation factor (D) โ a much more thorough test. High ESR in an electrolytic capacitor is a common failure mode and is often missed by a basic multimeter.
Visual Inspection
For through-hole electrolytics, look for:
- Bulging or domed tops (sign of internal pressure buildup)
- Electrolyte leakage (brown crust around the base)
- Cracked or damaged casing
Common Capacitor Failures and How to Avoid Them
| Failure Mode | Cause | Prevention |
| Dielectric breakdown | Exceeded voltage rating | Derate voltage to 50โ70% of rating |
| ESR increase | Age, heat, ripple current | Use proper temp-rated caps, add heat management |
| Short circuit (tantalum) | Voltage spike | Add inrush current limiting, use 2ร derating |
| Capacitance drift | Temperature extremes | Use C0G/NP0 ceramics for stable applications |
| Mechanical failure (ceramic) | PCB flex stress | Use softer-termination caps on flexible areas |
Capacitors on a PCB: Placement Best Practices
From years of hands-on PCB design, here are the placement rules I follow every time:
Decoupling caps must be placed as close as possible to the IC power pin โ ideally within 0.5mm. The connection from pad to via should be as short as possible. A decoupling cap placed 5mm away from the IC provides very little benefit at high frequencies.
For bulk capacitors, placement near the power input connector or the main regulator output is the priority. These are handling lower-frequency energy demands, so exact proximity is less critical than for decoupling.
If you’re working on a high-speed digital design, consider placing a 100nF and a 10nF ceramic in parallel for each IC โ the combination covers a wider frequency range than either alone.
Finally, avoid placing large electrolytic capacitors near heat-generating components. Heat is an electrolytic capacitor’s primary enemy โ it accelerates electrolyte evaporation and dramatically shortens lifespan.
Useful Resources for Learning More About Capacitors
Here are some authoritative resources to deepen your understanding:
| Resource | Type | Link |
| Murata Capacitor Series Guide | Manufacturer Reference | murata.com |
| TDK Product Selector | Component Database | product.tdk.com |
| KEMET Capacitor Finder | Component Database | kemet.com |
| Vishay Capacitor Catalog | Datasheet Library | vishay.com |
| Digi-Key Capacitor Parametric Search | Distributor Database | digikey.com |
| Mouser Capacitor Search | Distributor Database | mouser.com |
| IPC-2221 PCB Design Standard | Design Standard | ipc.org |
| All About Circuits โ Capacitors | Educational | allaboutcircuits.com |
| Texas Instruments โ Decoupling Guide | Application Note | ti.com |
Frequently Asked Questions (FAQs)
1. What is a capacitor in simple terms?
A capacitor is an electronic component that temporarily stores electrical energy as an electric field between two conductive plates. It charges up quickly when connected to a power source and releases that energy when needed. Unlike a battery, it stores energy electrostatically (not chemically), so it can charge and discharge extremely fast.
2. What is the difference between a capacitor and a battery?
Both store energy, but very differently. A battery stores energy chemically and can hold a large amount for a long time but charges and discharges slowly. A capacitor stores energy electrostatically, holds much less energy overall, but can charge and discharge almost instantly. This makes capacitors ideal for filtering, decoupling, and burst-energy applications rather than long-term energy supply.
3. Can I replace a capacitor with a higher capacitance value?
Sometimes, but it depends on the application. In power supply filtering, a higher value often works fine or even better. In timing circuits or filters, changing the capacitance directly changes the time constant or cutoff frequency and can break the circuit’s intended behavior. Always check the circuit design before substituting values.
4. Why do electrolytic capacitors have a polarity?
Electrolytic capacitors are manufactured using an electrochemical process that creates a very thin oxide layer on one metal plate โ this layer is the dielectric. This process is directional, which means the component only functions correctly (and safely) when connected with the correct polarity. Reverse-biasing an electrolytic can destroy the oxide layer, cause the capacitor to fail short, and sometimes lead to the capacitor venting or rupturing.
5. What happens if a capacitor is connected incorrectly on a PCB?
For non-polarized capacitors (like ceramics), there’s no polarity concern. For polarized types (electrolytic, tantalum), connecting them backwards can cause immediate or gradual failure. In high-current circuits, an incorrectly connected electrolytic capacitor can build up internal pressure and fail explosively. Always double-check polarity markings on both the component and the PCB silkscreen before powering up.
Final Thoughts
Understanding what a capacitor is and how it works is one of the most foundational skills in electronics. Whether you’re designing your first PCB, debugging a power supply, or just trying to understand why an IC keeps resetting, capacitors are almost always part of the story.
The key takeaways: capacitors store energy in an electric field, their behavior is defined by capacitance (measured in Farads), they come in many types each suited to specific jobs, and their placement on a PCB matters enormously for performance. Get these fundamentals right and you’ll make far fewer mistakes at the design stage โ and spend far less time troubleshooting later.
If you want to go deeper into how capacitors are used specifically in PCB layouts, I’d recommend exploring manufacturer application notes and PCB design guidelines from IPC โ they’re dense but packed with real-world engineering wisdom.