Home › Calculators

Margin and Markup Calculator

Work out profit margin and markup from cost and price, or find the selling price that gives the margin or markup you want.

Common examples

That valueMargin (profit ÷ price)
8025%
10040%
12050%
15060%

Select a row to load it into the calculator.

How it works

Profit is the selling price minus the cost. Margin divides that profit by the price, so it shows how much of each sale you keep. Markup divides the same profit by the cost, so it shows how much you added on top of what you paid. Choose what you already know: the price, the margin or the markup, and the calculator works out the rest. To reach a target margin, the price is the cost divided by (1 − margin); for a target markup, it is the cost multiplied by (1 + markup). The table shows the markup and price that go with common margins at your cost.

Example

Cost ($): 60 · I know the: Selling price ($) · That value: 100 → Margin (profit ÷ price): 40%

Formula

margin = (price − cost) ÷ price      markup = (price − cost) ÷ cost

Source

Standard arithmetic and compound-interest formulas.

Checked: 2026-11-29 · Results are for information only.

Good to know

  • An item that costs $60 and sells for $100 makes $40. That is a 40% margin and a 66.67% markup: the same profit, described two ways.
  • Adding 40% to the cost does not give a 40% margin. $60 plus 40% is $84, a margin of only 28.57%. For a 40% margin, divide the cost by 0.6 to get $100.
  • Handy pairs: a 25% markup is a 20% margin, a 50% markup is a 33.33% margin, and a 100% markup is a 50% margin.

Read the guide: Margin vs Markup: Two Percentages for the Same Profit

Questions and answers

What is the difference between margin and markup?

Both describe the same profit. Margin measures it against the selling price, and markup measures it against the cost. Because the price is larger than the cost, the markup percentage is always the higher of the two.

Can margin be more than 100%?

No. Margin is profit as a share of the price, and profit cannot exceed the price unless the cost is below zero. Markup has no upper limit: selling a $10 item for $40 is a 300% markup and a 75% margin.

Related products

Related calculators