The discharging formula for a capacitor in a basic resistor-capacitor (RC) circuit is V(t) = V0 · e-t/(RC). This equation dictates exactly how voltage decays across a capacitor when it is disconnected from a power source and allowed to discharge through a resistive load. Whether you are designing a 555 timer delay, sizing a bleed resistor for a 400V DC bus, or debugging an ESP32 reset circuit, this formula is the mathematical backbone of transient RC behavior.

The Core RC Discharging Formula and Symbol Definitions

Before plugging numbers into a calculator, we must define the boundaries of the model. The standard discharging formula assumes an ideal circuit: a capacitor with zero equivalent series resistance (ESR) and infinite leakage resistance, paired with a purely ohmic resistor at a constant temperature. According to HyperPhysics, the derivation stems from Kirchhoff's Voltage Law (KVL) applied to a closed loop where the capacitor acts as the source and the resistor acts as the load.

The governing equation is:

V(t) = V0 · e-t / (R · C)

Table 1: Symbol Definitions and Standard SI Units
Symbol Parameter Name Standard SI Unit Practical Bench Unit
V(t) Voltage across the capacitor at time t Volts (V) Volts (V)
V0 Initial voltage at t = 0 Volts (V) Volts (V)
e Euler's number (mathematical constant) ~2.71828 (dimensionless) ~2.71828
t Time elapsed since discharge began Seconds (s) Milliseconds (ms) or Microseconds (μs)
R Resistance of the discharge path Ohms (Ω) Kilo-ohms (kΩ) or Mega-ohms (MΩ)
C Capacitance Farads (F) Microfarads (μF) or Nanofarads (nF)

The product of R · C is known as the time constant, denoted by the Greek letter tau (τ). One time constant (τ = 1) represents the time it takes for the voltage to drop to approximately 36.8% of its initial value. For a deeper look at how this integrates into broader DC transient analysis, All About Circuits provides an excellent breakdown of the calculus behind the exponential decay curve.

Rearranged Forms: Solving for Time, Resistance, and Capacitance

On the workbench, you rarely need to find V(t) in isolation. Usually, you have a target voltage and need to size a bleed resistor, or you have a fixed capacitor and need to calculate the delay time. Here are the algebraic rearrangements of the discharging formula, solving for every variable:

  • Solve for Time (t): t = -R · C · ln(V(t) / V0)
  • Solve for Resistance (R): R = -t / [C · ln(V(t) / V0)]
  • Solve for Capacitance (C): C = -t / [R · ln(V(t) / V0)]
  • Solve for Initial Voltage (V0): V0 = V(t) / e-t/(RC) or V0 = V(t) · et/(RC)

Note: "ln" represents the natural logarithm (base e). Ensure your calculator is set to natural log, not log base 10, when computing these rearrangements.

Unit Pitfalls and Realistic Magnitude Checks

The most common reason the discharging formula yields garbage data is unit misalignment. The formula strictly requires base SI units: Seconds, Ohms, and Farads. If you input microfarads directly as whole numbers, your time constant will be off by a factor of one million.

The Microfarad and Millisecond Trap

A 10 μF capacitor is 0.00001 F (or 10 × 10-6 F). A common mistake is typing 10e-3 (milli) instead of 10e-6 (micro). Similarly, if your time t is 50 ms, you must enter 0.05 s. If you mix milliseconds with base Farads, your exponent will be skewed by 1,000x, resulting in a calculator output of essentially zero or infinity.

What Does a Realistic Answer Look Like?

In hobbyist and commercial low-voltage electronics, time constants (τ) typically range from 10 μs to 10 seconds. If you are designing a 555 timer monostable pulse and your formula spits out t = 45,000 seconds, you have a unit error. Conversely, in high-voltage power supplies (like a 400V DC bus in a motor drive), bleed resistor networks are intentionally designed with massive time constants (e.g., τ = 5 to 10 seconds) to safely dissipate energy over a minute after power-off. Always sanity-check your magnitude against the physical application.

Worked Examples: Step-by-Step Derivations

Let's apply the formula to two real-world scenarios, strictly tracking unit conversions at every step to prevent magnitude errors.

Problem 1: Finding Voltage at a Specific Time

