EN

Ripple Voltage Calculator (Rectifier + Capacitor)

A rectifier alone doesn't produce a smooth DC voltage: without a capacitor, the output drops to zero every half-cycle. The smoothing capacitor holds the voltage up between two recharges, but discharges into the load in the meantime — hence a sawtooth-shaped ripple around the average value. A larger capacitor, or a lighter load current, both reduce the ripple.

Full-wave rectification (bridge rectifier) recharges the capacitor twice per mains cycle instead of once for half-wave: with the same components, the ripple is half as large.

The rectifier

Rectification type
Load, capacitor and mains

Optional: also gives Vmin and Vmax.

tVmaxVminVdc (average)Vout
Sawtooth ripple: fast recharge at each rectified half-cycle, slow discharge into the load between two recharges.

Where the formula Vpp = I/(f·C) comes from: the relation Q = C·V applied to discharge

Between recharge pulses the load eats the capacitor. Q = C·V, so the voltage sag is the charge lost over C. Charge lost is I·Δt if the load current is roughly constant. That is the sawtooth everyone draws.

ΔV = ΔQ / C = I · Δt / C

Half-wave: Δt ≈ 1/f, so Vpp ≈ I/(f·C). Full-wave: recharge every half-cycle, Δt ≈ 1/(2f), ripple halves. The approximation wants RC ≫ the mains period — otherwise the exponential is not a straight slope and the formula is optimistic.

Half-wave vs full-wave: why a bridge rectifier halves the ripple

One diode, one half-cycle: the cap sits alone for almost the whole period. A Graetz bridge (or a centre-tap pair) fills every hump, so the idle time is half. Same C, same I, half the Vpp — or the same Vpp with half the microfarads.

Vpp,half ≈ I / (f C)   ·   Vpp,full ≈ I / (2 f C)

That is why a “quality” linear supply is almost always a bridge plus a can, not a single diode leftover from a valve radio.

Choosing the smoothing capacitance for a target ripple

Turn the formula around. Full-wave, 50 Hz, 1 A, 1 V of ripple:

C = I / (2 f · Vpp) = 1 / (2 × 50 × 1) = 10,000 µF

Electrolytics are often −20 %/+80 % and they dry out. Pick the next standard size up, and do not design to the last millivolt of a 85 °C, 2,000 h part.

Secondary peak voltage, diode drop, and the actual DC voltage obtained

The RMS on the transformer is not the DC you get. Peak is √2 times RMS. A silicon bridge drops about 0.7 V × 2 ≈ 1.4 V while it conducts (more at high current). Schottky is less; two silicon drops is the conservative number.

Vc,max = Vrms · √2 − 2 Vd   ·   Vdc ≈ Vc,max − Vpp/2

Add winding resistance under load and the DC sags further. A “12 V” secondary is ~17 V peak off-load, maybe 14–15 V loaded after the bridge — then the ripple eats another half-Vpp.

Linear regulator after the capacitor: why it absorbs the residual ripple

A 78xx wants a couple of volts of headroom (dropout). In that headroom it looks like a stiff voltage source, and PSRR of 60–80 dB turns hundreds of millivolts of 100 Hz into microvolts — until the trough of the ripple kisses dropout. Then the regulator follows the sag and the ripple reappears, amplified by whatever comes next.

Size C so that Vc,max − Vpp stays above Vout + dropout, at the lowest mains and the highest load. That is the real capacitor calculation, not the “1 V ripple because the formula said so”.

Peak diode current at the moment the capacitor recharges

The cap only accepts charge near the sine peak, for a millisecond or two. Average I is 1 A; peak through the diodes is 3–5 A on a typical 50 Hz, well-smoothed supply. Conduction angle shrinks as C grows, so a bigger can is kinder to ripple and harsher on the diodes and the transformer.

Ipeak ≈ Iavg · (T / tconduction)

Check IFSM and the transformer's VA. Inrush at switch-on is another story (the cap is a short); an NTC or a series resistor is how people keep the switch and the bridge alive.

Capacitor voltage rating: margin above the peak voltage

Rate the can for the off-load peak, plus mains tolerance. 12 Vrms → 17 V peak; +10 % mains → ~19 V. A 25 V part is the usual next step, not a 16 V bargain. 20–30 % of headroom is not superstition — transformer off-load voltage is higher than the labelled RMS, every time.

Ripple and audible hum in an audio power supply

Full-wave ripple is 100 Hz in Europe (120 Hz on 60 Hz mains). A power amp with finite PSRR will sing it. High-sensitivity speakers make it obvious.

  • More C (watch inrush).
  • A regulator or an RC / CLC (π) cell after the reservoir.
  • Layout: star earth, or the 100 Hz returns through the input ground and you have built a hummer no capacitor will fix.

A second RC after the main can is an old, cheap, effective filter for preamp rails.

ESR: the extra I×ESR on top of the sawtooth

The textbook Vpp is the capacitive sag. The cap also has ESR. Each recharge pulse drops Ipeak·ESR as a spike on the waveform. A tired electrolytic can meet the microfarad formula and still hum, because ESR rose with age. Parallel a small film cap if you care about the spike; replace the can if ESR is the story.

50 Hz and 60 Hz: the same C is not the same ripple

f in the formula is the ripple frequency. 50 Hz mains, full-wave → 100 Hz. 60 Hz → 120 Hz, so the same C gives 17 % less Vpp. A supply designed in North America looks a shade worse on European mains; size C for 50 Hz if the product has to travel.

Inrush, fuses and the first half-cycle

At the instant of connection the capacitor is empty. The first peak can be tens of amps through a cold NTC, a switch, and the bridge. Slow-blow fuses, a proper inrush limiter, and a transformer that can take it are part of “choosing C”, even though they never appear in I/(fC).

Vpp = I/(f·C) is a discharge estimate. It ignores ESR, transformer sag, and the regulator's dropout. A rail that looks fine on the formula can still drop out at the ripple trough on a low mains.

Related calculators