Skip to content
MarginMeter

Gross margin

Gross margin definition for SaaS and AI founders: what it means, how to calculate it, and common pitfalls when reading it in dashboards.

Gross margin tells you how many cents of each revenue dollar you keep after paying to deliver the product.

Formula

Gross margin % = (Revenue − COGS) ÷ Revenue × 100

In practice

Never average daily margins — sum revenue and COGS over the period, then divide. Margin is undefined when revenue is zero or negative. Learn how to calculate it.

See your real margin in five minutes.

Connect Stripe and your cost providers with read-only access. Free for two connections — no card required.