Ads & e-commerce · Free · No sign-up

Profit Margin & Markup Calculator

Enter cost and selling price to get your profit margin and markup. Or enter the margin you want and the calculator tells you what to charge.

What do you know?
Profit margin—
Selling price—
Profit per unit—
Margin (of price)—
Markup (of cost)—

Everything runs in your browser. Nothing you enter is sent anywhere.

The profit margin formula

Profit margin = (price − cost) ÷ price × 100

A product that costs 300 and sells for 500 makes 200, a margin of 200 ÷ 500 = 40%.

Price for a target margin = cost ÷ (1 − margin)

For a 40% margin on a 300 cost: 300 ÷ 0.60 = 500. The classic mistake is adding 40% to the cost (300 × 1.4 = 420), which only gives a 28.6% margin.

Margin vs markup

Margin is profit as a share of the selling price; markup is profit as a share of the cost. Same product as above: 200 profit is 40% of the price (margin) and 67% of the cost (markup). Both are correct, but mixing them up leads to wrong prices.

MarkupEquivalent margin
25%20.0%
33%25.0%
50%33.3%
75%42.9%
100%50.0%
150%60.0%
200%66.7%

Get the cost right before the margin

A margin is only as accurate as the cost behind it. Include everything it takes to get the product to the customer: purchase or production, shipping, packaging and payment fees. If you sell through ads, this margin is what pays for them — continue with the break-even ROAS calculator to find the lowest acceptable performance for your campaigns.

Frequently asked questions

How do I calculate profit margin?

Subtract cost from the selling price, divide by the selling price and multiply by 100. Selling at 500 with a 300 cost gives (200 ÷ 500) × 100 = 40%.

What is the difference between margin and markup?

Margin is profit divided by the selling price; markup is profit divided by the cost. 200 profit on a 300 cost and 500 price is a 40% margin and a ~67% markup.

What is a good profit margin?

It depends on the industry and how you sell. If you sell online through ads, the margin has to cover shipping, returns and ad spend and still leave profit. Below roughly 30% before ads, paid advertising usually gets hard.

How do I find the selling price from cost and margin?

Divide the cost by (1 − margin). A 300 cost at a 40% margin is 300 ÷ 0.6 = 500.

النسخة العربي من الأداة