Everyday Calculators

Profit margin calculator

–selling price
–profit
–profit margin
–markup
–price ÷ cost

The link reopens the page with your numbers.

Margin, markup and selling price, without mixing up the two percentages.

Updated November 24, 2026 · calculated in your browser, nothing is sent.

Margin vs. markup

Both show profit as a percentage, but from a different base. Margin is profit divided by the selling price. Markup is profit divided by the cost. A markup is always larger than the margin it produces.

MeasureFormulaCost 20, price 30
Profitprice − cost10
Profit marginprofit ÷ price × 10033.33%
Markupprofit ÷ cost × 10050%
Price ÷ costprice ÷ cost1.5

Setting a price from a target

A common mistake

A 50% markup is not a 50% margin. Marking up a cost of 20 by 50% gives a price of 30, which is a 33.33% margin. To earn a true 50% margin on the same cost, the price has to be 20 ÷ 0.50 = 40.

Why it matters

Confusing the two leads to underpricing. If your goal is to keep 40 of every 100 you take in, you need a 40% margin, which is a 66.67% markup on cost. Applying a 40% markup instead leaves you with only a 28.57% margin. Pick the number your target is based on, then let the calculator convert it.

Margin cannot reach 100%, because that would mean the item cost nothing. This calculator shows gross profit per item. It does not subtract shipping, fees, taxes or overhead.

Sources

Checked on November 24, 2026. Spotted an error? Email contact@maxicards.net.

Frequently asked questions

How do I calculate profit margin?

Subtract the cost from the selling price, divide the profit by the selling price and multiply by 100. A price of 30 and a cost of 20 give 10 ÷ 30 = 33.33%.

What is the difference between margin and markup?

Margin is profit as a share of the selling price. Markup is profit as a share of the cost. The same sale has a 33.33% margin and a 50% markup.

How do I find the selling price for a 30% margin?

Divide the cost by 0.70. With a cost of 14, the price is 14 ÷ 0.70 = 20.

Can a markup be over 100%?

Yes. Selling something at three times its cost is a 200% markup, but its margin is only 66.67%.

Other calculators