LimitLine

Learn · updated 2026-10-21

The p chart (fraction defective)

Use a p chart when each item either passes or fails and you track the fraction that fail in each sample. It works even when the sample size changes, because each sample gets its own limits.

The formulas. p̄ is the total defectives divided by the total inspected; nᵢ is the size of sample i.

CL  = p̄UCL = p̄ + 3√(p̄(1 − p̄)/nᵢ)LCL = p̄ − 3√(p̄(1 − p̄)/nᵢ)

If the LCL comes out below 0, it is set to 0.

Worked example: NIST, 30 wafers of 50 chips

The NIST/SEMATECH e-Handbook lists the fraction of defective chips on each of 30 wafers, 50 chips per wafer. That is 347 defective chips out of 1,500.

  1. p̄ = 347 / 1500 = 0.2313.
  2. σ for n = 50: √(0.2313 × 0.7687 / 50) = 0.0596.
  3. Limits: 0.2313 ± 3 × 0.0596 → UCL 0.4102, LCL 0.0524.
  4. Wafers 15 and 23 (fractions 0.44 and 0.48) are above the UCL: two special-cause signals worth investigating.
UCL 0.410LCL 0.052CL 0.231Point 1: 0.24Point 2: 0.3Point 3: 0.16Point 4: 0.2Point 5: 0.08Point 6: 0.14Point 7: 0.32Point 8: 0.18Point 9: 0.28Point 10: 0.2Point 11: 0.1Point 12: 0.12Point 13: 0.34Point 14: 0.24Point 15: 0.44 (signal)Point 16: 0.16Point 17: 0.2Point 18: 0.1Point 19: 0.26Point 20: 0.22Point 21: 0.4Point 22: 0.36Point 23: 0.48 (signal)Point 24: 0.3Point 25: 0.18Point 26: 0.24Point 27: 0.14Point 28: 0.26Point 29: 0.18Point 30: 0.121471013161922252830
p chart of the 30 wafers. The rust squares are wafers 15 and 23, above the upper control limit.

p, np, c or u?

With very large samples (thousands per point) the p chart's limits get so tight that almost every point looks out of control. That's overdispersion; a Laney p′ chart corrects for it.

Open this example in LimitLineThe app's built-in p chart example is this NIST data (a Pro chart; Free users can try it on this example).

Sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods, §6.3.3.2 Proportions Control Charts