Optimized Sales Optimized Marketing Target Accounts For CROs For CFOs For CMOs Blog News Glossary Compare Tools About Schedule a Demo
Free Tool

Net Profit Margin Calculator

ORM Technologies
Home/ Tools/ Net Profit Margin Calculator

Net profit margin is net income divided by revenue, times 100: the share of each sales dollar left after every cost, interest and tax. A company with $450,000 of net income on $20,000,000 of revenue has a 2.25% net margin. Growth-stage SaaS companies often run a negative net margin on purpose.

Enter one period of your income statement, a year or a quarter. The defaults are illustrative numbers for a $20M B2B SaaS company. Depreciation, amortization and restructuring stay inside the cost lines where you report them.

Revenue and operating costs

Hosting, support, services delivery
Plus any other operating expense lines

Below operating income

Negative if other items are a net loss
Negative for a tax benefit

Already inside the costs above (for the adjusted margin)

Costs positive, one-time gains negative
Net profit margin
2.25%
$450,000 of net income on $20,000,000 of revenue

The Forecast Brief

Get The Forecast Brief

You just worked out your net profit margin, with gross and operating margin next to it. The Forecast Brief is a short email from Pete Furseth, ORM's COO, built on what ORM sees in its customers' forecasts.

Net profit margin formulas, with Excel and Google Sheets versions

Each result in the calculator comes from one of these formulas. The examples use the default numbers, an illustrative B2B SaaS company with $20,000,000 of revenue.

MeasureFormulaExcel or SheetsExample (illustrative)
Net profit marginNet income / revenue x 100=(B2-B3-SUM(B4:B6)+B7-B8-B9)/B2$450,000 / $20,000,000 = 2.25%
Gross margin(Revenue - cost of revenue) / revenue=(B2-B3)/B2$15,600,000 / $20,000,000 = 78.0%
Operating margin(Gross profit - operating expenses) / revenue=(B2-B3-SUM(B4:B6))/B2$400,000 / $20,000,000 = 2.0%
Pretax margin(Operating income + interest income and other - interest expense) / revenue=(B2-B3-SUM(B4:B6)+B7-B8)/B2$600,000 / $20,000,000 = 3.0%
Effective tax rateIncome tax / pretax income=B9/(B2-B3-SUM(B4:B6)+B7-B8)$150,000 / $600,000 = 25.0%
Net margin excluding SBC and one-time items(Net income + stock-based compensation + one-time items) / revenue=((B2-B3-SUM(B4:B6)+B7-B8-B9)+B10+B11)/B2$2,450,000 / $20,000,000 = 12.25%
Net income needed for a target marginRevenue x target margin=B2*C1$20,000,000 x 10% = $2,000,000

B2 is revenue, B3 cost of revenue, B4 to B6 sales and marketing, R&D and G&A, B7 interest income and other items (net), B8 interest expense, B9 income tax, B10 stock-based compensation and B11 one-time items, both already counted inside B3 to B6. C1 is the target margin as a percentage. Format the margin cells as percentages. If revenue can be blank, wrap each division in IFERROR so the sheet shows a blank instead of an error.

How to calculate net profit margin, step by step

  1. Pick one period. A fiscal year, a quarter or a trailing twelve months. Revenue and net income must cover the same dates.
  2. Start from recognized revenue. Use revenue on the income statement, not bookings or billings. Annual contracts billed upfront are earned month by month.
  3. Subtract cost of revenue. That gives gross profit and gross margin.
  4. Subtract operating expenses. Sales and marketing, R&D, G&A and restructuring give operating income.
  5. Add or subtract the items below the line. Interest earned on cash, interest paid on debt, investment gains and losses, then income tax. The result is net income.
  6. Divide by revenue. Net income / revenue x 100 is net profit margin. A loss gives a negative margin.
  7. Check what moved it. Look for stock-based compensation, one-time charges and tax entries before you compare it with last year or with peers.

Gross, operating and net margin from one P&L

Net margin is the last of four margins on the income statement. Each one answers a different question, and reading them together tells you where the money goes. ORM's glossary entry on gross margin vs net margin covers the difference in words. Here it is in numbers, per $100 of revenue in the default example.

LinePer $100 of revenueMarginWhat it tells you
Revenue$100.00100%The base for every margin
Cost of revenue-$22.00What delivery costs
Gross profit$78.0078.0% gross marginWhether the product is profitable to deliver
Sales and marketing, R&D, G&A-$76.00What running and growing the company costs
Operating income$2.002.0% operating marginWhether the business model works
Interest and other, net+$1.00How the company is financed
Pretax income$3.003.0% pretax marginProfit before tax
Income tax-$0.75Tax for the period, including benefits
Net income$2.252.25% net profit marginWhat belongs to shareholders

The gap between operating and net income is where the surprises live. A large cash balance earns interest, debt costs interest, and tax can swing on entries that have nothing to do with this year's trading. ORM's guide to operating income vs net income walks through that bridge with two 10-K examples. Two other margins are often confused with these: EBITDA margin, which adds back depreciation and amortization (the EBITDA calculator works it out from the same P&L), and contribution margin, which subtracts only variable costs and is the one to use for pricing and unit economics.

Worked example: a $20M SaaS company with a 2.25% net margin

These are the calculator's default numbers. The company and every figure are illustrative.

  • Gross margin. Revenue is $20,000,000 and cost of revenue $4,400,000, so gross profit is $15,600,000, a 78.0% gross margin.
  • Operating margin. Sales and marketing ($8,000,000), R&D ($4,600,000) and G&A ($2,600,000) add up to $15,200,000, 76% of revenue. Operating income is $400,000, a 2.0% operating margin.
  • Pretax margin. $300,000 of interest income and other items, less $100,000 of interest expense, gives pretax income of $600,000, 3.0% of revenue.
  • Net margin. Income tax of $150,000 is a 25.0% effective rate. Net income is $450,000, so net profit margin is 450,000 / 20,000,000 = 2.25%.
  • Adjusted view. Inside those costs are $1,800,000 of stock-based compensation and $200,000 of one-time restructuring. Adding both back gives $2,450,000, a 12.25% net margin before any tax effect. Same company, two numbers, so say which one you are showing.

To build these lines month by month, with budget and variance columns, use ORM's free profit and loss template. To find the revenue at which net income reaches zero, the break-even calculator splits the same costs into fixed and variable costs.

Why SaaS net margins are often negative, by design

A subscription company pays for sales and marketing when it signs a customer, then earns the revenue over the following one to three years. The faster it grows, the more of this year's spend is buying next year's revenue, and the lower this year's net margin. Stock-based compensation adds to it: it costs no cash, but it is a real expense in the GAAP numbers.

Okta shows the path from loss to profit in its fiscal 2026 10-K, which covers three fiscal years ended January 31 (Okta, Form 10-K, fiscal 2026). Margins are calculated from the reported figures in millions of dollars.

Okta, fiscal year ended January 31202420252026
Revenue ($M)2,2632,6102,919
Gross margin74.3%76.3%77.4%
Sales and marketing, % of revenue45.8%37.0%34.9%
Operating margin-22.8%-2.8%5.1%
Net income (loss) ($M)-35528235
Net profit margin-15.7%1.1%8.1%
Stock-based compensation, % of revenue30.2%21.6%18.6%

Gross margin moved three points. Net margin moved almost 24. Nearly all of the change came from operating expenses growing slower than revenue: sales and marketing fell from $1,036 million to $1,018 million while revenue rose $656 million. Net income was also above operating income each year, because interest and other income on Okta's cash and investments added $106 million to $179 million a year, including a $106 million gain on early extinguishment of debt in fiscal 2024.

So a negative net margin in a SaaS company is not, by itself, a problem. The questions are whether gross margin is healthy, whether the spend is buying durable revenue, and whether there is cash to fund the losses until it does. The burn rate calculator answers the last one, and the free cash flow calculator shows how far cash profit can sit from net income. The Rule of 40 is the usual way to weigh growth against margin.

GAAP vs non-GAAP net margin, and one-time items

Public software companies report net income under GAAP, then most also report a non-GAAP version that takes out stock-based compensation, amortization of acquired intangibles, restructuring and similar items, and recalculates tax. The two margins can be far apart, in either direction.

