Profit margin calculator

Calculate sale price, profit, margin and markup — see the full breakdown instantly.

Last updated June 2026

Did you know?

Margin = Profit ÷ Revenue × 100 (profit as % of selling price). Markup = Profit ÷ Cost × 100 (profit as % of cost). Example: cost €40, price €100 → margin 60%, markup 150%.

€100.00
Sale price
Revenue€100.00
Cost€40.00
Profit€60.00
Margin60%
Markup150%

Margin vs markup — the key difference

The formulas

Margin: Profit ÷ Revenue × 100. So if cost is €40 and price is €100, margin is €60 ÷ €100 = 60%.

Markup: Profit ÷ Cost × 100. Same example: €60 ÷ €40 = 150% markup.

Frequently asked questions

What is a good profit margin?

It varies by industry. Retail typically runs 20-50%. Software and digital products can exceed 70%. Services often target 50-70%.

Why do margin and markup give different numbers?

Because they use different bases. Margin divides by price; markup divides by cost. A 50% markup equals a 33% margin.

How do I set prices using margin?

Use the formula: Price = Cost ÷ (1 - desired margin). For a 60% margin on a €40 cost: €40 ÷ 0.40 = €100.

Frequently asked questions

It varies by industry. Retail typically runs 20-50%. Software and digital products can exceed 70%. Services often target 50-70%.

Margin is profit divided by revenue. Markup is profit divided by cost. A 50% markup equals a 33% margin — confusing them is a common pricing mistake.

Price = Cost ÷ (1 - desired margin). For a 60% margin on a €40 cost: €40 ÷ 0.40 = €100.