Skip to content
All apps

Capacitor & RC circuit

About this app

A parallel-plate capacitor with visible charge build-up plus an RC circuit: charge/discharge curve U_C(t) = U(1−e^(−t/RC)) and I(t) animated live, time constant τ = RC marked; sliders for R, C and U.

Charging and discharging

When a capacitor is connected to a DC voltage U through a resistor, its voltage rises exponentially: U_C(t) = U·(1 − e^(−t/τ)). The current starts at U/R and decays: I(t) = (U/R)·e^(−t/τ). During discharge, voltage and current both decay exponentially towards zero. The time constant τ = R·C sets the pace. After one time constant the capacitor reaches about 63 % of the final voltage; after 5τ the process counts as complete at over 99 %.

What the app shows

On the left is a parallel-plate capacitor with a source and a resistor. While charging, positive charges collect on the top plate and negative ones on the bottom, and the electric field between them grows. A switch toggles between charging and discharging. The chart traces U_C(t) and I(t), with τ and 5τ marked. A status note tells you whether the capacitor is charging, discharging, full or empty.

Things to try

Set U between 1 and 12 V, R between 100 Ω and 5 kΩ and C between 100 µF and 4.7 mF, and read τ in the panel. Double R or C: the curve becomes twice as slow and the τ and 5τ markers move to the right. Restart the process and check whether the voltage really reaches about 63 % at t = τ.

Frequently asked questions

What is the time constant of an RC circuit?
The time constant is τ = R·C, resistance in ohms times capacitance in farads, measured in seconds. It describes how quickly a capacitor charges or discharges. After one time constant the voltage reaches about 63 % of its final value.
How long does it take to fully charge a capacitor?
Mathematically the voltage only approaches its final value asymptotically. In practice a capacitor counts as charged after about 5τ, when it has reached over 99 % of the final voltage. With 1 kΩ and 1 mF, τ = 1 s, so that takes about 5 seconds.
Why does the charging current of a capacitor decrease?
At first the capacitor is empty, the full voltage is across the resistor and the current is U/R. As the capacitor voltage rises, less voltage is left for the resistor, so the current falls. It decays exponentially as e^(−t/τ).
What can I adjust in the capacitor app?
You set voltage, resistance and capacitance with sliders, switch between charging and discharging and restart the process. The app shows the charge building up on the plates, the curves U_C(t) and I(t), and the time constant τ.

Subject: Electrical engineering fundamentals

More from Electrical engineering fundamentals

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps