Gross margin is the percentage of revenue left after subtracting the direct cost of delivering a product or service.