Shopify profit margin calculator
This Shopify margin calculator works out your profit per order, net margin, markup and break-even ROAS from your own numbers: selling price, product cost, shipping, payment processing fees, an optional extra transaction fee and your ad cost per order. It doesn't assume Shopify's fee rates, which vary by plan, country and payment set-up. You enter the rates that apply to you. Everything runs in your browser, and nothing you type is sent anywhere.
The numbers already filled in are examples only. Replace them with your own prices, costs and the fee rates on your plan and payment provider. Use one currency throughout.
- Profit per order
- 16.25
- Price minus product, shipping, payment, transaction and ad costs.
- Net margin
- 32.5%
- Profit per order as a share of the selling price.
- Markup on product cost
- 177.8%
- (Price − product cost) ÷ product cost.
- Break-even ROAS
- 2.06x
- Revenue per 1 of ad spend needed to break even. You can spend up to 24.25 on ads per order.
Fee breakdown for this order: payment processing 1.75, extra transaction fee 0.00.
How the numbers are calculated
| Result | Formula |
|---|---|
| Payment processing | price × processing % + fixed fee |
| Extra transaction fee | price × transaction fee % |
| Profit before ads | price − product cost − shipping − payment processing − transaction fee |
| Profit per order | profit before ads − ad cost per order |
| Net margin | profit per order ÷ price |
| Markup on product cost | (price − product cost) ÷ product cost |
| Break-even ROAS | price ÷ profit before ads |
Worked example with the default values
The calculator opens with example numbers. Here's how it gets to its results:
- Payment processing: 3% of 50.00 is 1.50, plus the 0.25 fixed fee, which makes 1.75.
- Profit before ads: 50.00 − 18.00 (product) − 6.00 (shipping) − 1.75 (processing) − 0.00 (transaction fee) = 24.25.
- Profit per order: 24.25 − 8.00 (ads) = 16.25.
- Net margin: 16.25 ÷ 50.00 = 32.5%.
- Markup on product cost: (50.00 − 18.00) ÷ 18.00 = 177.8%.
- Break-even ROAS: 50.00 ÷ 24.25 = 2.06x. Ad campaigns for this product need to return at least 2.06 in revenue per 1 spent to avoid losing money on those orders.
Change one input at a time to see what moves the result most. For many products, shipping and ad cost matter more than the fee rates.
Where to find your fee rates
- Payment processing: your Shopify Payments rates are shown in your Shopify admin under your plan and payment settings. For another provider, such as PayPal, use the rate in your agreement with them. Enter the percentage and the fixed amount per transaction separately.
- Extra transaction fee: on some plans Shopify charges an additional transaction fee when you use a third-party payment provider instead of Shopify Payments. Check your plan details. If it doesn't apply to you, leave it at 0.
- International and currency conversion fees: if a large share of orders are international or in another currency, your effective processing rate is higher. Use a blended rate from a recent payout report.
- Apps and subscription: monthly costs such as your plan and apps aren't per-order fees. Divide them by monthly orders and add them to shipping and fulfilment cost if you want them included.
Using the results
Profit per order is the number that matters most, because it's what's left to pay for your fixed costs and your time. A healthy margin on paper can disappear once shipping, fees and ads are counted.
Markup is useful for setting prices from cost. Margin is useful for comparing products and channels. Don't mix them up: a 100% markup is a 50% gross margin before any other costs.
Break-even ROAS tells you the minimum return your ads need. If your ad platform reports a ROAS below it, those ad-driven orders lose money, even if revenue is growing. Aim comfortably above it to cover returns, discounts and fixed costs.
What this calculator leaves out
- Returns and refunds. If 10% of orders come back, your effective profit per order is lower. Some fees aren't refunded on returns.
- Discounts. Enter the price after typical discounts, or run the calculator twice.
- Taxes and duties. Enter prices excluding VAT, GST or sales tax.
- Fixed costs: staff, rent, software.
- Chargebacks and fraud, which are rare per order but costly.
Making margin reporting automatic
A calculator is fine for pricing decisions. For real margins per product, channel and month you need your actual fees, refunds and costs in one place, which usually means getting Shopify payouts and fees into your accounting system correctly. See the QuickBooks and Xero integration guides, or a custom Shopify app that writes cost and margin data into metafields and reports.
Frequently asked questions
What fees should I enter for Shopify?
Enter the rates that apply to your store: your payment processing percentage and fixed fee per transaction (from your payment provider or your Shopify Payments rates in the admin), and any extra transaction fee that applies to your plan and payment set-up. Rates differ by plan, country, card type and provider, which is why this calculator doesn't fill them in for you.
How do I calculate profit margin for a Shopify product?
Take the selling price and subtract product cost, shipping and fulfilment cost, payment processing fees, any transaction fees and your ad cost per order. That's profit per order. Divide it by the selling price to get the net margin percentage.
What's the difference between margin and markup?
Margin is profit as a share of the selling price. Markup is how much you add on top of cost, as a share of cost. A product bought for 20 and sold for 50 has a markup of 150% on product cost, while its margin depends on all the other costs per order and is always lower than 100%.
What is break-even ROAS?
Break-even ROAS is the return on ad spend at which an order makes zero profit after all costs. It equals the selling price divided by the profit per order before ad spend. If it's 2.5x, every 1 you spend on ads must bring in 2.50 of revenue just to break even.
Should I include VAT or sales tax in the price?
No. Enter the price excluding sales tax, VAT or GST, because that tax isn't your revenue. UK, EU and Australian stores that show tax-inclusive prices should divide by one plus the tax rate first.
Related
- QuickBooks integration
How to integrate Shopify with QuickBooks Online or QuickBooks Desktop: per-order vs summary accounting, payouts, fees, refunds and sales tax, where connectors fall short, and what a custom integration does.
- Xero integration
How to integrate Shopify with Xero, written for UK and Australian merchants: VAT and GST on tax-inclusive prices, payouts in GBP and AUD, fees, refunds and multi-currency, and when to build a custom Xero integration.
- Stripe & Square integration
What a Shopify Stripe integration or Square integration can and can't do: checkout payment options, moving Stripe subscriptions to Shopify, syncing Square POS with Shopify, and reconciling payouts across providers.
- Hire a Shopify app developer
Freelance Shopify app developer for custom app development, ERP and accounting integrations, Checkout UI extensions and Shopify Functions. How an engagement works and what to prepare.