atSpark
  • Home
  • AI Assist
  • How it works
  • Pricing
  • Blog
Get started
SaaS glossary · Unit economics

Gross Margin

Also known as: gross profit margin

Gross Margin is the percentage of revenue left after subtracting the direct cost of delivering the product or service (cost of goods sold).

01

What is Gross Margin?

Gross margin determines how much of each revenue dollar is available to fund growth, R&D, and profit. It's why software is such an attractive business model — and it's the multiplier inside LTV and payback calculations.

ƒ

How to calculate Gross Margin

Gross Margin = (revenue − cost of goods sold) ÷ revenue × 100
›

Worked example

You earn $1,000,000 in revenue and your COGS (hosting, support, payment fees) is $200,000. Gross Margin = ($1,000,000 − $200,000) ÷ $1,000,000 = 80%.

★

What's a good Gross Margin?

Healthy SaaS gross margins run 75–85%. Below ~70% usually signals heavy infrastructure or services costs that dilute the software model.

?

Frequently asked questions

What counts as COGS for SaaS?

Hosting and infrastructure, customer support, payment processing, third-party data/API costs, and the portion of DevOps that keeps the service running. Not sales, marketing, or R&D.

Why does gross margin matter for valuation?

Higher gross margin means more cash to reinvest per dollar of revenue, which supports faster, more efficient growth — and higher revenue multiples.

✦

Related metrics

Rule of 40 The Rule of 40 states that a healthy SaaS company's revenue growth rate plus its profit ma... Customer Lifetime Value (LTV) Customer Lifetime Value (LTV) is the total gross profit a business expects to earn from a ... CAC Payback Period CAC Payback Period is the number of months it takes for the gross profit from a customer t... Burn Rate Burn Rate is the rate at which a company spends its cash reserves, usually expressed per m...

Track Gross Margin automatically

atSpark calculates Gross Margin and 150+ other SaaS metrics from your live Stripe, HubSpot, QuickBooks, and Zoho data — and answers questions about them in plain English.

Get started free
✦ ← Back to the SaaS glossary
atSpark

The AI analyst for SaaS revenue & finance. Unified billing, CRM & subscriptions, plain-English answers.

Product

  • AI Assist
  • What you get
  • How it works
  • Integrations
  • Pricing

Solutions

  • For CFOs
  • For RevOps
  • For finance teams

Compare

  • vs spreadsheets
  • vs Mode
  • vs Looker

Resources

  • Blog
  • SaaS glossary
  • Free calculators
  • MRR calculator
  • Churn calculator
  • LTV calculator
  • Security
  • Embed Portal ↗
© 2026 atSpark. Made with care.
Security Privacy Terms Contact