Markup and margin both describe the profit on a sale, but they divide by different numbers. Mixing them up is one of the most common pricing mistakes in small business, and it quietly eats your profit.
The short answer
- Margin is profit as a share of the selling price.
- Markup is profit as a share of the cost.
Both Shopify and Xero use these definitions.
The formulas
- Profit = price minus cost
- Margin = profit ÷ price × 100
- Markup = profit ÷ cost × 100
A rand example (made-up numbers)
A box of cupcakes costs R85 to make and sells for R180.
- Profit = R180 minus R85 = R95
- Margin = R95 ÷ R180 = about 53%
- Markup = R95 ÷ R85 = about 112%
Same sale, same R95 profit, two very different percentages. That's why you must always say which one you mean.
The classic mistake
Say you want a 50% margin, so you add 50% to your cost:
- Cost R100, add 50%: price R150
- Profit R50
- Margin = R50 ÷ R150 = about 33%
You wanted half the price to be profit, but you only got a third. Xero's example shows the same thing: a 50% markup gives a 33.3% margin.
How to price for the margin you want
Use this formula instead:
Price = cost ÷ (1 minus the margin you want)
For a 50% margin on a R100 cost: R100 ÷ 0.5 = R200. For a 40% margin: R100 ÷ 0.6 = about R167. Shopify gives the same formula.
Quick conversion table
| Markup | Margin |
|---|---|
| 25% | 20% |
| 50% | 33% |
| 100% | 50% |
| 150% | 60% |
| 200% | 67% |
Which one should I use?
Use markup when you're working out a price from your cost. Use margin when you're checking how much of each sale you keep, or comparing products. Many retailers quote markup; most money conversations, like with a bank, use margin.
Remember your fixed costs
Margin on each sale isn't the whole story. Your monthly fixed costs, like data, rent and marketing, also need covering. That's what break-even tells you. The SBA lists break-even analysis as a key reason to calculate your startup costs.
Let AI check your sums
My cost per item is R[cost] and my price is R[price]. Work out my profit, margin and markup, and show the sums. Then tell me the price for a 50% margin.
Always check the answer yourself. AI can slip on maths. You can also test an idea with our business viability calculator, and take the free quick test if you're still choosing what to sell.
Learn this step by step
Our course Start your business with AI takes you from idea to first customers, with AI helping at each step: your customer, costs, pricing, suppliers, a one-page plan, cash flow, a name and logo, WhatsApp and Google, marketing and records. The examples match your quiz result, there are worksheets that do the sums, and the first lesson is free. New to AI? Start with our free AI for beginners series.
Questions people ask
Is a 50% markup the same as a 50% margin?
No. A 50% markup gives about a 33% margin. To get a 50% margin you need a 100% markup.
What is a good profit margin for a small business?
It depends on what you sell and your fixed costs. Work out your break-even to see what margin you need.
How do I calculate markup from margin?
Markup = margin ÷ (1 minus margin). For a 40% margin: 0.4 ÷ 0.6 = about 67% markup.
Should I include delivery and packaging in my cost?
Yes. Every cost that comes with each sale belongs in your cost before you work out margin or markup.
Free tools for this
Sources (4)
Share this guide
New here? Start with how to make money online in South Africa.