Capacitance Calculator

Solve for capacitance, charge, or voltage for an ideal capacitor and see stored energy and RC time constant in one glance.

Project Inputs

Results Summary

Topic · Capacitance & RC circuits

Capacitance Calculator – concepts, formulas, and real-world examples

Learn what capacitance really means, how capacitors store charge and energy, and how to use the Capacitance Calculator above to solve for capacitance, charge, voltage, and RC time constant in practical circuits.

Read time Capacitance basics RC time constant Worked examples

How to use the Capacitance Calculator step by step

The Capacitance Calculator above lets you quickly solve the ideal capacitor relationship between charge \(Q\), voltage \(V\), and capacitance \(C\), while also giving you stored energy and an RC time constant estimate. You choose which quantity to solve for, enter the other two, and the tool handles the unit conversions and formulas for you.

In its current form, the calculator focuses on a lumped capacitor model (one ideal component). You can:

  • Solve for capacitance \(C\) from charge and voltage.
  • Solve for charge \(Q\) from capacitance and voltage.
  • Solve for voltage \(V\) from capacitance and charge.

The calculator also asks for a reference resistance, which it uses to compute the RC time constant \(\tau = R\,C\). This helps you estimate how fast the capacitor will charge or discharge in a simple RC circuit.

  1. 1

    Choose what you want to solve for. In the Solve For dropdown, pick one of: Capacitance (C), Charge (Q), or Voltage (V). For example, if you know the charge and voltage and want the capacitance, choose Capacitance (C).

  2. 2

    Enter the known values and units. Fill in the two known fields: Charge (Q) with units like C, mC, µC, or nC, and Voltage (V) in V or kV, or Capacitance (C) in F, mF, µF, nF, or pF. The calculator automatically handles scaling between these units.

  3. 3

    Optional: set a reference resistance. Enter a value for the series resistance in Ω, kΩ, or MΩ. This does not change the main result you’re solving for, but it lets the tool compute the RC time constant \(\tau\) and related quick stats.

  4. 4

    Read the result and quick stats. The calculator shows the solved value in the Calculated Result row, including the numeric result and units. Below, the quick stats table summarizes the normalized values, stored energy, and RC time constant so you can sanity-check whether the capacitor choice fits your application.

If you scroll to the worked examples, you’ll see step-by-step calculations that match the same fields you’re entering in the Capacitance Calculator.

Parallel-plate capacitor diagram showing capacitance with charge on plates and electric field between them.
Conceptual view of a capacitor: two conductive plates separated by a dielectric, storing charge and energy when a voltage is applied.

What capacitance is and why it matters in circuits

At its core, capacitance is a measure of how much electric charge a component can store per unit voltage. Mathematically, capacitance is defined as:

\[ C = \frac{Q}{V} \]

where:

  • \(C\) is capacitance in farads (F),
  • \(Q\) is charge in coulombs (C),
  • \(V\) is voltage in volts (V).

One farad is a very large amount of capacitance: it means a capacitor stores 1 coulomb of charge for every 1 volt applied. In real electronic circuits, especially signal-level and digital electronics, you’ll more often see microfarads (\(µF\)), nanofarads (\(nF\)), or picofarads (\(pF\)).

Physically, a capacitor consists of two conductive plates separated by an insulating material (the dielectric). When a voltage is applied, electrons accumulate on one plate and are removed from the other, creating an electric field in the dielectric. The higher the capacitance, the more charge the device can store for a given voltage.

The Capacitance Calculator uses this definition directly: if you pick Solve For: Capacitance (C), it rearranges the equation as \(C = Q/V\). If instead you solve for charge or voltage, it uses the same relationship rearranged:

\[ Q = C\,V \quad\text{and}\quad V = \frac{Q}{C} \]

Capacitance matters because it directly controls how circuits behave dynamically. It affects:

  • Filtering and smoothing: larger capacitance smooths out ripple on power supplies.
  • Timing and delays: in RC circuits, capacitance works with resistance to set time constants.
  • Energy storage: capacitors temporarily store energy for bursts of current or ride-through during brief sags.

When you use the calculator, keep this physical picture in mind: you’re not just crunching numbers; you’re quantifying how “big” the electric charge bucket is for a given voltage.

Key formulas & variables in capacitance calculations

Beyond the basic definition \(C = Q/V\), there are several other important relationships involving capacitance that the Capacitance Calculator helps you work with indirectly. Understanding them will give you more insight into whether your inputs and outputs make sense.

1. Charge–voltage–capacitance relationship

\[ Q = C\,V \]

This is often the most convenient form in practical work. If you know the voltage across a capacitor and its capacitance, you can estimate how much charge is stored on its plates. The calculator uses this relationship whenever you solve for \(Q\).

