---
title: Time constants and the 63% rule
heading: Reading a time constant straight off a scope
eyebrow: A8 · Lesson 6 · Time constants
xp: 40
---

::: hook
A scope shows a voltage rising toward its final value. Nobody tells you R or C. Can you find the time constant from the trace alone? Engineers have several quick ways, each one a property of the exponential, plus one more number that every datasheet quotes: the rise time.

::: play
- The curve rises toward 1 (as a fraction of the final value) with time constant τ. The dashed line is its tangent at the start.
- Where does the tangent reach the final value? Where is the curve at that moment?
- The two markers are where the curve crosses 10% and 90%. How does the time between them compare with τ?
:::
:::

```sim plot
view: graph
x: t = 0..10 ms
y: v = 0..1.2
slider: tau = 0.5..2.5 step 0.1 = 1.5 ms
plot: 1 - exp(-t/tau) | label: v / V_final
plot: t/tau | dashed | color: ch2 | label: tangent at 0
marker: x = tau | label: τ
marker: x = tau*ln(10/9) | label: 10%
marker: x = tau*ln(10) | label: 90%
marker: y = 1 - exp(-1) | label: 63%
readout: rise time 10–90% = tau*ln(9) ms
readout: rise ÷ τ = ln(9)
```

::: predict
## The tangent to the curve at $t = 0$ keeps going in a straight line. When does it reach the final value?

- [ ] At $t = 0.5\tau$
- [x] At $t = \tau$
- [ ] At $t = 5\tau$
- [ ] Never

::: reveal
At exactly $t = \tau$. The starting slope is $V_\text{final}/\tau$, so a straight line at that slope covers the whole distance in one time constant. The real curve, slowing as it goes, has covered only 63% by then. That gives two ways to read τ off a trace: where the starting tangent meets the final value, and where the curve passes 63%.
:::
:::

::: nameit
## Four ways to measure τ

For a first-order response $v = V_f + (v_0 - V_f)e^{-t/\tau}$:

