All control charts will handle unequal subgroup sizes. Because the control limits are functions of the subgroup size, they are affected by unequal-size subgroups. If the sample sizes do not vary by very much, you may want to force the control limits to be constant. See Force control limits and center line to be constant for details.