Margin and markup calculator
Short answer
Updated · by Timo van Deventer, Senior AI Product Specialist
Your products stay in your browser, saved on this device only.
Result
- Margin
- –
- Markup
- –
- Profit each
- –
- Price excl. VAT
- –
- Price incl. VAT (15%)
- –
Type a cost and a price to see the sum, like Margin: (R150 − R100) ÷ R150 = 33.3%.
Free, no email needed. The CSV opens in Excel or Google Sheets.
Get an Excel price list you can reprice
Enter your email and your products download straight away as an Excel price list with live formulas: cost, markup %, price excluding VAT, VAT, price including VAT and margin %. Change a cost or a markup and the row reprices itself.
Margin vs markup
Both start from the same profit: the selling price minus the cost. Margin divides that profit by the selling price; markup divides it by the cost.
The margin here is the gross profit margin, sometimes called GP margin: the profit on the item itself, before rent, wages and other overheads. Net profit margin takes those off too, so it needs your whole business's figures.
- Margin = (price − cost) ÷ price. R100 cost, R150 price: R50 ÷ R150 = 33.3%.
- Markup = (price − cost) ÷ cost. The same sale: R50 ÷ R100 = 50%.
- Margin to markup: markup = margin ÷ (1 − margin). 30% ÷ 0.7 = 42.9%.
- Markup to margin: margin = markup ÷ (1 + markup). 50% ÷ 1.5 = 33.3%.
| Margin | Markup | Price on a R100 cost |
|---|---|---|
| 20% | 25% | R125 |
| 25% | 33.3% | R133.33 |
| 30% | 42.9% | R142.86 |
| 40% | 66.7% | R166.67 |
| 50% | 100% | R200 |
For a profit, the margin is always the smaller number, and it can never reach 100%: that would need a cost of zero.
How to price for a target margin
- Start from the cost of one item, excluding VAT.
- Divide it by 1 minus your target margin: for a 30% margin, divide by 0.7.
- If you're registered for VAT, add 15% to the result for the price your customer pays.
Example: a R100 cost at a 30% margin: R100 ÷ 0.7 = R142.86 excluding VAT. Including VAT: R142.86 × 1.15 = R164.29. Check: (R142.86 − R100) ÷ R142.86 = 30%.
Adding 30% to the cost gives a 30% markup instead: R130, a 23.1% margin.
How to calculate markup
To calculate markup from a cost and a selling price, both excluding VAT:
- Subtract the cost from the selling price to get the profit.
- Divide the profit by the cost.
- Multiply by 100 for the markup as a percentage.
Example: a R60 cost and a R100 price. R100 − R60 = R40 profit, and R40 ÷ R60 = 66.7% markup.
To go the other way, from a markup to a price, multiply the cost by 1 plus the markup: a 30% markup on R60 is R60 × 1.3 = R78. To get back to the cost, divide: R78 ÷ 1.3 = R60. Choose Markup above and the calculator does this for every product.
A markup is sometimes given as a multiplier instead of a percentage. A price of 2.5 times the cost is a 150% markup: the extra 1.5 times the cost is the profit.
| Markup | Margin | Price on a R100 cost |
|---|---|---|
| 25% | 20% | R125 |
| 33.3% | 25% | R133.33 |
| 50% | 33.3% | R150 |
| 66.7% | 40% | R166.67 |
| 100% | 50% | R200 |
A markup can go past 100%: doubling the cost is a 100% markup. A margin can't reach 100%.
Margin and VAT
Work out margin on prices excluding VAT. If you're VAT-registered, the VAT you charge goes to SARS, less the VAT you paid your suppliers (SARS VAT 404, important principle 3), so neither is part of your profit.
- Both amounts including VAT: the percentage comes out the same, but the profit in rand is 15% too high. R115 and R172.50 look like a R57.50 profit; it's R50.
- A cost excluding VAT against a price including VAT: the margin comes out too high. R100 against R172.50 looks like 42%; it's 33.3%.
Don't mark up a price that already includes VAT and then add VAT again. R115 × 1.5 = R172.50, and adding 15% gives R198.37: VAT on top of VAT. Mark up the R100 cost excluding VAT instead: R150, or R172.50 with VAT.
Tick My amounts include VAT above and the calculator takes VAT off both amounts first, then shows the selling price with and without VAT. If you're not registered for VAT, you don't charge it, so leave the box unticked and type what you paid.
When to use markup vs margin
- Markup is usually easier when you start from a cost, such as a supplier's price or the materials and labour in a quote. One multiplication gives the price, and you can use the same markup on every item.
- Margin is usually easier when you start from your sales. It shows how much of each rand you take you keep, which makes it handy for comparing products and for a range as a whole: add your products above for the blended margin.
- Say which one you mean. On a R100 cost, a 30% markup is R130 and a 30% margin is R142.86.
Common mistakes
- Adding the margin to the cost. R100 + 30% = R130 is a 23.1% margin, not 30%. For 30%, divide by 0.7 instead.
- Dividing by the wrong number. Profit ÷ price is margin; profit ÷ cost is markup. Say which one you mean when you quote a percentage.
- Leaving VAT in. A margin on a price including VAT looks better than it is. See Margin and VAT above.
- Averaging margins across products. One product sells for R10 at a 50% margin, another for R100 at 10%. The average of the two is 30%, but together they make R15 on R110: 13.6%. Add your products above to see the blended margin.
- Aiming for 100% or more. A margin can't reach 100%. If you want to double the cost, that's a 100% markup, which is a 50% margin.
Send quotes your clients accept on WhatsApp
With Kwalify your client gets the quote on WhatsApp, accepts it, signs on their phone and pays the deposit.
Margin and markup questions
What is the formula for calculating margin?
Is a 30% markup the same as a 30% margin?
How do I calculate a 40% gross margin?
Is margin calculated on cost price or selling price?
How do I work out the cost from a price and a markup?
How do I calculate my markup?
How do I add a 50% markup?
What is a 2.5 markup in percentage?
What is the margin on a 20% markup?
Is 30% a good markup?
This is general information, not financial or tax advice.
Related tools
- VAT calculator Add or remove VAT, or add up several amounts at once.
- Quote maker Make a quotation with VAT and download it as a PDF.
- Invoice generator An invoice or tax invoice with your logo and numbering, as a PDF.
- Share certificate generator A share certificate with everything the Companies Act requires, as a PDF.
- Signature generator Draw, type or upload your signature and download a transparent PNG.
- Receipt maker A receipt for a payment you received, as a PDF.