Gross Margin Calculator
Calculate gross margin percentage from revenue and cost of goods sold.
Enter Your Details
This calculator is for informational and educational purposes only. Results are estimates based on the information you provide and standard financial formulas. This is not financial advice. Consult a qualified financial advisor for decisions specific to your situation. Full Disclaimer
Things to Know
Essential concepts for understanding your results
FormulaHow is gross margin calculated?
Gross Margin = (Revenue − Cost of Goods Sold) ÷ Revenue × 100. A product selling for $80 with $30 in direct costs: ($80 − $30) ÷ $80 = 62.5% gross margin. Gross margin measures production efficiency — how much of each revenue dollar remains after paying for the product itself. It excludes operating expenses (rent, salaries, marketing). A healthy gross margin is the foundation for business profitability — you cannot overcome a bad gross margin with volume.
Industry BenchmarksWhat is a good gross margin?
Varies dramatically: Software/SaaS: 70-85%. Professional services: 50-70%. Retail: 25-50%. Restaurants: 60-70% (food cost 30-40%). Manufacturing: 25-40%. Grocery stores: 25-30%. Companies with high gross margins have more cushion for operating expenses and can invest more in growth. Compare to your industry median — being 5%+ below peers signals pricing or cost-structure problems.
Pricing ImpactHow does a 5% gross margin improvement affect profit?
A business doing $500,000 in revenue at 40% gross margin ($200,000 gross profit) with $170,000 in operating expenses: net profit = $30,000 (6% net margin). Improving gross margin to 45%: gross profit = $225,000, net profit = $55,000 — an 83% increase in profit from a seemingly modest 5-point gross margin improvement. This is why gross margin optimization is the most powerful lever for small business profitability.
What Is Gross Margin?
Gross margin measures the percentage of revenue remaining after subtracting the direct cost of producing your goods or services. It answers the fundamental business question: how much money do you keep from each dollar of sales before paying for overhead, marketing, rent, and other operating expenses?
Formula: Gross Margin = (Revenue - Cost of Goods Sold) ÷ Revenue × 100. If you sell a product for $50 and it costs $20 to make (materials, labor, shipping): gross margin = ($50 - $20) ÷ $50 = 60%. You keep 60 cents of every dollar in revenue to cover operating expenses and generate profit.
Gross margin is the first profitability metric every business should track. A healthy gross margin means you have room to cover overhead and still profit. A thin margin means even small increases in costs or decreases in pricing can push you into losses. For product businesses, target 50%+ for physical goods and 70%+ for digital/SaaS products.
Gross Margin by Industry
Healthy gross margins vary dramatically by industry. Knowing your industry's benchmarks helps you evaluate whether your pricing and cost structure are competitive:
Software/SaaS: 70-90%. Minimal cost per unit after development. The gold standard for scalable businesses. Below 60% suggests overspending on delivery infrastructure.
Professional services (consulting, legal, accounting): 50-70%. Primary cost is labor. Below 40% suggests underpricing or overstaffing.
E-commerce/retail: 40-60%. Physical products have material, manufacturing, and shipping costs. Below 30% makes it very difficult to cover marketing and overhead profitably.
Restaurants: 60-70% on food. Food cost (the inverse of gross margin on food) should be 28-35%. A $15 entrée should cost $4.50-$5.25 in ingredients. Beverage margins are much higher (75-85%).
Manufacturing: 25-40%. Heavy material and labor costs. Volume-dependent — larger production runs reduce per-unit cost and improve margins.
Grocery/supermarket: 25-35%. The thinnest margins of any retail sector. Profitability comes from volume and inventory turnover, not per-item margin.
Improving Your Gross Margin
Raise prices: A 10% price increase on a product with 50% margin increases gross margin to 55% — a 10% improvement in margin from a 10% price change. Small price increases have outsized margin impact because they flow directly to profit. Test price increases of 5-10% and measure volume impact — most businesses lose fewer customers than expected.
Reduce COGS: Negotiate with suppliers for volume discounts, find alternative materials, reduce waste, improve production efficiency, or source from lower-cost regions. Even a 5% reduction in COGS flows directly to margin improvement.
Change product mix: Shift sales toward higher-margin products. Bundle high-margin items with popular lower-margin items. Upsell premium versions with minimal incremental cost. A restaurant that increases beverage sales from 20% to 30% of revenue improves blended margin significantly because beverage margins are 75-85% vs 60-70% for food.
Frequently Asked Questions
The Weekly Financial Pulse
Every Monday: rate changes, one money move, calculator spotlight — in under 3 minutes. Free forever.
No spam, ever. Unsubscribe anytime.