Skip to content
ToolSuite

Margin and Markup Calculator

Turn cost and selling price into profit, margin and markup - three numbers people mix up.

Processed in your browser

Your result will appear here as soon as you add some input.

How to use it

  1. 1Enter your values in the fields above.
  2. 2The answer and the working appear immediately below.
  3. 3Check the working to see the formula with your numbers substituted.

Example

Input

Cost 60, price 100

Output

Profit 40, margin 40%, markup 66.67%

Formulas used

  • margin % = (price - cost) / price x 100
  • markup % = (price - cost) / cost x 100

About the Margin and Markup Calculator

Margin and markup describe the same profit against different denominators. Margin divides by the selling price, markup by the cost. A 50% markup is a 33.3% margin, and treating them as interchangeable quietly destroys a pricing model.

Margin can never reach 100%, because the profit is always less than the price. Markup has no upper limit.

Questions people ask

Is your figures uploaded to a server?

No. This tool runs entirely in your browser using standard web APIs, so your figures never leaves your device. You can confirm it by opening your browser's network panel while the tool runs, or by disconnecting from the internet after the page has loaded.

Is it free, and do I need an account?

Yes, it is free, and there is no account, no sign-up and no watermark on the result. The project is funded by optional donations.