Margin and markup formulas
- Profit = selling price − cost
- Margin % = profit ÷ selling price × 100
- Markup % = profit ÷ cost × 100
- Price for a target margin = cost ÷ (1 − margin)
- Price for a target markup = cost × (1 + markup)
Example: a product costs 60. You want a 40% margin, so the price is 60 ÷ 0.60 = 100. Profit is 40, which is a 40% margin and a 66.7% markup.
Markup to margin
| Markup | Margin |
| 20% | 16.7% |
| 25% | 20.0% |
| 50% | 33.3% |
| 75% | 42.9% |
| 100% | 50.0% |
| 150% | 60.0% |
The mistake to avoid
If you add 40% to cost and think you earn a 40% margin, you underprice. A 40% markup gives a 28.6% margin. Decide which number your plan uses, and use the matching mode in the calculator.
For shop pricing with sector benchmarks, try the Retail Profit Margin Calculator. If you sell online, the Ecommerce Profit Calculator takes off platform fees, shipping and ad costs. Funding stock or equipment with a loan? Check the repayments with the Business Loan EMI Calculator. See all business calculators.
What is the difference between margin and markup?
Profit margin is profit as a % of selling price. Markup is profit as a % of cost. A 50% markup gives a 33% profit margin. Same profit, different reference points.
How do I calculate gross profit margin?
Gross Profit Margin = (Selling Price − Cost) ÷ Selling Price × 100. Example: Cost $70, Selling Price $100 → Margin = (100−70)÷100×100 = 30%.
What is a good profit margin?
Below 10% is danger zone. 10–20% is below average. 20–40% is good for most businesses. Above 40% is excellent. Retail typically runs 20–40% while SaaS reaches 60–80%.
How do I find selling price from cost and margin?
Selling Price = Cost ÷ (1 − Margin%). Example: Cost $70, target 30% margin → Price = 70 ÷ 0.70 = $100. Use the Cost → Price tab above.
Is this profit margin calculator free?
Yes. BusinessToolBoss Profit Margin Calculator is free: no login, no signup, no usage limits. All 4 modes and the bulk pricing table are free forever.
What is the markup formula?
Markup % = (Selling Price − Cost) ÷ Cost × 100. Example: Cost $70, Selling Price $100 → Markup = (100−70)÷70×100 = 42.86%.