Profitability · Free calculator for SaaS businesses

Profit Margin Calculator for SaaS Businesses

A profit margin calculator prefilled with an example for SaaS businesses. With the example inputs, gross margin is 83.33% and net margin is 10%. Change any field to use your own numbers.

Example inputs, not data. The example is one illustrative month: $15,000 of subscription revenue, $2,500 of hosting, third-party APIs and support tools, and $11,000 of other costs. Not a SaaS benchmark.

Materials, direct labor, payment fees: costs that scale with each sale.

Rent, software, salaries, marketing. Used for net margin.

We will show the price needed at your current cost.

Your result

Gross margin83.33%
Gross profit
$12,500.00
Net margin
10%
Net profit
$1,500.00
Markup on cost
500%
Price needed for 80% gross margin
$12,500.00

Estimate for information only, not financial, tax or legal advice.

What the example shows

With the example inputs, gross margin is 83.33% and net margin is 10%. The table keeps the other example inputs fixed and changes one, so you can see which lever matters most.

Revenue needed for each gross margin, at the example cost of goods sold ($2,500.00)
Target gross marginRevenue neededEquivalent markup on cost
30%$3,571.4342.86%
40%$4,166.6766.67%
50%$5,000.00100%
60%$6,250.00150%
70%$8,333.33233.33%
80% (example target)$12,500.00400%

Usually cost of goods sold (direct costs)

  • Hosting and infrastructure that scale with customers
  • Third-party APIs billed per use
  • Customer support tools and support staff (often)
  • Payment processing fees

Usually operating expenses

  • Product development salaries
  • Sales and marketing
  • Office, general software and admin
  • Accounting and legal

A note for SaaS businesses

Gross margin in software depends heavily on whether support and hosting are in cost of goods sold. Write down your choice so it stays consistent over time.

How the calculation works

  • Gross margin % = (Revenue − COGS) ÷ Revenue × 100
  • Net margin % = (Revenue − COGS − Opex) ÷ Revenue × 100
  • Markup % = (Revenue − COGS) ÷ COGS × 100
  • Price for target margin = COGS ÷ (1 − Target margin)

For information only, not financial, legal or tax advice. Results are estimates based on the numbers you enter. Last reviewed .

Frequently asked questions

Are developer salaries cost of goods sold?

Usually not; building the product is typically an operating expense. Costs to run and support the service for existing customers are the usual direct costs.

How do I compare monthly and annual plans?

Use revenue recognised for the month, not cash collected. An annual payment covers twelve months of service.

Are the example numbers averages for SaaS businesses?

No. They are illustrative inputs chosen to show how the calculation works, not averages, benchmarks or market figures for SaaS businesses. Replace every field with your own numbers.

Related guides