The p formula (for the proportion of nonconforming units from subgroups that can vary in size):
To calculate control limits for the p-chart: