Skip to content
Omnikalc

Rectifier filter capacitor and ripple calculator

Estimate the peak voltage, ripple and average DC output of a half-wave, center-tap or bridge rectifier with a reservoir capacitor, and the capacitance needed for a target ripple.

Updated on
Your inputs
V

Value out of range

Mains frequency
Rectifier
V

Value out of range

A

Value out of range

µF

Value out of range

V

Value out of range

Results

Ripple voltage (peak to peak)

1.77 V

Reasonable ripple for a regulator input

Average DC voltage under load

14.68 V

Peak DC voltage (no load)
15.57 V
Minimum voltage in the ripple trough
13.80 V
Ripple frequency
120 Hz
Capacitance for the target ripple
8,333 µF
Suggested capacitor voltage rating (peak + 25%)
21 V

From AC to DC

A linear power supply turns the transformer’s AC output into DC with a rectifier and smooths it with a large reservoir capacitor. The capacitor charges to the peak of each half cycle and discharges into the load between peaks, leaving a sawtooth ripple on top of the DC.

The formulas

  • Peak voltage: V_peak = V_rms × √2 − diode drops (2 for a bridge, 1 for a center-tap or half-wave rectifier)
  • Ripple frequency: twice the mains frequency for full-wave rectifiers, equal to it for half-wave
  • Ripple (peak to peak): V_r ≈ I_load ÷ (f_ripple × C)
  • Average DC: about V_peak − V_r ÷ 2
  • Capacitor for a target ripple: C = I_load ÷ (f_ripple × V_r)

Example

A 12 V AC transformer feeding a bridge rectifier, with 0.7 V per diode, 4,700 µF and a 1 A load on 60 Hz mains:

Item Value
Peak voltage 15.57 V
Ripple frequency 120 Hz
Ripple 1.77 V
Average DC 14.7 V
Lowest voltage 13.8 V
Capacitor for 1 V ripple 8,333 µF

On 50 Hz mains the same circuit ripples by 2.1 V, so supplies designed for Europe need about 20% more capacitance.

Choosing parts

  • Regulator headroom: the lowest point of the ripple must stay above the regulator’s output plus its dropout voltage (about 2 V for a 7805 or LM317, less for an LDO).
  • Capacitor voltage: choose a rating at least 25% above the no-load peak, and remember that mains voltage can be 10% high.
  • Ripple current: the capacitor carries large charging pulses; check its ripple current rating, or it will overheat and age quickly.
  • Diodes: use parts rated for the repetitive peak current, often several times the DC load current.

Limits of the estimate

The formula assumes a constant load current and a short charging pulse. It slightly overestimates ripple at light loads and underestimates it when the transformer’s resistance is significant. For low-noise audio or precision circuits, follow the capacitor with a regulator or an RC or LC filter.

Safety

Mains-powered circuits can kill. Work on the low-voltage side of an enclosed, fused, certified transformer, and discharge large capacitors before touching them.

Frequently asked questions

How do I calculate ripple voltage?

For a full-wave rectifier, ripple ≈ load current ÷ (2 × mains frequency × capacitance). 1 A with 4,700 µF on 60 Hz gives about 1.8 V.

What size filter capacitor do I need?

C = I ÷ (f_ripple × allowed ripple). For 1 A and 1 V of ripple on 60 Hz mains with a bridge, about 8,300 µF; on 50 Hz, 10,000 µF.

Why is the DC voltage higher than the transformer's rating?

The capacitor charges to the peak of the AC wave, √2 times the RMS value, minus the diode drops. A 12 V AC winding gives about 15.6 V DC with no load.

What voltage rating should the capacitor have?

At least 25% above the no-load peak, allowing for mains voltage up to 10% high. For a 12 V AC transformer, a 25 V capacitor is a common choice.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.