SciencePhysics

Capacitance
calculator.

Find a capacitor's charge and energy, a series or parallel total, or an RC delay.

How it's worked out

Capacitance is the charge a part holds for each volt across it. One farad is one coulomb per volt, which is huge, so real parts are sold in microfarads (µF, a millionth), nanofarads (nF) and picofarads (pF).

C\displaystyle C=QV\displaystyle {}= \frac{Q}{V}

The energy stored carries a factor of one half. While the part charges, its voltage climbs from 0 to V, so the charge moves across half the final voltage on average. The energy also goes with the square of the voltage.

E\displaystyle E=12CV2\displaystyle {}= \frac{1}{2}\,C\,V^{2}

Series and parallel work the opposite way to resistors. In series each part holds the same charge and the voltages add, so the reciprocals add and the total is below the smallest part. Two 10 µF parts in series give 5 µF. In parallel each part sees the same voltage, so the capacitances simply add.

1Cs\displaystyle \frac{1}{C_{s}}=1C1+1C2+⋯\displaystyle {}= \frac{1}{C_{1}} + \frac{1}{C_{2}} + \cdots
Cp\displaystyle C_{p}=C1+C2+⋯\displaystyle {}= C_{1} + C_{2} + \cdots

Charging through a resistor follows an exponential curve. The time constant, written τ (tau), is resistance times capacitance, in seconds when you use ohms and farads. A charging part reaches 63.2% of the supply after one τ, 86.5% after two and 99.3% after five. A discharging part falls by the same shares.

τ\displaystyle \tau=RC\displaystyle {}= R\,C
V(t)\displaystyle V(t)=V0(1−e−tτ)\displaystyle {}= V_{0}\left(1 - e^{-\frac{t}{\tau}}\right)
V(t)\displaystyle V(t)=V0e−tτ\displaystyle {}= V_{0}\,e^{-\frac{t}{\tau}}

Two flat plates a gap d apart have a capacitance set by their area A, the gap and the material between them. The vacuum permittivity ε₀ is 8.8541878188 × 10⁻¹² F/m (CODATA 2022). The relative permittivity εr is 1 for a vacuum and higher for any material. Plates of 1 m², 1 mm apart, in a vacuum give 8.854 nF, and at 3,000 V they hold 26.6 µC.

C\displaystyle C=ε0εrAd\displaystyle {}= \frac{\varepsilon_{0}\,\varepsilon_{r}\,A}{d}

That is why a 1 F part cannot be two plates with an air gap: at 1 mm it would need 1.13 × 10⁸ m² of plate, a square about 10 km across. Real parts use very thin insulators and rolled or stacked plates.

Worked examples

Marco checks a flash capacitor before opening a camera

An old camera has a 100 µF flash capacitor charged to 300 V. It holds 30 mC of charge and 4.5 J of energy. At half the voltage it would hold only 1.125 J, a quarter as much, because the energy follows the square of the voltage.

E\displaystyle E=12×100 μF×(300 V)2\displaystyle {}= \frac{1}{2} \times 100\ \mu\text{F} \times (300\ \text{V})^{2}

The charge stays after the batteries come out. Marco clips a 10 kΩ resistor across the leads, which gives a time constant of 1 s. Falling from 300 V to 50 V takes 1.792 s, and he checks with a meter before he touches anything.

Open this example in the tool

Dana puts two capacitors in series on 40 V

Dana has a 100 µF and a 47 µF part, each rated 25 V, and a 40 V supply. In series they give 31.97 µF, and together their ratings add to 50 V, so the pair looks safe. In parallel the same two would give 147 µF.

Each part holds the same 1,279 µC, so the smaller part takes the larger voltage. The 47 µF part sees 27.21 V and the 100 µF part sees 12.79 V. The 47 µF part is over its 25 V rating, so Dana picks parts rated higher.

V2\displaystyle V_{2}=1,279 μC47 μF\displaystyle {}= \frac{1,279\ \mu\text{C}}{47\ \mu\text{F}}=27.21 V\displaystyle {}= 27.21\ \text{V}

Open this example in the tool

Kofi sets up a delay with a 9 V battery

Kofi charges a 220 µF part through 47 kΩ from 9 V. The time constant is 10.34 s. After 10 s the part is at 5.578 V, which is 62% of the supply, a little under the 63.2% it reaches at one full τ.

It reaches half the supply after 7.167 s and 90% after 23.81 s. Doubling the resistor would double every one of those times, since τ grows in step with R.

Open this example in the tool

Reading your result

Series parts need a voltage check. The smallest part in a series group always takes the largest share of the voltage, because every part holds the same charge. Check each part against its own rating, not the total of the ratings. The split assumes the parts started empty.

The material sets a ceiling. Relative permittivity raises the value, and dielectric strength limits the voltage. From OpenStax Table 8.1, paper between 1 m² plates 1 mm apart gives 32.76 nF in place of 8.854 nF, and it breaks down near 16,000 V. Dry air across the same gap breaks down near 3,000 V.

An RC curve never quite ends. The voltage only approaches the supply, or zero, so a share of 100% has no time. Five time constants is the usual point to call a part charged or empty, because less than 1% is left.

Round to the parts you have. A printed value carries a tolerance, so 3 or 4 significant figures say all your parts can support. The plate formula also ignores the field at the edges, so it is close only when the gap is small next to the plates.

Common mistakes

  • Mixing up µF and nF. A 22 nF part typed as 22 µF is off by 1,000 times. Through 10 kΩ, the right time constant is 0.22 ms, not 0.22 s.
  • Adding series parts like resistors. In series, capacitances combine through their reciprocals, so the total falls below the smallest part. Adding them gives the parallel total.
  • Using QV for the energy. The supply moves charge Q through voltage V, but only half of that work ends up stored. The rest turns to heat in the circuit's resistance while it charges.
  • Leaving out a resistance in the loop. OpenStax Example 10.8 counts a 1 Ω source resistance with a 100 Ω resistor and a 50 mF part, which gives τ = 5.05 s, not 5 s.
  • Trusting a switched-off device. A large capacitor keeps its charge until something discharges it. Bleed it through a resistor and confirm with a meter.

Questions people ask

Q times V would be right only if the voltage stayed fixed while the charge moved. During charging the voltage rises from zero, so the charge crosses half the final voltage on average. The supply does give out Q times V, and the other half is lost as heat in the wires and resistor.

Sources