Shopify Profit Margin Calculator: Find Your Real Profit Per Order

Shopify Profit Margin Calculator: Find Your Real Profit Per Order

Shopify will tell you what each product earns after its cost. That's a real number, and it's the first line of the story. What it can't tell you on its own is what an order earns after shipping, payment fees, returns and the ads that brought the customer in.

The calculator below runs the whole stack for one order. Put in your numbers and you'll see three margins side by side, plus the most you can spend on ads per order before you lose money on it.

Shopify profit margin calculator (per order)
Prefilled with the hypothetical example from this post. Replace each number with your own. Nothing you type leaves your browser.

Product margin (what Shopify's profit report shows)
Gross margin per order, before ads (CM2)
Contribution margin per order, after ads (CM3)
Break-even ad spend per order
Break-even ROAS

How the calculator works

It builds margin in three steps, the same stack MTN uses in the contribution margin guide.

Product margin = Order revenue − Product cost

This matches the profit Shopify reports: sales minus the "Cost per item" you entered on each product.

Gross margin (CM2) = Product margin − Shipping and fulfillment − Payment fees − Returns allowance

What's left after you've delivered the order and collected the money. This is the room you have for marketing.

Contribution margin (CM3) = Gross margin − Ad spend per order

What the order contributes to your fixed costs (team, software, rent) and profit after marketing.

Two more outputs come from gross margin:

  • Break-even ad spend per order = Gross margin per order. Spend more than that to get an order and the order loses money.
  • Break-even ROAS = Order revenue ÷ Gross margin per order. The break-even ROAS guide goes deeper on using it per channel.

What each input means

  • Order revenue after discounts. What the customer paid for the products, net of discount codes. Use average order value if you're running the math for the whole store.
  • Product cost, fully landed. Supplier price plus inbound freight, duties and tariffs. Not just the number in Shopify's "Cost per item" field, unless you keep that field updated with landed cost.
  • Shipping and fulfillment you pay. Your cost to pick, pack and ship, not what you charge the customer. If you charge for shipping, add that charge to order revenue.
  • Payment fee. Shopify Payments lists 2.9% + 30¢ for standard online cards on the Basic plan in the US, with lower rates on higher plans and higher rates for premium and international cards (Shopify pricing, checked November 7, 2026). Use the rate on your own statement if it differs.
  • Returns and refunds allowance. Your own return and refund cost as a share of revenue. Pull it from your last few months rather than a category average, because product, price point and policy change it a lot.
  • Ad spend per order. Total ad spend for the period divided by orders in the same period. For a first-order view, divide by new-customer orders instead.

Why Shopify's profit report stops short

Shopify's profit reports are available on every plan, including Basic (Shopify Help Center). They calculate profit from one field per product: "Cost per item." That makes them a clean view of product margin and leaves out the rest:

  • Shipping and fulfillment you pay, including shipping you offer at no charge to the customer
  • Payment processing fees
  • Returns and refunds, including the shipping you paid both ways
  • Ad spend, which lives in the ad platforms, not in Shopify
  • Landed cost changes, unless someone updates "Cost per item" every time a supplier price, freight rate or tariff moves

None of this is a flaw in Shopify. It's a commerce platform, and it reports what it can see. The gap is between product margin and the margin that decides whether you can scale spend, and closing it is your job, not the dashboard's. For the full list of what Shopify's dashboard leaves out, see the Shopify Analytics breakdown.

A worked example, one order

Hypothetical numbers, the same ones prefilled in the calculator:

LineAmountRunning margin
Order revenue after discounts$80.00
Product cost (landed)−$24.00
Product margin (what Shopify shows)$56.0070.0%
Shipping and fulfillment−$6.00
Payment fee (2.9% + $0.30)−$2.62
Returns allowance (5% of revenue)−$4.00
Gross margin (CM2)$43.3854.2%
Ad spend per order−$20.00
Contribution margin (CM3)$23.3829.2%

Shopify's view shows $56 an order. After everything that varies with the order, $23.38 is left to cover fixed costs and profit.

The break-even line matters just as much. In this example you can spend up to $43.38 in ads to get an order before it loses money, which is a break-even ROAS of 1.84x ($80 ÷ $43.38). If your blended ROAS on this product drops toward 1.84x, the order is heading to zero contribution even though the dashboard still shows a 70% margin.

Run it per SKU, not just per store

A store-wide average can hide products that lose money inside products that carry the business. A heavy item that ships at a higher cost, gets returned more often and needs a discount to move can post the most revenue in Shopify and the thinnest margin in reality. Before a sale, the break-even discount calculator shows how deep that discount can go.

To run the calculator per SKU:

  1. Export orders with line items from Shopify.
  2. Put your current landed cost next to each SKU.
  3. Assign shipping cost per SKU from weight and typical destination.
  4. Apply your payment fee rate to each order.
  5. Use each SKU's own return rate from your returns data.
  6. Allocate ad spend per SKU where you can tie campaigns to products, or use the blended cost per order where you can't.

Hypothetical SKU view:

SKURevenueProduct marginContribution margin (CM3)What it says
Hoodie$45,00062%8%Sells the most, keeps the least
Serum$22,00075%38%Room to push spend
Starter kit$18,00055%−3%Loses money on every sale
Store$85,00064%14%Looks fine blended

The blended 64% hides a product losing money and a best seller close to break-even. The per-SKU view tells you where the next ad dollar should go and what to reprice, rebundle or cut.

Ways to track this every month

  • A spreadsheet. Low cost, full control, and you see every assumption. It only works if someone updates landed costs, fees and return rates on a schedule.
  • A profit-tracking app. Connects Shopify and your ad accounts and automates the math. Check how it estimates shipping, fees and returns, because estimates change the answer.
  • A financial model. Ties contribution margin to the P&L, CAC payback period and cash. That's the view you need when the question moves from "is this product profitable?" to "can the business afford to scale this spend?"

Whichever you pick, keep the definitions fixed month to month. A margin is only useful when it's comparable to itself. Margin also ignores the cash tied up in unsold inventory, so track your cash conversion cycle alongside it.

Frequently asked questions

Does Shopify have a profit margin calculator?
Shopify shows profit in its reports using each product's "Cost per item," which gives you product margin. It doesn't include shipping you pay, payment fees, returns or ad spend. The calculator on this page adds those.

How do I calculate profit margin on Shopify?
Subtract product cost, shipping and fulfillment, payment fees, returns and ad spend per order from order revenue, then divide by order revenue. Stop before ad spend and you have gross margin (CM2). Include it and you have contribution margin (CM3).

What is a good profit margin for a Shopify store?
There's no single good number. It depends on your price point, product cost, shipping weight, return rate, how much of your revenue comes from repeat customers and whether you're spending to grow or protecting cash. Start from your own gross margin, work out your break-even ad spend, then set a contribution margin target that covers your fixed costs and the profit you want.

What is a 30% margin on $100?
$30. Margin is profit as a share of the selling price, so a $100 sale at a 30% margin leaves $30 after costs.

How do I price a product for a 70% margin?
Price = Cost ÷ (1 − target margin). A product with $15 in cost needs a price of $15 ÷ 0.30 = $50 for a 70% margin. Decide which margin you mean first: 70% product margin and 70% contribution margin are very different prices.

What's the difference between margin and markup?
Margin is profit divided by price. Markup is profit divided by cost. A $50 product that costs $15 has a 70% margin and a 233% markup.

How often should I update my costs?
Whenever a supplier price, freight rate, tariff or payment rate changes, and on a regular schedule even when nothing seems to have moved. Stale costs make every margin downstream wrong.

Know the number before you scale the spend

The brands that scale profitably know three numbers per order: what the product earns, what's left after delivery and fees, and what's left after the ad that brought the customer in. With those, a spend decision becomes a calculation instead of a guess.

If you want to run your brand on that kind of math, start at Move the Needle.

Nick Miller

Nick Miller

Co-author of Beyond ROAS. Fractional Head of Growth, $200M+ in managed ad spend, and formerly led the paid media team at the Tier 11 agency. I help DTC brands grow on profit, not ROAS.