Glossary / Gross Margin

Gross Margin

Gross margin is the percentage of revenue remaining after subtracting the direct cost of producing the goods or services sold (COGS). It is calculated as (Revenue minus COGS) divided by Revenue. Gross margin measures pricing power and production efficiency; raising gross margin compounds across every dollar of revenue.

Formula

Gross margin (%) = (Revenue - COGS) / Revenue × 100

Example

If a business generates $100,000 in revenue and COGS is $40,000, gross profit is $60,000 and gross margin is 60%. If COGS rises to $50,000 next quarter, gross margin drops to 50% — every dollar of revenue is worth less.

Why it matters

Gross margin determines how much revenue can flow to operating expenses, R&D, and profit. SaaS businesses target 70-90% gross margin; e-commerce typically 30-60%; manufacturing often 20-40%. Knowing your industry benchmark matters.

Related terms

See Gross Margin on your own data

DashViz auto-tracks Gross Margin from your CSV and Excel exports today — native Stripe, QuickBooks, and Shopify connectors are on the roadmap. 14-day free trial, no credit card.