Skip to content
RFrftools.io
PCB

PCB Via Stub Resonance Calculator

Calculate via stub resonant frequency, signal notch depth, and backdrill benefit for high-speed PCB design. Optimize stub length. Free, instant results.

Loading calculator...

Formula

Lstub=Tpcb(1NlayerNtotal),fres=vp4LstubL_{stub} = T_{pcb}\left(1-\frac{N_{layer}}{N_{total}}\right),\quad f_{res} = \frac{v_p}{4 L_{stub}}

Reference: Eric Bogatin, "Signal and Power Integrity Simplified" 3rd ed.

L_stubVia stub length (mm)
vpPropagation velocity in dielectric (m/s)
εrDielectric constant
f_resQuarter-wave resonant frequency (Hz)

How It Works

The Via Stub Resonance Calculator computes the quarter-wave resonant frequency of via stubs — essential for high-speed digital (>5 Gbps) and RF/microwave PCB design. Signal integrity engineers use this to identify frequency notches that cause 10-20 dB insertion loss at resonance, failing channel compliance for PCIe Gen4/5, USB4, and 100G Ethernet.

Per Johnson/Graham's 'High-Speed Digital Design,' a through-hole via creates a stub below the signal layer exit point. This stub acts as a quarter-wave resonator at f_res = c / (4 x L_stub x sqrt(Er)), where L_stub is the unused via barrel length. On a 1.6mm board with signal at layer 2 (0.2mm from top), the stub length is 1.4mm, resonating at 5.3 GHz on FR4 (Er=4.3).

Per IEEE 802.3 100GBASE-CR4 specs, maximum insertion loss at 12.5 GHz is 1.5 dB per via. A via stub resonating at 12 GHz causes 15+ dB notch — catastrophic for signal integrity. This is why back-drilling (controlled-depth drilling per IPC-6012E) is mandatory for 25+ Gbps channels, removing the stub to within 0.1-0.2mm of the signal layer.

Stub resonance Q-factor depends on via barrel resistance and dielectric loss. FR4 (tan_delta = 0.02) provides natural damping with Q approximately 10-15; low-loss materials like Rogers (tan_delta = 0.004) have Q = 50+, creating sharper notches. Counter-intuitively, lossy substrates may perform better at specific frequencies due to resonance damping.

Worked Example

Problem

Calculate stub resonance for a through-hole via on 6-layer 2.4mm board, signal transitioning at layer 3 (0.4mm from top), FR4 Er=4.3.

Solution
  1. Board thickness: 2.4mm
  2. Signal layer depth: 0.4mm from top surface
  3. Stub length: L_stub = 2.4 - 0.4 = 2.0mm
  4. Effective velocity: v = c/sqrt(Er) = 3e8/sqrt(4.3) = 1.45e8 m/s
  5. Resonant frequency: f_res = v/(4 x L_stub) = 1.45e8/(4 x 0.002) = 18.1 GHz
  6. For 25 Gbps signal (fundamental at 12.5 GHz): resonance at 18 GHz affects 3rd harmonic
  7. Back-drill requirement: To push resonance above 25 GHz, need L_stub < 1.4mm, so back-drill 0.6mm minimum
Result: Stub resonates at 18.1 GHz. For 25 Gbps NRZ, primary concern is 12.5 GHz — safe. For 56 Gbps PAM4 (28 GHz Nyquist), back-drilling mandatory to remove the 18 GHz notch.

Practical Tips

  • Use HDI micro-vias for signals >10 Gbps — blind vias from L1 to L2 have no stub by design, eliminating resonance concerns up to 50+ GHz per IPC-2226.
  • Specify back-drill depth with +0.1/-0.0mm tolerance to signal layer — leaves minimal stub while avoiding drilling into signal plane per IPC-6012E.
  • For 25+ Gbps: place signal vias at layers closest to outer surfaces to minimize stub length even without back-drilling — saves cost on prototype boards.

Common Mistakes

  • Ignoring layer position in stub calculation — a signal at layer 2 versus layer 4 on same board has dramatically different stub lengths and resonant frequencies. Always track signal layer, not just board thickness.
  • Assuming back-drilling solves all problems — back-drill tolerance is +/-0.1mm per IPC-6012E; a 0.2mm residual stub still resonates at 37 GHz, affecting 112 Gbps PAM4 signals.
  • Forgetting that stub resonance is bidirectional — the notch appears in both S21 (insertion loss) and S11 (return loss), causing both signal degradation and reflection.

Frequently Asked Questions

The unused portion of a through-hole via below the signal exit layer forms a transmission line stub terminated in an open circuit. Electromagnetic energy reflects at the open end, creating standing waves. At quarter-wave frequency, the stub presents a short circuit to the signal layer, causing maximum reflection (15-25 dB return loss degradation) per Johnson/Graham Chapter 5.
Three methods per IPC-6012E: (1) Back-drilling — removes stub barrel, most effective, adds $0.50-2.00/board; (2) Blind/buried vias — inherently stub-free, requires HDI process; (3) Layer planning — route signals on layers closest to exit surface. Back-drilling is standard for 25+ Gbps; HDI for 56+ Gbps.
When f_res falls within the signal bandwidth. For NRZ, bandwidth approximately 0.7 x bit_rate; for PAM4, approximately 0.35 x bit_rate. A 5 GHz resonance affects 7+ Gbps NRZ or 14+ Gbps PAM4. Per IEEE 802.3, 10GBASE-KR specifies via stub effects in channel model — above 10 Gbps, stub analysis is mandatory.
Yes — Er directly sets resonant frequency (f proportional to 1/sqrt(Er)). FR4 (Er=4.3) resonates 15% lower than Rogers RO4003C (Er=3.38) for same stub length. Loss tangent affects Q-factor: low-loss materials create sharper, deeper notches. Paradoxically, standard FR4 may outperform low-loss laminates at stub resonance frequencies due to damping.

Shop Components

As an Amazon Associate we earn from qualifying purchases.

PCB Manufacturing (JLCPCB)

Affordable PCB fabrication with controlled impedance options

FR4 Copper Clad Laminate

FR4 laminate sheets for custom PCB prototyping

Thermal Paste

Thermal interface material for component heat management

Related Calculators