Home Calculators Categories Category: Science & Engineering

Capacitance calculator

Capacitance links how much charge a pair of conductors holds to the voltage across them. This page covers nine ideal-capacitor tasks: solving for capacitance, charge, or voltage; converting pF, nF, µF, mF, and F; combining two capacitors; finding reactance; stepping through an RC transient; sizing a parallel-plate capacitor; and decoding a three-digit code. It also explains what each result means and where an ideal model stops matching a real part.

Input
Load a worked measurement, RC circuit or marked capacitor. Editing any value selects Custom.
Simple solves C, Q, V and conversion. Advanced opens network, AC, RC, plate and code calculations.

Choose capacitance, charge, voltage or conversion.

Ideal linear capacitor. Enter positive magnitudes. Component ratings and losses are not calculated.

Magnitude on one plate. 1 µC = 0.000001 C. The slider is logarithmic; type for exact values.
µC
Potential difference across the capacitor. In RC this is source voltage when charging, or initial voltage when discharging. Logarithmic slider.
V
Visual
Capacitor relationshipCharge and voltage relation for an ideal capacitor.
Output
Capacitance
10 µF
Stored energy
720 µJ

Ideal stored energy; no component voltage rating is inferred.

What capacitance measures

Capacitance CC is the ratio of the charge magnitude QQ on one plate to the voltage magnitude VV between the plates:

C=QV,Q=CV,V=QCC = \frac{Q}{V}, \qquad Q = CV, \qquad V = \frac{Q}{C}

The unit is the farad (F), equal to one coulomb per volt. In this article, italic CC means capacitance, while the coulomb unit is written C\text{C}. The OpenStax treatment of capacitors and capacitance covers the definition.

Charge means one plate. A capacitor carrying +Q+Q on one plate and −Q-Q on the other has charge QQ, not 2Q2Q. Adding the absolute charges of both plates is a common error that doubles every result.

The energy stored in an ideal capacitor is

U=QV2=CV22U = \frac{QV}{2} = \frac{CV^2}{2}

The factor of one half matters. Charging does not deliver energy at the final voltage the whole time, because the voltage rises as charge accumulates (energy stored in a capacitor).

Worked example: from charge and voltage

Suppose 47 μC47\ \mu\text{C} sits on one plate at 5 V5\ \text{V}:

C=47×10−6 C5 V=9.4×10−6 F=9.4 μFC = \frac{47\times10^{-6}\ \text{C}}{5\ \text{V}} = 9.4\times10^{-6}\ \text{F} = 9.4\ \mu\text{F}
U=12(47×10−6)(5)=1.175×10−4 J=117.5 μJU = \tfrac12 (47\times10^{-6})(5) = 1.175\times10^{-4}\ \text{J} = 117.5\ \mu\text{J}

The solve tasks use a straight-line model in which charge is proportional to voltage, and the slope is the capacitance. That is exactly what "ideal linear capacitor" means here. Real dielectrics can depart from it, as described below.

Capacitance units and prefix conversion

Capacitance values span many orders of magnitude, so prefixes are routine:

Prefix Symbol Value in farads
pico pF 10−1210^{-12}
nano nF 10−910^{-9}
micro µF 10−610^{-6}
milli mF 10−310^{-3}
(none) F 11

For example, 4,700 pF4{,}700\ \text{pF} equals 4.7 nF4.7\ \text{nF}, 0.0047 μF0.0047\ \mu\text{F}, 4.7×10−6 mF4.7\times10^{-6}\ \text{mF}, and 4.7×10−9 F4.7\times10^{-9}\ \text{F}. The conversion task shows all five equivalents at once.

One behavior to be aware of: in tasks with a capacitance field, the prefix selector reinterprets the number you typed. Entering 10 and switching from µF to nF changes the quantity from 10 µF to 10 nF. It does not convert 10 µF into 10,000 nF. Use the dedicated conversion task when you want an equivalent value. Results may also appear in a different, automatically chosen prefix than the one used for input.

Series and parallel capacitors

Parallel capacitors share the same voltage, so their charges add and so do their capacitances. Series capacitors carry the same charge, and their reciprocals add (series and parallel combinations):

Cparallel=C1+C2,Cseries=11C1+1C2=C1C2C1+C2C_\text{parallel} = C_1 + C_2, \qquad C_\text{series} = \frac{1}{\dfrac{1}{C_1}+\dfrac{1}{C_2}} = \frac{C_1C_2}{C_1+C_2}

