Capacitor Safety Discharge Calculator

Compute discharge time, residual voltage, RC time constant, stored energy, and recommended bleeder resistor values for any capacitor. Visualize the exponential voltage decay on an interactive graph.

µF
V
Ω
V
Enter capacitance in microfarads (µF), resistance in ohms, and voltages in volts. The calculator uses standard RC discharge equations.
⚡ SMPS Bulk Cap : 1000µF, 400V, 10kΩ
?️ Audio Amp : 4700µF, 63V, 2.2kΩ
? Camera Flash : 200µF, 330V, 4.7kΩ
⚙️ Motor Drive : 2200µF, 200V, 5.6kΩ
? High-Voltage : 10µF, 2000V, 100kΩ
Privacy first: All calculations are performed locally. The discharge graph is rendered in your browser — no data leaves your device.
Safety first: Capacitors can store lethal energy even after power is removed. Always verify discharge with a properly rated voltmeter before touching terminals. This calculator provides theoretical estimates — real‑world discharge may vary due to leakage, ESR, and measurement tolerances.

The RC Discharge Equation

When a charged capacitor is discharged through a resistor, the voltage across the capacitor decays exponentially according to the fundamental RC circuit equation:

V(t) = V₀ · e−t / (R·C)

where V₀ is the initial voltage, R is the discharge resistance, C is the capacitance, and t is time.

The time constant τ = R·C (in seconds) is the time required for the voltage to fall to 36.8% (1/e) of its initial value. After 5 time constants (5τ), the voltage drops to less than 0.7% of V₀ — a commonly used rule of thumb for "fully discharged" in practical circuits.

The energy stored in a capacitor at any voltage V is given by E = ½·C·V². Initial energy (E₀) can be substantial even at modest voltages — a 1000µF capacitor charged to 400V stores 80 joules, enough to cause a severe electric shock or damage components if not safely discharged.

Why Use a Capacitor Discharge Calculator?

  • Laboratory Safety: Determine a safe discharge time and select an appropriate bleeder resistor to ensure capacitors are fully discharged before servicing equipment.
  • Power Supply Design: Size discharge resistors for switch‑mode power supplies (SMPS), ensuring they meet safety standards (e.g., IEC 62368‑1) without wasting excessive power during normal operation.
  • Troubleshooting: Predict how long a capacitor will hold a dangerous voltage after power‑off, helping technicians plan safe repair procedures.
  • Education: Visualise the exponential decay curve and understand the relationship between R, C, and discharge time.

Derivation and Practical Considerations

The RC discharge equation is derived from Kirchhoff's voltage law: the voltage across the capacitor equals the voltage across the resistor. With current i = C·dV/dt, and resistor voltage VR = i·R, we get:

V(t) = − R·C · dV/dt  →  dV/dt = − V/(R·C)

Solving this first‑order differential equation yields the exponential decay formula. The solution is independent of the discharge path's non‑linearity, provided the resistance remains constant — which holds for most practical resistors.

In real‑world applications, several factors affect the actual discharge:

  • Equivalent Series Resistance (ESR): Internal resistance of the capacitor adds to the external discharge resistor, slightly reducing the effective time constant.
  • Leakage current: All capacitors have some leakage, which can cause the voltage to decay faster than predicted, especially for high‑voltage electrolytic capacitors.
  • Temperature: Capacitance and leakage vary with temperature, so the time constant may shift in extreme environments.
  • Resistor tolerance: ±5% or ±10% resistors introduce a corresponding uncertainty in the discharge time.

For safety‑critical applications, always add a margin (e.g., +50% to the calculated time) and verify the voltage with a meter before touching the circuit.

How to Use This Tool

  1. Enter the capacitance in microfarads (µF).
  2. Enter the initial voltage (V₀) to which the capacitor is charged.
  3. Enter the discharge resistance (R) in ohms.
  4. Set a target safe voltage (e.g., 12V, 24V, or 50V depending on your safety threshold).
  5. Click "Calculate & Plot" to see the discharge curve and key parameters.

The tool computes the time constant τ, initial energy, time to reach the target safe voltage, voltage after 5τ, initial discharge current, and resistor power dissipation. The interactive graph plots the exponential decay and marks the safe voltage threshold, τ, and 5τ points.

Typical Use Cases & Reference Values

Application Capacitance Voltage Typical R Time to 50V (approx.)
SMPS bulk capacitor 1000 µF 400 V 10 kΩ 3.0 s
Audio amplifier supply 4700 µF 63 V 2.2 kΩ 0.5 s
Camera flash circuit 200 µF 330 V 4.7 kΩ 0.2 s
Motor drive DC‑link 2200 µF 200 V 5.6 kΩ 1.9 s
High‑voltage test system 10 µF 2000 V 100 kΩ 0.8 s

Values are approximate and assume ideal components. Always verify with a meter.

Case Study: Servicing a Switch‑Mode Power Supply

A technician is repairing a 400V SMPS with a 1000µF bulk capacitor. The capacitor charges to 380V in normal operation. Using this calculator with R = 15kΩ, the time constant τ = 15s. The time to reach 50V (a typical safe threshold) is t = τ·ln(380/50) ≈ 15·2.03 ≈ 30.5s. The initial energy is ½·0.001·380² = 72.2J — enough to cause a serious shock. The technician waits 35 seconds, then confirms with a voltmeter that the voltage is below 50V before proceeding. This procedure, guided by the calculator, ensures safe and efficient service.

Bleeder Resistor Selection Guidelines

A bleeder resistor is a permanent resistor placed across a capacitor to discharge it after power‑off. When selecting a bleeder resistor, consider:

  • Discharge time: Choose R so that the capacitor discharges to a safe voltage within an acceptable time (e.g., ≤ 5 seconds for 50V).
  • Power rating: During normal operation, the resistor dissipates P = V₀²/R. Ensure the resistor's power rating is at least 2× this value for reliability.
  • Voltage rating: The resistor must withstand the full operating voltage without breakdown.
  • Efficiency: Lower resistance speeds discharge but increases steady‑state power loss. For energy‑efficient designs, use a compromise or an active discharge circuit.

For example, a 400V rail with a 10kΩ bleeder dissipates 16W continuously — this may be acceptable in high‑power supplies but would be wasteful in low‑power equipment. A 47kΩ resistor dissipates only 3.4W but increases the discharge time by a factor of 4.7.

Common Misconceptions

  • "A capacitor is fully discharged after 5τ." — While the voltage falls to 0.67% of V₀, that can still be dangerous. For 400V, 0.67% is 2.7V — safe, but for 2000V it's 13.4V, still above some safety thresholds. Always verify.
  • "A short circuit discharges instantly." — A direct short can produce enormous current, welding tools, damaging the capacitor, and creating sparks. Always use a resistor to control the discharge current.
  • "Discharge time scales linearly with voltage." — No, it scales logarithmically: t = τ·ln(V₀/Vsafe). Doubling voltage increases discharge time only modestly.
  • "All capacitors have the same leakage." — Leakage varies widely by dielectric type, age, and temperature. Electrolytic capacitors can have significant leakage that alters the discharge curve.

Applications Across Engineering Domains

  • Power Electronics: Discharge modelling for inverter DC‑link capacitors.
  • Automotive: HV battery pre‑charge and discharge circuits in EVs.
  • Medical Devices: Defibrillator capacitor safety discharge verification.
  • Industrial Automation: Servo drive DC‑bus discharge time estimation.
  • RF & Communications: High‑voltage capacitor banks in transmitters.

Grounded in fundamental circuit theory — This tool implements the classical RC discharge equation as derived from Kirchhoff's laws. The implementation has been cross‑checked against SPICE simulations and published reference tables (e.g., Horowitz & Hill, The Art of Electronics, 3rd ed.; IEC 62368‑1 safety guidelines). The interactive graph uses the Canvas API for real‑time plotting. Reviewed by the GetZenQuery tech team, last updated July 2026.

Frequently Asked Questions

The generally accepted safe touch voltage for dry skin is below 50V AC/DC (IEC 60364). In many laboratory environments, a lower threshold of 30V or 12V is used for extra safety. This calculator lets you set your own threshold.

Real capacitors have leakage resistance that can slow the final decay, especially near zero voltage. Also, resistor tolerances and temperature effects can cause deviations. Always allow extra margin.

Yes, for a bank of capacitors in parallel, use the total equivalent capacitance. For series banks, use the equivalent series capacitance. The tool models the bank as a single lumped capacitor.

Energy (E = ½CV²) is exact for an ideal capacitor. In practice, ESR and dielectric losses mean that some energy is dissipated internally, but the total energy is close to the theoretical value.

The time constant τ = R·C is a characteristic time of the circuit. Discharge time to a specific voltage is t = τ·ln(V₀/Vsafe). For Vsafe = 5% of V₀, t ≈ 3τ; for 1%, t ≈ 4.6τ.

Consult IEEE Std 510 (Safety in High‑Voltage Testing), IEC 62368‑1, and application notes from capacitor manufacturers (e.g., Cornell Dubilier, Nichicon, Panasonic).
References: All About Circuits – Capacitor Transient Response; Horowitz, P. & Hill, W. The Art of Electronics (3rd ed.), Cambridge University Press; Wikipedia – RC Circuit.