Crystal Load Capacitance Calculator
Enter your crystal's load capacitance and stray capacitance to find the two external capacitors needed for a Pierce oscillator.
Crystal & Circuit Parameters
From the crystal datasheet. Common values: 6, 8, 12, 18 pF.
PCB trace + MCU pin capacitance combined. Typically 2–7 pF.
Common CL Presets
Results
Ideal C1 = C2
—
Nearest E12 standard
—
Nearest E24 standard
—
Formula (Pierce Oscillator)
C1 = C2 = 2 × (CL − Cs)
CL is the crystal's required load capacitance. Cs is the total stray capacitance (PCB traces + MCU pin). C1 and C2 are the two external capacitors placed between each crystal pin and ground.
Effective Load Verification
Effective CL with E12 caps
—
Effective CL with E24 caps
—
Target CL
—
Summary
Enter your crystal's load capacitance and stray capacitance to find the two external capacitors needed for a Pierce oscillator.
How it works
- Enter the crystal's specified load capacitance (CL) in picofarads — find this on the crystal datasheet.
- Enter your PCB stray capacitance (Cs), typically 2–7 pF depending on layout and microcontroller pin capacitance.
- The calculator solves the Pierce oscillator formula: C1 = C2 = 2 × (CL − Cs).
- The result shows the required capacitor value and the nearest standard E12/E24 values.
- Use identical capacitors for C1 and C2 to keep the oscillator balanced.
Use cases
- Selecting load capacitors for a microcontroller crystal (STM32, PIC, AVR, ESP32).
- Debugging an oscillator that fails to start or drifts due to incorrect loading.
- Verifying a schematic's capacitor values against the crystal datasheet.
- Adjusting for board-specific stray capacitance measured or estimated from layout.
- Teaching Pierce oscillator theory with an interactive example.
Frequently Asked Questions
Last updated: 2026-07-01 ·
Reviewed by Nham Vu