Free ForeverNo SignupAll Three MarginsUpdated 2026

Profit Margin Calculator

Calculate gross margin, operating margin, and net margin together โ€” the complete profitability picture from a single input form.

Profit margin is revenue minus costs, expressed as a percentage of revenue. The three key margins โ€” gross, operating, and net โ€” each strip away different cost layers to reveal where profitability is strong or weak. Reading all three together tells you more than any single margin alone.

All revenue for the period

$

Direct production costs: materials, hosting, payment processing

$

Salaries, rent, marketing, R&D, G&A โ€” all costs not in COGS

$

Interest expense plus income tax โ€” to get net profit margin

$

The Formula

Gross Margin = Gross Profit รท Revenue ร— 100 | Op. Margin = EBIT รท Revenue ร— 100 | Net Margin = Net Income รท Revenue ร— 100

In plain English

Gross Margin = (Revenue โˆ’ COGS) รท Revenue. Operating Margin = (Revenue โˆ’ COGS โˆ’ OpEx) รท Revenue. Net Margin = (Revenue โˆ’ COGS โˆ’ OpEx โˆ’ Interest โˆ’ Tax) รท Revenue.

Worked Example

Revenue: $1M. COGS: $200K. OpEx: $550K. Gross Margin = 80%. Operating Margin = 25%.

Reading the Margin Waterfall

The three margins form a waterfall โ€” each step removes another cost layer. Gross margin removes COGS; operating margin additionally removes operating costs; net margin removes financing and taxes. The gap between each margin tells you where costs are concentrated.

A high gross margin that collapses to a low operating margin signals excessive operating expenses (often sales, marketing, or R&D spend). A high operating margin that shrinks at net margin signals high debt service. Each gap points to a different management priority.

The Margin Diagnostic

Use margin analysis as a diagnostic: High GM, low OM โ†’ operating cost problem. Low GM โ†’ pricing or COGS problem. High OM, low NM โ†’ leverage / tax problem. All three strong โ†’ excellent business. Improving NM without improving GM โ†’ cost cutting that may harm growth. The relationships between the three margins tell a story.

Margin Improvement Priorities

The highest-leverage margin improvement is usually gross margin. A 10-percentage-point gross margin improvement (e.g., from 60% to 70%) flows directly through to operating and net margin โ€” it's not absorbed by any other cost layer. This is why pricing strategy and COGS optimisation deserve disproportionate attention.

Operating margin improvement through cost discipline is the second lever. Reducing operating expenses as a percentage of revenue (through productivity gains as revenue scales) is the engine of operating leverage โ€” the mechanism by which growing SaaS businesses improve from โˆ’20% to +20% operating margin as they scale.

70โ€“80%

Target gross margin for SaaS

20โ€“25%

Target operating margin for mature SaaS

10โ€“15%

Target net margin for profitable businesses

GM first

Gross margin is the highest-leverage improvement

All Three Margin Benchmarks for SaaS (2026)

Margin TypeHealthyExcellentWarning LevelStatus

Gross Margin

70โ€“80%80%+< 60%

Operating Margin

15โ€“25%25%+< 0%

Net Margin

10โ€“20%20%+< 0%

Source: OpenView SaaS Benchmarks 2025 ยท Bessemer Venture Partners State of the Cloud 2025

Common Mistakes

โš ๏ธ

Optimising net margin at the expense of gross margin

Cutting COGS through worse product quality or reliability may improve gross margin temporarily but ultimately harms churn and LTV. Gross margin improvements must be sustainable โ€” driven by efficiency, not quality degradation.

โš ๏ธ

Ignoring the margin trend during growth

A company with declining margins during strong revenue growth is a concern. Operating leverage should cause margins to improve as revenue scales, all else equal. If margins are falling during revenue growth, investigate whether fixed costs are growing too fast.

โš ๏ธ

Using revenue-weighted instead of unit-level margins

Blended margin analysis can mask wide variation across product lines, customer segments, or geographies. Always analyse margins at the product and segment level to identify which are dragging blended margins down.

Frequently Asked Questions

Related Calculators