Capacitor Discharge Time Calculator






Capacitor Discharge Time Calculator


Capacitor Discharge Time Calculator

Accurately calculate the time it takes for a capacitor to discharge through a resistor.

Enter the total capacitance of your circuit.

Enter the total resistance of the discharge path.


The voltage across the capacitor at the start (t=0).


The target voltage to calculate the time for.
Final voltage must be less than initial voltage and not negative.

Discharge Curve Visualization

Chart showing voltage decay over time. The red dot indicates the point where the final voltage is reached.

About the Capacitor Discharge Time Calculator

What is a capacitor discharge time calculator?

A capacitor discharge time calculator is a tool used by engineers, hobbyists, and students to determine the time (t) it takes for a capacitor’s voltage to fall from an initial level (V₀) to a specified final level (Vf) when it discharges through a resistor (R). This process is fundamental to countless electronic circuits, from simple timing applications and power supply filters to more complex systems. The discharge does not happen instantly but follows a predictable exponential decay curve, which this calculator precisely models.

Common misunderstandings often revolve around the concept of a “full” discharge. Theoretically, a capacitor never fully discharges to zero volts, as the decay curve is asymptotic. In practice, a capacitor is considered effectively discharged after 5 time constants (5τ), by which point its voltage has dropped to less than 1% of its initial value. This calculator helps clarify such concepts by providing both the time to a specific target voltage and the practical 5τ duration. Understanding this is key to using tools like an RC time constant calculator effectively.

Capacitor Discharge Formula and Explanation

The voltage across a discharging capacitor at any given time t is described by the formula:

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

To find the time it takes to reach a specific final voltage (Vf), we rearrange the formula to solve for t:

t = -RC * ln(Vf / V₀)

This can also be written as t = RC * ln(V₀ / Vf), which is often more intuitive. The product RC is known as the Time Constant (τ).

Variables Table

Variable Meaning Unit (SI) Typical Range
t Discharge Time Seconds (s) Milliseconds to hours
R Resistance Ohms (Ω) 1 Ω to 10 MΩ
C Capacitance Farads (F) 1 pF to 10,000 µF
V₀ Initial Voltage Volts (V) 0.1 V to 450 V
Vf Final Voltage Volts (V) 0 V to V₀
Description of variables used in the capacitor discharge formula.

Practical Examples

Example 1: LED Fade-Out Circuit

Imagine you want an LED to stay lit for a short time after power is cut. The LED turns off when the voltage drops below 1.5V.

  • Inputs:
    • Capacitance (C): 470 µF
    • Resistance (R): 1 kΩ
    • Initial Voltage (V₀): 9 V
    • Final Voltage (Vf): 1.5 V
  • Results:
    • Time Constant (τ): 1,000 Ω * 0.000470 F = 0.47 seconds
    • Discharge Time (t): -0.47 * ln(1.5 / 9) ≈ 0.84 seconds

The LED will remain lit for approximately 0.84 seconds after the power is disconnected. To learn more about resistors for LEDs, see our LED resistor calculator.

Example 2: Power Supply Hold-Up

A microprocessor needs its voltage to stay above 4.5V for a few milliseconds to save its state during a power failure.

  • Inputs:
    • Capacitance (C): 2200 µF
    • Resistance (R): 100 Ω (the load)
    • Initial Voltage (V₀): 5 V
    • Final Voltage (Vf): 4.5 V
  • Results:
    • Time Constant (τ): 100 Ω * 0.0022 F = 0.22 seconds
    • Discharge Time (t): -0.22 * ln(4.5 / 5) ≈ 23.2 milliseconds

The circuit provides 23.2 ms of hold-up time, which is often sufficient for a quick data save operation. The interaction of components is also important in tools like a 555 timer astable calculator.

How to Use This capacitor discharge time calculator

  1. Enter Capacitance (C): Input the capacitor’s value and select the correct unit (µF, nF, pF, or F).
  2. Enter Resistance (R): Input the value of the resistor through which the capacitor discharges. Select the unit (Ω, kΩ, or MΩ).
  3. Enter Initial Voltage (V₀): Set the starting voltage of the fully charged capacitor.
  4. Enter Final Voltage (Vf): Set the target voltage you want to calculate the discharge time for.
  5. Interpret Results: The calculator instantly provides the total discharge time to Vf, the circuit’s time constant (τ), and the time for a nearly full discharge (5τ). The chart visualizes the voltage decay over time.

Key Factors That Affect Capacitor Discharge Time

  • Capacitance (C): A larger capacitance stores more charge, leading to a longer discharge time. Time is directly proportional to C. For more on this, read our guide on what is a capacitor.
  • Resistance (R): A larger resistance restricts current flow, slowing down the discharge process. Time is directly proportional to R. An Ohm’s law calculator can help explore this relationship.
  • Initial Voltage (V₀): While it sets the starting point, the discharge *rate* (as a percentage) is independent of V₀. However, the absolute time to reach a fixed Vf will be longer if V₀ is higher.
  • Final Voltage (Vf): The time increases exponentially as Vf approaches zero. Discharging from 12V to 1V is much faster than discharging from 1V to 0.1V.
  • Capacitor Leakage (ESR): Real capacitors have internal resistance (Equivalent Series Resistance) and leakage, which can slightly speed up discharge, especially over long periods. This calculator assumes an ideal capacitor.
  • Temperature: Temperature can affect both capacitance and resistance values, slightly altering the discharge time in sensitive applications.

Frequently Asked Questions (FAQ)

1. What is a time constant (τ)?

The time constant (τ = R * C) is the time required for the capacitor’s voltage to drop to approximately 36.8% of its initial value. It’s a standard measure of how fast an RC circuit reacts.

2. How long does it take to fully discharge a capacitor?

Theoretically, it takes infinite time. Practically, a capacitor is considered fully discharged after 5 time constants (5τ), when the voltage is at 0.7% of its initial level.

3. Can I use this calculator for charging a capacitor?

The underlying formula is similar, but for charging time, you calculate the time to reach a certain percentage of the supply voltage. For that, you should use a dedicated capacitor charge time calculator.

4. What happens if my final voltage is higher than my initial voltage?

The calculation is not possible, as a discharging capacitor’s voltage can only decrease. The calculator will show an error.

5. Why are there different units for capacitance and resistance?

Electronic components come in vast ranges. Providing units like microfarads (µF) and kilohms (kΩ) makes it easier to input common values without converting them manually.

6. Does the type of capacitor matter?

For this calculation, only the capacitance value matters. However, in real circuits, factors like polarity (for electrolytic capacitors) and voltage rating are critical for safety and performance.

7. What is the discharge curve chart showing?

It shows the exponential decay of the capacitor’s voltage over time. It helps visualize how the voltage drops rapidly at first and then slows down as it approaches zero.

8. What if there is no resistor?

If you short-circuit a capacitor, the discharge is extremely fast and limited only by the tiny internal resistance of the capacitor and wires. This creates a very high current and can be dangerous, potentially damaging the capacitor. A dedicated guide on resistors explains their importance in circuits.

Related Tools and Internal Resources

Explore other calculators and articles to deepen your understanding of electronic circuits:




Leave a Reply

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