KEVOS® MAKEOS · Quality

p-Chart Check (Fraction Defective, Control Limits, Samples Out of Control)

From the number of defective items in each sample of the same size, what is the average fraction defective, where are the control limits, and is any sample out of control?

Proportions (p) control chart from up to ten samples of equal size: the fraction defective in each sample, the average fraction defective, the upper and lower control limits from the binomial standard deviation (lower limit not below zero), which samples fall outside them, and the defectives per sample that would trigger a signal.

Open the calculatorRuns in your browser. No account needed.

How this tool works

Inputs, units and where to find them

InputUnitTypical source
Items inspected in each sampleitemsNumber of items inspected in every sample (equal sample sizes).
Number of samples usedsamplesHow many of the samples below to use, in time order.
Defective items in each sample
Sample 1 defectivesitemsNumber of defective (nonconforming) items found in sample 1.
Sample 2 defectivesitemsNumber of defective (nonconforming) items found in sample 2.
Sample 3 defectivesitemsNumber of defective (nonconforming) items found in sample 3.
Sample 4 defectivesitemsNumber of defective (nonconforming) items found in sample 4.
Sample 5 defectivesitemsNumber of defective (nonconforming) items found in sample 5.
Sample 6 defectivesitemsNumber of defective (nonconforming) items found in sample 6.
Sample 7 defectivesitemsNumber of defective (nonconforming) items found in sample 7.
Sample 8 defectivesitemsNumber of defective (nonconforming) items found in sample 8.
Sample 9 defectivesitemsNumber of defective (nonconforming) items found in sample 9.
Sample 10 defectivesitemsNumber of defective (nonconforming) items found in sample 10.

What each input means

Open an input to see what it is, its units, the worked example and the common mistakes, with a small diagram.

What this means: Items inspected in each sample
Illustration: Items inspected in each sampleA row of identical items being counted; Items inspected in each sample is how many there are.nExample: 200 itemsItems inspected in each sample
What it is
The number of items inspected in every sample, the same for each sample on this chart.
Units and format
Enter a number in items: a count of items. The form accepts 2 items to 10000000 items. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 200 items as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Larger samples narrow the control limits, so smaller shifts show.
Get it right
Samples of different sizes need limits worked out for each sample; this tool assumes they are all the same.
What this means: Number of samples used
Illustration: Number of samples usedA row of identical items being counted; Number of samples used is how many there are.kExample: 10 samplesNumber of samples used
What it is
How many of the samples listed below are used for the chart, taken from the first sample in time order.
Units and format
Enter a number in samples: samples. The form accepts 2 samples to 10 samples. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 10 samples as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Samples beyond this count are ignored.
Get it right
Use 20 to 25 samples for settled limits; ten gives a first look.

Defective items in each sample

