Skip to main content

Profit Margin Calculator

Enter a selling price and a cost price to see your gross profit, your true profit margin and what share of the price the cost takes.

Free, no account neededFigures stay in your browserUpdated November 2026

What the customer pays, excluding VAT.

What the item or service costs you to deliver.

Profit and margin

Revenue (selling price)
£75.00
Cost price
£45.00
Gross profit
£30.00
Profit margin
40.00%
Equivalent markup(profit ÷ cost)
66.67%

The working

Gross profit = £75.00 − £45.00 = £30.00

Margin = £30.00 ÷ £75.00 × 100 = 40.00%

What the profit margin calculator does

It takes two figures — what you sell something for and what it costs you — and works out the gross profit and the percentage margin that profit represents. Margin is a share of the selling price, which is the number you can compare across products and periods.

  • Gross profit = selling price − cost price
  • Profit margin % = (gross profit ÷ selling price) × 100

Worked example

A product sells for £75 and costs £45 to supply. Gross profit is £30. Margin is £30 ÷ £75 = 0.40, or 40% of the selling price. The cost absorbs the other 60%.

Change the selling price to £90 and the profit becomes £45, a margin of 50%. The cost has not moved, but every extra pound of price falls straight through to profit — which is why margin responds so strongly to pricing.

Margin is not markup

The same £30 profit is a 40% margin but a 66.7% markup, because markup divides profit by the cost rather than the price. If you price by adding 40% to your cost, you get a 28.6% margin, not 40%. The markup calculator shows both figures side by side, and markup vs profit margin explains the gap.

What the calculation leaves out

This is a gross margin: it accounts for the direct cost of the item sold, and nothing else. Rent, software, insurance, marketing, your own pay and tax all sit outside it. A 40% gross margin does not mean 40% of revenue is yours to keep — the break-even calculator is the tool that brings fixed costs into the picture.

If you are VAT registered, use net figures. The VAT you collect is held for HMRC and is not revenue, so including it flatters both your turnover and your margin.

Using it well

Check the margin before agreeing a discount, before accepting a lower price for volume, and whenever a supplier raises their cost. A 10% discount on a 40% margin product removes a quarter of your gross profit. And a £5 supplier increase on a £75 product at 40% margin pulls the margin down to 33% unless you reprice.

Frequently asked questions

What is the formula for profit margin?

Profit margin = (selling price − cost price) ÷ selling price × 100. It expresses gross profit as a percentage of the selling price.

Is profit margin the same as markup?

No. Margin divides profit by the selling price; markup divides the same profit by the cost. Markup is always the larger percentage for a profitable sale.

What if my cost is higher than my selling price?

The calculator shows a negative profit and a negative margin. That means every sale loses money, and no amount of extra volume fixes it — the price or the cost has to change.

Should I use gross or net profit for margin?

Gross margin is the standard measure for a single product or service and is what this calculator produces. Net margin, after all overheads, is a business-level figure calculated from your accounts.