Markup & Margin Calculator

Calculate selling price, markup, margin, and profit from your cost.

Calculation
%

Markup to margin

The same profit is a higher markup than margin because markup is based on cost.

Markup Margin
10%9.1%
20%16.7%
25%20.0%
33.3%25.0%
50%33.3%
100%50.0%

What is markup?

Markup is profit expressed as a percentage of cost.

Markup = (Selling Price − Cost) ÷ Cost × 100

Cost $100 and selling price $125 is $25 profit and a 25% markup.

What is margin?

Profit margin is profit expressed as a percentage of selling price.

Margin = (Selling Price − Cost) ÷ Selling Price × 100

The same $100 cost and $125 selling price is a 20% margin.

Markup vs. margin

Markup and margin both describe profit, but they use different starting points. Markup compares profit with cost. Margin compares profit with selling price.

A product that costs $100 and sells for $125 has a 25% markup and a 20% margin.

How to calculate selling price from markup

Selling Price = Cost × (1 + Markup Rate)

$100 cost with 25% markup: $100 × 1.25 = $125.

How to calculate selling price from margin

Selling Price = Cost ÷ (1 − Margin Rate)

$100 cost with 20% target margin: $100 ÷ 0.80 = $125. Adding 20% to cost would be a 20% markup, not a 20% margin.

Why 20% margin is not the same as 20% markup

On a $100 cost, a 20% markup produces a $120 selling price, $20 profit, and a 16.7% margin. A 20% margin produces a $125 selling price, $25 profit, and a 25% markup.

What is cost-plus pricing?

Cost-plus pricing starts with the cost of a product or service and adds a markup to determine the selling price.

Gross margin vs. net margin

This calculator measures margin based on the cost and selling price entered. It is most similar to gross margin on an individual product or service. It does not calculate company-wide net profit margin after operating expenses, interest, and taxes. See Gross Profit vs Net Profit for that distinction.

Frequently asked questions

What is the difference between markup and margin?
Markup is profit divided by cost. Margin is profit divided by selling price. A $100 cost and $125 selling price is a 25% markup and a 20% margin.
How do I calculate markup?
Markup = (Selling Price − Cost) ÷ Cost × 100. A $25 profit on a $100 cost is a 25% markup.
How do I calculate margin?
Margin = (Selling Price − Cost) ÷ Selling Price × 100. A $25 profit on a $125 selling price is a 20% margin.
How do I calculate selling price from markup?
Selling price = cost × (1 + markup rate). A $100 cost with a 25% markup is $100 × 1.25 = $125.
How do I calculate selling price from margin?
Selling price = cost ÷ (1 − margin rate). A $100 cost with a 20% target margin is $100 ÷ 0.80 = $125. Do not add the margin percentage directly to cost.
Is a 50% markup the same as a 50% margin?
No. A 50% markup on $100 produces a $150 selling price and a 33.3% margin. A 50% margin on $100 cost requires a $200 selling price and is a 100% markup.

Put the selling price on an invoice with the Invoice Generator or check totals in the Invoice Calculator. For pricing a service, see How to Price Your Services or browse All Calculators.