RC circuit time constant and charging curve

Time constant, initial current and capacitor voltage of a 10 kΩ / 100 µF circuit on 5 V, with the charging curve plotted.

Free. You get your own copy of this worksheet to change and extend (sign-in required).

Short answer

What is the RC time constant, and how fast does a capacitor charge?

The time constant of an RC circuit is τ = R·C, and a charging capacitor follows Vc(t) = Vs·(1 − e^(−t/τ)). With 10 kΩ and 100 µF, τ = 1 s; on a 5 V supply the capacitor reaches 3.16 V (63%) after one time constant and 4.97 V (99.3%) after five.

The worksheet

Every value below is the output of the Calcanvas compute engine for exactly these cells, evaluated top to bottom. Variables carry their units from one cell to the next.

1. Circuit values

kΩ times µF converts straight to seconds.

ƒx
Vs = 5 V= 5 V
ƒx
R = 10 kohm= 10 kΩ
ƒx
C = 100 uF= 100 µF
ƒx
tau = (R*C).to(s)= 1 s
ƒx
I0 = (Vs / R).to(mA)= 0.5 mA

2. Charging voltage

Define Vc(t) once, then evaluate it at any time — with units.

ƒx
Vc(t) = Vs*(1 - exp(-t/tau))= Vc(t)
ƒx
Vc(1 s)= 3.1606 V
ƒx
Vc(5*tau)= 4.96631 V
ƒx
ts = (0, 0.1 .. 5) * s= [0 s, 0.1 s, 0.2 s, 0.3 s, 0.4 s, 0.5 s, 0.6 s, 0.7 s, …]
📈 Charging curve
01234012345ts (s)V
Vc(ts) — Capacitor voltage (V) against time (s).

Make it yours

Open this example as a board and try a few changes. Results update as you type:

  • Change C to 470 uF and watch τ and the curve stretch.
  • Add a discharge curve: Vd(t) = Vs*exp(-t/tau), and plot both traces.
  • Find the time to reach 4 V by trying values of Vc(t).

More examples

Start your first worksheet

Free during early access, no credit card. Open a canvas and watch your math add up in the right units.