Free margin calculator
Margin, markup & discount — one screen.
Pick a mode, type two numbers, read the answer instantly — with the exact formula shown so you can trust it. No sign-up, no waiting. Start typing below.
- Free forever
- No sign-up
- Three modes
Margin, markup and discount calculator
Margin, markup & discount
- SaaS / software
- 70 – 85%
- Agency / services
- 30 – 50%
- Retail / e-comm
- 20 – 50%
- Wholesale
- 15 – 30%
Your result
LiveProfit margin
40.0%( $100 − $60 ) ÷ $100 × 100 = 40.0%
Margin is profit as a share of selling price. Markup is profit as a share of cost. They are not the same number.
Why it beats the spreadsheet
Margin, markup, discount
Three modes, one tool. Stop confusing a 50% markup with a 50% margin — they are not the same number.
Shows its working
The exact formula renders next to every result, so you can verify the math instead of trusting a black box.
No sign-up wall
No email, no paywall. Land, type, get your number — and share the result with a link.
FAQ
Questions, answered fast.
Everything you need to trust the number before you act on it.
How do you calculate profit margin?
Profit margin = (revenue − cost) ÷ revenue × 100. If an item costs $60 and sells for $100, the profit is $40 and the margin is 40%. Margin always measures profit as a share of the selling price, so it can never exceed 100%.
What's the difference between margin and markup?
They use the same profit but a different base. Margin divides profit by the selling price; markup divides profit by the cost. A $60 cost sold at $100 is a 40% margin but a 67% markup. Confusing the two is the most common pricing mistake — a '50% markup' is only a 33% margin.
How do I calculate selling price from cost and markup?
Selling price = cost × (1 + markup% ÷ 100). At $60 cost with a 50% markup, the price is $60 × 1.5 = $90. Switch this calculator to 'Markup → price' mode to do it automatically.
What is a good profit margin?
It depends on the industry. Retail often runs 5–20%, software and SaaS 60–80%+, agencies and services 20–40%. The useful question isn't the headline number but whether the margin covers overhead, taxes, and a reasonable profit after all costs are counted.
Built by Nayeemur Rahman
Need a custom internal tool like this for your team?
I ship fast, focused web tools at a fraction of agency cost. Book a 20-minute call and let's scope it.
Build with me—Ship your next app for a fraction of agency cost.