2. Stored energy in a capacitor

A charged capacitor stores energy in its electric field. The energy \(E\) in joules is:

\[ E = \tfrac{1}{2} C V^{2} = \tfrac{1}{2} Q V = \frac{Q^{2}}{2C} \]

The calculator can display the stored energy as part of its quick stats by taking whatever combination of \(C\) and \(V\) you provide or solve for. This is especially useful when you are sizing capacitors for energy storage or surge suppression applications.

3. Geometric capacitance (parallel-plate approximation)

For a simple parallel-plate capacitor, the capacitance can also be expressed in terms of geometry:

\[ C = \varepsilon_r \varepsilon_0 \frac{A}{d} \]

where:

  • \(\varepsilon_0\) is the permittivity of free space,
  • \(\varepsilon_r\) is the relative permittivity (dielectric constant) of the material between the plates,
  • \(A\) is the plate area,
  • \(d\) is the separation between plates.

While the current Capacitance Calculator works with the lumped \(Q\)-\(V\)-\(C\) relationship rather than geometric inputs, the result you get from geometry calculations should match the same capacitor behavior plugged into this calculator.

4. Series and parallel combinations

In real circuits, capacitors are often used in series or parallel combinations. The equivalent capacitance is:

\[ C_{\text{eq, parallel}} = C_1 + C_2 + \dots \] \[ \frac{1}{C_{\text{eq, series}}} = \frac{1}{C_1} + \frac{1}{C_2} + \dots \]

Once you compute an equivalent capacitance (for example, of two capacitors in parallel), you can enter that value into the Capacitance Calculator to explore charge, voltage, and energy for the combined network.

  • Use \(Q = C\,V\) as the primary relationship for all calculator modes.
  • Use the energy equation to verify whether stored energy is realistic for your component size and rating.
  • Combine series/parallel capacitors to get an equivalent \(C\) before plugging into the calculator.

RC time constant and capacitor charge/discharge behavior

Capacitors rarely exist alone; they almost always appear with resistors, wires, and loads. In the simplest case, a capacitor is connected in series with a resistor, forming an RC circuit. The key parameter describing how fast the voltage across the capacitor changes is the time constant \(\tau\):

\[ \tau = R\,C \]

where \(R\) is resistance in ohms (Ω) and \(C\) is capacitance in farads (F). The Capacitance Calculator asks you for a reference resistance specifically so it can compute this time constant for your chosen \(C\).

For a simple RC charging circuit (capacitor charging from a DC source through a resistor), the voltage across the capacitor as a function of time is:

\[ V_C(t) = V_{\text{source}} \left(1 – e^{-t / (R C)}\right) \]

For discharging (capacitor initially charged, then allowed to discharge through a resistor), the voltage decays exponentially:

\[ V_C(t) = V_0\,e^{-t / (R C)} \]

Some useful rules of thumb:

  • At \(t = \tau\), the capacitor has charged to about 63% of its final value or discharged to about 37% of its initial value.
  • At \(t = 5\tau\), the capacitor is effectively “fully” charged or discharged for most practical purposes (>99%).
  • Increasing \(C\) or \(R\) increases the time constant and slows down changes.

When you enter a reference resistance and solve for \(C\), the Capacitance Calculator uses these relationships to show an estimated \(\tau\). This is very useful when you are selecting capacitor values for timing circuits (such as RC oscillators, reset delays, or filters) and want to quickly see how changing \(C\) or \(R\) affects response time.

If you’re unsure whether your chosen values make sense, compare the time constant from the calculator with the time scales in your application. For example, a \(\tau\) of 0.1 s might be ideal for a soft-start circuit, but far too slow for high-frequency signal filtering.

Worked capacitance examples using the calculator

Let’s walk through a couple of realistic scenarios and show how you’d use the Capacitance Calculator to get quick, reliable answers. You can follow these steps manually, or mirror them directly in the calculator above using the same inputs and units.

1

Example 1 – Find capacitance from known charge and voltage

Suppose you have a capacitor that stores \(Q = 10~\mu\text{C}\) of charge when a voltage of \(V = 5~\text{V}\) is applied. You want to know its capacitance.

Step 1: In the Capacitance Calculator, set Solve For to Capacitance (C).

Step 2: Enter Charge (Q) = 10 and select the unit µC. Enter Voltage (V) = 5 with unit V.

Step 3: Optionally enter a resistance (for example, \(R = 1~\text{k}\Omega\)) to compute the RC time constant as well.

Step 4: Read the result in the Calculated Result row. To compute manually, use the definition \(C = Q / V\):

