---
title: Microstrip and stripline
heading: Transmission lines etched on a circuit board
eyebrow: C10 · Lesson 5 · Microstrip and stripline
xp: 40
---

::: hook
Almost every high-speed line in the world is a copper strip on a circuit board. On an outer layer, with a ground plane below and air above, it's **microstrip**; buried between two ground planes, it's **stripline**. Neither has a neat closed-form field like coax, because part of the field is in the board and part in the air. But good approximations give the impedance to about 1%, and they turn "50 Ω" into a trace width a board house can etch.
:::

::: play
- The curve is microstrip's characteristic impedance against the trace's width-to-height ratio w/h, for the board's relative permittivity $\varepsilon_r$.
- Wider traces have more capacitance to the ground plane and lower impedance. On FR-4 ($\varepsilon_r$ ≈ 4.4), 50 Ω needs w/h of about 1.9: a 3.1 mm trace over 1.6 mm of board, or 0.39 mm over a 0.2 mm inner layer.
- The second readout is the effective permittivity: part of the field runs in air, so it's between 1 and $\varepsilon_r$, and it sets the speed.
:::

```sim plot
view: graph
x: u = 0.1..6
y: Z = 0..200 Ω
slider: er = 2.2..10 step 0.1 = 4.4
slider: r = 0.2..6 step 0.05 = 1.9
plot: 60/sqrt(((er + 1)/2 + (er - 1)/2*((1 + 12/u)^(-0.5) + 0.04*(1 - u)^2)))*ln(8/u + u/4)*step(1 - u) + 120*pi/(sqrt(((er + 1)/2 + (er - 1)/2*(1 + 12/u)^(-0.5)))*(u + 1.393 + 0.667*ln(u + 1.444)))*(1 - step(1 - u)) | samples: 400 | label: microstrip Z₀
readout: Z₀ at the slider's w/h, Ω = 60/sqrt(((er + 1)/2 + (er - 1)/2*((1 + 12/r)^(-0.5) + 0.04*(1 - r)^2)))*ln(8/r + r/4)*step(1 - r) + 120*pi/(sqrt(((er + 1)/2 + (er - 1)/2*(1 + 12/r)^(-0.5)))*(r + 1.393 + 0.667*ln(r + 1.444)))*(1 - step(1 - r)) | digits: 4
readout: effective permittivity there = ((er + 1)/2 + (er - 1)/2*((1 + 12/r)^(-0.5) + 0.04*(1 - r)^2))*step(1 - r) + ((er + 1)/2 + (er - 1)/2*(1 + 12/r)^(-0.5))*(1 - step(1 - r)) | digits: 4
```

::: predict
## A 50 Ω microstrip on a 1.6 mm FR-4 board is about 3.1 mm wide. How wide is a 50 Ω microstrip on a 0.2 mm layer of the same material?

- [ ] 3.1 mm
- [ ] 1.6 mm
- [x] About 0.39 mm
- [ ] About 0.05 mm

::: reveal
About 0.39 mm. The impedance depends only on the ratio w/h (and the materials), so an eight-times-thinner dielectric needs an eight-times-narrower trace. That's why high-speed boards use thin layers: 50 Ω traces become narrow enough to route densely.
:::
:::

::: nameit
## Microstrip

The field of a microstrip lives partly in the board and partly in the air above, so the wave travels at a speed set by an **effective permittivity** between 1 and $\varepsilon_r$. With u = w/h, Hammerstad's formulas give it and the impedance to about 1% for $u \ge 1$:

$$\varepsilon_\text{eff} = \frac{\varepsilon_r + 1}{2} + \frac{\varepsilon_r - 1}{2}\left(1 + \frac{12}{u}\right)^{-1/2}, \qquad Z_0 = \frac{120\pi}{\sqrt{\varepsilon_\text{eff}}\,\left[u + 1.393 + 0.667\ln(u + 1.444)\right]}$$

