Skip to content

How to Calculate Profit Margin and Markup: Naira Examples for Shops

Learn how to calculate profit margin and markup with simple Naira examples, a conversion table and a pricing formula, so you know your shop's true profit.

By Ajinex Team · · 9 min read

In this article

Ask ten shop owners in Nigeria how to calculate profit margin and you will get ten different answers, and most of them are actually describing markup. The two numbers are related but they are not the same, and mixing them up is one of the quietest ways a business loses money.

Here is the short version. If you buy an item for ₦800 and sell it for ₦1,000, your profit is ₦200. Your markup is 25% (profit divided by cost). Your margin is 20% (profit divided by selling price). Same ₦200, two different percentages.

This guide walks through both with Naira examples, shows how to convert one to the other, explains gross versus net profit, and then tackles the harder questions: what is your real profit when buying prices keep changing, how do you price for the margin you want, and why do so many shops think they are profitable when they are not?

Markup versus margin: the basic formulas

Start with the three numbers every product has:

  • Cost price: what you paid the supplier for one unit, including transport to your shop.
  • Selling price: what the customer pays you.
  • Profit per unit: selling price minus cost price.

From those:

  • Markup = profit ÷ cost price × 100
  • Margin = profit ÷ selling price × 100

Worked example with a carton of noodles:

Item Amount
Cost price ₦800
Selling price ₦1,000
Profit per unit ₦200
Markup ₦200 ÷ ₦800 = 25%
Margin ₦200 ÷ ₦1,000 = 20%

Markup answers "how much did I add on top of my cost?" Margin answers "out of every ₦100 a customer pays me, how much do I keep?" Suppliers and market traders usually talk in markup. Accountants, banks and your profit and loss report talk in margin. Know which one someone means before you agree a price.

Converting markup to margin (and back)

Because markup is measured against cost and margin against selling price, markup is always the bigger number for the same product. The conversion formulas are:

  • Margin = markup ÷ (100 + markup) × 100
  • Markup = margin ÷ (100 - margin) × 100

Keep this table near the till:

Markup Margin
10% 9.1%
20% 16.7%
25% 20.0%
30% 23.1%
40% 28.6%
50% 33.3%
75% 42.9%
100% 50.0%
150% 60.0%

Notice how a 50% markup, which sounds generous, is only a 33% margin. A trader who "doubles the price" (100% markup) is keeping half of each sale, not all of it. A pharmacy adding 20% on top of cost is keeping under ₦17 of every ₦100.

Gross profit versus net profit

Margin on a single product tells you how good your buying and pricing are. It does not tell you whether the business makes money, because the shop has costs that no single product pays for.

  • Gross profit = total sales minus the cost of the goods you sold (COGS).
  • Net profit = gross profit minus all other expenses: rent, salaries, generator fuel and diesel, electricity, transport, POS terminal and bank charges, shop repairs, airtime, waste.

A month for a small provision store, as an illustration:

Line Amount
Sales ₦2,400,000
Cost of goods sold ₦1,920,000
Gross profit (20% margin) ₦480,000
Rent (₦600,000 a year ÷ 12) ₦50,000
Two staff ₦120,000
Fuel and electricity ₦60,000
Transport to market ₦25,000
POS and bank charges ₦15,000
Repairs, airtime, sundries ₦20,000
Net profit (roughly 7.9% margin) ₦190,000

The owner of this shop may feel they are "making 20%". They are keeping under ₦8 of every ₦100. If sales fall by a quarter in a slow month, gross profit drops to ₦360,000 and net profit to ₦70,000, before the owner has paid themselves anything. That is why net margin, not gross margin, is the number to watch.

Your true cost when buying prices keep changing

In Nigeria, you rarely buy the same item at the same price twice. The carton that cost ₦800 last month costs ₦900 this month, and you still have some of the old stock on the shelf. So which cost do you use to calculate profit?

There are two common methods.

Weighted average cost

Mix the old and new stock together and work out the average cost of everything you hold.

  • You had 100 units bought at ₦800 = ₦80,000
  • You buy 50 more at ₦900 = ₦45,000
  • You now hold 150 units that cost ₦125,000 in total
  • Weighted average cost = ₦125,000 ÷ 150 = ₦833.33 per unit

If you keep selling at ₦1,000, your true margin is now (₦1,000 - ₦833.33) ÷ ₦1,000 = 16.7%, not the 20% you planned. Every new delivery at ₦900 pulls the average closer to ₦900 and the margin closer to 10%.

First in, first out (FIFO)

Assume you sell the oldest stock first. The first 100 units sold carry a cost of ₦800 and the next 50 carry ₦900. This is more precise but much harder to track by hand; it is realistic only with software that records each purchase batch.

For most shops, weighted average is the practical choice, and it is what good inventory software calculates automatically every time you record a supplier delivery. The important point is to stop using the price you first paid. If your price list still assumes ₦800 while you are restocking at ₦900, you are not earning the margin you think, and in a bad month you are quietly eating the capital you need to restock. Stock-taking regularly helps you catch this; see how to do stock taking in a shop.

Pricing for a target margin

