ToolNimba
๐Ÿ’ฐ Finance & Money

Margin vs Markup: The Difference, With Formulas and Examples

Shihab Mia By Shihab Mia July 13, 2026 7 min read

Illustration comparing profit margin based on selling price and markup based on cost

Quick answer

Margin and markup both measure the same profit, but against different bases. Margin = profit / selling price (profit as a share of revenue). Markup = profit / cost (profit as a share of what you paid). Because the selling price is always bigger than the cost, markup is always a larger percentage than margin for the same sale. Example: cost 60, selling price 100, profit 40. Margin is 40 percent, markup is 66.7 percent.

Margin and markup are the two most confused numbers in pricing, and mixing them up quietly eats profit. If you think you set a 40 percent margin but actually applied a 40 percent markup, you charged less than you meant to on every single item. This guide breaks down the difference in plain language, gives you both formulas, walks through worked examples, and shows how to convert between them so your prices do exactly what you intended.

What is the difference between margin and markup?

The difference is the base you divide by: margin divides profit by the selling price, while markup divides the same profit by the cost. They describe one transaction from two angles, and neither is more correct than the other. They just answer different questions.

Profit itself is the same number in both cases. It is selling price minus cost. What changes is whether you express that profit as a fraction of your revenue (margin) or as a fraction of your cost (markup). Because you sell for more than you paid, dividing by the smaller number (cost) always gives a bigger percentage. That is why markup looks higher even though nothing about the actual money changed. A 66.7 percent markup and a 40 percent margin can describe the identical receipt.

  • Margin answers: of the money I collected, what share did I keep as profit?
  • Markup answers: how much did I add on top of my cost to set the price?
  • Same sale, two views: the profit in dollars is identical, only the reference point differs.
  • Direction of thinking: markup builds a price up from cost, while margin looks back down from the price you charged.

Margin and markup formulas

Both formulas start with profit, which is selling price minus cost. From there you divide by a different base and multiply by 100 to get a percentage. Get the base right and the rest is simple arithmetic.

Profit margin formula

Profit margin = (selling price minus cost) / selling price x 100. In other words, profit divided by revenue. If you buy for 60 and sell for 100, profit is 40, and 40 / 100 x 100 = 40 percent margin. This is the same gross margin figure that appears on an income statement.

Markup formula

Markup = (selling price minus cost) / cost x 100. That is profit divided by cost. Using the same numbers, 40 / 60 x 100 = 66.7 percent markup. Notice the profit (40) never changed, only the base you compared it against. To turn a markup into a price directly, multiply cost by (1 + markup as a decimal): 60 x 1.667 = 100.

Margin vs markup at a glance

ConceptFormulaBase (what you divide by)Same-sale example (cost 60, price 100)
Profit marginProfit / selling price x 100Selling price (revenue)40 / 100 = 40%
MarkupProfit / cost x 100Cost40 / 60 = 66.7%

Worked example: pricing one product

Say a product costs you 60 to buy or make, and you sell it for 100. Here is how to find both figures step by step.

  1. Find the profit. Selling price minus cost: 100 minus 60 = 40.
  2. Calculate margin. Divide profit by the selling price: 40 / 100 = 0.40, or 40 percent.
  3. Calculate markup. Divide the same profit by the cost: 40 / 60 = 0.667, or 66.7 percent.
  4. Sanity check. Markup (66.7 percent) is larger than margin (40 percent), which is always true for a profitable sale.

A second example makes the pattern stick. A cafe buys coffee beans and supplies for 2.50 per cup and sells the drink for 5.00. Profit is 2.50. Margin is 2.50 / 5.00 = 50 percent, and markup is 2.50 / 2.50 = 100 percent. The owner doubled the cost, which is a 100 percent markup, yet keeps only half of each sale as gross profit, a 50 percent margin. Same drink, two honest ways to describe it.

The practical takeaway: a markup and its matching margin are the exact same price. If a supplier or a spreadsheet gives you one, you can always translate it to the other. Our how to calculate profit margin and how to calculate markup guides walk through more examples if you want extra practice.

How do you convert between margin and markup?

Use two small formulas: margin = markup / (1 + markup), and markup = margin / (1 - margin). Enter the percentages as decimals, then multiply the result by 100. The two formulas are mirror images, so you can always move between them.

For example, to convert a 66.7 percent markup to margin: 0.667 / (1 + 0.667) = 0.667 / 1.667 = 0.40, or 40 percent. To go the other way, from a 40 percent margin to markup: 0.40 / (1 - 0.40) = 0.40 / 0.60 = 0.667, or 66.7 percent. If you would rather not touch the algebra, the conversion chart below covers the values most businesses reach for.

Common markup to margin conversions

MarkupEquivalent margin
15%13.0%
25%20.0%
33.3%25.0%
50%33.3%
66.7%40.0%
100%50.0%
200%66.7%
300%75.0%

When should you use margin vs markup?