and for $u \le 1$, $Z_0 = \frac{60}{\sqrt{\varepsilon_\text{eff}}}\ln\!\left(\frac{8}{u} + \frac u4\right)$, with $0.04(1 - u)^2$ added inside the parentheses of $\varepsilon_\text{eff}$. Because some field is in air, microstrip radiates a little and its $\varepsilon_\text{eff}$ creeps up with frequency (dispersion).

## Stripline

A strip centered between two ground planes a distance b apart sits entirely in the dielectric, so its waves travel at exactly $c/\sqrt{\varepsilon_r}$: no dispersion, no radiation and much less crosstalk. For a thin strip with $w/b > 0.35$,

$$Z_0 \approx \frac{30\pi}{\sqrt{\varepsilon_r}}\cdot\frac{b}{w + 0.441b}$$

## Delay

The delay per unit length is $\sqrt{\varepsilon_\text{eff}}/c$: about 61 ps/cm for 50 Ω microstrip on FR-4 and 70 ps/cm for stripline. Matching the lengths of a bus means matching delays, which on mixed layers are not the same as lengths.
:::

::: example
## Find $\varepsilon_\text{eff}$ and $Z_0$ for a 3 mm microstrip on 1.6 mm FR-4 ($\varepsilon_r$ = 4.4).

::: solution
1. **Width over height.**
   $$\begin{aligned} u &= \frac{3}{1.6} \\ &= 1.875 \end{aligned}$$
2. **Effective permittivity.**
   $$\begin{aligned} \varepsilon_\text{eff} &= 2.7 + 1.7(1 + 6.4)^{-1/2} \\ &= 2.7 + \frac{1.7}{2.720} \\ &= 3.325 \end{aligned}$$
3. **Characteristic impedance.** The bracket is $1.875 + 1.393 + 0.667\ln 3.319 = 4.068$, and $\sqrt{3.325} = 1.823$:
   $$\begin{aligned} Z_0 &= \frac{377}{1.823 \times 4.068}\ \Omega \\ &= 50.8\ \Omega \end{aligned}$$
4. **Exactly 50 Ω.** That's close to 50 Ω; a 3.08 mm trace gives 50.0 Ω exactly.

**Answer:** $\varepsilon_\text{eff}$ = 3.325 and $Z_0$ = 50.8 Ω.
:::
:::

::: example
## A stripline has its strip centered between planes 1.6 mm apart in FR-4. What width gives about 55 Ω, and how fast is it?

::: solution
1. **Pick a width and check the formula's range.** Try w = 0.6 mm:
   $$\begin{aligned} \frac wb &= 0.375 \\ &> 0.35 \end{aligned}$$
2. **Characteristic impedance.**
   $$\begin{aligned} Z_0 &= \frac{30\pi}{\sqrt{4.4}}\cdot\frac{1.6}{0.6 + 0.7056} \\ &= 44.93 \times 1.2255 \\ &= 55.1\ \Omega \end{aligned}$$
   It's narrower than the microstrip for similar impedance, because there's a ground on both sides.
3. **Speed.** The fields sit entirely in the FR-4, so
   $$\frac{\sqrt{4.4}}{c} = 70\ \text{ps/cm}$$
   against 61 for the microstrip.

**Answer:** a 0.6 mm strip gives 55.1 Ω, with a delay of 70 ps/cm.
:::
:::

::: example
## Two traces of a DDR byte lane must arrive within 5 ps of each other. One runs 4 cm on the surface (microstrip, $\varepsilon_\text{eff}$ = 3.3), the other on an inner layer (stripline, $\varepsilon_r$ = 4.4). How long should the inner trace be?

::: solution
1. **Delay of the surface trace.**
   $$\begin{aligned} t &= \frac{4\sqrt{3.3}}{c} \\ &= 4 \times 60.6\ \text{ps} \\ &= 242\ \text{ps} \end{aligned}$$
