InsightFab
Toolsp-Chart (Defect Rate)

p-Chart (Defect Rate)

The p-chart monitors the defect rate per batch (p = defects / sample size). For attribute data (pass/fail). Sample sizes may vary, so control limits adjust per batch.

CSV format: defects column + sample_size column

📥 Download Sample CSV
Use Case

In a PCB SMT process, 200 boards are sampled per shift and solder defects recorded. The p-chart visualizes defect rate so QC staff can immediately spot solder degradation, paste printing offset, or placement accuracy drift. Compared with 100% visual inspection, the p-chart gives statistically meaningful trend interpretation and auto-computed control limits as action triggers.

Example

Defects in three batches: 8, 12, 5; each batch n = 200 p̄ = (8+12+5) / (200×3) = 25/600 = 0.0417 (4.17%) UCL = p̄ + 3×√(p̄×(1-p̄)/n) = 0.0417 + 3×√(0.0417×0.9583/200) = 0.0417 + 0.0420 = 0.0837 (8.37%) LCL = max(0, 0.0417 - 0.0420) = 0 → Batch 2 (6% defect rate) is near the UCL; investigate the cause

Further reading: Choosing Attribute Control Charts
View articles →

FAQ

Related Tools