Skip to content
Omnikalc

p-chart control limits calculator

Enter the average proportion defective, the sample size and the width of the limits in sigmas to get the center line and the control limits of a p-chart.

Updated on
Your inputs
%

Value out of range

Value out of range

Value out of range

Results

Upper control limit

8.16 %

Lower control limit
0.00 %
Center line
4.00 %
np-chart upper limit (defectives per sample)
16.31
np-chart lower limit (defectives per sample)
0.00
Expected defectives per sample
8.00
Large enough for the normal approximation

The p-chart calculator gives the center line and the upper and lower control limits for the proportion of defective items, with the equivalent np-chart limits in counts.

How the calculation works

  • Enter the average proportion defective in percent.
  • Enter the sample size.
  • Enter the width of the limits in sigmas, 3 by default.
  • The calculator gives the limits of the p-chart, the limits of the np-chart and the expected defectives per sample.

Example

A process with an average of 4 % defective, checked with samples of 200 items, has σ = √(0.04 × 0.96 / 200) = 1.39 %. The 3 sigma limits are 0.00 % and 8.16 %. In counts, a sample may hold 0.00 to 16.31 defectives before the chart signals, and the average sample holds 8.00 defectives.

Why it matters

The calculator helps quality engineers, production supervisors and students to set up a control chart for pass or fail inspection data, such as defective parts, late orders or failed checks.

Good to know

Compute the average proportion from at least 20 to 25 samples taken while the process is stable, and remove the samples with a known special cause before you fix the limits. When the sample size changes from one sample to the next, the limits change too, and a chart with variable limits is used, with the calculator applied to each n. Add the run rules, such as 8 points in a row on one side of the center line, to detect small shifts that the limits miss. A point below the lower limit is good news, but check that the inspection did not change. For counts of defects per unit, where one item can have several defects, use a c-chart or a u-chart instead.

The control chart limits calculator covers the mean, the process capability calculator compares a process with its specification, the acceptance sampling calculator plans lot inspection and the DPMO calculator gives defects per million.

Frequently asked questions

How are the limits of a p-chart set?

The center line is the average proportion defective p̄, and the limits are p̄ ± k √(p̄ (1 − p̄) / n), usually with k = 3. The lower limit is set to zero when the formula gives a negative number. A sample whose proportion falls outside the limits signals that the process has changed.

What is the difference between a p-chart and an np-chart?

The p-chart plots the proportion of defectives and allows a changing sample size, while the np-chart plots the number of defectives and needs a constant sample size. They carry the same information, and the np limits are the p limits multiplied by n.

How do I choose the sample size?

A common rule is that the sample should be large enough to expect at least 5 defectives on average, otherwise the lower limit is zero and the chart cannot detect an improvement. For a rare defect, use a larger sample, or switch to a chart of the time between events.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.