Profit margin is the percentage of revenue that becomes profit after costs are subtracted. Divide profit by revenue and multiply by 100. If your business earns $80,000 in revenue and keeps $16,000 after all expenses, net profit margin is 20%. There are three distinct margin types — gross, operating, and net — and each tells a different story about where your money is going.
👉 Free Profit Margin Calculator — instant, no signup required →
What Is Profit Margin?
Profit margin is a financial ratio that expresses how much of each revenue dollar a business retains as profit after subtracting costs. It is the most fundamental measure of business profitability and is reported at three levels on an income statement: gross, operating, and net.
Gross profit margin measures what remains after subtracting only the direct production costs (COGS) from revenue. It reveals whether the core economics of the product or service are sound — whether pricing covers production costs with enough left over to fund the rest of the business.
Operating profit margin subtracts all operating expenses (salaries, rent, marketing, depreciation) from gross profit, then divides by revenue. It shows how efficiently the business runs day-to-day, independent of financing decisions and tax strategy.
Net profit margin is the bottom line: all costs subtracted, including interest payments on debt and income taxes. It is what the business actually earns as a percentage of revenue. A company can have a high gross margin and still report a poor net margin if overhead is excessive or debt costs are high.
Each layer tells you something different. A declining gross margin signals pricing or production problems. A declining operating margin signals overhead creeping up. A declining net margin with stable operating margin signals rising interest expense or tax liability. Tracking all three together is how you pinpoint exactly where profitability is leaking.
How to Use the Profit Margin Calculator
The calculator accepts revenue and cost inputs and returns all three margin layers with a visual breakdown.
- Enter total revenue. Your total sales before any costs are deducted.
- Enter cost of goods sold (COGS). Direct production costs: materials, direct labor, manufacturing overhead.
- Enter operating expenses. All overhead costs: salaries, rent, marketing, administrative costs, depreciation.
- Enter interest and taxes. Interest payments on loans, plus income taxes.
- Read all three margins. The calculator returns gross margin, operating margin, and net margin in both dollar and percentage terms.
The side-by-side waterfall chart shows where revenue "leaks" at each stage — from revenue to gross profit to operating profit to net profit.
The Three Profit Margin Formulas
Gross Profit Margin:
Gross Margin = ((Revenue - COGS) / Revenue) × 100
Operating Profit Margin:
Operating Margin = ((Revenue - COGS - Operating Expenses) / Revenue) × 100
Net Profit Margin:
Net Margin = (Net Income / Revenue) × 100
Net Income = Revenue - COGS - Operating Expenses - Interest - Taxes
Worked example — a software company:
| Line Item | Amount | |-----------|--------| | Revenue | $500,000 | | COGS (hosting, support) | $75,000 | | Gross Profit | $425,000 | | Operating Expenses | $250,000 | | Operating Profit | $175,000 | | Interest + Taxes | $45,000 | | Net Profit | $130,000 |
Margins:
Gross Margin = $425,000 / $500,000 = 85%
Operating Margin = $175,000 / $500,000 = 35%
Net Margin = $130,000 / $500,000 = 26%
Each layer of the income statement peels back one more layer of costs. The 50-point gap between gross (85%) and operating (35%) margin tells you $250,000 went to overhead — worth examining for efficiency. The 9-point gap between operating (35%) and net (26%) reflects $45,000 in interest and taxes.
What Is a Good Profit Margin?
Profit margins vary dramatically by industry. A 5% net margin is excellent in grocery retail but alarming in software.
| Industry | Typical Gross Margin | Typical Net Margin | |----------|---------------------|-------------------| | Software / SaaS | 70–85% | 15–30% | | Healthcare services | 45–60% | 5–12% | | Retail (specialty) | 35–55% | 3–8% | | Restaurant | 25–40% | 3–9% | | Manufacturing | 20–35% | 5–12% | | Grocery / food retail | 20–30% | 1–4% | | Construction | 15–25% | 3–8% | | Consulting | 50–70% | 15–25% |
Comparing to industry benchmarks is more meaningful than any absolute rule. A 12% net margin that ranks below your industry average is a red flag; the same 12% that ranks above average is a strength.
Trend analysis matters most. Compare your margins quarter over quarter and year over year. A margin that is declining even slightly each quarter is worth investigating before it becomes a serious problem — it signals either rising costs or falling pricing power.
Why Does Gross Margin Matter for Pricing?
Gross margin is the most direct signal of your pricing effectiveness and cost control in production.
Low gross margin scenarios:
- Your production costs are too high (negotiate with suppliers, improve manufacturing efficiency)
- Your prices are too low (customers would pay more; test a price increase)
- Your product mix is weighted toward low-margin items (shift focus to higher-margin products)
High gross margin scenarios:
- Strong pricing power (customers value your product enough to pay premium prices)
- Efficient production (costs are well-controlled)
- A scalable model (gross margin tends to expand as volume increases and fixed production costs get spread more thinly)
Software and digital products famously have very high gross margins (70–90%) because the marginal cost of delivering one additional digital unit approaches zero. Physical products with significant material costs have lower gross margins. Service businesses fall in between depending on how much direct labor goes into each delivery.
Frequently Asked Questions
What is the difference between profit margin and markup? Margin and markup both describe profitability but use different denominators. Margin divides profit by selling price; markup divides profit by cost. If a product costs $60 and sells for $100: margin = $40/$100 = 40%; markup = $40/$60 = 66.7%. They describe the same $40 profit differently — margin is the industry-standard for financial reporting, while markup is commonly used in retail pricing. A 40% margin equals a 66.7% markup.
Can profit margin be negative? Yes. A negative gross margin means COGS exceeds revenue — the company loses money on every unit sold before overhead. This is occasionally deliberate in early-stage businesses burning cash to acquire customers (common in SaaS and e-commerce), but it is unsustainable long-term without a clear path to positive margins. A negative net margin with positive gross and operating margins indicates debt costs or tax burdens are the problem.
How do I increase profit margin? Three levers: raise prices, reduce COGS, or reduce operating expenses. The highest-impact, lowest-risk lever is usually small price increases on existing products — even a 5% price increase on a 20% net margin business, if it does not significantly reduce volume, drops almost entirely to the bottom line. Cost reduction requires identifying specific inefficiencies. The mix of all three approaches differs by business type.
What is gross margin vs. contribution margin? Gross margin subtracts COGS from revenue. Contribution margin subtracts all variable costs (including variable operating costs like sales commissions) from revenue. Contribution margin is more useful for break-even analysis because it captures all costs that vary with sales. Gross margin is the standard financial reporting metric. For a product-based business with minimal variable operating costs, they are nearly identical.
Should service businesses track profit margin the same way? Yes, but COGS is defined differently. For a service business, COGS = direct labor + direct materials used in delivering the service. Overhead (admin staff, marketing, rent) sits in operating expenses. A consulting firm's gross margin reflects: revenue minus the hours its consultants spend on client work (direct labor). Calculating this correctly lets you see whether your consultants are priced right relative to their cost — the same essential insight as product gross margin.
Related Free Tools on RoughTools
- Break-Even Calculator — find the sales volume needed to cover all costs
- ROI Calculator — calculate return on specific business investments
- Revenue Calculator — project revenue from price and volume assumptions
- Business Loan Calculator — model loan payments and their impact on operating margin
Calculate Your Profit Margins Now
The free Profit Margin Calculator at RoughTools calculates gross, operating, and net profit margin from your revenue and cost inputs. See exactly where your revenue goes at each stage of the income statement, compare to industry benchmarks, and model scenarios. No account required, completely free.