This is the opposite of resistors: series capacitors give a smaller total, parallel capacitors a larger one.

For C1=10 μFC_1 = 10\ \mu\text{F} and C2=22 μFC_2 = 22\ \mu\text{F}:

Cparallel=32 μF,Cseries=10×2210+22 μF=6.875 μFC_\text{parallel} = 32\ \mu\text{F}, \qquad C_\text{series} = \frac{10\times22}{10+22}\ \mu\text{F} = 6.875\ \mu\text{F}

A series total is always below the smaller individual value, which is a quick sanity check. Both values in the network task share one prefix selection.

Scope limits. The calculator combines exactly two ideal capacitors per calculation. For a mixed network, reduce it in stages, feeding each result into the next calculation. It returns only equivalent capacitance. It does not compute how voltage divides between series capacitors, individual stored energies, currents, or network voltage ratings. In real series strings, leakage and tolerance can make voltage sharing uneven, so do not assume an even split.

Capacitive reactance

For a sinusoidal signal at frequency ff, an ideal capacitor opposes current with a reactance magnitude

XC=12πfCX_C = \frac{1}{2\pi f C}

in ohms, with ff in hertz and CC in farads (simple AC circuits). Reactance falls as either frequency or capacitance rises.

For a 100 nF100\ \text{nF} capacitor (10−7 F10^{-7}\ \text{F}):

XC(1 kHz)=12π(1000)(10−7)≈1591.5 ΩX_C(1\ \text{kHz}) = \frac{1}{2\pi(1000)(10^{-7})} \approx 1591.5\ \Omega
XC(10 kHz)≈159.15 ΩX_C(10\ \text{kHz}) \approx 159.15\ \Omega

A tenfold frequency increase gives a tenfold reduction.

The result is a positive magnitude. It is not a complex impedance, and it does not give current or power. Frequency must be greater than zero, so DC is not an input. A real capacitor also has equivalent series resistance (ESR) and equivalent series inductance (ESL), so above its self-resonant frequency it stops behaving capacitively. The ideal curve shown by the calculator does not capture that.

RC charging and discharging

When a capacitor charges or discharges through a resistor, the time scale is set by the time constant

τ=RC\tau = RC

with RR in ohms and CC in farads (RC circuits). The calculator handles two cases with a specified starting state.

Charging from 0 V toward a constant source VsV_s:

VC(t)=Vs(1−e−t/τ)V_C(t) = V_s\left(1 - e^{-t/\tau}\right)

Discharging from an initial capacitor voltage V0V_0 toward 0 V:

VC(t)=V0 e−t/τV_C(t) = V_0\, e^{-t/\tau}

In both cases the charge and energy at time tt follow from Q(t)=C VC(t)Q(t)=C\,V_C(t) and U(t)=12C VC(t)2U(t)=\tfrac12 C\,V_C(t)^2.

You enter the elapsed time, and the tool returns the voltage and energy at that moment along with τ\tau and 5τ5\tau. It does not solve for the time needed to reach a target voltage, and it does not accept a nonzero starting voltage for charging or a nonzero final voltage for discharging. If you want a charging-time estimate, the practical approach is to read off τ\tau and compare it with the table below, or try a few elapsed times.

What five time constants really means

Elapsed time Charging: fraction of source reached Discharging: fraction of initial voltage left Discharging: fraction of initial energy left
1τ1\tau 63.212% 36.788% 13.534%
2τ2\tau 86.466% 13.534% 1.832%
3τ3\tau 95.021% 4.979% 0.248%
4τ4\tau 98.168% 1.832% 0.0336%
5τ5\tau 99.326% 0.674% 0.00454%

The voltage and charge fractions are 1−e−n1-e^{-n} and e−ne^{-n}. Energy goes as the square of the voltage fraction, so remaining energy is e−2ne^{-2n}. At 5τ5\tau, a discharging capacitor still holds 0.6738% of its starting voltage but only about 0.0045% of its starting energy.

Five time constants is a convenient engineering rule of thumb. It is neither exact completion (the exponential never reaches its endpoint in finite time) nor a safe-handling threshold. A capacitor that started at a high voltage can still hold a hazardous voltage at 5τ5\tau. This tool does not certify safe discharge.

Worked example: a discharging capacitor

