NewAI Part GeneratorFree to get started
FREE TOOL

Trace length matching calculator

This trace length matching calculator works both ways: from a timing skew budget to a length tolerance for microstrip or stripline, and from a length mismatch back to skew. Budgets from published interface limits are ready to compare against.

Solve for
Examples
Units
s
bit/s

Optional: shows the skew as a share of one bit time.

Routing

Use your laminate’s Dk at the signal frequency.

mm
mm
mm

Optional: fill in for a differential pair to use its odd-mode delay.

Copper weight

Maximum length mismatch

3.39 mm

Delay per mm
5.899 ps/mm
In mils
133.5 mil
Delay per inch
149.8 ps/in
Velocity
169.5 mm/ns
Velocity factor
0.565 of the speed of light
Effective Dk εeff
3.128
Impedance Z0
54.5 Ω

Hammerstad-Jensen microstrip, quasi-static with copper thickness. Solder mask adds dielectric above the trace, so a masked outer-layer trace is a little slower than this.

A spec’s skew limit usually covers more than the PCB trace: packages, connectors and cables take their share. Budget the trace for less than the whole limit, and count via barrels in the length.

Length equivalent of common skew budgets

SkewMismatch (mm)
1 ps0.1695
2 ps0.339
5 ps0.8475
10 ps1.695
20 ps3.39
50 ps8.475
100 ps16.95
200 ps33.9

How do you calculate length matching tolerance?

ΔL = Δt ÷ tpd. On an FR-4 stripline with εr 4.4, tpd is 6.997 ps/mm, so 20 ps of skew allows 2.86 mm (113 mil) of mismatch. On a surface microstrip the delay per millimeter is shorter, so the same skew allows more length.

PCB length matching formula

Skew is the difference in delay between two paths. On traces with the same delay per length, it is proportional to their difference in length.

ΔL = Δt ÷ tpd     Δt = ΔL × tpd     Δt = k × UI
Δt
skew budget in seconds
ΔL
length mismatch
tpd
delay per length, √εeff ÷ c
UI
one bit time, 1 ÷ bit rate

tpd comes from the same model as the propagation delay calculator: stripline uses εr directly, and microstrip uses the Hammerstad-Jensen effective Dk, or the Kirschning-Jansen odd-mode value when a gap is entered for a pair.

Worked examples

Example 1: 20 ps DisplayPort intra-pair limit on an inner layer

tpd = 6.997 ps/mm for εr 4.4. ΔL = 20 ps ÷ 6.997 ps/mm = 2.86 mm (113 mil). TI recommends tighter matching in practice, about 5 mil.

Example 2: an HDMI 1.4b data pair at 3.4 Gb/s

One bit is 1 ÷ 3.4 Gb/s = 294 ps. The intra-pair source limit of 0.15 × Tbit is 44.1 ps, which is 6.31 mm (248 mil) on the same stripline.

Example 3: what 50 mil means on a USB 2.0 pair

On a 0.3 mm microstrip over 0.2 mm, tpd = 5.899 ps/mm, so 50 mil (1.27 mm) is 7.49 ps of skew, 0.36 % of a 480 Mb/s bit. The 100 ps in the USB 2.0 specification applies to the cable, not the board. For scale, 100 ps on this microstrip would be 17 mm.

Length matching tolerance: published skew limits

Limits as stated in the source, with the length or time they equal on an FR-4 stripline with εr 4.4. Device tables apply to the devices they name, so check your own part’s guide.

InterfaceLimitApplies toOn εr 4.4 striplineSource
USB 2.0 cable, D+ to D−100 psWhole cable, not the PCB14.3 mm (563 mil)USB 2.0 Specification, sec. 7.1.3
USB 2.0 pair on a PCB50 milWithin a pair8.89 psTI SPRAAR7J, table A-1
USB 3, SATA, PCIe, HDMI pair on a PCB5 milWithin a pair889 fsTI SPRAAR7J, table A-2
DisplayPort source20 psWithin a pair (TI recommends about 5 mil)2.86 mm (113 mil)TI SLLA414A, sec. 2.4
HDMI 1.4b source, within a pair44.1 ps0.15 × Tbit at 3.4 Gb/s6.31 mm (248 mil)TI SLLA414A, sec. 2.3
HDMI 1.4b source, between pairs588 ps0.20 × Tcharacter (10 bits) at 3.4 Gb/s84.1 mm (3310 mil)TI SLLA414A, sec. 2.3
PCIe lanes550 milBetween all RX or all TX pairs, total97.7 psTI SPRAAR7J, table A-2 (AM57xx)

