Margin vs Markup: The Difference & How to Calculate Each

Finance June 18, 2026

Margin and markup measure profit from different starting points, and confusing them quietly costs money. Learn the formulas, how to convert between them, and why a 50% markup is not a 50% margin.

Margin and markup are two of the most commonly confused terms in business pricing, and mixing them up can quietly erode your profits. Both describe the relationship between cost and selling price, but they measure it from different starting points. Understanding margin vs markup is essential for anyone who sets prices, negotiates with suppliers, or analyses the financial health of a product line. This guide explains exactly what each term means, walks through how to calculate margin and markup step by step, and shows why a 50% markup is not the same as a 50% margin.

If you just need the numbers fast, you can use our margin calculator to convert between cost, price, margin, and markup instantly. But it pays to understand the mechanics, because a small misunderstanding here can mean systematically underpricing every item you sell.

What is profit margin?

Profit margin expresses your profit as a percentage of the selling price. In other words, it answers the question: out of every dollar a customer pays, how much do you keep as profit? Because the denominator is the revenue (the price), margin can never exceed 100%. If your margin were 100%, your cost would be zero.

The term gross margin specifically refers to profit after subtracting only the direct cost of goods sold (COGS), before operating expenses like rent, salaries, and marketing. Net margin goes further and subtracts all expenses. When people talk casually about profit margin on a single product, they almost always mean gross margin.

The gross margin formula is straightforward:

Gross margin (%) = (Selling price βˆ’ Cost) Γ· Selling price Γ— 100

For example, if you buy an item for $60 and sell it for $100, your profit is $40. Divide $40 by the $100 selling price and you get 0.40, or a 40% gross margin. Forty cents of every dollar of revenue is profit before overheads.

What is markup?

Markup expresses your profit as a percentage of the cost rather than the price. It answers a different question: how much did you add on top of what you paid? Because the denominator is the cost, markup can exceed 100% and frequently does in retail and hospitality.

The markup formula is:

Markup (%) = (Selling price βˆ’ Cost) Γ· Cost Γ— 100

Using the same numbers, the $40 profit divided by the $60 cost gives 0.667, or a 66.7% markup. Notice that the very same transaction produces a 40% margin but a 66.7% markup. The profit in dollars is identical; only the reference point changes. This is the single most important idea in the margin vs markup debate.

Margin vs markup: the key difference

The difference comes down to what sits in the denominator. Margin divides profit by price; markup divides profit by cost. Since the selling price is always larger than the cost (assuming you are profitable), the margin percentage will always be smaller than the markup percentage for the same transaction.

This relationship trips up a lot of business owners. A supplier might tell you to "apply a 30% markup," and if you instead apply a 30% margin, you will charge less than intended and make less money than you planned. Over hundreds or thousands of units, that gap is significant.

Cost Selling price Profit Margin Markup
$60 $75 $15 20.0% 25.0%
$60 $80 $20 25.0% 33.3%
$60 $90 $30 33.3% 50.0%
$60 $100 $40 40.0% 66.7%
$60 $120 $60 50.0% 100.0%

Read across any row and you will see the margin is always lower than the markup. The gap widens as profitability increases. At a 50% margin, the markup is a full 100%, meaning you doubled your cost.

How to calculate margin step by step

To learn how to calculate margin from cost and price, follow these steps. Suppose your cost is $45 and your selling price is $75.

First, subtract the cost from the selling price to find the gross profit: $75 βˆ’ $45 = $30. Second, divide that gross profit by the selling price: $30 Γ· $75 = 0.40. Third, multiply by 100 to convert to a percentage: 40%. Your gross margin is 40%.

If instead you know the margin you want and need to find the price, rearrange the formula. To hit a target margin, divide the cost by (1 βˆ’ margin as a decimal). For a 40% margin on a $45 cost: $45 Γ· (1 βˆ’ 0.40) = $45 Γ· 0.60 = $75. This reverse calculation is where the margin calculator saves the most time, because the division by (1 βˆ’ margin) is easy to get wrong by hand.

How to calculate markup step by step

Markup works the other way. Using the same $45 cost and a target you control, suppose you want a 50% markup. Multiply the cost by the markup percentage to find the profit added: $45 Γ— 0.50 = $22.50. Add that to the cost to get the price: $45 + $22.50 = $67.50.

To go from price back to markup, take the profit and divide by the cost. If you sell at $67.50 on a $45 cost, the profit is $22.50, and $22.50 Γ· $45 = 0.50, or a 50% markup. Many retailers think in markup terms because they start from a known cost and decide how much to add, which feels intuitive at the point of purchasing inventory.

Converting between margin and markup

Because the two measures describe the same transaction, you can convert directly between them without knowing the underlying dollar amounts. These formulas are handy for quick mental checks:

