Home›Pricing, margin & sales

Margin vs markup

Find a product’s margin and markup, work out the price from cost and a target margin or markup, and see why a 30% markup is not a 30% margin.

Educational simulation. Not investment advice. Results are estimates based on the data you enter and do not replace advice from a qualified professional.

Reviewed on Oct 31, 2026

Margin and markup here are gross: cost and price only. Taxes, commissions and fixed costs belong in the pricing calculator.

Your inputs stay only on this browser and are not sent anywhere. Untick to delete them.

Margin and markup—
—

Same percentage, different prices

Your product’s price when the percentage is used as a markup (on cost) and as a margin (on price).

Tap the chart to see the values.

Conversion table

For each percentage: the markup that gives that margin, the margin that markup gives and your product’s price in each case.

Next step

Take this page’s results to another calculator with the fields already filled in.

The summary lists your inputs, results, formulas, assumptions and sources. The full report also includes the charts and interpretations, in color. In the print dialog, choose Save as PDF.

Method, assumptions and sources

Formulas

Margin = (price − cost) ÷ price
Markup = (price − cost) ÷ cost
Markup = margin ÷ (1 − margin) · Margin = markup ÷ (1 + markup)
Price = cost ÷ (1 − margin) = cost × (1 + markup)

Assumptions and limits

  • Gross margin and markup: only product cost and price. Sales taxes, commissions, fees and fixed costs are not included here.
  • The cost entered should include inbound freight and non-recoverable taxes; if it varies, use the average cost.
  • Educational simulation: it ignores competition, demand elasticity and discounts.

Official sources and references

Frequently asked questions

What is the difference between margin and markup?

Margin measures gross profit relative to the selling price; markup measures it relative to cost. With a $25 cost and a $40 price, gross profit is $15: a 37.5% margin (15 ÷ 40) and a 60% markup (15 ÷ 25). Both describe the same price, seen from different sides.

How do I read the result of the page’s example?

In the example the product costs $25.00 and sells for $40.00. The margin is 37.5% and the markup 60.0%, with a 1.600 multiplier. If the owner applied a 37.5% markup thinking it was a margin, the price would be $34.38 and the real margin would drop to 27.3%.

How do I convert margin to markup?

Divide the margin by 1 minus the margin: markup = margin ÷ (1 − margin). A 30% margin needs a 0.30 ÷ 0.70 = 42.9% markup. The other way around, margin = markup ÷ (1 + markup): a 50% markup gives a 33.3% margin.

Where do I get the product cost?

From your supplier invoice: the price paid, inbound freight and any taxes you cannot recover. Leave out rent, salaries and other fixed costs, which the margin pays for. If the cost changes with each purchase, use the average inventory cost.

What is a good margin?

It depends on the industry, turnover and the business’s expenses: grocery stores run on low gross margins and high volume, while fashion retail and services usually have higher margins. What matters is that the margin covers taxes, fees and fixed costs and still leaves profit. Use the pricing calculator to test that.

Why can margin never reach 100%?

Because a 100% margin would need a zero cost or an infinite price. Markup has no ceiling: selling at three times the cost is a 200% markup and a 66.7% margin. That is why a “100% markup” (keystone pricing) is common, but a “100% margin” makes no sense.

Does this calculator replace full pricing?

No. It only covers the relationship between cost and price (gross margin). Sales taxes included in the price, commissions, card fees and fixed costs change the price you need. For pricing decisions, take the cost to the pricing calculator or ask your accountant.

Margin vs markup: the difference and how to convert

Margin and markup measure the same gap between price and cost, but on different bases. Margin is measured on the price; markup on the cost. So, for the same product, markup is always higher than margin, and mixing them up is one of the most common pricing mistakes in retail.

The formulas

Margin = (price − cost) ÷ price  ·  Markup = (price − cost) ÷ cost

To convert: markup = margin ÷ (1 − margin) and margin = markup ÷ (1 + markup). To get the price: price = cost ÷ (1 − margin) or price = cost × (1 + markup).

Example

ItemValue
Product cost$25.00
Selling price$40.00
Gross profit$15.00
Margin15 ÷ 40 = 37.5%
Markup15 ÷ 25 = 60%

A shop owner who wants “a 40% margin” but adds 40% to cost will sell at $35.00. The real margin is 10 ÷ 35 = 28.6%, well below the plan.

Gross margin is not profit

The margin on this page is gross: it only looks at the product cost. Sales taxes included in the price, commissions, card or marketplace fees and fixed costs still come out of it. To reach a price that leaves real profit, use the pricing and markup calculator, which includes those percentages.

When to use each

Markup is handy for buying and reselling: you simply multiply the cost. Margin is the language of financial statements and targets, because it shows how much of each sale stays in the business. Set your target as a margin and convert it to a markup when you tag prices.