1. Home
  2. Tools
  3. Profit margin

A 50% markup is only a 33% margin

Mixing up markup and margin is how a store prices products it thinks earn 50% and actually earn 33%. Type your cost and either a price, a target margin or a target markup. The calculator shows all three side by side, and what is left after payment fees.

Some links may earn us a commission at no cost to you. Drafted with AI, checked by a human. How we earn.

  • Your own numbers
  • Every formula shown
  • Runs in your browser
Illustration of a payments desk

Cost and price

Your own numbers
1Cost
2Price or target
3Fees (optional)

How the math works

Gross margin = (price − cost) ÷ price. Markup = (price − cost) ÷ cost. Price for a target margin = cost ÷ (1 − margin). Price for a target markup = cost × (1 + markup). With fees, the price that keeps a net margin is (cost + fixed fee) ÷ (1 − margin − fee %).

Put everything you pay to get one unit to the shelf into cost: product, packaging and inbound freight. For shipping, ads and returns, see the dropshipping profit calculator and the return cost calculator.

Start or upgrade a store on Shopify

FAQ

What is the difference between margin and markup?

Margin divides profit by the selling price; markup divides it by cost. The same $15 profit on a $30 item is a 50% margin and a 100% markup.

What is a good profit margin for an online store?

It depends on the category and on what you count as cost. Run your own numbers including fees, shipping and returns rather than leaning on an industry average.

Why can't margin reach 100%?

Margin is profit as a share of the price, and profit can only equal the price if the product costs nothing.

Is the Shopify link an affiliate link?

Yes. The Shopify /go/ link is a sponsored link. StoreVetted may earn a commission at no extra cost to you.