Markup vs margin: how Malaysian SMEs should price products and services
Adding 30% to cost does not give you a 30% margin. Here is the difference between markup and margin, and how Malaysian businesses price without losing profit.

Markup is profit as a percentage of cost; margin is profit as a percentage of the selling price. An item costing RM100 and selling for RM150 has a 50% markup but a 33.3% margin. Malaysian SMEs that want a target margin should price at cost ÷ (1 − margin), then add SST on top if they are registered.
A Shah Alam workshop owner in Malaysia wants a 30% margin on parts, so he adds 30% to cost. At year end his accountant tells him the margin was 23%. Nothing went wrong in the workshop. The problem was the formula. Markup and margin are both described as "profit percentage", but they measure against different numbers, and mixing them up quietly takes profit out of every sale.
This guide explains the difference, how to convert one to the other, how to set a price for the margin you want, and how SST and discounts fit in, with RM examples throughout.
What is the difference between markup and margin?
Markup compares profit with what the item cost you. Margin compares profit with what you sold it for. Same ringgit of profit, different base.
Take a part that costs RM100 (harga kos) and sells for RM150 (harga jual). The profit is RM50.
| Item | RM |
|---|---|
| Cost | 100 |
| Selling price | 150 |
| Profit | 50 |
| Markup: 50 ÷ 100 | 50% |
| Margin: 50 ÷ 150 | 33.3% |
Markup is always the larger number. That is why it is risky to talk about "a 30% profit" without saying which one you mean. Your P&L reports margin (margin keuntungan); see profit margin explained for how gross and net margin work.
How do I convert markup to margin, and back?
Use two short formulas, with percentages written as decimals (25% = 0.25).
A 25% markup gives 0.25 ÷ 1.25 = 20% margin. A 40% target margin needs 0.40 ÷ 0.60 = 66.7% markup.
Most owners find a table easier:
| Markup on cost | Cost (RM) | Selling price (RM) | Margin on price |
|---|---|---|---|
| 20% | 100 | 120 | 16.7% |
| 25% | 100 | 125 | 20.0% |
| 33.3% | 100 | 133.33 | 25.0% |
| 50% | 100 | 150 | 33.3% |
| 66.7% | 100 | 166.67 | 40.0% |
| 100% | 100 | 200 | 50.0% |
| 150% | 100 | 250 | 60.0% |
Notice that doubling the cost (a 100% markup) gives only a 50% margin, and no markup ever reaches a 100% margin.
How do I set a selling price for the margin I want?
Divide the cost by one minus your target margin. This is the formula to keep on the wall.
Back to the Shah Alam workshop. A brake kit costs RM100 and the owner wants a 30% margin.
| Method | Calculation | Price (RM) | Actual margin |
|---|---|---|---|
| Add 30% to cost (the mistake) | 100 × 1.30 | 130.00 | 23.1% |
| Price for a 30% margin | 100 ÷ 0.70 | 142.86 | 30.0% |
The difference is RM12.86 on one kit. Across RM400,000 of parts sales a year, the gap between a 23% and a 30% margin is about RM28,000 of gross profit.
For services, "cost" is the direct cost of delivering the job: staff time at their full cost including EPF and SOCSO, subcontractors and materials. A Johor Bahru contractor who estimates RM20,000 of direct cost on a renovation and wants a 25% margin quotes RM20,000 ÷ 0.75 = RM26,667 before SST, not RM25,000.
What "cost" includes matters as much as the formula. Include freight, import duty, packaging and any purchase tax you can't recover. Our SST guide explains when SST paid on purchases becomes part of your cost.
How does SST fit into markup and margin in Malaysia?
Work out your price and your margin before SST, then add SST on top if you are registered. The tax you collect belongs to the Royal Malaysian Customs Department, not to you, so it is not revenue and it does not count towards your margin.
Customs rules for service tax invoices reflect this: a registered provider's invoice must show the amount payable excluding service tax, the rate, and the tax charged as a separate amount, along with the total including tax. Service tax is currently 8% for most taxable services and 6% for some, including food and beverage.
A Klang Valley IT consultancy, registered for service tax at 8%:
| Item | RM |
|---|---|
| Fee excluding SST (your revenue) | 5,000 |
| Service tax at 8% | 400 |
| Customer pays | 5,400 |
If the job cost RM3,500 to deliver, the margin is (5,000 − 3,500) ÷ 5,000 = 30%. Calculating on RM5,400 would show 35.2%, which overstates it.
If you set a price that already includes SST, take the tax out before working out margin. A café registered for service tax at 6% that charges RM15.90 for a set lunch, tax included, earns RM15.90 ÷ 1.06 = RM15.00. The remaining 90 sen is service tax owed to Customs.
Not sure whether you need to register or which rate applies? That depends on your activity and turnover; our SST guide covers the thresholds.
What does a discount do to my margin?
A discount comes straight out of profit, so it cuts margin by much more than the discount percentage suggests. You then need many more sales to earn the same gross profit.
Take an item that costs RM100 and sells for RM150 (a 33.3% margin), and a 10% discount:
| Item | Full price (RM) | 10% off (RM) |
|---|---|---|
| Selling price | 150.00 | 135.00 |
| Cost | 100.00 | 100.00 |
| Gross profit per unit | 50.00 | 35.00 |
| Margin | 33.3% | 25.9% |
A 10% discount cut profit per unit by 30%. To earn the same RM5,000 of gross profit, you would need to sell about 143 units instead of 100, a 43% increase. Before running a Hari Raya, Chinese New Year or year-end promotion, check that you expect the extra volume.
A few practical rules:
- Discount the high-margin items, not the ones already priced close to cost.
- Set a floor price below which staff can't discount without approval.
- Check margin after the promotion, not just sales.
How do I keep pricing consistent across quotes?
Write down your target margins by product or service type, build them into a price list, and price every quotation from that list rather than from memory. The mistakes above usually come from quoting in a hurry.
If quotations and invoices live in the same system, it is easier to check the margin before a quote goes out and to compare quoted margins with what you actually earned. In HumbleBear, an accepted quotation converts into the invoice, so the price you agreed is the price you bill.
To see how many sales your prices need to cover your fixed costs, use break-even analysis.
Frequently asked questions
Which is better to use, markup or margin?
Use margin when you set targets and read your results, because your P&L and your accountant report margin. Markup is fine as a pricing shortcut, as long as you convert it so the markup you add actually delivers the margin you want.
What markup do I need for a 50% margin?
A 100% markup. In other words, you sell at double your cost. An item costing RM40 needs to sell at RM80, before any SST, to give a 50% margin.
Is SST part of my selling price for margin purposes?
No. Calculate margin on the price excluding SST. Service tax or sales tax you charge is collected on behalf of Customs and paid over in your SST return, so it is not your income.
Why is my actual margin lower than the margin I priced for?
The usual causes are discounts, costs that weren't in your cost price (freight, wastage, rework, platform or payment fees), supplier price rises after you quoted, and pricing with markup when you meant margin. Compare quoted and actual margin job by job to find which one it is.
How do I calculate selling price from cost and margin?
Divide the cost by one minus the margin. For a RM60 cost and a 40% margin: RM60 ÷ 0.60 = RM100. Check: profit of RM40 divided by RM100 is 40%.


