How to make a P chart
- Copy the defectives column and the number-inspected column with their headers and paste them in.
- Choose the defectives column and the number-inspected column (if every lot has the same size, you can enter a fixed value instead).
- Click Analyze and review the average proportion, the stepped control limits and the automatic interpretation.
Worked example with sample data
The example data are the defectives and numbers inspected of 25 lots. The number inspected varies from 180 to 220, and lot 19 was made to have many defectives.
The average proportion defective p̄ is 0.04225 (4.2%), and the limits change with each lot's size: the mean UCL is 0.08489 and the mean LCL 0.0003326.
Lot 19 has a proportion defective of 0.1127, well above its UCL of 0.0845, so it signals.
The other 24 lots are in control. Check the material, machine and operator records of lot 19.
How it is calculated
The average proportion is p̄ = Σdefectives / Σinspected, and subgroup i has limits p̄ ± 3·√(p̄(1-p̄)/nᵢ), with the lower limit never below 0. The smaller the number inspected nᵢ, the wider the limits.
Rule 1 uses each subgroup's own limits; rules 2-5 use values standardized by each subgroup's standard deviation.
Out-of-control rules
Out-of-control signals come from the checked rules: (1) 1 point beyond 3σ, (2) 2 of 3 consecutive points beyond 2σ on the same side, (3) 4 of 5 beyond 1σ on the same side, (4) 9 in a row on one side of the center line, (5) 6 in a row steadily rising or falling. Use 'Edit' to change each rule's N, M and K, or pick the Western Electric preset.
How to read a P chart
- A lot above the upper limit produced clearly more defectives than usual, so investigate its cause.
- The limits differ by lot, so the lines look like steps. With the same proportion, a lot with more inspected items signals more easily.
- The mean UCL/LCL in the table are for reference; decisions use each lot's own limits.
Frequently asked questions
How is it different from an NP chart?
The P chart uses proportions, so lot sizes may differ; the NP chart plots the defective count itself when the sample size is fixed.
What if a product can have several defects?
When one product can have several defects, use a C or U chart.
How much data do I need?
It works from 2 lots, but 20-25 or more are usually recommended.