Use markup when you are setting a price from a known cost, and use margin when you are judging profitability and comparing it across products or against competitors.

  • Use markup for pricing: you know the cost and want a quick rule to set the price, for example add 50 percent on top of every item.
  • Use margin for analysis: margin ties directly to revenue, so it is the language of income statements, gross profit, and financial reporting.
  • Retail and wholesale often quote markup, while accountants and investors almost always talk in margin.
  • Comparing across products is cleaner in margin, because every margin sits on the same 0 to 100 percent scale no matter the price point.
  • Mixing the two in one report is fine only if everyone knows which is which, so label the column clearly.

What is a good margin or markup?

There is no universal target, because a healthy margin depends heavily on your industry. High-volume, low-touch businesses run thin, while businesses that sell expertise, software, or brand can run wide. The gap is large: gross margins commonly sit in the single digits to low double digits for grocery and general retail, but can exceed 60 to 70 percent for software and many service businesses.

For real benchmarks, look at published sector data rather than a rule of thumb. NYU Stern professor Aswath Damodaran maintains a widely cited gross and operating margin by sector dataset covering thousands of US companies, updated each January. Find your closest sector there, then set your own target a little above the median so you have room for overhead, discounts, and the fees the basic formula ignores.

Common mistakes to avoid

The single most expensive mistake is applying a markup percentage when you meant to hit a margin. They are not interchangeable, and the gap grows as the numbers get bigger.

  • Treating them as equal. A 40 percent markup is only a 28.6 percent margin, so you would undercharge on every item if you swapped them.
  • Forgetting margin caps at 100 percent. Margin can never reach 100 percent (you cannot keep more than you collected), but markup has no ceiling and can run into the hundreds.
  • Dividing by the wrong base. If your percentage looks surprisingly high, you probably divided by cost when you wanted margin.
  • Copying a competitor's markup as your margin. Without knowing which figure they quoted, you can end up pricing well below them by accident.
  • Ignoring other costs. These formulas cover gross profit only. Overhead, shipping, and fees still come out afterward, so a healthy margin on paper can still leave thin net profit. See how to calculate net income for the full picture.

Good to know

Because margin is capped at 100 percent but markup is not, very high markups compress into a narrow margin range. A 100 percent markup is a 50 percent margin, and a 300 percent markup is still only a 75 percent margin. This is why luxury and specialty sellers can quote eye-watering markups that translate into more modest margins.

Rather than run these conversions by hand every time, plug your cost and price into the calculator below to get margin, markup, and profit instantly.

๐Ÿ“ˆ Try the free tool Profit Margin Calculator Free profit margin calculator. Enter price and cost to get profit margin, markup and gross profit, or enter cost and a target margin to find the selling price.

Bottom line: margin and markup measure the same profit against different bases, and markup will always read higher than margin for a profitable sale. Learn the two conversion formulas, label which one you are using, and your prices will finally match your intent. For deeper financial context, our compound interest explained guide shows how small percentages compound over time.

Frequently asked questions

Is markup or margin higher for the same sale?

Markup is always higher than margin for a profitable sale. Both measure the same dollar profit, but markup divides that profit by the smaller number (cost) while margin divides by the larger number (selling price). For a cost of 60 and price of 100, markup is 66.7 percent and margin is 40 percent.

How do I convert markup to margin?

Use margin = markup / (1 + markup), entering markup as a decimal. For a 50 percent markup: 0.50 / 1.50 = 0.333, or a 33.3 percent margin. To reverse it, use markup = margin / (1 - margin). The two formulas are mirror images, so you can move between them freely.

Can margin be more than 100 percent?

No. Margin is profit as a share of revenue, and you cannot keep more profit than the money you collected, so margin maxes out just below 100 percent. Markup, by contrast, has no upper limit because it is measured against cost, and can easily exceed 100 percent or more.

Should I price products using margin or markup?

Use markup to set a price quickly from a known cost, since you simply add a percentage on top. Use margin when you want to judge profitability or compare products, because margin ties directly to revenue and matches how income statements report gross profit. Many businesses set with markup and report in margin.

Why do margin and markup give different percentages?

They divide the identical dollar profit by different bases. Margin uses the selling price as the denominator, while markup uses cost. Since the selling price is always larger than the cost on a profitable item, dividing by it produces a smaller percentage. The profit in dollars never changes between the two views.

What is a good profit margin for a small business?

It depends on the industry, so there is no single number. Grocery and general retail often run gross margins in the single digits to low double digits, while software and service businesses can exceed 60 to 70 percent. Check published sector data, such as NYU Stern's margin dataset, then aim a little above your sector median.

Do margin and markup include all my costs?

The basic formulas cover gross profit only, using the direct cost of the product. Overhead, shipping, transaction fees, and taxes are not included, so a strong gross margin can still leave a thin net margin after those expenses. Always check net income separately before assuming a price is truly profitable.

Tools used in this guide

Keep reading