The Business Kit

Profit Margin and Markup Calculator

Calculate gross profit, margin % and markup % from a cost and price, find the selling price needed for a target margin, or work out the maximum cost you can bear for a target margin. Nothing you enter is stored or sent anywhere.

Last reviewed: 1 November 2026

Free calculator

Enter your figures

Choose a calculation mode, then enter your cost, price or target margin. All amounts are in pounds. Nothing you enter is stored or sent anywhere.

Calculation mode
£

The direct cost of producing or buying one unit.

£

The price you sell one unit for, before any VAT.

Gross profit

£40.00

Cost£80.00
Selling price£120.00
Gross profit£40.00
Margin33.3%
Markup50.0%

This calculator provides general information, not financial advice. It performs arithmetic from the figures you enter and does not account for VAT, discounts, volume, overheads or your full cost structure. Always confirm pricing decisions against your own accounts and, where needed, professional advice. Always check your figures with an accountant. Nothing you enter is stored or sent anywhere.

How it works

How margin and markup are calculated

  • Margin is profit as a share of the selling price: (price − cost) ÷ price. A £20 profit on a £100 price is a 20% margin.
  • Markup is profit as a share of the cost: (price − cost) ÷ cost. The same £20 profit on an £80 cost is a 25% markup.
  • Price from margin: divide cost by (1 − margin). For a 40% margin on £80 cost: £80 ÷ 0.60 = £133.33.
  • Max cost from margin: multiply price by (1 − margin). For a 30% margin on £120 price: £120 × 0.70 = £84.

Worked example

£80 cost, £120 selling price

With an £80 cost and a £120 selling price, the gross profit is £40. The margin is £40 ÷ £120 = 33.3%, and the markup is £40 ÷ £80 = 50%. To hit a 40% margin on an £80 cost, you would need to charge £80 ÷ 0.60 = £133.33. To protect a 30% margin on a £120 price, your maximum cost is £120 × 0.70 = £84. Enter your own figures above for a personal calculation.

FAQs

Frequently asked questions

What is the difference between margin and markup?
Margin is profit expressed as a percentage of the selling price: (price − cost) ÷ price. Markup is profit expressed as a percentage of the cost: (price − cost) ÷ cost. A 25% margin is not the same as a 25% markup — the same £20 profit on a £100 price is a 20% margin but a 25% markup on an £80 cost.
How do I calculate a selling price from a target margin?
Divide the cost by (1 − margin). For a 40% margin on an £80 cost: £80 ÷ 0.60 = £133.33. This calculator does that automatically in "Cost & margin → price" mode.
How do I find the maximum cost for a target margin?
Multiply the selling price by (1 − margin). For a 30% margin on a £120 price: £120 × 0.70 = £84 maximum cost. Use "Price & margin → max cost" mode.
What is a good profit margin?
There is no universal good margin — it varies hugely by industry, business model and stage. A supermarket may operate on single-digit margins while a consultancy may target 30% or more. Compare against your own industry benchmarks and your cost structure rather than a generic figure.
Is this gross or net profit margin?
This calculator works with gross figures — the direct relationship between a unit cost and a unit price. Net profit margin also deducts overheads, taxes and other expenses and needs your full accounts. Use this for unit pricing decisions, not whole-business profitability.
Is this calculator financial advice?
No. It performs arithmetic from the figures you enter. It does not account for VAT, discounts, volume, overheads or your full cost structure. Always confirm pricing decisions against your own accounts and, where needed, professional advice, and check your figures with an accountant.

Next steps

Related guides and tools

Spotted an error or an out-of-date offer on this page?Report it to our editorial teamand we'll take a look.