Gross Margin Calculator
Calculate gross margin percentage, gross profit, and effective markup instantly. Free gross margin calculator with industry benchmarks — no signup required.
Ready to calculate
Enter your revenue and cost of goods sold to see your gross margin and industry comparison.
How to Use This Gross Margin Calculator
- Enter your revenue — the total sales income for the period you want to analyze.
- Enter your cost of goods sold (COGS) — the direct costs of producing or purchasing the goods you sold.
- See your results instantly — gross margin %, gross profit, effective markup %, and how you compare to industry benchmarks.
The calculator auto-calculates as you type and includes a visual industry benchmark comparison so you can see where you stand.
The Formula
Gross Profit = Revenue - COGS
Gross Margin % = (Gross Profit / Revenue) × 100
Effective Markup % = (Gross Profit / COGS) × 100
Example: Your business earns $50,000 in revenue with $30,000 in COGS:
- Gross Profit = $50,000 - $30,000 = $20,000
- Gross Margin = $20,000 / $50,000 = 40%
- Effective Markup = $20,000 / $30,000 = 66.67%
Gross Margin vs. Net Margin
These are related but very different metrics:
| Gross Margin | Net Margin | |
|---|---|---|
| What it measures | Revenue after direct costs (COGS) | Revenue after all costs |
| Formula | (Revenue - COGS) / Revenue | (Revenue - All Expenses) / Revenue |
| Includes | Materials, direct labor, manufacturing | COGS + rent, salaries, marketing, taxes |
| Typical range | 25–85% (varies by industry) | 5–20% for most businesses |
| What it tells you | Production/purchasing efficiency | Overall business profitability |
A healthy gross margin with a low net margin means your operating costs (rent, salaries, marketing) are eating into profitability — not your product costs.
Industry Benchmarks
| Industry | Gross Margin Range | Notes |
|---|---|---|
| Retail | 25–50% | Grocery lower (~25%), specialty higher (~50%) |
| Manufacturing | 25–35% | Heavy industry at the low end |
| Software / SaaS | 70–85% | Highest margins due to low marginal cost |
| Restaurants | 60–70% | Food cost is typically 28–35% of revenue |
| Services | 50–70% | Consulting and professional services |
If your gross margin falls below the typical range for your industry, investigate whether your pricing is too low, your supplier costs are too high, or your production process is inefficient.
Frequently Asked Questions
What is gross margin?
How do I calculate gross margin?
What is a good gross margin?
What is the difference between gross margin and markup?
Can gross margin be negative?
How can I improve my gross margin?
More Tools You Might Like
Markup Calculator
Calculate markup percentage, selling price, and profit margin instantly. Free markup calculator for small businesses — no signup required.
COGS Calculator
Calculate your cost of goods sold, gross profit, and gross margin instantly. Free COGS calculator for small businesses — no signup required.
Wholesale Price Calculator
Calculate wholesale price from unit cost and profit margin. See profit per unit, suggested retail, and markup — free.
Get notified of new tools
We build new free tools every week. Subscribe and never miss one.
No spam. Unsubscribe anytime.