Shopify Profit Margin Calculator
Your real margin per order, after Shopify fees, shipping and ads
Enter your selling price and costs, pick your Shopify plan, and see what each order really leaves you: profit, net margin and the price you'd need to hit your target margin. Free, no signup.
Profit per order
10.75
From an order total of 50.00, after 39.25 in costs.
Net margin
21.5%
Profit as a share of the order total, after every cost below.
Gross margin
64.0%
Price against product cost only. Markup: 178%.
Price for a 25% margin
52.53
Break-even price: 38.58.
Where the order total goes
- Product cost
- 18.0036%
- Shipping and packaging
- 8.0016%
- Payment and Shopify fees
- 1.754%
- Ad spend
- 10.0020%
- Returns allowance
- 1.503%
- Profit
- 10.75
You're below your 25% target. Charge 52.53 instead, or cut costs by 1.75 per order.
Default fees are Shopify's published US rates for standard online card payments, checked on 26 November 2026. International cards and other countries cost more, so edit the rates to match your payouts. Amounts work in any currency. Nothing you enter is saved; the numbers are added to the page address so you can share or bookmark them.
Add the Shopify Profit Margin Calculator to your site.
Free for blogs, newsletters, client sites and courses. Paste the code into an HTML or custom code block. Please keep the credit line under the tool.
<iframe id="am-shopify-profit-margin-calculator" src="https://www.ahmadmujtaba.com/tools/shopify-profit-margin-calculator?embed=1" title="Shopify Profit Margin Calculator" width="100%" height="950" style="border:0;max-width:100%;" loading="lazy"></iframe>
<p style="font-size:13px;margin:6px 0 0;">Free <a href="https://www.ahmadmujtaba.com/tools/shopify-profit-margin-calculator">Shopify Profit Margin Calculator</a> by <a href="https://www.ahmadmujtaba.com/">Ahmad Mujtaba</a></p>
<script>addEventListener("message",function(e){if(e.origin==="https://www.ahmadmujtaba.com"&&e.data&&e.data.amEmbed==="shopify-profit-margin-calculator"){var f=document.getElementById("am-shopify-profit-margin-calculator");if(f)f.style.height=e.data.height+"px";}});</script>The script line resizes the frame to fit the tool. If your site strips scripts, the tool still works at the fixed height and scrolls inside the frame.
Why your Shopify margin is lower than you think.
Most margin calculators only subtract product cost. On a Shopify store, several other costs come out of every order: the card processing fee (2.9% plus 30 cents on Basic with Shopify Payments for standard US cards), Shopify's transaction fee if you use another payment provider, shipping and packaging, the ad spend it took to win the order, and a share lost to refunds and returns.
This calculator takes all of them off the order total, including any shipping the customer paid at checkout, because Shopify charges payment fees on the full amount. What's left is your profit per order, and profit divided by the order total is your net margin.
To find the price for a target margin, it works backwards: it adds your fixed costs per order and divides by what's left after the percentage-based costs and your margin. The break-even price is the same sum with a margin of zero.
Common questions.
How do I calculate profit margin on Shopify?
Take the order total, subtract product cost, Shopify payment fees, shipping, packaging, ad spend per order and an allowance for returns, then divide what's left by the order total. For example, a $50 product with $18 cost, $7 shipping, $1 packaging and $10 ad spend per order on Basic with Shopify Payments leaves about $12.25 after the $1.75 card fee, a net margin of about 24.5% before returns.
What is a good profit margin for a Shopify store?
Many direct-to-consumer brands aim for a gross margin of 60% or more on products, which usually leaves a net margin of 10% to 20% per order after shipping, fees and advertising. Dropshipping stores often run gross margins of 20% to 40%, which leaves very little once ads are paid for. Your category and how much you rely on paid ads matter more than any single benchmark.
Does Shopify take a percentage of sales?
With Shopify Payments, you pay a card processing fee on each order instead of a separate Shopify cut: 2.9% plus 30 cents on Basic, 2.7% on Grow and 2.5% on Advanced for standard US online cards. If you use a different payment provider, Shopify adds its own transaction fee of 2%, 1% or 0.6% on those plans, on top of the provider's fee.
What's the difference between gross and net margin here?
Gross margin only compares the selling price to the product cost. Net margin, as this calculator shows it, is what's left of the whole order after product cost, fees, shipping, packaging, ads and returns. It doesn't include monthly overheads such as your Shopify subscription, apps or salaries.
Should I include ad spend in my margin?
Yes, if you rely on paid ads to get orders. Divide last month's ad spend by the orders it brought in and enter that as ad cost per order. A product can look profitable on gross margin and still lose money once the cost of winning each order is counted.
For plain margin and markup from cost and price, use the profit margin calculator. See your monthly fees and subscription with the Shopify fee calculator, find out how much you can spend on ads with the break-even ROAS calculator, and check what a sale does to your profit with the discount impact calculator.
Need help making your store more profitable?
I'm Ahmad Mujtaba, a Shopify Select Partner. My team builds and maintains Shopify stores, from speed and SEO to checkout and tracking.