- What it isRevenue left after the direct cost of goods sold.
- Formula(Revenue minus cost of goods sold) divided by revenue.
- Shown asA percentage of revenue.
- Who needs itMarketers setting ad budgets and product priorities.
- Common mistakeJudging campaigns on revenue and ignoring margin.
What is gross margin?
In accounting and ecommerce, gross margin measures what is left from a sale after paying for the product itself. Cost of goods sold usually covers what you paid for the item, inbound freight and similar direct costs. Exactly what your finance team includes can differ, so confirm the definition with them.
Gross margin is a percentage. Gross profit is the same idea in currency. Marketers often use the percentage to compare products and the currency amount to judge a single order.
How do you calculate gross margin?
The steps below use a hypothetical product with round numbers, for illustration only.
- Find the selling priceSay the item sells for 1,000 pesos.
- Find the cost of goods soldSay the item costs 600 pesos including inbound freight.
- Subtract1,000 minus 600 gives a gross profit of 400 pesos.
- Divide by revenue400 divided by 1,000 gives a gross margin of 40 percent.
- Compare with marketing costIf it costs 300 pesos to win this order, 100 pesos remain before other costs.
Why does gross margin matter for SEO and ads?
Two products with the same price can leave very different room for marketing. A high-margin product can support more content, links and ad spend per sale. A low-margin product may need to rely on organic search, repeat buying or bundling to make sense.
Use margin when you choose which category pages and keywords to prioritize. Ranking well for a high-volume product with thin margin may bring revenue but little profit. Pair search data with margin data from your finance or merchandising team.
What are common gross margin mistakes?
A common mistake is mixing up gross margin and markup. Markup is profit divided by cost, margin is profit divided by revenue. A 40 percent margin is not a 40 percent markup, and using one for the other leads to wrong prices.
Another mistake is ignoring returns, discounts and shipping subsidies. If those are not reflected, the margin you report is higher than the margin you keep. Ask finance which costs sit above and below the gross margin line.
Need help with Gross margin on your site?
Tell us what is not working. We will check where this affects your search results and what to fix first.
Book a meetingEcommerce SEOQuestions people ask
Is gross margin the same as net profit?
No. Gross margin only removes the direct cost of goods. Net profit also removes marketing, staff, rent, software and other costs. A product can have a healthy gross margin and still lose money once those costs are counted.
What is a good gross margin for an online store?
It depends on the category, the business model and the cost structure, so there is no single target. Compare against your own history and your own acquisition and fulfillment costs rather than a general benchmark.
Why should an SEO team care about gross margin?
Margin tells you which products justify content and link investment. Without it, you may push traffic to products that earn little. Ask for margin by category so keyword priorities reflect profit, not only volume.