Net Profit Margin Calculator
Created by: Olivia Harper
Last updated:
Calculate net profit margin from revenue and net income. Add COGS and operating expenses to see the full margin waterfall from gross margin to operating margin to net margin — a complete view of where revenue is consumed before reaching the bottom line.
Net Profit Margin Calculator
FinanceCalculate net profit margin from revenue and net income — with optional gross and operating margin layers for a full P&L waterfall.
What is a Net Profit Margin Calculator?
A net profit margin calculator divides net income by revenue to show what percentage of each revenue dollar the company retains as profit after all costs — including production costs, operating expenses, interest, and taxes.
It is the most comprehensive single-number profitability measure, reflecting the full P&L from top to bottom.
Net margin alone tells only part of the story.
This calculator optionally computes the full margin waterfall: gross margin (after cost of goods sold), operating margin (after overhead), and net margin (after interest and taxes).
The waterfall reveals which cost category is the biggest profitability driver — high COGS relative to revenue signals a different problem than high overhead or heavy interest expense.
Industry context is essential for net margin interpretation.
A 5% net margin in retail food distribution is outstanding.
The same margin in enterprise software signals severe competitive or cost problems.
Always compare margin levels and trends against industry peers rather than applying a universal standard.
How Net Profit Margin Is Calculated
The basic calculation divides net income by revenue.
This calculator also accepts cost of goods sold and operating expenses to build the margin waterfall.
Gross margin = (revenue − COGS) / revenue.
Operating margin = (gross profit − operating expenses) / revenue.
Net margin = net income / revenue.
Each metric uses the same revenue denominator but a progressively more deducted numerator.
The sensitivity table shows how net margin changes as revenue grows or declines — useful for modeling the impact of a 5–10% revenue change on profitability.
For many businesses, margin is highly sensitive to revenue because fixed costs do not scale proportionally.
Margin formulas
Net profit margin = net income / revenue × 100
Gross margin = (revenue − COGS) / revenue × 100
Operating margin = operating income / revenue × 100
Margin waterfall: Revenue → Gross Profit → Operating Income → Net Income
Example Scenarios
Example 1: Consumer goods brand
Revenue: $200M, COGS: $100M (50% gross margin), OpEx: $60M (operating margin 20%), Interest: $5M, Taxes: $8M, Net income: $27M. Net margin = 13.5%. The $60M OpEx is the biggest gap between gross and net margin — a marketing-intensive consumer brand profile.
Example 2: Restaurant chain
Revenue: $50M, COGS (food and labor): $35M (30% gross margin), OpEx: $10M (10% operating margin), Interest: $1M, Taxes: $1.5M. Net income: $2.5M. Net margin = 5%. Thin margins are normal in food service — the levers are volume and same-store sales growth.
Example 3: Enterprise software
Revenue: $80M, COGS (hosting, support): $12M (85% gross margin), OpEx: $45M (40% operating margin), Taxes: $8M. Net income: $15M. Net margin = 18.75%. High gross margin with heavy sales and R&D spend — typical SaaS profile where margin expands significantly with scale.
How People Use This Calculator
- Benchmark profitability against industry peers to determine whether the company's cost structure is competitive.
- Identify which cost layer — COGS, overhead, interest, or taxes — is the primary drag on profitability using the margin waterfall.
- Model profitability scenarios by seeing how net margin changes with revenue growth or cost reduction initiatives.
- Monitor margin trends quarterly to detect early signs of pricing pressure, cost inflation, or operating leverage improvements.
- Support pricing decisions by understanding the current margin structure and how price changes flow through to net income.
Tips for Margin Analysis
Use trailing twelve months (TTM) data rather than a single quarter when computing margins.
Seasonal businesses, one-time charges, and timing differences can make a single quarter misleading.
TTM smooths these effects and gives a more representative picture of run-rate profitability.
Compare gross margin trends over time carefully.
Falling gross margins signal either pricing pressure from competition or rising input costs.
Stable gross margins with falling operating margins suggest a cost structure that is not scaling — overhead is growing faster than revenue.
Distinguish between structural and cyclical margin changes.
A manufacturer that improves margins because commodity input costs fell is in a different position than one that improved margins through genuine operational efficiency.
The former is cyclical and will reverse; the latter is structural and can be sustained or extended.
Frequently Asked Questions
What is net profit margin?
Net profit margin is the percentage of revenue that becomes net income after all expenses — cost of goods sold, operating expenses, interest, and taxes. It is calculated by dividing net income by revenue. A net margin of 10% means the company keeps 10 cents from every dollar of revenue after paying all costs.
What is a good net profit margin?
Net profit margin varies enormously by industry. Software companies may achieve 20–35% margins. Banks and insurance firms typically show 15–25%. Manufacturers and professional services firms often land at 5–15%. Grocery stores and airlines may run at 1–3% in good years. The relevant benchmark is always the industry peer group, not an absolute number.
What is the difference between gross margin, operating margin, and net margin?
These three margins represent different levels of the income statement. Gross margin = (revenue − cost of goods sold) / revenue — it shows the profitability after direct production costs. Operating margin = operating income / revenue — it includes selling, general, and administrative expenses. Net margin = net income / revenue — it includes everything: interest, taxes, and one-time items. Each layer reveals a different cost structure story.
Can a company have a positive net margin but negative operating margin?
In theory yes — if non-operating income (interest income, asset sales, tax benefits) more than offsets operating losses. In practice this is unusual and unsustainable. More commonly, a company with a strong operating margin but weak net margin has high interest expense from leverage or a large tax provision. Comparing all three margins reveals exactly where value is being consumed.
How is net margin different from cash flow margin?
Net margin uses accounting income, which includes non-cash items like depreciation, amortization, and accruals. Cash flow margin uses operating cash flow — net income adjusted for non-cash charges and working capital changes. A company with a low net margin but high operating cash flow margin is often a capital-efficient business whose D&A obscures real cash generation.
What is the margin waterfall?
The margin waterfall is a visual representation of how revenue reduces step by step into net income: Revenue → Gross Profit (after COGS) → Operating Income (after OpEx) → Pre-tax Income (after interest) → Net Income (after taxes). Each step reveals which cost category is the biggest profitability driver or drag. Companies with wide gross margins but narrow net margins often have high overhead, interest costs, or tax burdens.
Sources and References
- Palepu, K.G., Healy, P.M., & Peek, E. (2019). Business Analysis and Valuation. Cengage Learning.
- CFA Institute. (2023). Financial Reporting and Analysis. CFA Program Curriculum.
- Penman, S.H. (2013). Financial Statement Analysis and Security Valuation. McGraw-Hill Education.