PCB Assembly

PCB Capacitors: Functions, Types, Codes & Selection Guide

Different types of capacitors on a printed circuit board
Figure 1. An assembled PCB with surface-mount chip capacitors, aluminum electrolytic capacitors, and C reference designators.

Capacitors store energy in an electric field. On a PCB, they help stabilize power rails, filter signals, pass AC between stages, and set timing. The right part depends on what it does in the circuit, the voltage and temperature it sees, and how it connects to the board.

This guide explains the differences among ceramic, aluminum electrolytic, tantalum, and film capacitors. It also shows how to decode markings such as 104, identify a suitable package, and check capacitor specifications before assembly.

1. What Is a Capacitor?

A capacitor is a passive electronic component that stores and releases energy in an electric field. On a printed circuit board, the capacitor connects to the rest of the circuit through its terminals.

A capacitor has three basic parts.

When a voltage is applied across the terminals, the plates accumulate equal and opposite charges, creating an electric field in the dielectric.

The relationship between charge, capacitance, and voltage is:

Q = C × V

An ideal linear capacitor stores energy according to the following relationship.

E = ½CV²

At the same voltage, a capacitor with greater capacitance stores more charge and energy.

On PCB schematics and silkscreen, capacitor reference designators typically start with C, as in C1, C2, and C3.

Capacitor internal structure and electric field working principle
Figure 2. Conductive plates separated by a dielectric store energy in the electric field.

2. How Does a Capacitor Work?

A capacitor can store energy during charging and release it during discharging.

2.1 Charging a Capacitor

When an uncharged capacitor is connected to a DC source through a resistor, charge begins to accumulate on its plates.

In a simple RC charging circuit:

As the capacitor voltage approaches the supply voltage, the charging current approaches zero.

2.2 Discharging a Capacitor

When a charged capacitor is disconnected from its source and connected through an external load that completes the circuit, it releases the energy it stored.

In a simple RC discharge circuit, both the voltage across the capacitor and the magnitude of the discharge current gradually decrease.

This behavior lets a capacitor provide a short-term energy buffer when the supply fluctuates or the load current changes suddenly.

2.3 Basic Electrical Behavior

Capacitor current is proportional to the rate of change of the voltage across it.

i = C × dV/dt

With finite current, the voltage across an ideal capacitor cannot change instantaneously.

At DC steady state, no sustained current flows through an ideal capacitor. When the voltage changes with time, current flows as the capacitor charges or discharges.

Real capacitors have nonideal characteristics, including leakage current, equivalent series resistance (ESR), and parasitic inductance, commonly modeled as equivalent series inductance (ESL).

3. Common Capacitor Types on PCBs

Capacitors differ in dielectric material, internal construction, and manufacturing process.

3.1 Ceramic Capacitors

Ceramic capacitors use a ceramic dielectric. Multilayer ceramic capacitors (MLCCs) are widely used in modern PCB designs.

Typical MLCC characteristics include:

Typical uses include microcontroller supply decoupling, high-frequency filtering, communications circuits, and signal processing.

3.2 Aluminum Electrolytic Capacitors

Aluminum electrolytics are widely used in power supplies and power electronics because they can provide high capacitance.

Typical characteristics include:

Typical uses include switching power supplies, industrial controls, inverters, and input and output filtering in power supplies.

3.3 Tantalum Capacitors

Tantalum capacitors generally offer high capacitance per unit volume, making them suitable for products with limited board space.

Typical uses include portable electronics, communications modules, medical electronics, and power management circuits.

Standard tantalum capacitors are polarized. When selecting one, pay particular attention to its voltage rating, surge current, and the manufacturer’s derating requirements.

3.4 Film Capacitors

Film capacitors use a plastic film dielectric, such as polypropylene or polyester.

Typical characteristics include:

Film capacitors are commonly used in inverters, industrial power supplies, motor controls, and filters.

Comparison of Common Capacitor Types

Capacitor family Common designation Typically polarized? Main uses
Ceramic Ceramic capacitor or MLCC No Decoupling and high-frequency filtering
Aluminum electrolytic Aluminum electrolytic capacitor Yes Power-supply filtering and energy storage
Tantalum Tantalum capacitor Yes Power management and compact devices
Film Film capacitor No Power electronics, filtering, and pulse circuits
Ceramic electrolytic tantalum and film capacitor comparison
Figure 3. Four capacitor families commonly used on PCBs: ceramic, aluminum electrolytic, tantalum, and film.

Check capacitor polarity during PCB assembly. On standard aluminum electrolytic capacitors, the stripe on the case usually marks the negative terminal. On standard surface-mount tantalum capacitors, the stripe usually marks the positive terminal.

