What This Calculator Does
Net profit margin is the percentage of revenue left after every expense is paid: cost of goods sold, operating expenses, interest, and taxes. It is the bottom line, expressed as a share of the top line. This calculator walks your income statement from revenue down to net profit and shows the margin at each level, so you can see exactly where your profit goes. A company with $500,000 in revenue and $125,000 in net profit has a 25% net margin. Of every dollar earned, 25 cents stays as profit.
Net margin is the most complete profitability ratio because it captures the full cost structure. Gross margin only reflects production efficiency. Operating margin adds overhead but excludes financing and taxes. Net margin includes everything, which makes it the number investors, lenders, and owners watch most closely. It is also the basis for valuation multiples in some industries and for return on equity calculations.
To see profitability before interest and taxes, use our EBITDA Calculator. For pricing-level profitability, our Margin Calculator handles gross margin. To check whether your margins support your cost structure, our Break-Even Calculator shows the volume you need.
Inputs Required
- Revenue: Total sales for the period
- Cost of Goods Sold (COGS): Direct production or acquisition costs
- Operating Expenses (SG&A): Sales, general, and administrative costs, including rent, salaries, and marketing
- Interest Expense: Cost of debt financing for the period
- Income Taxes: Total tax expense, federal and state
Outputs Provided
- Net Profit: Revenue minus all expenses, in dollars
- Net Profit Margin: Net profit divided by revenue, as a percentage
- Gross Margin: Gross profit divided by revenue
- Operating Margin: Operating income divided by revenue
- Effective Tax Rate: Taxes divided by pre-tax income
- Profit Build Up: Step by step walk from revenue to net profit
How the Calculation Works
Gross Profit = Revenue - COGS
Operating Income = Gross Profit - Operating Expenses
Pre-Tax Income = Operating Income - Interest Expense
Net Profit = Pre-Tax Income - Taxes
Net Profit Margin = (Net Profit / Revenue) x 100
Each step peels off a layer of cost. Gross profit removes what it costs to make the product. Operating income removes what it costs to run the business. Pre-tax income removes the cost of borrowing. Net profit removes what the government takes. The margin at each level tells you where profit is being gained or lost. If your gross margin is 50% but your net margin is 5%, the gap is in operating expenses, interest, or taxes. The build up makes that visible.
How to Use the Calculator
- Pull your income statement for the period you want to analyze
- Enter total revenue
- Enter COGS, the direct costs of producing or acquiring what you sold
- Enter total operating expenses, including salaries, rent, marketing, and admin
- Enter interest expense paid on debt during the period
- Enter total income taxes for the period
- Review the net profit, net margin, and the build up to see where profit flows
Example Calculations
Example 1: Consulting Firm
A consulting firm reports $800,000 in annual revenue, $100,000 in COGS (contractor costs and software), $400,000 in operating expenses (salaries, office, marketing), $20,000 in interest on a business loan, and $56,000 in taxes. Gross profit is $700,000 (87.5% gross margin). Operating income is $300,000 (37.5% operating margin). Pre-tax income is $280,000. Net profit is $224,000. Net margin is 28%. That is strong for a professional services firm, which typically runs 10% to 20% net margin.
Example 2: Retail Store
A retail store reports $1.2 million in revenue, $720,000 in COGS, $350,000 in operating expenses, $30,000 in interest, and $20,000 in taxes. Gross profit is $480,000 (40% gross margin). Operating income is $130,000 (10.8% operating margin). Pre-tax income is $100,000. Net profit is $80,000. Net margin is 6.7%. General retail averaged around 5.6% net margin in NYU Stern's January 2026 sector data, so this store is slightly above average for its sector.
Real World Scenarios
Diagnosing a Margin Squeeze
A distributor sees net margin drop from 8% to 4% over a year. Revenue held steady at $5 million. Using the calculator, the owner enters the current year figures and finds gross margin unchanged at 25%, but operating margin fell from 12% to 9%. The problem is in operating expenses, not pricing or COGS. Digging into the expense lines, she finds that shipping costs rose $150,000 after a carrier rate increase. The 3-point operating margin drop traces directly to one cost category. Without the layer by layer build up, she might have assumed the squeeze came from discounting or supplier price hikes.
Comparing Loan Options
A manufacturer is choosing between two loans. Option A is a $500,000 loan at 9% interest. Option B is a $500,000 loan at 7% but requires a $25,000 upfront fee amortized over the loan term. The company has $2 million in revenue, $1.1 million in COGS, $600,000 in operating expenses, and pays $95,000 in taxes on pre-tax income. With Option A, interest is $45,000, pre-tax income is $255,000, net profit is $160,000, and net margin is 8%. With Option B, interest is $35,000 plus roughly $5,000 in fee amortization treated as interest, so pre-tax income is $260,000, net profit is $165,000, and net margin is 8.25%. The lower-rate loan adds 0.25 points to net margin, or $5,000 per year. The calculator makes the comparison concrete.
Benchmarking Against Industry
A software company reports $4 million in revenue and $600,000 in net profit, a 15% net margin. The owner reads that software (system and application) companies averaged about 25% net margin in NYU Stern's January 2026 data. His company is 10 points below the sector. He uses the calculator to test where the gap is. His gross margin is 70%, matching the sector. His operating margin is 20%, below the sector's roughly 33%. The gap is in operating expenses, specifically sales and marketing spend, which is 45% of revenue versus a sector norm near 30%. The diagnosis points him toward sales efficiency as the lever to close the margin gap.
Common Mistakes to Avoid
- Confusing net margin with gross margin: Gross margin only removes COGS. Net margin removes everything. A 50% gross margin can become a 3% net margin after overhead, interest, and taxes. Always specify which margin you mean
- Comparing margins across very different industries: A 6% net margin is normal in grocery retail and weak in software. NYU Stern's January 2026 data shows net margins ranging from about 1% in grocery to over 25% in software. Benchmark against your sector
- Ignoring one-time items: A large legal settlement or asset sale can distort a single period's net margin. Look at multi-year trends and strip out non-recurring items when comparing periods
- Forgetting that margin does not equal cash: Net profit includes non-cash items like depreciation. A company can show a healthy net margin while burning cash if receivables grow or inventory builds. Check the cash flow statement alongside the income statement
Limitations of This Calculator
This calculator computes net profit margin from five income statement inputs. It does not handle non-operating income (like investment gains), minority interest, or discontinued operations. It uses a simple effective tax rate rather than modeling deferred taxes or tax credits. It does not separate stock-based compensation, which some companies treat as a real expense and others add back. The margin benchmarks referenced are drawn from public company data and may not reflect private company results in your specific niche. For audited financial reporting or tax filing, use a CPA. This tool is for operational analysis and quick benchmarking.
Authoritative Research & Resources
- Investopedia - Net Profit Margin - A clear definition of net profit margin, the formula, and how it differs from gross and operating margin.
- NYU Stern - Damodaran Margin Data by Sector (January 2026) - Professor Aswath Damodaran's updated dataset of gross, operating, and net margins by industry, the standard reference for sector benchmarking.
- SBA - Understanding Profit Margins - The Small Business Administration's guide to profit margins for small businesses, including how to improve them.