Free Shopify Profit Margin Calculator

Enter what you charge and what the order costs you, and this works out the margin you actually keep, after cost of goods, shipping, payment fees and advertising, not just after the product. Then it runs the other way: the price a target margin requires, and the most you can afford to pay to win an order.

$
$

What the item costs you, landed.

$

Leave at zero for digital products.

%

Shopify Payments online card rate by default.

$

The flat per-transaction charge, on top of the percentage.

$

Total spend divided by orders over the same period.

Fees

$2.04

Gross profit

$34.00

Gross margin

56.67%

Markup

130.8%

Break-even ad cost per order

$24.96

Break-even ROAS

2.40x

Total cost per order

$52.04

Net profit per order

$7.96

Net margin

13.27%

You keep $7.96 of every $60.00 order, a net margin of 13.27%.


How to use it

Enter the selling price and what the order costs you: product, shipping, the payment fee percentage and the flat fee per transaction. The defaults are a working example, so every figure moves as soon as you change one.

Add your ad cost per order. Take total spend for a period and divide it by orders in the same period. That blended figure is the one that belongs here, not the cost per order of a single campaign.

Read the net margin rather than the gross margin. Gross is the product only. Net is what the business keeps.

Switch mode to run it backwards. Price mode returns the price a target net margin needs. Ad budget headroom returns the most you can pay to win an order and still hit that target.

For a whole-store read instead of a single product, put your average order value in the selling price field and blended costs in the rest.

Gross margin and net margin are not the same number

Gross margin is what is left after the product. Net margin is what is left after the business. On the figures above they are 56.67% and 13.27%, and the gap between them is not unusual. It is where most of the money in a Shopify store goes.

The costs in that gap are the ones a store owner underestimates in the same order every time: shipping, payment processing, and advertising. None of them appear in a gross margin, all of them come out of the same order, and a store priced on gross margin alone can run at a healthy-looking 55% and still lose money on every sale it advertises for.

Gross margin tells you whether the product works. Net margin tells you whether the business does.

The formula, and the costs it usually leaves out


Working through it on a $60 order: the product costs $26, leaving $34 and a gross margin of 56.67%. Shipping takes $7. Payment processing takes $2.04. Advertising takes $17. What is left is $7.96, which is a net margin of 13.27%.

Three of those four costs are missing from most profit margin calculators, and the fourth, advertising, is the largest single line in the example and the one most often treated as a marketing budget rather than as a cost of the sale.

Why 2.9% is never really 2.9%

The Shopify Payments online card rate is a percentage plus a flat amount per transaction. Almost every calculator on this subject models the percentage and drops the flat part, which is fine on a large order and badly wrong on a small one.


On an $18 order the flat 30 cents is more than a third of the fee bill and pushes the effective rate to 4.57%. On a $180 order it is a rounding error. If your average order value is low, your real processing cost is meaningfully higher than the rate you were quoted, and raising average order value cuts it without renegotiating anything.

Shopify own fees, and the one that catches people out

Two separate charges, and they are routinely confused. The first is the payment processing rate, which goes to the payment provider. The second is Shopify own transaction fee, which applies only when you do not use Shopify Payments, and it varies by plan.


So a Basic store using an external gateway pays that gateway rate and 2% to Shopify on top. On the $60 order above that is another $1.20, and it takes the net margin from 13.27% to 11.27%. Add it into the payment fee field rather than modelling it separately. The 2.9% default is the Basic rate: a Grow store should enter 2.7 and an Advanced store 2.5.

Pricing backwards: the price a target margin needs

Most pricing gets done forwards: take the cost, apply a markup, see what falls out. That works until a cost changes, and then nobody re-prices, because the arithmetic runs the wrong way.

Price mode runs it the other way. Give it your costs and the net margin you want, and it returns the price that produces it. On the figures above, a 10% net margin needs a price of $57.75, which tells you the $60 price is holding and tells you how much room you have when a supplier raises a cost.

Two things to watch. The target is a net margin, so it is already after advertising, which makes a 10% target here a very different instruction from 10% in a gross-margin conversation. And a target becomes unreachable once the payment fee and the target together account for the whole order, so the tool says so rather than returning a number.

How much you can afford to pay for an order

This is the question that decides whether a paid channel is worth running, and it is the one no other profit margin calculator answers.

Once you know what an order leaves after product, shipping and fees, the most you can pay to win it is that contribution minus the margin you want to keep. On the figures above, a $60 order contributes $24.96 before advertising. Keep 10%, which is $6.00, and $18.96 is the most you can pay for the order. At an actual $17.00 there is $1.96 of room.

That number is a ceiling on cost per acquisition, and it converts directly into a bid, a target and a straightforward answer to whether a campaign should keep running. It is also the number to hand a media buyer instead of a budget.

The ceiling assumes the first order is the whole relationship. If customers come back, the true ceiling is higher and should be set on lifetime value rather than on one order.

What this calculator does not include

