Store Owner Tips

Subscribe to our newsletter

Weekly ecommerce tips, deals & news.

Thank You, we'll be in touch soon.

Latest News

Gross Margin

Gross margin is the share of sales revenue left after you subtract the direct cost of your products. You find it by taking revenue, removing the cost of goods sold, then dividing that gross profit by revenue. It shows up as a percentage. A higher gross margin means each sale gives you more cash for overhead and profit.


Key Takeaways

  • The core formula: Gross margin equals revenue minus cost of goods sold, divided by revenue, shown as a percent.
  • It measures product profitability: It reveals how much cash each sale leaves before overhead, marketing, and taxes.
  • It guides your pricing: Thin margins limit discounts and ad spend, while healthy margins give you room to grow.
  • Benchmarks vary widely: General retail runs near a third of each sale, but grocery and other niches sit much lower.

Understanding Gross Margin

The Formula in Plain English

Gross margin starts with two numbers you already track. The first is revenue, the money customers pay you. The second is cost of goods sold, or COGS, the direct cost of what you sell.

Think of COGS like the recipe cost for a dish at a restaurant. It covers the ingredients, not the rent or the waiter’s wages. For a store, COGS covers the product, packaging, and inbound shipping.

Next, subtract COGS from revenue and you get gross profit. Then divide that gross profit by revenue to get gross margin. Finally, multiply by 100 to see it as a percentage.

What Counts as COGS, and What Doesn’t

Getting gross margin right depends on sorting your costs correctly. COGS covers only the direct costs tied to each product you sell. For an online store, that means the item itself, its packaging, and the freight to get it to you.

However, some costs feel related but stay out of COGS. Your rent, your marketing, and your support wages are operating expenses. They belong lower on the income statement, not inside gross margin.

Payment processing fees sit in a gray area. Many stores fold them into COGS since they scale with each sale. Whichever choice you make, stay consistent so your margins compare cleanly month to month.

What Gross Margin Really Measures

Gross margin answers one simple question. How much of each sale survives after you pay for the product itself? That leftover cash has a job to do.

In practice, it has to cover every other expense in your business. That includes rent, software, staff, advertising, and eventually your profit. A stronger margin means more fuel for all of it. This is why gross margin sits at the heart of your unit economics.

Across the whole market, the average gross margin is about 37.76%. That figure comes from NYU Stern data covering thousands of firms. Most companies keep well over a third of each sale as gross profit.

Still, gross margin is only useful when you track it over time. A single snapshot tells you little on its own. By contrast, a trend line reveals whether your pricing and sourcing are getting stronger or weaker. That trend is often more telling than the raw number.

Why Store Owners Watch It Closely

Gross margin shapes almost every decision you make. It sets the ceiling on your discounts and your ad budget. In short, it decides how much room you have to play with.

For example, imagine you run a 20% off sale. If your gross margin is only 30%, that discount eats most of your cushion. By contrast, a store with a 60% margin barely feels it.

Plus, gross margin flags trouble early. When supplier costs rise or you over-discount, margin drops before your bank balance does. As a result, watching it monthly keeps surprises small.

Comparing Margins Across Products

Gross margin also helps you rank your own products. Two items can sell for the same price yet earn very different margins. The one with lower costs quietly does more for your bottom line.

For example, a bundle might sell well but carry thin margins. Meanwhile, a small add-on could deliver rich margins on every order. Knowing this lets you promote the products that actually pay the bills.

This product-level view also sharpens your merchandising. You can feature high-margin items on your homepage and in email. In turn, you steer demand toward the sales that protect your profit.


A Hypothetical E-commerce Example

Imagine a mid-sized coffee roasting brand called Ember Roasters. They sell a signature bag of beans for $24 in their WooCommerce store. Each bag costs them $9 to produce.

That $9 covers the green coffee, the roasting, the bag, and inbound freight. That figure is their cost of goods sold. To find gross profit, they subtract $9 from $24, which leaves $15.

Then they divide $15 by $24, which gives a gross margin of about 62.5%. That sits far above the general retail average of 33.18%. In other words, Ember keeps almost 63 cents of every dollar.

Now compare that to a grocery-style seller near the 26.31% grocery average. On the same $24 sale, that seller keeps just over $6. Ember has far more room to discount, advertise, and reinvest.

Next, say a bad harvest pushes Ember’s bean cost from $9 to $12. Their gross profit per bag drops to $12. As a result, margin slips from 62.5% down to 50%.

Nothing changed on the storefront, yet every future ad dollar now works harder. Catching that shift early lets Ember raise prices or find a new supplier. That is the real value of tracking gross margin.


Gross Margin Vs. Net Margin

People often mix up gross margin with net margin, but they measure different things. Gross margin only removes the direct cost of your products. It stops there.

Net profit margin goes much further. It subtracts every expense, including rent, salaries, software, ads, and taxes. As a result, it shows the profit that actually lands in your pocket.

Here is an easy way to picture it. Gross margin is the top of the funnel, and net margin is the bottom. A store can post a healthy gross margin and still lose money.

That happens when overhead and customer acquisition cost eat the rest. There is also contribution margin, which sits between the two by removing only variable costs. In short, track both numbers, since gross margin tests your pricing and net margin tests your whole business.


Frequently Asked Questions

What is a good gross margin for an online store?

It depends on your industry, so compare against your own niche. Many product businesses aim for a range of 40% to 60%. General retail averages about a third of each sale, while grocery runs lower. Higher is better, but consistency matters more than any single number.

How do you calculate gross margin?

Use a simple three-step process. First, subtract your cost of goods sold from revenue to get gross profit. Then divide gross profit by revenue. Finally, multiply by 100 to see it as a percent.

Is gross margin the same as markup?

No, though they use the same two numbers. Markup compares profit to your cost, while gross margin compares profit to your revenue. A $9 product sold for $24 carries a 62.5% margin. That same product has a much larger markup of about 167%.


How to Improve Your Gross Margin

You can lift gross margin from two directions at once. You can raise revenue per sale, or you can lower the cost of each product. Small moves on both sides add up fast.

  • Negotiate with suppliers: Ask for better unit pricing as your order volume grows, or find a lower-cost source.
  • Raise prices with care: Even a modest increase flows straight to margin if your costs hold steady.
  • Cut waste in fulfillment: Right-size your packaging and shipping, since these direct costs sit inside COGS.
  • Push your best sellers: Feature high-margin products so more of your sales come from profitable items.

Still, protect quality while you trim costs. A cheaper product that hurts reviews can cost you far more than it saves. In short, chase margin without harming the customer experience.


The Bottom Line

Gross margin is one of the clearest signals of a healthy store. It shows whether your pricing covers your product costs with room to spare. Master this one number and the rest of your finances get much easier to read. Track it often, protect it, and let it guide every pricing and marketing move you make.

Share article

Subscribe to our newsletter

Weekly ecommerce tips, deals & news.

Nice – You're in!

Copyright © StoreOwnerTips.com. All Rights Reserved.