Most pricing mistakes come from confusing markup and margin. They sound like the same thing. They are not, and the difference costs businesses money every day.
This markup calculator gives you both, along with profit and selling price, from either direction. Start from your cost, or start from your selling price. You get the full picture either way.
Markup vs Margin: Not the Same Thing
Markup is what you add on top of your cost. If a product costs R100 and you sell it for R150, your markup is 50%.
Margin measures profit as a percentage of the selling price. Same transaction: your profit is R50, your selling price is R150, so your margin is 33.33%.
That gap between 50% markup and 33.33% margin is where the confusion lives. A business owner who targets a 35% margin but uses markup percentages to set prices will underprice every single product. Across hundreds of transactions, that is a serious problem.
The rule that fixes it: markup percentage is always higher than margin percentage for the same transaction. If someone says “we run a 40% margin” and a colleague hears “40% markup,” they are looking at two completely different numbers. This calculator shows you both figures on every calculation so there is no guesswork.
Markup and Margin Formulas
Both metrics start from the same inputs — cost and selling price — but divide by different bases.
| Metric | Formula | Base |
|---|---|---|
| Markup % | (Selling Price − Cost) ÷ Cost × 100 | Cost |
| Margin % | (Selling Price − Cost) ÷ Selling Price × 100 | Selling Price |
| Selling Price (from markup) | Cost × (1 + Markup %) | Cost |
| Selling Price (from margin) | Cost ÷ (1 − Margin %) | Cost |
| Markup from Margin | Margin ÷ (1 − Margin) | — |
| Margin from Markup | Markup ÷ (1 + Markup) | — |
A quick conversion reference:
| Markup % | Equivalent Margin % |
|---|---|
| 10% | 9.09% |
| 20% | 16.67% |
| 25% | 20.00% |
| 33% | 24.81% |
| 40% | 28.57% |
| 50% | 33.33% |
| 60% | 37.50% |
| 75% | 42.86% |
| 100% | 50.00% |
Forward Calculator: From Cost to Selling Price
Use this tab when you know what something costs and want to know what to charge.
Enter your cost price, enter your markup percentage, click Calculate.
Example: a product costs R250 and you apply a 40% markup.
- Selling Price: R350.00
- Profit: R100.00
- Markup: 40.00%
- Margin: 28.57%
All four results appear at once. You do not need a separate calculation to find your margin or check your profit in rand.
One small tip: press Enter after filling in the last field. You do not have to click the button if you are working through a list of products quickly.
Reverse Calculator: From Selling Price to Cost
This tab answers a different question. You have a selling price. You need to find the cost behind it, or check whether an existing price hits your target.
Switch to the Reverse Calculator tab. Enter your selling price. Choose whether you want to work from a markup percentage or a margin percentage. Enter the percentage. Click Calculate.
Two scenarios using a R500 selling price:
Using a 60% markup target:
- Cost Price: R312.50
- Profit: R187.50
- Markup: 60.00%
- Margin: 37.50%
Using a 35% margin target:
- Cost Price: R325.00
- Profit: R175.00
- Markup: 53.85%
- Margin: 35.00%
The two examples return different cost prices. That is correct. Markup and margin use different bases for the percentage calculation, so the same number means something different depending on which one you pick. This is the calculation most people get wrong when they do it manually.
One constraint: margin percentage must be below 100. A margin of 100% would mean your cost is zero, which the calculator does not support. Enter 100 or above and you will see an error before anything runs.
Which One Should You Use
Use markup when you are building a price from a known cost. Most retailers and wholesalers work this way: cost plus a fixed percentage gets you to the shelf price. Around 75% of businesses use some form of cost-plus pricing as their primary method.
Use margin when you are working towards a profit target as a percentage of revenue. This is more common in financial reporting and when setting category-level targets across a product range. Margin is also the metric most accounting software and income statements use, so it is the right number to reference when comparing against industry profit benchmarks.
The practical rule: use markup to set prices, use margin to measure performance.
The formula reference at the bottom of the calculator shows the exact equation behind each figure. If you want to verify a result manually or check the maths, it is there.
The calculator displays currency in Rand. The calculations work the same regardless of currency. If you operate in dollars, euros, or pounds, treat the R symbol as your own currency.
Markup Benchmarks by Industry
Markup percentages vary widely by sector. High markup does not always mean high profit. Restaurants run 200–400% food cost markups but average net profit margins of only 3–9% after labor and overhead.
| Industry | Typical Markup Range | Equivalent Margin | Notes |
|---|---|---|---|
| Grocery retail | 10–15% | 9–13% | High volume, tight margin per item |
| General retail (clothing) | 50–150% | 33–60% | Brand and channel affect range significantly |
| Electronics | 8–25% | 7–20% | Price transparency limits pricing power; accessories run higher |
| Jewelry | 50–150% | 33–60% | Craftsmanship and brand add premium |
| Restaurant food | 200–400% | 67–80% | Net profit still only 3–9% after labor and overhead |
| Restaurant beverages | 200–500%+ | 67–83% | Wine and cocktails carry most of the margin load |
| Automotive | 5–10% | 5–9% | Volume compensates for tight margins |
| Professional services | 150–300% | 60–75% | Based on billable time over direct cost |
Use these as reference ranges, not targets. Your actual markup should reflect your specific costs, competition, and the value your product delivers. Applying the same markup across every product without considering demand or competitive pricing is one of the most common errors in retail pricing strategy.
A Quick Way to Sanity-Check Your Prices
Run your five highest-volume products through the forward calculator. Enter the cost and your standard markup. Check the margin column. If your margin is lower than you expected, your markup is lower than you think it is, and your pricing needs a review.
Most businesses that do this exercise find at least one product where the numbers are off. The forward calculator takes about 30 seconds per product. Check your costs, review your markup, and confirm what margin you are actually earning on each line.
Pay particular attention to any product where you applied a margin target using a markup calculation. A 35% margin target applied as a 35% markup produces a 25.93% margin, not 35%. That gap is real money on every sale.
Frequently Asked Questions
What is the difference between markup and margin?
Markup is profit expressed as a percentage of cost. Margin is profit expressed as a percentage of selling price. A product that costs R100 and sells for R150 has a 50% markup and a 33.33% margin. Markup is always the higher number. If someone quotes you a 40% figure without specifying which metric, ask.
How do you calculate markup percentage?
Markup % = (Selling Price – Cost) / Cost × 100. If a product costs R200 and sells for R300, the markup is (300 – 200) / 200 × 100 = 50%.
How do you calculate profit margin?
Margin % = (Selling Price – Cost) / Selling Price × 100. Using the same product: (300 – 200) / 300 × 100 = 33.33% margin. Margin cannot exceed 100% because profit cannot exceed the selling price.
How do I convert markup to margin?
Margin = Markup / (1 + Markup). For a 50% markup: 0.50 / 1.50 = 0.333 = 33.3% margin.
To go the other way: Markup = Margin / (1 – Margin). For a 30% margin: 0.30 / 0.70 = 0.4286 = 42.86% markup.
If I want a 35% margin, what markup should I use?
Markup = Margin / (1 – Margin) = 0.35 / 0.65 = 0.5385 = 53.85% markup. A 35% markup gives you only a 25.93% margin. The Reverse Calculator tab handles this automatically when you enter the selling price and select margin as your target.
What is a typical markup percentage?
It depends on the industry. Grocery retail typically runs 10–15%. General retail clothing ranges from 50–150%. Restaurants mark up food 200–400% over wholesale cost. Electronics tend to be 8–25%. High markup does not always mean high net profit. Overhead, labor, and operating costs are what determine what stays at the bottom line.
Why is my markup percentage higher than my margin percentage?
Because they use different bases. Markup divides profit by cost, which is a smaller number than the selling price used for margin. Dividing the same profit by a smaller number always produces a bigger percentage. This is why markup and margin are never equal for the same transaction, unless both are zero.
Can margin ever be higher than markup?
No. For any transaction with a positive profit, markup is always the higher number. They get closer as markup gets very large — a 1000% markup produces a 90.9% margin — but markup is always larger.
What does the reverse calculator do that the forward calculator does not?
The forward calculator starts from cost and applies a markup to find the selling price. The reverse calculator starts from the selling price and works backward to find what cost the price implies, at either a target markup or a target margin. Use it to verify whether a quoted price achieves your margin target, or to find the maximum cost you accept for a product that must hit a specific shelf price and margin.


