Quick answer
Net margin, or net profit margin, is net income divided by revenue, expressed as a percentage: the share of each sale a business keeps after cost of goods sold, operating expenses, interest and income tax. A negative net margin means the company lost money in the period.
Formula: Net margin = Net income ÷ Revenue × 100%
What is net margin?
Net margin, or net profit margin, is the share of revenue a business keeps as profit after every expense has been paid: cost of goods sold, operating expenses such as sales, marketing, R&D and administration, interest and income tax. It is net income divided by revenue, expressed as a percentage, and it sits on the last line of the income statement, which is why net income is called the bottom line.
A net margin of 10% means that from every $100 of revenue, $10 is left for the owners after all costs. A negative net margin means the business lost money in the period. The number answers a different question from gross margin, which only subtracts the direct cost of what was sold. The gap between the two is where most surprises live: a software company can have a 78% gross margin and still lose money, because the expenses that sit below gross profit are large.
Net margin formula
Net margin = Net income ÷ Revenue × 100%
- Revenue is net revenue: sales after returns, discounts and allowances.
- Net income is what remains after cost of sales, operating expenses, depreciation, interest and income tax, plus or minus any other income.
The U.S. Securities and Exchange Commission's beginner's guide to financial statements describes the same walk: net revenues minus cost of sales gives gross profit; minus operating expenses gives income from operations; after interest and income tax "you arrive at the bottom line: net profit or net losses". Each step has its own margin, so it helps to compute all of them together.
Worked example: SaaS vs online store
Sample data: two companies each book $2.4 million of revenue in a year. For the software company this is a steady $2.4M in annual recurring revenue recognized over the year; the online store sells physical products. All figures are in thousands of dollars and were recomputed in Python.
| Line ($ thousands) | SaaS company | % of revenue | Online store | % of revenue |
|---|---|---|---|---|
| Revenue | 2,400 | 100% | 2,400 | 100% |
| Cost of goods sold (hosting and support; products, shipping and fulfilment) | 528 | 22.0% | 1,320 | 55.0% |
| Gross profit | 1,872 | 78.0% | 1,080 | 45.0% |
| Sales and marketing | 1,080 | 45.0% | 600 | 25.0% |
| Research and development | 600 | 25.0% | 96 | 4.0% |
| General and administrative | 336 | 14.0% | 240 | 10.0% |
| Operating income | −144 | −6.0% | 144 | 6.0% |
| Interest income (expense) | 12 | 0.5% | −24 | −1.0% |
| Pre-tax income | −132 | −5.5% | 120 | 5.0% |
| Income tax | 8 | 0.3% | 25.2 (21% assumed) | 1.1% |
| Net income | −140 | −5.8% | 94.8 | 3.95% |
The software company has the higher gross margin, 78.0% against 45.0%, and the lower net margin, −5.8% against 3.95%. Sales and marketing alone (45% of revenue) plus R&D (25%) consume more than the entire gross profit. The SaaS company still pays a small tax bill despite a pre-tax loss, which is common when minimum or local taxes apply. Read the table from top to bottom and each margin explains one layer of cost; read only the last line and you cannot tell whether the problem is pricing, delivery cost or spending on growth.
What is a good net margin?
There is no single good number; it depends on the industry's cost structure. Aswath Damodaran at NYU Stern publishes margins by industry for U.S. listed companies. In the January 2026 dataset:
| Industry (number of firms) | Gross margin | Net margin |
|---|---|---|
| Software, system and application (309) | 71.72% | 25.49% |
| Software, internet (29) | 62.58% | −0.93% |
| Retail, general (23) | 33.18% | 5.61% |
| All U.S. listed companies (5,994) | 37.76% | 9.74% |
Two lessons for small companies: compare yourself with the right industry row, and remember these are mostly mature listed firms. A young SaaS business spending heavily on growth, like the example above, often runs a negative net margin by choice; the question is whether gross margin and retention will carry it to profit when growth spending slows.
Net margin vs gross, operating and contribution margin
| Margin | What is subtracted from revenue | Question it answers |
|---|---|---|
| Gross margin | Cost of goods sold only | Is each sale profitable before overheads? |
| Contribution margin | All variable costs, including variable selling costs | How much does each extra sale add toward fixed costs? |
| Operating margin | Cost of goods sold and operating expenses | Is the core business profitable? |
| EBITDA margin | Operating costs except depreciation and amortization | What is operating cash generation before capital costs? |
| Net margin | Everything, including interest and tax | What share of revenue do owners keep? |
Use gross and contribution margin to price and to judge channels, operating margin to judge the business model, and net margin to judge the company as a whole, including how it is financed and taxed.
How to improve net margin
Each lever acts on one line of the table:
- Raise prices or cut discounting. In the online store, a 5% price rise with unchanged volume adds $120,000 of revenue and, with no extra cost, lifts net income before tax from $120,000 to $240,000.
- Lower cost of goods sold. Cheaper fulfilment or hosting moves gross margin first.
- Spend on acquisition where it returns. Cut channels whose acquisition cost is above what customers bring back; this is where sales and marketing, the largest expense line in both examples, is decided.
- Reduce refunds and returns. They reduce net revenue directly.
- Watch financing costs. Interest expense sits between operating and net income; refinancing changes net margin without changing the business.
Common mistakes
- Using gross revenue. Net margin uses revenue after returns and discounts.
- Confusing margin with markup. A product bought for $60 and sold for $100 has a 40% margin and a 66.7% markup.
- Comparing across industries. A 4% net margin is weak for software and normal for general retail.
- Reading one quarter. One-off gains, write-offs or tax credits move net income; look at several periods.
- Treating ARR as revenue. ARR is a run rate; net margin uses revenue recognized in the period.
Revenue numbers for the net margin calculation in TapCub
TapCub does not do accounting and does not know your costs. It measures the revenue and acquisition side of the table above, which you then reconcile with your books.
- Track revenue from orders. Send a purchase event from your server with order id, amount and currency, and a refund event with the same order id. All-platform analytics › Business › Commerce & revenue shows revenue, orders, buyers and average order, converted into the site's base currency at the day's rate.
- Get net revenue right. Refunds are reported separately on that page and are not subtracted from revenue, so subtract them yourself before comparing with the accounting revenue line.
- Check the biggest expense line. Import ad spend by day, channel, source and campaign in All-platform analytics › Business › Channel ROI to see cost per acquisition (spend ÷ purchases) and return on ad spend per channel. That is where the store in the example decides which part of its $600,000 sales and marketing budget earns its place.
- Do the margin in the books. Take revenue and refunds from TapCub as a cross-check, and cost of goods sold, operating expenses, interest and tax from accounting, then compute net margin there.
Sources
- U.S. Securities and Exchange Commission, Beginners' Guide to Financial Statements.
- Aswath Damodaran, NYU Stern, Operating and net margins by industry (US), January 2026.
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Product Experience Specialist
Explores usability, user journeys, and feature adoption through practical examples of onboarding and everyday product use.