Profit margin calculator

Enter what something costs you and what you sell it for to see your margin and markup. Or enter the margin you want and get the price to charge.

FreeNo sign-upRuns on your device

Loading the tool…

How to use it

  1. Choose whether you know the price or the margin you want.
  2. Enter your cost for one unit.
  3. Enter the selling price or your target margin.
  4. Read the margin, markup, profit and price.

Margin explained

Gross profit margin is the share of the selling price you keep after the cost of the item. Margin = (price − cost) ÷ price × 100. If something costs $60 and sells for $100, the profit is $40 and the margin is 40%.

To price for a margin, divide the cost by (1 − margin). For a 40% margin on a $60 cost: $60 ÷ 0.6 = $100. This is where many people go wrong: adding 40% to the cost gives $84, which is only a 28.6% margin.

Margin or markup?

Margin is profit as a share of the price. Markup is profit as a share of the cost. The same sale gives two different percentages: $40 profit on a $60 cost and $100 price is a 40% margin and a 66.7% markup. Accounts and investors usually talk about margin. Shops and trades often price with markup. Make sure everyone means the same thing before you compare numbers.

What counts as cost

This calculator works out gross margin, using the direct cost of one unit: what you paid for it, or the materials and labour to make it. It doesn't include rent, wages, marketing or other overheads. Your net margin, after those costs, will be lower. Track both: gross margin tells you whether each sale is priced well, and net margin tells you whether the business as a whole makes money. A margin can never reach 100%, because that would mean the cost was zero. Recheck your margin whenever a supplier raises prices: if the cost goes up and the price stays the same, the margin falls.

Questions

How do I calculate profit margin?

Subtract the cost from the price, divide by the price and multiply by 100. A $100 sale with a $60 cost has a 40% margin.

How do I price something for a 30% margin?

Divide the cost by 0.7. A $35 cost needs a price of $50 for a 30% margin.

What is the difference between margin and markup?

Margin divides profit by the price. Markup divides profit by the cost. A 40% margin equals a 66.7% markup.

What is a good profit margin?

It depends on the industry. Groceries often run on thin margins, while software and services can be much higher. Compare yourself with businesses like yours.

Is this gross or net margin?

Gross. It only counts the direct cost of the item, not overheads like rent, staff or marketing.