The universal equation for voltage across a capacitor in a DC resistor-capacitor (RC) network is VC(t) = Vf + (Vi - Vf)e-t/(R×C). When charging from zero volts toward a supply voltage Vs, this simplifies to VC(t) = Vs(1 - e-t/(R×C)). This formula dictates everything from 555 timer oscillation frequencies to microcontroller brownout reset delays.

The Core Equation and Symbol Definitions

To use this formula on the bench, you must understand exactly what each variable represents and the physical assumptions baked into the math. Below is the complete specification sheet for the universal RC step-response equation.

Symbol Parameter Standard Unit Definition
VC(t) Capacitor Voltage Volts (V) The voltage across the capacitor at a specific time t.
Vf Final Voltage Volts (V) The steady-state target voltage the capacitor is charging toward or discharging toward (often Vs or 0V).
Vi Initial Voltage Volts (V) The voltage across the capacitor at t = 0 (the exact moment the step input occurs).
e Euler's Number Dimensionless The base of the natural logarithm, approximately 2.71828.
t Time Seconds (s) The elapsed time since the step input was applied.
R Resistance Ohms (Ω) The Thevenin equivalent resistance seen by the capacitor.
C Capacitance Farads (F) The nominal capacitance value of the component.
When this formula applies (and its assumptions):
This equation assumes an ideal capacitor with zero Equivalent Series Resistance (ESR) and zero leakage current. It assumes the voltage source is a perfect, instantaneous DC step function with zero internal impedance, and that the resistor is purely ohmic. In reality, electrolytic capacitors have leakage that will slightly alter Vf over long durations, and high-speed switching will introduce ESR voltage spikes not captured by this equation.

Rearranged Forms for Circuit Design

On the workbench, you rarely solve for VC(t) directly. Usually, you know the voltage threshold you need to hit and need to size the passive components or calculate the delay. Here are the algebraically rearranged forms solving for each design variable:

  • Solve for Time (t): t = -R × C × ln((VC - Vf) / (Vi - Vf))
  • Solve for Resistance (R): R = -t / (C × ln((VC - Vf) / (Vi - Vf)))
  • Solve for Capacitance (C): C = -t / (R × ln((VC - Vf) / (Vi - Vf)))

Note: 'ln' represents the natural logarithm (base e).

Worked Example 1: Calculating RC Charge Time for a Logic Threshold

Scenario: You are designing a power-on reset delay for an ESP32 microcontroller. The EN (enable) pin requires a logic HIGH threshold of 3.3V to boot. You have a 5.0V supply (Vf), a 10 kΩ pull-up resistor (R), and a 10 μF capacitor to ground (C). The capacitor starts fully discharged (Vi = 0V). How long (t) does it take for the voltage across the capacitor to reach 3.3V?

  1. Identify knowns with base units:
    Vf = 5.0 V
    Vi = 0 V
    VC = 3.3 V
    R = 10,000 Ω
    C = 10 × 10-6 F (0.00001 F)
  2. Select the rearranged time formula:
    t = -R × C × ln((VC - Vf) / (Vi - Vf))
  3. Substitute values and track units:
    t [s] = -(10,000 [Ω]) × (0.00001 [F]) × ln((3.3 [V] - 5.0 [V]) / (0 [V] - 5.0 [V]))
  4. Simplify the RC time constant (τ):
    10,000 [Ω] × 0.00001 [F] = 0.1 [s] (Since 1 Ω × 1 F = 1 Second)
  5. Solve the natural log term:
    ln(-1.7 [V] / -5.0 [V]) = ln(0.34) ≈ -1.0788
  6. Calculate final time:
    t = -0.1 [s] × -1.0788 = 0.10788 seconds (or 107.9 ms)

The ESP32 will remain in reset for approximately 108 milliseconds before booting. For deeper context on microcontroller reset thresholds, refer to the Espressif ESP32 Hardware Design Guidelines.

Worked Example 2: Sizing a Hold-Up Capacitor for a Brownout Reset

