The Core Formula and Symbol Definitions
When analyzing the transient response of a discharging capacitor, the voltage decay is governed by an exponential function. The most common bench failure in this calculation isn't a misunderstanding of the physics; it is a syntax error when punching the equation into a scientific calculator with a negative sign exponent. Before addressing the calculator mechanics, we must establish the baseline formula:
V(t) = V₀ · e-(t / RC)
Every variable in this equation carries strict unit requirements. If you input microfarads directly without converting to the base SI unit, the exponent collapses, and your calculated voltage will be physically impossible.
| Symbol | Unit (SI Base) | Definition |
|---|---|---|
| V(t) | Volts (V) | Instantaneous voltage across the capacitor at time t |
| V₀ | Volts (V) | Initial voltage across the capacitor at t = 0 |
| e | Dimensionless | Euler's number (≈ 2.71828), the base of the natural logarithm |
| t | Seconds (s) | Elapsed time since the discharge began |
| R | Ohms (Ω) | Total series resistance in the discharge path |
| C | Farads (F) | Capacitance value of the discharging capacitor |
The product of R and C yields the time constant, denoted as τ (tau), where τ = RC. The time constant represents the time required for the voltage to decay to approximately 36.8% of its initial value (V₀ · e⁻¹).
Rearranged Forms for Bench Troubleshooting
On the bench, you rarely solve for V(t) in isolation. More often, you are designing a hold-up capacitor for a microcontroller brownout detector and need to solve for C, or you are measuring a waveform on an oscilloscope and need to back-calculate the parasitic resistance R. Here are the algebraically rearranged forms solving for each variable:
- Solve for time (t): t = -RC · ln(V(t) / V₀)
- Solve for resistance (R): R = -t / [C · ln(V(t) / V₀)]
- Solve for capacitance (C): C = -t / [R · ln(V(t) / V₀)]
- Solve for initial voltage (V₀): V₀ = V(t) · e(t / RC)
Notice that in the rearranged forms for t, R, and C, the negative sign moves outside the natural logarithm. Because V(t) is always less than V₀ during discharge, the ratio V(t)/V₀ is a fraction less than 1. The natural log of a fraction is inherently negative. The explicit negative sign in the formula cancels this out, yielding a positive physical value for time, resistance, or capacitance. Forgetting this unary negative sign on your calculator will result in a negative resistance or negative time, which is a clear indicator of a sign error.
The Calculator Trap: Unary Minus vs. Binary Subtraction
The primary reason engineers and hobbyists botch the RC discharge calculation stems from how they use a scientific calculator with a negative sign. Modern calculators like the Casio fx-991EX or the TI-36X Pro differentiate between two distinct keys:
- The Binary Subtraction Key -: Used to subtract one number from another (e.g., 5 - 3).
- The Unary Negation Key (-) or +/-: Used to assign a negative sign to a single value or variable (e.g., -5).
If you type e ^ - t / R * C using the binary subtraction key, the calculator's algebraic operating system (AOS) will throw a SYNTAX ERROR because it expects a number before the subtraction operator. If you force it by typing e ^ 0 - t..., you break the order of operations.
Furthermore, the order of operations (PEMDAS/BODMAS) dictates that exponentiation happens before division and multiplication. If you type e ^ (-) t / R * C without parentheses, the calculator computes e-t, then divides by R, then multiplies by C. The correct input requires explicit grouping: e ^ ( (-) t / (R * C) ). According to the Casio fx-991EX manual, failing to bracket the denominator of a fractional exponent is the most frequent cause of erroneous exponential calculations.
Solved Problems with Unit Tracking
Let's walk through two bench scenarios, tracking the SI unit conversions and the exact intermediate calculator steps.
Problem 1: Calculating Voltage Drop Over Time
Given: A 12.0 V power rail is disconnected. The decoupling network consists of a 10 kΩ bleeder resistor and a 100 μF capacitor. Find V(t) at t = 500 ms.
- Convert to SI Base Units:
R = 10,000 Ω
C = 100 × 10⁻⁶ F = 0.0001 F
t = 500 × 10⁻³ s = 0.5 s - Calculate the Time Constant (τ):
τ = RC = 10,000 × 0.0001 = 1.0 second - Calculate the Exponent:
-t / τ = -0.5 / 1.0 = -0.5 - Apply Euler's Number:
e-0.5 ≈ 0.60653 - Final Multiplication:
V(t) = 12.0 × 0.60653 = 7.278 V
Problem 2: Solving for Time to Reach a Threshold
Given: A 5V logic line is pulled low through a 4.7 kΩ resistor. The line capacitance is 10 μF. How long until the voltage drops to 3.3 V?
- Convert to SI Base Units:
R = 4,700 Ω
C = 10 × 10⁻⁶ F = 0.00001 F
V₀ = 5.0 V, V(t) = 3.3 V - Calculate the Time Constant (τ):
τ = RC = 4,700 × 0.00001 = 0.047 seconds - Calculate the Natural Log of the Voltage Ratio:
ln(V(t) / V₀) = ln(3.3 / 5.0) = ln(0.66) ≈ -0.4155 - Apply the Rearranged Formula for t:
t = -RC · ln(V(t) / V₀)
t = -0.047 × -0.4155 = 0.0195 seconds (or 19.5 ms)
Real-World Scenario: The ESP32 Brownout Reset
Setup: An ESP32-WROOM-32 module keeps resetting when a mechanical relay on the same board switches. The relay coil generates a flyback event that momentarily sags the 3.3V rail. The PCB layout introduces an effective series resistance (ESR + trace resistance) of 15 Ω between the main 3.3V regulator and the ESP32's VDD pin. The local decoupling capacitor is 47 μF. The relay switching transient lasts for 50 ms. The ESP32's internal brownout detector (BOD) triggers a reset if VDD drops below 2.4 V (as detailed in the Espressif ESP32 Datasheet).
Numbers: Let's calculate the voltage at the ESP32 VDD pin at the end of the 50ms transient using V₀ = 3.3V, R = 15 Ω, C = 47 × 10⁻⁶ F, and t = 0.05 s.
- τ = RC = 15 × 0.000047 = 0.000705 s (0.705 ms).
- Exponent = -t / τ = -0.05 / 0.000705 = -70.92.
- e-70.92 ≈ 1.5 × 10⁻³¹ (effectively zero).
- V(t) = 3.3 × 0 = 0.0 V.
Outcome: The capacitor discharges almost instantly. The voltage plummets well past the 2.4V BOD threshold, triggering a brownout reset.
What Went Wrong in the Initial Design: The original designer attempted this calculation on a TI-36X Pro but typed e ^ - 0.05 / 15 * 47e-6 without parentheses. The calculator evaluated the exponent as just -0.05, then divided by 15, then multiplied by 47e-6, yielding a mathematically nonsensical result of 3.14e-7 V. Confused by the tiny number, the designer assumed the capacitor was "doing something" and ignored the math, relying on gut feeling that 47μF was "plenty of bulk capacitance." Had they properly bracketed the denominator (15 * 47e-6), the massive exponent of -70.9 would have immediately revealed that a 47μF cap cannot sustain a 15Ω load for 50ms. The fix required adding a 470μF low-ESR polymer capacitor to increase τ and maintain the rail above 2.4V.
Assumptions, Unit Mistakes, and Realistic Magnitudes
To use the RC discharge formula reliably, you must understand its boundaries and the physical realities of the bench.
When the Formula Applies and Its Assumptions
This formula assumes an ideal capacitor and a purely resistive load. It assumes the resistance R remains constant regardless of voltage or temperature. In reality, ceramic capacitors (especially X7R and Y5V dielectrics) exhibit severe voltage coefficient effects; a 10μF X7R capacitor rated for 10V might only provide 2μF of actual capacitance when biased at 5V. Furthermore, the formula ignores parasitic inductance (ESL). If the discharge path involves high di/dt switching (like a MOSFET turning on), the inductive kickback (V = -L di/dt) will temporarily override the RC exponential decay.
Which Unit Mistakes Break It
The undisputed champion of RC calculation errors is failing to convert microfarads (μF) or nanofarads (nF) to Farads. According to the NIST Guide to the SI, the prefix 'micro' denotes a factor of 10⁻⁶. If you input C = 100 instead of C = 0.0001 into the denominator of the exponent, your time constant becomes 10,000 times larger than reality. The calculator will output an exponent near zero, e⁰ = 1, and tell you the capacitor hasn't discharged at all, leading you to undersize your hold-up circuitry.
What a Realistic Answer Magnitude Looks Like
When verifying your calculator's output, apply a sanity check based on realistic magnitudes:
- Time Constant (τ): In low-power electronics, τ typically ranges from 100 μs to 5 seconds. If your calculated τ is 4,000 seconds, you forgot to convert μF to F.
- Voltage (V(t)): Must always be strictly less than V₀ and greater than or equal to 0V. If your calculator outputs a voltage higher than V₀, you accidentally used a positive exponent (omitted the unary negative sign).
- Time (t): Must be a positive value. If solving for t yields a negative number, you forgot the leading negative sign in the rearranged formula t = -RC · ln(V(t)/V₀).
Mastering the syntax of your calculator is just as critical as understanding the circuit theory. By respecting SI base units, properly bracketing fractional exponents, and utilizing the correct unary negative key, you transform the RC discharge formula from a source of bench frustration into a precise diagnostic tool.






