Skip to content
Util.Ninja

Profit Margin Calculator

Calculate profit margin and markup from cost and selling price, set a price from the margin or markup you want, or work out the return on investment (ROI) of a deal.

Estimates for information only, not financial advice. Real offers may include fees, taxes or rate changes. Works with any currency.

How to use

  1. Choose what you know: cost and price, a target margin, a target markup, or an investment.
  2. Enter the two numbers.
  3. Read the price, profit, margin and markup (or the ROI).

Margin vs markup

Margin = profit ÷ selling price. Markup = profit ÷ cost. A product that costs 60 and sells for 100 has a profit of 40: a 40% margin but a 66.7% markup. Mixing them up is the most common pricing mistake.

ROI

Return on investment = (final value − amount invested) ÷ amount invested. It does not include time, so compare deals of different lengths with the yearly return from the compound interest calculator. Add tax with the sales tax calculator.

Frequently asked questions

How do I calculate profit margin?

(Price − cost) ÷ price × 100. For cost 60 and price 100: 40%.

What is the difference between margin and markup?

Margin divides profit by the price; markup divides profit by the cost.

How do I price a product for a 30% margin?

Divide the cost by 0.70. Cost 70 gives a price of 100.

Is it gross or net margin?

It is gross margin: only product cost, no overheads.

More free tools

Percentage calculatorPercent of, percent changeDiscount calculatorSale price, savings and percent off, with a second…Sales tax / VAT calculatorAdd or remove sales tax, VAT or GST from any price.Compound interest calculatorCompound interest with monthly contributions and a…

All finance calculators →