Skip to content
Tactiverge

School/○ Innovator/Elective · ECE-350

The RC time constant, from measurements

A capacitor charging through a resistor never quite finishes. So how can engineers say exactly how long it 'takes'?

About 35 min · 4 goals · Checked by automated tests

Review status: Technically checked (automated tests)Content file last checked 2026-11-29.How independent review works

1.Why should I care?

RC circuits are everywhere in electronics: the power-on reset that holds a microcontroller still until its supply settles, the debounce filter on a button, the low-pass filter that smooths a noisy sensor, the timing in a 555 timer. Each one depends on one number, the time constant τ = RC. Measuring τ from a real curve is also how you find the value of a capacitor whose label has rubbed off.

  • ◇ Calculate the time constant τ = RC with correct units.
  • ◇ Use v(t) = V(1 − e^(−t/τ)) and the 63 % and 5τ landmarks to describe charging.
  • ◇ Estimate τ (and an unknown capacitance) from measured points on a charging curve.
  • ◇ Find the time for a charging capacitor to reach a threshold voltage.

2.Predict

A 1,000 µF capacitor charges from 9 V through 1 kΩ (τ = 1 s). Roughly what is its voltage after 1 second?

Guess first. Being wrong here is how the surprise works.

3.Discover

Run the default circuit (9 V, 1,000 Ω, 1,000 µF) and read the voltage at t = τ from the results. Then double the resistance and run it again: what happens to τ and to the time to reach 90 %? Finally switch to discharge and check that after one τ the voltage is 37 % of where it started.

Simulation OS · electronicsEducational model, not a digital twin

RC charging and discharging

A resistor fills (or empties) a capacitor. After one time constant τ = RC it has gone about 63 % of the way.

Your level (shows more controls and deeper equations)
  1. 1. Ask
  2. 2. Hypothesise
  3. 3. Set up
  4. 4. Run
  5. 5. Record
  6. 6. Change one variable
  7. 7. Compare
  8. 8. Interpret
  9. 9. Limitations & save

If I change …, then … will …, because …

3 · Set up the parameters

1–12 V

The voltage the capacitor charges towards (or starts from, when discharging).

100–100000 Ω

More resistance slows the current, so charging takes longer.

1–2200 µF

A bigger capacitor holds more charge, so it takes longer to fill.

0–1

1 starts the capacitor full and lets it empty through the resistor.

1–10 τ

How many time constants to simulate.

The seed fixes any random noise. Same parameters + same seed = exactly the same result, every time, on every computer.

6 · Change one variable

Your first run is the baseline. After it, change one thing at a time.

7 · Compare on a graph

Run the model to draw your first curve here.

5 · Run log

No runs yet.

Equations

τ = R × C. Charging: v(t) = V (1 − e^(−t/τ)). Discharging: v(t) = V e^(−t/τ). At t = τ: 63.2 % of the way.

Assumptions (always true in this model)

  • Ideal battery with no internal resistance
  • Ideal capacitor: no leakage, no series resistance
  • Backward Euler with 200 steps per time constant (slight numerical lag, under 0.2 %)
  • Switching happens instantly at t = 0
Text description of what the chart shows

A line chart of capacitor voltage against time. When charging it rises steeply from 0 and curves over towards the battery voltage; when discharging it falls steeply and flattens towards 0. The current line starts at its largest value, V divided by R, and decays towards zero.

Did the result support your hypothesis? Use the numbers from the comparison table and link them to an equation.

Which assumptions could change your answer in the real world?

Export and save

Exports use the ticked runs (or every run if none are ticked). Your draft saves automatically in this browser only. The Journal is private to you.

Can't use the interactive? Read a description instead

The RC experiment plots capacitor voltage and current against time for a battery charging a capacitor through a resistor. Inputs set the battery voltage (1–12 V), resistance (100 Ω to 100 kΩ), capacitance (1–2,200 µF), charge or discharge, and how many time constants to run. Results list τ = RC, the voltage at t = τ, the fraction of the way at τ (about 0.632) and the time to reach 90 %. With the defaults (9 V, 1 kΩ, 1,000 µF) τ is 1 s, the voltage at 1 s is about 5.69 V and 90 % takes about 2.3 s. The voltage rises quickly at first and then more and more slowly; the current starts at V/R and decays the same way.

4.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

After exactly one time constant, how far has a charging capacitor got towards the supply voltage?

Practice 2 · a fresh version every time

A 2.2 kΩ resistor charges a 470 µF capacitor. What is the time constant τ, in seconds? (3 decimal places)

s

5.Watch

→ Watch for the five-time-constant rule and how the charging curve's shape stays the same when only R or C changes.

Works out how long a capacitor takes to charge using the RC time constant.

5 min 59 s · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

6.Understand

Why it slows down

At switch-on the capacitor is empty, so the whole supply voltage sits across the resistor and a big current I = V/R flows. As charge builds up, the capacitor's voltage rises, the resistor's share falls, and the current shrinks. Less current means slower charging. The voltage approaches the supply ever more slowly: it never quite arrives, but it gets close very quickly.

