Skip to content
/ RC circuit

RC circuit: charging a capacitor

A voltage step applied to an RC circuit charges the capacitor: u_C(t) = E (1 − e^(−t/τ)), with τ = RC. Set R, C and E, read τ three ways (tangent at the origin, 63%, calculation) and switch to discharging.

Circuit and source

Circuit diagram

Transient response

Click on a graph (curves or oscilloscope) to place cursors A and B, then drag them to move them.

Calculations

Export:

Sinusoidal steady state: Bode plot

How to do it

  1. Set R, C and the voltage E in “Circuit and source”.
  2. Read the curve u_C(t) and the time constant τ = RC shown.
  3. Place the cursors on the oscilloscope to measure τ at 63% of E.
  4. Choose discharging among the ready-made circuits to compare.

Tips

  • After 5τ, the capacitor is 99% charged: the usual length of the transient.
  • Doubling R or C doubles τ.
  • Export the curves (SVG, PNG, CSV) and the calculations as LaTeX for a report.

Frequently asked questions

What is the time constant τ?

τ = RC, in seconds: the time for u_C to reach 63% of its final value when charging. The tangent at the origin meets the asymptote at t = τ.

What is the differential equation?

RC du_C/dt + u_C = E, with solution u_C(t) = E (1 − e^(−t/RC)) for an initially discharged capacitor.

Is my data uploaded?

No, the simulation runs in your browser; the share link contains the circuit.