INFINITE UPSIDE

A denominator belongs beside every rate

How do I calculate p-chart control limits?

The same failure percentage can cross one limit and sit inside another when the inspected quantity changes.

Calculate a p-chart's center from the total nonconforming items divided by the total inspected items in a suitable reference period. For each later subgroup of size n, use the three-sigma limits p-bar plus or minus 3 × √[p-bar × (1 − p-bar) ÷ n], where p-bar is that reference proportion. Keep the limits within zero and one.

The denominator matters. Eighteen failures among one hundred inspected items and seventy-two among four hundred both produce 18%. They do not have the same statistical limits. A chart that forgets that difference can give the owner a confident-looking answer to the wrong question.

Count nonconforming items, not every fault

A p-chart follows a proportion of items classified as nonconforming. Define the item, the requirement and the inspection boundary first. One item with three faults is still one nonconforming item for this calculation.

The NIST proportions-control-chart explanation develops the method from a binomial model with independent units and a common underlying probability of nonconformity. The classification has to be applied consistently. A changing requirement, incomplete inspection or strongly linked failures can undermine that model.

Suppose a separate check of one hundred items finds five nonconforming items containing eight recorded faults. The plotted item proportion is 5 ÷ 100 = 0.05, or 5%. Eight divided by one hundred would describe faults per inspected item, a different measure.

This is also different from deciding whether to accept a specific delivery. The shipment-sampling guide examines that lot-disposition question. A process-monitoring signal is not a substitute for the actual product's acceptance or safety requirements.

Build an original preliminary reference

Consider an entirely fictional operation producing decorative paper inserts. Each item is classified once against the same specified printing requirement. The teaching model treats units as independent with a common probability within the process being studied; no mixture of different product designs, machines or inspection methods is hidden in the count.

The example assumes that qualified, paid inspection resources are available for every stated check, including all necessary recording. It supplies no actual inspection results, improvement claim or recommendation that this sampling design is adequate for another product.

Ten consecutive preliminary subgroups contain 200 inspected items each. Their nonconforming-item counts, in order, are 16, 18, 20, 22, 24, 18, 22, 20, 16 and 24.

The counts total 200 nonconforming items among 2,000 inspected. The estimated center, written p-bar, is therefore 200 ÷ 2,000 = 0.10.

Ten convenient observations do not establish that an actual process is stable or that these are validated operating limits. Here they are a preliminary arithmetic reference. An actual setup needs an appropriate history, subgroup design, measurement checks and investigation of unusual patterns before the baseline is trusted.

Preserve the time order and all original counts. The sequence can matter even when each individual point fits between the limits. Do not sort the rates from smallest to largest and then try to interpret the reordered picture as process behavior over time.

Calculate the reference limits

For a subgroup of size n, the estimated standard deviation of its proportion is square root of [p-bar × (1 − p-bar) ÷ n]. The conventional three-sigma limits add and subtract three times that quantity from p-bar.

For the original 200-item groups, the calculation is √[0.10 × 0.90 ÷ 200] ≈ 0.0212132. Multiply by three to obtain approximately 0.0636396.

The lower limit is approximately 0.0363604, or 3.636%. The upper is approximately 0.1636396, or 16.364%. The center remains 10%.

The preliminary observed rates range from 8% to 12%, so none exceeds those point limits. That alone does not establish statistical control, good product quality or suitability for release. It only states what this one check found relative to this preliminary reference.

Keep unrounded values for comparisons. Display rounding should help a reader, not move a point from one side of a limit to the other. Here the later teaching points are far enough from their limits that the displayed rounding does not determine the conclusions.

Use each subgroup's actual size

Now consider two separate later-subgroup cases against the same preserved 0.10 reference. They are independent comparison branches, not observations used to recompute that reference.

In the first branch, 18 of 100 inspected items are nonconforming. With n = 100, the standard deviation is √0.0009 = 0.03. Three times that is 0.09, giving limits of 0.01 and 0.19.

The observed 0.18 lies inside those limits. It does not trigger the stated single-point outside-limit rule. This does not prove that nothing changed or that all other pattern checks would pass.

In the second branch, 72 of 400 are nonconforming, again 0.18. Now the standard deviation is √0.000225 = 0.015. The limits narrow to 0.055 and 0.145.

The same observed 18% is above the 14.5% upper limit. It triggers an investigation under this model and rule. More inspected items changed the uncertainty around the subgroup proportion; they did not make 18% into a different observed rate.

Scroll across to compare proportions and sample-specific limits. Later cases retain the original reference center.

