Picture a shopkeeper who wants a 30% profit on everything. The system is simple: take what the item cost, add 30%, and put that on the label. A product that costs KES 1,000 goes on the shelf at KES 1,300.
It feels right, and it's wrong. That item earns a 23% margin, not 30%. The gap looks small on one product. Across a whole shop, over a year, it adds up to a massive amount of money that was meant to be there but isn't.
Two words for two different things
Margin and markup both describe your profit, but they measure it against different things.
- Markup is your profit as a share of what the item cost you.
- Margin is your profit as a share of what you sold it for.
Sounds gimmicky? No worries, here's a further clarification:
Take something that costs KES 100 and sells for KES 150. Your profit is KES 50. Against the cost of 100, that's a 50% markup. However, if we are to calculate it against the selling price of 150, it's a 33.3% margin. Same item, same profit, two honest answers.
The margin is always the smaller of the two numbers, because you're dividing by a bigger one. Here are some common pairs:
| Markup | Margin |
|---|---|
| 25% | 20% |
| 50% | 33.3% |
| 100% | 50% |
To earn a 50% margin, you have to double the product cost, which is a 100% markup. People who add 50% and think they have a 50% margin are in for an unpleasant surprise. Here's a quick breakdown of the markup you need to attain the listed margin:
| Margin | Markup you need |
|---|---|
| 20% | 25% |
| 30% | 42.9% |
| 40% | 66.7% |
| 50% | 100% |
The 30% trap, worked out
Back to the item that cost KES 1,000.
Adding 30% gives a price of KES 1,300. Your profit is KES 300. As a share of the selling price, that is 300 ÷ 1,300, which is 23.1%. You wanted a 30% margin and got less than a quarter.
To really earn a 30% margin, the price has to be KES 1,000 ÷ 0.70, which is KES 1,428.57. Your profit is then KES 428.57, and 428.57 ÷ 1,428.57 is exactly 30%.
That's a difference of KES 128.57 on every single item. Sell a hundred of them and you've left KES 12,857 on the table without making a single mistake in your counting.
The sum for pricing from a margin
Here is the rule to keep: price = cost ÷ (1 − margin).
With a cost of KES 800 and a margin of 20%, the price is 800 ÷ (1 - 0.20) = 800 ÷ 0.8 = KES 1,000. With a cost of KES 850 and a margin of 30%, it's 850 ÷ 0.70 = KES 1,214.29.
If you'd rather think in markup, the rule is simpler: price = cost × (1 + markup). Both are fine. The trouble only starts when you use one and call it the other.
Our free profit margin calculator does this sum for you, and it also works in the costs we're about to get to.
The costs that quietly eat your margin
So far, we've ignored everything except the cost of the item. In real life, other things come out of each sale: payment fees, packaging, delivery, and sometimes VAT mixed into the price.
Say you buy an item for KES 850 and sell it for KES 1,200, plus 16% VAT. The customer pays KES 1,392. Your payment provider takes 2% of what the customer paid, which is KES 27.84, and packaging costs you KES 20.
| What you thought | What you really made | |
|---|---|---|
| Selling price (without VAT) | KES 1,200.00 | KES 1,200.00 |
| Buying price | KES 850.00 | KES 850.00 |
| Payment fee (2% of 1,392) | not counted | KES 27.84 |
| Packaging | not counted | KES 20.00 |
| Profit | KES 350.00 | KES 302.16 |
| Margin | 29.2% | 25.2% |
The profit that looked like KES 350 is really KES 302. The margin that looked like 29% is really 25%. Nothing went wrong. The costs were always there, and they were just never on the list.
VAT is not yours
One more version of this mistake is worth knowing about. If your price includes VAT and you work out the margin on the full amount, the number looks wonderful.
Using the same item: the customer pays KES 1,392. If you calculate (1,392 − 850) ÷ 1,392, you get 38.9%. It looks like a healthy margin.
But KES 192 of that price is VAT, and it was never yours. It is collected for the tax authority. Take it out, and the real sale is KES 1,200 and the real margin is 29.2%. The honest number is nearly ten points lower than the flattering one.
VAT rules differ from country to country, so check how it works for your business. The principle is the same everywhere: work out your margin on the price without it.
What a discount really costs
Discounts feel generous and cheap, because you're only giving up a little off the top. The profit tells a different story.
Say an item costs KES 700 and sells for KES 1,000. You make KES 300 on each, a 30% margin. Now you take 20% off. The price is KES 800, and your profit is KES 100. The margin has dropped from 30% to 12.5%.
A 20% discount cut your profit per item by two thirds. To make the same total profit as before, you now have to sell three times as many. For every 10 you used to sell, earning KES 3,000, you'd need to sell 30 to earn the same KES 3,000.
None of this means never discount. It means you should work out the numbers before you do it, so it's a decision and not a hope.
Round the price, then check the margin
Your sum might give KES 1,214.29, but nobody prices like that. You'll round it, and the direction matters.
Round up to KES 1,250 and your margin goes up: (1,250 − 850) ÷ 1,250 is 32%. Round down to KES 1,200 and it drops to 29.2%, below the 30% you were aiming for. Rounding down by a little on every product is another small leak.
The easiest habit is to round up to a number that looks sensible, then check what the margin has become.
Use your margin as a floor
There are a few ways to set a price: add a margin to your cost, match what others charge, or charge what the customer thinks it's worth. All of them are reasonable. But the first one is the safest place to start, because it tells you the lowest price that still works.
Work out that floor first. Then decide whether the market lets you charge more. If a competitor sells for less than your floor, you've learned something useful: either your costs are too high or that's a fight not worth having.
Check it again now and then
Prices drift out of date quietly. A supplier raises their price. Your payment fees change. You start offering delivery. Each one trims your margin a little, and none of them announces itself.
A good habit is to re-check your margins every few months, and always when a cost changes. It pairs well with working out what your stock is worth, because both are really asking whether your money is earning its place.
Final thoughts
The fix for all of this is small. Decide which word you're using, margin or markup, and use it consistently. Count the costs that are really there. And work out your price on purpose, instead of adding a round number and hoping.
If your pricing has always been "cost plus a bit", don't panic. Pick your five best sellers, work out their real margins, and see what you find. The numbers might be fine. If they aren't, you'll be glad you looked, and it's likely one of the signs your shop is quietly losing money.
Key takeaways
- Markup is profit on cost. Margin is profit on the selling price. The margin is always smaller.
- To get a given margin, use price = cost ÷ (1 − margin). Adding the same percentage to the cost falls short.
- Fees, packaging and VAT lower your real margin, so count them.
- Work out margin on the price without VAT.
- A discount cuts profit far more than it looks, and rounding down quietly costs you too.