2. **Length of the inner trace.** It runs at 70.0 ps/cm, so it needs
   $$\begin{aligned} l &= \frac{242}{70.0}\ \text{cm} \\ &= 3.46\ \text{cm} \end{aligned}$$
   5.4 mm shorter than the surface trace.
3. **Equal lengths would fail.** Matching their lengths instead would make them differ by 37 ps.

**Answer:** the inner trace should be 3.46 cm long, 5.4 mm shorter than the surface one.
:::
:::

::: check
kind: parts
given: e = 3.5 | 4.4 | 10.2; u = 1.5 | 2 | 3

## A microstrip has w/h = {u} on a board with $\varepsilon_r$ = {e}.

::: part
answer: (e + 1)/2 + (e - 1)/2*(1 + 12/u)^(-0.5)
tolerance: 0.5%

### What is its effective permittivity?

::: misses
- [e] Part of the field is in air, so it's less than $\varepsilon_r$.
- [any] Hammerstad's formula for $u \ge 1$.
:::
:::

::: part
answer: 120*pi/(sqrt((e + 1)/2 + (e - 1)/2*(1 + 12/u)^(-0.5))*(u + 1.393 + 0.667*ln(u + 1.444)))
unit: Ω
tolerance: 0.5%

### What is its characteristic impedance?

::: misses
- [any] $120\pi/(\sqrt{\varepsilon_\text{eff}}[u + 1.393 + 0.667\ln(u + 1.444)])$.
:::
:::
:::

::: check
kind: parts
given: b = 0.5 | 1 | 1.6; w = 0.3 | 0.5; e = 3.5 | 4.4

## A stripline strip {w} mm wide sits centered between planes {b} mm apart, in $\varepsilon_r$ = {e}.

::: part
answer: 30*pi/sqrt(e)*b/(w + 0.441*b)
unit: Ω
tolerance: 0.5%

### Estimate its impedance (valid when w/b > 0.35, which these mostly are).

::: misses
- [any] $\frac{30\pi}{\sqrt{\varepsilon_r}}\cdot\frac{b}{w + 0.441b}$.
:::
:::

::: part
answer: sqrt(e)/2.998e8*1e12/100
unit: ps/cm
tolerance: 0.5%

### What is its delay per centimeter?

::: misses
- [any] $\sqrt{\varepsilon_r}/c$.
:::
:::
:::

::: check
kind: parts
given: e = 2.8 | 3.3 | 3.8; L = 5 | 12

## A microstrip has $\varepsilon_\text{eff}$ = {e} and is {L} cm long.

::: part
answer: L*sqrt(e)/2.998e8*1e12/100
unit: ps
tolerance: 0.5%

### What is its delay?

::: misses
- [any] $L\sqrt{\varepsilon_\text{eff}}/c$.
:::
:::

::: part
answer: L*sqrt(e)/sqrt(4.4)
unit: cm
tolerance: 0.5%

### How long a stripline in $\varepsilon_r$ = 4.4 has the same delay?

::: misses
- [any] Equal $L\sqrt\varepsilon$.
:::
:::
:::

::: check
kind: derivation
vars: e = 1..12, c = 100000000..300000000

## A line's wave travels in a medium of effective permittivity e, and c is the speed of light.

::: step
answer: c/sqrt(e)

### How fast does it travel?
:::

::: step
answer: sqrt(e)/c

### What delay per unit length does it have?
:::

::: right
Right. The delay grows as the square root of the permittivity.
:::
:::

::: check
kind: choice

## Why are the fastest, most crosstalk-sensitive signals on a board usually routed as stripline rather than microstrip?

- [ ] Stripline is cheaper to make
- [x] Its field is enclosed by two ground planes, so it radiates and couples less and has no dispersion
- [ ] Stripline has lower delay
- [ ] Microstrip can't be made 50 Ω

::: misses
- [1] It needs more layers, so it costs more.
- [3] It's slower: all of its field is in the dielectric.
- [4] It can; the width just depends on the layer thickness.
:::
:::

::: check
kind: python

