---
title: RC ladders and the Elmore delay
heading: Why a long wire's delay grows with the square of its length, and a one-line estimate for any RC network
eyebrow: C2 · Lesson 12 · RC ladders and the Elmore delay
xp: 40
---

::: hook
A wire on a chip, a long trace through a resistive touchscreen, or a chain of filter stages all have resistance spread along them and capacitance to ground spread along them too. They aren't one RC, so lesson 7's single time constant doesn't describe them, but they aren't hopeless either. Split them into sections and you get an RC ladder, and a clever estimate due to W. C. Elmore gives the delay of any such network by adding up products of resistance and capacitance. It also explains a fact that shapes every modern chip: double a wire's length and its delay quadruples, which is why long wires are broken up with buffers.
:::

::: play
- A three-section RC ladder driven by a 1 V step. Each section is a series resistor and a capacitor to ground.
- The first node rises quickly; each later node starts more slowly, because its capacitor charges through all the resistance before it and the earlier capacitors steal current first.
- Elmore's estimate for the last node is $R_1C_1 + (R_1 + R_2)C_2 + (R_1 + R_2 + R_3)C_3$: 6 µs with the starting values. The true 50% point is 4.5 µs.
:::

```sim circuit
V1 in 0 step 1      @ 0,0 down
R1 in a 1k          @ 0,0 right
C1 a 0 1n           @ 2,0 down
R2 a b 1k           @ 2,0 right
C2 b 0 1n           @ 4,0 down
R3 b out 1k         @ 4,0 right
C3 out 0 1n         @ 6,0 down
slider: R3 100..10k log
slider: C3 100p..10n log
scope: v(a), v(b), v(out)
time: 0..20u s
meter: v(out)
```

::: predict
## A 1 mm on-chip wire has a 50% delay of 15 ps from its own resistance and capacitance. What is the delay of a 2 mm wire of the same kind?

- [ ] 15 ps
- [ ] 30 ps
- [x] 60 ps
- [ ] 21 ps

::: reveal
60 ps. Doubling the length doubles both the total resistance and the total capacitance, and the delay goes as their product, so it quadruples. A wire is a diffusion line: its delay grows as length squared, unlike light's flight time, which grows only linearly. Breaking a long wire into shorter segments with a buffer between each makes the total delay grow linearly instead.
:::
:::

::: nameit
## RC ladders

An RC ladder has series resistors $R_1, R_2, \ldots$ and a capacitor $C_k$ from each node to ground. Driven by a step, each node's voltage is a sum of decaying exponentials, one per capacitor, so there's no single time constant. But one is usually dominant, and the delay can be estimated without finding them all.

## The Elmore delay

For a network of resistors with capacitors to ground and no resistor loops (an **RC tree**), the Elmore delay to node $i$ is

$$\tau_{D,i} = \sum_k C_k R_{ik}$$

where $R_{ik}$ is the resistance shared by the paths from the source to node $i$ and to node $k$. For a ladder, that's the resistance from the source up to whichever of the two nodes comes first. For the last node of a ladder,

$$\tau_D = R_1C_1 + (R_1 + R_2)C_2 + \cdots + (R_1 + \cdots + R_N)C_N$$

Every capacitor counts, weighted by the resistance its charge flows through on the way to node $i$.

The Elmore delay is the mean of the impulse response, the time "centroid" of the step response's rise. For one RC it's $RC$, whose 50% point is $0.69RC$. For RC trees it's always an upper bound on the true 50% delay, and in practice a good estimate of it: it's what timing tools use first.

## Uniform ladders and distributed lines

For $N$ equal sections with $R$ and $C$ each, the sum is $RC(1 + 2 + \cdots + N) = RC\,N(N + 1)/2$. In terms of the totals $R_t = NR$ and $C_t = NC$, that's $\frac{R_tC_t}{2}\left(1 + \frac1N\right)$, which tends to $R_tC_t/2$ as the sections shrink. For a wire with resistance $r$ and capacitance $c$ per unit length,

$$\tau_D = \frac{rcL^2}{2}, \qquad t_{50} \approx 0.38\,rcL^2$$

the second from solving the diffusion equation the continuous line obeys. Lumping the whole wire into one $R_tC_t$ would give $0.69R_tC_t$: almost twice too slow.

