Calculating commission amounts for affiliates requires following specific steps. First, the gross sales amount for the period must be totaled. Then any returns, refunds or credits during that period are subtracted to get the net sales amount. Finally, the commission percentage is applied to the net sales amount to determine the affiliate's commission for the period.