Home / Free tools / Pricing

Markup and profit margin calculator

Markup and margin are not the same number, and mixing them up quietly eats your profit. Put in what you know and see the price, the profit and the VAT.

What do you know?
Selling price (excl. VAT)
After discount
Shelf price incl. 15% VAT
Gross profit per item
Gross profit a month
0%markup (profit ÷ cost)
0%margin (profit ÷ price)
0units to sell to cover your monthly costs

Short answer

Markup is profit as a percentage of cost; margin is profit as a percentage of the selling price. An item that costs R100 and sells for R150 has a 50% markup but only a 33.3% margin. To hit a target margin, divide cost by (1 − margin): for a 40% margin on a R100 item, the price is R100 ÷ 0.6 = R166.67. If you're VAT registered, add 15% on top for the shelf price.

Markup vs margin: the difference that costs owners money

MarkupEquals a margin ofR100 item sells for
20%16.7%R120
25%20.0%R125
33.3%25.0%R133.33
50%33.3%R150
66.7%40.0%R166.67
100%50.0%R200
150%60.0%R250
Margin = markup ÷ (1 + markup). Markup = margin ÷ (1 − margin).

The classic mistake: you want a 30% margin, so you add 30% to cost. That's a 30% markup, which is only a 23% margin. Over a year of sales, that gap is real money.

How to set a price that pays

  1. Know your true costInclude delivery, packaging, card fees and breakage, not just the supplier price.
  2. Pick a target margin, not a markupMargin tells you how much of every sale you keep. Gross margins vary a lot by sector, often somewhere between 20% and 50% for retail; services usually need more.
  3. Price from the marginPrice = cost ÷ (1 − margin). The calculator does it.
  4. Check what discounts doA 10% discount on a 33% margin item removes almost a third of your profit.
  5. Add VAT lastIf you're VAT registered, add 15% to the selling price for the shelf. VAT isn't your money.

Questions people ask

How do I calculate a selling price from cost and margin?

Divide the cost by one minus the margin. For a 40% margin on a R60 cost: R60 ÷ 0.6 = R100.

What is a good profit margin for a small business?

It depends on the industry and there's no single right number. Retail gross margins are commonly somewhere between 20% and 50%, while services and software can run much higher. What matters is that gross profit covers your monthly costs with room to spare.

Is markup the same as gross profit?

No. Gross profit is a rand amount (price minus cost). Markup and margin are both percentages of it: markup against cost, margin against price.

Should I include VAT when calculating margin?

If you're VAT registered, no: work out margin on prices excluding VAT, because the VAT you collect is paid over to SARS and the VAT you pay suppliers is claimed back. If you're not VAT registered, the VAT on your supplier invoices is part of your cost, so use the full amount you paid.

Sources

  1. Formulas: margin = (price − cost) ÷ price; markup = (price − cost) ÷ cost; price for a target margin = cost ÷ (1 − margin).
  2. SARS, Value-Added Tax (input and output VAT for registered vendors).

Want pricing that updates itself when costs change?

We build quoting and stock systems that apply your margins automatically when supplier prices move, so you never sell at yesterday's price.

Our promise: you own what we build: code, data, domain and logins. Leave any time, take it all. We reply within 3 days.

Tell us what you need