The fundamental equation for discharging a capacitor through a resistor is V(t) = V₀ · e^(-t/RC). This formula dictates how voltage decays exponentially over time when a charged capacitor is connected to a resistive load. While it is a cornerstone of DC circuit theory, applying it blindly on the workbench without accounting for parasitic elements or non-resistive loads is a fast track to failed prototypes. Below, we break down the derivation, map out every variable, and walk through real bench scenarios where the math meets reality.

The Core Equation for Discharging a Capacitor and Symbol Definitions

The standard RC discharge model describes the voltage across a capacitor at any given time t after the discharge path is closed. The formula is:

V(t) = V₀ · e^(-t / RC)

To use this equation accurately, you must understand exactly what each symbol represents and the strict SI units required for the math to hold.

Symbol Definition Standard SI Unit Bench Context
V(t) Voltage across the capacitor at time t Volts (V) The measured value on your multimeter or oscilloscope.
V₀ Initial voltage at t = 0 (start of discharge) Volts (V) The supply voltage before the discharge switch is thrown.
e Euler's number (mathematical constant) Dimensionless Approximately 2.71828. Do not confuse with the elementary charge.
t Elapsed time since discharge began Seconds (s) Must be converted from ms or µs before calculating.
R Resistance of the discharge path Ohms (Ω) Includes the bleeder resistor plus wire/trace resistance.
C Capacitance Farads (F) Must be converted from µF, nF, or pF to base Farads.
τ (tau) Time constant (R × C) Seconds (s) The time it takes for voltage to drop to ~36.8% of V₀.

When the Formula Applies and Its Assumptions

This equation is not a universal law; it is a specific solution to a first-order linear differential equation. It applies only when:

  • The load is purely resistive: The resistance R remains constant regardless of the voltage across it.
  • The capacitor is ideal: It assumes zero Equivalent Series Resistance (ESR), zero Equivalent Series Inductance (ESL), and zero dielectric leakage current.
  • The circuit is a lumped parameter model: Physical dimensions of the circuit are small enough that electromagnetic propagation delay is negligible.

Rearranged Forms: Solving for Time, Resistance, and Capacitance

On the bench, you rarely need to find V(t). Usually, you have a target voltage threshold (like a microcontroller brownout limit) and need to size the capacitor or calculate the hold-up time. Here are the algebraic rearrangements of the discharge equation:

  • Solving for time (t): t = -R · C · ln(V(t) / V₀)
  • Solving for resistance (R): R = -t / (C · ln(V(t) / V₀))
  • Solving for capacitance (C): C = -t / (R · ln(V(t) / V₀))
  • Solving for initial voltage (V₀): V₀ = V(t) / e^(-t / RC)

Note: 'ln' represents the natural logarithm (base e). Ensure your calculator is not set to log base 10.

Solved Bench Problems with Strict Unit Tracking

The most common point of failure in RC calculations is unit mismanagement. Let us walk through two problems, explicitly tracking every conversion.

Problem 1: Finding Voltage at a Specific Time

Scenario: A 1000µF electrolytic capacitor is charged to 12.0V. It is discharged through a 470Ω carbon film resistor. What is the voltage across the capacitor 250ms after the discharge begins?

  1. Convert to SI units:
    C = 1000µF = 1000 × 10⁻⁶ F = 0.001 F
    t = 250ms = 250 × 10⁻³ s = 0.25 s
    R = 470 Ω (already in SI)
    V₀ = 12.0 V (already in SI)
  2. Calculate the time constant (τ):
    τ = R × C = 470 × 0.001 = 0.47 s
  3. Apply the equation:
    V(0.25) = 12.0 · e^(-0.25 / 0.47)
    V(0.25) = 12.0 · e^(-0.5319)
    V(0.25) = 12.0 · 0.5874
  4. Final Answer: 7.05 V

Problem 2: Finding Time to a Threshold Voltage

Scenario: A 100µF decoupling capacitor sits at 5.0V. A logic gate connected to it will fail when the rail drops to 3.3V. The discharge path through the logic gate's equivalent input impedance is 10kΩ. How long until the gate fails?

  1. Convert to SI units:
    C = 100µF = 0.0001 F
    R = 10kΩ = 10,000 Ω
    V₀ = 5.0 V
    V(t) = 3.3 V
  2. Calculate τ:
    τ = 10,000 × 0.0001 = 1.0 s
  3. Apply the rearranged time equation:
    t = -R · C · ln(V(t) / V₀)
    t = -(1.0) · ln(3.3 / 5.0)
    t = -1.0 · ln(0.66)
    t = -1.0 · (-0.4155)
  4. Final Answer: 0.4155 seconds (or 415.5 ms)

