Capacitors, inductors and time · Part 11 of 36

RC circuits and the time constant

Intermediate 16 min

How a capacitor charges through a resistor along an exponential curve, what τ = R × C means, and how RC circuits make timers and delays.

What you will learn

  • You can calculate the time constant τ = R × C.
  • You can use the charging and discharging equations.
  • You can design a simple RC delay.

Before this: Capacitors: storing charge

Charging through a resistor

Connect a capacitor C through a resistor R to a voltage V₀. At the first moment the capacitor is empty (0 V), so the full V₀ sits across the resistor and a current I = V₀ / R flows. As charge builds up, the capacitor's voltage rises, less voltage is left for the resistor, and the current shrinks. The voltage approaches V₀ ever more slowly — an exponential curve:

V_C(t) = V₀ × (1 − e^(−t / τ)), with τ = R × C

τ (tau) is the time constant, in seconds when R is in ohms and C in farads. 10 kΩ × 100 µF = 1 s.

A capacitor slowly filling like a glass of water through a narrow tap

The magic percentages

TimeCapacitor voltage (charging)Remaining (discharging)
1 τ63.2 %36.8 %
2 τ86.5 %13.5 %
3 τ95.0 %5.0 %
5 τ99.3 %0.7 %

After about 5 τ the capacitor counts as fully charged. Each further τ closes 63 % of the remaining gap — a curve that never quite arrives.

RC charging curve rising towards the supply voltage, with 63 % marked at one time constant
After one τ the capacitor reaches 63 %, after 5 τ it is practically full

Discharging

Disconnect the source and let the capacitor discharge through R: V_C(t) = V₀ × e^(−t / τ). Same time constant, mirrored curve. Each τ the voltage drops to 36.8 % of its value.

Solving for time

To find when the voltage reaches a threshold V_th while charging:

t = −τ × ln(1 − V_th / V₀)

Example: a microcontroller pin sees "high" above 2.0 V with a 3.3 V supply, R = 100 kΩ, C = 1 µF (τ = 0.1 s): t = −0.1 × ln(1 − 2.0/3.3) ≈ 0.093 s.

A blinking LED circuit on a breadboard with a capacitor and resistor

What RC circuits do

  • Delays and timers: the 555 timer chip (introduced in 1972, still sold in huge numbers) compares an RC voltage with thresholds at 1/3 and 2/3 of the supply to make delays and oscillators; its delay is about 1.1 × R × C.
  • Power-on reset: an RC on a chip's reset pin holds it in reset until the supply is stable.
  • Debouncing: a mechanical button bounces for a few milliseconds; an RC (plus a Schmitt trigger) smooths it into one clean edge.
  • Filters: an RC passes slow changes and smooths fast ones — a low-pass filter (expert module "Filters and signals").
  • Sensors: measuring how long a capacitor takes to charge reveals R or C — the trick behind many touch sensors.

The current curve

The current through the resistor (and into the capacitor) starts at V₀ / R and decays: I(t) = (V₀ / R) × e^(−t/τ). A large capacitor charged from a stiff supply through a small resistance gives a huge inrush current at switch-on — why power supplies use soft-start circuits or inrush limiters.

Try it: RC charging lab

See how a capacitor charges and discharges through a resistor, and read off the time constant.

Turn on JavaScript to use this lab. Worked example:

With 5 V, 10 kΩ and 100 µF, τ = 1 s: the capacitor reaches 3.16 V after 1 s, 4.75 V after 3 s and 4.97 V after 5 s. The table below the curve lists the values for each time constant.

Key points

  • τ = R × C (seconds = ohms × farads).
  • Charging: V_C = V₀ (1 − e^(−t/τ)); discharging: V_C = V₀ e^(−t/τ).
  • 63 % after 1 τ, 95 % after 3 τ, ~99 % after 5 τ.
  • Time to a threshold: t = −τ ln(1 − V_th/V₀).
  • RC circuits make delays, resets, debouncing, filters and sensors; watch inrush current.

Flashcards

Question: What is the time constant of 1 kΩ and 1 µF?
Answer: 1 ms.
Question: What percentage does a charging capacitor reach after one τ?
Answer: About 63 %.
Question: After how many time constants is a capacitor considered full?
Answer: About 5.
Question: What limits the inrush current when charging a capacitor?
Answer: The series resistance (the larger R, the smaller the peak V₀/R).

Check yourself

Think about your answer, then open it. In the app the quiz is interactive, earns points and brings back what you missed.

  1. What is τ for 47 kΩ and 10 µF (in seconds)?

    Show the answer

    0.47 s (± 0.001 s)

    τ = 47,000 × 10 × 10⁻⁶ = 0.47 s.

    Source: OpenStax University Physics Vol. 2, 10.5

  2. A capacitor charges towards 10 V. What voltage does it reach after 2 τ?

    Show the answer

    8.65 V (± 0.05 V)

    10 × (1 − e⁻²) = 10 × 0.865 = 8.65 V.

    Source: OpenStax University Physics Vol. 2, 10.5

  3. A capacitor discharges from 12 V. What is left after 3 τ?

    Show the answer

    0.6 V (± 0.02 V)

    12 × e⁻³ ≈ 12 × 0.0498 ≈ 0.60 V.

    Source: OpenStax University Physics Vol. 2, 10.5

  4. Order the capacitor voltage while charging, earliest first.

    Show the answer

    37 % of V₀ → 63 % of V₀ → 95 % of V₀ → 99 % of V₀

    1 − e^(−t/τ) rises monotonically: about 0.46 τ, 1 τ, 3 τ, 5 τ.

    Source: MIT 6.002, Lecture 13

Sources

Facts checked on 2026-11-30. Skillgrove lessons are free learning material — no certificate and no accreditation.