Capacitor Charge Calculator

Calculate capacitor charge time, energy stored, and time constant.

τ = R × C | E = ½ × C × V² | V(t) = V × (1 - e^(-t/τ))

How to use:

Enter capacitance (in microfarads), voltage, and resistance to calculate charge time and energy. The charge time is calculated as 5 time constants (τ = R × C), which represents approximately 99.3% charge.

Published: December 2025 | Author: TriVolt Editorial Team | Last Updated: February 2026

Understanding Capacitor Charging

Capacitors are fundamental components in electronics that store electrical energy in an electric field. Understanding how capacitors charge and discharge is crucial for designing timing circuits, filters, power supplies, and many other electronic applications. The charging process follows an exponential curve, governed by the time constant (τ) of the RC circuit.

When a capacitor is connected to a voltage source through a resistor, it doesn't charge instantly. Instead, it charges gradually, with the rate determined by the product of resistance and capacitance. This behavior is essential for creating delays, smoothing voltage fluctuations, and filtering signals in electronic circuits.

The Time Constant (τ)

The time constant, denoted by the Greek letter tau (τ), is the fundamental parameter that describes capacitor charging behavior:

τ = R × C

Where: τ = Time Constant (seconds), R = Resistance (ohms), C = Capacitance (farads)

The time constant represents the time it takes for a capacitor to charge to approximately 63.2% of the applied voltage, or discharge to 36.8% of its initial voltage. After one time constant, the capacitor has charged to about 63% of the final voltage. After five time constants (5τ), the capacitor is considered fully charged at approximately 99.3% of the source voltage.

Charging Formula

The voltage across a charging capacitor at any time t is given by:

V(t) = V₀ × (1 - e^(-t/τ))

Where: V(t) = Voltage at time t, V₀ = Source voltage, e = Euler's number (~2.718), t = Time, τ = Time constant

This exponential formula shows that the capacitor voltage approaches the source voltage asymptotically, never quite reaching it in theory, but reaching 99.3% after 5 time constants in practice.

Energy Stored in a Capacitor

The energy stored in a charged capacitor is calculated using:

E = ½ × C × V²

Where: E = Energy (joules), C = Capacitance (farads), V = Voltage (volts)

This energy is stored in the electric field between the capacitor plates. When the capacitor discharges, this energy is released. The energy stored is proportional to the square of the voltage, meaning doubling the voltage quadruples the stored energy.

Practical Applications

Timing Circuits

RC circuits are commonly used to create time delays in electronic circuits. By selecting appropriate resistor and capacitor values, engineers can create delays ranging from microseconds to hours. These circuits are used in oscillators, timers, and sequential logic circuits.

Power Supply Filtering

Capacitors are essential in power supply circuits for smoothing voltage ripples. Large capacitors store energy during voltage peaks and release it during voltage dips, creating a more stable DC output. The time constant determines how effectively the capacitor filters out AC components.

Signal Filtering

RC circuits act as filters, allowing certain frequency components to pass while blocking others. Low-pass filters use the charging behavior to attenuate high-frequency signals, while high-pass filters use the discharge behavior. The cutoff frequency is inversely related to the time constant.

Coupling and Decoupling

Capacitors are used to couple AC signals between circuit stages while blocking DC components. They also serve as decoupling capacitors, providing local energy storage to prevent voltage fluctuations from affecting sensitive circuits.

Real-World Examples

Example 1: Flash Circuit Timing

A camera flash circuit uses a 1000μF capacitor charged to 300V through a 10kΩ resistor:

τ = R × C = 10,000Ω × 0.001F = 10 seconds

Charge time (5τ) = 5 × 10 = 50 seconds

Energy stored = ½ × 0.001F × (300V)² = 45 joules

Example 2: LED Blink Circuit

A simple LED blink circuit uses a 10μF capacitor with a 100kΩ resistor:

τ = 100,000Ω × 0.00001F = 1 second

The LED will blink approximately every 2 seconds (charge + discharge)

Example 3: Power Supply Filtering

A 12V power supply uses a 1000μF capacitor to filter 120Hz ripple:

For effective filtering, the time constant should be much longer than the ripple period

Ripple period = 1/120Hz = 8.33ms

With a 1Ω equivalent resistance: τ = 1Ω × 0.001F = 1ms (needs larger capacitor)

Important Considerations

Capacitor Types

Different capacitor types have different characteristics. Electrolytic capacitors have high capacitance but limited voltage ratings and polarity requirements. Ceramic capacitors are non-polarized but have lower capacitance. Film capacitors offer good stability and accuracy.

Voltage Ratings

Always ensure the capacitor's voltage rating exceeds the maximum voltage it will experience. Exceeding the voltage rating can cause capacitor failure, potentially with dangerous consequences.

Leakage Current

Real capacitors have leakage current that slowly discharges them even when disconnected. This is particularly important for timing circuits where long delays are required.

Temperature Effects

Capacitance can vary with temperature. For precision applications, use capacitors with low temperature coefficients or account for temperature variations in calculations.

