Capacitor Discharge Calculator & In-Depth Guide


Capacitor Discharge Calculator

Calculate voltage, time constant, and more for an RC circuit.


Enter the total capacitance of the capacitor.


Enter the total series resistance in the discharge path.


The voltage across the capacitor at time t=0.


The specific point in time to calculate the voltage for.


Calculation Results

Voltage at specified time (t)

1.84 V
Time Constant (τ)

1.00 s

Initial Stored Energy

1.25 mJ

Initial Stored Charge

500.00 µC

Time to 5τ (99.3% Discharged)

5.00 s

The voltage V(t) is calculated using the formula: V(t) = V₀ * e(-t / (R * C)).

Capacitor Voltage vs. Time. The red line indicates the time constant (τ).

Discharge Milestones Based on Time Constant (τ)
Time Voltage Percent Discharged Percent Remaining

What is a Capacitor Discharge Calculator?

A capacitor discharge calculator is an essential tool for engineers, hobbyists, and students working with electronic circuits. It determines the voltage across a capacitor as it discharges through a resistor over a specific period. This process is fundamental to countless electronic applications, from timing circuits and filters to power supply smoothing and camera flashes. This calculator helps you predict circuit behavior without complex manual calculations, saving time and preventing errors. The core of this calculation lies in the RC time constant, a key parameter that defines the discharge rate.

Common misunderstandings often involve the time it takes for a capacitor to “fully” discharge. While theoretically it takes an infinite amount of time to reach zero volts, for all practical purposes, a capacitor is considered fully discharged after 5 time constants (5τ), by which point it has lost over 99% of its initial voltage. Our capacitor discharge calculator provides both the instantaneous voltage at a time ‘t’ and these crucial time constant milestones.

Capacitor Discharge Formula and Explanation

The discharge of a capacitor through a resistor is an exponential decay process. The voltage `V(t)` across the capacitor at any given time `t` is described by the following formula:

V(t) = V₀ * e(-t / RC)

The term `RC` in this formula is also known as the time constant, represented by the Greek letter tau (τ). This makes the formula even simpler to write: `V(t) = V₀ * e^(-t / τ)`.

Formula Variables
Variable Meaning Unit (Auto-Inferred) Typical Range
V(t) The voltage across the capacitor at time ‘t’. Volts (V) 0 to V₀
V₀ The initial voltage across the capacitor at t=0. Volts (V) mV to kV
R The resistance of the discharge path. Ohms (Ω) mΩ to GΩ
C The capacitance of the capacitor. Farads (F) pF to F
t The elapsed time since discharge began. Seconds (s) µs to hours
e Euler’s number, the base of the natural logarithm. Unitless ~2.71828

Practical Examples

Example 1: LED Fade-Out Circuit

Imagine you want an LED to fade out slowly after power is cut. You use a 5V source to charge a capacitor, which then discharges through a resistor connected to the LED.

  • Inputs:
    • Capacitance (C): 470 µF
    • Resistance (R): 1 kΩ
    • Initial Voltage (V₀): 5 V
  • Calculation: The time constant (τ) is 470µF * 1kΩ = 0.47 seconds. After 1 second, the voltage will have dropped significantly, dimming the LED. Using our capacitor discharge calculator, we find the voltage at t=1s is approximately 0.6 V.
  • Results: The LED will be visibly dim after 1 second and effectively off after about 5τ, which is 2.35 seconds. Check out our LED Resistor Calculator to find the right resistor for your LED.

Example 2: Camera Flash Circuit

A camera flash uses a high-voltage capacitor to deliver a quick, powerful burst of energy to the flash tube.

  • Inputs:
    • Capacitance (C): 150 µF
    • Initial Voltage (V₀): 330 V
    • Discharge Resistance (R): 0.5 Ω (the effective resistance of the flash tube)
  • Calculation: The time constant (τ) is extremely short: 150µF * 0.5Ω = 75 microseconds (µs). This means the capacitor dumps most of its energy almost instantly. The initial stored energy, which you can find with this calculator, is over 8 Joules.
  • Results: The rapid discharge creates the bright flash of light. The very low resistance is key to the high power output. You can explore this further with an Ohm’s Law calculator.

