Overview

Gross margin is the percentage of total sales revenue that a company retains after incurring direct costs associated with producing goods and services it sells.

What is Gross margin?

Gross margin, also known as gross profit margin, is the proportion of money left over from revenues after accounting for the cost of goods sold (COGS). This figure represents the percentage of each dollar of revenue that the company retains as gross profit. It is a critical metric in ecommerce profitability and it helps in evaluating a company’s financial health, internal performance, and comparing the same with industry peers.

Formula

Gross Margin = (Total Revenue – Cost of Goods Sold) / Total Revenue * 100

Example

  • Consider an ecommerce business that generates a revenue of $200,000 by selling goods and the COGS is $100,000. Then,
  • Gross Margin = ($200,000 – $100,000) / $200,000 * 100 = 50%

Why is Gross margin important?

Gross margin allows a company to understand which products are profitable, under what conditions, and at what scale. This data can drive decisions on pricing, inventory management, product development, and can weigh on marketing strategy as well. It allows companies to evaluate what is driving their profitability and how cost fluctuations may impact the overall business.

Which factors impact Gross margin?

Gross margin can be affected by various factors like price fluctuations, production costs, business scale, inventory management, tax regulations, and market competition. Operational efficiencies, product-level profitability, and the effectiveness of pricing strategies also directly impact it.

How can Gross margin be improved?

Improvement in gross margin can arise from various strategies like increasing product prices, improvement of production efficiency, reducing COGS, and procuring materials at a lower cost. It can also be improved by introducing higher-margin products or services into the sales mix or by reducing returns, discounts, and allowances.

What is Gross margin’s relationship with other metrics?

Gross margin is linked with other ecommerce metrics like Net Profit Margin as both of them track profitability from different angles. It is also related to the conversion rate as higher conversion rates can lead to increased gross margin. Gross margin can also affect Customer Lifetime Value (CLV) as the higher the margin, the higher the CLV for a profitable company.

Free essential resources for success

  • Outer Cover - Who Actually?Caused the Booking

    Who Actually Caused the Booking?

    Grow revenue without torching contribution margin. Know exactly what to scale, what to cut, and where the next dollar stops paying.

  • Your Guide to Modern Measurement thumbnail

    Your Guide to Modern Measurement – the Causal Revolution

    Measure true marketing impact with incrementality, MMM, and causal analytics in a privacy-first world

  • Measuring the Unmeasurable

    The State of CTV Measurement in 2026

    Stop guessing your Connected TV ROI. Learn how top brands use incrementality and causal MMM to bridge the "no-click" gap and prove real business growth.

Discover More From Lifesight

  • RTB House X Lifesight

    Published on: October 6, 2026

    Measure the Incremental Impact of Your RTB House Campaigns

    Connect RTB House to Lifesight to see the incremental revenue your campaigns drive and plan budgets on incremental return, not platform-reported ROAS.

  • Did it Work Cover

    Published on: October 6, 2026

    “Did it work?” The 100-year-old question marketing still can’t answer

    We measure everything, but know less than ever. Here's why the 'Holy Grail' of attribution remains out of reach, and what to do about it.

  • top MMM providers 2027

    Published on: October 1, 2026

    10 Best Marketing Mix Modeling Providers in 2027 (Compared)

    Compare the best MMM providers in 2027, including top marketing mix modeling companies, key features, methodologies, and use cases.