Margin Calculator

Enter your cost and the profit margin you want to see the selling price and the profit per sale.

Updated

Enter to calculate Esc to clear

Margin Calculator

Our Margin Calculator tells you what to charge to hit a profit margin. Enter what an item or job costs you and the margin you want, and it returns the selling price, the profit per sale, the matching markup and how many times the cost you need to charge. It suits small business owners, resellers, freelancers quoting a project and anyone checking a price before it goes on the shelf.

Quick answer

Selling price is cost ÷ (1 − margin ÷ 100). A cost of 2,500 at a 25% margin needs 2,500 ÷ 0.75 ≈ 3,333.33, a profit of about 833.33.

  • Margin: profit ÷ selling price × 100.
  • Check: 833.33 is 25% of 3,333.33.
  • Not cost × 1.25: that gives 3,125, only a 20% margin.
  • Margin from prices: (price − cost) ÷ price × 100.

What Is Profit Margin?

Profit margin is the share of the selling price you keep as profit. If you sell an item for 100 and it cost you 80, the profit is 20 and the margin is 20 ÷ 100 = 20%. A margin can never reach 100%, because that would mean the item cost nothing.

This calculator uses the gross margin on one item or job: price minus the direct cost. Net profit margin, which also takes off rent, wages and tax, is covered by our Net Profit Margin Calculator.

Margin Formula

Price = cost ÷ (1 − m)
Profit = price − cost
Margin = profit ÷ price
  × 100
  • Cost: what the item or job costs you.
  • m: the target margin as a decimal, such as 0.25.
  • Price: the selling price, also called revenue.

How to Find a Price From a Margin

A printer costs a shop 2,500 and the owner wants a 25% margin:

  1. Turn the margin into a decimal. 25 ÷ 100 = 0.25.
  2. Subtract from 1. 1 − 0.25 = 0.75, the cost share of the price.
  3. Divide the cost. 2,500 ÷ 0.75 ≈ 3,333.33.
  4. Find the profit. 3,333.33 − 2,500 = 833.33, which is 25% of the price.

How the Price Grows With the Margin

125 166.67 250 500 20% 40% 60% 80%
The dashed line is the cost of 100. The price needed rises faster and faster as the target margin climbs, and 80% needs five times the cost.

Each extra point of margin costs more price than the last. Going from 20% to 40% adds about 41.67 to a 100 cost, but going from 60% to 80% doubles the price from 250 to 500.

Working Out the Margin From a Price

If you already know the price and the cost, divide the profit by the price: an item bought for 60 and sold for 90 has a margin of 30 ÷ 90 × 100 ≈ 33.33%. To see markup and margin side by side, use our Margin and Markup Calculator.

Margin Examples

Cost, marginPriceProfit
2,500, 25%3,333.33833.33
1,000, 40%1,666.67666.67
5,000, 30%7,142.862,142.86
800, 50%1,600800

Key Terms

Cost
What the item costs you.
Selling price
What the customer pays.
Profit
Price minus cost.
Margin
Profit ÷ price × 100.

How to Use the Margin Calculator

  1. Enter the cost. Type what the item or job costs you, such as 2500.
  2. Enter the target margin. Type the margin percentage, such as 25. The selling price, profit and markup appear as you type.

Example: a 2,500 cost at a 25% margin sells for 2,500 ÷ 0.75 ≈ 3,333.33, a profit of about 833.33.

Who Can Use This Calculator?

Business ownersPrice for a set margin
ResellersCheck a resale price
FreelancersQuote a project
StudentsPractise margin sums

Frequently Asked Questions (FAQs)

How do I calculate a selling price from a margin?

Divide the cost by one minus the margin as a decimal. A 2,500 cost at a 25% margin sells for about 3,333.33.

What is the profit margin formula?

Margin = (price − cost) ÷ price × 100. An item sold for 100 that cost 80 has a 20% margin.

Why is a 25% margin not the same as adding 25% to the cost?

Adding 25% to 2,500 gives 3,125, and 625 ÷ 3,125 is only a 20% margin. Margin is measured on the price, not the cost.

Can a profit margin be 100%?

No. A 100% margin would mean the item cost nothing, so the calculator accepts margins below 100%.

What price gives a 50% margin?

Twice the cost. An 800 cost at a 50% margin sells for 1,600.

Is margin the same as markup?

No. Margin divides profit by the price; markup divides it by the cost. A 25% margin is about a 33.33% markup.

Does this calculator include overheads?

Only if you add them to the cost. Otherwise it gives the gross margin on the item.

Is the Margin Calculator free?

Yes. It is free to use, with no sign-up and no limit on how many times you use it.

Sources

Try our Margin Calculator to find the right price for any target margin.