Two Shopify stores can have the same sales and very different bank balances. The difference is profit margin. In this guide I show you how to calculate your Shopify profit margin properly, which costs most store owners forget, and how to improve it, with a free calculator to do the maths for you.
What is profit margin?
Profit margin is the share of each sale you keep after costs. It is usually shown as a percentage. There are two numbers every store owner should know:
- Gross margin = (Price − Cost of goods) ÷ Price × 100. It tells you how much room your product pricing gives you.
- Net margin = Net profit ÷ Revenue × 100, after fees, shipping, ads, apps and every other cost. This is the number that pays you.
How to calculate profit per order on Shopify
Start with one order and subtract every cost that comes with it:
- Selling price (and any shipping the customer pays)
- Product cost (what you pay your supplier)
- Shipping and packaging you pay
- Payment processing fees (check the rate for your Shopify plan and payment provider)
- Transaction fees if you use a third-party payment gateway
- Ad cost per order (your ad spend ÷ number of orders)
- Discounts, returns and refunds
- App subscriptions and your Shopify plan, shared across all orders in the month
A simple example
Here is an example with round numbers to show how quickly margin disappears. Your own fees will differ:
| Item | Amount |
|---|---|
| Selling price | $50.00 |
| Product cost | −$15.00 |
| Shipping and packaging | −$6.00 |
| Payment fees (example 3%) | −$1.50 |
| Ad cost per order | −$12.00 |
| Apps and plan per order | −$1.50 |
| Profit per order | $14.00 (28% net margin) |
The gross margin here looks great at 70%, but the net margin is 28%. If the ad cost per order rises to $25, the same product loses money. That is why you should always calculate net margin, not just markup.
You can run your own numbers in the free Shopify Profit Calculator, which includes fees, shipping and ad spend, or use the Profit Margin Calculator for any product.
What is a good profit margin for a Shopify store?
It depends on your niche and business model. As a rough guide, many healthy stores aim for a gross margin of 50% or more so there is room for ads and fees. Dropshipping stores often run thinner margins, while own-brand products, digital products and print-on-demand designs with strong branding can earn more. Instead of chasing an average, work out the margin you need to cover your ads profitably.
Margin and ads: your break-even ROAS
If you run Meta, Google or TikTok ads, your margin decides your break-even ROAS, the return on ad spend at which you neither win nor lose. The simple formula is break-even ROAS = 1 ÷ margin (using your margin before ad costs). With a 40% margin, you need a ROAS of 2.5 just to break even. Check yours with the ROAS Calculator and the Break-even Calculator.
7 ways to improve your Shopify profit margin
- Raise prices slightly and test. Small increases often barely change conversion. The Price Elasticity Calculator shows the effect.
- Increase order value with bundles, upsells and free-shipping thresholds.
- Negotiate supplier costs once your volume grows.
- Cut unused apps and review subscriptions every month.
- Lower ad cost per order with better creatives and retargeting.
- Reduce returns with clear photos, size guides and honest descriptions.
- Sell more to existing customers, who cost far less to reach than new ones. The RFM Segmentation tool shows who to target.
Common mistakes
- Looking only at revenue or markup instead of net profit.
- Forgetting payment fees, returns and app costs.
- Judging ads by ROAS without knowing your break-even ROAS.
- Offering big discounts that wipe out the margin.
Test your knowledge: try the free Digital Marketing Test (Basic to Advanced, with scores), study the marketing KPIs interview questions, or see all free assessments.
The bottom line
Your Shopify profit margin is what is left after every cost, not just the product cost. Calculate profit per order, know your break-even ROAS, and improve margin with pricing, order value and lower ad costs. If you want help turning ads into profitable sales, book a free strategy call.

