Crystal Load Capacitor Calculator
Estimate C1 and C2 for a quartz crystal oscillator using the standard load-capacitance relationship:
CL = (C1 × C2) / (C1 + C2) + Cstray
What this crystal capacitor calculator does
This tool helps you choose the two external load capacitors used with many Pierce crystal oscillator circuits. Most crystal datasheets specify a required load capacitance (CL), and your PCB plus MCU pins add stray capacitance. The calculator estimates a practical C1 and C2 pair so your crystal runs close to its intended frequency.
How the formula works
In a typical two-capacitor crystal network, the crystal “sees” the series combination of C1 and C2, plus stray capacitance:
- CL = (C1 × C2) / (C1 + C2) + Cstray
- If C1 = C2, then series part becomes C/2, so C ≈ 2 × (CL − Cstray)
Example: if a crystal calls for 18 pF and you estimate 2 pF stray, equal capacitors would be around 32 pF each.
How to use this calculator
1) Enter datasheet CL
Use the crystal’s load capacitance specification. Common values are 8 pF, 12 pF, or 18 pF.
2) Estimate stray capacitance
Typical values are often around 1 pF to 5 pF depending on package, PCB traces, and MCU pin capacitance. If you do not know, 2 pF is a reasonable starting point.
3) Set C1/C2 ratio
A ratio of 1 means equal capacitors. Designers sometimes use unequal values for startup margin or to match a specific oscillator stage.
4) Apply practical rounding
Real components come in discrete values. The step setting rounds your ideal answer to nearby standard capacitor values.
Design tips for stable crystal oscillators
- Use C0G/NP0 capacitors for best temperature stability.
- Place crystal and capacitors close to oscillator pins.
- Keep traces short and symmetric where possible.
- Avoid routing noisy digital lines near the crystal network.
- Check MCU datasheet guidance for recommended load ranges and drive strength.
Important real-world notes
This calculator gives a strong first-pass estimate, but final values are often tuned in hardware. Manufacturing tolerances, board parasitics, and crystal motional parameters can shift the true operating point. For precision timing designs, validate with frequency measurements on the assembled board.
Quick FAQ
Why is my computed target negative?
If CL is less than or equal to estimated stray capacitance, the math indicates no valid external capacitor pair for that assumption. Re-check your CL and stray estimate.
Should C1 and C2 always be equal?
Not always. Equal values are common and simple, but unequal values can be used for specific startup or biasing behavior.
Can this be used for ceramic resonators?
Sometimes, but ceramic resonators often have different recommended external networks. Always follow the resonator datasheet first.