Skip to content

Profit Margin Calculator

Work out profit, margin and markup from cost and price — or find the price for a target margin.

AvailableRuns in your browserFree · No sign-up

Profit Margin Calculator

What do you know?

For totals across several units.

Enter the cost price and selling price to see the results.

Margin vs. markup

Margin is profit as a share of the selling price; markup is profit as a share of the cost. Buying at 80 and selling at 100 is a 20% margin but a 25% markup. Margin can never reach 100%; markup has no upper limit.

Your data is processed locally in your browser and is not uploaded to OZVILO servers.

How to use the Profit Margin Calculator

  1. 1Choose what you know: cost and price, cost and a target margin, cost and markup, or price and margin.
  2. 2Enter the values (and a quantity if you want totals).
  3. 3Read profit, margin, markup and totals instantly.
  4. 4Copy the results for your quote or price list.

Examples

  • Check a product

    Input
    Cost 80 · Price 100
    Result
    Profit 20 · Margin 20% · Markup 25%
  • Price for a margin

    Input
    Cost 60 · Target margin 40%
    Result
    Selling price 100

Frequently asked questions

What's the difference between margin and markup?

Margin is profit divided by the selling price; markup is profit divided by the cost. Buying at 80 and selling at 100 gives 20 profit — a 20% margin but a 25% markup. Confusing them is a common pricing mistake.

How do I find the price for a target margin?

Price = cost ÷ (1 − margin). For a 40% margin on a cost of 60: 60 ÷ 0.6 = 100. Choose “Cost & target margin” and the tool does it for you.

Why can't the margin be 100%?

A 100% margin would mean the cost is zero. Margin approaches 100% as costs fall but never reaches it, while markup has no upper limit.

What happens if I sell below cost?

Profit, margin and markup turn negative and the result is labelled as a loss, so you can see exactly how much each sale loses.

Does it include tax or other costs?

It uses the cost you enter. Include every per-unit cost you want counted — product, shipping, fees — for a true margin. Currency choice is for display only.