Short answer: Markup and margin use the same rand difference between a selling price and a cost, but divide it by different numbers. Markup = (price − cost) ÷ cost. Margin = (price − cost) ÷ price. If an item costs R120 and sells for R180, the R60 difference is a 50% markup but a 33.3% gross margin. Confusing the two can leave a South African shop charging less than it intended.
Use markup when you want to add a percentage to cost to set a price. Use gross margin when you want to know what share of sales remains after the product's direct cost. Neither number is the shop's net profit: rent, permanent staff, marketing and other expenses still have to be covered. This distinction is consistent with Sage South Africa's markup guide and Xero's margin-versus-markup explanation.
Markup vs margin: the formulas at a glance
| Measure | Formula | R120 cost, R180 price | What the percentage means |
|---|---|---|---|
| Gross profit per item | Price − cost | R60 | The rand amount left after the item's direct cost |
| Markup | (Price − cost) ÷ cost × 100 | 50% | R60 is half of the R120 cost |
| Gross margin | (Price − cost) ÷ price × 100 | 33.3% | R60 is one-third of the R180 sale |
For an item sold above its cost, markup is higher than margin because cost is the smaller denominator. A 50% markup does not mean that half the selling price remains. Sage's South African calculator uses the same two formulas; the worked figures here are chosen to make the difference easy to see at a till or in a spreadsheet.
What price gives you a target margin?
Suppose a Johannesburg homeware shop buys an item for R120, measured on a consistent VAT basis. The owner wants a 40% gross margin. The correct calculation is:
Selling price = cost ÷ (1 − target margin) = R120 ÷ (1 − 0.40) = R200.
At R200, gross profit is R80 and R80 ÷ R200 = 40%. If the owner mistakenly adds a 40% markup, the price is only R120 × 1.40 = R168. Gross profit is R48 and the actual gross margin is 28.6%. That is a R32 difference per item before other costs.
This does not mean 40% is the right target for every shop. The target has to reflect your product, demand, other costs and the amount needed to cover overhead. There is no useful universal “good margin” for a café, salon and clothing store alike.
| Target gross margin | Markup needed on cost | Price if cost is R120 |
|---|---|---|
| 20% | 25% | R150 |
| 33.3% | about 50% | about R180 |
| 40% | 66.7% | R200 |
| 50% | 100% | R240 |
The conversion is markup = margin ÷ (1 − margin), using the margin as a decimal. To go the other way, margin = markup ÷ (1 + markup). Always check the final rounded selling price again: a price adjusted to R199.99 will not deliver exactly the same percentage as R200.
How should a South African VAT vendor handle the calculation?
Use like-for-like figures. If you are a VAT vendor pricing a standard-rated product, calculate the margin using selling revenue and eligible stock cost excluding VAT, then work out the VAT-inclusive customer price. SARS lists the standard VAT rate as 15% and says VAT vendors must include VAT in advertised or quoted prices (SARS vendor obligations).
For the R120-cost item above, R200 excluding VAT × 1.15 = R230 including VAT on a standard-rated sale. R230 is the customer-facing price in this illustration. Do not compare R230 with an R120 cost excluding VAT and call the R110 difference gross profit; that would count output VAT as revenue.
If you are not VAT registered, you do not add a VAT line to your selling price. Use the cost you actually bear and the price you actually receive. Zero-rated or exempt supplies, and input VAT you cannot claim, need their own treatment. Check your records or accountant before using a single VAT assumption across mixed products.
Gross margin is not the cash left from an order
The R200 item with R120 direct stock cost has R80 gross profit and a 40% gross margin. Now suppose the shop also pays R15 in costs that arise only when this order happens, such as payment processing and packaging. Its contribution per order is R200 − R120 − R15 = R65, or 32.5% of the R200 selling price. That R65 still has to help pay fixed costs and, eventually, profit.
Keep the definitions separate. Product purchase or production costs belong in your chosen cost-of-goods calculation; order-level fees and fulfilment costs may be tracked separately to see contribution. Xero's South African profit guide distinguishes gross margin, which is before indirect costs, from net profit after the wider costs of running a business. Your accountant can help classify costs consistently across your reports.
This matters particularly for low-priced goods, deliveries and third-party marketplaces. A product can show an attractive gross margin while delivery subsidies, commissions or discounts leave little contribution. In our Black Friday planning guide, that is why we test contribution before advertising an offer.
What does a 20% discount do to margin?
Use the same R120-cost item at its planned R200 price excluding VAT. A 20% discount lowers the price to R160. The R40 gross profit is 25% margin (R40 ÷ R160). The discount is 20% of the price, but it cuts gross profit from R80 to R40: half the gross profit per item in this example. Any R15 per-order cost would leave only R25 contribution.
That does not make every discount a bad idea. A markdown may make sense for otherwise unsold stock or quiet capacity. It does mean the owner should calculate the new margin and contribution before claiming a promotion will pay for itself through volume.
Copy these formulas into a spreadsheet
Enter the figures for one item using a consistent VAT basis. Let A2 be selling price, B2 direct cost, C2 other variable cost per order, and D2 target margin entered as a percentage such as 40%.
| What to calculate | Spreadsheet formula |
|---|---|
| Gross profit in rand | =A2-B2 |
| Markup percentage | =(A2-B2)/B2 |
| Gross margin percentage | =(A2-B2)/A2 |
| Contribution in rand | =A2-B2-C2 |
| Contribution margin percentage | =(A2-B2-C2)/A2 |
| Price for target gross margin | =B2/(1-D2) |
| Price for target contribution margin | =(B2+C2)/(1-D2) |
Format the percentage results as percentages. These formulas require a positive price and cost, and a target margin below 100%. For a VAT vendor, convert the calculated net price to the appropriate customer-facing VAT-inclusive price where the supply is standard-rated, then check the margin after any practical price rounding.
Quick answers for merchants
Is 50% markup the same as 50% margin? No. A 50% markup means price is 1.5 times cost, which gives a 33.3% gross margin. A 50% gross margin requires price to be twice cost.
Is gross margin the same as net profit margin? No. Gross margin looks at revenue after direct product or service costs. Net profit margin is after the wider expenses of running the business. Know which one a supplier, POS report or adviser is quoting.
Which number should I use when setting a reward budget? Start with the contribution left after the sale's variable costs, then decide what the business can afford to spend on a return visit. A high markup alone does not prove a reward or campaign is affordable. If you want to measure whether customers actually return, use our repeat customer rate guide.
The useful habit is simple: calculate markup to set a starting price, margin to inspect the sale, and contribution to decide what you can spend to win or retain the customer.
Accounting definitions, SARS VAT rate and vendor guidance checked on 18 October 2026. Examples are illustrative and assume consistent cost classification and VAT treatment.
Cover photo: Jakub Zerdzicki / Pexels, used under the Pexels License.
