A formula for working out the direct costs of your stock sold over a particular period. The result represents the gross profit. The formula is