Use a time-ordered series of subgroups
Each input is a count of defective units from one subgroup, and all subgroups must have the same sample size n for this calculator. Keep the counts in chronological order. The chart’s interpretation depends on stable definitions, consistent inspection, and a process that is meaningful to monitor over that sequence.
The overall fraction defective is p-bar = total defectives divided by total inspected. Each subgroup proportion is pᵢ = dᵢ/n. Standardizing pᵢ around p-bar makes subgroup-to-subgroup movement comparable against the usual binomial standard error for the center proportion.
What the Sigma-Z adjustment does
The calculator computes zᵢ = (pᵢ − p-bar) / √[p-bar(1−p-bar)/n]. It then estimates Sigma-Z as the average moving range of adjacent z values divided by 1.128. That constant corresponds to the expected moving range of two independent normal observations under the chart’s convention.
The adjusted limits are p-bar ± 3 × Sigma-Z × √[p-bar(1−p-bar)/n], with the lower limit clipped at zero and upper limit clipped at one. Sigma-Z above one widens the ordinary p-chart limits; below one narrows them. This adjustment is not a diagnostic proof that the cause of extra variation has been found.
Enter valid equal-sized counts
Enter at least three whole, nonnegative defective counts in time order, then enter the common subgroup size as a positive integer. Each count must not exceed n. The calculator’s formula assumes equal subgroup sizes, so a sequence collected with varying denominators needs a method designed for that structure rather than an average n substituted into this form.
If every subgroup is zero defective or every unit is defective, the estimated binomial standard error can collapse and standardized values are not informative. The current formula requires variation in the proportion series. Verify that each count represents the same defect definition and that the sample size did not change midstream.
Interpret the limits with the chart
A subgroup proportion outside the adjusted limits is a signal to investigate, not proof that a specific cause exists. Plot the sequence, mark operational changes, and examine the inspection process. The calculator reports numeric limits but does not plot points, evaluate run patterns, or identify whether a signal came from drift, a changed mix, or measurement inconsistency.
Laney adjustment is often considered when ordinary p-chart limits are inappropriate because of overdispersion or underdispersion. The corrected limits still depend on the baseline data and assumptions. Do not tune Sigma-Z merely to suppress inconvenient signals or to make a chart look stable.
Check stability and sampling assumptions
A control chart is most useful when subgroup definitions and collection timing are rational and consistent. Autocorrelation, changing opportunities for defects, shifts in classification, and a changing product mix may create patterns that the simple adjustment does not resolve. Review the underlying counts before relying on a single pair of limits.
This calculator uses three-sigma limits and does not apply supplementary run rules or test process stability. For varying subgroup sizes, a variable-n p chart or a tailored method may be necessary. Preserve the count series, sample-size basis, calculation settings, and any excluded periods so the analysis can be reproduced.
Worked examples
Both series have equal-sized subgroups; the limits are bounded to the physical range from zero to one.
Moderate overdispersion in eight subgroups
Inputs: Defective counts in time order = 2, 3, 1, 4, 2, 5, 3, 4; each subgroup n = 100.
Calculation: p̄ = 24 ÷ 800 = 0.03000; average moving range of z ≈ 1.17242, so Sigma-Z ≈ 1.03938; LCL = max(0, p̄ − 3Σz√[p̄(1−p̄)/100]) = 0.00000; UCL ≈ 0.08319.
The adjusted upper limit is about 8.32% defective. The center proportion and limit describe this equal-size series under the stated Laney calculation; they do not establish stability.
A larger subgroup with a lower clipped limit
Inputs: Defective counts = 6, 4, 7, 5, 8, 6, 4, and 9; each subgroup n = 200.
Calculation: p̄ = 49 ÷ 1,600 = 0.030625; average moving range of z ≈ 1.11393, so Sigma-Z ≈ 0.98752; calculated LCL is below zero and is clipped to 0; UCL ≈ 0.06672.
The lower limit cannot be negative for a defect proportion, so it is reported as zero. The narrower-than-classical adjustment follows the observed Sigma-Z estimate and needs process context.