Calculation for multiple sizes.