Skip to content

How fast does a capacitor charge or discharge?

The time constant, the voltage at any moment of charging or discharging, and the cut-off frequency.

More options

V

%

Capacitor voltage

3.161 V

After 1 s the capacitor has charged to 3.161 V, 63.2% of 5 V. One time constant τ = R × C = 1 s.

Key values as a table
Time constantsTimeVoltage (V)Share
τ1 s3.161 V63.2%
2τ2 s4.323 V86.5%
3τ3 s4.751 V95%
4τ4 s4.908 V98.2%
5τ5 s4.966 V99.3%
Time constant τ
1 s
Time to charge 99%
4.605 s
Current at that time
0.1839 mA
Cut-off frequency
0.1592 Hz

The time constant, the voltage at any moment of charging or discharging, and the cut-off frequency.

How to use

  1. Enter the resistance and capacitance in the units on your parts.
  2. Enter the moment you care about. Drag the point along the curve to watch the voltage change over time.
  3. Under More options, switch between charging and discharging, set the voltage (5 V by default) and how far along you need to be (99 % by default) to see how long that takes.

Charging a capacitor: share of the supply voltage reached

Time (in τ)Charged
163.2%
286.5%
395%
599.3%

How it works

A capacitor charging through a resistor fills quickly at first and then ever more slowly: the closer it gets to the supply voltage, the smaller the voltage left across the resistor, so the less current flows to charge it. Discharging is the mirror image. Both follow an exponential curve set by one number, the time constant.

The time constant is τ = R × C, with R in ohms and C in farads giving seconds. While charging, V(t) = V₀ × (1 − e^(−t/τ)); while discharging, V(t) = V₀ × e^(−t/τ), where V₀ is the supply or starting voltage and e ≈ 2.718. With 10 kΩ and 100 µF, τ = 10 000 × 0.0001 = 1 s, so after 1 s a 5 V supply has charged the capacitor to 5 × (1 − e^(−1)) = 3.16 V, 63 % of the way. Each further τ closes 63 % of the gap that is left: 86 % at 2τ, 95 % at 3τ and over 99 % at 5τ.

The same pair used as a filter passes frequencies below about f = 1 ÷ (2πRC) and weakens those above it. Real capacitors have tolerances of 10 % or more and some leakage, so treat the times as estimates. Source: OpenStax University Physics, volume 2, section 10.5.

Frequently asked questions

Does changing the supply voltage change the time constant?

No. With the same ideal resistor and capacitor, the time constant stays the same. A higher supply changes the voltage and current, but not the time to reach the same percentage.

How long until a capacitor is fully charged?

In theory never, because the curve only approaches the supply. In practice five time constants is taken as fully charged: the capacitor is then at 99.3 %.

How do I make a delay of a given time?

Choose a capacitor and change the resistance until the time to reach your switching level (under More options, as a percentage) matches the delay. A circuit that switches at two thirds of the supply waits about 1.1 τ.

What is the cut-off frequency of an RC filter?

The frequency 1 ÷ (2πRC) at which the filter passes about 71 % of the signal's voltage (−3 dB). Below it a low-pass RC filter lets the signal through; above it the signal falls off.

In discharge mode, does 99% done mean 99% of the voltage remains?

No. It means 99% of the initial voltage has been lost, leaving 1%. The percentage is progress through the discharge, not the remaining voltage.

Send feedback