A business’s gross margin measures how much sales revenue the company retains after all of the direct costs associated with making a product or providing a service are accounted for.