\[ C = \frac{Q}{V} = \frac{10 \times 10^{-6}~\text{C}}{5~\text{V}} = 2 \times 10^{-6}~\text{F} = 2~\mu\text{F} \]

Result: The capacitance is \(C = 2~\mu\text{F}\). The calculator will display 2 µF (depending on your chosen output formatting) and also show the stored energy and RC time constant using the same values.

2

Example 2 – Required voltage for a target energy storage

Now imagine you have a \(100~\mu\text{F}\) capacitor and you want it to store \(0.1~\text{J}\) of energy. What voltage do you need to apply?

The stored energy is given by \(E = \tfrac{1}{2} C V^2\). Rearranging to solve for voltage:

\[ V = \sqrt{\frac{2E}{C}} \]

Plug in the values (converting \(C\) to farads):

\[ C = 100~\mu\text{F} = 100 \times 10^{-6}~\text{F} \] \[ V = \sqrt{\frac{2 \times 0.1}{100 \times 10^{-6}}} = \sqrt{\frac{0.2}{1.0 \times 10^{-4}}} = \sqrt{2000} \approx 44.7~\text{V} \]

Result: You need about \(44.7~\text{V}\) across the \(100~\mu\text{F}\) capacitor to store 0.1 J of energy. In the Capacitance Calculator, you would:

  • Set Solve For to Voltage (V).
  • Enter \(C = 100\) with unit µF.
  • Iteratively adjust the voltage until the quick stats section shows stored energy near 0.1 J, or pre-calc the value as above and confirm it using the tool.

Remember to ensure the capacitor’s voltage rating (for example, 50 V or 63 V) comfortably exceeds your required operating voltage.

RC charging curve plot showing capacitor voltage rising toward its final value over several time constants.
Typical RC charging curve: after one time constant \(\tau\), the capacitor reaches about 63% of its final voltage; after five time constants, it is effectively fully charged.

These examples illustrate the main workflows: solve directly for \(C\), \(Q\), or \(V\), then use the calculator’s quick stats to cross-check energy and RC behavior. You can adapt the same steps to your own problems, whether you’re sizing bypass capacitors, timing components, or small energy storage banks.

Applications and choosing capacitor values in practice

Capacitance shows up everywhere in electrical and electronic systems. Although the Capacitance Calculator focuses on ideal relationships, the results are highly relevant to real applications.

Common applications of capacitors

  • Decoupling and bypassing: Capacitors placed near IC power pins smooth out local voltage dips and noise. Typical values range from tens of nF to a few µF, often in ceramic form.
  • Bulk energy storage: Larger electrolytic capacitors (tens to hundreds of µF and above) store energy to handle start-up inrush, motor starting, or brief power interruptions.
  • Filtering and smoothing: In rectifier circuits, capacitors reduce ripple on DC rails. The required \(C\) depends on load current, acceptable ripple, and line frequency.
  • Timing circuits: In combination with resistors, capacitors define delays, pulse widths, and oscillator frequencies using RC time constants.

Using the calculator to size capacitors

Here are typical workflows where the Capacitance Calculator is especially useful:

  • Given a desired voltage and charge: Use \(C = Q/V\) to determine the capacitance you need to store that much charge. For example, if you know your circuit needs ~1 mC of charge at 5 V, the calculator tells you that requires \(C = 0.2~\text{mF} = 200~\mu\text{F}\).
  • Checking stored energy: After choosing a capacitor value and working voltage, verify that the stored energy is within safe limits for your components and application.
  • Matching RC time constants: If you have a target delay or time scale, you can vary \(R\) or \(C\) until the time constant from the calculator matches your requirement.

Voltage rating and component selection

Once you know the required capacitance and operating voltage from the calculator, you still need to choose a physical part. Typical practical guidelines:

  • Select a capacitor with a voltage rating comfortably above your maximum operating voltage (often 1.5–2× higher) to allow margin for spikes and tolerances.
  • Consider capacitor technology:
    • Ceramic: small, low ESR, good for high-frequency decoupling, but value can vary with voltage and temperature.
    • Electrolytic: large values in small volume, good for bulk storage, but higher ESR and limited lifetime.
    • Film or tantalum: specialized tradeoffs in cost, reliability, and performance.
  • Check tolerance, ESR, ripple current rating, and temperature range against your application needs.

Use the Capacitance Calculator for the math, then cross-check with datasheets to make sure your chosen capacitor type and rating are appropriate.

Limitations, tolerances, and safety when using capacitance values

The Capacitance Calculator assumes an ideal capacitor: its capacitance value is exact, it has no losses, and it behaves the same at all frequencies and temperatures. Real components are more complex, so it’s important to understand what the calculator does not model explicitly.

Component tolerances and variation

