The fundamental equation for a capacitor in a static DC state is C = Q / V, where capacitance (C) in Farads equals the stored charge (Q) in Coulombs divided by the potential difference (V) in Volts. For dynamic circuits where voltage changes over time, the governing time-domain equation is i = C(dv/dt), defining current (i) as capacitance multiplied by the rate of voltage change. Whether you are sizing a filter capacitor for a power supply or calculating the discharge time for a backup RTC circuit, tracking your SI prefixes through these formulas is the only way to avoid catastrophic magnitude errors on the bench.
The Core Equation for a Capacitor and Symbol Definitions
Before manipulating the math, we must strictly define the variables. The two primary equations for a capacitor cover static charge storage and dynamic current flow. According to Georgia State University's HyperPhysics, capacitance is fundamentally a geometric and material property, but electrically, we measure it via the charge-to-voltage ratio.
| Symbol | Quantity | SI Base Unit | Common Bench Sub-units |
|---|---|---|---|
| C | Capacitance | Farad (F) | µF (10⁻⁶), nF (10⁻⁹), pF (10⁻¹²) |
| Q | Electric Charge | Coulomb (C) | mC (10⁻³), µC (10⁻⁶) |
| V | Potential Difference (Voltage) | Volt (V) | mV (10⁻³) |
| i | Current | Ampere (A) | mA (10⁻³), µA (10⁻⁶) |
| dv/dt | Rate of Voltage Change | Volts per second (V/s) | V/ms, V/µs |
The static equation C = Q / V tells us that a 1-Farad capacitor storing 1 Coulomb of charge will exhibit 1 Volt across its terminals. The dynamic equation i = C(dv/dt) reveals a critical bench reality: if the voltage across a capacitor changes instantaneously (dt approaches 0), the required current approaches infinity. This is why we use series resistors to limit inrush current when charging large capacitor banks.
Rearranged Forms: Solving for Every Variable
On the workbench, you rarely solve for C directly using Q and V. Instead, you use known component values to find the missing electrical parameter. Here are the algebraic rearrangements for both the static and dynamic equations for a capacitor.
Static (DC) Rearrangements
- Solving for Charge: Q = C × V
- Solving for Voltage: V = Q / C
Dynamic (Time-Domain) Rearrangements
- Solving for Current: i = C × (dv/dt)
- Solving for Capacitance: C = i / (dv/dt)
- Solving for Slew Rate (Voltage Change): dv/dt = i / C
These rearranged forms are the backbone of RC time constant calculations and power integrity analysis. As noted in the All About Circuits DC textbook, mastering the Q = C × V rearrangement is essential for understanding energy delivery in pulsed loads, like firing a solenoid or driving a high-power LED flash.
Worked Examples with Strict Unit Tracking
The most common point of failure in capacitor math is ignoring SI prefixes. A 100 nF capacitor is not "100" in the equation; it is 0.0000001 F. Below are two solved problems demonstrating strict unit tracking.
Problem 1: Finding Stored Charge in a Filter Capacitor
Scenario: You have a 470 µF aluminum electrolytic capacitor serving as a bulk filter on a 24 V DC motor driver board. The capacitor is fully charged to 24 V. What is the total stored charge (Q)?
- Identify the formula: Q = C × V
- Convert to base SI units:
C = 470 µF = 470 × 10⁻⁶ F = 0.00047 F
V = 24 V (already in base units) - Substitute and solve:
Q = 0.00047 F × 24 V
Q = 0.01128 Coulombs - Convert to practical units:
Q = 11.28 mC (millicoulombs)
Bench Insight: While 11.28 mC sounds small, if that charge is dumped into a low-resistance short circuit in 1 millisecond, the instantaneous peak current is i = Q/t = 0.01128 / 0.001 = 11.28 Amps. This is why PCB traces connecting bulk capacitors must be sized for high transient currents, not just steady-state DC.
Problem 2: Finding Current from a Voltage Ramp
Scenario: A 100 nF X7R ceramic capacitor is used in a snubber network. The voltage across it ramps linearly from 0 V to 15 V over a period of 2 milliseconds (ms). What is the charging current (i) during this ramp?
- Identify the formula: i = C × (dv/dt)
- Calculate dv and dt in base units:
dv = 15 V - 0 V = 15 V
dt = 2 ms = 2 × 10⁻³ s = 0.002 s - Calculate the slew rate (dv/dt):
dv/dt = 15 V / 0.002 s = 7,500 V/s - Convert C to base units and solve:
C = 100 nF = 100 × 10⁻⁹ F = 0.0000001 F
i = (100 × 10⁻⁹ F) × 7,500 V/s
i = 0.00075 Amperes - Convert to practical units:
i = 0.75 mA
Assumptions, Realistic Magnitudes, and Unit Traps
The standard equation for a capacitor assumes an ideal component. In reality, every physical capacitor has Equivalent Series Resistance (ESR), Equivalent Series Inductance (ESL), and dielectric leakage. When applying C = Q / V or i = C(dv/dt) to real-world designs, you must account for the following edge cases.
When the Formula Applies (and When It Doesn't)
The basic equations assume a linear dielectric. This holds true for C0G/NP0 ceramics, film capacitors, and aluminum electrolytics. However, it fails dramatically for Class II ceramics (X7R, Y5V). An X7R capacitor rated at 10 µF and 50V might actually exhibit only 4 µF of capacitance when 50V is applied due to DC bias derating. If you use the nominal 10 µF value in your i = C(dv/dt) calculation for a 50V snubber, your predicted current will be off by 60%. Always check the manufacturer's DC bias curve.
Realistic Answer Magnitudes
If your calculation yields a capacitance of 5 Farads for a standard PCB decoupling application, you have made a math error. Standard ceramic decoupling caps range from 10 pF to 10 µF. Bulk electrolytics range from 10 µF to 10,000 µF. Supercapacitors (EDLCs) operate in the 1 F to 3,000 F range but are limited to low voltages (typically 2.5V to 2.7V per cell). If your calculated charge Q is in the hundreds of Coulombs, you are likely looking at a high-voltage utility power factor correction bank, not a hobbyist circuit.
Unit Mistakes That Break the Math
- The Micro vs. Milli Trap: Confusing µF (10⁻⁶) with mF (10⁻³). Note that in some legacy schematics, "mF" was mistakenly used to mean microfarad. Always verify context. In modern SI, mF is millifarad (1,000 µF).
- Ignoring the Time Denominator: Plugging a time value of 5 ms directly into dt as "5" instead of "0.005". This inflates your dv/dt calculation by a factor of 1,000.
- Peak vs. RMS Voltage: When using the static equation Q = C × V in an AC context, V must be the peak voltage, not the RMS voltage. A 120V RMS mains sine wave has a peak voltage of ~170V. Sizing a capacitor's charge calculation using 120V will underestimate the peak charge by 41%.
Frequently Asked Questions
What is the equation for a capacitor in an AC circuit?
In a steady-state AC sinusoidal circuit, we rarely use the time-domain derivative. Instead, we use the equation for capacitive reactance: Xc = 1 / (2πfC), where Xc is the opposition to AC current in Ohms, f is the frequency in Hertz, and C is the capacitance in Farads. This equation shows that as frequency increases, the capacitor's impedance drops, which is why capacitors act as short circuits to high-frequency noise.
How does the equation for a capacitor change in series vs parallel?
When combining multiple components, the equivalent capacitance (C_eq) equations invert compared to resistors. For capacitors in parallel, the plates effectively combine, so you add them directly: C_eq = C1 + C2 + C3. For capacitors in series, the distance between the effective plates increases, so you use the reciprocal sum: 1/C_eq = 1/C1 + 1/C2 + 1/C3. This series equation is critical when stringing supercapacitors to achieve higher voltage ratings.
Why does the equation for a capacitor energy use a 1/2 multiplier?
The energy (E) stored in a capacitor is given by E = ½CV² (measured in Joules). The ½ multiplier exists because the voltage across the capacitor is not constant during charging; it ramps linearly from 0 to V. The first electron requires almost zero work to move, while the last electron requires work against the full voltage V. Integrating the work done (W = ∫ V dq) over the charging process mathematically results in the ½ factor. For a deep dive into the calculus behind this derivation, refer to Cornell Dubilier's technical guides on energy storage physics.
Does the equation for a capacitor apply to supercapacitors?
Yes, the fundamental C = Q / V equation applies to Electric Double-Layer Capacitors (EDLCs or supercapacitors). However, supercapacitors exhibit massive non-ideal behaviors. Their internal ESR is significantly higher than ceramic caps, and they suffer from high self-discharge (leakage current). Furthermore, because their maximum voltage per cell is strictly limited to ~2.7V, applying a 5V logic rail directly to a 2.7V supercapacitor will destroy the dielectric layer, rendering the C = Q / V equation moot as the component fails short.






