Esc
  • Jump to
  • The board
  • All launchesSort and filter by week or category
  • Open statsEvery number, in public
  • Maker storiesApps that stopped hiding
  • Submit a launch
  • AICategory
  • AnalyticsCategory
  • API & BackendCategory
  • Audio & VoiceCategory
  • AutomationCategory
  • CommunityCategory
↑↓ to move↵ to openPress / anywhere
Sign in

What is Gross Margin?

Gross margin is the percentage of revenue a software business keeps after subtracting the direct hosting, API, payment, and support costs required to deliver the product.

Updated · SaaS Metrics

Plain definition

Definition of Gross Margin

Gross margin is the percentage of revenue a software business keeps after subtracting the direct hosting, API, payment, and support costs required to deliver the product.

Formula / syntaxGross Margin (%) = ((Revenue - Cost of Goods Sold) / Revenue) x 100

Worked example

Say a made-up meeting transcription tool called VoiceLoom earns $4,000 in recognized monthly subscription revenue. Its direct delivery costs, known as Cost of Goods Sold (COGS), total $1,120: $620 for speech-to-text and LLM API tokens, $240 for cloud compute and audio file storage, $140 for payment processor fees, and $120 for transactional email and webhook infrastructure required to run active accounts. Subtracting $1,120 from $4,000 leaves $2,880 in gross profit, giving a gross margin of ($2,880 / $4,000) x 100 = 72.0%.

Costs that do not scale directly with delivering the product, such as $500 in search ads, $150 for bookkeeping software, and founder pay, sit in operating expenses below gross profit. Now watch how fast variable costs can shift unit economics: if VoiceLoom turns on a heavier AI summary model that adds $480/month in token bills at the same $4,000 revenue, COGS climbs to $1,600, gross profit falls to $2,400, and gross margin drops twelve points to 60.0% ($2,400 / $4,000).

Why it matters when you launch

Classic CRUD software often carries small per-user hosting bills, so founders sometimes forget to check variable costs until usage spikes. Modern apps powered by LLMs, voice APIs, scraping proxies, or GPU video rendering can lose money on their heaviest users if flat pricing sits too low.

Knowing your real gross margin on v1 protects your pricing tiers and feeds accurate numbers into LTV, CAC Payback Period, and valuation math. When one power user burns $28 in API credits on a $19/month unlimited plan, adding usage caps, credit packs, or a higher tier stops growth from eroding profit.

Common mistakes

  • Leaving out per-user AI token fees, SMS charges, or payment processor cuts when estimating COGS, which makes low-priced plans look profitable when they barely break even.
  • Mixing marketing ads, product development tools, or general office software into COGS instead of separating direct delivery expenses from operating overhead.
  • Setting unlimited usage on flat-rate launch tiers without measuring the variable cost of your top 5% heaviest accounts.
  • Quoting gross margin from a month when free cloud startup credits covered hosting bills, hiding the real margin drop once credits expire.

Tools and guides that use it

Official sources

Pritam Ghosh runs Hauntboard and maintains this glossary.

Published · Updated

Building something real? Launch it in public.

A person reviews every launch on Hauntboard, and every view and visit it sends your site is published on your launch page. Free to submit.

Launch free →

On the board

All →

Still hiding your app?

Put it on the board. Reviewed by a person, free to launch.

Launch free
Submit a launch