Capacitor charge and discharge calculator

Enter the supply (or starting) voltage, the resistor in kΩ, the capacitor in µF and a moment in seconds. The calculator gives the capacitor voltage at that time, the current through the resistor, the stored charge and energy, the time constant τ = R·C and how long it takes to charge to — or discharge down to — a percentage you choose.

Process
V
kΩ
µF
s
%
Capacitor voltage3.1606 V
Share of the full voltage
63.21 %
Current
0.1839 mA
Charge stored
316.06 µC
Energy stored
0.4995 mJ
Time constant τ = R·C
1 s
5τ (practically full or empty)
5 s
Time to reach the target level
2.3026 s

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose charging (from 0 V towards a supply) or discharging (from a starting voltage towards 0 V).
  2. Enter the voltage, the resistance in kΩ and the capacitance in µF.
  3. Enter the moment you are interested in, in seconds from the start.
  4. Optionally change the target level to see when the capacitor gets there (90 % by default).

Formulas

With τ = R × C (kΩ × µF = milliseconds, so 10 kΩ × 100 µF = 1000 ms = 1 s):

  • Charging: V = Vs × (1 − e^(−t/τ)), I = (Vs ÷ R) × e^(−t/τ)
  • Discharging: V = V0 × e^(−t/τ), I = (V0 ÷ R) × e^(−t/τ)
  • Charge Q = C × V, energy E = ½ × C × V²
  • Time to a level p: t = −τ × ln(1 − p) when charging, t = −τ × ln(p) when discharging
Time Charging, % of Vs Discharging, % of V0
1τ 63.21 36.79
2τ 86.47 13.53
3τ 95.02 4.98
4τ 98.17 1.83
5τ 99.33 0.67

Worked example

A 100 µF capacitor charges from 5 V through 10 kΩ. τ = 10 kΩ × 100 µF = 1 s. After 1 second:

  • V = 5 × (1 − e^−1) = 3.1606 V, that is 63.21 % of the supply;
  • I = 0.5 mA × e^−1 = 0.1839 mA;
  • Q = 100 µF × 3.1606 V = 316.06 µC, E = ½ × 100 µF × 3.1606² = 0.4995 mJ;
  • it reaches 90 % after −1 × ln 0.1 = 2.3026 s.

Discharged from 5 V instead, the same capacitor holds 1.8394 V after 1 second.

Tips

  • Units matter: 1 kΩ × 1 µF = 1 ms, 1 MΩ × 1 µF = 1 s.
  • The formulas assume an ideal capacitor. Leakage and the source’s internal resistance slow real circuits a little.
  • Energy grows with the square of the voltage: at 63 % of the voltage only 40 % of the final energy is stored.

Frequently asked questions

What is the capacitor charging formula?

V(t) = Vs × (1 − e^(−t/τ)) with τ = R·C. After one time constant the capacitor is at 63.21 % of the supply voltage, after 5τ at 99.33 %.

What is the discharge formula?

V(t) = V0 × e^(−t/τ). After one time constant 36.79 % of the starting voltage is left; the current falls the same way, I = (V0 ÷ R) × e^(−t/τ).

How long does a capacitor take to charge fully?

In theory forever, because the curve only approaches the supply voltage. In practice 5τ is taken as full; for 10 kΩ and 100 µF that is 5 seconds.

Why does the current fall while charging?

The current is the voltage across the resistor divided by R. As the capacitor voltage rises, less voltage is left across the resistor, so the current drops from Vs ÷ R towards zero.

More in Unit converters

All tools in this category: Unit converters ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.