Real capacitors have tolerances, often ±10%, ±20%, or more, depending on type. A “100 µF” capacitor labeled ±20% might be anywhere from 80 µF to 120 µF. That means the results from the calculator should be treated as nominal values.

  • Include tolerance bands when checking timing or energy requirements.
  • For critical timing circuits, choose tighter tolerance capacitors or provide adjustment margins in resistance.
  • Remember that capacitance can change with temperature, voltage, and aging.

ESR, leakage, and non-ideal effects

Real capacitors exhibit:

  • Equivalent series resistance (ESR): causes power dissipation and affects ripple and transient performance.
  • Leakage current: small DC path that slowly discharges the capacitor over time.
  • Inductance: leads and internal structure create parasitic inductance that matters at high frequencies.

The Capacitance Calculator focuses on the ideal lumped relationships \(Q = C V\), \(E = \tfrac{1}{2} C V^2\), and \(\tau = R C\). If ESR or leakage is critical for your design (such as in switching power supplies or precision timing), you should also evaluate those parameters using component datasheets and more detailed models.

Voltage ratings and safety margins

Perhaps the most important safety rule is never to exceed the capacitor’s voltage rating. Exceeding that limit can cause:

  • Gradual degradation and increased leakage.
  • Breakdown of the dielectric, leading to shorts.
  • In extreme cases, venting or catastrophic failure (especially with electrolytic capacitors).

When you use the calculator to explore charge and energy at a given voltage, always compare the operating voltage to the part’s rating. If the calculator suggests you need ~45 V for your desired energy storage but your capacitor is rated for 35 V, you must choose a higher-rated component or adjust your design.

Finally, remember that the calculator’s outputs represent instantaneous values for a given voltage and capacitance. Real circuits may have transients, noise, and spikes that briefly exceed the nominal values, so build in margin accordingly.

Capacitance Calculator – frequently asked questions

How do I calculate capacitance from charge and voltage?

Use the definition \(C = Q / V\). In the Capacitance Calculator, set Solve For to Capacitance (C), enter your known charge \(Q\) (for example, in µC or nC) and voltage \(V\) (V or kV), and the tool will compute \(C\) in farads and show it in a convenient unit like µF or nF. This is the most common way to derive capacitance from experimental measurements.

What units should I use for microfarads, nanofarads, and picofarads?

The calculator lets you choose among F, mF, µF, nF, and pF. The relationships are:

  • 1 mF = \(10^{-3}\) F
  • 1 µF = \(10^{-6}\) F
  • 1 nF = \(10^{-9}\) F
  • 1 pF = \(10^{-12}\) F

Pick the unit closest to your component value (for example, 100 nF instead of 0.1 µF) for readability. The Capacitance Calculator internally converts everything back to farads for consistent calculations.

Can I use the Capacitance Calculator for AC circuits?

The calculator models the static relationship between \(Q\), \(V\), and \(C\), plus the RC time constant. That’s valid for DC and low-frequency behavior, or as a snapshot in an AC cycle. For detailed AC analysis (reactive impedance, phase shift, frequency response), you would also use the reactance formula \(X_C = 1 / (2 \pi f C)\), which is not explicitly part of this calculator but is consistent with the same capacitance values.

Why does the calculator give zero or unexpected results?

Common causes of unexpected outputs include:

  • Leaving one of the required inputs (the two non-solved variables) blank or set to zero.
  • Using inconsistent units (for example, entering a very small value in farads instead of microfarads).
  • Accidentally entering negative values, which are not physically meaningful for basic capacitance, charge, or magnitude of voltage.

Double-check that you’ve entered two positive, non-zero values with appropriate units and that Solve For is set to the quantity you actually want. If still in doubt, try repeating the calculation with round numbers you can easily verify by hand.

How does the RC time constant shown in the calculator help my design?

The RC time constant \(\tau = R C\) tells you how quickly a capacitor charges or discharges through a given resistance. In the Capacitance Calculator, the reference resistance you enter is used only to compute \(\tau\) and related quick stats. Use this value to see whether your capacitor–resistor pair responds fast enough (or slowly enough) for your application, and adjust either \(R\) or \(C\) until the time constant matches your desired time scale.

Is the Capacitance Calculator suitable for power electronics and high-energy capacitors?

Yes, as long as you treat the results as ideal values. The calculator correctly handles large capacitances and high voltages from a mathematical standpoint, so it is useful for estimating stored energy, charge, and time constants in power electronics, motor drives, and DC bus applications. However, you must also check component ratings, ESR, ripple current, thermal limits, and safety standards using manufacturer datasheets and engineering judgment.

For deeper conceptual explanations or more involved math, you can revisit the sections above or jump back to the how-to-use guide for the Capacitance Calculator.

Scroll to Top