Tips for Using This Calculator

  • Enter capacitance in microfarads (μF) - the calculator converts to farads internally
  • Charge time is calculated as 5τ, representing approximately 99.3% charge
  • Energy is displayed in millijoules (mJ) for readability
  • For timing applications, use the time constant (τ) value
  • Remember that actual charge time may vary due to capacitor tolerance and leakage
  • Always verify critical calculations independently, especially for safety-critical applications

Worked Examples

Example 1 — Power-rail decoupling charge-up. A 100 μF electrolytic at a 12 V rail with 1 Ω effective source resistance. τ = RC = 1 × 100×10⁻⁶ = 100 μs. Full charge (5τ) = 500 μs. Peak inrush current = V/R = 12 A at t = 0, decaying exponentially. Energy stored at 12 V: E = ½CV² = ½ × 100×10⁻⁶ × 144 = 7.2 mJ.

Example 2 — Camera flash capacitor. 300 V rated capacitor, 470 μF, charged through 10 kΩ from a DC-DC boost output. τ = 4.7 s, full charge 23.5 s — matches typical "flash ready" delay on compact cameras. Energy at 300 V: E = ½ × 470×10⁻⁶ × 90,000 = 21.15 J — enough for a bright xenon flash discharge.

Example 3 — Relay coil snubber. A 12 V DC relay coil (200 Ω, 100 mH) is de-energized. A 0.1 μF capacitor in series with 100 Ω across the coil absorbs the inductor's flyback energy. τ_discharge = RC = 100 × 0.1×10⁻⁶ = 10 μs — fast enough to prevent contact arc-back.

Example 4 — 555 timer RC delay. A 10 μF capacitor charging through 100 kΩ to a 5 V rail: τ = 1.0 s. Time to reach 2/3 V_cc (the 555's threshold) = 1.1 s (calculated from t = τ × ln(3) = 1.098 s). Matches the standard 555 astable formula T_charge = 0.693 × (R1+R2) × C for the 1/3–2/3 swing.

Example 5 — Discharge through human body. A 100 μF capacitor at 400 V (8 J energy) discharging through a 1 kΩ body resistance. τ = 0.1 s, peak current 400 mA — above ventricular-fibrillation threshold. Always discharge high-voltage capacitors through a bleed resistor before handling.

Common Pitfalls

Confusing τ with full charge time. One time constant = 63.2%, not complete. Five τ gives 99.3%, commonly called "fully charged" for engineering purposes. Mathematically, the exponential never reaches 100%.

Forgetting to include source resistance. Even when "direct connection" is assumed, real sources have internal resistance (battery ESR, PCB trace, wire). A supposedly infinite di/dt at t=0 is limited by source impedance. Omitting it predicts absurd peak currents.

Using DC ratings for AC service. Capacitor voltage rating is typically DC. For AC, peak voltage (V_pk = √2 × V_rms for sinusoidal) plus any DC bias must stay under rated V. An electrolytic rated 35 V DC cannot safely run at 35 V RMS AC (peak 49.5 V).

Ignoring ESR and inrush current limits. Real capacitors have series resistance. Large electrolytics have ESR in mΩ; ceramics in μΩ; film in mΩ–Ω. The peak inrush current V/R may exceed component ratings (capacitor I_surge or switch/fuse rating). Pre-charge circuits or NTC inrush limiters solve this.

Storing charged capacitors. High-voltage capacitors retain charge for hours or days after disconnection. CRT flybacks, camera flashes, photoflash circuits, microwave ovens, and AC line-filter caps have killed technicians who assumed "it's unplugged, it's safe." Always short across terminals through a resistor before touching.

Frequently Asked Questions

Why does the capacitor "remember" voltage after short-circuiting? Dielectric absorption — a fraction of the charge is stored in slow polarization states of the dielectric material that don't dump through a short-circuit. After removing the short, voltage recovers to 1–10% of original. Worst in aluminum electrolytics, best in polypropylene film.

What's ESR and why does it matter? Equivalent Series Resistance — the real loss component in series with an ideal capacitor. ESR causes heating under AC ripple current, self-resonance at high frequencies, and efficiency loss in switching supplies. Low-ESR caps (tantalum, ceramic, polymer) are essential for high-ripple applications.

What's the 5τ "rule"? At t = 5τ, charge/voltage has reached 1 − e⁻⁵ = 99.326% of final value. Practically considered "fully charged/discharged" for most applications. Precision timing or analog applications may require 7τ (99.91%) or 10τ (99.995%).

How does a capacitor discharge in a pure LC circuit? With no resistance, energy oscillates between capacitor electric field and inductor magnetic field at f = 1/(2π√LC), theoretically forever. In real circuits, small resistance causes damped oscillation. This is the underdamped resonance used in RF oscillators and tank circuits.

Why are capacitors polarized? Electrolytic capacitors use an aluminum-oxide dielectric grown electrolytically. Reverse voltage dissolves the oxide, causing gas generation, pressure buildup, and (if reverse voltage persists) venting or explosion. Film and ceramic capacitors are non-polar and can handle AC directly.

Related Calculators

Capacitor behavior connects to filtering, timing, and power delivery:

Disclaimer

This calculator is provided for educational and informational purposes only. While we strive for accuracy, users should verify all calculations independently, especially for critical applications. We are not responsible for any errors, omissions, or damages arising from the use of this calculator.


Also in Engineering