Profit Margin Calculator
Profit margin calculator finds the percentage of revenue you keep as profit after costs. Enter revenue and total cost to instantly see your profit margin, dollar profit, and how it compares to industry benchmarks. Supports gross profit margin, operating margin, and net profit margin calculations for retail, SaaS, restaurants, manufacturing, and service businesses.
Enter Values
Total income from sales
Total cost of goods or services
Result
Enter values above and click Calculate to see your result.
AI Assistant
Ask about this calculator
I can help you understand the profit margin calculator formula, interpret your results, and answer follow-up questions.
Try asking
Formula
How it works: Subtract total cost from total revenue to find profit. Divide that profit by revenue (not cost) to get the decimal margin. Multiply by 100 to convert to a percentage. The denominator is revenue, which is what makes this margin (not markup).
Review and Methodology
This calculator runs locally in your browser. Inputs are converted into the units required by the formula, and the result is paired with supporting references so you can verify the method before using it for planning or estimates.
Worked Example
Understanding Profit Margin: The Most Important Business Metric
Profit margin measures the percentage of revenue you keep as profit after subtracting costs. It is the single most important indicator of business health because it tells you how efficiently your company converts sales into actual earnings.
- Gross profit margin uses only direct costs (COGS): (Revenue - COGS) / Revenue. Measures production and pricing efficiency
- Operating profit margin adds operating expenses (rent, salaries, marketing): (Revenue - COGS - OpEx) / Revenue. Measures operational efficiency
- Net profit margin subtracts ALL costs including interest and taxes. This is the bottom line investors care about most
- A business can have healthy 40% gross margin but only 5% net margin if overhead is high. Track all three to spot where money is leaking
- Margin and markup are NOT the same. A 50% markup only produces a 33.3% margin. Confusing them costs businesses thousands per year
Use this calculator to find your margin instantly, then compare against industry benchmarks. For pricing decisions, also use the Markup Calculator. For full business analysis, the Gross Profit Calculator and Break Even Calculator complete the picture.
You can also calculate changes using our Markup Calculator, Gross Profit Calculator, Net Profit Calculator, Discount Calculator or Break-Even Calculator.
Profit Margin Benchmarks by Industry
Typical gross profit margin and net profit margin ranges by industry. Use these benchmarks to evaluate whether your margin is competitive for your sector.
| Industry | Gross Margin | Net Margin | Notes |
|---|---|---|---|
| Grocery / Supermarket | 20-30% | 1-3% | Razor-thin margins offset by high volume |
| Restaurants | 60-70% | 3-9% | Labor and rent eat most of gross margin |
| Retail (general) | 40-50% | 3-5% | Keystone pricing (2x cost) is the baseline |
| Construction | 15-25% | 2-6% | Project-based, high competition |
| Manufacturing | 25-35% | 5-10% | Varies by product type and automation |
| Healthcare Services | 40-60% | 5-15% | Specialty practices yield higher margins |
| Financial Services | 50-70% | 15-25% | Scale and recurring revenue create efficiency |
| Technology / SaaS | 70-85% | 20-40% | Near-zero marginal cost per customer |
| Consulting / Professional Services | 50-70% | 15-25% | Labor is the primary cost |
| Luxury Goods | 60-80% | 10-20% | Premium branding supports high markup |
| E-commerce (general) | 40-50% | 5-10% | Shipping and returns reduce net margin |
| Auto Dealerships | 5-10% | 1-3% | Volume-based, manufacturer controls pricing |
Note: Gross margin = (Revenue - COGS) / Revenue. Net margin = Net Income / Revenue (after all expenses, taxes, and interest). Benchmarks are general industry averages. Your specific margin depends on size, location, brand positioning, and operational efficiency. A startup or growth-stage business may operate below these benchmarks while investing in expansion. For educational reference only.
Frequently Asked Questions
What is a good profit margin?
It depends on the industry. The general rule is 5% net margin is low, 10% is average, and 20% is high. Grocery stores typically run 1-3%, restaurants 3-9%, retail 3-5%, manufacturing 5-10%, healthcare 5-15%, and SaaS/software 20-40%. Always benchmark against your specific industry.
What is the difference between margin and markup?
Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. The same product can have a 50% markup but only a 33.3% margin. For example, a $60 cost item sold for $90: markup = $30/$60 = 50%, but margin = $30/$90 = 33.3%. Confusing them is the most common pricing mistake.
What is gross vs net profit margin?
Gross margin only subtracts direct costs (COGS) from revenue: (Revenue - COGS) / Revenue. Net margin subtracts ALL expenses including operating costs, interest, and taxes: Net Income / Revenue. A business can have a healthy 40% gross margin but only 5% net margin if overhead is high.
How do I calculate profit margin from price and cost?
Subtract cost from price to get profit, then divide profit by price. For example, a $100 item that cost $60 to produce: profit = $100 - $60 = $40. Margin = $40 / $100 = 0.40 = 40%. The key is dividing by price (the larger number), not by cost.
How can I improve my profit margin?
Three main levers: raise prices (5-10% test increases often boost margin without major volume loss), reduce costs (negotiate suppliers, eliminate low-margin SKUs, automate repetitive tasks), and improve mix (push higher-margin products through bundling, promotions, and upsells). A 5% price increase on a 30% margin product can increase profits by 17%.
What margin should I target for my product?
Start with industry benchmarks then adjust for your costs and competition. Retail apparel often targets 50% gross margin (keystone pricing). Restaurants target 65-75% food margin (3x ingredient cost). SaaS targets 70-85% gross margin. B2B services target 50-70% gross margin. Subtract your operating overhead percentage to find target net margin.
Is it possible to embed the Profit Margin Calculator on another website?
Yes, embedding the Profit Margin Calculator is free. Hit the "Embed" button on this page, adjust the width, height, and theme, then grab the iframe code. It works on WordPress, Wix, Squarespace, Shopify, and plain HTML pages. No registration needed. Full instructions at calculory.com/services/embed-calculators.
AI Assistant
Ask about this calculator
I can help you understand the profit margin calculator formula, interpret your results, and answer follow-up questions.
Try asking
Related Calculators
Related Guides
More Business Calculators
View allProfit Maximizing Output Calculator
Find the output level that maximizes profit.
Website Value Calculator
Professional valuation for websites and online businesses.
Web Design Cost Calculator
Estimate website design costs with traditional and AI development options.
App Development Cost Calculator
Estimate mobile app development costs by scope and features.
Related Articles
All articles
How to Calculate Profit Margin: Formula, Examples, and Mistakes
Step-by-step profit margin formulas with real numbers. Covers gross, operating, and net margins with worked examples and the common mistakes that inflate results.
Read article
Markup vs Margin: What is the Difference and Why It Matters
Understand the critical difference between markup and margin with clear formulas, conversion tables, and real examples. Learn why confusing the two costs businesses thousands of dollars in lost profit.
Read article
How to Calculate ROI: Formula, Examples, and Free Calculator
Learn how to calculate Return on Investment (ROI) with the standard formula, real-world examples for marketing, real estate, and stocks, and understand the limitations of basic ROI.
Read article
Agentic ROI Blueprint: Replacing Roles in 2026
In 2026, teams are measuring total capability, not just headcount. Learn how to model the cost of replacing or augmenting full-time roles with an AI agent stack.
Read articleModern Tools for Every Need
Secure and Private
All calculations run locally. Your business data never leaves your browser.
Verified Precision
Precise Business Calculations Powered by Calculory AI