What this means: Sample 1 defectives
Illustration: Sample 1 defectivesA row of identical items being counted; Sample 1 defectives is how many there are.d1Example: 4 itemsSample 1 defectives
What it is
The number of defective (nonconforming) items found in sample 1, out of the items inspected in each sample.
Units and format
Enter a number in items: a count of items. The form accepts 0 items to 10000000 items. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 4 items as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Raises that sample’s fraction defective and, slightly, the average and the limits.
Get it right
Count defective items, not defects: an item with three faults counts once in sample 1.
What this means: Sample 2 defectives
Illustration: Sample 2 defectivesA row of identical items being counted; Sample 2 defectives is how many there are.d2Example: 6 itemsSample 2 defectives
What it is
The number of defective (nonconforming) items found in sample 2, out of the items inspected in each sample.
Units and format
Enter a number in items: a count of items. The form accepts 0 items to 10000000 items. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 6 items as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Raises that sample’s fraction defective and, slightly, the average and the limits.
Get it right
Count defective items, not defects: an item with three faults counts once in sample 2.
What this means: Sample 3 defectives
Illustration: Sample 3 defectivesA row of identical items being counted; Sample 3 defectives is how many there are.d3Example: 3 itemsSample 3 defectives
What it is
The number of defective (nonconforming) items found in sample 3, out of the items inspected in each sample.
Units and format
Enter a number in items: a count of items. The form accepts 0 items to 10000000 items. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 3 items as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Raises that sample’s fraction defective and, slightly, the average and the limits.
Get it right
Count defective items, not defects: an item with three faults counts once in sample 3.
What this means: Sample 4 defectives
Illustration: Sample 4 defectivesA row of identical items being counted; Sample 4 defectives is how many there are.d4Example: 5 itemsSample 4 defectives
What it is
The number of defective (nonconforming) items found in sample 4, out of the items inspected in each sample.
Units and format
Enter a number in items: a count of items. The form accepts 0 items to 10000000 items. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 5 items as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Raises that sample’s fraction defective and, slightly, the average and the limits.
Get it right
Count defective items, not defects: an item with three faults counts once in sample 4.
What this means: Sample 5 defectives
Illustration: Sample 5 defectivesA row of identical items being counted; Sample 5 defectives is how many there are.d5Example: 7 itemsSample 5 defectives
What it is
The number of defective (nonconforming) items found in sample 5, out of the items inspected in each sample.
Units and format
Enter a number in items: a count of items. The form accepts 0 items to 10000000 items. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 7 items as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Raises that sample’s fraction defective and, slightly, the average and the limits.
Get it right
Count defective items, not defects: an item with three faults counts once in sample 5.
What this means: Sample 6 defectives
Illustration: Sample 6 defectivesA row of identical items being counted; Sample 6 defectives is how many there are.d6Example: 2 itemsSample 6 defectives
What it is
The number of defective (nonconforming) items found in sample 6, out of the items inspected in each sample.
Units and format
Enter a number in items: a count of items. The form accepts 0 items to 10000000 items. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 2 items as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Raises that sample’s fraction defective and, slightly, the average and the limits.
Get it right
Count defective items, not defects: an item with three faults counts once in sample 6.
What this means: Sample 7 defectives
Illustration: Sample 7 defectivesA row of identical items being counted; Sample 7 defectives is how many there are.d7Example: 5 itemsSample 7 defectives
What it is
The number of defective (nonconforming) items found in sample 7, out of the items inspected in each sample.
Units and format
Enter a number in items: a count of items. The form accepts 0 items to 10000000 items. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 5 items as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Raises that sample’s fraction defective and, slightly, the average and the limits.
Get it right
Count defective items, not defects: an item with three faults counts once in sample 7.
What this means: Sample 8 defectives
Illustration: Sample 8 defectivesA row of identical items being counted; Sample 8 defectives is how many there are.d8Example: 4 itemsSample 8 defectives
What it is
The number of defective (nonconforming) items found in sample 8, out of the items inspected in each sample.
Units and format
Enter a number in items: a count of items. The form accepts 0 items to 10000000 items. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 4 items as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Raises that sample’s fraction defective and, slightly, the average and the limits.
Get it right
Count defective items, not defects: an item with three faults counts once in sample 8.
What this means: Sample 9 defectives
Illustration: Sample 9 defectivesA row of identical items being counted; Sample 9 defectives is how many there are.d9Example: 6 itemsSample 9 defectives
What it is
The number of defective (nonconforming) items found in sample 9, out of the items inspected in each sample.
Units and format
Enter a number in items: a count of items. The form accepts 0 items to 10000000 items. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 6 items as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Raises that sample’s fraction defective and, slightly, the average and the limits.
Get it right
Count defective items, not defects: an item with three faults counts once in sample 9.
What this means: Sample 10 defectives
Illustration: Sample 10 defectivesA row of identical items being counted; Sample 10 defectives is how many there are.d10Example: 8 itemsSample 10 defectives
What it is
The number of defective (nonconforming) items found in sample 10, out of the items inspected in each sample.
Units and format
Enter a number in items: a count of items. The form accepts 0 items to 10000000 items. Use a whole number. Required: the tool does not calculate until every input is valid.
Example
The form opens with 8 items as a worked example. It is an illustration, not a recommended value: replace it with your own figure.
Effect on the result
Raises that sample’s fraction defective and, slightly, the average and the limits.
Get it right
Count defective items, not defects: an item with three faults counts once in sample 10.

Method and formulas

  1. Fraction defective pᵢ = dᵢ ÷ n; average p̄ = Σ dᵢ ÷ (k n).
  2. Control limits = p̄ ± 3 √(p̄ (1 − p̄) ÷ n) (NIST e-Handbook 6.3.3.2); a negative lower limit is set to zero.
  3. A sample above the upper or below a positive lower limit signals a special cause; signal threshold = the defectives count just above n × UCL.
  4. Example: average 2.5 % defective with an upper limit of 5.8119 %; 0 sample(s) outside.

Limitations

  • Assumes equal sample sizes and independent items; varying sample sizes need limits for each sample.
  • Limits from ten samples are rough: recalculate when 20 to 25 samples are available.
  • Example values are illustrations. Replace them with values for your actual task.

Typical uses

  • Chart the reject rate of an inspection station
  • Check whether a bad batch is a special cause or normal variation
  • Set alarm levels for daily defect counts

Who it is for

  • Quality engineers and technicians
  • Production supervisors
  • Continuous improvement staff

What you get

  • Fraction defective of each sample
  • Average fraction defective
  • Upper and lower control limits
  • Samples outside the limits and the signal threshold

Interpreting the result

  • With a small average fraction defective, the lower limit is zero, so the chart cannot show an improvement until the sample size is increased.

References

  • NIST/SEMATECH e-Handbook of Statistical Methods, 6.3.3.2 Proportions Control Charts — https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc332.htm
  • NIST Dataplot Reference Manual, P CONTROL CHART (lower limit bounded at zero) — https://www.itl.nist.gov/div898/software/dataplot/refman1/ch2/pcontrol.pdf

Learn the Concepts Behind This Tool

These KEVOS® Library readings explain the method this tool uses, with worked examples.

KEVOS® tools are screening and decision-support utilities. Verify important financial, engineering, safety, legal or operational decisions using appropriate professional standards and your organisation’s approved data.

Open the p-Chart Check (Fraction Defective, Control Limits, Samples Out of Control) calculator