Confirm the polarity of the exact part against the manufacturer’s datasheet and the PCB assembly documentation. Appearance alone is insufficient.

4. What Do Capacitors Do on a PCB?

4.1 Decoupling

Decoupling is one of the most common uses of capacitors in digital circuits. When an MCU, FPGA, or other integrated circuit changes state, its current demand can rise quickly. If the power supply cannot deliver the current quickly enough, the voltage at the chip can fluctuate. A decoupling capacitor supplies current locally for a short time to help keep that voltage stable.

For example, a 3.3 V MCU circuit may use a 100 nF capacitor and a 10 µF capacitor in parallel between VDD and GND.

Follow the chip manufacturer’s design guidance for the actual capacitance, number of capacitors, and layout.

4.2 Filtering

Capacitors can work with resistors or inductors in filters that attenuate unwanted frequency components, power supply ripple, and high-frequency noise.

For an ideal capacitor in sinusoidal steady state, the magnitude of its capacitive reactance is given by this equation.

Xc = 1 / (2πfC)

Here, f is the signal frequency and C is the capacitance. In the ideal model, a capacitor of a given value has lower reactance at higher frequencies. In a suitable circuit, this property helps attenuate high-frequency noise.

Common applications include RC low-pass filters, LC filters, power supply input and output filters, and sensor signal filters. A real capacitor’s high-frequency performance also depends on its equivalent series resistance (ESR), equivalent series inductance (ESL), and self-resonant frequency.

4.3 Energy Storage

A capacitor stores energy in its electric field and releases it when the circuit needs it. Higher-capacitance electrolytic or film capacitors are common in inverters, switching power supplies, and industrial power control boards.

These capacitors can buffer changes in load current, reduce supply voltage ripple, store energy on a DC bus, provide short-term power, and buffer energy during power conversion. In power electronics, consider the voltage rating, ripple current, operating temperature, and service life alongside the capacitance.

4.4 AC Coupling

A capacitor in series with a signal path blocks the steady-state DC component while passing AC signals over a suitable frequency range. This is called AC coupling.

Applications include audio signal processing, amplifier inputs and outputs, communication interfaces, and high-speed signal paths. Choose the capacitance based on the target signal frequencies, the load impedance, and the allowable signal attenuation.

4.5 RC Timing and Delay

Because a capacitor takes time to charge and discharge, a resistor and a capacitor can form an RC circuit that provides a timing interval or delay. The time constant is given by this equation.

τ = R × C

An ideal RC circuit with a 1 kΩ resistor and a 1,000 µF capacitor has a time constant of 1 second.

τ = 1,000 × 0.001 = 1 s

After one time constant (1τ), an initially uncharged capacitor reaches about 63.2% of its final voltage. A capacitor discharging toward zero retains about 36.8% of its initial voltage after 1τ. For a 5 V example, that is about 3.16 V when charging from 0 V toward 5 V and 1.84 V when discharging from 5 V toward 0 V.

RC circuit capacitor charging and discharging time constant curve
Figure 4. Ideal RC charging and discharging curves for a 5 V example. At 1τ, the charging curve reaches 63.2% of its final voltage and the discharging curve retains 36.8% of its initial voltage.

RC delay circuits are common in chip reset, soft-start, and some signal-control circuits.

5. Capacitance Units

The farad (F) is the basic unit of capacitance. Most capacitors on a PCB have values far below 1 F, so datasheets and BOMs often use smaller units.

Symbol Unit Conversion
F Farad 1 F = 1,000 mF
mF Millifarad 1 mF = 1,000 µF
µF Microfarad 1 µF = 1,000 nF
nF Nanofarad 1 nF = 1,000 pF
pF Picofarad 1 pF = 10⁻¹² F

Common conversions include the following.

Check the units when designing a PCB, preparing a BOM, or inspecting components. A unit mix-up can result in an installed value that differs by a factor of hundreds or thousands.

6. How to Read Numeric Markings on PCB Capacitors

Some ceramic capacitors and other capacitor types use numbers or letters on the body to indicate capacitance. In the common three-digit format, the first two digits are the significant figures and the final digit is the power of ten. The result is in picofarads (pF).

For example, a capacitor marked 104 has this nominal value.

10 × 10⁴ pF = 100,000 pF = 100 nF = 0.1 µF

How to read capacitor marking codes 103 104 105 and 223
Figure 5. In a common three-digit capacitor code, the first two digits give the significant figures and the last digit gives the power of ten. The calculation yields a value in picofarads.

Common Capacitor Markings

