Quick Answer: Gross margin = (Revenue − COGS) ÷ Revenue × 100. Enter your revenue and cost of goods sold below to instantly see your gross margin %, gross profit dollars, and how your result compares to your industry benchmark. All calculations run locally — nothing stored.

📊 Gross Margin Calculator

Gross Margin Calculator: Calculate COGS vs. Revenue

See exactly how much revenue survives your direct costs — and whether your gross margin is strong enough to cover everything else.

Gross Margin Calculator

Enter Revenue and COGS — results appear instantly

Privacy First: Calculations run in your browser. Your revenue and cost data is never stored.

💡 2026 Insight — Why Gross Margin Is Your Most Important Number

Your gross margin is the ceiling above which everything else must fit: your salaries, your rent, your marketing, your profit. A 30% gross margin means every dollar of overhead must come from that 30 cents. If your gross margin is under 40% in e-commerce, the 2026 fulfillment cost increases and rising CAC have almost certainly made your business unprofitable at the net level — even if revenue is growing.

Last Verified: May 2026 | Verified by: TheMarginCalculator.com Research Team | Report a Data Error
📋 Reviewed By

This calculator was reviewed by Marcus R., Lead Financial Analyst, who has verified the gross margin formula against GAAP accounting standards and cross-referenced industry benchmarks against NYU Stern Damodaran 2026 datasets. Meet the full team.

What Is Gross Margin?

Gross margin measures how much revenue remains after paying the direct costs of producing or acquiring your products or services. It is expressed as a percentage of revenue and is the foundation of every meaningful profitability analysis.

Unlike net margin, gross margin ignores operating expenses, interest, and taxes. This makes it the purest measure of whether your core product or service is profitable at the transaction level — before the rest of your business costs enter the picture.

Gross Margin = (Revenue − COGS) ÷ Revenue × 100
Example: $50,000 revenue − $30,000 COGS = $20,000 gross profit
Result: $20,000 ÷ $50,000 × 100 = 40% Gross Margin

Industry Gross Margin Benchmarks (2026)

IndustryTypical Gross MarginSignal
Software / SaaS60–80%✅ High — low COGS by design
Specialty Retail / Apparel40–60%✅ Healthy
General Retail20–40%🟡 Watch operating costs
Manufacturing20–40%🟡 Depends on automation
E-commerce (2026)35–50%+ recommended⚠️ CAC and fulfillment inflation require higher floor
Restaurants (food cost only)60–70%✅ But net is 3–9%
Grocery / Food Distribution15–25%⚠️ Volume-dependent
Professional Services50–70%✅ Labor is the main cost

Source: NYU Stern Damodaran industry averages, updated Q1 2026. See full benchmark table →

Frequently Asked Questions

Related Calculators