Capacitor Size Calculator

Pri Geens

Pri Geens

DC Power Supply Filter Capacitor Size Calculator

Filter Capacitance Evaluation

Minimum Required Capacitance (C_min) 0 µF
For a full-wave bridge rectifier, smoothing filter capacitance is calculated using the ripple formula: C = I_load / (2 · f · V_ripple). In practical circuit design, engineers typically select a standard commercial capacitor value that is 20% to 50% higher than the theoretical minimum to account for component tolerance, temperature drift, and capacitor aging.

What Is a Capacitor Size Calculator?

A capacitor size calculator determines the estimated capacitance needed to reduce voltage ripple in a rectified DC power supply. It uses the load current, AC line frequency, and allowable peak-to-peak ripple voltage to calculate the theoretical minimum capacitance required for a full-wave rectifier filter circuit.

When an AC voltage passes through a rectifier, the resulting DC voltage contains periodic fluctuations. These fluctuations are called voltage ripple. A filter capacitor stores electrical energy and releases it between charging peaks, helping maintain a smoother output voltage.

The required capacitance depends on how much current the connected load draws, how frequently the capacitor recharges, and how much voltage variation the circuit can tolerate.

In addition to the theoretical minimum capacitance, this calculator displays a value that is 30% larger. This provides a starting point for considering component tolerances and other practical design limitations.

How the Capacitor Size Formula Works

The calculator uses the capacitor discharge relationship to estimate the smoothing capacitance required in a full-wave bridge rectifier circuit.

Cmin⁡=Iload2fVrippleC_{\min}=\frac{I_{\text{load}}}{2fV_{\text{ripple}}}

Where:

  • Cmin: Minimum required capacitance in farads (F).
  • Iload: Continuous DC load current in amperes (A).
  • f: Selected AC line frequency in hertz (Hz).
  • Vripple: Maximum allowable peak-to-peak ripple voltage in volts (V).

The factor of 2 represents full-wave rectification. When the original AC supply frequency is 60 Hz, both halves of the AC cycle contribute to charging the filter capacitor, producing a ripple frequency of 120 Hz.

Ripple Frequency Formula

fripple=2ff_{\text{ripple}}=2f

Here, fripple is the discharge or ripple frequency used in the calculation. The calculator always doubles the selected frequency.

Important: Although the frequency menu includes 100 Hz and 120 Hz options labeled as full-wave rectified frequencies, the calculator also doubles these values. Selecting 100 Hz produces a calculated ripple frequency of 200 Hz, while selecting 120 Hz produces 240 Hz. For a conventional full-wave rectifier supplied by 60 Hz AC, select 60 Hz rather than 120 Hz.

Recommended Capacitor Value Formula

The calculator increases the minimum capacitance by a fixed 30% to determine its recommended component value.

Crecommended=Cmin⁡×1.30C_{\text{recommended}}=C_{\min}\times1.30

This calculation provides a capacitance margin. It does not automatically select a commercially available capacitor or verify whether a particular component is suitable for the circuit.

Ripple Voltage Percentage Formula

When a positive nominal DC rail voltage is entered, the calculator determines the target ripple voltage as a percentage of that DC voltage.

Ripple Percentage=VrippleVDC×100\text{Ripple Percentage}=\frac{V_{\text{ripple}}}{V_{\text{DC}}}\times100

In this formula, VDC represents the nominal DC output voltage. The result is displayed to two decimal places. This percentage describes peak-to-peak ripple relative to the DC rail voltage.

Current, Voltage, and Capacitance Unit Conversions

The calculator converts current to amperes and ripple voltage to volts before applying the capacitance formula.

IA=ImA1000I_{\text{A}}=\frac{I_{\text{mA}}}{1000}
VV=VmV1000V_{\text{V}}=\frac{V_{\text{mV}}}{1000}

Capacitance is calculated internally in farads. The following relationships explain how the result converts into smaller capacitance units:

1F=1000mF=106μF=109nF1\,\mathrm{F}=1000\,\mathrm{mF}=10^{6}\,\mu\mathrm{F}=10^{9}\,\mathrm{nF}

Worked Example: Calculating a Filter Capacitor for a 12V Power Supply

Consider a full-wave rectifier power supply using the calculator’s default input values:

InputValue
Load Current500 mA
AC Line Frequency60 Hz
Target Ripple Voltage1.0 V
Nominal DC Rail Voltage12 V

First, convert the load current from milliamperes to amperes:

