Profit Margin Calculator

Enter what an item costs you and what you sell it for to see your profit, margin and markup.

Profit margin40%
Profit40.00
Markup66.67%

What is profit margin?

Profit margin is the share of the selling price that you keep as profit after paying for the item.

Include shipping, packaging and fees in your cost.
Compare margins between products, not just profit.
Margin is always smaller than markup for the same price.

How is it calculated?

Profit margin = (selling price − cost) ÷ selling price × 100. Markup = (selling price − cost) ÷ cost × 100.

Results are estimates for planning. Check figures against your own records before making business decisions.

Frequently asked questions

What is profit margin?
Profit margin is the percentage of the selling price that is profit. A 40% margin means 40 of every 100 you sell for is profit.
What is the profit margin formula?
Profit margin = (selling price − cost) ÷ selling price × 100.
What is the difference between margin and markup?
Margin divides profit by the selling price; markup divides profit by the cost. The same price always gives a higher markup than margin.
How do I convert markup to margin?
Margin = markup ÷ (1 + markup). For example, a 50% markup is a 33.3% margin.
What is a good profit margin?
It depends on the industry. Shops often aim for 30–60% gross margin, while services can be higher. Compare with similar businesses.
How do I set a price for a target margin?
Divide the cost by (1 − target margin). A cost of 60 with a 40% margin gives a price of 100.
Is this gross or net margin?
It is gross margin per item: price minus the cost you enter. Add shipping, packaging and fees to the cost for a truer figure.
Can margin be negative?
Yes. If the selling price is below the cost, you are making a loss and the margin is negative.
Is the calculator free?
Yes, free with no sign-up.

How to calculate profit margin

Profit margin = (selling price − cost) ÷ selling price × 100. If an item costs 60 and you sell it for 100, your profit is 40 and your margin is 40 ÷ 100 = 40%.

Margin vs markup

Both use the same profit, but divide by different numbers. Margin divides by the selling price; markup divides by the cost. In the example above the markup is 40 ÷ 60 = 66.7% while the margin is 40%.

MarkupMargin
25%20%
33.3%25%
50%33.3%
66.7%40%
100%50%
150%60%

What is a good profit margin?

It depends on the business. As a rough guide, grocery and fuel often run on single-digit margins, clothing and shops on 30–60% gross margin, and services and software on higher margins. Compare yourself with businesses like yours, and watch the trend over time.

Gross, operating and net margin

How to find the price for a target margin

Price = cost ÷ (1 − target margin). For a cost of 60 and a 40% target margin: 60 ÷ 0.6 = 100. The retail price calculator does this for you.

Related: Markup vs margin · Markup calculator · Retail price calculator · Break-even calculator

Related tools

Markup CalculatorPricing & ProfitDiscount CalculatorPricing & ProfitRetail Price CalculatorPricing & ProfitWholesale Price CalculatorPricing & Profit

See all 85 free tools →