Margin vs markup: the pricing mistake that eats profit
A percentage added to cost is not the same percentage retained from sales. That denominator mistake can quietly undermine a pricing plan.
By Dr. Hassan Khames EliwaLast updated

The percentage is incomplete without its denominator
Margin and markup both describe the relationship between cost, selling price, and profit. They are not interchangeable because they divide profit by different amounts.
Markup expresses profit as a percentage of cost. Margin expresses profit as a percentage of sales revenue. If a pricing instruction says only “add thirty percent,” you do not yet know whether it meets a thirty-percent margin target.
This is more than terminology. A business can sell every item at its intended markup and still miss its gross-margin budget because the budget used a different denominator.
Use our margin and markup calculator to check the relationship before setting a price list. Agree on the meaning of “cost” and “profit” first; otherwise, accurate arithmetic can still answer the wrong commercial question.
For the examples below, cost means the product cost included in the gross-profit calculation, and selling prices exclude sales tax.
The formulas that keep the distinction clear
Suppose a product costs $80 and sells for $120. Gross profit is $40.
The markup is $40 divided by $80, or 50%. The gross margin is $40 divided by $120, or approximately 33.33%.
Both percentages describe the same sale. Neither is wrong. Trouble starts when someone requests a margin and another person prices using markup.
For a positive cost and a selling price above cost, markup will be higher than margin. A margin cannot reach 100% under those conditions because some of the selling price must still cover the positive cost.
The denominator is the quickest sense check. Ask whether the percentage refers to the money spent or the revenue collected.
Why adding thirty percent does not produce thirty-percent margin
Take the same $80 cost and add a 30% markup. The resulting selling price is $104, with $24 of gross profit.
That profit is only approximately 23.08% of the selling price. If the operating plan assumed a 30% gross margin, the price has missed the target before any discount or unexpected expense occurs.
To calculate a selling price from a target margin, divide cost by one minus the target margin:
For an $80 cost and a 30% target margin, the unrounded price is $114.285714 and the displayed price is $114.29.
Rounding matters at the boundary. If a contract requires at least a specified margin, round and then check the actual resulting margin rather than assuming the displayed price preserves the exact target.
| Pricing instruction on an $80 cost | Selling price | Gross profit | Markup | Gross margin |
|---|---|---|---|---|
| Add 30% markup | $104.00 | $24.00 | 30.00% | 23.08% |
| Achieve 30% margin | $114.29 | $34.29 | 42.86% | 30.00% |
| Add 50% markup | $120.00 | $40.00 | 50.00% | 33.33% |
The middle row is displayed using a price rounded to cents; its percentages are rounded for presentation.
Translate between margin and markup
If a system stores markup while management reports margin, conversion prevents repeated guesswork.
Use decimal inputs in these formulas. For example, enter 0.50 for a 50% markup, not 50.
The conversion assumes the same cost and selling-price definitions on both sides. It will not reconcile one report that includes inbound freight with another that omits it.
Be especially careful when copying formulas between spreadsheets. A percentage-format cell may display a familiar number while storing a decimal. An extra division by one hundred can quietly corrupt the result.
Protect formula cells and test a known transaction before applying a revised pricing model across a catalog.
Discounts come out of profit, not cost
A customer discount reduces revenue while the product cost often stays unchanged. That makes the percentage effect on profit much larger than the headline discount suggests.
Return to the $120 selling price and $80 cost. A 10% discount lowers the selling price to $108. Gross profit falls from $40 to $28.
The price fell by 10%, but gross profit fell by 30%. Gross margin falls from approximately 33.33% to 25.93%.
Use our discount calculator to establish the reduced price, then recalculate margin using the unchanged cost. Do not subtract discount percentage points directly from margin percentage points.
To preserve the original total gross profit after this discount, the business would need approximately 42.86% more units, assuming unchanged unit costs and no additional selling costs. That is a demanding volume increase, not an automatic consequence of a promotion.
Check the cost base before trusting the percentage
A clean formula cannot fix incomplete cost data. Purchase price may be only part of what it takes to get a product ready for sale.
Depending on the accounting policy and business model, inventory cost can include relevant freight, duties, and other costs of bringing inventory to its present location and condition. IAS 2 provides the applicable inventory-cost framework for businesses reporting under IFRS.
Other costs may be selling expenses rather than inventory costs. Payment-processing charges, marketplace commissions, packaging, delivery subsidies, and returns can still matter to the commercial decision even when they sit outside reported gross profit.
Do not force every expense into product cost merely to create one all-purpose percentage. Instead, distinguish accounting gross margin from a contribution measure that includes relevant variable selling costs.
Write down both definitions. Otherwise, teams can disagree about profitability while each uses a perfectly correct calculation on a different cost base.
Gross margin is not net profit or ROI
A positive gross margin does not mean the business is profitable overall. Gross profit still has to support costs such as rent, administration, software, and other operating expenses.
A product can also have an attractive margin while tying up cash for too long. Slow inventory turnover, long customer payment terms, and stock losses can weaken the return on the money committed.
Our return on investment calculator addresses a different question: how the gain compares with the investment base. Define the investment and measurement period carefully before comparing opportunities.
Do not call gross margin “ROI.” Margin divides profit by revenue; ROI relates a defined return to a defined investment. The figures answer different questions and can move in different directions.
For pricing decisions, consider margin, contribution, expected volume, working capital, and capacity together.
Keep GST or VAT separate
Where a business collects GST or VAT on behalf of the tax authority, that collected amount is generally not its sales revenue. Calculating margin on a tax-inclusive customer receipt can therefore overstate profitability.
For a simple illustration, a $120 tax-exclusive sale with 10% tax produces a $132 customer payment. If the product cost is $80 on a consistent tax-exclusive basis, gross profit remains $40—not $52.
The recoverability of input tax matters. Nonrecoverable tax may form part of cost, while recoverable input tax is generally treated differently. Registration status and local rules can change the treatment.
Use our GST and VAT calculator to separate the tax arithmetic. Confirm the accounting treatment for your jurisdiction rather than assuming every tax-inclusive amount belongs in the margin calculation.
Make the pricing rule operational
A workable pricing policy specifies the cost base, tax basis, target metric, rounding rule, and approval process for exceptions.
It also defines what happens when supplier costs rise. Leaving prices unchanged while costs increase compresses margin even if the original markup formula was correct.
For promotions, calculate the discounted margin before launch and decide what commercial outcome justifies accepting it. Clearing obsolete inventory and attracting a first order are different objectives from maximizing current gross profit.
Finally, compare planned margins with actual transactions. Returns, rebates, negotiated discounts, and cost changes can make realized results different from the price-list model.
The useful control is simple: every percentage should have a named numerator, a named denominator, and a consistent cost definition.
Calculators used in this guide
Frequently asked questions
Is a fifty-percent markup the same as a fifty-percent margin?
No. A fifty-percent markup means profit is half the cost. A fifty-percent margin means profit is half the selling price. The second requires a higher selling price for the same cost.
How do I price for a target gross margin?
Divide the relevant unit cost by one minus the target margin expressed as a decimal. Then apply the rounding rule and recalculate the achieved margin.
Can markup exceed one hundred percent?
Yes. Markup can exceed one hundred percent because profit can exceed the underlying cost. Gross margin remains below one hundred percent when cost is positive and the sale price exceeds cost.
Should I calculate margin before or after VAT?
Usually use revenue excluding tax collected for the tax authority, with costs treated consistently. Input-tax recoverability and local rules matter, so confirm the appropriate accounting treatment.
Does a higher margin always mean a better product?
No. Volume, returns, selling costs, inventory turnover, payment terms, and capacity requirements also affect the commercial result. A high percentage on very little profitable volume may contribute less overall.
Sources and standards
About the author
Dr. Hassan Khames Eliwa holds a PhD in Construction & Built Environment and has more than 20 years of international project controls experience. He is Director of Eliwa Project Controls Limited in Auckland and founder of PMMilestone.org and PMMilestone.com.
Buy me a coffee