The curve and its landmarks

The charging voltage is v(t) = V(1 − e^(−t/τ)) with τ = R·C. Ohms times farads gives seconds (and kΩ × µF gives milliseconds). After 1τ the capacitor is at 63.2 % of V, after 2τ 86.5 %, after 3τ 95 %, after 5τ 99.3 %. Engineers usually call it 'charged' after about 5τ. Discharging follows v = V·e^(−t/τ): 36.8 % left after one τ.

Measuring τ from data

On a measured curve, the quickest estimate is the time at which the voltage reaches 63 % of its final value. A better one uses every point: rearrange to τ = −t / ln(1 − v/V), compute it at several times and average. If ln(1 − v/V) plotted against t is a straight line, the circuit really is first-order, and the slope is −1/τ. Knowing R, the capacitance follows as C = τ/R.

Hitting a threshold

Many circuits care about when the capacitor crosses a voltage, such as a chip's reset threshold. Solve v = V(1 − e^(−t/τ)) for t: t = −τ·ln(1 − v/V). Crossing half the supply takes τ·ln 2 ≈ 0.69τ; crossing 90 % takes τ·ln 10 ≈ 2.3τ. Thresholds near the supply voltage take much longer and are sensitive to component tolerances.

Explain it another way

Filling a balloon through a thin straw: at first air rushes in, but the fuller the balloon, the harder it pushes back and the slower it fills. A thinner straw (bigger R) or a bigger balloon (bigger C) both make it slower.

Derivation: Solving the charging equation
  1. Around the loop: V = i·R + v. The capacitor's current is i = C·dv/dt, so R·C·dv/dt = V − v.

  2. Separate variables: dv/(V − v) = dt/(RC).

  3. Integrate from v = 0 at t = 0: −ln(V − v) + ln V = t/(RC), so ln((V − v)/V) = −t/(RC).

  4. Exponentiate: (V − v)/V = e^(−t/RC), so v(t) = V(1 − e^(−t/τ)) with τ = RC.

  5. At t = τ: v = V(1 − e^(−1)) ≈ 0.632·V. Taking logs of the same line gives the measurement formula τ = −t/ln(1 − v/V).

Worked example 1

With 9 V, 1 kΩ and 1,000 µF, find τ, the voltage at 0.5 s and 2 s, and the time to reach 5 V.

τ = 1,000 Ω × 0.001 F = 1 s. v(0.5) = 9(1 − e^(−0.5)) ≈ 3.54 V; v(2) = 9(1 − e^(−2)) ≈ 7.78 V. Time to 5 V: t = −1 × ln(1 − 5/9) = −ln(0.444) ≈ 0.811 s.

Worked example 2

A capacitor of unknown value charges from 9 V through 1 kΩ. You measure 6.0 V at 1.1 s. Estimate C.

τ = −1.1/ln(1 − 6/9) = −1.1/ln(0.333) = 1.1/1.0986 ≈ 1.00 s. C = τ/R = 1.00/1,000 ≈ 1,000 µF. Repeating at several times and averaging makes the estimate less sensitive to one bad reading.

Common mix-ups

  • The time constant is how long the capacitor takes to charge fully.
    ✓ τ is the time to reach about 63 %. 'Fully' (99 %) takes about 5τ, and mathematically it never quite finishes.
  • A bigger supply voltage makes the capacitor charge faster.
    ✓ τ = RC does not depend on V. A bigger supply reaches any fixed voltage sooner, but the shape and the 63 % time stay the same.
  • The capacitor value printed on the can is exact.
    ✓ Electrolytic capacitors often have ±20 % tolerance. Measuring τ and dividing by R gives the real value in your circuit.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 3 · a fresh version every time

A 6 V supply charges an empty 220 µF capacitor through 10 kΩ. What is the capacitor voltage after 3.96 s, in volts? (2 decimal places)

V

Practice 4 · a fresh version every time

A reset circuit charges an empty 1000 µF capacitor from 5 V through 47 kΩ. A chip starts when the capacitor reaches 3.55 V. How long after power-on does that happen, in seconds? (3 decimal places)

s

Practice 5 · a fresh version every time

In the RC experiment a 4.7 kΩ resistor charges a capacitor of unknown value from 12 V. You measure 9.81 V at t = 0.08 s after switching on, starting from empty. Estimate the capacitance, in µF.

µF

Practice 6

In the experiment you double the resistance and keep the capacitor. What happens to the time it takes to reach 90 % of the supply?

8.Apply it

Design a power-on delay: a chip should start when its enable pin, charged from 3.3 V through a resistor, reaches 2.0 V, between 40 and 60 ms after power-on. Choose R and C from common values, calculate the delay with t = −RC·ln(1 − v/V), then check how far it moves if C is 20 % high or low. Try your values in the RC experiment.

9.Reflect

Concepts: Voltage, current and Ohm's law · First-order systems and the time constant