Capacitor sizing requires two distinct calculations: determining the exact microfarad (µF) or picofarad (pF) value needed for your circuit's electrical function, and selecting the correct physical dielectric type to handle the voltage, ripple current, and temperature. For a basic power supply filter, size the capacitance using C = I / (2 × f × V_ripple). For 555 timer or RC circuits, use C = t / (1.1 × R). Getting the math right is only half the battle; putting a high-ESR electrolytic where a low-ESR ceramic belongs will fry your board regardless of the calculated value.
The Core Math: Sizing Capacitors by Application
The formula for capacitor sizing changes entirely depending on what the component is actually doing in the circuit. Here are the three most common scenarios you will face on the bench.
1. Power Supply Bulk Filtering
To smooth the ripple on a rectified DC power supply, you need to hold up the voltage between the AC waveform peaks. The sizing formula is:
C = I_load / (2 × f × ΔV)
- I_load: Maximum current draw in Amps.
- f: AC line frequency (60Hz in North America, 50Hz in Europe/UK). Multiply by 2 for full-wave rectification (120Hz or 100Hz ripple frequency).
- ΔV: Acceptable peak-to-peak ripple voltage.
Worked Example: You are building a 12V linear supply for a 1.5A audio amplifier. You can tolerate 0.5V of ripple. Using a 60Hz full-wave bridge: C = 1.5 / (120 × 0.5) = 0.025 Farads, or 25,000µF. You would select the next standard value up, which is a 33,000µF aluminum electrolytic capacitor.
2. High-Frequency Decoupling (Bypass)
Decoupling capacitors supply instantaneous current to ICs during logic switching. Here, capacitor sizing is less about raw µF and more about Self-Resonant Frequency (SRF). A standard 100nF (0.1µF) MLCC ceramic handles most logic noise up to ~50MHz. However, modern ESP32 Wi-Fi modules draw massive transient current bursts at 2.4GHz. To size decoupling for RF, you must parallel multiple values (e.g., 100nF, 10nF, and 100pF) to ensure low impedance across the entire frequency spectrum.
3. AC Motor Start and Run
Single-phase AC motors require capacitors to create a phase shift for starting torque and continuous operation. While exact sizing requires the motor manufacturer's datasheet, the field-expedient rules of thumb for 120V/60Hz systems are:
- Start Capacitors: 50µF to 80µF per Horsepower (HP). These are only in the circuit for a few seconds.
- Run Capacitors: 10µF to 15µF per HP. These remain energized continuously and must be oil-filled film types, never electrolytic.
Dielectric Selection Matrix: Which Type for Which Job
Choosing the wrong dielectric is the most common mistake in passive component selection. A 10µF ceramic and a 10µF electrolytic will behave completely differently under load. According to Analog Devices' capacitor selection guidelines, you must match the dielectric to the circuit's thermal and electrical stress profile.
| Capacitor Type | Construction / Dielectric | Typical Tolerance | Tempco / Stability | Typical Use Case |
|---|---|---|---|---|
| MLCC (Ceramic C0G/NP0) | Multi-layer ceramic | ±1% to ±5% | 0 ±30 ppm/°C (Ultra-stable) | RF filters, precision timing, high-Q resonant circuits. |
| MLCC (Ceramic X7R/X5R) | Multi-layer ceramic | ±10% to ±20% | ±15% over temp range. High DC bias capacitance drop. | General decoupling, bypass, bulk storage in compact SMD designs. |
| Aluminum Electrolytic | Etched aluminum foil with liquid electrolyte | -10% to +50% | Poor. High leakage, dries out over time (10-20 yr life). | Power supply bulk filtering, audio coupling, high µF/low cost needs. |
| Film (Polypropylene/PET) | Metallized plastic film | ±1% to ±10% | Excellent. Self-healing, very low ESR and inductance. | Motor run, AC line filtering (X2/Y2), high-current switching snubbers. |
| Tantalum | Sintered tantalum sponge with manganese dioxide | ±10% to ±20% | Good. Stable over temperature, but sensitive to voltage spikes. | Space-constrained bulk filtering, medical/military where size matters. |
Decoding the Markings: How to Read Capacitor Codes
Through-hole and SMD ceramic capacitors are often too small to print their full specifications. Instead, they use a standardized 3-digit code followed by a letter. All About Circuits provides a comprehensive breakdown of these legacy marking systems.
| Marking Example | Meaning Breakdown | Final Value |
|---|---|---|
| 104K | 10 × 10^4 pF. 'K' = ±10% tolerance. | 100,000 pF (100nF or 0.1µF) |
| 472M | 47 × 10^2 pF. 'M' = ±20% tolerance. | 4,700 pF (4.7nF) |
| 101J | 10 × 10^1 pF. 'J' = ±5% tolerance. | 100 pF |
Voltage Codes: Many SMD and small radial ceramics include a letter-number voltage prefix. 1H = 50V, 1E = 25V, 1A = 10V, 0J = 6.3V. A marking of 1H104K means a 100nF, ±10%, 50V capacitor.
Electrolytic Stripe: On radial aluminum electrolytics, the painted stripe with minus signs (-) indicates the negative lead. This is the opposite of diodes, where the stripe indicates the cathode. Reversing an electrolytic capacitor will cause it to vent violently.
Failure Modes and Visual Symptoms
Capacitors fail in predictable ways based on their chemistry. Recognizing these symptoms on a teardown or repair bench saves hours of troubleshooting.
- Aluminum Electrolytic (Bulging/Venting): The liquid electrolyte boils due to excessive ripple current or ambient heat, generating gas. The rubber bung at the bottom pushes out, or the scored 'X' vent on the top pops open. Visual symptom: Domed top, crusty brown residue on the PCB, or a rattling sound when shaken.
- MLCC Ceramic (Flex Cracking): Ceramics are brittle. If the PCB flexes during assembly or use (common in large boards with heavy transformers), the solder joint acts as a lever, cracking the ceramic internally. Visual symptom: Often invisible to the naked eye. Requires X-ray or microscopic inspection. Electrically, it manifests as a dead short that causes localized board heating.
- Film Capacitors (Metallization Vaporization): Film caps are 'self-healing'. When a microscopic dielectric flaw arcs, the surrounding metallization vaporizes, isolating the fault. Visual symptom: The capacitor physically shrinks or the casing melts if subjected to sustained overvoltage beyond its self-healing capacity.
Tantalum capacitors fail as a dead short and are highly exothermic. If subjected to reverse polarity, voltage spikes exceeding 20% of their rating, or high inrush currents without adequate series resistance, they will undergo thermal runaway and catch fire, ejecting burning manganese dioxide. Never substitute a tantalum for an electrolytic on a raw, unregulated DC bus. Always derate tantalum voltage by at least 50% (e.g., use a 16V part on a 5V rail).
Safe Substitution Rules When the Exact Part is Missing
When your parts bin lacks the exact BOM specification, use these engineering rules to substitute safely without compromising circuit reliability.
- Voltage Rating: You can almost always substitute a higher voltage rating (e.g., using a 50V cap instead of a 25V cap). Exception: In high-frequency switching regulators, higher voltage electrolytics often have significantly higher Equivalent Series Resistance (ESR) and larger physical inductance, which can destabilize the control loop. Check the ESR spec, not just the voltage.
- Capacitance Value: For bulk power filtering, going up in µF is generally safe, provided your rectifier diodes can handle the increased inrush current at turn-on. For timing circuits (oscillators, filters, 555 timers), you must match the value exactly, or the frequency/cutoff will drift.
- Temperature Coefficient (Tempco): Never substitute an X7R ceramic for a C0G/NP0 in precision analog filters or audio signal paths. X7R exhibits severe piezoelectric microphonics (it acts as a microphone) and loses up to 50% of its capacitance when DC bias voltage is applied. C0G remains linear.
- Motor Run vs. Start: Never substitute a 'Start' capacitor (usually black plastic, high µF) for a 'Run' capacitor (usually silver metal, lower µF). Start capacitors are dry-film or electrolytic designed for a 3-second duty cycle; leaving them energized will cause them to explode.
Frequently Asked Questions
How do I calculate capacitor sizing for a DC power supply filter?
Use the formula C = I / (2 × f × V_ripple), where I is the load current in Amps, f is the AC line frequency (60Hz or 50Hz), and V_ripple is your maximum acceptable voltage drop between peaks. Remember to multiply the frequency by 2 if you are using a full-wave bridge rectifier, as the capacitor charges twice per AC cycle. Always round up to the nearest standard E12 value and add a 20% safety margin for component aging.
Can I use a higher voltage capacitor than the original specification?
Yes, using a higher voltage rating is generally safe and often improves reliability, as the dielectric is under less electrical stress. However, be aware of the physical trade-offs: higher voltage capacitors are physically larger and, in the case of aluminum electrolytics, often have higher Equivalent Series Resistance (ESR). In high-frequency switch-mode power supplies, a higher ESR can cause excess heat and output ripple, so verify the ESR and ripple current ratings, not just the voltage.
Why does my ceramic capacitor measure lower capacitance than its marking?
If you are measuring an X5R or X7R MLCC ceramic capacitor, you are likely experiencing the DC Bias effect. Class II ceramics (X7R/X5R) use ferroelectric dielectrics that lose a significant portion of their capacitance when a DC voltage is applied. A 10µF, 6.3V X5R capacitor might only provide 3µF of actual capacitance when operated at 5V. To get true 10µF at 5V, you must either select a physically larger package, choose a higher voltage rating (like 16V or 25V), or use multiple smaller capacitors in parallel.
What is the difference between motor start and motor run capacitor sizing?
Motor start capacitors are sized to provide a massive phase-shifted current burst (typically 100µF to 800µF) for just a few seconds to get the rotor spinning. They are switched out of the circuit by a centrifugal switch once the motor reaches ~75% speed. Motor run capacitors are sized much smaller (typically 2µF to 15µF) to optimize the magnetic field and power factor continuously while the motor operates. They must handle continuous AC current without overheating, which is why run capacitors use oil-impregnated polypropylene film, while start capacitors use cheaper, high-loss electrolytic or dry-film constructions.






