If you are designing a power supply, sizing a backup rail, or calculating the discharge energy of a flash circuit, you need more than a rote memorization of C = Q/V. You need to understand how the core capacitor formulas derive from one another, how to track units so your microfarads don't accidentally become kilofarads, and where the ideal math breaks down on a real workbench. The fundamental capacitor formula is C = Q/V, but in practical circuit design, the dynamic current formula I = C(dV/dt) and the energy formula E = ½CV2 do the actual heavy lifting.
The Core Capacitor Formulas and Symbol Definitions
Before we plug in numbers, let's establish the math. The static definition of capacitance is the ratio of stored charge to the voltage across the plates:
C = Q / V
To get the dynamic (time-varying) formula used for ripple and transient sizing, we take the derivative of both sides with respect to time (t). Since current (I) is defined as the rate of charge flow over time (dQ/dt), the derivative of Q becomes I:
I = C · (dV / dt)
For discrete time steps on a bench (like a microcontroller brownout or a rectifier ripple), we replace the calculus notation with deltas:
I = C · (ΔV / Δt)
Finally, the energy stored in the electric field between the plates is derived by integrating the power (P = V · I) over the charging time, yielding:
E = ½ · C · V2
| Symbol | Name | SI Base Unit | Common Bench Unit | Conversion Factor |
|---|---|---|---|---|
| C | Capacitance | Farad (F) | Microfarad (μF) | 1 μF = 10-6 F |
| Q | Electric Charge | Coulomb (C) | MilliCoulomb (mC) | 1 mC = 10-3 C |
| V or ΔV | Voltage / Voltage Drop | Volt (V) | Volt (V) | None |
| I | Current | Ampere (A) | Milliampere (mA) | 1 mA = 10-3 A |
| t or Δt | Time / Time Interval | Second (s) | Millisecond (ms) | 1 ms = 10-3 s |
| E | Stored Energy | Joule (J) | Joule (J) | None |
Rearranged Forms for Quick Solving
When you are staring at a blank schematic, you rarely need to solve for C in a vacuum. Here are the algebraic rearrangements you will actually use at the bench:
- From C = Q / V: → Q = C · V | V = Q / C
- From I = C · (ΔV / Δt): → C = (I · Δt) / ΔV | ΔV = (I · Δt) / C | Δt = (C · ΔV) / I
- From E = ½ · C · V2: → C = 2E / V2 | V = √(2E / C)
Assumptions, Limitations, and Unit Traps
The formulas above describe an ideal capacitor. On a real workbench in 2026, components have parasitics. Here is when the math holds up, and when it will lead you astray.
When the Formula Applies (and Its Assumptions)
The static formula (C = Q/V) assumes a linear dielectric. Class II ceramic capacitors (like X7R or Y5V) suffer from severe DC bias derating; a 10μF 0805 X7R cap might only provide 4μF at its rated 50V. The dynamic formula (I = CΔV/Δt) assumes the Equivalent Series Resistance (ESR) and Equivalent Series Inductance (ESL) are negligible. If you are sizing a decoupling cap for a 2.4GHz RF trace, ESL dominates, and the simple time-domain formula is useless. For bulk power filtering and low-frequency ride-through, however, the assumptions hold perfectly.
The Unit Mistakes That Break the Math
The most common way to brick a prototype or blow a fuse is the 10-6 microfarad trap. If you plug C = 100 into E = ½CV2 thinking in μF but calculating in base SI units, your energy result will be one million times too high. Rule of thumb: Always convert μF to Farads (multiply by 10-6), mA to Amps (multiply by 10-3), and ms to seconds (multiply by 10-3) before touching the calculator.
What a Realistic Answer Magnitude Looks Like
Developing an intuition for magnitudes prevents catastrophic errors. A standard 4700μF 50V aluminum electrolytic capacitor stores roughly 5.87 Joules of energy. That is enough to melt a small screwdriver tip or give you a sharp shock, but it is not a lethal defibrillator pulse (which requires ~300J). If your calculation says a 100μF cap stores 50,000 Joules, you forgot to convert microfarads to Farads.
Solved Problems with Strict Unit Tracking
Let's run two common bench scenarios, tracking every unit conversion to ensure the math survives contact with reality. For deeper theoretical background on these derivations, refer to standard texts like Electronics Tutorials on Capacitance or All About Circuits.
Problem 1: Linear Power Supply Ripple Sizing
Scenario: You are building a 12V linear power supply using a 60Hz AC transformer and a full-wave bridge rectifier. The load draws a steady 500mA. You can tolerate a maximum voltage ripple (ΔV) of 0.5V. What bulk capacitance do you need?
- Identify the formula: We need to find C based on current, time, and voltage drop. Use C = (I · Δt) / ΔV.
- Convert to SI base units:
I = 500 mA = 0.5 A
ΔV = 0.5 V - Calculate Δt: A full-wave rectifier on a 60Hz mains supply charges the cap twice per cycle (120Hz). The time between peaks is 1 / 120 seconds.
Δt = 1 / 120 = 0.00833 s - Execute the math:
C = (0.5 A · 0.00833 s) / 0.5 V
C = 0.004165 / 0.5 = 0.00833 F - Convert to bench units: 0.00833 F · 1,000,000 = 8330 μF.
Bench Decision: 8330μF is not a standard value. You would select the next standard size up, likely a 10,000μF 25V or 35V electrolytic capacitor, to account for capacitor aging and tolerance (typically -20% for electrolytics).
Problem 2: Camera Flash Energy Dump
Scenario: You are repairing a vintage strobe circuit. The main discharge capacitor is rated at 330μF and charges to 300V DC. How much energy will dump into the xenon tube, and is it safe to short with a standard 1/4W resistor?
- Identify the formula: We need total stored energy. Use E = ½ · C · V2.
- Convert to SI base units:
C = 330 μF = 330 × 10-6 F (or 0.00033 F)
V = 300 V - Execute the math:
E = 0.5 · 0.00033 F · (300 V)2
E = 0.5 · 0.00033 · 90,000
E = 14.85 Joules - Safety Check: Dumping 14.85J instantly into a 1/4W (0.25J/s) carbon film resistor will vaporize it. You must use a high-energy wirewound resistor or a dedicated discharge tool rated for at least 20J pulse energy.
Real-World Bench Scenario: ESP32 Brownout Ride-Through
Formulas are clean; reality is messy. Here is a walkthrough of a real-world failure where blindly trusting the ideal capacitor formula led to a system crash, and how understanding parasitics fixed it.
The Setup
We needed to design a brownout ride-through circuit for an ESP32-WROOM-32 logging sensor. When main 5V power drops, the ESP32 needs to keep its 3.3V rail alive just long enough to write 4KB of data to the internal NVS (Non-Volatile Storage) and shut down gracefully. The datasheet states the ESP32 draws a steady 160mA during this write operation, and the flash write takes exactly 2.0 seconds. The ESP32 brownout detector triggers a panic reset if the 3.3V rail dips below 2.8V.
The Numbers (Ideal Math)
We used the rearranged dynamic formula to size the backup supercapacitor:
- I = 160 mA = 0.16 A
- Δt = 2.0 s
- ΔV = 3.3V (start) - 2.8V (end) = 0.5 V
C = (0.16 A · 2.0 s) / 0.5 V = 0.64 F (640,000 μF).
Looking at the parts bin, we found a generic 1.0F, 5.5V coin-cell supercapacitor. Since 1.0F > 0.64F, the ideal math said we had a 56% safety margin. We wired it directly to the 3.3V rail behind a Schottky diode.
The Outcome
We pulled the main power plug. The ESP32 immediately browned out and rebooted into a bootloop. The 3.3V rail collapsed from 3.3V to 1.1V in less than 50 milliseconds. The 1.0F capacitor was fully charged, but it failed to deliver the current.
What Went Wrong: The ESR Trap
The formula I = C(ΔV/Δt) assumes the capacitor has zero internal resistance. Cheap 1.0F coin supercapacitors have a massive Equivalent Series Resistance (ESR)—often between 20Ω and 50Ω.
When the ESP32 demanded 160mA, Ohm's law dictated the voltage drop across the capacitor's internal resistance: Vdrop = I · ESR.
Vdrop = 0.16 A · 30Ω = 4.8 V.
The capacitor was trying to drop 4.8V internally just to push the current out of its terminals. Since it only had 3.3V to begin with, the terminal voltage instantly collapsed to near zero, triggering the ESP32 brownout reset before the capacitance could even begin to discharge.
The Fix
We ditched the high-ESR coin cell and switched to two 5.0F, 2.7V radial-can supercapacitors wired in series.
- Capacitance: Two 5F caps in series yields 2.5F (still well above the 0.64F requirement).
- Voltage Rating: 2.7V + 2.7V = 5.4V (safe for a 3.3V rail).
- ESR: Radial cans of this size typically have an ESR of ~40mΩ (0.04Ω) each. In series, total ESR = 0.08Ω.
Re-running the voltage drop check: Vdrop = 0.16 A · 0.08Ω = 0.0128 V (12.8 mV). The rail stayed rock solid at ~3.28V under load, and the ESP32 successfully finished its 2-second NVS write before gracefully entering deep sleep. The math works, but only if you respect the parasitics.






