Data and statistics · cheat sheet

P chart

A control chart for the share of items that fail a check, when the number checked can change from one period to the next.

Common practice
5 steps
Used by Process Improvement Specialist

What it is

A P chart plots the share of items failing a check each period, with limits that depend on how many were checked.

When to use it

For yes-or-no outcomes with varying sample sizes: share late, share defective, share not offered in time.

Why it works

It shows whether a yes-or-no process is stable, and flags unusual periods, even when volumes change.

Do

  • Make sure the definition of failing doesn't change.

Don't

  • Using one fixed limit when n changes a lot.
  • Very small n with rare defects, where limits are meaningless.

Step by step

  1. Record n and failures
  2. Shares
  3. Centre p̄
  4. Limits per period
  5. Investigate
Also called: Proportion defective chartPrint the blank template ↗

Worked example

The situation. Late deliveries, about 200 a day.

  1. p̄ = 0.04.

The result. A day with 9% late (above 8.2%) triggered a check: a van broke down.

P chart data sheet Print blank
LineCal­culationValue
Upper limit (n = 200)0.04 + 3 × √(0.04 × 0.96 ÷ 200)0.082
Lower limit0.04 − 0.0420 (none)

Filled in for: Late deliveries, about 200 a day.

PeriodNumber checked (n)Number failingShareUpper limitLower limit

Copy this structure, or print the blank version and fill it in by hand.

Before you use it: check these

CheckIf it fails
Each item is defective or notUse a U or C chart when items can have several defects
Sample size known each periodRecord it every time

How to do it with real data

The full calculation, as it happens in the story: the data, every step, how to read the result, and the spreadsheet functions to do it yourself.

Worked example with real data

P chart: share not offered an appointment within 7 days

From Day 50: Counting yes or no of the Process Improvement Specialist story

Every request is checked: was an appointment offered within 7 days? The number of requests changes each day, so the limits change too.

P chart, with limits that depend on each day's number of requests00.10.20.30.4CLUCLDay 1: 0.105Day 2: 0Day 3: 0.12Day 4: 0.022Day 5: 0.109Day 6: 0.05Day 7: 0.122Day 8: 0.075Day 9: 0.302 (outside the limits)Day 10: 0.07Day 11: 0.019Day 12: 0.034Day 13: 0.1Day 14: 0.096Day 15: 0.083Day 16: 0.073Day 17: 0.208Day 18: 0.157Day 19: 0.098Day 20: 0.085Day 1Day 4Day 7Day 10Day 13Day 16Day 19Share not within 7 days

Step by step

  1. Average sharetotal not within 7 ÷ total requests= 0.095
  2. Upper limit for each day0.095 + 3 × √(0.095 × 0.905 ÷ n); day 1, n = 57= 0.211
  3. Lower limitbelow zero for these sample sizes= none
  4. Readday 9: 0.302 against its limit of 0.228= a signal
  5. Find the causeday 9: the booking system was down for 3 hours= special cause
  6. Recalculate without day 9= 0.085
DayRequestsNot within 7 daysShareUpper limit
Day 15760.1050.211
Day 253000.215
Day 35060.120.219
Day 44510.0220.225
Day 54650.1090.224
Day 64020.050.233
Day 74150.1220.232
Day 84030.0750.233
Day 943130.3020.228
Day 105740.070.211
Day 115310.0190.215
Day 125920.0340.209
Day 135050.10.219
Day 145250.0960.216
Day 156050.0830.208
Day 165540.0730.213
Day 1753110.2080.215
Day 185180.1570.218
Day 195150.0980.218
Day 205950.0850.209

How to read the result

About 9% of requests now miss the 7-day standard on a normal day (the goal is under 10%). Day 9 was an unusual day with a clear cause, not a sign the process has slipped.

What it led to

Add a booking-system outage to the response plan: paper booking sheets at the desk, entered when the system returns.

Do it in a spreadsheet

Share=C2/B2
Average share=SUM(C2:C21)/SUM(B2:B21)
Upper limit=$G$1+3*SQRT($G$1*(1-$G$1)/B2) (G1 = average share)
Try it yourself: Why do the limits get closer together on days with more requests?

The more items in a day, the less the share varies by chance: the limit width shrinks with the square root of n.

In the roles

How a Process Improvement Specialist uses it

Share not offered within 7 days: centre 0.095; day 9 (system down) above its limit.

Questions people ask

Why do limits vary?

Bigger samples vary less by chance, so their limits are tighter.

Related techniques

← All techniques and tools