Most owners price by adding a percentage to cost. That gives you a markup, and as the table above shows, the margin you end up with is smaller than the number you added. To price for the margin you actually want, use this formula:

Selling price = cost ÷ (1 - target margin)

Examples with a cost of ₦800:

Target margin Calculation Selling price
20% ₦800 ÷ 0.80 ₦1,000
25% ₦800 ÷ 0.75 ₦1,067 (round to ₦1,070)
30% ₦800 ÷ 0.70 ₦1,143 (round to ₦1,150)
40% ₦800 ÷ 0.60 ₦1,333 (round to ₦1,350)

The mistake to avoid: if you want 30% and simply do ₦800 × 1.30 = ₦1,040, you have set a 30% markup and a 23% margin. On ₦1,000,000 of monthly sales that is a difference of roughly ₦70,000 in gross profit, every month, from one rounding habit.

A few practical rules for Nigerian shops:

  • Use your current replacement cost (what the next delivery will cost), not what you paid last time, especially when prices are rising.
  • Include landing costs in the cost price: transport from Balogun, Alaba or Onitsha, loading, and your own fuel to go and buy.
  • Set different target margins per category. Fast-moving staples like rice, sugar and noodles typically carry thin margins; cosmetics, electronics accessories and slow-moving items need more.
  • If VAT applies to you, add 7.5% on top of the price calculated above. VAT is not your profit; you collect it for FIRS. Our guide to VAT for small businesses covers the current threshold.

Why many shops think they are profitable but are not

The shelves are full, customers are coming, there is money in the drawer. Yet at the end of the year there is nothing to show for it. Here are the usual reasons.

  1. Confusing sales with profit. ₦2,400,000 in sales feels like a lot of money. Only the ₦190,000 net was ever yours.
  2. Pricing from old costs. Selling at prices set when goods were cheaper, so the margin has quietly shrunk to nothing.
  3. Counting credit sales as cash. A customer who owes you ₦150,000 has not paid you ₦150,000. If debtors are not tracked, the "profit" is sitting in other people's pockets. See how to track customer debts and credit sales.
  4. Not paying yourself a salary. The owner's drawings from the till are an expense. If you take ₦100,000 a month for the household and never record it, your books show a profit that does not exist.
  5. Ignoring shrinkage. Expired goods, damaged stock, free items for friends and staff theft all reduce stock without a sale. If stock counts are not reconciled against sales, the loss never appears in the books. Our article on preventing staff theft in your shop goes deeper.
  6. Treating VAT collected as income. The 7.5% on the receipt belongs to FIRS.
  7. Mixing shop cash with personal cash. Paying school fees from the till and restocking from personal savings makes it impossible to know what the shop earned.

Fixing all of this by hand is tedious, which is why most shops never do it. Software that records cost price per delivery, calculates weighted average cost, deducts stock at each sale and posts expenses to a profit and loss report does the arithmetic for you. Ajinex does exactly this: inventory, POS and accounting are one system, so your margin per product and your net profit per branch are reports you can open, not figures you have to reconstruct at the end of the year. See the accounting software for Nigerian businesses page for what the reports include.

Frequently asked questions

What is a good profit margin for a shop in Nigeria?

It depends on what you sell. Fast-moving groceries and provisions typically run on thin gross margins, roughly 5% to 15%, and make money on volume. Pharmacies, boutiques, cosmetics and electronics accessories typically carry higher margins, often 25% to 50% or more. The number that matters more is net margin after rent, staff and fuel; if that is consistently positive and growing, the business is healthy whatever the category average is.

Is margin or markup better for setting prices?

Use markup when you are negotiating with a supplier or thinking about a single item, because it is quick. Use margin when you are planning the business, because it tells you what share of every sale you keep, and it is the number your profit and loss report shows. The safest habit is to set a target margin per category and use the formula selling price = cost ÷ (1 - margin).

How do I calculate profit margin when I bought stock at different prices?

Use the weighted average cost: total amount paid for all units you hold divided by the number of units. Recalculate it every time a new delivery arrives. Then margin = (selling price - weighted average cost) ÷ selling price. Inventory software does this automatically when you record each purchase at its actual cost.

Should I include transport and loading in cost price?

Yes. Anything you spend to get the goods onto your shelf (transport, loading, waybill, your own fuel) is part of the cost of that stock. Leaving it out overstates your margin, often by several percent on bulky, low-value goods like beverages and rice.

What is the difference between gross profit and net profit?

Gross profit is sales minus the cost of the goods sold, and it tells you whether your buying and pricing are right. Net profit is gross profit minus every other expense of running the shop, and it tells you whether the business itself is making money. A shop can have a healthy gross margin and still lose money if rent, staff and generator costs are too high for its sales.

Next step

If you want to see your real margin per product and your actual net profit per branch without a calculator, start a 30-day free trial of Ajinex at [the sign-up page](/register/). It records every purchase at its true cost, updates the weighted average automatically, deducts stock at the till and builds your profit and loss report as you trade. Read more about inventory and accounting software for Nigerian shops.

Ajinex Team

The people who build Ajinex, writing from what we learn supporting supermarkets, pharmacies, restaurants and wholesalers across Nigeria. Questions? Talk to us.

Chat with support