Free Margin Calculator
Enter cost and selling price to get margin %, markup %, and profit. 100% in your browser.
How It Works
Enter cost price and selling price (or desired margin percentage) to calculate profit margin, markup percentage, and gross profit. Switch between margin and markup modes to see how they relate to each other.
When to Use It
- Product pricing — calculate the selling price needed to achieve a target profit margin on each product.
- Wholesale negotiations — determine your margin at different wholesale price points to set minimum order quantities.
- Service pricing — set hourly or project rates that cover costs and deliver your target margin.
Frequently Asked Questions
What is the difference between margin and markup?
Margin is profit divided by selling price (e.g., $20 profit on $100 sale = 20% margin). Markup is profit divided by cost (e.g., $20 profit on $80 cost = 25% markup).
What is a healthy profit margin?
It varies by industry. Retail: 2-5%. Software/SaaS: 70-90%. Consulting: 15-25%. Food service: 3-9%. Compare with industry benchmarks.
Does it include overhead costs?
Enter your fully-loaded cost (including overhead allocation) in the cost field for accurate net margin calculations. Otherwise you are calculating gross margin only.
All calculations happen in your browser. No data is sent to any server.