Crystal Load Capacitance Calculator
Calculate actual load capacitance seen by a crystal oscillator, estimate frequency error from spec, and find recommended external capacitor values.
Series load C₁C₂/(C₁ + C₂) + C_stray · simplified pulling estimateAPI slug crystal-load-capacitance
Specification
Circuit
| Ref | Position | Ideal |
|---|---|---|
| C1 | Input | 22pF |
| C2 | Output | 22pF |
Response
- Actual Load Capacitance
- 14pF
- Load Capacitance Error
- −4pF
- Estimated Frequency Error
- −111.1ppm
- Recommended External Cap (each)Crec
- 30pF
Formula
IEC 60444 / Crystal manufacturer application notes
| Symbol | Quantity | Your value |
|---|---|---|
| CL | Specified crystal load capacitance (pF) | 18 pF |
| C1, C2 | External load capacitors (pF) | — |
| Cstray | PCB stray capacitance (pF) | 3 pF |
Assumptions
6 items
- 01The crystal’s load is C₁ and C₂ in series plus the stray capacitance, C_L,actual = C₁C₂/(C₁ + C₂) + C_stray, with C_stray the board’s and the oscillator pins’ together.
- 02The recommended capacitor is the equal pair that meets the specified load, C₁ = C₂ = 2·(C_L − C_stray), zero where the stray capacitance alone reaches C_L; it is not rounded to the series.
- 03The frequency error is a rule of thumb, ΔC_L/(2·C_L) × 1000 shown in ppm, with ΔC_L = C_L,actual − C_L: it is not the crystal’s pulling, which needs its motional and shunt capacitances, and its sign is the load error’s, though a load below the specification raises a crystal’s frequency.
- 04The capacitors are ideal: their tolerance and temperature coefficient, the crystal’s own frequency tolerance and the oscillator’s gain margin and drive level are not modelled.
- 05With a part series chosen, C₁ and C₂ are each rounded to the nearest value of that series, and the load, its error and the frequency error are the rounded capacitors’.
- 06The page can also solve C₂, or C₁, for a target load capacitance: it solves the ideal design for the target and then rounds the solved capacitor to the series.
Worked example
32.768 kHz watch crystal, 7 pF load, E24
A 32.768 kHz watch crystal specified for a 7 pF load sits on a board with about 2.2 pF of stray capacitance. Which pair of equal E24 capacitors loads it, and how far off is the load as built?
| Step | Expression | Result |
|---|---|---|
| Capacitor for the specified load | 2 × (7 pF − 2.2 pF) | 9.6 pF |
| Deviation of 10 pF, the nearest E24 value, for both capacitors | (10 / 9.6 − 1) × 100 | +4.2 % |
| Load as built | 10 pF × 10 pF / (10 pF + 10 pF) + 2.2 pF | 7.2 pF |
| Load error | 7.2 pF − 7 pF | +200 fF |
| Frequency error, rule of thumb | 0.2 / (2 × 7) × 1000 | +14.29 ppm |
How it works
Crystal load capacitance calculator computes the load a crystal sees, the capacitors that meet its CL and a rule-of-thumb frequency error 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); a crystal loaded by CL runs at about fs × (1 + Cm/(2×(C0 + CL))), so a mismatch ΔCL shifts it by about Δf/f = -Cm×ΔCL/(2×(C0 + CL)²), where Cm is motional capacitance (typically 1-30fF) and C0 is shunt capacitance (1-7pF); this calculator does not take Cm and C0, and its frequency error is the rule of thumb ΔCL/(2×CL) × 1000. For a 32.768kHz RTC crystal with CL = 12.5pF, a 1pF mismatch is 40ppm by that rule of thumb (1/(2 × 12.5) × 1000), 1.7 minutes per 30 days; the crystal's actual pulling depends on its C1 and C0, and the datasheet's pullability gives it.
Practical tips
- For 32.768kHz RTC crystals, typical CL = 6-12.5pF; match to ±1pF for <50ppm error. A 12.5pF CL crystal with 5pF stray needs 2 × (12.5 - 5) = 15pF external caps
- 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 USD 1-10 vs USD 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
4 questions
What causes frequency offset in crystal oscillators?
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.
How do I choose the right load capacitors?
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.
What is crystal pullability?
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.
Can I trim crystal frequency with a variable capacitor?
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.