Scenario: A 5V sensor rail suddenly drops to 0V (Vf = 0V). You need the capacitor to keep a pull-up network above 2.5V (VC) for at least 50 ms (t) so the MCU can write critical data to EEPROM. The load resistance of the network is 1 kΩ (R). The capacitor was fully charged to 5V (Vi = 5V). What minimum capacitance (C) is required?

  1. Identify knowns with base units:
    Vf = 0 V
    Vi = 5.0 V
    VC = 2.5 V
    t = 0.050 s
    R = 1,000 Ω
  2. Select the rearranged capacitance formula:
    C = -t / (R × ln((VC - Vf) / (Vi - Vf)))
  3. Substitute values:
    C [F] = -0.050 [s] / (1,000 [Ω] × ln((2.5 [V] - 0 [V]) / (5.0 [V] - 0 [V])))
  4. Solve the natural log term:
    ln(2.5 / 5.0) = ln(0.5) ≈ -0.6931
  5. Calculate final capacitance:
    C = -0.050 / (1,000 × -0.6931) = -0.050 / -693.1 = 0.00007214 [F]
  6. Convert to standard engineering units:
    0.00007214 F = 72.14 μF

You must select a capacitor larger than 72.14 μF. A standard 100 μF part provides a safe 38% margin to account for capacitor tolerance and dielectric absorption.

Common Unit Traps and Realistic Magnitudes

The most common reason RC calculations fail on the bench isn't bad algebra; it's unit mismanagement. Keep these specific traps in mind:

  • The Microfarad Trap: Schematic symbols say '10uF', but the formula demands Farads. If you punch C = 10 into your calculator instead of C = 0.00001, your calculated time will be off by a factor of one million. Always convert to base units (Farads, Ohms, Seconds) before calculating.
  • The Millisecond Trap: Oscilloscopes read in milliseconds (μs/ms), but the t variable in the exponent requires seconds. 50 ms must be entered as 0.050 s.
  • Realistic Answer Magnitudes: For standard 3.3V/5V logic timing circuits using common E12/E24 resistor values (1kΩ to 1MΩ) and standard capacitors (1nF to 1000μF), your calculated t should almost always fall between 1 μs and 5 seconds. If your math yields a delay of 4,000 seconds or 0.0000002 seconds for a simple LED flasher or reset circuit, you have missed a decimal prefix conversion.

For a comprehensive review of how these time constants interact with AC signals and frequency domains, the Electronics Tutorials RC Time Constant Guide is an excellent bench reference.

Decision Path: Selecting the Right Capacitor for Your Timing Circuit

Calculating the theoretical farad value is only half the job. Real capacitors have parasitic properties that ruin timing accuracy if chosen poorly. Use this decision tree to select the physical component based on your calculated time constant (τ = R × C).

Condition (Calculated τ) Primary Failure Mode to Avoid Required Dielectric / Chemistry
τ < 10 ms Capacitance drift under DC bias C0G / NP0 Ceramic
10 ms ≤ τ ≤ 500 ms High leakage current altering Vf Low-Leakage Aluminum Electrolytic or X7R Ceramic
τ > 500 ms Physical size limits and dielectric absorption Supercapacitor (EDLC) or Tantalum
The Default Bench Pick:
For the vast majority of microcontroller reset delays, debounce filters, and 555-timer astable circuits falling in the 10 ms to 500 ms range, do not overthink the BOM. Your default, go-to pick should be the Panasonic EEU-FR1V101 (100μF, 35V, FR-Series low-ESR aluminum electrolytic). It offers exceptionally low leakage current for an electrolytic part, tight tolerance, and costs under $0.20 in single quantities. If your math demands 47μF, use the 100μF part and slightly increase your series resistor to compensate; standardizing on the Panasonic FR series reduces inventory headaches and guarantees reliable timing across your projects.

By anchoring your design to the universal equation for voltage across a capacitor, tracking your base units rigorously, and matching the physical dielectric to your time constant, you eliminate the guesswork from RC timing circuits. For further component selection data, review the Panasonic FR-Series Capacitor specifications on Mouser to verify leakage current derating curves for your specific operating temperature.