Profit margin & markup calculator

Margin and markup are not the same. Get both, or set a price from either one. Free, private, runs in your browser.

How it works

  • Profit = Price − Cost
  • Gross margin = Profit ÷ Price
  • Markup = Profit ÷ Cost
  • Price for a target margin = Cost ÷ (1 − Margin). Price for a target markup = Cost × (1 + Markup).

Example: cost 60, price 100 → margin 40%, markup 66.7%.

Learn more

Food cost percentage formula, with worked examplesHow to calculate food cost percentage two ways: per dish from your recipe, and for a whole period from inventory. Worked burger and latte examples, plus how to set menu prices.Break-even analysis: a worked example for small businessesA step-by-step break-even analysis example for a small business: fixed vs variable costs, contribution margin, break-even units and revenue, target profit, and what-if price changes.How much do Etsy fees take? A worked calculationEtsy's listing, transaction and payment processing fees explained with worked examples for a $10 and a $30 item, how shipping is included, and how to price so fees don't eat your profit.Margin vs markup: the difference that changes your pricesMargin vs markup explained with formulas and worked examples: pricing a $12 product for 40% margin vs 40% markup, converting between them, and the pricing mistake it causes.

FAQ

What is the difference between margin and markup?

Margin is profit as a share of the selling price. Markup is profit as a share of cost. A 50% markup is only a 33.3% margin.

Can margin be over 100%?

No. Margin is always below 100% because profit cannot exceed the price. Markup can be any size.

Which costs should I include?

For gross margin, use the direct cost of the product. For a fuller picture, also include fees and shipping per unit.

Embed this calculator

Free to embed on your blog or site. Paste this HTML where you want the calculator to appear: