Shopify profit margin calculator

Selling price minus product cost isn't your margin. Add payment processing, shipping, packaging and the ad cost of getting the order, and see what one sale really leaves you with.

Profit per order

—Net profit / order
—Net margin
—Gross margin
—Payment fees
—Profit before ads

Payment fee defaults are only an example. Rates depend on your plan, country and payment gateway, so check yours in Shopify admin.

Two margins, two different questions.

Gross margin tells you whether the product is priced sensibly. Net margin per order tells you whether the business makes money once it's sold and shipped.

Gross marginNet margin per order
Formula(price − product cost) ÷ price(price − every cost of that order) ÷ price
Costs countedProduct cost onlyProduct, payment fees, shipping, packaging and ad cost
Answers"Is this priced well for what it costs to make?""Do I keep anything from a sale I paid to acquire?"
Blind spotLooks healthy even when shipping and ads erase itLeaves out fixed costs like software, salaries and rent

On the example above, the gross margin is over 70%, yet after fees, shipping, packaging and ads each order clears far less. That gap is why the per-order view matters.

"Profit before ads" is your ceiling on cost per order.

Whatever an order leaves after product, fees, shipping and packaging is the most you can spend acquiring it and still break even. Divide the price by that figure to get your break-even ROAS, or skip the arithmetic and use the break-even ROAS calculator.

Margins also move for reasons a spreadsheet won't show. Sizing complaints, late deliveries and a run of bad reviews all push up returns and cut repeat purchases, and they show up in what customers say about your brand before they show up in the numbers. That's what Mentionfront is for.

Check the rest of the unit economics.

Questions about Shopify margins

How do I calculate profit margin on Shopify?
For one order: subtract product cost, payment processing, shipping, packaging and ad cost from the selling price, then divide what's left by the selling price. The calculator above does exactly that.
What Shopify fees should I include?
Payment processing (a percentage plus a fixed amount per order), any extra transaction fee your plan adds for third-party payment gateways, and app subscriptions if you want a fuller picture. Monthly plan costs are fixed, so they're better spread across all orders than added to one.
What's a good profit margin for an ecommerce store?
It varies widely by category, price point and how much you're spending on growth. Rather than chase a benchmark, work out your break-even and check that a typical order is comfortably above it after ads.
Does this include returns?
No. Refunds and returns vary too much by category to guess at. To account for them, raise your product or shipping cost input by the average per-order loss, or keep a separate eye on your return rate.

Catch the complaints that eat your margin.

No credit card. 7-day free trial.