Skip to content
RFrftools.io
General

Crystal Load Capacitance Calculator

Calculate actual load capacitance seen by a crystal oscillator, estimate frequency error from spec, and find recommended external capacitor values.

Loading calculator...

Formula

Crec=2(CLCstray)C_{rec} = 2(C_L - C_{stray})

Reference: IEC 60444 / Crystal manufacturer application notes

CLSpecified crystal load capacitance (pF)
C1, C2External load capacitors (pF)
CstrayPCB stray capacitance (pF)

How It Works

Crystal load capacitance calculator computes CL requirements and frequency pulling for oscillator design — essential for microcontroller clocks, RTC circuits, and RF frequency references. Embedded engineers, RF designers, and timing specialists use this to match crystal load capacitance for accurate frequency operation. Per IEC 60122, crystals are specified at a particular load capacitance CL (typically 6-20pF); mismatched CL causes frequency deviation of Δf/f = -Cm/(2×CL²×C0) per ppm change in load capacitance, where Cm is motional capacitance (typically 1-30fF) and C0 is shunt capacitance (1-7pF). For a 32.768kHz RTC crystal with CL = 12.5pF, a 1pF mismatch causes approximately 50ppm frequency error — equivalent to 2.6 minutes/month drift.

Worked Example

Design oscillator for 16MHz crystal with CL = 18pF specification, 3pF stray capacitance (PCB traces + MCU pins). Required external capacitors: CL = (C1 × C2)/(C1 + C2) + Cstray. With C1 = C2 (symmetric loading): 18pF = C1/2 + 3pF, C1 = 30pF. Select 27pF (E12 series) + 3pF stray = 16.5pF actual CL. Frequency error from mismatch: typical Cm = 10fF, C0 = 3pF. Δf/f = -10fF/(2×(18pF)²) × (18-16.5)pF = -23ppm = -368Hz deviation at 16MHz. For RTC accuracy, trim with 5-20pF variable capacitor or use TCXO (±2ppm) for critical timing. Verify startup: ESR < R_critical where R_critical = 1/(2π×f×C1) × (gm/4 - 1) per Maxim application note AN2154.

Practical Tips

  • For 32.768kHz RTC crystals, typical CL = 6-12.5pF; match to ±1pF for <50ppm error. Seiko Epson recommends 6.8pF external caps for 12.5pF CL crystal with 5pF stray
  • Verify oscillation startup with oscilloscope — amplitude should reach 80% of rail within 10ms for MHz crystals, 1-2 seconds for 32.768kHz. Insufficient gain causes no-start or intermittent operation
  • For critical timing (GPS, telecom), use TCXO (±2ppm) or OCXO (±0.01ppm) instead of crystal — cost is $1-10 vs $0.20 but eliminates tuning and temperature compensation

Common Mistakes

  • Ignoring PCB stray capacitance — 2-5pF typical for through-hole, 1-2pF for SMD with ground pour; measure with VNA or calculate from trace geometry per IPC-2251
  • Using X7R capacitors for load capacitors — X7R varies ±15% with temperature; use NP0/C0G capacitors (±30ppm/°C) for stable frequency over temperature
  • Forgetting MCU internal capacitance — STM32 crystal pins have 5pF internal capacitance per datasheet; include in CL calculation

Frequently Asked Questions

Primary cause: CL mismatch — 1pF deviation causes 20-50ppm offset depending on crystal. Secondary causes: PCB stray capacitance (1-5pF), MCU pin capacitance (2-10pF), temperature drift (crystals have parabolic frequency-temperature curve, ±50ppm over -40°C to +85°C for AT-cut). Aging causes 1-5ppm/year drift per MIL-PRF-55310.
Calculate: C_ext = 2 × (CL_spec - C_stray). Measure stray capacitance or estimate: PCB = 2pF, MCU pins = 3-5pF. For CL = 12.5pF with 5pF stray: C_ext = 2 × (12.5 - 5) = 15pF each side. Use NP0/C0G capacitors for stability; tolerance ±5% is adequate for most applications.
Pullability (trimming sensitivity) = Δf per pF change in CL. Typical values: 10-30ppm/pF for AT-cut MHz crystals, 50-100ppm/pF for tuning-fork 32.768kHz. Higher pullability enables fine-tuning but increases sensitivity to stray capacitance. Specified by crystal manufacturer as 'pullability' or calculated from Cm and C0.
Yes — replace one load capacitor with trimmer (Murata TZC3 series: 5-20pF). Adjustment range: ±100ppm typical for MHz crystals. For digital trimming, some MCUs have internal programmable capacitor banks (STM32: 0-15pF in 0.5pF steps). Alternatively, use VCXO with varactor diode for voltage-controlled tuning (±50ppm typical range).

Shop Components

As an Amazon Associate we earn from qualifying purchases.

Resistor Kit (1%, E24)

Precision 1% thin-film SMD resistor assortment, 0402 package

Ceramic Capacitor Kit

MLCC ceramic capacitor assortment in 0402 package

Solderless Breadboard

Full-size breadboard for circuit prototyping

Related Calculators