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.
See exactly how much revenue survives your direct costs — and whether your gross margin is strong enough to cover everything else.
Enter Revenue and COGS — results appear instantly
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 ErrorThis 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.
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.
| Industry | Typical Gross Margin | Signal |
|---|---|---|
| Software / SaaS | 60–80% | ✅ High — low COGS by design |
| Specialty Retail / Apparel | 40–60% | ✅ Healthy |
| General Retail | 20–40% | 🟡 Watch operating costs |
| Manufacturing | 20–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 Distribution | 15–25% | ⚠️ Volume-dependent |
| Professional Services | 50–70% | ✅ Labor is the main cost |
Source: NYU Stern Damodaran industry averages, updated Q1 2026. See full benchmark table →