Shopify profit margin
Margin is three different numbers, and mixing them up is why stores think they are profitable when they are not. Here is how each one works for a Shopify store.
The three margins
Gross margin = (net revenue − COGS) / net revenue. It only answers whether your buying price and selling price work.
Contribution margin = gross margin minus the variable costs of fulfilling the order: shipping, payment fees, packaging, picking and the expected cost of returns. This is the number that tells you if selling one more unit makes you money.
Net margin = contribution margin minus advertising and fixed overhead. This is what ends up in the business.
Getting a reliable margin out of Shopify
Shopify's margin figures are only as good as the 'Cost per item' field. Stores that imported products in bulk or use many variants often have gaps, and those gaps inflate the margin of exactly the items you need to check.
Discounts are recorded per order, so a sitewide code's real margin impact per product needs to be allocated from order line items, not read from the discount report.
What erodes margin without showing up
Four costs move margin most and are rarely allocated per order.
- ◆Returns: the refund plus outbound shipping, return shipping, inspection and any write-off
- ◆Discounts: sitewide codes applied to products that already had the thinnest margin
- ◆Shipping gap: charged shipping revenue versus the carrier invoice including surcharges
- ◆Product mix drift: bestsellers shifting towards low-margin items while revenue looks stable
Benchmarks before you have your own data
Category and country change what 'normal' looks like: return pressure in German fashion is nothing like food and supplements in Southern Europe. Our industry benchmark pages show typical ranges per category and market, and the free scan applies them to your storefront signals.
Improving margin in Shopify
Repricing everything is rarely the answer. In most stores the fastest gains come from a small set of products and rules: a free-shipping threshold that covers the real parcel cost, a discount ceiling per product, and retiring or renegotiating the handful of items that lose money on every order.
Illustrative scenario: bulk-imported Shopify catalogue
Illustrative example: a store migrated 800 products to Shopify via CSV and only filled in cost for the original range. Store-wide margin looks strong, but it is an average of real margins and blank costs. Sorting variants by 'Cost per item' and fixing the blanks first is the cheapest margin improvement there is — it changes nothing in the shop and everything in the numbers.
Estimates, not your numbers. Everything on this page is based on ProfitLeakGuard's modelled benchmarks and the signals a public storefront exposes. It is an indication of where profit typically leaks — not a measurement of your finances. Connect your store to replace estimates with your actual numbers.
Frequently asked questions
Does Shopify include shipping in product margin?+
No. Shopify's product margin uses selling price and 'Cost per item'. Shipping cost, payment fees and returns have to be allocated separately to get contribution margin.
Is gross margin enough to run a store on?+
No. A 60% gross margin can still be a loss-making product once return rate, shipping and payment fees are included. Contribution margin is the minimum useful measure per product.
How do returns change margin?+
A returned order removes the revenue but keeps most of the cost. At a 20% return rate, every ten orders effectively pay for two round trips of shipping and handling, which can take several points off net margin.
Where can I see typical margins for my category?+
The ecommerce profit margins guide covers the formulas and realistic ranges, and the benchmark pages break leakage down by industry and country.