## Repeaters

Cut a wire of length $L$ into $k$ segments with an ideal buffer driving each, and the wire delay becomes $k \times rc(L/k)^2 \times 0.38 = 0.38\,rcL^2/k$. Real buffers add their own delay and drive resistance, so there's an optimum spacing: on modern chips, a fraction of a millimeter on the narrowest layers.
:::

::: example
## Find the Elmore delay of the play's three-section ladder (1 kΩ and 1 nF per section) at each node, and compare the last node with a single 3 kΩ, 3 nF RC.

::: solution
1. **Node a.** Its path from the source is just $R_1$, and every capacitor's charge flows through $R_1$, so
   $$\begin{aligned} \tau_a &= R_1(C_1 + C_2 + C_3) \\ &= 3\ \mu\text{s} \end{aligned}$$
2. **Node b.**
   $$\begin{aligned} \tau_b &= R_1C_1 + (R_1 + R_2)(C_2 + C_3) \\ &= (1 + 4)\ \mu\text{s} \\ &= 5\ \mu\text{s} \end{aligned}$$
3. **Node out.**
   $$\begin{aligned} \tau_\text{out} &= R_1C_1 + (R_1 + R_2)C_2 \\ &\quad + (R_1 + R_2 + R_3)C_3 \\ &= (1 + 2 + 3)\ \mu\text{s} \\ &= 6\ \mu\text{s} \end{aligned}$$
4. **Compare with the exact answer.** Solving the ladder exactly puts the output's 50% point at 4.50 µs, so the Elmore estimate is 33% high here; the dominant time constant is 5.05 µs.
5. **Compare with one lumped RC.** Lumping everything into 3 kΩ and 3 nF gives a 9 µs time constant and a 50% point of
   $$\begin{aligned} t_{50} &= 0.693 \times 9\ \mu\text{s} \\ &= 6.24\ \mu\text{s} \end{aligned}$$
   worse than Elmore's estimate in the other direction.

**Answer:** the Elmore delays are 3 µs at node a, 5 µs at node b and 6 µs at the output; the single 3 kΩ, 3 nF RC gives a 9 µs time constant and a 6.24 µs 50% point, a worse estimate than Elmore's.
:::
:::

::: example
## An on-chip wire has 0.2 Ω/µm and 0.2 fF/µm. Estimate the 50% delay of 1 mm and 5 mm runs, and of the 5 mm run split into five buffered segments (ignoring the buffers' delay).

::: solution
1. **The wire's time scale for 1 mm.**
   $$\begin{aligned} rcL^2 &= 0.2 \times 0.2 \times 10^{-15} \\ &\quad \times 1000^2\ \text{s} \\ &= 4 \times 10^{-11}\ \text{s} \\ &= 40\ \text{ps} \end{aligned}$$
2. **Delay of the 1 mm run.**
   $$\begin{aligned} t_{50} &\approx 0.38 \times 40\ \text{ps} \\ &= 15\ \text{ps} \end{aligned}$$
   and $\tau_D$ = 20 ps.
3. **The 5 mm run.** Five times the length gives 25 times as much:
   $$\begin{aligned} t_{50} &\approx 25 \times 0.38 \times 40\ \text{ps} \\ &= 380\ \text{ps} \end{aligned}$$
4. **Five buffered 1 mm segments.**
   $$\begin{aligned} t_{50} &\approx 5 \times 0.38 \times 40\ \text{ps} \\ &= 76\ \text{ps} \end{aligned}$$
5. **Compare with a clock period.** At several gigahertz a clock period is a few hundred picoseconds, so an unbuffered 5 mm wire would eat a whole cycle, while the buffered one leaves room for logic.

**Answer:** about 15 ps for 1 mm and 380 ps for 5 mm, and 76 ps for the 5 mm run split into five buffered segments.
:::
:::

::: example
## An RC tree: a source drives 100 Ω to node m. From m, one branch runs through 200 Ω to node p (with 2 pF to ground), another through 300 Ω to node q (with 5 pF). Node m has 1 pF. Find the Elmore delay to p.

::: solution
1. **The path to p.** Each capacitor counts with the resistance its own path shares with the path to p (source → m → p).
2. **The capacitor at m.** It shares the 100 Ω:
   $$100\ \Omega \times 1\ \text{pF} = 0.1\ \text{ns}$$
