Crystal Loading Capacitance Calculator
Calculate the load capacitance seen by a crystal and the frequency-pulling effect of off-spec loading. Verifies C1/C2 + stray match the crystal's datasheet CL.
How to Use
- Enter the two load capacitors C1 and C2 and an estimate of the stray capacitance (pins and traces, typically 2 to 5 pF).
- Enter the load capacitance CL from the crystal's datasheet.
- Enter the pulling sensitivity in ppm per pF, from the datasheet or estimated from the crystal's C0 and C1.
- Read the actual load, the mismatch and the frequency offset; Show Work gives the equal capacitor value that matches the spec.
Worked Example
A microcontroller crystal specified for CL = 18 pF, fitted with two 22 pF capacitors and about 5 pF of stray. The crystal sees 22 × 22 ÷ 44 + 5 = 16 pF, 2 pF less than specified. At 15 ppm/pF it runs about +30 ppm fast.
The fix: C1 = C2 = 2 × (18 − 5) = 26 pF. With the standard 27 pF the load is 18.5 pF and the error falls to −7.5 ppm.
The common mistake: fitting capacitors equal to CL. Two 18 pF capacitors in series are only 9 pF; with the stray the crystal sees about 14 pF and runs fast. The load capacitors need to be roughly twice CL minus the stray.
Show Work
Formulas
History of Crystal Loading
Crystals for parallel-resonant oscillators are cut to hit their marked frequency at a stated load capacitance, slightly above their series resonance. Load the crystal with that capacitance and it runs on frequency; get it wrong by a pF or two and it shifts by several to tens of ppm. Modern MCU application notes (STMicro AN2867, Microchip AN826) devote chapters to load-capacitance calculation and PCB layout rules for HSE/LSE crystal pins.
About This Calculator
Enter the two load caps C1 and C2, stray capacitance Cs (typical 3-7 pF), the crystal's datasheet CL, and pulling sensitivity. The tool computes actual loading CL_actual = (C1·C2)/(C1+C2) + Cs, mismatch from spec, and the resulting frequency offset in ppm.
For tight accuracy, add a trimmer cap in series with C1 (or C2). Tune while monitoring frequency with a counter — 0.1 pF resolution trimmers give sub-ppm adjustment. For typical microcontroller crystals, matching CL within about ±1 pF keeps the loading error to roughly 5 to 15 ppm. Everything runs client-side.
Frequently Asked Questions
What is load capacitance (CL)?
The capacitance the crystal must see to oscillate at its marked frequency. Watch crystals are commonly 6 to 12.5 pF and MHz microcontroller crystals 8 to 20 pF; use the value on your crystal's datasheet.
Which way does the frequency move?
More load capacitance pulls the frequency down, less lets it run fast. The sensitivity is C1 ÷ (2(C0 + CL)²), with C1 the motional capacitance: about 5.7 ppm/pF for C1 = 5 fF, C0 = 3 pF and CL = 18 pF. Lower-CL crystals are more sensitive.
How do I choose the two capacitors?
The crystal sees them in series plus the stray, so with equal values C1 = C2 = 2·(CL − Cs). For an 18 pF crystal and 5 pF of stray that is 26 pF; the nearest standard 27 pF gives 18.5 pF, about 7.5 ppm slow at 15 ppm/pF.
How do I estimate the stray capacitance?
Add the oscillator pins' capacitance from the microcontroller datasheet and a pF or two for the traces. If the measured frequency is off, the error tells you how far your estimate was.
Can I trim the frequency?
Yes. Replace one load capacitor with a small trimmer and adjust while watching a frequency counter. Many real-time clocks also offer a digital trim register for the same job.
How do I use the Crystal Loading Capacitance Calculator?
Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.
Is it free? Does it work without internet?
Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.
Where does my data go?
Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.
Common Use Cases
Microcontroller Main Clock
An 8 MHz, 18 pF crystal with 27 pF capacitors and 5 pF of stray runs 7.5 ppm slow, well inside a UART's tolerance.
32.768 kHz Real-Time Clock
Each 20 ppm of error is about 52 seconds a month, so watch crystals deserve matched loading; 18 pF caps with 3 pF stray match a 12 pF crystal exactly.
USB and Ethernet
These links allow only a few tens of ppm in total, which must cover the crystal's tolerance, ageing and temperature as well as loading.
RF Reference
A radio's carrier error scales with its reference: 10 ppm at 433 MHz is 4.3 kHz, so references are trimmed or temperature-compensated.
Last updated: