The fundamental capacitance formula is C = Q / V, where capacitance (C) in Farads equals the stored electric charge (Q) in Coulombs divided by the potential difference (V) in Volts. While textbook definitions stop there, applying this formula on the workbench requires strict unit tracking, an understanding of non-ideal parasitic elements, and a grasp of realistic magnitude scales. Below is a complete breakdown of the formula, its rearranged forms, and step-by-step solved problems that bridge abstract theory and practical circuit design.
The Core Capacitance Formula and Symbol Definitions
The primary electrical definition of capacitance relates the physical storage of charge to the voltage across the component's terminals. The formula is expressed as:
To use this formula without introducing calculation errors, every variable must be converted to its base SI unit before multiplying or dividing. The table below defines each symbol, its SI unit, and the common bench units you will encounter on component datasheets.
| Symbol | Parameter | SI Unit | Common Bench Units |
|---|---|---|---|
| C | Capacitance | Farad (F) | µF, nF, pF |
| Q | Electric Charge | Coulomb (C) | mC, µC, mAh (battery context) |
| V | Voltage (Potential Difference) | Volt (V) | mV, kV |
Rearranged Forms and Unit Tracking Rules
Depending on what you are solving for, the capacitance formula must be algebraically rearranged. Here are the standard forms used in circuit analysis:
- Solving for Charge: Q = C × V
- Solving for Voltage: V = Q / C
- Solving for Capacitance: C = Q / V
Unit Mistakes That Break the Formula
The most common reason hobbyists and students get wildly incorrect answers is failing to convert prefixed units into base SI units. Watch out for these specific traps:
- Microfarads vs. Millifarads: Datasheets often use µF (10-6 F), but some European manufacturers use mF to mean microfarad, while standard SI defines mF as millifarads (10-3 F). Always verify if a "10mF" capacitor is actually 10,000 µF or just a poorly labeled 10 µF part.
- Coulombs vs. Amp-Hours: If you are sizing a supercapacitor to replace a battery, you might see capacity listed in mAh. The formula requires Coulombs. Conversion: 1 mAh = 3.6 Coulombs.
- Time Confusion in Current Draws: Charge (Q) is often derived from current over time (Q = I × t). If current is in milliamps and time is in milliseconds, you must convert both to Amps and seconds to get Coulombs.
Assumptions, Limits, and Realistic Magnitudes
The formula C = Q / V assumes an ideal, linear capacitor. In reality, this formula applies strictly under the following assumptions:
- Linear Dielectric: The capacitance value does not change with applied voltage. (Note: Class II MLCC ceramics like X7R and Y5V exhibit severe voltage coefficient effects, losing up to 50% of their nominal capacitance at rated voltage).
- Steady-State DC or Low-Frequency AC: At high frequencies, parasitic Equivalent Series Inductance (ESL) dominates, and the component behaves like an inductor, rendering the basic capacitance formula insufficient for impedance calculations.
- Zero Leakage: The formula assumes charge (Q) remains perfectly stored. Real dielectrics leak current over time.
What a Realistic Answer Magnitude Looks Like
If your calculation yields a capacitance of 500 Farads for a standard PCB decoupling network, you have made a decimal error. Use this reference scale to sanity-check your results:
- 1 pF to 100 pF: RF matching networks, high-frequency filtering.
- 1 nF to 100 nF: Digital IC decoupling, timing circuits (e.g., 555 timers).
- 1 µF to 100 µF: Bulk decoupling, audio coupling, linear regulator stability.
- 1,000 µF to 10,000 µF: Power supply smoothing, motor start/run circuits.
- 1 F to 3,000 F: Supercapacitors for memory backup, regenerative braking, RTC hold-up.
Worked Problems: From Textbook to Breadboard
Let's walk through two distinct problems, explicitly tracking units at every intermediate step to prevent magnitude errors.
Problem 1: Calculating Stored Charge in a Filter Capacitor
Scenario: You have a 470 µF electrolytic capacitor charged to 16 V DC in a linear power supply. How much charge is stored?
- Identify and convert variables:
C = 470 µF = 470 × 10-6 F
V = 16 V - Select the rearranged formula:
Q = C × V - Substitute and solve:
Q = (470 × 10-6 F) × (16 V)
Q = 0.00752 Coulombs - Convert to practical units:
Q = 7.52 mC (millicoulombs)
Problem 2: Sizing a Decoupling Capacitor for a Voltage Droop
Scenario: A microcontroller peripheral draws a transient current of 50 mA for 10 ms. The local decoupling capacitor must supply this charge without the rail voltage dropping more than 0.2 V. What minimum capacitance is required?
- Calculate the required Charge (Q):
I = 50 mA = 0.05 A
t = 10 ms = 0.01 s
Q = I × t = 0.05 A × 0.01 s = 0.0005 Coulombs - Identify the allowable Voltage change (ΔV):
ΔV = 0.2 V - Select the formula and solve for C:
C = Q / ΔV
C = 0.0005 C / 0.2 V = 0.0025 Farads - Convert to standard component values:
C = 2,500 µF. (You would select the next standard value up, such as 3,300 µF).
Real-World Scenario: Sizing an ESP32 Bulk Capacitor
Theoretical formulas often fail when parasitic elements are ignored. Here is a real-world bench scenario where the capacitance formula provided the right number, but the wrong component choice caused a system failure.
The Setup
An ESP32-WROOM-32 module is transmitting a WiFi burst. The datasheet indicates a peak current spike (Ipeak) of 350 mA lasting for 2 ms. The 3.3V rail has a brownout reset threshold of 3.0V. We need to size a bulk capacitor to handle this transient, assuming the main LDO cannot respond fast enough to the 2 ms spike.
The Numbers
- Calculate Charge (Q):
Q = I × t = 0.35 A × 0.002 s = 0.0007 C - Calculate Allowable Voltage Droop (ΔV):
ΔV = 3.3V - 3.0V = 0.3 V - Calculate Required Capacitance (C):
C = Q / ΔV = 0.0007 C / 0.3 V = 0.00233 F, or 2,333 µF.
The Outcome and What Went Wrong
Following the math, I soldered a generic, low-cost 2,200 µF aluminum electrolytic capacitor across the 3.3V rail. On the oscilloscope, the moment the WiFi radio keyed up, the voltage rail instantly collapsed to 2.7V, triggering a brownout reset. The ESP32 rebooted continuously.
What went wrong? The formula C = Q / V assumes an ideal capacitor with zero internal resistance. The generic electrolytic capacitor had an Equivalent Series Resistance (ESR) of roughly 0.5 Ω. According to Ohm's law, the instantaneous voltage drop across the ESR at 350 mA is:
This instantaneous 0.175 V drop happened before the capacitive discharge droop even began. Combined with the capacitive droop, the total voltage deviation exceeded the 0.3V budget, crashing the microcontroller.
The Fix: Instead of one massive, high-ESR electrolytic, I replaced it with a parallel network: a 470 µF low-ESR polymer capacitor (ESR < 15 mΩ) to handle the bulk energy, paired with a 10 µF X7R MLCC placed as close to the ESP32 VDD pin as possible to supply the high-frequency leading edge of the transient. This highlights a critical bench rule: the capacitance formula dictates the energy storage requirement, but ESR and ESL dictate whether that energy can actually be delivered in time.
For a deeper dive into the physical construction of capacitors and how dielectric materials affect these values, the HyperPhysics capacitance reference provides excellent foundational models on permittivity and plate geometry.






