Markup and margin calculator

Enter your cost and the margin, markup or price you have in mind to see all three figures side by side, so you never confuse markup with margin again.

No accountInstant resultsConversion table included

Enter your cost and target

Choose whether you know the margin, the markup or the selling price.

COST AND TARGET

LIVE RESULT

INSTANT

Price, markup and margin

Margin and markup here are gross figures on the cost you enter, before overheads not included in that cost and before income tax.

Markup vs margin: what is the difference?

Both describe the same profit, measured against different bases. Markup is profit as a percentage of cost. Margin is profit as a percentage of the selling price. Because price is larger than cost, the margin percentage is always smaller than the markup percentage for the same sale.

Profit = Price − Cost
Markup = Profit ÷ Cost
Margin = Profit ÷ Price
Price from markup = Cost × (1 + Markup)
Price from margin = Cost ÷ (1 − Margin)

Worked example

An item costs $60. If you want a 40% margin, the price is $60 ÷ 0.60 = $100, giving $40 profit. Measured against cost, that same $40 is a 66.7% markup. Had you added a 40% markup instead, the price would be $84 and your margin only 28.6%.

Margin to markup conversion table

Target marginMarkup neededPrice on $100 cost
10%11.1%$111.11
15%17.6%$117.65
20%25%$125.00
25%33.3%$133.33
30%42.9%$142.86
40%66.7%$166.67
50%100%$200.00
60%150%$250.00

To convert in your head: markup = margin ÷ (1 − margin), and margin = markup ÷ (1 + markup). A margin can never reach 100%, but a markup can be any size.

Cost-plus pricing

Cost-plus pricing sets the price by adding a fixed markup to cost. It is simple and makes sure every sale covers its direct cost, but it ignores what customers are willing to pay. Make sure the cost includes everything the sale consumes, including your own time for services, then compare the result with market prices before using it.

Common mistakes

  • Adding a markup when the target was a margin, which leaves the price too low.
  • Comparing your markup with an industry margin benchmark, or the reverse.
  • Leaving payment fees, shipping, packaging or your own time out of cost.
  • Quoting a margin on a price that includes sales tax collected for the tax authority.

Related: read the full markup vs. margin guide, see how discounts eat into margin with the discount break-even calculator, or check a full video quote with the video project margin check.

Useful context

Common margin & markup questions

Why can’t a gross margin ever reach 100% if costs are positive?

Margin equals (Price − Cost) ÷ Price. As long as Cost is above zero, profit is always strictly less than the selling price, so Margin stays below 100%. By contrast, Markup divides profit by Cost and can be 200%, 500% or higher.

Which number do retail, wholesale and SaaS benchmarks report?

Financial statements and industry benchmarks almost always report gross margin as a percentage of net revenue (selling price), whereas retail store buyers and contractors frequently quote markup on landed cost. Always confirm the denominator before pricing.

Should sales tax or VAT be included in selling price when checking margin?

No. Exclude collected sales tax or VAT from both selling price and cost so pass-through taxes collected for the government do not distort your unit profit percentage.