How to Use This Capacitor Discharge Calculator

  1. Enter Capacitance (C): Input the capacitor’s value and select the correct unit (µF, nF, pF, or F). Microfarads (µF) are most common for this type of calculation.
  2. Enter Resistance (R): Input the value of the resistor in the discharge path. Be sure to select the correct unit: Ohms (Ω), kilohms (kΩ), or megaohms (MΩ).
  3. Enter Initial Voltage (V₀): This is the voltage the capacitor is charged to before the discharge begins.
  4. Enter Time (t): Specify the point in time after the discharge starts for which you want to calculate the voltage. Use seconds (s) or milliseconds (ms).
  5. Interpret the Results: The calculator instantly provides the voltage at your specified time, the circuit’s time constant (τ), the initial stored energy and charge, and the time it takes to be 99.3% discharged (5τ). The chart and table provide a visual overview of the discharge process.

Key Factors That Affect Capacitor Discharge

Several factors influence the speed and nature of capacitor discharge. Understanding them is crucial for accurate circuit design.

  • Capacitance (C): A larger capacitance stores more charge at the same voltage. Therefore, a larger capacitor will take longer to discharge through the same resistor. Discharge time is directly proportional to capacitance.
  • Resistance (R): A larger resistance restricts the flow of current. Therefore, a larger resistor will make the capacitor take longer to discharge. Discharge time is directly proportional to resistance.
  • Initial Voltage (V₀): While the initial voltage does not affect the time constant (τ), it sets the starting point for the discharge curve. A higher initial voltage means more stored energy and higher current at the beginning of the discharge cycle.
  • Equivalent Series Resistance (ESR): Every real capacitor has a small internal resistance. For most low-frequency applications, it’s negligible, but in high-speed circuits, it can affect the maximum discharge current. Our calculator assumes an ideal capacitor, but you can add the ESR to your main resistance value for a more accurate result.
  • Leakage Current: Ideal capacitors hold their charge forever. Real capacitors have a tiny internal leakage path that slowly self-discharges them over time. This is usually only a concern for long-term energy storage. A battery life calculator can provide insights into long-term discharge concepts.
  • Temperature: Extreme temperatures can affect both the capacitance value and the internal resistance (ESR) of a capacitor, slightly altering the discharge characteristics.

Frequently Asked Questions (FAQ)

What is the time constant (tau) in a capacitor discharge calculator?

The time constant (τ = R * C) is the time it takes for the capacitor’s voltage to drop to approximately 36.8% of its initial value. It’s a standard measure for describing the discharge rate.

How long does it take for a capacitor to fully discharge?

Practically, a capacitor is considered fully discharged after 5 time constants (5τ), at which point it has lost 99.3% of its initial voltage. Theoretically, it never reaches exactly zero.

Can I calculate the discharge current?

Yes. The current also decays exponentially. The formula is I(t) = (V₀ / R) * e(-t / RC). The initial current (at t=0) is simply I = V₀ / R, as determined by Ohm’s Law.

What happens if the resistance is zero?

A resistance of zero would theoretically lead to an infinite current and an instantaneous discharge. In reality, this would create a short circuit, likely damaging the capacitor, power source, or other components due to the extremely high current. The circuit’s own wiring resistance and the capacitor’s ESR would provide a small, but non-zero, resistance.

Why is it important to select the correct units?

The calculation is highly sensitive to units. A 10kΩ resistor is 1,000 times larger than a 10Ω resistor. A 10µF capacitor is 1,000,000 times larger than a 10pF capacitor. Using the wrong unit will lead to vastly incorrect results, which is why this capacitor discharge calculator provides easy unit selectors.

What is the difference between stored energy and stored charge?

Charge (measured in Coulombs) is the quantity of electrical carriers stored. Energy (measured in Joules) is the work that charge can do. Energy is proportional to the square of the voltage (E = 0.5 * C * V²), making it a key metric for applications like camera flashes or defibrillators.

Why is my result ‘NaN’ or ‘Infinity’?

This usually means an invalid input, such as a non-numeric character, a resistance or capacitance of zero, or a negative value where one is not possible. Our calculator validates inputs to prevent this, but ensure all fields are filled with positive numbers.

Can this calculator be used for capacitor charging?

No, this tool is specifically a capacitor discharge calculator. The charging process follows a different (though related) formula: V(t) = V_source * (1 – e(-t/RC)).

© 2026 Your Website. All rights reserved.


Leave a Reply

Your email address will not be published. Required fields are marked *