# SPC Calculation on Sample Completion

The control limits for the parameters are calculated on the completion of sample, if the Repeated Calculation option is checked for the selected parameter in Work Order QAP, then the standard deviation, Cp, Cpk, Pp and Ppk values are calculated at the end of every sample.

If Sampling Technique for a parameter is 100% Inspection (as selected in WOQAP), then moving range and mean values are calculated for that parameter. These values are used to calculate the Control Limits, standard deviation, Cp, Cpk, Pp and Ppk values for the parameter. The online chart shall display the X MR chart for the parameter.

If Sampling Technique for the parameter is Sampling (as selected in WOQAP), then X Bar (i.e. mean) and Range values are calculated for the selected parameter. These values are used to calculate the Control Limits, standard deviation, Cp, Cpk, Pp and Ppk values for the parameter. The online chart shall display the X Bar R chart for the parameter.