Calculate Your Optimal Order Quantity For example, imagine your business sells 125 basketballs per year, your total setup costs are $10 and your annual holding cost per unit is $17.2. The equation would be: [2 * (125 * 10) / 17.2]^(1/2).