Skip to main content
Physics LibreTexts

9.1.4: Energy Stored in a Capacitor

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives

    By the end of this section, you will be able to:

    • Explain how energy is stored in a capacitor
    • Use energy relations to determine the energy stored in a capacitor network

    Most of us have seen dramatizations of medical personnel using a defibrillator to pass an electrical current through a patient’s heart to get it to beat normally. Often realistic in detail, the person applying the shock directs another person to “make it 400 joules this time.” The energy delivered by the defibrillator is stored in a capacitor and can be adjusted to fit the situation. SI units of joules are often employed. Less dramatic is the use of capacitors in microelectronics to supply energy when batteries are charged (Figure \(\PageIndex{1}\)). Capacitors are also used to supply energy for flash lamps on cameras.

    This is a photograph of a PCB with an IC and various other components on it. The PCB is attached to a USB connector. Labels for all components are printed on the board.
    Figure \(\PageIndex{1}\): The capacitors on the circuit board for an electronic device follow a labeling convention that identifies each one with a code that begins with the letter “C.”

    The energy \(U_C\) stored in a capacitor is electrostatic potential energy and is thus related to the charge Q and voltage V between the capacitor plates. A charged capacitor stores energy in the electrical field between its plates. As the capacitor is being charged, the electrical field builds up. When a charged capacitor is disconnected from a battery, its energy remains in the field in the space between its plates.

    To gain insight into how this energy may be expressed (in terms of Q and V), consider a charged, empty, parallel-plate capacitor; that is, a capacitor without a dielectric but with a vacuum between its plates. The space between its plates has a volume Ad, and it is filled with a uniform electrostatic field E. The total energy \(U_C\) of the capacitor is contained within this space. The energy density \(u_E\) in this space is simply \(U_C\) divided by the volume Ad. If we know the energy density, the energy can be found as \(U_C = u_E(Ad)\). We will learn in Electromagnetic Waves (after completing the study of Maxwell’s equations) that the energy density \(u_E\) in a region of free space occupied by an electrical field E depends only on the magnitude of the field and is

    \[u_E = \frac{1}{2} \epsilon_0E^2.\]

    If we multiply the energy density by the volume between the plates, we obtain the amount of energy stored between the plates of a parallel-plate capacitor \(U_C = u_E(Ad) = \frac{1}{2}\epsilon_0E^2Ad = \frac{1}{2}\epsilon_0\frac{V^2}{d^2}Ad = \frac{1}{2}V^2\epsilon_0 \frac{A}{d} = \frac{1}{2}V^2C\).

    In this derivation, we used the fact that the electrical field between the plates is uniform so that \(E = V/d\) and \(C = \epsilon_0A/d\). Because \(C = Q/V\), we can express this result in other equivalent forms:

    \[U_C = \frac{1}{2}V^2C = \frac{1}{2}\frac{Q^2}{C} = \frac{1}{2}QV. \label{8.10}\]

    The expression in Equation \ref{8.10} for the energy stored in a parallel-plate capacitor is generally valid for all types of capacitors. To see this, consider any uncharged capacitor (not necessarily a parallel-plate type). At some instant, we connect it across a battery, giving it a potential difference \(V = q/C\) between its plates. Initially, the charge on the plates is \(Q = 0\). As the capacitor is being charged, the charge gradually builds up on its plates, and after some time, it reaches the value Q. To move an infinitesimal charge dq from the negative plate to the positive plate (from a lower to a higher potential), the amount of work dW that must be done on dq is \(dW = W \, dq = \frac{q}{C} dq\).

    This work becomes the energy stored in the electrical field of the capacitor. In order to charge the capacitor to a charge Q, the total work required is

    \[W = \int_0^{W(Q)} dW = \int_0^Q \frac{q}{C}dq = \frac{1}{2}\frac{Q^2}{C}.\]

    Since the geometry of the capacitor has not been specified, this equation holds for any type of capacitor. The total work W needed to charge a capacitor is the electrical potential energy \(U_C\) stored in it, or \(U_C = W\). When the charge is expressed in coulombs, potential is expressed in volts, and the capacitance is expressed in farads, this relation gives the energy in joules.

    Knowing that the energy stored in a capacitor is \(U_C = Q^2/(2C)\), we can now find the energy density \(u_E\) stored in a vacuum between the plates of a charged parallel-plate capacitor. We just have to divide \(U_C\) by the volume Ad of space between its plates and take into account that for a parallel-plate capacitor, we have \(E = \sigma/\epsilon_0\) and \(C = \epsilon_0 A/d\). Therefore, we obtain

    \[u_E = \frac{U_C}{Ad} = \frac{1}{2} \frac{Q^2}{C} \frac{1}{Ad} = \frac{1}{2} \frac{Q^2}{\epsilon_0A/d} \frac{1}{Ad} = \frac{1}{2} \frac{1}{\epsilon_0} \left(\frac{Q}{A}\right)^2 = \frac{\sigma^2}{2\epsilon_0} = \frac{(E\epsilon_0)^2}{2\epsilon_0} = \frac{\epsilon_0}{2}E^2\]

    We see that this expression for the density of energy stored in a parallel-plate capacitor is in accordance with the general relation expressed in Equation \ref{8.9}. We could repeat this calculation for either a spherical capacitor or a cylindrical capacitor—or other capacitors—and in all cases, we would end up with the general relation given by Equation \ref{8.9}.

    Energy Stored in a Capacitor

    Calculate the energy stored in the capacitor network in Figure 8.3.4a when the capacitors are fully charged and when the capacitances are \(C_1 = 12.0 \, \mu F, \, C_2 = 2.0 \, \mu F\), and \(C_3 = 4.0 \, \mu F\), respectively.


    We use Equation \ref{8.10} to find the energy \(U_1, \, U_2\), and \(U_3\) stored in capacitors 1, 2, and 3, respectively. The total energy is the sum of all these energies.

    Solution We identify \(C_1 = 12.0 \, \mu F\) and \(V_1 = 4.0 \, V, \, C_2 = 2.0 \, \mu F\) and \(V_2 = 8.0 \, V, \, C_3 = 4.0 \, \mu F\) and \(V_3 = 8.0 \, V\). The energies stored in these capacitors are

    \[U_1 = \frac{1}{2}C_1V_1^2 = \frac{1}{2}(12.0 \, \mu F)(4.0 \, V)^2 = 96 \, \mu J,\]

    \[U_2 = \frac{1}{2}C_2V_2^2 = \frac{1}{2}(2.0 \, \mu F)(8.0 \, V)^2 = 64 \, \mu J,\]

    \[U_3 = \frac{1}{2}C_3V_3^2 = \frac{1}{2}(4.0 \, \mu F)(8.0 \, V)^2 = 130 \, \mu J,\]

    The total energy stored in this network is

    \[U_C = U_1 + U_2 + U_3 = 96 \, \mu J + 64 \, \mu J + 130 \, \mu J = 0.29 \, mJ.\]


    We can verify this result by calculating the energy stored in the single \(4.0-\mu F\) capacitor, which is found to be equivalent to the entire network. The voltage across the network is 12.0 V. The total energy obtained in this way agrees with our previously obtained result, \(U_C = \frac{1}{2}CV^2 = \frac{1}{2}(4.0 \, \mu F)(12.0 \, V)^2 = 0.29 \, mJ\)

    Exercise \(\PageIndex{1}\)

    The potential difference across a 5.0-pF capacitor is 0.40 V. (a) What is the energy stored in this capacitor? (b) The potential difference is now increased to 1.20 V. By what factor is the stored energy increased?


    a. \(4.0 \times 10^{-13}J\); b. 9 times

    In a cardiac emergency, a portable electronic device known as an automated external defibrillator (AED) can be a lifesaver. A defibrillator (Figure \(\PageIndex{2}\)) delivers a large charge in a short burst, or a shock, to a person’s heart to correct abnormal heart rhythm (an arrhythmia). A heart attack can arise from the onset of fast, irregular beating of the heart—called cardiac or ventricular fibrillation. Applying a large shock of electrical energy can terminate the arrhythmia and allow the body’s natural pacemaker to resume its normal rhythm. Today, it is common for ambulances to carry AEDs. AEDs are also found in many public places. These are designed to be used by lay persons. The device automatically diagnoses the patient’s heart rhythm and then applies the shock with appropriate energy and waveform. CPR (cardiopulmonary resuscitation) is recommended in many cases before using a defibrillator.

    Photograph of an automated external defibrillator.
    Figure \(\PageIndex{2}\): Automated external defibrillators are found in many public places. These portable units provide verbal instructions for use in the important first few minutes for a person suffering a cardiac attack.
    Example \(\PageIndex{2}\): Capacitance of a Heart Defibrillator

    A heart defibrillator delivers \(4.00 \times 10^2 J\) of energy by discharging a capacitor initially at \(1.00 \times 10^4 V\). What is its capacitance?


    We are given \(U_C\) and V, and we are asked to find the capacitance C. We solve Equation \ref{8.10} for C and substitute.


    Solving this expression for C and entering the given values yields \(C = 2\frac{U_C}{V^2} = 2\frac{4.00 \times 10^2 J}{(1.00 \times 10^4V)^2} = 8.00 \, \mu F\).

    Contributors and Attributions

    Samuel J. Ling (Truman State University), Jeff Sanny (Loyola Marymount University), and Bill Moebs with many contributing authors. This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).

    This page titled 9.1.4: Energy Stored in a Capacitor is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.