The energy stored in a capacitor can be expressed in three ways: Ecap=QV2=CV22=Q22C E cap = QV 2 = CV 2 2 = Q 2 2 C , where Q is the charge, V is the voltage, and C is the capacitance of the capacitor. The energy is in joules when the charge is in coulombs, voltage is in volts, and capacitance is in farads.