Skip to content
MySafeToolbox

Profit Margin Calculator

Free profit margin calculator: get gross margin, markup and profit from cost and price, or find the selling price for a target margin or markup. Private.

  • No upload — 100% private
  • Instant, on your device
  • Free, no sign-up
  • Works offline once loaded

How it works

How to use Profit Margin Calculator

  1. Enter your cost price — what one unit costs you to buy or make.

  2. Choose what else you know: the selling price, the margin you want, or your markup.

  3. Type the number and read the selling price, profit, margin and markup instantly.

  4. Use the cheat sheet to see which markup gives each common margin.

Why use it

Why use our Profit Margin Calculator tool

Three ways in

Start from cost and price, cost and target margin, or cost and markup — the other numbers follow.

Margin and markup side by side

See both percentages for the same sale so you never quote one when you mean the other.

Loss-aware

Selling below cost shows a clear negative margin and how much you lose per sale.

Margin-to-markup cheat sheet

A table of common margins with the markup and price they need, based on your cost.

Private and instant

Your prices are calculated on your device and never uploaded or stored.

FAQ

Frequently asked questions

What is the difference between margin and markup?

Both use the same profit, but margin divides it by the selling price while markup divides it by the cost. Buying at 60 and selling at 100 is a 40% margin but a 66.67% markup.

How do I calculate profit margin?

Gross margin = (selling price − cost) ÷ selling price × 100. A product that costs 75 and sells for 100 has a 25% margin.

How do I find the selling price for a target margin?

Divide the cost by (1 − margin). For a 40% margin on a cost of 60, the price is 60 ÷ 0.6 = 100. Adding 40% to the cost (84) would only give a 28.6% margin.

How do I convert markup to margin?

Margin = markup ÷ (1 + markup). A 50% markup equals a 33.33% margin, and a 100% markup (doubling the cost) equals a 50% margin.

Can a margin be more than 100%?

No. Margin is a share of the selling price, so it can approach but never reach 100% unless the cost is zero. Markup has no upper limit — a 300% markup is perfectly possible.

Is this gross margin or net margin?

Gross margin — it only compares the selling price with the direct cost you enter. Net margin also subtracts overheads such as rent, salaries and tax, so include those in the cost if you want a net figure.