Gross margin is gross profit as a percentage of revenue. Markup is gross profit as a percentage of cost of sales. The gross profit is the same in both, so the only thing that changes is the number you divide by.
This skill sits at the start of ratios and interpretation. It also returns in pricing questions and in using a stated margin or markup in incomplete records.
What is the difference in plain terms?
Margin asks, “Out of every RM100 we sell, how much is gross profit?” Markup asks, “On every RM100 we spent buying the goods, how much did we add on top?”
The base is what separates them. Margin uses revenue as the base. Markup uses cost of sales as the base.
| Measure | Formula | Base |
|---|---|---|
| Gross margin | gross profit ÷ revenue × 100 | selling price |
| Markup | gross profit ÷ cost of sales × 100 | cost price |
Because revenue is bigger than cost of sales, the margin is always the smaller percentage for the same sale.
Worked example
Sari Stationery, a fictional shop, had revenue of RM50,000 and cost of sales of RM30,000 for the year.
Step 1, find the gross profit: 50,000 − 30,000 = RM20,000.
Step 2, gross margin: 20,000 ÷ 50,000 × 100 = 40%.
Step 3, markup: 20,000 ÷ 30,000 × 100 = 66.7% (to one decimal place).
Step 4, check both: a markup of 66.7% on RM30,000 adds about RM20,000, giving revenue of RM50,000. A margin of 40% of RM50,000 is RM20,000, and 50,000 − 20,000 = 30,000 matches the cost of sales.
One sale, one gross profit, two correct percentages. The question’s wording decides which one you report.
Starting from a markup
Suppose a pen costs RM80 and the shop adds 25% markup.
Selling price = 80 × 1.25 = RM100. Gross profit = RM20. Margin = 20 ÷ 100 × 100 = 20%.
So a 25% markup is the same pricing decision as a 20% margin. Neither figure is wrong. They answer different questions.
The mistake to watch for
Mistaken answer: “Revenue RM50,000, cost of sales RM30,000, so the gross margin is 20,000 ÷ 30,000 = 66.7%.”
The student divided by cost of sales, which is the markup base, and then named the result margin.
The correction is to write the denominator in words before dividing. For margin, say ”÷ revenue”. For markup, say ”÷ cost of sales”.
If your margin ever comes out above 100% on a profitable business, you used the wrong base.
Check yourself
1. An item cost RM60 and sold for RM90. Find the gross margin and the markup.
Show answer
Gross profit = 90 − 60 = RM30. Margin = 30 ÷ 90 × 100 = 33.3%. Markup = 30 ÷ 60 × 100 = 50%.
2. A trader applies a 50% markup to goods costing RM200. Find the selling price and the gross margin.
Show answer
Selling price = 200 × 1.5 = RM300. Gross profit = RM100. Margin = 100 ÷ 300 × 100 = 33.3%.
3. A trader wants a 20% gross margin on sales of RM250. Find the cost of sales and the markup.
Show answer
Gross profit = 20% of 250 = RM50. Cost of sales = 250 − 50 = RM200. Markup = 50 ÷ 200 × 100 = 25%.
Where this leads next
Once the two bases are clear, move to calculating liquidity with compatible definitions, then test yourself on the ratios and interpretation practice set. The percentage-base explorer shows how the same amount gives different percentages on different bases.
Students often understand the formulas but lose marks when wording hides which base is wanted. A teacher in online one-to-one Accounting tuition can work through your own past mistakes with you.