The fundamental time-domain voltage equation for a capacitor is v(t) = (1/C) ∫ i(τ) dτ + v(t₀). This integral form dictates that the voltage across a capacitor at any given moment is the sum of its initial voltage and the accumulated charge (the integral of current over time) divided by its capacitance. For static DC conditions where current has ceased and charge is fixed, this simplifies to the foundational electrostatic equation: V = Q / C.
Whether you are designing a timing circuit with a 555 timer, sizing a bulk decoupling capacitor for an ESP32 brownout, or analyzing power factor correction banks, understanding how to manipulate and solve this equation is non-negotiable. Below is the complete breakdown, rearranged forms, and bench-tested worked examples.
The Core Voltage Equation for a Capacitor
In circuit theory, we rarely deal with static charge (Q). Instead, we measure current (i) over time (t). By substituting Q = ∫ i(t) dt into the static equation, we derive the time-domain integral voltage equation for a capacitor:
v(t) = (1/C) ∫t₀t i(τ) dτ + v(t₀)
Here is the spec-sheet definition for every symbol in the equation:
| Symbol | Parameter | Standard SI Unit | Practical Bench Context |
|---|---|---|---|
v(t) |
Voltage at time t | Volts (V) | The value you read on your multimeter or scope at a specific timestamp. |
C |
Capacitance | Farads (F) | Usually microfarads (µF) or picofarads (pF) in real circuits. |
i(τ) |
Current as a function of time | Amperes (A) | The charging or discharging current flow; τ (tau) is the dummy integration variable. |
t |
Final time | Seconds (s) | The specific moment you are evaluating the circuit. |
t₀ |
Initial time | Seconds (s) | Usually set to 0 for simplicity when a switch closes. |
v(t₀) |
Initial voltage | Volts (V) | The pre-existing charge on the capacitor before t₀. Often 0V, but not always. |
Rearranged Forms and Derivative Equivalents
On the bench, you rarely solve for v(t) in isolation. You are usually trying to find the required capacitance to prevent a voltage droop, or calculating the inrush current. Here are the rearranged forms solving for each primary variable:
- Solving for Current (Derivative Form):
i(t) = C * (dv(t) / dt)
Use case: Calculating the massive inrush current spike when you first apply 12V to a bank of low-ESR MLCC capacitors. - Solving for Capacitance:
C = (∫ i(t) dt) / Δv
Use case: Sizing a supercapacitor to keep an RTC (Real Time Clock) alive during a 3-second power outage, given a maximum allowable voltage droop (Δv). - Solving for Voltage Change (Constant Current):
Δv = (I * Δt) / C
Use case: Designing a linear ramp generator using a constant current source (like an LM334) charging a capacitor. - Solving for Time (Constant Current):
Δt = (C * Δv) / I
Use case: Calculating the exact delay time in a 555 timer monostable circuit.
Assumptions, Unit Traps, and Realistic Magnitudes
When the Formula Applies (and Its Assumptions)
The integral voltage equation for a capacitor assumes an ideal component. It assumes the dielectric is perfectly linear (capacitance does not change with applied voltage, which is false for Class II ceramics like X7R/Y5V) and ignores parasitic elements. In high-frequency or high-ripple applications, you must account for Equivalent Series Resistance (ESR) and Equivalent Series Inductance (ESL). The real-world voltage is actually v_real(t) = v_ideal(t) + (i(t) * ESR) + (ESL * di/dt).
The Unit Mistakes That Break the Math
The most common reason a hobbyist's calculation yields a physically impossible answer is the prefix trap. The equation demands base SI units: Farads, Amperes, and Seconds.
If you plug 100 µF in as 100, and 5 mA in as 5, your result will be off by a factor of 100,000. Always convert to scientific notation before multiplying:
- Microfarads (µF) = multiply by
10⁻⁶ - Milliamps (mA) = multiply by
10⁻³ - Milliseconds (ms) = multiply by
10⁻³
What a Realistic Answer Magnitude Looks Like
Context is your sanity check. If you are calculating the voltage across a decoupling capacitor on a 5V Arduino breadboard and your math yields 4,500V, you missed a micro prefix.
- Signal/Timing Circuits: 0V to 5V (or 3.3V).
- DC Bus/Power Supply Filtering: 12V to 48V.
- Mains AC/DC Converters (Bulk Caps): 160V to 400V DC.
- High Voltage/Defibrillator/Pulse: 1kV to 5kV.
Worked Examples with Unit Tracking
Let's run through two common bench scenarios, tracking every unit conversion to ensure accuracy. For deeper theoretical background on capacitor behavior, refer to the Georgia State University HyperPhysics capacitor module or the Electronics Tutorials capacitance guide.
Problem 1: Constant Current Linear Charging
Scenario: You are using a constant current diode to charge a 470 µF electrolytic capacitor at 25 mA. The capacitor starts fully discharged (0V). What is the voltage across the capacitor after 200 ms?
Step 1: Identify and convert variables to base SI units.
C = 470 µF = 470 × 10⁻⁶ FI = 25 mA = 25 × 10⁻³ AΔt = 200 ms = 200 × 10⁻³ sv(t₀) = 0 V
Step 2: Select the constant current rearranged form.
Δv = (I * Δt) / C
Step 3: Substitute and solve.
Δv = (25 × 10⁻³ A * 200 × 10⁻³ s) / (470 × 10⁻⁶ F)
Δv = (0.005 Coulombs) / (0.00047 Farads)
Δv = 10.638 V
Step 4: Add initial voltage.
v(t) = 10.638 V + 0 V = 10.638 V.
Bench check: This is a realistic magnitude for a standard bench power supply timing circuit.
Problem 2: Discharge Phase with Initial Voltage
Scenario: A 10 µF ceramic capacitor in a sample-and-hold circuit is charged to 5.0V. A discharge path is opened, drawing a constant -2 mA for 10 ms. What is the final voltage?
Step 1: Convert to base SI units.
C = 10 µF = 10 × 10⁻⁶ FI = -2 mA = -2 × 10⁻³ A(Negative because it is discharging)Δt = 10 ms = 10 × 10⁻³ sv(t₀) = 5.0 V
Step 2: Calculate the change in voltage (Δv).
Δv = (I * Δt) / C
Δv = (-2 × 10⁻³ A * 10 × 10⁻³ s) / (10 × 10⁻⁶ F)
Δv = (-0.00002) / (0.00001)
Δv = -2.0 V
Step 3: Apply the integral equation.
v(t) = Δv + v(t₀)
v(t) = -2.0 V + 5.0 V = 3.0 V.
Bench check: The voltage dropped by exactly 2V, leaving 3V on the cap. The math holds, and 3V is well within the safe operating area for standard logic circuits.
Frequently Asked Questions
How does the voltage equation for a capacitor change in an AC circuit?
In steady-state AC analysis, we abandon the time-domain integral and move to the frequency domain using phasors. The voltage equation becomes V = I * Xc, where Xc is the capacitive reactance, defined as Xc = 1 / (2πfC). The integral equation still technically governs the instantaneous behavior, but using it to manually integrate a 60Hz sine wave cycle-by-cycle is impractical when complex impedance yields the RMS voltage instantly.
Why does the voltage equation for a capacitor include an initial voltage term?
Capacitors store energy in an electric field. Unlike a resistor, which has no "memory" of past current, a capacitor's current voltage is entirely dependent on its entire history of charge and discharge. The v(t₀) term represents the physical reality that if you disconnect a charged capacitor and reconnect it to a new circuit, it does not start at 0V. Omitting this term is the primary cause of simulation errors in SPICE when initial conditions (.IC) are not explicitly defined.
What is the difference between V=Q/C and the integral voltage equation for a capacitor?
V = Q/C is the static, electrostatic definition. It tells you the voltage if you know the exact number of Coulombs (Q) of charge sitting on the plates at a frozen moment in time. The integral equation v(t) = (1/C) ∫ i(τ) dτ + v(t₀) is the dynamic, circuit-theory equivalent. Because we cannot easily measure static charge (Q) on a breadboard, but we can measure current (i) over time (t) using an oscilloscope or multimeter, the integral form bridges the gap between physical charge and measurable circuit parameters.






