Account

What new tool do you want?

Business & E-commerce

Profit Margin & Markup Calculator

Calculate profit, gross margin and markup from cost and price — or find the selling price you need for a target margin or markup.

How to use

  1. 1Choose what you know: cost and price, or cost and a target margin or markup.
  2. 2Read the profit, margin and markup — and the price if you set a target.

How it's calculated

Profit = price − cost. Margin = profit ÷ price × 100. Markup = profit ÷ cost × 100. Price for a target margin = cost ÷ (1 − margin).

Frequently asked questions

What's the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of cost. A $50 item sold for $100 has 50% margin but 100% markup.

Why can't margin be 100% or more?

Margin is a share of the price, so even a free product (zero cost) only reaches 100%. Markup has no upper limit.

What's a good profit margin?

It varies widely by industry — grocery retail often runs on 1–3% net margin, while software can exceed 70% gross margin.

Margin and markup measure the same dollars against different bases

Margin divides profit by the selling price; markup divides the same profit by the cost. They're not two names for one number — on a $50 cost item sold for $80, the $30 of profit is 37.5% of the $80 price but 60% of the $50 cost. The gap between the two widens as margin rises, which is why a supplier quoting '60% markup' and a retailer quoting '60% margin' are describing very different profitability.

Worked example: Profit Margin & Markup Calculator

Cost $50, price $80: profit is $80 − $50 = $30, margin is $30 ÷ $80 = 37.5%, and markup is $30 ÷ $50 = 60%. Now flip it around — say you know the cost ($60) and want a 40% margin instead of a price. The calculator solves price = cost ÷ (1 − margin) = $60 ÷ 0.60 = $100, which works out to a 66.67% markup. Notice that's not the same as just adding 40% to the cost (which would give $84) — that's the single most common pricing mistake this tool exists to prevent.

Why margin can never reach 100%

Because margin is profit as a share of price, even giving a product away for free (zero cost) only pushes margin toward 100%, never past it — the price itself is the ceiling. Markup has no such limit: a $1 item sold for $1,000 has a 99.9% margin but a 99,900% markup. If a margin figure you're given is 100% or higher, it's almost certainly a markup mislabeled as a margin.

The headline switches when I am solving for a price

When I know cost and selling price, which is how the page opens, profit is the large result and the price I typed is not repeated as an output. When I switch to a target margin or a target markup, the selling price becomes the large result, because that is the number I did not know. A target margin of 100 or more is rejected, since the price formula would divide by zero or go negative. Markup has no such cap: 100 percent markup on a 50 cost returns a price of 100. A cost of zero makes markup show as zero rather than an error, while margin still uses the price. The price has to end up above zero or the page stops.

Related tools

More: Business & E-commerce