Markup = Margin Γ· (1 βˆ’ Margin)

Margin = Markup Γ· (1 + Markup)

For example, a 25% margin converts to a markup of 0.25 Γ· 0.75 = 0.333, or 33.3%. A 100% markup converts to a margin of 1.00 Γ· 2.00 = 0.50, or 50%. Keeping a short conversion table near your pricing sheet prevents costly mistakes when a supplier and a customer use different conventions.

Why the distinction matters for pricing

Imagine you want to earn a 40% gross margin but you mistakenly apply a 40% markup. On a $60 cost, a 40% markup yields a price of $84 and a profit of $24, which is only a 28.6% margin. You have left more than 11 percentage points of margin on the table on every sale. For a business doing $1 million in revenue, that kind of error can represent six figures of lost profit annually.

The opposite mistake is just as dangerous in reverse. If a procurement team negotiates based on margin but your accounting reports markup, you may believe a deal is more profitable than it actually is. Standardising on one definition across your organisation, and clearly labelling which one you use, removes a whole class of avoidable errors.

Typical margins and markups by industry

There is no universally correct number; healthy margins vary enormously by sector. Grocery stores operate on razor-thin margins of just a few percent and rely on volume. Restaurants often apply markups of 200% to 300% on food and far more on beverages to cover labour and waste. Software and digital products can sustain margins above 80% because the marginal cost of each additional unit is close to zero. Jewellery and fashion frequently use keystone pricing, a 100% markup that doubles the cost to set the retail price.

When benchmarking, always confirm whether a figure you read is a margin or a markup. A claim that a category "runs at 50%" means something very different depending on which metric the author had in mind. Running your own numbers through the margin calculator lets you translate any quoted figure into both forms so you can compare like with like.

Common mistakes to avoid

The first mistake is treating margin and markup as interchangeable, which we have already covered. The second is forgetting that gross margin ignores operating costs; a healthy gross margin can still leave you unprofitable if overheads are high. The third is applying a single blanket markup across products with very different cost structures, which can leave low-cost items underpriced and high-cost items uncompetitive. The fourth is ignoring shipping, payment processing fees, and returns, all of which eat into the margin you think you are earning. Build these into your cost figure before you calculate, not afterward.

Gross margin vs net margin vs operating margin

When people say "margin" in everyday pricing talk, they usually mean gross margin. But a business actually tracks several distinct margins, each measured at a different point in the income statement. Confusing them leads to dangerously optimistic decisions, because a healthy gross margin can still hide a loss-making company once all costs are counted.

Gross margin is revenue minus the cost of goods sold, divided by revenue. It tells you how much of each sale survives after the direct cost of producing the product. Operating margin goes further, subtracting operating expenses such as rent, salaries and marketing, which reveals how efficiently the core business runs. Net margin is the final word: it subtracts everything, including interest and tax, to show the true profit that reaches the owner.

Margin typeStarts fromSubtractsAnswers
Gross marginRevenueCost of goods soldIs the product priced above its direct cost?
Operating marginGross profitOperating expensesDoes the core business run efficiently?
Net marginOperating profitInterest and taxWhat profit actually remains?

A retailer might show a 50% gross margin, a 12% operating margin, and a 6% net margin. Each is correct, but only the net margin reflects what the owner keeps. When you set prices using markup or gross margin, always sanity-check that the resulting gross margin is large enough to cover operating costs and still leave a positive net margin.

The margin-markup confusion that bankrupts businesses

The single most expensive mistake in small-business pricing is applying a markup percentage but believing you have earned that same percentage as margin. They are never equal, and the gap widens as percentages rise. A shop owner who buys an item for 60 and wants a "40% profit" might add 40% markup, selling at 84. But the actual margin on that sale is only 28.6%, not 40%. Over thousands of transactions, that 11-point illusion can be the difference between profit and insolvency.

The danger is worse at the extremes. A 100% markup feels enormous but yields only a 50% margin. To achieve a true 60% margin, you need a 150% markup. Owners who set a target margin in their head but execute it as a markup chronically underprice and slowly drain their cash reserves while believing they are profitable.

Markup appliedActual margin earnedShortfall vs assuming equal
25%20.0%5.0 points
50%33.3%16.7 points
100%50.0%50.0 points
150%60.0%90.0 points

The defence is simple discipline: decide whether your target is a margin or a markup, write it down, and convert deliberately rather than assuming. Our margin calculator lets you enter cost and either target to see the price, the margin and the markup side by side so the gap can never sneak up on you.

Pricing strategies built on margin thinking

Margin is not just a number you report after the fact; it is the engine of several deliberate pricing strategies. Choosing the right one depends on your market, your costs and your brand position.

