Crystal Load Capacitance Calculator
Calculate actual load capacitance seen by a crystal oscillator, estimate frequency error from spec, and find recommended external capacitor values.
Formula
Reference: IEC 60444 / Crystal manufacturer application notes
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
Shop Components
As an Amazon Associate we earn from qualifying purchases.
Related Calculators
General
RC Time Constant
Calculate RC circuit time constant τ, charge time to 63.2% and 99%, and −3dB cutoff frequency. Essential for filter and timing circuit design.
General
LC Resonance
Calculate the resonant frequency, characteristic impedance, Q factor, and bandwidth of a series or parallel LC tank circuit. Enter inductance, capacitance, and optional series resistance.
General
Schmitt Trigger
Calculate non-inverting Schmitt trigger threshold voltages and hysteresis band for comparator circuits with positive feedback.
General
Ohm's Law
Calculate voltage, current, resistance, and power using Ohm's Law. Enter any two values to solve for the remaining two quantities.