The model is one order, and a handful of real costs sit outside one order: returns and refunds, the Shopify plan fee, apps and themes, duty and inbound freight unless already landed into cost of goods, overheads, and disputes.

Returns are the one worth doing by hand, because the arithmetic is harsher than the rate suggests. On the default figures a 20% return rate takes $7.96 of profit a sale to roughly break-even with the product resold, and to a clear loss when it cannot be. The ad cost and the outbound shipping are spent whether the order sticks or not.

What a good Shopify profit margin looks like

There is no single figure, and the ranges published on this subject vary so widely that they are not worth aiming at. What matters is the structure. A high gross margin with a low net margin means the costs outside the product are eating the business, and that is fixable. A low gross margin means the pricing or the sourcing is wrong, and no amount of marketing work rescues it.

The useful comparison is against yourself. Run the same order through this calculator at last quarter costs and at this quarter costs, and the direction of travel tells you more than any benchmark will.

How to improve it

Raise the average order value before anything else. It lifts margins from three directions at once: the flat transaction fee shrinks as a share of the order, shipping does the same, and the ad cost you can afford per order goes up.

A stronger product page pulls the same lever - build one with the product description generator, and check the storefront around it with the Shopify Theme Checker.

Attack the largest cost line, not the easiest one. In the example above that is advertising at $17 against a $26 product.

Cost the shipping subsidy honestly. Free shipping is a discount, and it belongs in this calculation at what it actually costs.

Cut the return rate before cutting a supplier price. Better photography, honest sizing and a description that says what the product is not are cheaper than shipping the same order twice and selling it once.

Move to Shopify Payments if a third-party gateway is costing you the plan fee on top. It is a one-off change worth a fixed percentage of every order from then on.

Re-price when costs move. The cost side changes continuously and the price side almost never does.

Common mistakes

Pricing on gross margin. The subject of this whole page, and the most expensive habit on the list.

Leaving advertising out of the margin. On any order that came from a paid click it is a cost of the sale, not an overhead.

Modelling the payment fee as a flat percentage. It understates the cost on every order and badly on small ones.

Entering the 2.9% Basic rate on a Grow or Advanced store, and ignoring the surcharges outside the quoted rate. An international card adds roughly 1% and currency conversion about 1.5% on a US store.

Forgetting the third-party gateway fee. A Basic store on an external processor pays Shopify 2% that never appears in the processor own reporting.

Judging a repeat-purchase store on a single order. It sets the ad ceiling too low and starves acquisition.

Using an average order value that includes tax or ignores discounts. Either one quietly moves every figure on the page.

FAQ

Frequently Asked Questions

How do you calculate profit margin on Shopify?

Subtract everything the order costs you from what the customer paid, then divide by what the customer paid. The part that varies between calculators is what counts as a cost. Product alone gives you gross margin. Adding shipping, payment processing and advertising gives you net margin, which is the figure that decides whether the store is a business.

What is the difference between margin and markup?

Margin is measured against the price and markup against the cost. A product bought at $26 and sold at $60 carries a 56.67% margin and a 130.77% markup, the same transaction described two ways. Markup is the more natural way to set a price and margin is the only way to compare one product against another, which is why both appear in the results.

Does this include Shopify fees?

Yes, as an input you control. The percentage and the flat per-transaction amount are separate fields, so a store on a different plan, a different country rate or an external gateway can enter its own figures rather than accept a default that was never true for it.

Should advertising be part of the profit margin?

On any order that came from a paid click, yes. Treating it as a separate marketing budget is what allows a store to report a healthy margin and lose money at the same time. The practical test is whether the order would have happened without the spend.

Why is my real margin lower than my Shopify dashboard shows?

Because the dashboard reports on the data it holds. Cost of goods is there if you entered it, but shipping subsidies, payment processing and advertising spend usually sit in other systems, and none of them is netted off automatically. The gap is normal, and it is the reason to enter the numbers by hand once.

What should I use as the selling price for a whole store?

Your average order value over a recent period, calculated as revenue divided by orders on the same basis. Use the figure after discounts and before tax, and keep it consistent. Swapping between a pre-discount and a post-discount average moves every number on this page without anything changing in the business.

Can a product with a high margin still lose money?

Easily, and it is the most common version of the problem. A 60% gross margin on a $20 item leaves $12, and $12 does not survive shipping, processing and a paid acquisition cost. Margin is a percentage and costs are amounts, so a strong percentage on a small order is frequently worse than a weak one on a large order.

How do returns affect your profit margin?

More than the return rate implies. A refunded order hands back the product when it can be resold, but the outbound shipping, the return leg and the advertising that won the customer are already spent. That is why a store with a fifth of its orders coming back can run these figures, see a healthy result and still finish the month flat.

Does this work for dropshipping and print on demand?

Yes. Put the supplier price plus any per-item print or handling charge into cost of goods, and the fulfilment shipping into the shipping field. The arithmetic is identical. What differs is which line dominates: on a dropshipped order the product and the acquisition cost usually take almost all of it.