Whichever strategy you pick, margin is the lens that tells you whether it is sustainable. A clever price that produces a margin too thin to cover overhead is not clever; it is a slow loss.

Margin and discounting: the hidden volume trap

Discounts attack margin directly, and the damage is rarely intuitive. Cutting price by a small percentage can wipe out a large share of profit because the discount comes entirely out of the margin, not the cost. Understanding this prevents the common error of "we'll make it up in volume" when the maths makes that impossible.

Suppose you sell an item at a 30% margin. If you offer a 10% discount, you do not lose 10% of profit; you lose roughly a third of it, because the discount is a large slice of the thinner margin. To break even on that discount, you must sell substantially more units, sometimes 50% more or beyond, just to earn the same total profit you had before.

Original marginDiscount givenExtra volume needed to break even
20%10%+100%
30%10%+50%
40%10%+33%
50%10%+25%

The lower your starting margin, the more punishing a discount becomes. A business running on 20% margins must double its unit sales just to offset a 10% discount, an almost impossible feat. This is why thin-margin businesses guard against discounting and why high-margin businesses can run promotions freely.

US and UK considerations: VAT, sales tax and margin

Margin maths gets a regional twist once consumption taxes enter the picture, and mixing tax-inclusive and tax-exclusive figures is a frequent source of error for businesses trading across the Atlantic.

In the United States, sales tax is added at the point of sale and shown on top of the displayed price. Because the tax is collected on behalf of the state and passed straight through, it does not form part of your revenue or your margin. You calculate margin on the pre-tax selling price.

In the United Kingdom, VAT is typically included in the displayed retail price. A UK shop quoting a price to consumers is usually quoting a VAT-inclusive figure. To calculate true margin, a VAT-registered business must strip out the VAT first, because that portion is owed to HMRC and is not the seller's income. Forgetting to remove VAT inflates apparent revenue and overstates margin, leading owners to believe they are more profitable than they are.

Getting the tax treatment right is not pedantry; it changes the margin figure materially and therefore changes every pricing decision built on top of it.

Contribution margin and break-even analysis

Gross margin tells you about a single sale, but contribution margin tells you how each sale helps cover your fixed costs and march toward profit. It is the selling price minus the variable costs of that unit, the costs that rise and fall with volume. What remains contributes first to paying off fixed costs such as rent and salaries, and only after those are covered does it become profit.

This concept powers break-even analysis, one of the most useful tools a business owner can master. The break-even point is the number of units you must sell so that total contribution exactly equals total fixed costs. Below it you lose money; above it you profit. The formula divides total fixed costs by the contribution margin per unit.

FigureValue
Selling price per unitΒ£50
Variable cost per unitΒ£30
Contribution margin per unitΒ£20
Fixed costs per monthΒ£8,000
Break-even volume400 units

Here every unit contributes Β£20, so 400 units cover the Β£8,000 of fixed costs exactly. Unit number 401 begins generating real profit. Notice that a higher contribution margin lowers the break-even point dramatically, which is why protecting margin matters even more for businesses carrying heavy fixed costs.

Using margin to evaluate suppliers and product lines

Margin is not only a pricing tool; it is a diagnostic lens for deciding which products to keep, which suppliers to back, and where to focus your energy. A common and costly habit is judging products by their revenue or popularity rather than the profit they actually contribute.

Consider a shop with two best-sellers. Product A sells in huge volume but at a 12% margin, while Product B sells modestly at a 55% margin. Ranked by revenue, A looks like the star. Ranked by profit contribution, B may quietly out-earn it while tying up far less inventory and shelf space. Margin analysis surfaces these hidden truths and stops you from over-investing in busy but barely profitable lines.

Reviewing margin product by product at least quarterly turns pricing from a set-and-forget chore into an active source of profit. The discipline of measuring true margin, converting cleanly between margin and markup, and accounting for tax is what separates businesses that grow profitably from those that grow themselves broke.

Margin and markup in service and labour businesses

Most explanations of margin and markup assume you are selling a physical product with a clear cost of goods, but a huge share of the economy sells time, expertise, and labour instead. For consultancies, agencies, tradespeople, and freelancers, the "cost" is largely the loaded cost of an employee or your own billable hours, and getting the markup right is what keeps the business solvent. The principle is identical, but the cost base looks very different, and ignoring overhead is the classic way service firms underprice themselves into trouble.

The starting point is the fully loaded cost of an hour of work, which is far more than the wage paid. It includes payroll taxes, benefits, software, insurance, office costs, and the unbillable hours spent on admin and sales. A tradesperson billing a customer must also recover van costs, tools, and travel time. Only once this loaded cost is known can a sensible markup be applied to reach a billing rate that produces a healthy margin after every real expense is counted.