Iload=5001000=0.5AI_{\text{load}}=\frac{500}{1000}=0.5\,\mathrm{A}

Next, calculate the ripple frequency:

fripple=2×60=120Hzf_{\text{ripple}}=2\times60=120\,\mathrm{Hz}

Calculate the minimum required capacitance:

Cmin⁡=0.52×60×1=0.00416667FC_{\min}=\frac{0.5}{2\times60\times1}=0.00416667\,\mathrm{F}

Convert the result to microfarads:

Cmin⁡≈4166.67μFC_{\min}\approx4166.67\,\mu\mathrm{F}

Apply the 30% capacitance margin using the unrounded minimum value:

Crecommended≈5416.67μFC_{\text{recommended}}\approx5416.67\,\mu\mathrm{F}

Finally, calculate the ripple voltage percentage:

Ripple Percentage=112×100≈8.33%\text{Ripple Percentage}=\frac{1}{12}\times100\approx8.33\%

The calculator displays the following results:

ResultCalculated Value
Minimum Required Capacitance4.167 mF
Recommended Component Value (+30% Margin)5.417 mF
Ripple Voltage Percentage8.33% of DC Rail
Discharge / Ripple Frequency120 Hz (Full-Wave)
Design AssessmentLow Ripple / Excellent Smoothing Quality

Notice that the calculator displays the capacitance in millifarads rather than microfarads because both calculated values exceed 1 mF. These units represent the same physical quantity at different scales.

How to Use the Capacitor Size Calculator

Follow these steps to estimate the filter capacitance for your DC power supply:

  1. Enter the load current: Provide the continuous DC current drawn by the connected load.
  2. Select the current unit: Choose milliamperes (mA) or amperes (A).
  3. Select the AC line frequency: Choose the original AC supply frequency. For a conventional US 60 Hz full-wave rectifier, select 60 Hz.
  4. Enter the target ripple voltage: Specify the maximum allowable peak-to-peak voltage fluctuation.
  5. Select the ripple unit: Choose volts (V) or millivolts (mV).
  6. Enter the nominal DC rail voltage: Optionally provide the intended DC output voltage in volts to calculate the ripple percentage.
  7. Click Calculate Capacitor Size: Review the minimum capacitance, recommended value, ripple frequency, and design assessment.

The minimum required capacitance represents the theoretical estimate needed to meet your selected ripple target. The recommended value includes the additional 30% margin.

The load current and ripple voltage must both be positive numbers greater than zero. Empty, zero, or negative values in these fields produce an error message instead of a calculated capacitance.

Click Reset to restore the default settings of 500 mA, 60 Hz, 1.0 V ripple, and a 12 V DC rail. Resetting also hides the previous results.

Understanding Your Filter Capacitor Calculation Results

Choosing a filter capacitor involves more than calculating its capacitance. Understanding the calculator’s output helps you distinguish between the theoretical requirement and the practical considerations of component selection.

Minimum Required Capacitance vs. Recommended Capacitance

The minimum required capacitance is calculated directly from the load current, frequency, and target ripple voltage. It does not include an additional design margin.

The recommended component value is 30% higher than the theoretical minimum. This fixed allowance provides additional capacitance, but it does not guarantee that a real capacitor will satisfy every electrical or operating requirement.

Understanding Capacitance Units and Result Formatting

The calculator automatically chooses a display unit according to the calculated capacitance. Both the minimum and recommended capacitance values follow these formatting rules:

Calculated CapacitanceDisplay UnitDecimal Places
1 F or greaterFarads (F)3
1 mF to below 1 FMillifarads (mF)3
1 µF to below 1 mFMicrofarads (µF)2
Below 1 µFNanofarads (nF)2

The unit is selected using the calculated capacitance before display rounding. A rounded value near a unit boundary may therefore appear as 1000 in the smaller unit.

Ripple Voltage and Design Assessment

The calculator assigns a color-coded design assessment by comparing the target ripple voltage with the nominal DC rail voltage.

Ripple PercentageDesign AssessmentColor
10% or lessLow Ripple / Excellent Smoothing QualityPurple
Above 10% to 25%Acceptable Ripple for General Linear SuppliesGreen
Above 25%High Ripple / Risk of Voltage Sag & HumOrange

These are predefined calculator classifications, not universal power supply design standards. Some electronic circuits require much lower ripple than these categories suggest.