Take C=47 μFC = 47\ \mu\text{F}, R=2.2 kΩR = 2.2\ \text{k}\Omega, V0=9 VV_0 = 9\ \text{V}, and t=0.2 st = 0.2\ \text{s}:

τ=(2200)(47×10−6)=0.1034 s,tτ≈1.9342\tau = (2200)(47\times10^{-6}) = 0.1034\ \text{s}, \qquad \frac{t}{\tau} \approx 1.9342
VC=9 e−1.9342≈1.3008 VV_C = 9\,e^{-1.9342} \approx 1.3008\ \text{V}
U=12(47×10−6)(1.3008)2≈39.76 μJU = \tfrac12 (47\times10^{-6})(1.3008)^2 \approx 39.76\ \mu\text{J}

Here 5τ=0.517 s5\tau = 0.517\ \text{s}, at which about 9×0.006738≈0.0606 V9\times0.006738 \approx 0.0606\ \text{V} remains, not zero.

Numerical edge cases

The charging calculation uses the algebraically equivalent form −expm1(−t/τ)-\text{expm1}(-t/\tau), which keeps precision when t/τt/\tau is very small. At very large t/τt/\tau, double-precision arithmetic can round a charging voltage to exactly the source value, and the interface labels that "approaches source." Likewise, a discharge voltage or energy that underflows is shown as a bound such as "< 1e-300 V," not as exact zero. These are limits of floating-point representation, not physical completion.

Parallel-plate capacitance

For two parallel conductive plates separated by a gap dd filled with a uniform dielectric, the ideal formula is

C=ε0 εr AdC = \frac{\varepsilon_0\,\varepsilon_r\,A}{d}

where AA is the overlapping area of one facing plate region (not the combined area of both plates), εr\varepsilon_r is the dimensionless relative permittivity, and ε0\varepsilon_0 is the vacuum permittivity. The calculator uses ε0=8.8541878188×10−12 F/m\varepsilon_0 = 8.8541878188\times10^{-12}\ \text{F/m}, consistent with the 2022 CODATA recommended values from NIST. It is an experimentally determined constant, not a defined exact number. The geometry and dielectric background are covered in OpenStax's sections on capacitors and dielectrics.

Inputs are entered as cm² and mm, then converted: 1 cm2=10−4 m21\ \text{cm}^2 = 10^{-4}\ \text{m}^2 and 1 mm=10−3 m1\ \text{mm} = 10^{-3}\ \text{m}.

For A=50 cm2=5×10−3 m2A = 50\ \text{cm}^2 = 5\times10^{-3}\ \text{m}^2 and d=0.5 mm=5×10−4 md = 0.5\ \text{mm} = 5\times10^{-4}\ \text{m} in vacuum or air (εr≈1\varepsilon_r \approx 1):

C=(8.8541878188×10−12)(1)(5×10−3)5×10−4≈8.8542×10−11 F≈88.54 pFC = \frac{(8.8541878188\times10^{-12})(1)(5\times10^{-3})}{5\times10^{-4}} \approx 8.8542\times10^{-11}\ \text{F} \approx 88.54\ \text{pF}

With a dielectric of εr=4\varepsilon_r = 4 filling the whole gap, the result scales to about 354.17 pF354.17\ \text{pF}.

The model assumes a homogeneous dielectric filling the whole gap and ignores fringing fields. That is reasonable only if the gap is much smaller than both plate dimensions. Since the tool takes just an area, it cannot check that condition for you. It does not handle partial fills, layered dielectrics, or cylindrical and spherical geometries. The sketch in the interface is symbolic and not to scale.

Reading a three-digit capacitor code

Many small capacitors carry a three-digit code. In the convention supported here, the first two digits form a significand SS and the third is a power-of-ten multiplier nn, giving a nominal value in picofarads:

Cnominal=S×10n pFC_\text{nominal} = S\times10^{n}\ \text{pF}

The calculator requires exactly three digits, with the first from 1 to 9, the second from 0 to 9, and the third from 0 to 7. Tolerance is chosen separately: J is ±5%, K is ±10%, and M is ±20%. The band is

Cmin=Cnominal(1−tol100),Cmax=Cnominal(1+tol100)C_\text{min} = C_\text{nominal}\left(1-\tfrac{\text{tol}}{100}\right), \qquad C_\text{max} = C_\text{nominal}\left(1+\tfrac{\text{tol}}{100}\right)

