The fundamental formula for capacitor current is i = C(dv/dt). This equation dictates that the current flowing through a capacitor is directly proportional to its capacitance and the rate of change of the voltage across its terminals. If the voltage is static (DC steady-state), the current is exactly zero. If the voltage changes rapidly, the current spikes. Below, we break down the derivation, rearrange the formula for practical design, expose the unit-conversion traps that fry components, and walk through two fully tracked worked examples.

The Core Formula and Symbol Definitions

The relationship between current and voltage in an ideal capacitor is expressed as a first-order differential equation:

i(t) = C × (dv(t) / dt)

This is not a static algebraic ratio like Ohm's Law; it is a dynamic relationship. The capacitor does not care what the absolute voltage is; it only cares how fast that voltage is moving.

Table 1: Symbol Definitions and SI Units
Symbol Parameter Strict SI Unit Common Practical Unit
i(t) Instantaneous current Amperes (A) Milliamps (mA), Microamps (μA)
C Capacitance Farads (F) Microfarads (μF), Nanofarads (nF), Picofarads (pF)
dv(t) Change in voltage Volts (V) Millivolts (mV)
dt Change in time Seconds (s) Milliseconds (ms), Microseconds (μs)

Rearranged Forms for Circuit Design

On the bench, you rarely know all variables and just need to solve for i. More often, you are sizing a component or predicting a timing delay. Here are the algebraic rearrangements of the core formula, assuming a linear voltage ramp (where Δv and Δt are used instead of derivatives):

  • Solving for Capacitance (Sizing a bulk or bypass cap):
    C = i × (dt / dv)
    Use case: You need to hold up a 3.3V rail for 5ms during a brownout, and the load draws 200mA. You can tolerate a 0.5V drop. C = 0.2A × (0.005s / 0.5V) = 2,000μF.
  • Solving for Voltage Change (Predicting ripple or droop):
    dv = (i × dt) / C
    Use case: Calculating the peak-to-peak ripple voltage on a power supply filter capacitor given a known load current and switching frequency.
  • Solving for Time (Timing circuits and RC delays):
    dt = (C × dv) / i
    Use case: Determining how long it takes a constant-current source to charge a timing capacitor to a specific logic threshold.

Assumptions, Limits, and Unit Traps