Scenario: An ESP32 reset circuit uses a 10 kΩ pull-down resistor and a 10 μF decoupling capacitor. The capacitor is charged to 3.3V. The microcontroller triggers a discharge event. What is the voltage across the capacitor exactly 50 ms into the discharge?

Step 1: Identify and convert to base SI units.

  • V0 = 3.3 V
  • R = 10 kΩ = 10,000 Ω
  • C = 10 μF = 0.00001 F (10 × 10-6)
  • t = 50 ms = 0.05 s

Step 2: Calculate the time constant (τ).

  • τ = R · C
  • τ = 10,000 Ω · 0.00001 F = 0.1 seconds

Step 3: Apply the discharging formula.

  • V(t) = V0 · e-t / τ
  • V(0.05) = 3.3 · e-0.05 / 0.1
  • V(0.05) = 3.3 · e-0.5
  • V(0.05) = 3.3 · 0.60653
  • V(0.05) ≈ 2.00 V

Result: After 50 ms (exactly half of one time constant), the voltage has dropped from 3.3V to 2.00V.

Problem 2: Solving for Time to Reach a Target Voltage

Scenario: You are designing a soft-start delay for a relay coil. The control circuit drops out when the capacitor voltage falls below 1.5V. The initial voltage is 12V, the discharge resistor is 470 Ω, and the capacitor is 1000 μF. How long will the relay stay engaged?

Step 1: Identify and convert to base SI units.

  • V0 = 12 V
  • V(t) = 1.5 V (target threshold)
  • R = 470 Ω
  • C = 1000 μF = 0.001 F

Step 2: Calculate the time constant (τ).

  • τ = 470 · 0.001 = 0.47 seconds

Step 3: Use the rearranged formula to solve for t.

  • t = -τ · ln(V(t) / V0)
  • t = -0.47 · ln(1.5 / 12)
  • t = -0.47 · ln(0.125)
  • t = -0.47 · (-2.0794)
  • t ≈ 0.977 seconds

Result: The relay will hold for approximately 977 milliseconds before the voltage crosses the 1.5V dropout threshold.

Frequently Asked Questions (FAQ)

How does the discharging formula change for an RL circuit?

In an RL (Resistor-Inductor) circuit, the inductor resists changes in current rather than voltage. The discharging formula for current in an RL circuit is structurally identical: I(t) = I0 · e-t / (L/R). Notice that the time constant for an inductor is τ = L / R, whereas for a capacitor it is τ = R · C. This inversion happens because higher resistance in an RL circuit dissipates energy faster (shorter time constant), while higher resistance in an RC circuit restricts current flow, slowing the discharge (longer time constant).

Why is the capacitor discharging formula based on Euler's number (e)?

Euler's number (e ≈ 2.718) appears because the rate of discharge is directly proportional to the remaining voltage. As the capacitor loses charge, the voltage drops, which in turn reduces the current flowing through the resistor, which further slows the rate of voltage drop. This creates a continuous feedback loop described by a first-order linear differential equation (dV/dt = -V/RC). In calculus, the only function that is its own derivative (scaled by a constant) is the exponential function base e. Therefore, the physical reality of proportional decay naturally manifests as an exponential curve.

Does the RC discharging formula account for equivalent series resistance (ESR)?

No, the standard formula assumes an ideal capacitor. Real-world capacitors, especially electrolytic and supercapacitors, possess Equivalent Series Resistance (ESR) and parallel leakage resistance. If the discharge current is very high (e.g., dumping a capacitor bank into a low-ohm flash tube), the ESR creates an immediate voltage step-drop (V = I · ESR) before the exponential decay begins. For high-precision timing or high-current pulse applications, you must model the capacitor as an ideal C in series with an RESR, and add RESR to your total discharge resistance R.

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

Mathematically, an exponential decay curve is asymptotic; it never truly reaches exactly 0.000V. However, in practical electrical engineering, we use the 5-tau (5τ) rule. After 5 time constants (t = 5RC), the capacitor has discharged to 0.67% of its initial voltage (e-5 ≈ 0.0067). For almost all bench and field applications, 5τ is considered "fully discharged." For example, if τ = 2 seconds, the circuit is practically dead at 10 seconds. Note that high-voltage safety standards (like those for HVAC and industrial drives) may require waiting longer or using a physical shorting stick to guarantee zero potential due to dielectric absorption, where the dielectric material slowly releases trapped charges back into the plates after the initial discharge.