For code 473473 with tolerance J: S=47S=47, n=3n=3, so the nominal value is 47×103 pF=47 nF47\times10^3\ \text{pF} = 47\ \text{nF}. The band is 47×0.95=44.65 nF47\times0.95 = 44.65\ \text{nF} to 47×1.05=49.35 nF47\times1.05 = 49.35\ \text{nF}.

A letter that is part of the printed marking, as in "473J", is entered as code 473 with J selected in the separate tolerance control. The field accepts digits only. Not supported: multiplier digits 8 or 9, R-style decimal notation such as 4R7, leading-zero codes, absolute-pF or asymmetric tolerances, other tolerance letters, voltage markings, and automatic recognition of manufacturer-specific marking schemes. Manufacturers publish their own conventions (see, for example, this Murata catalog), so confirm any real part's marking and ratings against its datasheet. A decoded nominal value is a marking interpretation, not a measured capacitance.

Where the ideal model ends

Every result on this page assumes an ideal linear capacitor with positive scalar magnitudes. The tool does not determine:

  • voltage ratings, polarity suitability, or breakdown behavior;
  • ESR, ESL, leakage, or dielectric losses;
  • changes in capacitance with frequency, temperature, applied bias, or aging;
  • self-resonance or a real component's full impedance;
  • safe handling, or suitability for a given circuit.

Accepted input ranges establish what the arithmetic supports, not what is physically realistic or what a component can do. Results are computed locally with JavaScript double-precision numbers and shown to about five significant digits. That is display precision only. It says nothing about the accuracy of a real part, whose tolerance can be far wider than any digit shown.

Using the calculator

Simple mode offers four tasks: capacitance, charge, voltage, and unit conversion. Advanced mode offers the other five: two-capacitor network, reactance, RC charging or discharging, parallel plates, and three-digit code. The two modes are separate task sets, and each remembers its own selected task. Only the fields relevant to the active task are used, so a stale value in a hidden field cannot cause an error.

Fields accept plain decimal or scientific notation (for example, 4.7e-6), but not embedded units or thousands separators. Positive-only fields reject zero, and elapsed time is the one field that accepts 0. Invalid entries show field feedback, blank the results, and disable Copy and Export.

Other tools: three authored presets (including "120 µC at 12 V", "10 µF, 1 kΩ charging", and "104K marking"), Split/Stack layout, Reset, and Help. Copy gathers the task, labelled inputs, results, assumptions, and advisories. Export opens the browser's print workflow, where saving to PDF depends on your browser. There is no CSV download and no share-link feature.

Frequently asked questions

Can I enter charge as the total on both plates? No. Use the magnitude on one plate. If a source quotes the sum of absolute charges on both plates, halve it first.

Why does my series result look too small? Series combination gives a value below the smallest capacitor, which is correct behavior: 1/Ceq1/C_\text{eq} is the sum of the reciprocals.

Does five time constants mean a capacitor is fully charged or safe? No. It marks about 99.33% of the source voltage when charging, or about 0.67% of the starting voltage remaining when discharging. The process never mathematically completes, and the remaining voltage on a high-voltage capacitor can still be dangerous.

Why is there no frequency of zero for reactance? Ideal reactance 1/(2πfC)1/(2\pi f C) grows without bound as ff approaches zero, so the calculator requires a strictly positive frequency.

Can I solve for the time needed to reach a given voltage? Not directly. The tool evaluates voltage and energy at a time you supply and reports τ\tau and 5τ5\tau. You can adjust the elapsed time until the result matches your target.

Is a decoded code the actual capacitance of my part? No. It is the nominal marked value with a tolerance band. The real capacitance depends on the component, conditions, and measurement.

References

Calculation Methodology Documented

Read the formula definitions, supported input ranges, and limitations before using this estimate.

Review Methodology
Debjeet Bhowmick
Author Debjeet Bhowmick AWS Certified Solutions Architect • Cloud & DevOps Consultant

AWS Certified Solutions Architect Professional and Senior Cloud & DevOps Consultant with over 14 years of hands-on expertise architecting resilient cloud infrastructure across AWS, GCP, and Azure. Specializes in infrastructure as code, continuous delivery automation, and telemetry across Terraform, Ansible, Docker, Kubernetes, ELK, Python, and SQL. Creator of OrangeCalc, delivering client-side high-precision computational tools.