Change language

Finance

Profit margin and markup calculator

A clear distinction between margin on price and markup on cost.

Published by SolucionesAhora.com How we verify

Calculator inputs

Results

Enter your values and press “Calculate” to see the result.

Free, no sign-up! What if you could do this without a calculator? A five-minute game with challenges, lives and points. It clicks even when you cannot be bothered.

In short

What it calculates
A clear distinction between margin on price and markup on cost.
Formula used
Profit = price − cost
Example
Example 1: Cost £40, price £60:

Profit margin calculator

Margin and markup are constantly confused, and they are not the same: a 50% markup is a 33% margin.

This calculator shows both at once from the cost and the price.

How it works

Gross profit is the difference between price and cost. Divided by the price it gives the margin; divided by the cost it gives the markup.

Formula

Profit = price − cost

Margin % = profit / price × 100

Markup % = profit / cost × 100

Worked example

Example 1: Cost £40, price £60:

Profit: £20
Margin: 33.33%
Markup: 50%

Example 2: Setting a price for a 40% margin on a cost of 30:

Price = cost ÷ (1 − margin) = 30 ÷ 0.60 = 50
Profit: 50 − 30 = 20
Check: 20 ÷ 50 = 40% margin, which is the same as a markup of 20 ÷ 30 = 66.67%

Explanation

Margin and markup are not the same

This is the mistake that costs retailers most money. Margin is calculated on the selling price; markup on the cost. A product costing 60 and selling for 100 has a forty per cent margin and a sixty-seven per cent markup. Applying a forty per cent markup believing it gives a forty per cent margin sets the price at 84 and the real margin at twenty-eight.

To set prices, think in margin

If you need a specific margin, divide the cost by one minus that margin as a decimal. For a forty per cent margin on a cost of 60, the price is 60 divided by 0.6, that is 100. Multiplying the cost by 1.4 gives a different figure and a different margin.

Gross and net margin

Gross deducts only the cost of the product. Net also deducts rent, wages, payment fees, shipping and returns. A business with a fifty per cent gross margin can have a net margin of five.

Tax excluded

Margin is always calculated on amounts excluding indirect tax. Mixing a tax-inclusive selling price with a tax-exclusive cost artificially inflates the result.

Frequently asked questions

Which one should I use to set prices?

Markup is easier for building a price up from cost; margin is what measures real profitability on sales.

Does margin include tax?

It should not. Always work with tax-exclusive prices so the margin reflects real profit.

How do I price for a specific margin?

Divide the cost by one minus the margin as a decimal. For a forty per cent margin, divide the cost by 0.6.

What is the difference between margin and markup?

Margin is calculated on the selling price and markup on the cost. A sixty-seven per cent markup equals a forty per cent margin.

Why is a 100% margin impossible?

Because margin is measured on the price: earning 100% of the price would mean the product cost nothing. Markup, on the other hand, can go above 100%.

What is a reasonable margin?

It depends on the sector: grocery retail runs on thin margins and high volume, while software or fashion have much higher ones. Compare yourself with similar businesses, not with a universal figure.

Which costs should I include?

For gross margin, the direct cost of the product: purchase or manufacture and delivery to your warehouse. Overheads such as rent or salaries come off later, in the net margin.

Sources and references

The formula behind this calculator is not ours. These are the sources it comes from, in APA 7 format, in case you want to go to the original or cite them in your own work.

  1. Franklin, M., Graybeal, P., & Cooper, D. (2019). Principles of Accounting, Volume 1: Financial Accounting. OpenStax. https://openstax.org/details/books/principles-financial-accounting https://openstax.org/details/books/principles-financial-accounting Open accounting textbook: gross margin as sales minus the cost of goods sold.

Need to calculate something else?

These tools are often used alongside this calculator.

Selling price

Set your price from the cost and the margin or markup you want to achieve.

Break-even

Units and revenue needed to cover every cost.

Discount

Final price after a discount and exactly how much you save.

VAT

Add VAT or sales tax to a net amount at whatever rate you need.

ROI

Measure the percentage return of any investment or campaign.

Compound interest

How much your money grows with regular contributions, and what it is really worth once inflation and fees…