Attribute Control Charts: p, np, c and u
Attribute control charts are control charts for count data. The p and np charts track defective units, items that pass or fail as a whole, while the c and u charts track defects, flaws that can occur several times per unit. The p and u charts divide by the sample size, so they handle samples that vary in size.
Quick facts
- Type
- Shewhart control charts for attribute (count) data
- Defectives (binomial)
- p chart (proportion), np chart (count, constant n)
- Defects (Poisson)
- u chart (per unit), c chart (count, constant area)
- Formulas
- p̄ ± 3√[p̄(1 − p̄)/n]; np̄ ± 3√[np̄(1 − p̄)]; ū ± 3√(ū/n); c̄ ± 3√c̄
- Lower limit
- Set to 0 when the formula gives a negative value
- Reference
- IASSC™ Green Belt Body of Knowledge §5.2.4–5.2.6 (u, p and np charts)
- Exam relevance
- Green Belt (Control phase); frequent calculation items
At a glance
- np chart — defective units, constant sample size
- p chart — proportion defective, sample size may vary
- c chart — defects, constant area of opportunity
- u chart — defects per unit, area of opportunity may vary
- Constant → varying sample size — horizontal axis
- Defectives (top) → defects — vertical axis: binomial above, Poisson below
When do you use p, np, c and u charts?
Two questions pick the chart:
- Defectives or defects? A defective is a unit that fails as a whole (a late delivery, a wrong invoice), counted once. A defect is a single flaw, and one unit can have several (three errors on one form).
- Is the sample size constant? If yes, the count can be plotted as it is; if not, divide by the sample size.
| Constant sample size | Varying sample size | |
|---|---|---|
| Defectives (binomial) | np chart: number defective | p chart: proportion defective |
| Defects (Poisson) | c chart: number of defects | u chart: defects per unit |
The IASSC™ Green Belt Body of Knowledge lists the u, p and np charts; the c chart is included here as the constant-size counterpart of the u chart, which many texts and workplaces also use.
Attribute control charts suit service processes well, where errors, complaints and late items are often the only data recorded, but they need much larger samples than variables charts to detect the same change.
The choice among attribute control charts comes down to defects versus defectives and constant versus varying sample size.
How do you calculate p and np chart limits?
For defectives, with p̄ = total defectives / total units inspected:
p chart: UCL / LCL = p̄ ± 3 × √[p̄(1 − p̄) / n]np chart: UCL / LCL = np̄ ± 3 × √[np̄(1 − p̄)]
When n varies, the p chart's limits are recomputed for each sample: smaller samples get wider limits.
Worked example (p chart). Kestrel Retail checks online orders for picking errors. Over 25 days, 180 of 6,000 orders were wrong, so p̄ = 0.030.
| Day's sample | Calculation | UCL | LCL |
|---|---|---|---|
| n = 400 | 0.030 ± 3 × √(0.030 × 0.970 / 400) = 0.030 ± 0.0256 | 0.056 | 0.004 |
| n = 250 | 0.030 ± 3 × √(0.030 × 0.970 / 250) = 0.030 ± 0.0324 | 0.062 | 0 (negative) |
A day with 20 wrong orders out of 400 (p = 0.050) is inside its limit; the same 0.050 on a smaller day is judged against that day's own limit, never against another day's.
Worked example (np chart). Northgate Insurance checks exactly 200 policies a day, with p̄ = 0.05, so np̄ = 10. Then σ = √(10 × 0.95) = 3.082, UCL = 10 + 3 × 3.082 = 19.25 and LCL = 10 − 9.246 = 0.75 defective policies.
Proportions are rounded half-up to three decimals and counts to two. The p and np charts give identical signals when n is constant; only the p chart copes with varying n.
How do you calculate c and u chart limits?
For defects, the Poisson model makes the variance equal to the mean, so the formulas need no (1 − p) term:
c chart: UCL / LCL = c̄ ± 3 × √c̄u chart: UCL / LCL = ū ± 3 × √(ū / n), withū = total defects / total units
Worked example (u chart). Harbourside Council audits benefit forms for data errors. Over the baseline period, 300 errors were found on 1,500 forms, so ū = 0.20 errors per form. The number of forms audited varies by day.
| Day's sample | Calculation | UCL | LCL |
|---|---|---|---|
| n = 80 forms | 0.20 ± 3 × √(0.20 / 80) = 0.20 ± 0.150 | 0.350 | 0.050 |
| n = 50 forms | 0.20 ± 3 × √(0.20 / 50) = 0.20 ± 0.190 | 0.390 | 0.010 |
| n = 25 forms | 0.20 ± 3 × √(0.20 / 25) = 0.20 ± 0.268 | 0.468 | 0 (negative) |
A day with 21 errors on 50 forms gives u = 0.42, above that day's UCL of 0.390: a signal. Values are rounded half-up to three decimals.
c chart. If the audit always covers the same 40 forms and averages c̄ = 4 errors, the limits are 4 ± 3 × 2, so UCL = 10 and LCL = 0 (the formula gives −2).
The c and u charts differ only in whether the area of opportunity is fixed; the u chart's limits move with it.
How do you read attribute control charts?
Attribute control charts are read like any Shewhart chart: a point beyond a limit or a non-random pattern, such as a long run on one side of the center line, signals a special cause. A few features are specific to counts:
- Points below the lower limit are signals too. A sudden drop in errors may mean a real improvement, or that inspectors stopped recording; both deserve a look.
- Varying limits are normal on p and u charts. A step-shaped limit line simply reflects the sample size of each day.
- A lower limit of zero means the chart cannot signal improvement through single points; runs below the center line become the main evidence.
- Rare events (very small p̄ or c̄) make the normal approximation poor; the chart then raises false alarms or misses changes. Charts of the time or the number of units between events, such as t or g charts, are a common alternative.
At Northgate Insurance, a run of nine days below the p chart's center line followed the introduction of a validation rule in the policy system, which confirmed that the Improve-phase change held.
Reading attribute control charts well means remembering that the limits depend on each sample's size.
What are the common mistakes with attribute control charts?
Attribute control charts are cheap to run because counts already exist in most service processes. The usual slips are mostly about the model and the sample size:
- Using the binomial term in a u chart, or dropping it from a p chart. Defects use √(ū/n); defectives use √[p̄(1 − p̄)/n].
- Using the total sample over the whole period as n. The limit for one day uses that day's n, not the 1,500 or 6,000 units of the baseline.
- Using an np or c chart when n varies. Bigger samples then look worse simply because they are bigger.
- Keeping a negative lower limit. Counts and proportions cannot be negative; set it to 0.
- Samples too small to show anything. With p̄ = 0.01 and n = 50, most days show zero defectives and the chart says little.
- Charting a count when a measurement exists. "Late or not" loses the information in the actual waiting time.
Most errors with attribute control charts come from the wrong n or the wrong variance term, so name both before calculating.
p chart vs. u chart: what is the difference?
| p chart | u chart | |
|---|---|---|
| Plots | Proportion of defective units | Average number of defects per unit |
| Each unit counts | Once, defective or not | As many times as it has defects |
| Model | Binomial | Poisson |
| Limits | p̄ ± 3√[p̄(1 − p̄)/n] | ū ± 3√(ū/n) |
| Can exceed 1 | No | Yes (more than one defect per unit on average) |
Both charts handle varying sample sizes, so the deciding question is whether a unit is judged as a whole (p chart) or its individual flaws are counted (u chart). The same audit can feed either, depending on which question the team needs answered.
Exam focus
Attribute charts are IASSC™ sections 5.2.4 (u), 5.2.5 (p) and 5.2.6 (np), in Green Belt scope only; the c chart appears in questions mainly as a contrast. Expect to compute limits for a given day's n and judge one point. Traps: the binomial term in a u chart, the baseline total used as n, np with varying samples, and comparing a small day with the usual limit. Practise in the Control phase drill.
Practise this DMAIC phase →FAQ
What is the difference between a defect and a defective?
A defect is a single nonconformity, and one unit can have several. A defective is a unit that fails as a whole because it has at least one defect or misses a requirement. Defectives are charted with p or np charts, and defects with c or u charts.
Why do the limits change from point to point on a p chart?
The standard error of a proportion depends on the sample size, √[p̄(1 − p̄)/n]. When the number of units inspected changes, so does the width of the limits: small samples get wide limits and large samples get narrow ones. A stepped limit line is therefore expected on p and u charts.
Can I use an np chart when my sample sizes vary?
No. The np chart plots counts, and with varying sample sizes a larger sample naturally contains more defectives, so counts are not comparable. Convert to proportions and use a p chart, whose limits adjust to each sample size.
What should I do when the lower control limit is negative?
Set it to zero. Counts and proportions cannot be negative, so a negative result only means the chart cannot signal through a single low point. Improvements then show up as runs of points below the center line rather than as points below a lower limit.
Is the c chart part of the IASSC™ Green Belt Body of Knowledge?
The IASSC™ Green Belt Body of Knowledge names the u, p and np charts; the c chart is not listed as a separate topic. It is still widely used and often appears as a contrast to the u chart, so knowing its formula, c̄ ± 3√c̄, helps you choose correctly.
Sources
- Shewhart, W. A. (1931). Economic Control of Quality of Manufactured Product. D. Van Nostrand.
- Montgomery, D. C. (2019). Introduction to Statistical Quality Control (8th ed.). Wiley.
- NIST/SEMATECH e-Handbook of Statistical Methods, §6.3.3: What are Attributes Control Charts? National Institute of Standards and Technology.
- IASSC™ (n.d.). Lean Six Sigma Green Belt Body of Knowledge, §5.2.4–5.2.6.
- Last reviewed