To calculate it, one subtracts the cost of goods sold (COGS) from total revenue. In essence, gross profit represents the money a company earns from its core operations, excluding expenses such as ...