Real-World Scenario: ESP32 Supercapacitor Hold-Up Failure

Textbook equations fall apart when components exhibit non-ideal behaviors. Here is a war story from the bench that illustrates exactly why.

The Setup

We needed to design a graceful shutdown circuit for an ESP32-WROOM-32 module. The goal was to use a 1F, 5.5V supercapacitor to hold up the 3.3V rail during a mains power cut, giving the MCU 500ms to save state variables to flash memory. The supercapacitor was charged to 5.0V and fed into an AP2112K-3.3 linear regulator (LDO). The ESP32 drew an active transmit current of 80mA.

The Numbers (Theoretical)

The LDO had a maximum dropout voltage of 250mV. Therefore, the minimum input voltage to maintain a 3.3V output was 3.55V. Using the standard RC equation, we modeled the ESP32 + LDO as a fixed resistor: R_eq = 5.0V / 0.08A = 62.5Ω.
Calculating the time to drop from 5.0V to 3.55V:
t = -(62.5)(1) · ln(3.55 / 5.0) = 21.4 seconds.
The math suggested we had over 20 seconds of hold-up time. We only needed 0.5 seconds.

The Outcome and What Went Wrong

On the bench, the ESP32 browned out and reset in under 150 milliseconds. The RC equation failed completely. Why?

  1. Constant Current vs. Constant Resistance: The RC equation assumes the load is a fixed resistor, meaning current drops as voltage drops. An LDO powering an active MCU is a constant power/current load. As the supercap voltage sags, the LDO draws more current to maintain the 3.3V rail, accelerating the voltage collapse far faster than the exponential RC curve predicts.
  2. Supercapacitor ESR and Leakage: According to Cornell Dubilier's supercapacitor application guides, cheap 1F radial supercaps can have an ESR of 400mΩ and leakage currents exceeding 5mA. The immediate voltage sag under the 80mA load was V_sag = I × ESR = 0.08A × 0.4Ω = 32mV. While 32mV seems small, combined with the dielectric absorption and leakage, the effective capacitance under high-frequency discharge was drastically lower than the 1F DC rating.

The Fix: For active semiconductor loads, discard the RC equation. Use the constant-current discharge formula: t = C · ΔV / I. Furthermore, we replaced the single 1F radial cell with three 10F low-ESR coin cells in parallel to slash the ESR and provide the necessary transient current.

Common Unit Traps and Realistic Magnitude Checks

When plugging numbers into the equation for discharging a capacitor, use these sanity checks to catch errors before you order the wrong components.

Unit Mistakes That Break the Math

  • The Microfarad Trap: Entering '100' instead of '0.0001' for a 100µF capacitor will inflate your calculated time constant by a factor of one million. Always convert to base Farads (F) first.
  • Millisecond Confusion: If your time t is in milliseconds, your resulting voltage will be wrong unless you also scale your resistance or capacitance. Stick to seconds for t, Ohms for R, and Farads for C.
  • Logarithm Base Errors: Using log₁₀ instead of the natural logarithm (ln or logₑ) when rearranging for time will yield a result off by a factor of 2.302.

What a Realistic Answer Magnitude Looks Like

If you are calculating time, anchor your expectations to the time constant (τ = RC). As detailed in standard RC discharge circuit tutorials, the decay follows a strict geometric progression:

  • At , voltage drops to 36.8% of V₀.
  • At , voltage drops to 13.5% of V₀.
  • At , voltage drops to 5.0% of V₀.
  • At , voltage drops to 0.67% of V₀ (universally considered 'fully discharged' in practical electronics).

Sanity Check: If you are discharging a 0.1µF capacitor through a 1kΩ resistor, τ = 0.0001 seconds (0.1ms). If your algebraic rearrangement tells you it takes 4 seconds to reach 1V, you have missed a decimal conversion. The discharge should be entirely complete in 0.5ms (5τ). Trust the magnitude of τ before trusting the final calculated digit.