Choose the count that matches the question
Use this chart when the unit is an item and each item is classified once as conforming or defective under a fixed rule. If one part can have several separately counted nonconformities, a C or U chart answers a different question. If sample sizes vary, a P chart shows the defective fraction, but this calculator's pooled aggregate setup still assumes one common subgroup size.
The distinction matters operationally. A rise in defective items means more units failed the classification rule; a rise in defect events may reflect several problems on the same unit. Decide whether the business measure is defective units, defects, or defects per opportunity before entering the baseline.
Read and enter the inputs
The fields are total defective items, number of subgroups, and items inspected per subgroup. The first two are whole-number counts; subgroup count and size must be positive. The defective total cannot exceed the total inspected, which is the subgroup count multiplied by the fixed sample size.
The calculator combines the total into a pooled defective fraction. It does not ask for the count from each individual subgroup, so it cannot identify the date of a signal or check a run pattern. Supply a baseline aggregate only after confirming that every subgroup had the same size and the same pass/fail definition.
How the control limits are formed
Let D be all defective items, k the number of subgroups, and m the common subgroup size. The pooled fraction is p-bar = D divided by k times m. The NP center line is m times p-bar, and the standard error of a subgroup count is the square root of m p-bar times one minus p-bar.
The displayed limits add and subtract three standard errors from the center line, and the lower limit is floored at zero. The upper limit can exceed m, even though a subgroup cannot contain more than m defective items. This can happen with the normal approximation; do not treat an impossible count as a possible observation. If that boundary matters, use a charting method suited to the data.
Worked arithmetic and screen precision
For each baseline, multiply subgroup count by size to obtain the inspected total, divide D by that total, then calculate the binomial count standard error. The tool rounds its center and limits to two decimals and also shows the pooled fraction as a percent rounded to two decimals.
The center count can be fractional because it is an expected subgroup count, even though each observed subgroup count is a whole number. Do not round the center before computing the standard error. The rounding is applied only after the full calculation and should not be reused as the baseline for another calculation.
Worked examples
Twelve subgroups of fifty items
Inputs: 30 defective items; 12 subgroups; 50 items per subgroup
Calculation: p-bar = 30 / 600 = 0.05; center = 50×0.05 = 2.5; SE = √(50×0.05×0.95) = 1.54110; limits = 2.5 ± 3×1.54110
The center is 2.50 defective items per subgroup. The lower limit is 0.00 after clipping and the upper limit is 7.12 items.
Ten subgroups of sixty items
Inputs: 18 defective items; 10 subgroups; 60 items per subgroup
Calculation: p-bar = 18 / 600 = 0.03; center = 60×0.03 = 1.8; SE = √(60×0.03×0.97) = 1.32136; limits = 1.8 ± 3×1.32136
The center is 1.80 defective items per subgroup, with an LCL of 0.00 and a UCL of 5.76. These are modeled limits, not rounded acceptance counts.
Interpret count limits correctly
Each observed subgroup is compared with the same count limits because the subgroup size is fixed. A point outside either limit flags a pattern that merits investigation. A chart with one pooled baseline does not reveal a time trend by itself; preserve the subgroup sequence and add the plotted counts when reviewing a real process.
Assumptions and known calculator boundary
The binomial model treats each item as a consistent binary outcome with a common underlying defective probability, and the standard limits use a normal-style three-sigma approximation. Markedly changing product mixes, dependence between items, or a shifting defect definition can make the pooled fraction misleading.
Enter whole-number counts, a positive number of subgroups, and no more defective items than the total inspected. The calculator receives only the pooled total, so it cannot check the individual subgroup results; its upper-limit approximation is also not capped at m. Treat the result as a numeric summary and review the actual sequence with a charting method appropriate for the process.
A practical setup
Write the sampling interval, fixed subgroup size, defect criteria, and baseline dates on the chart. The NP-chart calculator checks the pooled count limits after you verify the subgroups are comparable.