Length matching table for common skew budgets

ΔL = Δt ÷ tpd for FR-4 stripline at εr 4.4 (6.997 ps/mm) and a 0.3 mm microstrip over 0.2 mm (5.899 ps/mm). Use the PCB skew calculator above for any other budget or stackup.

SkewStripline (mm)Stripline (mil)Microstrip (mm)Microstrip (mil)
1 ps0.1435.630.176.67
2 ps0.28611.30.33913.3
5 ps0.71528.10.84833.4
10 ps1.4356.31.766.7
20 ps2.861133.39133
50 ps7.152818.48334
100 ps14.356317667
200 ps28.6113033.91330

PCB trace length matching in practice

A spec’s skew limit usually covers the whole channel, so the trace gets only part of it after the IC packages, connectors and any cable. Note that USB 2.0’s 100 ps is a cable limit, not a board rule. TI recommends adding serpentines as close to the mismatched ends as possible, keeping the via count equal on both traces, and including via length when checking skew. If nets change layers, match delay rather than length. At the tightest budgets the glass weave itself causes skew (TI gives εr of about 6 for glass and 3 for epoxy), and rotating the artwork or routing at 10° to 35° to the weave reduces it. Keep any bends in the serpentine gentle: TI’s rule for high-speed pairs is a bend angle over 135°.

Glossary

Skew
The difference in arrival time between two signals that should arrive together.
Intra-pair skew
Skew between the two traces of one differential pair.
Inter-pair skew
Skew between separate pairs in the same bus or group.
Unit interval (UI)
One bit time, the reciprocal of the bit rate.
Serpentine
A meandering section added to a trace to increase its length and delay.
Propagation delay (tpd)
The time a signal takes to travel a unit length of trace.

Related guides

Frequently asked questions

What is PCB length matching?

Making related traces equal enough in delay that their signals arrive within the skew budget, usually by adding a serpentine to the shorter trace. The allowed mismatch is ΔL = Δt ÷ tpd, which is 2.86 mm (113 mil) for 20 ps on an εr 4.4 stripline.

What differential pair length matching tolerance should I use?

It depends on the interface. TI’s layout guides recommend 5 mil within a pair for USB 3, PCIe and SATA, and its AM335x-class tables allow 50 mil for USB 2.0. On an εr 4.4 stripline, 5 mil is 889 fs of skew. Check the guide for your own device, since these tables apply to the parts they name.

How do you convert skew to length mismatch?

Divide the skew by the delay per length: ΔL = Δt ÷ tpd. With 6.997 ps/mm on an εr 4.4 stripline, 20 ps is 2.86 mm (113 mil).

How much length mismatch is allowed for USB 2.0?

The USB 2.0 specification (sec. 7.1.3) limits skew to 100 ps, but that figure is for the cable, not for PCB traces. TI’s AM335x-class layout tables allow 50 mil within a pair, which is 7.49 ps on FR-4 microstrip, or about 0.36 % of a 480 Mb/s bit.

How much mismatch is allowed for USB 3, PCIe and SATA?

TI’s layout guides recommend 5 mil within a pair for USB 3, PCIe and SATA, which is 889 fs on an εr 4.4 stripline. The lane-to-lane limit in its device tables is much looser, for example 550 mil on AM57xx.

What is the difference between intra-pair and inter-pair skew?

Intra-pair skew is between the two traces of one differential pair. Inter-pair skew is between different pairs of the same group. TI’s guide notes that some standards have no inter-pair requirement, because the lanes do not need to be the same length.

Where should I put the serpentine for length matching?

TI recommends adding it as close to the mismatched ends as possible. A square bump of amplitude A adds 2A of trace, and mitered corners add slightly less.

Should I match length or delay when traces change layers?

Delay. An εr 4.4 stripline has 6.997 ps/mm, while a surface microstrip of 5.899 ps/mm is about 16 % faster, so equal lengths on different layers do not have equal delays. Count via barrels too.

More free PCB tools

See all free electronics tools →

Sources

Design the whole board, not one number

ProtoFlow is free AI PCB design software: describe a circuit and get a schematic with real parts, PCB layout with an autorouter, SPICE simulation and Gerber files. Native KiCad, Altium and EAGLE import and export. Free on macOS, Windows and Linux.

Get for Mac

Free to start. No card required.