3. **The capacitor at p.** It shares the whole path, 300 Ω:
   $$300\ \Omega \times 2\ \text{pF} = 0.6\ \text{ns}$$
4. **The capacitor at q.** Its path branches off at m, so it shares only the 100 Ω:
   $$100\ \Omega \times 5\ \text{pF} = 0.5\ \text{ns}$$
5. **Add the contributions.**
   $$\begin{aligned} \tau_{D,p} &= (0.1 + 0.6 + 0.5)\ \text{ns} \\ &= 1.2\ \text{ns} \end{aligned}$$
6. **Why the other branch matters.** The other branch's capacitor slows p down even though it hangs off a different wire, because its charging current flows through the shared 100 Ω and drops voltage there. That's why a large load on one branch of a clock tree delays every other branch.

**Answer:** the Elmore delay to p is 1.2 ns.
:::
:::

::: check
given: N = 2 | 3 | 4 | 6; R = 100 | 470 | 1000; C = 10 | 47 | 100
answer: R*C*1e-12*N*(N + 1)/2*1e9
unit: ns
tolerance: 0.5%

## A uniform ladder has {N} sections of {R} Ω and {C} pF. What is the Elmore delay to its last node, in ns?

::: right
Right. $RC(1 + 2 + \cdots + N) = RC\,N(N + 1)/2$ = {answer}.
:::

::: misses
- [R*C*1e-12*N^2*1e9] That's the lumped $R_tC_t$. Earlier capacitors charge through less resistance.
- [R*C*1e-12*N*1e9] Each later capacitor charges through more resistance: add $1 + 2 + \cdots + N$.
- [R*C*1e-12*N^2/2*1e9] That's the continuous line's $R_tC_t/2$. With $N$ sections it's $N(N + 1)/2$.
- [any] Not yet. Add $C_k$ times the resistance from the source to section $k$.
:::
:::

::: check
kind: parts
given: R1 = 100 | 220 | 470; R2 = 330 | 680 | 1000; C1 = 10 | 22; C2 = 47 | 100

## A two-section ladder: {R1} Ω, then {C1} pF to ground, then {R2} Ω, then {C2} pF to ground at the output.

::: part
answer: R1*(C1 + C2)*1e-3
unit: ns
tolerance: 0.5%

### What is the Elmore delay to the middle node, in ns?

::: misses
- [R1*C1*1e-3] $C_2$'s charge flows through $R_1$ too, so it delays the middle node.
- [any] Not yet. Both capacitors share $R_1$ with the path to the middle node.
:::
:::

::: part
answer: (R1*C1 + (R1 + R2)*C2)*1e-3
unit: ns
tolerance: 0.5%

### And to the output?

::: misses
- [(R1 + R2)*(C1 + C2)*1e-3] $C_1$ shares only $R_1$ with the output's path.
- [R2*C2*1e-3 + R1*C1*1e-3] $C_2$'s charge flows through $R_1$ as well as $R_2$.
- [any] Not yet. $R_1C_1 + (R_1 + R_2)C_2$.
:::
:::

::: right
Right. Each capacitor counts once for each node, weighted by the resistance its path shares with that node's.
:::
:::

::: check
given: r = 0.1 | 0.2 | 0.5; c = 0.15 | 0.2 | 0.25; L = 0.5 | 1 | 2 | 3
answer: 0.38*r*c*1e-15*(L*1000)^2*1e12
unit: ps
tolerance: 1%

## An on-chip wire has {r} Ω/µm and {c} fF/µm. Estimate the 50% delay of a {L} mm run, in ps.

::: right
Right. $t_{50} \approx 0.38\,rcL^2$ = {answer}.
:::

::: misses
- [0.5*r*c*1e-15*(L*1000)^2*1e12] That's the Elmore delay; the 50% point is $0.38rcL^2$.
- [0.69*r*c*1e-15*(L*1000)^2*1e12] That lumps the whole wire into one RC. The distributed line is faster.
- [0.38*r*c*1e-15*L*1000*1e12] Both $r$ and $c$ scale with length: square it.
- [any] Not yet. $t_{50} \approx 0.38\,rcL^2$, with $L$ in µm.
:::
:::

