Skip to main content

Capacitor charge & ripple calculator

Work with capacitors in power rails: charging time through a resistor, stored energy, and the ripple voltage on a rectified rail.

Charge / discharge

Time constant (τ)

τ = R × C

1000 ms

Time to 63.2 %

1τ = 63.2 % of the supply

1000 ms

Time to 95.0 %

3τ = 95.0 % of the supply

3 s

Time to 99.3 %

5τ = 99.3 % of the supply

5 s

Stored energy

E = ½ × C × V²

1.25 mJ

Rectifier output ripple

Ripple voltage (Vr)

Full-wave — I ÷ (2 × 50 × C)

50 V

Ripple as % of output

Vr ÷ V × 100

416.7 %

Required C for target ripple

C = I ÷ (2 × 50 × Vr)

10 mF

About the model

Charging a capacitor through a resistor follows the exponential V(t) = V·(1 − e^(−t/τ)) with τ = R·C: after one time constant the capacitor is at 63.2 %, after 3τ at 95 %, and after 5τ it is effectively full at 99.3 %. The stored energy E = ½·C·V² is the same expression used for the inrush peak when the capacitor first connects to the supply.

On a rectified rail the capacitor recharges at the ripple peaks and supplies the load between them, so the peak-to-peak ripple is Vr = I / (2·f·C) for a full-wave rectifier (charging twice per cycle) and I / (f·C) for half-wave. Halving the ripple needs double the capacitance — or double the ripple frequency, which is why full-wave and higher-mains designs use smaller bulk capacitors. The model ignores capacitor ESR and the real conduction angle, which add a few tens of percent on top.

Browse related parts:

Frequently asked questions

How long does a capacitor take to charge through a resistor?

Charging follows V(t) = V × (1 − e^(−t/τ)) with the time constant τ = R × C. After one time constant the capacitor reaches 63.2% of the supply, after 3τ about 95% and after 5τ it is effectively full at 99.3% — the calculator shows all three times directly.

How do I calculate the ripple voltage on a rectified rail?

For a full-wave rectifier the peak-to-peak ripple is Vr = I / (2 × f × C), and I / (f × C) for half-wave. With the defaults of 500 mA load, 100 µF and 50 Hz the ripple is 0.5 / (2 × 50 × 100e-6) = 50 V peak-to-peak, so choose the capacitance with the rail voltage in mind.

How much capacitance do I need for a target ripple voltage?

Rearrange the full-wave formula to C = I / (2 × f × Vr). Doubling the capacitance halves the ripple, and so does doubling the ripple frequency, which is why full-wave designs use smaller bulk capacitors than half-wave ones at the same ripple target.

Ideal capacitor and simple rectifier model — real rails add ESR, load transients and a regulator after the bulk capacitor. ICBOMS provides this tool for reference only.