ComponentExample hourly figure
Base wageΒ£20
Taxes, benefits, insuranceΒ£8
Overhead share (tools, office, software)Β£7
Loaded cost per billable hourΒ£35
Billing rate at 60% markupΒ£56
Resulting margin37.5%

Notice again that the 60 percent markup produces only a 37.5 percent margin, the same trap that catches product sellers. Service businesses that bill at "cost plus a bit" without loading overhead almost always discover their true margin is thin or negative. Run your loaded cost and target through our margin calculator to set a billing rate that genuinely covers everything and still leaves profit.

Margin in subscription and SaaS businesses

Subscription and software businesses calculate margin in a way that surprises people coming from retail, because the cost structure is dominated by fixed and recurring costs rather than per-unit goods. The headline figure here is gross margin on recurring revenue, and healthy software companies routinely run gross margins of 70 to 90 percent because the cost of serving one more customer is tiny once the product exists. The real economics, though, live in two other numbers: customer acquisition cost and lifetime value.

Gross margin in SaaS is monthly recurring revenue minus the cost of delivering the service, which means hosting, support, and payment processing, divided by that revenue. But a subscription business only profits if the lifetime value of a customer, itself a function of gross margin and how long customers stay, comfortably exceeds what it costs to acquire them. A common benchmark is that lifetime value should be at least three times acquisition cost. A high gross margin is wasted if churn is high or acquisition is expensive, so margin must always be read alongside retention.

The lesson for any recurring-revenue business is that a strong margin per subscription is necessary but not sufficient. Reducing churn lengthens the lifetime over which that margin is earned, which often improves profitability far more than squeezing another point of margin out of each monthly bill.

How currency and exchange rates erode margin

Any business that buys or sells across borders carries a hidden risk to its margin that has nothing to do with pricing skill: the exchange rate. A UK retailer importing goods priced in US dollars, or a US firm sourcing from a euro-denominated supplier, locks in a selling price in their home currency but pays a cost that floats with the foreign exchange market. If the home currency weakens between agreeing a price and paying the supplier, the cost rises and the margin quietly shrinks, sometimes wiping out the entire planned profit.

The danger is that pricing decisions are usually made weeks or months before the cash actually changes hands. A product priced for a comfortable 35 percent margin at one exchange rate can slip to a painful 25 percent if the currency moves five or ten percent against you in the meantime. Add the foreign exchange conversion fees and card charges that banks levy on every cross-border transaction, and the gap between expected and realised margin widens further. Businesses that import regularly therefore treat exchange-rate risk as a core part of margin management, not an afterthought.

ScenarioCost in home currencyResulting margin on a Β£100 sale
Rate as plannedΒ£6535%
Home currency weakens 8%Β£7030%
Weakens 8% plus 2% FX feesΒ£7228%

There are practical defences. Some businesses agree fixed-rate forward contracts with their bank to lock in a known cost, others build a currency buffer into their target margin so a modest adverse move still leaves a profit, and many simply review prices more frequently when exchange rates are volatile. The common thread is awareness: a margin calculated on today's exchange rate is only a forecast, and the disciplined importer always asks what that margin becomes if the currency moves against them before the bill is paid.

Frequently asked questions

Is margin or markup higher for the same sale?

Markup is always higher than margin for the same profitable transaction. This is because markup divides profit by the smaller cost figure, while margin divides the same profit by the larger selling price. For instance, a $40 profit on a $60 cost item sold for $100 is a 40% margin but a 66.7% markup.

How do I calculate gross margin from cost and price?

Subtract the cost from the selling price to get gross profit, then divide that profit by the selling price and multiply by 100. With a $45 cost and a $75 price, gross profit is $30, and $30 divided by $75 equals 0.40, or a 40% gross margin.

What is the markup formula?

The markup formula is (Selling price βˆ’ Cost) Γ· Cost Γ— 100. It expresses profit as a percentage of the cost. A $30 profit on a $45 cost gives a markup of 66.7%, since $30 divided by $45 is 0.667.

What does a 100% markup mean?

A 100% markup means you doubled your cost to set the selling price, also known as keystone pricing. A 100% markup is equivalent to a 50% profit margin, because half of the selling price is profit and half is cost.

How do I convert markup to margin?

Divide the markup (as a decimal) by one plus the markup. A 50% markup converts to 0.50 Γ· 1.50, which equals 0.333 or a 33.3% margin. You can also use our margin calculator to convert instantly in either direction.

Why does mixing up margin and markup lose money?

If you intend a 40% margin but apply a 40% markup, you charge less than planned and earn a smaller margin of about 28.6%. Repeated across many sales, this systematic underpricing can cost a business a substantial share of its profit over a year.

Have a question, a correction, or a calculator request? Contact our editorial team — we usually reply within a day.