What does this tool calculate?
Profit margin is the share of every riyal you sell for that you keep after the cost is taken out. This page has two calculators:
- Calculate profit margin: from your current cost and selling price.
- Selling price for a target margin: when you know the cost and the margin you want, and you're looking for the right price.
How to use it
In the first calculator, enter the cost and the selling price. In the second, enter the cost and the margin you want as a percentage (from 0 to less than 100), then tap "Calculate" in the calculator you're using.
Worked example
- A cost of 60 and a selling price of 100 → the profit is 40, the profit margin is 40%, and the markup is 66.67%.
- A cost of 60 and you want a 40% margin → selling price = 60 ÷ (1 − 0.40) = 100.
How to read the result
The first calculator shows the margin, the profit per unit and the markup side by side. If the selling price is below the cost, the margin shows as negative with a warning that you're selling at a loss.
Margin and markup are not the same thing
| Markup (profit on cost) | Equivalent profit margin |
|---|---|
| 25% | 20% |
| 50% | 33.33% |
| 100% | 50% |
So adding 30% to the cost gives you a margin of only about 23%. If your goal is a specific margin, use the second calculator instead of adding a percentage to the cost.
Common questions
Why can't the margin reach 100%?
A 100% margin would mean the cost is zero or the selling price is infinite. That's why the second calculator only accepts a margin below 100%.
Which should I use for pricing: margin or markup?
Both are correct as long as you stick to one. Margin links profit to the selling price, which makes it easy to compare with expenses and sales, while markup is easier when you add a fixed percentage to the purchase price.
Also read: the difference between profit margin and markup, and how to price a product in your online store, step by step