Profit margin and markup calculator

Enter the cost of your product or service and choose what you know: the selling price, the margin you want or the markup. You will see the price, the profit, the margin and the markup.

Free · No sign-upReviewed on 6 November 2026

No sign-up: what you type is not saved.

Sample data

Margin on price40.00%
Selling price (excl. VAT)
€100.00
Profit
€40.00
Margin on price
40.00%
Markup on cost
66.67%

How it was calculated

  1. Profit = price − cost: €100.00 − €60.00 = €40.00
  2. Margin = profit ÷ price: €40.00 ÷ €100.00 = 40%
  3. Markup = profit ÷ cost: €40.00 ÷ €60.00 = 66.67%

Indicative result: it does not replace an advisor's advice.

Turn your prices into invoices with VAT calculated

Invoicing issues unlimited invoices for free, with VAT and withholding on each line.

See Invoicing Create a free account

How is profit margin calculated?

Margin = (price − cost) ÷ price × 100. It is the share of the selling price that is profit. With a €60 cost and a €100 price, profit is €40 and the margin 40%.

What is the difference between margin and markup?

Both use the same profit, but margin measures it on the price and markup on the cost. With a €60 cost and a €100 price, margin is 40% and markup 66.67%. A 50% markup equals a 33.33% margin: they are not interchangeable.

How do I calculate the selling price from a margin?

Price = cost ÷ (1 − margin). With a €60 cost and a 40% margin: 60 ÷ 0.60 = €100. If you apply a 40% markup on cost instead, the price would be €84.

Does the price include VAT?

No. This calculator works without VAT; VAT is added when you invoice (you can work it out with the VAT calculator).

Worked example: a product costing €60

Sold at €100: profit €40; margin 40 ÷ 100 = 40%; markup 40 ÷ 60 = 66.67%. For a 40% margin: 60 ÷ (1 − 0.40) = €100. For a 50% markup: 60 × 1.50 = €90.

How to use this tool

  1. Enter the cost of your product or service.
  2. Choose whether you know the price, the margin or the markup and enter its value.
  3. Read the price, profit, margin and markup.

Frequently asked questions

How is profit margin calculated?

(Price − cost) ÷ price × 100.

How do I calculate markup?

(Price − cost) ÷ cost × 100.

Can margin be 100%?

No: it would mean a zero cost. Margin on price is always below 100%. Markup can exceed 100%.

Does the result include VAT?

No: it works with prices excluding VAT.

Keep reading

Reviewed on 6 November 2026. Indicative result: it does not replace an advisor's advice.

Turn your prices into invoices in a minute

Unlimited free invoices with VAT and withholding calculated.

See the module Create a free account