## Write `microstrip(w, h, er)`: return `(z0, eeff)` by Hammerstad's formulas, for any w/h (use the $u \le 1$ forms when w/h ≤ 1). Then write `width_for(z, h, er)`: the width giving impedance z, found by bisection between 0.01h and 20h.

```python starter
def microstrip(w, h, er):
    return (50.0, er)

def width_for(z, h, er):
    return h
```

```python solution
import math

def microstrip(w, h, er):
    u = w / h
    if u <= 1:
        ee = (er + 1) / 2 + (er - 1) / 2 * ((1 + 12 / u) ** -0.5 + 0.04 * (1 - u) ** 2)
        z0 = 60 / math.sqrt(ee) * math.log(8 / u + u / 4)
    else:
        ee = (er + 1) / 2 + (er - 1) / 2 * (1 + 12 / u) ** -0.5
        z0 = 120 * math.pi / (math.sqrt(ee) * (u + 1.393 + 0.667 * math.log(u + 1.444)))
    return (z0, ee)

def width_for(z, h, er):
    lo, hi = 0.01 * h, 20 * h
    for _ in range(80):
        mid = (lo + hi) / 2
        if microstrip(mid, h, er)[0] > z:
            lo = mid
        else:
            hi = mid
    return (lo + hi) / 2
```

```python tests
z, ee = microstrip(3, 1.6, 4.4)
assert abs(z - 50.82) < 0.01 and abs(ee - 3.3249) < 1e-3, f"3 mm over 1.6 mm FR-4: 50.82 Ω, εeff 3.325; got {z:.3f}, {ee:.4f}."
z, ee = microstrip(0.2, 0.2, 4.4)
assert abs(z - 71.10) < 0.01, f"w = h: 71.10 Ω, got {z:.3f}."
w = width_for(50, 1.6, 4.4)
assert abs(w - 3.083) < 0.002, f"50 Ω on 1.6 mm FR-4 needs 3.083 mm, got {w:.4f}."
assert abs(width_for(50, 0.2, 4.4) / 0.2 - w / 1.6) < 1e-6, "The width scales with the height."
```

::: right
Right. That's what a board stack-up calculator does, before it adds corrections for copper thickness and solder mask.
:::
:::

::: explain
## Why does microstrip's impedance depend only on the ratio of width to height, not on either alone?

::: model
Characteristic impedance comes from the capacitance and inductance per unit length, and both depend only on the shape of the field's cross-section. If the trace width and the board thickness are both scaled by the same factor, the whole cross-section is magnified without changing its shape: the field lines look the same, just bigger. Capacitance per unit length is a ratio of areas to distances in that cross-section, so it doesn't change, and neither does the inductance. So only w/h (and the permittivities, and to a small degree the copper thickness relative to h) can matter, which is why designers quote widths per layer thickness.
:::
:::

::: practice
::: check
given: e = 4.4 | 3.5; u = 1.2 | 2.5
answer: (e + 1)/2 + (e - 1)/2*(1 + 12/u)^(-0.5)
tolerance: 0.5%

## Effective permittivity of microstrip with w/h = {u} on $\varepsilon_r$ = {e}?

::: misses
- [any] Hammerstad's formula.
:::
:::

::: check
given: e = 3.3 | 4.4; L = 3 | 10
answer: L*sqrt(e)/2.998e8*1e12/100
unit: ps
tolerance: 0.5%

## Delay of {L} cm of line with permittivity {e}?

::: misses
- [any] $L\sqrt\varepsilon/c$.
:::
:::

::: check
given: b = 1 | 2; w = 0.5 | 0.9; e = 4.4
answer: 30*pi/sqrt(e)*b/(w + 0.441*b)
unit: Ω
tolerance: 0.5%

## Stripline: w = {w} mm, b = {b} mm, $\varepsilon_r$ = {e}. Impedance?

::: misses
- [any] $\frac{30\pi}{\sqrt{\varepsilon_r}}\cdot\frac{b}{w + 0.441b}$.
:::
:::
:::
