The fundamental formula for capacitor voltage in a static DC state is V = Q / C. In dynamic circuits where current flows over time, it is expressed as the integral of current: v(t) = (1/C) ∫ i(t) dt + V₀. Whether you are sizing a filter capacitor for a power supply or calculating the delay of an RC timing circuit, getting the math right—and more importantly, getting the units right—is the difference between a working prototype and a popped component.
The Core Formula for Capacitor Voltage (Symbol Table & Rearrangements)
At the bench, we rarely deal with static charge directly. Instead, we measure current over time to find voltage. The static definition (V = Q/C) and the dynamic calculus definition are two sides of the same coin. Here is the exact mathematical breakdown and what every symbol means in practical terms.
| Symbol | Variable | SI Base Unit | Common Bench Prefixes |
|---|---|---|---|
| V or v(t) | Voltage across the capacitor | Volts (V) | mV, kV |
| Q | Electric charge stored | Coulombs (C) | μC, mC |
| C | Capacitance | Farads (F) | pF, nF, μF, mF |
| i(t) | Current flowing into the capacitor | Amperes (A) | μA, mA |
| t | Time | Seconds (s) | ms, μs |
| V₀ | Initial voltage at t=0 | Volts (V) | None |
Rearranged Forms for the Workbench
You will frequently need to solve for a variable other than voltage. Keep these rearranged forms handy:
- Charge (Q):
Q = C × V(Useful for calculating energy storage or bleed resistor sizing) - Capacitance (C):
C = Q / V(Useful when you know the required charge hold-up for a specific voltage rail) - Current (i):
i = C × (dV/dt)(The derivative form; critical for calculating inrush current or ripple current) - Time (Δt) for constant current:
Δt = (C × ΔV) / I(Useful for constant-current LED driver or supercapacitor sizing)
Boundary Conditions: When the Formula Applies (And When It Doesn't)
The equations above assume an ideal capacitor. According to HyperPhysics, an ideal capacitor stores charge perfectly with zero losses. In the real world, the formula applies strictly under the following assumptions:
- DC or Low-Frequency AC: At high frequencies, Equivalent Series Inductance (ESL) dominates, and the component behaves more like an inductor than a capacitor.
- Below Rated Voltage (WVDC):strong> The formula assumes the dielectric remains intact. If V exceeds the Working Voltage DC rating, the dielectric breaks down, current arcs through the component, and the math is replaced by thermodynamics (often violently).
- Ignoring Leakage: The integral formula assumes all current
i(t)goes toward storing charge. In reality, electrolytic and tantalum capacitors have parallel leakage resistance that bleeds charge away over time.
What Does a Realistic Answer Magnitude Look Like?
If your calculation yields 4,500 Volts for a 5V logic circuit, you have a unit error. In standard bench electronics:
- Charge (Q): Usually in the microcoulomb (μC) to millicoulomb (mC) range. A massive 1F supercapacitor at 2.7V holds just 2.7 Coulombs.
- Capacitance (C): Typically 100pF to 10,000μF (0.01F) for standard PCB work.
- Voltage (V): 1.8V to 400V, depending on the domain (logic vs. mains rectification).
Unit Traps That Will Break Your Math (And Your Board)
The most common mistake hobbyists make is plugging the face value of a capacitor into the formula without converting to base SI units. If you use
C = 100 instead of C = 100 × 10⁻⁶ for a 100μF capacitor, your calculated voltage will be off by a factor of one million. Always convert μF to Farads (multiply by 10⁻⁶) and mA to Amperes (multiply by 10⁻³) before running the math.
Another frequent error involves the time variable in the dynamic formula. Oscilloscopes often display timebases in milliseconds (ms) or microseconds (μs). If your current is in Amperes and capacitance in Farads, your time must be in seconds. Mixing milliseconds with base units will result in a voltage calculation that is 1,000 times too low.
Solved Problems: Tracking Units from Microfarads to Volts
Let's run through two common bench scenarios, explicitly tracking the unit conversions at every intermediate step.
Problem 1: Static Charge Voltage Calculation
Scenario: You have a 220 μF electrolytic capacitor that has been charged with 4.7 mC of stored charge. What is the voltage across its terminals?
- Identify the formula: V = Q / C
- Convert to base SI units:
Q = 4.7 mC = 4.7 × 10⁻³ C
C = 220 μF = 220 × 10⁻⁶ F - Substitute and solve:
V = (4.7 × 10⁻³) / (220 × 10⁻⁶)
V = 0.0047 / 0.000220
V = 21.36 V
Bench check: 21.36V is a perfectly realistic magnitude for a standard 25V-rated electrolytic capacitor.
Problem 2: Constant Current Charging (Dynamic)
Scenario: A constant current source feeds 50 mA into an uncharged 1000 μF capacitor for 0.2 seconds. What is the final voltage?
- Identify the formula: For constant current, the integral simplifies to ΔV = (I × t) / C. Since V₀ = 0, V_final = ΔV.
- Convert to base SI units:
I = 50 mA = 0.05 A
t = 0.2 s (already in base units)
C = 1000 μF = 1000 × 10⁻⁶ F = 0.001 F - Substitute and solve:
V = (0.05 × 0.2) / 0.001
V = 0.01 / 0.001
V = 10 V
Bench check: If you are using a standard 16V-rated 1000μF capacitor, 10V is well within the safe operating area. If you had forgotten to convert 50mA to 0.05A, you would have calculated 10,000V—a dead giveaway of a unit error.
Bench War Story: A Real-World Scenario Walkthrough
Formulas assume ideal components. Here is a scenario where the math was perfect, but the physical component lied to me.
The Setup
I was designing a soft-start delay circuit for a 12V LED strip. The goal was to use an RC network to slowly charge a capacitor, which would then trigger the gate of an N-channel MOSFET (IRLZ44N) once the gate threshold voltage reached roughly 4.5V.
- Supply Voltage (Vs): 12V
- Resistor (R): 100 kΩ
- Capacitor (C): 10 μF
- Target Voltage (Vt): 4.5V
The Numbers
Using the standard RC charging formula (derived directly from the integral form of the capacitor voltage equation and Kirchhoff's Voltage Law, as detailed in All About Circuits):
V(t) = Vs × (1 - e^(-t/RC))
- Plug in the target:
4.5 = 12 × (1 - e^(-t / (100,000 × 10 × 10⁻⁶))) - Simplify the time constant (τ = RC):
τ = 1 second. - Divide by 12:
0.375 = 1 - e^(-t) - Rearrange:
e^(-t) = 0.625 - Natural log:
-t = ln(0.625) ≈ -0.47 - Calculated Delay: 0.47 seconds.
The Outcome
I breadboarded the circuit, connected my oscilloscope to the MOSFET gate, and powered it up. The MOSFET didn't turn on at 0.47 seconds. It turned on at roughly 1.8 seconds, and the delay drifted wildly depending on how warm the board was.
What Went Wrong
The math was flawless; the component selection was poor. I had used a cheap, generic 10 μF aluminum electrolytic capacitor. Electrolytic capacitors are notorious for leakage current. According to Analog Devices, electrolytic leakage can be modeled as a high-value resistor in parallel with the ideal capacitor.
At 4.5V, the charging current through the 100kΩ resistor is only 75 μA. The cheap electrolytic capacitor had a leakage current of nearly 15 μA at that voltage. That leakage was 'stealing' 20% of my charging current, severely stretching the time it took to reach the 4.5V threshold. Furthermore, electrolytic leakage is highly temperature-dependent, which explained the thermal drift.
The Fix: I swapped the electrolytic for a 10 μF X7R multilayer ceramic capacitor (MLCC). Ceramic capacitors have virtually zero leakage current. With the X7R in place, the oscilloscope showed the gate crossing the 4.5V threshold at exactly 0.48 seconds (the 0.01s difference was due to the ±10% tolerance of the ceramic dielectric). The formula for capacitor voltage only works when you respect the physical limitations of the dielectric material you choose.






