Guide 06 · Pricing & Profit

Margin vs Markup: A Worked Example

Margin divides the difference between selling price and the chosen cost by selling price. Markup divides that same difference by cost. The denominators differ, so the percentages are not interchangeable.

By How Businesses Win · Published · 4 min read

Always name the cost you are using. A product's purchase cost, cost of goods sold and total variable cost can be different amounts. A correct percentage with an unclear cost label is still a poor decision tool.

Follow one fictional product

A shop buys a desk accessory for $60 and sells it for $100. Ignore other costs for this first calculation. The difference is $40.

Calculation Arithmetic Result
Margin on this cost basis ($100 − $60) / $100 40%
Markup on this cost basis ($100 − $60) / $60 66.67%

Both describe the same $40 difference. Neither says the shop keeps $40 as net profit. Payment fees, fulfillment, returns, salaries and other costs may remain to be paid or allocated.

For a gross-margin calculation, use the relevant revenue and cost-of-goods-sold definitions. For a contribution calculation, include the variable costs attributable to the sale. The two can differ because accounting classification and cost behavior answer different questions.

What happens if the percentages are swapped?

Suppose someone wants a 40% margin on a $60 cost but simply adds a 40% markup. The price becomes $60 × 1.40 = $84. The difference is $24 and the margin is $24 / $84 = 28.57%, not 40%.

To obtain a 40% margin on that cost basis, solve price × (1 − 0.40) = $60. Price is $60 / 0.60 = $100. The equation sets a cost-based target; it does not establish that customers will buy at $100.

A spreadsheet should label the denominator, not just the column “margin.” If a team sends a quote using markup while management evaluates margin, the misunderstanding can recur without any arithmetic error in either sheet.

Converting the two ratios

Using decimal ratios and a positive cost basis:

  • Margin = markup / (1 + markup).
  • Markup = margin / (1 − margin), where margin is below 100%.
  • Price for a target margin = cost / (1 − target margin).

A zero cost makes the usual markup ratio undefined. A 100% target margin cannot produce a finite price from a positive cost. Negative margins and prices below cost require careful interpretation rather than applying the conversion as a pricing recommendation.

Move from a ratio to the business result

If this fictional shop has another $5 of variable fulfillment and payment cost, unit contribution is $100 − $60 − $5 = $35. With 100 sales, total contribution is $3,500 before fixed costs. Calling the earlier $40 difference “profit” would overstate what those sales contribute.

Use the contribution guide to decide which costs belong in the calculation. Then test a price and volume together with the price calculator. A ratio alone cannot predict demand.

A quick audit you can do

Take one actual quotation. Write price, cost basis, dollar difference and both percentages on separate lines. Confirm that colleagues use the same definition. If a price changes, check the effect on total contribution and customer response, not just whether the target percentage was reached. Read how to test a price increase for that next step.

Sources and limits

OpenStax's contribution-margin explanation supports the underlying cost distinctions. All product amounts and ratio conversions here are original HBW arithmetic. The guide does not identify an optimal price or replace the business's accounting definitions.