DocuSign's fiscal 2026 10-K shows both (DocuSign, Form 10-K, fiscal 2026). Margins are calculated from the reported figures.

DocuSign, fiscal year ended January 3120252026
Revenue ($M)2,976.73,219.5
GAAP operating margin6.7%9.3%
GAAP net income ($M)1,067.9309.1
GAAP net profit margin35.9%9.6%
Stock-based compensation ($M)605.5622.3
Non-GAAP net income ($M)747.2803.2
Non-GAAP net margin25.1%24.9%

In fiscal 2025, GAAP net margin was above non-GAAP. The filing explains that the tax line swung mainly because of "the $837.3 million benefit recognized during the year ended January 31, 2025 for the release of our U.S. federal and state valuation allowances." The company concluded it would earn enough to use past tax losses and booked their value at once. Its operating margin that year was 6.7%. In fiscal 2026 the benefit was gone and GAAP net margin fell to 9.6%, while non-GAAP net margin stayed near 25%. For its non-GAAP tax, DocuSign uses a fixed projected rate, 21% for fiscal 2026.

Neither number is the "real" one. GAAP net margin is the audited result. Non-GAAP shows the trend without stock compensation and one-off entries, but stock compensation is still a cost to shareholders. The calculator's adjusted card adds back stock-based compensation and one-time items without recalculating tax, so treat it as a quick view, not a non-GAAP figure you would publish.

What is a good net profit margin? Benchmarks by industry

Aswath Damodaran at NYU Stern publishes margins for US public companies by industry. The January 2026 update covers 5,994 firms (Damodaran, Margins by Sector (US), January 2026). Each industry figure is total net income divided by total sales, so the largest companies weigh most.

Industry (number of firms)Gross marginPretax operating marginNet marginStock comp / sales
Software, system and application (309)71.72%32.98%25.49%7.83%
Software, entertainment (77)66.45%33.85%29.93%7.50%
Software, internet (29)62.58%3.69%-0.93%14.87%
Information services (15)34.08%11.89%6.53%1.62%
Computer services (64)24.26%7.41%4.45%0.86%
Semiconductor (66)58.97%35.33%30.45%5.04%
Restaurant and dining (64)32.24%15.79%9.37%1.37%
Retail, grocery and food (15)26.31%2.29%1.32%0.26%
Total market (5,994)37.76%12.82%9.74%1.57%
Total market without financials (4,822)34.39%13.14%8.56%1.51%

Of the 94 industries in the dataset, 13 had a net margin of 20% or more and 10 had a negative one. The highest was semiconductors at 30.45%. So 20% is high for almost anyone, and a sustained 50% would be far outside any industry's aggregate.

Read the software rows with care. The system and application software group is dominated by large, mature companies, and their margin says little about a private SaaS company growing 40% a year. The internet software group shows how far apart software models can be: a 62.58% gross margin and a -0.93% net margin, with stock compensation at 14.87% of sales. For a growth-stage company, compare net margin with your own plan and with last year, and judge it next to growth.

What Pete Furseth sees in SaaS net margin

  • Discounts fall straight to the bottom line. Pete's point on pulling deals forward is that it usually costs twice: price erodes because the deal is discounted, and next quarter starts with less pipeline, so you spend more to rebuild it (q28). In the default example, one $200,000-a-year contract signed at a 20% discount takes $40,000 a year off revenue and the same $40,000 off pretax income, because no cost goes down. Revenue falls 0.2%; pretax income falls 6.7%.
  • Price pressure shows up in deal size first. When a new competitor enters a market, Pete sees average deal size fall (q2). Costs stay where they are, so a smaller average deal lowers gross and net margin together.
  • Sales cost is the biggest lever. Pete reports that ORM's capacity optimization models typically find 10% to 15% lower sales cost for the same revenue target, or 10% to 15% more productive capacity for the same budget (q40). On the default $8,000,000 sales and marketing line, 10% would add $800,000 to pretax income. That figure is illustrative; actual results depend on the company.
  • One number, one definition. "If you show one number on one slide, that number better show up on the next, or there should be a clear explanation for why it changed" (q30). Label net margin as GAAP or adjusted every time, and keep the bridge between them on the same page.