Marking Calculation Capacitance
101 10 × 10¹ pF 100 pF
102 10 × 10² pF 1 nF
103 10 × 10³ pF 10 nF
104 10 × 10⁴ pF 100 nF
105 10 × 10⁵ pF 1 µF
106 10 × 10⁶ pF 10 µF
223 22 × 10³ pF 22 nF
224 22 × 10⁴ pF 220 nF
225 22 × 10⁵ pF 2.2 µF
472 47 × 10² pF 4.7 nF
473 47 × 10³ pF 47 nF
474 47 × 10⁴ pF 470 nF
475 47 × 10⁵ pF 4.7 µF

How Do Resistor and Capacitor Codes Differ?

Resistors and capacitors may carry the same three-digit code. The common resistor format gives a value in ohms (Ω), while the common capacitor format gives a value in picofarads (pF). See Resistors on a PCB for more resistor code examples.

Marking Resistance Capacitance
103 10 kΩ 10 nF
104 100 kΩ 100 nF
105 1 MΩ 1 µF
223 22 kΩ 22 nF
473 47 kΩ 47 nF

Many small MLCCs have no body marking, and some capacitors use manufacturer-specific codes. For PCB assembly, confirm the exact specifications against the BOM, manufacturer part number, packaging label, and datasheet.

7. Common Surface-Mount Capacitor Packages

Like chip resistors, MLCCs come in several standard package sizes.

Inch-style package Metric code Typical body dimensions (mm)
0201 0603 0.6 × 0.3
0402 1005 1.0 × 0.5
0603 1608 1.6 × 0.8
0805 2012 2.0 × 1.25
1206 3216 3.2 × 1.6
1210 3225 3.2 × 2.5
1812 4532 4.5 × 3.2
2220 5750 5.7 × 5.0

The table lists typical nominal body lengths and widths. Check the manufacturer’s datasheet for the exact thickness, tolerances, and recommended PCB pad dimensions.

Smaller packages save board space, but their dimensions and materials can limit capacitance, voltage rating, and performance in the circuit. When choosing a footprint, check the component’s body dimensions and thickness, the recommended land pattern, and the assembler’s SMT capabilities.

8. How to Choose a Capacitor for Your PCB

Start with the required capacitance, then check the part against the circuit’s actual operating conditions. When requesting electronic component sourcing, include the required specifications and the expected operating conditions.

8.1 Capacitance

Capacitance determines how much charge a capacitor stores at a given voltage.

The required value depends on the application. IC decoupling, power-supply filtering, and energy storage typically call for different capacitances.

8.2 Rated Voltage

Rated voltage is the voltage a capacitor is specified to withstand under stated operating conditions.

Choose a rating that covers the maximum operating voltage, taking into account voltage transients, ambient temperature, and any applicable derating requirements.

8.3 Capacitance Tolerance

Capacitance tolerance specifies the allowable deviation from the nominal value.

For precision filtering, timing, and signal processing, pay particular attention to capacitance tolerance and stability over temperature.

8.4 Equivalent Series Resistance (ESR)

A real capacitor has equivalent series resistance, or ESR.

ESR affects power loss, heating, ripple voltage, and power-supply filtering. The approximate power dissipated by ESR is

P = Iᵣₘₛ² × ESR

For switching power supplies and power electronics, evaluate ESR at the relevant operating frequency and use the RMS ripple current to estimate the resulting power loss.

8.5 Equivalent Series Inductance (ESL)

The internal electrodes, terminals, and connections of a capacitor introduce parasitic inductance, called equivalent series inductance, or ESL.

ESL affects high-frequency performance. For high-speed digital circuits and high-frequency decoupling, consider the package, the way the capacitor is connected, and the PCB layout.

8.6 DC Bias

Some multilayer ceramic capacitors (MLCCs) made with high-permittivity dielectrics can have considerably less effective capacitance than their nominal rating when a DC voltage is applied.

For example, two nominally 10 µF MLCCs with the same voltage rating and package can have different effective capacitances at the same operating voltage.

When designing a power circuit or evaluating an alternate part, check the manufacturer’s DC bias curves for the exact parts. Use the MLCC substitution checklist to compare effective capacitance and other requirements before approval.

8.7 Dielectric Material

Ceramic dielectric types differ in capacitance stability, temperature behavior, and response to DC bias.

Dielectric type Main characteristics Common applications
C0G / NP0 Stable capacitance and low losses Precision and RF circuits
X7R Relatively wide temperature range with specified limits on capacitance change over temperature Power-supply decoupling and industrial electronics
X5R High capacitance density Compact devices and power circuits
Y5V Capacitance can vary substantially with temperature and DC bias Applications with less demanding capacitance stability requirements

Confirm performance using the manufacturer’s data for the exact part and your operating conditions.

Capacitor Selection Parameters at a Glance