When the Formula Applies (and When It Doesn't)

The equation i = C(dv/dt) assumes an ideal capacitor. In the real world, every physical component has Equivalent Series Resistance (ESR) and Equivalent Series Inductance (ESL).

If you apply a perfect mathematical step-function to a capacitor (where dt = 0), the formula demands infinite current. In reality, the ESR of the capacitor and the parasitic resistance of your wiring limit the peak inrush current to I_peak = V_step / ESR. For high-frequency AC signals (like a 50MHz clock edge hitting a 100nF MLCC bypass capacitor), the ESL dominates, and the component temporarily acts like an inductor, rendering the pure capacitive current formula inaccurate for the first few nanoseconds.

The Unit Mistakes That Break Your Math

The most common reason hobbyists and students get wildly wrong answers is failing to convert practical units back to strict SI base units (Farads and Seconds) before calculating.

The Trap: If you multiply microfarads (μF) by volts per millisecond (V/ms), you do not get Amperes.
1 μF = 10^-6 F
1 ms = 10^-3 s
(10^-6) / (10^-3) = 10^-3.
Therefore, μF × (V / ms) = millAmps (mA). If you expect Amperes and get mA, your simulated inrush current will be 1000x higher than reality, leading you to massively over-spec your MOSFETs and fuses.

Realistic Answer Magnitudes

Context matters. If you are calculating the current for a 10pF coupling capacitor in an audio preamp, a result of 5 Amps means you dropped a decimal. Signal-path capacitor currents are typically in the microamp (μA) to low milliamp (mA) range. Power-path bulk capacitors (like a 4700μF filter on a motor drive) routinely see 10A to 100A inrush pulses. Snubber capacitors across switching relays can see localized spikes of hundreds of Amps for microseconds.

Worked Examples with Unit Tracking

Problem 1: Linear DC Ramp (Charging a Bulk Capacitor)

Scenario: A microcontroller DAC outputs a linear voltage ramp from 0V to 5V over a period of 2 milliseconds. This signal drives the gate of a power MOSFET, but there is a 4.7nF parasitic capacitance on the gate node. What is the continuous current required from the DAC to drive this ramp?

Step 1: Identify and convert to SI units.

  • C = 4.7 nF = 4.7 × 10-9 F
  • dv = 5V - 0V = 5 V
  • dt = 2 ms = 2 × 10-3 s

Step 2: Calculate dv/dt (Slew Rate).

  • dv/dt = 5 V / 0.002 s = 2,500 V/s

Step 3: Apply the formula.

  • i = C × (dv/dt)
  • i = (4.7 × 10-9 F) × (2,500 V/s)
  • i = 11,750 × 10-9 A
  • i = 11.75 μA

Sanity Check: 11.75 μA is well within the sourcing capability of a standard microcontroller GPIO or DAC pin (which typically handle up to 20mA). No buffer transistor is needed.

Problem 2: Sinusoidal AC Steady-State

Scenario: You are designing an AC coupling network. A 100nF capacitor is placed in series with a 50Ω load. The input signal is a 10kHz sine wave with a peak voltage of 3.3V. What is the peak current through the capacitor?

Step 1: Define the voltage function and take the derivative.

  • v(t) = Vpeak × sin(ωt)
  • ω = 2πf = 2 × π × 10,000 = 62,831.85 rad/s
  • dv/dt = Vpeak × ω × cos(ωt)
  • The maximum value of cos(ωt) is 1, so the peak rate of change is: (dv/dt)_max = 3.3 × 62,831.85 = 207,345 V/s

Step 2: Convert Capacitance and apply formula.

  • C = 100 nF = 100 × 10-9 F = 1 × 10-7 F
  • Ipeak = C × (dv/dt)_max
  • Ipeak = (1 × 10-7) × 207,345
  • Ipeak = 0.0207 A (or 20.7 mA)

Note: This matches the result you would get using capacitive reactance (Xc = 1 / (2πfC) = 159.15Ω) and Ohm's law (I = V / (Xc + R)), proving the derivative method holds perfectly in AC steady-state. For deeper reading on AC reactance derivation, refer to the All About Circuits AC textbook chapter on capacitive reactance.

Frequently Asked Questions

Why is the formula for capacitor current a derivative?

Current is defined as the flow of electric charge over time (i = dq/dt). A capacitor stores charge proportional to the voltage across it (q = C × v). If you substitute the charge equation into the current definition, you get i = d(C × v)/dt. Because capacitance (C) is a physical constant of the component, it pulls out of the derivative, leaving i = C(dv/dt). The derivative mathematically captures the fact that current only flows when the stored charge is actively changing.

How do you calculate capacitor current in an AC circuit?

In AC circuits, you can use the derivative method shown in Problem 2 above, or you can use the algebraic shortcut based on capacitive reactance. First, calculate the reactance: Xc = 1 / (2πfC). Then, treat the capacitor like a frequency-dependent resistor and apply Ohm's Law: Irms = Vrms / Xc. Both methods yield the exact same magnitude, but the reactance method is much faster for steady-state sine waves. For complex waveforms like square waves or PWM, you must revert to the i = C(dv/dt) derivative formula to calculate the sharp transient spikes at the edges.

What is the steady-state DC current through a capacitor?

Zero. In a steady-state DC circuit, the voltage across the capacitor has finished changing (it is fully charged to the source voltage). Because the voltage is no longer changing, dv = 0. Plugging this into the formula yields i = C × (0 / dt) = 0 Amps. The capacitor acts as an open circuit. (Note: In reality, a tiny 'leakage current' in the nanoamp or microamp range will flow due to imperfections in the dielectric material, but this is modeled as a parallel resistor, not the capacitive current itself).

Does equivalent series resistance (ESR) change the current formula?

ESR does not change the fundamental physics of the capacitive element itself, but it changes the total circuit current during fast transients. If you apply a 5V step to a 10μF capacitor with an ESR of 50mΩ, the pure formula suggests infinite current at t=0. In reality, the peak current is limited by the ESR (and any external circuit resistance) to I = 5V / 0.05Ω = 100A. Once the initial spike passes and the voltage across the capacitive element begins to ramp, the i = C(dv/dt) formula accurately describes the charging curve. For more on real-world capacitor parasitics, the Electronics Tutorials capacitor guide provides excellent baseline models.