Common net profit margin mistakes

  • Dividing by bookings or ARR. Net margin uses recognized revenue for the same period as net income.
  • Mixing periods. A quarter's net income over a year's revenue gives a quarter of the right answer.
  • Comparing GAAP with non-GAAP. A peer's adjusted margin against your GAAP margin can be 15 points apart, as DocuSign's two margins were in fiscal 2026.
  • Missing one-time items. A tax benefit, a gain on debt or an investment sale can make one year look far better than the business is.
  • Leaving stock-based compensation out quietly. If you add it back, say so. It is a cost even when it is not cash.
  • Confusing margin and markup. Margin divides profit by revenue. Markup divides profit by cost, so on a profitable sale it is always the larger number.

This calculator is for planning and analysis. It is not accounting, tax or legal advice; your auditor and tax advisor decide how each item is classified and taxed.

ORM's take on net margin and the bookings forecast

In a SaaS company most costs are set months ahead: headcount, hosting commitments, marketing programs. Revenue is the line that moves. So the net margin in an operating plan is mostly a revenue forecast with costs attached, and when bookings come in below plan, net margin misses by much more than revenue does.

That is the part ORM works on. We build bookings and ARR forecasts from your own CRM data, with a low case, an on-target case and an upper bound, so finance can see the margin range before the quarter starts, not after. ORM targets 95% accuracy on the forecasts it builds.

Common questions

How do you calculate net profit margin (%)?

Divide net income by revenue for the same period, then multiply by 100. Net income is what is left after cost of revenue, operating expenses, interest, other gains and losses, and income tax. With $450,000 of net income on $20,000,000 of revenue, net profit margin is 450,000 / 20,000,000 x 100 = 2.25%. In Excel or Google Sheets, put net income in B1 and revenue in B2 and use =B1/B2, formatted as a percentage.

What is a good net profit margin ratio?

It depends on the industry, so compare with your own sector. In Aswath Damodaran's January 2026 data for 5,994 US public companies, the whole market's net margin was 9.74%, and 8.56% without financial firms. Software (System & Application) companies were at 25.49% in aggregate, while Software (Internet) was at -0.93%. For a growth-stage SaaS company, a small or negative margin can be a choice, not a failure.

Is 20% a good net profit margin?

Yes, for almost any industry. In Damodaran's January 2026 dataset, only 13 of 94 US industries had an aggregate net margin of 20% or more, and the market as a whole was at 9.74%. Mature software is one of the few groups above it: Software (System & Application) was at 25.49%. Before you celebrate, check that a one-time item, such as a tax benefit or a gain on selling an investment, is not doing the work.

Is a 50% net profit margin good?

It is very high, and it is worth checking how it was reached. No US industry in Damodaran's January 2026 data had an aggregate net margin near 50%; the highest was semiconductors at 30.45%. A 50% margin in one year often includes a one-time gain or tax benefit. DocuSign's net margin was 35.9% in fiscal 2025, helped by an $837.3 million tax benefit, and 9.6% the next year.

What is the difference between net profit margin and gross profit margin?

Gross profit margin subtracts only the cost of delivering the product: revenue minus cost of revenue, divided by revenue. Net profit margin subtracts everything: cost of revenue, sales and marketing, R&D, G&A, interest and tax. In the calculator's default example, gross margin is 78.0% and net margin is 2.25%. The 75.75 points between them are the operating expenses, interest and tax that run the company.

What does a negative net profit margin mean?

It means the company lost money in the period: costs, interest and tax were larger than revenue. A margin of -15% means it lost 15 cents for every dollar of sales. In growth-stage SaaS that is often planned, because sales and marketing is paid now for subscriptions earned over later years. Okta reported a -15.7% net margin in fiscal 2024 and 8.1% two years later, as sales and marketing fell from 46% to 35% of revenue.

See the revenue behind your margin plan

Costs are set months ahead. Revenue decides the margin. ORM forecasts the bookings.

Schedule a Demo

More free tools