The gross margin represents the percent of total sales revenue that the company retains after incurring the direct costs associated with producing the goods and services sold by a company. A company's total sales revenue minus its cost of goods sold, divided by the total sales revenue, expressed as a percentage.