Parameter Common datasheet term What it affects
Capacitance Capacitance Energy storage and filtering
Rated voltage Rated voltage Voltage the capacitor can withstand
Capacitance tolerance Tolerance Circuit accuracy
Dielectric material Dielectric Capacitance stability
Equivalent series resistance ESR Power loss, heating, and ripple
Equivalent series inductance ESL High-frequency performance
DC bias behavior DC bias Effective capacitance at the operating voltage
Ripple current Ripple current Temperature rise and reliability
Operating temperature Operating temperature Suitability for the operating environment
Package dimensions Package size PCB layout and assembly

9. How PCB Layout Affects Capacitor Performance

Placement, trace length, and grounding affect how a capacitor performs in the circuit. Review these details alongside the capacitor specification before sending the board out for PCB manufacturing.

For example, when laying out an MCU decoupling capacitor:

Decoupling capacitor placement near MCU power pins on PCB layout
Figure 6. Conceptual PCB layout showing a decoupling capacitor near the MCU and a short loop through the supply and ground return. Individual MCU pins are unlabeled.

A long PCB trace between the capacitor and the IC can add parasitic inductance, reducing the effectiveness of high-frequency decoupling. Different placement and routing can therefore produce different electrical performance even when the same components are used. Use the decoupling capacitor placement checklist when reviewing a proposed placement change.

10. What to Check During PCB Assembly

Capacitor-related assembly risks include incorrect polarity, wrong parts, cracks, solder defects, and unapproved substitutions. Include the relevant checks when specifying PCB assembly services and agreeing with the supplier on PCBA quality control.

10.1 Incorrect Capacitor Polarity

Installing a polarized aluminum electrolytic or tantalum capacitor backwards can cause leakage, overheating, or component failure.

Confirm the installation orientation against the PCB silkscreen, assembly drawing, and component datasheet.

10.2 Incorrect Component Specification

Many surface-mount capacitors have no markings on their bodies. Parts with different capacitance values can therefore look alike.

Incoming quality control (IQC), verification of packaging labels, checks to prevent loading errors at SMT setup, and capacitance testing where needed all help reduce the risk of installing the wrong part.

10.3 Cracked Surface-Mount Capacitors

MLCCs can crack because of PCB flexing, depaneling, mechanical shock, or unsuitable thermal conditions.

Some internal cracks may escape routine visual inspection. They can later degrade insulation or cause electrical failure.

PCB layout, assembly process, depaneling method, and control of mechanical stress can all help reduce the risk.

10.4 Soldering Defects

Surface-mount capacitors can develop defects such as tombstoning, misalignment, or poor solder joints.

Appropriate pad geometry and control of solder paste printing, placement accuracy, and reflow can reduce these defects.

10.5 Unsuitable Component Substitutions

Capacitors with the same nominal capacitance, rated voltage, and package can differ in other ways that matter to the circuit.

Check the dielectric, temperature characteristics, capacitance tolerance, ESR, DC bias behavior, and any other parameters relevant to the application.

Before approving an alternate, evaluate it against the original design requirements and obtain the necessary engineering sign-off.

11. Frequently Asked Questions About PCB Capacitors

Why are capacitors on a PCB often connected to ground?

Many power-supply decoupling and filter capacitors connect between the supply and ground (GND) to provide a local path for transient current and help suppress supply noise. In other applications, the connection differs. For example, AC coupling capacitors are typically placed in series with the signal path.

Is higher capacitance always better?

Choose capacitance to suit the circuit. An excessive value can increase startup inrush current, prolong charging, or affect the stability of some voltage regulators.

How many microfarads is a capacitor marked 104?

104 means 100,000 pF, which equals 100 nF or 0.1 µF.

Can I replace a capacitor with one rated for a higher voltage?

A higher-voltage part may work if it meets the other critical specifications and application requirements. Check the package, dielectric, effective capacitance, ESR, and any other relevant parameters.

How can I tell a resistor from a capacitor on a PCB?

Check the reference designator and component appearance, then confirm the part against the schematic, bill of materials (BOM), and manufacturer’s part number. Resistor reference designators usually begin with R, and capacitor designators usually begin with C. For unmarked surface-mount parts, use the BOM and part data to establish the exact specification.

Summary

Capacitors are fundamental PCB components used for power-supply decoupling, filtering, energy storage, AC coupling, and timing.

From circuit design through assembly, understanding how capacitors work and checking value codes, polarity, voltage rating, and actual electrical behavior help improve design accuracy and reliability.

PCB layout, component verification, and SMT assembly controls help capacitors perform as intended. Correct selection and reliable assembly are particularly important in industrial controls, medical electronics, communications equipment, and power electronics.

WhatsApp