If the nominal DC rail voltage is blank, zero, or negative, the calculator does not display a ripple percentage. However, it still provides a design assessment using an internal reference voltage of 10 V. Under this fallback, ripple voltages up to 1 V receive the low-ripple classification, values above 1 V through 2.5 V receive the acceptable classification, and higher values receive the high-ripple classification.

How Frequency Selection Affects the Result

The frequency menu contains four options. Because the calculator applies a fixed full-wave frequency multiplier of 2, each selection produces the following calculated ripple frequency:

Selected FrequencyCalculated Ripple FrequencyMinimum Capacitance at 500 mA and 1 V Ripple
50 Hz100 Hz5.000 mF
60 Hz120 Hz4.167 mF
100 Hz200 Hz2.500 mF
120 Hz240 Hz2.083 mF

For standard 50 Hz or 60 Hz AC supplies feeding a full-wave rectifier, use the original AC line frequency. Selecting an already doubled ripple frequency would result in a capacitance estimate that is half the value obtained with the original line frequency.

Factors That Affect the Required Filter Capacitance

  • Load current: A higher current increases the required capacitance because the capacitor discharges more quickly between charging peaks.
  • Supply frequency: A higher frequency reduces the estimated capacitance because the interval between charging peaks becomes shorter.
  • Allowable ripple voltage: A smaller ripple target requires a larger capacitance.
  • Component tolerance: The actual capacitance of a commercial capacitor can differ from its labeled value.
  • Temperature and aging: Operating conditions and component aging can affect capacitor performance over time.

The calculator directly accounts for load current, frequency, and target ripple voltage. It applies a fixed capacitance margin rather than calculating separate adjustments for component tolerance, temperature, or aging.

Practical Limitations and Capacitor Selection

The calculated capacitance is a theoretical estimate based on a simplified full-wave rectifier model and a continuous load current. Actual ripple may differ because of capacitor resistance, rectifier behavior, charging conditions, and changes in load current.

When evaluating a commercial capacitor, consider its voltage rating, ripple current rating, equivalent series resistance (ESR), temperature rating, and capacitance tolerance. The calculator does not determine these specifications or check component availability.

Capacitance alone is not enough to establish electrical safety. Circuits connected to AC mains can contain dangerous voltages, and capacitors may retain electrical charge after power is disconnected. Use appropriate professional guidance when working with mains-powered circuits.

Frequently Asked Questions

How do I calculate the capacitor size for a DC power supply?

For a full-wave rectifier power supply, divide the DC load current in amperes by twice the AC line frequency multiplied by the allowable ripple voltage in volts. The result is the estimated minimum capacitance in farads. The calculator also provides a value with an additional 30% capacitance margin.

What size filter capacitor do I need for a 12V power supply?

The required capacitance depends on load current, frequency, and allowable ripple rather than the 12 V output voltage alone. For example, a 500 mA load with a 60 Hz AC supply and 1 V allowable ripple requires approximately 4166.67 µF of theoretical minimum capacitance under the calculator’s model.

Does a larger capacitor reduce ripple voltage?

Yes. Under the simplified filter capacitor model, increasing capacitance reduces the estimated voltage ripple when load current and frequency remain unchanged. However, larger capacitors can also increase charging surge current and affect other circuit components. Capacitance should be evaluated as part of the overall power supply design.

Should I enter 60 Hz or 120 Hz for a full-wave rectifier?

Enter 60 Hz when the original AC supply operates at 60 Hz. The calculator automatically doubles the selected frequency to obtain a 120 Hz ripple frequency. Selecting 120 Hz instead would cause the calculator to use 240 Hz and underestimate the capacitance required for that conventional rectifier configuration.

Can I use this calculator for a half-wave rectifier?

This calculator is designed for full-wave rectification and always applies a frequency multiplier of 2. A conventional half-wave rectifier has one charging peak per AC cycle rather than two. Therefore, the calculator’s implemented formula is not directly suitable for estimating half-wave rectifier filter capacitance.

Why does the calculator add a 30% capacitance margin?

The calculator includes a fixed 30% margin to provide a value above the theoretical minimum. This additional capacitance offers some allowance for practical component variation. However, the margin is not based on a specific capacitor’s tolerance or operating conditions and does not replace a complete engineering assessment.

Does the calculator determine the required capacitor voltage rating?

No. The calculator estimates capacitance, not the required voltage rating. The nominal DC rail voltage is used to calculate the ripple percentage and determine the smoothing assessment. Capacitor voltage ratings must be evaluated separately using the maximum voltage the component may experience, including relevant operating conditions and voltage variations.