1. **The 63% point.** After one τ the curve has covered $1 - e^{-1} = 63.2\%$ of the change (falling, 36.8% of it remains).
2. **The starting tangent.** The initial slope is $(V_f - v_0)/\tau$, so the tangent at $t = 0$ reaches $V_f$ at $t = \tau$.
3. **A log plot.** $\ln|V_f - v|$ falls in a straight line with slope $-1/\tau$ (A4's fitting trick). It uses every point on the trace, so it's the most accurate.
4. **One reading.** If the curve is at $v$ at time $t$: $\tau = \dfrac{t}{\ln\big((V_f - v_0)/(V_f - v)\big)}$.

**Rise time.** Datasheets and scopes quote the **10–90% rise time**, the time to go from 10% to 90% of the change, because the very start and finish of a real edge are hard to locate. For a first-order response,

$$t_r = \tau\ln 9 \approx 2.2\,\tau$$

the same 2.2RC that The Art of Electronics quotes. The 50% point is at $\tau\ln 2 \approx 0.69\tau$, and the 5τ "settled" rule from A2 leaves less than 1% to go.

**Bandwidth.** A circuit's rise time and its bandwidth are tied together: for this response, the −3 dB bandwidth is $f_c = 1/(2\pi\tau)$, so $t_r \approx 0.35/f_c$. A scope's own rise time is quoted that way, and it's why a 100 MHz scope can't show edges much faster than 3.5 ns.
:::

::: example
## A step response rises from 10% to 90% in 4.4 ms. What is the time constant?

::: solution
1. **First-order rise time.** For a first-order response the 10-90% rise time is
   $$\begin{aligned} t_r &= \tau\ln 9 \\ &= 2.197\tau \end{aligned}$$
2. **Solve for $\tau$.**
   $$\begin{aligned} \tau &= \frac{4.4\ \text{ms}}{2.197} \\ &= 2.0\ \text{ms} \end{aligned}$$

**Answer:** the time constant is 2.0 ms.
:::
:::

::: example
## A discharge falls to half in 0.7 ms. What is $\tau$?

::: solution
1. **Half time.** $e^{-t/\tau} = \frac{1}{2}$ at $t = \tau\ln 2$.
2. **Solve for $\tau$.**
   $$\begin{aligned} \tau &= \frac{0.7\ \text{ms}}{0.693} \\ &= 1.01\ \text{ms} \end{aligned}$$

**Answer:** $\tau$ = 1.01 ms.
:::
:::

::: example
## A step response heading for 5 V starts out rising at 2.5 V/ms. What is the time constant?

::: solution
1. **Initial slope.** For $v = V_f(1 - e^{-t/\tau})$, the slope at $t = 0$ is $V_f/\tau$: the tangent at the start would reach the final value after exactly one time constant.
2. **Solve for $\tau$.**
   $$\begin{aligned} \tau &= \frac{5\ \text{V}}{2.5\ \text{V/ms}} \\ &= 2\ \text{ms} \end{aligned}$$
3. **When to use it.** The initial-slope method needs only the first part of the trace, which helps when the response is too slow to wait for, but it's sensitive to noise on that early slope.

**Answer:** the time constant is 2 ms.
:::
:::

::: check
given: tau = 1..9 int
answer: tau*ln(9)
unit: µs
tolerance: 1%

## A first-order circuit has $\tau$ = {tau} µs. What is its 10–90% rise time, in µs?

::: right
Right. $t_r = \tau\ln 9$ = {answer}, about $2.2\tau$.
:::

::: misses
- [tau] That's one time constant, the 0–63% time. The 10–90% time is longer.
- [5*tau] That's the settling time to within 1%.
- [0.8*tau] The rise isn't linear: from 10% to 90% takes $\tau\ln 9$.
- [any] Not yet. $t_r = \tau\ln 9 \approx 2.2\tau$.
:::
:::

::: check
given: tr = 1..50 int
answer: tr/ln(9)
unit: ns
tolerance: 1%

## A scope shows a 10–90% rise time of {tr} ns on a first-order edge. What is the time constant, in ns?

::: right
Right. $\tau = t_r/\ln 9$ = {answer}.
:::

::: misses
- [tr*ln(9)] Divide by ln 9: the rise time is the longer of the two.
- [tr] The rise time is about 2.2 time constants.
- [any] Not yet. Use $t_r = \tau\ln 9$.
:::
:::

::: check
given: Vf = 5 | 10 | 12; f = 0.3 | 0.6 | 0.8; t = 1..9 int; let v = Vf*f
answer: t/ln(1/(1 - f))
unit: ms
tolerance: 1%

## A capacitor charging from 0 V toward {Vf} V reaches {v} V at {t} ms. What is the time constant, in ms?

::: right
Right. $1 - v/V_f = e^{-t/\tau}$, so $\tau = t/\ln\big(V_f/(V_f - v)\big)$ = {answer}.
:::

::: misses
- [t/f] The curve isn't straight: solve $v = V_f(1 - e^{-t/\tau})$ for τ.
- [-t/ln(f)] That treats {v} V as the remaining gap. It's the voltage reached: the gap is $V_f - v$.
- [any] Not yet. Solve $\given{v} = \given{Vf}(1 - e^{-\given{t}/\tau})$ for τ.
:::
:::

::: check
given: fc = 1..100 int
answer: 0.35/fc*1000
unit: ns
tolerance: 2%

## An amplifier's bandwidth is {fc} MHz, with a first-order roll-off. Roughly what rise time does it give a fast edge, in ns?

::: right
Right. $t_r \approx 0.35/f_c$ = {answer}.
:::

::: misses
- [1/fc*1000] That's one period at the bandwidth. The rise time is about 0.35 of it.
- [any] Not yet. Use $t_r \approx 0.35/f_c$.
:::
:::

::: check
kind: parts
given: V = 5 | 12; s = 1 | 4

## A step response heads for {V} V and starts out rising at {s} V/ms.

::: part
answer: V/s
unit: ms
tolerance: 0.5%

### What is $\tau$?

::: misses
- [s/V] The initial slope is $V/\tau$.
- [any] The tangent at the start reaches the final value after one $\tau$.
:::
:::

::: part
answer: 2.197*V/s
unit: ms
tolerance: 1%

### What is its 10%-to-90% rise time?

::: misses
- [any] $\tau\ln 9 = 2.197\tau$.
:::
:::
:::

::: check
kind: derivation
vars: tau = 0.1..10

## Find the rise and fall measures of a first-order response with time constant $\tau$.

::: step
answer: tau*ln(9)

### What is the 10%-to-90% rise time?
:::

::: step
answer: tau*ln(2)

### What is the half-life?
:::

::: right
Right. $2.2\tau$ and $0.69\tau$: either one, read off a scope, gives $\tau$.
:::
:::

::: explain
## Why do engineers quote the 10–90% rise time rather than the time from 0% to 100%?

::: model
An exponential approaches its final value forever, so the 100% point never actually arrives, and the very start of a real edge is blurred by noise and small delays. The 10% and 90% points are both well defined and easy to locate on a scope, so the time between them is a repeatable measurement. For a first-order response it's $\tau\ln 9 \approx 2.2\tau$, so it still tells you the time constant.
:::
:::

::: practice

::: check
given: tau = 1..20 int
answer: tau*ln(2)
unit: ms
tolerance: 1%

## With $\tau$ = {tau} ms, how long until a first-order response is halfway there, in ms?

::: misses
- [tau/2] It's $\tau\ln 2 \approx 0.69\tau$.
- [any] Solve $1 - e^{-t/\tau} = \tfrac12$.
:::
:::

::: check
given: tau = 1..20 int
answer: 100*(1 - exp(-2))
unit: %
tolerance: 0.5%

## After two time constants (τ = {tau} ms), what percentage of the change is complete?

::: misses
- [100*(1 - exp(-1))] That's after one time constant.
- [any] $1 - e^{-2} \approx 86.5\%$.
:::
:::

::: check
given: f3 = 1..50 int
answer: 1/(2*pi*f3)*1000
unit: µs
tolerance: 1%

## A first-order circuit's −3 dB bandwidth is {f3} kHz. What is its time constant, in µs?

::: misses
- [1/f3*1000] Divide by 2π as well: $\tau = 1/(2\pi f_c)$.
- [any] $\tau = 1/(2\pi f_c)$.
:::
:::
:::