CaseInspectedObserved proportionLower limitUpper limitSingle-point result
Preliminary groups200 each8%–12%About 3.636%About 16.364%No point beyond limits
Later branch A10018%1%19%Inside
Later branch B40018%5.5%14.5%Above upper limit

Using the old 200-item limits for both later branches would flag both 18% points. That would incorrectly describe the first branch under the sample-specific rule chosen here.

The same failure count can tell another story

For a separate comparison, hold the nonconforming count at eighteen while changing the inspected quantity from one hundred to four hundred. The first rate is 18%; the second is 18 ÷ 400 = 4.5%. Those are different rates, even though a report of “eighteen failures” looks unchanged.

Against the preserved 10% center, the 400-item subgroup's 4.5% falls below its 5.5% lower limit. A lower-side signal is also worth investigating. It might reflect a useful process change, a changed inspection or another difference; the arithmetic does not establish which explanation is true.

Verify the observations and conditions before announcing a permanent improvement. Preserve this branch separately from the earlier seventy-two-of-four-hundred case. Replacing one with the other would change the evidence rather than reinterpret the same observation.

Pool unequal subgroups correctly

When reference subgroup sizes differ, divide their total nonconforming count by their total inspected count. A simple average of percentages gives small and large groups equal influence.

For an independent arithmetic example, one subgroup has 1 nonconforming item out of 10; another has 90 out of 1,000. Their rates are 10% and 9%. Their equally weighted mean is 9.5%.

But the pooled count is 91 out of 1,010, approximately 9.010%. That is the combined observed item proportion. The ten-item subgroup does not represent half of all the inspected items.

This pooling exercise does not establish that those two groups belong to the same process. If one came from a new product or a different inspection method, combining them may hide the very difference you need to investigate.

Do not confuse the limits with the required standard

The 10% reference center describes the supplied historical observations. It does not approve a 10% nonconforming rate. A customer might require a materially better result even if the process is predictable around that rate.

Conversely, putting an aspirational 1% target into the formula would create a chart around that assumed value. It would not establish that the operation already performs at 1%. Label a target as a target rather than silently replacing the process estimate.

NIST's general control-chart discussion also explains that points inside limits are not sufficient when a systematic pattern remains. Select interpretation rules deliberately, with their assumptions and false-signal risks understood. This guide checks the single-point rule only.

Three-sigma formulas for discrete proportions do not establish an exact universal 99.73% coverage probability. Skewness, estimation, dependence and the actual subgroup design matter. Do not call a signal a 99.73% probability that someone caused a problem.

Investigate a signal without erasing it

For the fictional 400-item branch, first reconcile the 72 and the 400. Were all units eligible for the same inspection? Were failures counted once per item? Did the specification, equipment, material or record definition change?

Then examine the work with the responsible people. A signal does not identify its cause, assign blame or authorize shipping affected goods. Follow the actual containment, disposition and customer-commitment process while the evidence is checked.

Preserve the original point and reference. Recalculating the center immediately to absorb the high count can make the chart look calmer while deleting the comparison that raised the question. A justified new phase needs a documented change and an appropriate new reference, not a cosmetic reset.

There are situations where this simple method is a poor starting point. A zero observed reference rate collapses its estimated limits to zero; it does not prove future nonconformity impossible. Sparse failures, dependent units and changing process mixtures may need a different statistical design. Hold the unsupported conclusion rather than forcing the spreadsheet to produce a reassuring line.

Keep the item definition, specification, time-ordered subgroup counts, center estimate, each denominator, unrounded limits, interpretation rule and investigation outcome together. The next reviewer should be able to reproduce the signal without guessing what the chart meant.

Explore Infinite Upside

For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.

Find your edition · Chapter companion

Choose an edition

Choose an edition

ABOUT THE CONTRIBUTOR

Luna Lim

DIRECTOR OF FINANCIAL RESEARCH & EDITORIAL STRATEGY

SHETH CAPITAL, INC.

Luna Lim writes about business, investing, and the judgment behind financial decisions. She joined PCH Exotics Inc. as Director of Operations in 2022, working across La Jolla and Miami. Today, she reports directly to Vijay Sheth at Sheth Capital, Inc., bringing an operator’s perspective to the ideas she covers.

Based in Pacific Beach, California, Luna is curious about the people behind the numbers: what they’re building, how they weigh uncertainty, and what makes a risk worth taking. Her articles for Infinite Upside follow those questions through the details, with clear explanations and a feel for how decisions play out in everyday business.

More from Luna Lim

The Infinite Upside store