VAT returns and withholding tax due 21 December. See the calendar →

FREE TOOL

Profit Margin Calculator

Calculate gross profit margin, markup, and profit instantly. Free, no sign-up needed.

Enter values above to see your results instantly

How to Calculate Profit Margin

Gross Profit Margin measures what percentage of revenue is profit after covering the cost of goods sold.

Profit Margin (%) = (Selling Price − Cost Price) ÷ Selling Price × 100

Example: You sell a product for £50 and it costs you £30 to make. Profit = £20. Margin = (£20 ÷ £50) × 100 = 40%.

Profit Margin vs Markup — What's the Difference?

MarginMarkup
Formula(Profit ÷ Revenue) × 100(Profit ÷ Cost) × 100
Based onSelling priceCost price
Use caseHow much of revenue is profitHow much above cost you charge
Example (cost £30, sell £50)40%66.7%

Average Profit Margins by Industry

IndustryTypical Gross MarginNotes
SaaS / Software70–90%High margin due to low marginal cost
Consulting / Services60–80%Low overheads
E-commerce / Retail20–50%Varies widely by product
Restaurants / Food60–70% grossNet margins are much lower
Manufacturing25–35%Raw materials reduce margin
Freelance / Creative50–70%Depends on hourly rate vs cost

Last reviewed September 2026. Figures reflect the Nigeria Tax Act 2025, in force from 1 January 2026.

Margin and markup are the two most confused numbers in small business. They describe the same profit from different angles, they are never equal, and pricing off the wrong one is how a business ends up busy, growing and quietly making less than it thinks. This page sets out both formulas, shows what the gap between them costs, and gives realistic benchmarks by sector.

Margin and markup are not the same number

Both measure the profit on a sale. The difference is what you divide by. Margin divides profit by the selling price; markup divides the same profit by the cost. Because the selling price is always larger than the cost, the markup percentage is always larger than the margin percentage.

The formulas

  • Profit = selling price − cost
  • Margin % = (profit ÷ selling price) × 100
  • Markup % = (profit ÷ cost) × 100
  • Price for a target margin = cost ÷ (1 − margin ÷ 100)

Buy something for ₦100 and sell it for ₦150 and you have made ₦50. That is a 33.3% margin and a 50% markup — the same ₦50, described two ways. Neither is wrong; using them interchangeably is.

The same sale, both ways
CostSelling priceProfitMarginMarkup
₦100₦125₦2520.0%25.0%
₦100₦150₦5033.3%50.0%
₦100₦200₦10050.0%100.0%
₦100₦400₦30075.0%300.0%

Notice how the two diverge as profit rises. At small profits they are close enough that the mistake goes unnoticed. By the time you are aiming at a 50% margin, the required markup is 100% — and a business that applied 50% markup thinking it was getting a 50% margin has priced a third below where it meant to.

Pricing to hit a target margin

This is the calculation most people actually need, and it is the one they get wrong. To reach a target margin you divide the cost by one minus the margin — you do not add the margin to the cost.

Suppose your cost is ₦100 and you want a 40% margin. Adding 40% gives ₦140, which is a 28.6% margin, not 40%. The correct price is ₦100 ÷ (1 − 0.40) = ₦166.67. Check it: profit is ₦66.67 on a ₦166.67 sale, which is 40%.

Price required on a ₦100 cost to hit each margin
Target marginRequired priceProfitEquivalent markup
10%₦111.11₦11.1111.1%
20%₦125.00₦25.0025.0%
30%₦142.86₦42.8642.9%
40%₦166.67₦66.6766.7%
50%₦200.00₦100.00100.0%
60%₦250.00₦150.00150.0%
70%₦333.33₦233.33233.3%

The calculator above runs this both ways. Enter cost and selling price to find out what margin you are actually achieving, or enter cost and a target margin to find the price you need to charge.

Gross margin, net margin, and why they differ so much

This calculator works on gross margin: revenue less the direct cost of what you sold. That is the right number for pricing a single product or job. It is the wrong number for judging whether the business is working.

  • Gross margin deducts only cost of goods sold — materials, wholesale cost, direct subcontractor fees, delivery of the item itself.
  • Operating margin also deducts the cost of running the business: rent, salaries, software, marketing, transport.
  • Net margin deducts everything, including tax and interest. This is what actually reaches the owner.

A restaurant with a 65% gross margin on food can still lose money, because rent, staff and power sit below the gross line. A consultancy with an 80% gross margin can be barely profitable if it carries a large team between projects. Always compare like with like: a competitor quoting "40% margin" may be quoting gross where you are quoting net.

Realistic margin benchmarks by sector

Benchmarks are a sanity check, not a target. A number well outside the range for your sector usually means either a pricing problem or a categorisation problem — costs sitting in the wrong place.

Typical gross margin ranges
SectorTypical gross marginWhat usually eats it
Software / SaaS70–90%Hosting and support scale slowly, so margin holds
Consulting and professional services60–80%Bench time between engagements
Freelance and creative50–70%Unbilled revisions and admin time
Restaurants and food60–70% on foodRent, staff and power sit below the gross line
Retail and e-commerce20–50%Shipping, returns, payment fees and discounting
Manufacturing25–35%Raw material prices and waste
Logistics and haulage15–30%Fuel, maintenance and empty return legs

Four ways to move the number

Margin improves from four directions, and they are not equally effective.

  1. Raise prices. This is by far the strongest lever, because every naira of a price increase falls straight to profit. On a 30% margin, a 10% price rise adds more profit than a 10% cut in cost.
  2. Reduce cost of goods. Renegotiate supplier terms, buy in larger lots, or cut waste. Real, but usually incremental.
  3. Change the mix. Sell more of what already earns well and less of what does not. This requires knowing your margin per product, which most businesses do not track.
  4. Stop the leakage. Unbilled work, forgotten expenses, discounts given to close a sale and never reviewed. This is the cheapest win and the one most often ignored.

The fourth is where bookkeeping pays for itself. You cannot fix leakage you cannot see, and it is invisible until every invoice and every expense sits in one place with categories attached.

Questions

Frequently asked questions

View all FAQs
  1. Margin is profit as a percentage of the selling price; markup is the same profit as a percentage of the cost. Buy for ₦100 and sell for ₦150 and you have a 33.3% margin but a 50% markup. Markup is always the larger number, and the gap widens as profit rises.

Stop guessing your margins.
See them per job.

ereQa tracks revenue and expenses together, so the margin on each piece of work is a number you can look up rather than one you have to reconstruct.