::: check
given: t = 20 | 50 | 120; k = 2 | 3 | 4 | 6
answer: t/k
unit: ps
tolerance: 0.5%

## An unbuffered wire has a 50% delay of {t} ps. If it's split into {k} equal segments, each driven by an ideal buffer with no delay of its own, what's the total wire delay?

::: right
Right. Each segment has $1/k^2$ of the delay, and there are $k$ of them: {answer}.
:::

::: misses
- [t/k^2] That's one segment. There are {k} of them in a row.
- [t] Shorter segments are faster than the whole by more than their share.
- [any] Not yet. $k \times t/k^2 = t/k$.
:::
:::

::: check
kind: parts
given: Rs = 50 | 100 | 200; Ra = 100 | 200; Rb = 300 | 500; Cm = 1 | 2; Ca = 2 | 3; Cb = 5 | 10

## An RC tree: a source drives {Rs} Ω to node m (with {Cm} pF to ground). From m, one branch runs through {Ra} Ω to node a ({Ca} pF), another through {Rb} Ω to node b ({Cb} pF).

::: part
answer: (Rs*Cm + (Rs + Ra)*Ca + Rs*Cb)*1e-3
unit: ns
tolerance: 0.5%

### What is the Elmore delay to node a, in ns?

::: misses
- [(Rs*Cm + (Rs + Ra)*Ca)*1e-3] Node b's capacitor also charges through the shared {Rs} Ω.
- [(Rs*Cm + (Rs + Ra)*Ca + (Rs + Rb)*Cb)*1e-3] Node b's capacitor shares only the {Rs} Ω with a's path, not {Rb} Ω.
- [any] Not yet. Weight each capacitor by the resistance its path shares with node a's.
:::
:::

::: part
answer: (Rs*Cm + Rs*Ca + (Rs + Rb)*Cb)*1e-3
unit: ns
tolerance: 0.5%

### And to node b?

::: misses
- [(Rs*Cm + (Rs + Rb)*Cb)*1e-3] Include node a's capacitor through the shared {Rs} Ω.
- [any] Not yet. The same rule, with node b's path.
:::
:::

::: right
Right. A heavy branch slows its neighbors through the shared resistance, which is why clock trees are balanced.
:::
:::

::: check
kind: choice

## Lumping a long wire into a single resistor $R_t$ and capacitor $C_t$ predicts a 50% delay of $0.69R_tC_t$. How does that compare with the real distributed wire?

- [x] It's about 1.8 times too slow; the real delay is about $0.38R_tC_t$
- [ ] It's exact
- [ ] It's about half the real delay
- [ ] It's too slow by a factor that grows with length

::: right
Right. In the real wire, capacitance near the driver charges through little resistance, so the far end rises sooner than one lumped RC suggests. The ratio is fixed, since both estimates grow as $L^2$.
:::

::: misses
- [2] The lumped model makes every bit of capacitance charge through the whole resistance, which overstates the delay.
- [3] It's the other way: lumping overestimates the delay.
- [4] Both grow as $R_tC_t \propto L^2$, so their ratio doesn't depend on length.
:::
:::

::: check
kind: derivation
vars: R = 10..10000, C = 1e-12..1e-9, N = 2..20

## Find the Elmore delay of an $N$-section ladder with $R$ and $C$ per section, and its limit for a continuous line.

::: step
answer: R*C*N*(N + 1)/2

### Section $k$'s capacitor charges through $kR$. Add $kRC$ for $k$ = 1 to $N$.
:::

::: step
answer: (N*R)*(N*C)/2*(1 + 1/N)

### Write it in terms of the totals $R_t = NR$ and $C_t = NC$.
:::

::: right
Right. $\frac{R_tC_t}{2}(1 + 1/N)$, which tends to $R_tC_t/2$ as the sections shrink: half the lumped value.
:::
:::

::: check
kind: python
given: N = 3 | 5 | 8; R = 100 | 1000; C = 1 | 10

## Simulate a ladder exactly. It has `N` = {N} sections of `R` = {R} Ω and `C` = {C} nF and is driven by a 1 V step at t = 0. With node voltages $\mathbf v$, the equations are $C\,d\mathbf v/dt = -G\mathbf v + \mathbf b$, where $G$ is the ladder's conductance matrix and $\mathbf b$ has $1/R$ in its first entry. Using NumPy's eigen-decomposition, find the time `t50` at which the last node reaches 0.5 V (bisect to 1e-12 relative), the Elmore delay `elmore`, and their ratio `ratio = t50/elmore`.

