Profit Margin Calculator

Calculate gross profit, profit margin and markup from your revenue and cost.

Use this free profit margin calculator to compare selling price and cost, calculate gross profit, and see the difference between margin and markup.

Your business figures

This calculator provides a simple gross margin estimate. It does not include tax, overheads, financing costs or other business expenses unless they are included in the cost you enter.

How profit margin is calculated

Profit margin shows what percentage of revenue remains after subtracting the cost.

Profit Margin (%) = (Revenue − Cost) ÷ Revenue × 100

Markup is different. It compares profit with the cost rather than with the selling price.

Markup (%) = (Revenue − Cost) ÷ Cost × 100

Worked example

If an item sells for £100 and costs £60, the gross profit is £40. The profit margin is 40%, while the markup is approximately 66.67%.

Margin is not the same as markup

Margin compares profit with selling price, while markup compares profit with cost. A target margin also needs to cover costs that are not included in the per-item cost figure.

Read: Profit Margin, Markup and Break-even Explained →

Last reviewed: October 2026

When this calculator is useful

Use this calculator to compare selling price with cost, estimate gross profit, and distinguish between profit margin and markup when setting or reviewing prices.

Worked examples

Example 1: Margin

If an item sells for £100 and costs £60, gross profit is £40 and gross margin is 40% of the selling price.

Example 2: Markup

Using the same £60 cost and £100 selling price, the markup is about 66.7% because markup is measured against cost rather than selling price.

Common mistakes to avoid

  • Using margin and markup as though they are the same percentage.
  • Leaving out important direct costs when calculating gross profit.
  • Assuming gross margin is the same as net profit margin.
  • Ignoring VAT or sales taxes when comparing prices and costs.

Assumptions and limitations

This calculator compares the revenue or selling price you enter with the cost you enter. It does not automatically include overheads, tax, financing costs, depreciation or other business expenses.

Related calculators

Break-even Calculator · Cost Calculator · Profit & Loss Calculator

Frequently asked questions

What is the difference between margin and markup?

Margin is profit as a percentage of revenue. Markup is profit as a percentage of cost.

Can profit margin be negative?

Yes. If cost is higher than revenue, the calculator will show a negative margin, indicating a loss.

Does this include VAT?

Only if the numbers you enter already include VAT. For clearer business analysis, use figures on a consistent basis.