Calculate net, VAT and gross amounts using a country preset or your own rate.
Margin and Markup Calculator
Calculate cost, price, profit, margin and markup from any two known values.
Runs in your browserProcessed locally. Your input never leaves your device.
Result
Profit on sale- Margin
- 33.33%
- Markup
- 50.00%
- Profit
- 50.00
- Cost
- 100.00
- Selling price
- 150.00
Calculation rule
Profit = 150 − 100; margin = profit ÷ price; markup = profit ÷ cost
Calculation inputs
Common calculations
Use either net amounts or gross amounts consistently. Do not mix both bases in one calculation.
Typical variants
Markup and margin, side by side
The same percentage read once as a markup and once as a margin, with the selling price each one produces on a cost of 100. A 50% markup is not a 50% margin, and this is the table that shows by how much they differ.
| Percentage | Margin from markup | Markup from margin | Price from markup | Price from margin |
|---|---|---|---|---|
| 10% | 9.09% | 11.11% | 110.00 | 111.11 |
| 15% | 13.04% | 17.65% | 115.00 | 117.65 |
| 20% | 16.67% | 25% | 120.00 | 125.00 |
| 25% | 20% | 33.33% | 125.00 | 133.33 |
| 30% | 23.08% | 42.86% | 130.00 | 142.86 |
| 40% | 28.57% | 66.67% | 140.00 | 166.67 |
| 50% | 33.33% | 100% | 150.00 | 200.00 |
| 60% | 37.5% | 150% | 160.00 | 250.00 |
| 75% | 42.86% | 300% | 175.00 | 400.00 |
Details
About this tool
Margin is profit divided by the selling price. Markup is the same profit divided by the cost. A product that costs 100 and sells for 150 therefore has a 33.33% margin and a 50% markup.
Enter any two values that define the transaction, such as cost and price, cost and target margin, price and profit, or profit and markup. The calculator completes the remaining amounts and percentages. Margin and markup alone cannot determine monetary values because neither provides a cost or price scale.
Use net amounts consistently for business pricing or gross amounts consistently for a consumer price check. The result also identifies a sale below cost, which is useful when checking a discount before it is applied.
Keep going
Related tools
- Runs in your browserCalculators
-
Percent of a number, percentage change, add or subtract a percent.
Runs in your browserCalculators -
Turn watts and hours into a cost per day, month and year.
Runs in your browserCalculators
Good to know
Questions people actually ask
- What is the difference between margin and markup?
- Margin divides profit by the selling price. Markup divides the same profit by the cost. With a cost of 100 and a price of 150, profit is 50, margin is 33.33% and markup is 50%.
- How do I convert a markup to a margin?
- Divide the markup rate by one plus that rate. A 50% markup is 0.5 ÷ 1.5 = 33.33% margin. In the other direction, divide the margin rate by one minus that rate.
- What price gives me a 30% margin?
- Divide the cost by 0.7. A cost of 100 with a target margin of 30% gives a selling price of 142.86. Adding 30% to the cost would instead produce a 23.08% margin.
- Can a margin be more than 100%?
- Not when the cost is positive. Margin approaches 100% as the cost approaches zero. Markup has no fixed upper limit because it is measured against cost.
- How does a discount affect my margin?
- Enter the cost and the price after discount. The calculator shows the remaining profit, margin and markup, and clearly marks a price below cost.