```python starter
import numpy as np
elmore = R * C * 1e-9 * N * N
t50 = 0.69 * elmore
ratio = t50 / elmore
print(t50, elmore, ratio)
```

```python solution
import numpy as np
c = C * 1e-9
G = np.zeros((N, N))
for i in range(N):
    G[i, i] += 1 / R
    if i > 0:
        G[i - 1, i - 1] += 1 / R
        G[i, i - 1] -= 1 / R
        G[i - 1, i] -= 1 / R
b = np.zeros(N); b[0] = 1 / R
A = -G / c
w, V = np.linalg.eigh(A)
vinf = np.ones(N)
coef = V.T @ (-vinf)
def vout(t):
    return vinf[-1] + V[-1] @ (coef * np.exp(w * t))
elmore = R * c * N * (N + 1) / 2
lo, hi = 0.0, 10 * elmore
while hi - lo > 1e-12 * hi:
    m = (lo + hi) / 2
    if vout(m) < 0.5: lo = m
    else: hi = m
t50 = (lo + hi) / 2
ratio = t50 / elmore
print(t50, elmore, ratio)
```

```python tests
import numpy as np
c = C * 1e-9
assert abs(elmore - R * c * N * (N + 1) / 2) < 1e-15 * elmore + 1e-30, "The Elmore delay of an N-section ladder is RC·N(N+1)/2."
G = np.diag([2.0] * N); G[-1, -1] = 1.0
for i in range(N - 1): G[i, i + 1] = G[i + 1, i] = -1.0
w, V = np.linalg.eigh(-G / (R * c))
coef = V.T @ (-np.ones(N))
f = lambda t: 1 + V[-1] @ (coef * np.exp(w * t))
lo, hi = 0.0, 10 * elmore
for _ in range(200):
    m = (lo + hi) / 2
    if f(m) < 0.5: lo = m
    else: hi = m
assert abs(t50 / lo - 1) < 1e-9, f"The exact 50% time is {lo:.6e} s."
assert 0.7 < ratio < 0.8, "The ratio should sit between the distributed line's 0.76 and a few sections' value."
```

::: right
Right. The ratio of the true 50% delay to the Elmore delay drifts from 0.69 for one section toward 0.76 for a continuous line, so for ladders Elmore overestimates by a fairly steady third.
:::
:::

::: explain
## Explain why a wire's RC delay grows with the square of its length, and why inserting buffers along it reduces the total delay even though each buffer adds a delay of its own.

::: model
A longer wire has proportionally more resistance and proportionally more capacitance, and the time to charge capacitance through resistance scales with their product: double the length and both double, so the delay quadruples. Splitting the wire into $k$ buffered segments makes each segment's delay $1/k^2$ of the whole wire's, because each has $1/k$ of the resistance and $1/k$ of the capacitance, and each buffer recharges its segment from a fresh strong source instead of through all the resistance before it. The $k$ segments together take $1/k$ of the unbuffered delay. Each buffer adds a fixed delay, so adding buffers helps until their own delays outweigh the quadratic saving, which sets an optimum spacing.
:::
:::

::: practice

::: check
given: R = 1 | 2.2 | 4.7; C = 10 | 22 | 47; N = 2 | 4
answer: R*C*N*(N + 1)/2
unit: µs
tolerance: 0.5%

## A ladder has {N} sections of {R} kΩ and {C} nF. What's the Elmore delay to its end, in µs?

::: misses
- [R*C*N^2] That's the lumped total; use $N(N + 1)/2$.
- [any] $RC\,N(N + 1)/2$.
:::
:::

::: check
given: t = 10 | 25 | 40; m = 2 | 3 | 5
answer: t*m^2
unit: ps
tolerance: 0.5%

## A wire's delay is {t} ps. What is the delay of a wire {m} times as long, with the same cross-section?

::: misses
- [t*m] Both resistance and capacitance grow with length: square the factor.
- [any] Delay grows as $L^2$.
:::
:::
:::
