Margin Comparison Calculator
Compare gross margin, operating margin, and net profit margin side by side to identify where your business loses profitability.
Did this tool work for you?
How to use this calculator
Gross profit removes direct production costs. Operating profit further removes operating expenses like salaries, rent, and marketing. Net profit is after taxes. Each margin percentage shows how much of each revenue dollar survives to that profit level.
- 1
Enter your total revenue for the period (monthly, quarterly, or annual).
- 2
Add cost of goods sold: direct materials, manufacturing labour, and delivery costs.
- 3
Enter total operating expenses: salaries not in COGS, rent, marketing, software subscriptions, and admin costs.
- 4
Compare the three margin percentages — the gap between gross and net margin reveals your overhead burden.
Frequently asked questions
What is a good gross margin by industry?
SaaS: 70–85%. E-commerce: 30–50%. Retail: 20–40%. Manufacturing: 25–35%. Professional services: 50–70%. Restaurants: 60–70% on food cost, but 5–10% net margin. Always compare your margins to your specific industry benchmark, not a general figure.
What is the difference between gross and net margin?
Gross margin removes only direct costs of production. Net margin removes all costs including operating expenses and taxes. A company can have a 70% gross margin but a 5% net margin because of high operating expenses like R&D, sales, and marketing.
How do I improve gross margin without raising prices?
Renegotiate supplier contracts, optimise product mix toward higher-margin items, reduce waste in production, automate manual steps in delivery, or switch to cheaper but equivalent components. Even a 2–3 percentage point improvement in gross margin falls directly to operating profit.
Should COGS include shipping costs?
If you pay shipping to get the product to customers, it depends on your accounting policy. Most e-commerce businesses include outbound shipping in COGS if it is billed to customers, or in operating expenses if absorbed. Be consistent — the important thing is that your margin percentages are comparable period to period.
Margin Comparison Calculator — Gross, Operating & Net Profit Margin
Why All Three Margins Tell Different Stories
Gross margin shows the efficiency of your core product or service delivery. A software company with 80% gross margin has enormous pricing power. A retailer at 30% gross margin has much tighter constraints. Operating margin adds the overhead layer — companies with high gross margins can still destroy profitability through excessive headcount or marketing spend. Net margin is the final verdict: how much of every revenue dollar the business actually keeps after all costs and taxes.
Using Margin Analysis to Make Better Business Decisions
Comparing margins over time reveals trends before they become crises. Falling gross margin suggests rising input costs or pricing pressure. Falling operating margin with stable gross margin points to overhead bloat. Falling net margin with stable operating margin suggests a growing tax burden or interest expense. Run this comparison quarterly and track the year-over-year trend, not just absolute values, to catch margin compression early.
Learn more from an authoritative source:
InvestopediaProfit & Loss Calculator
Calculate net profit or loss, profit margin, and break-even from revenue and cost data.
Employee Cost Calculator
Calculate the true total cost of an employee including salary, benefits, and employer overhead.
Cash Flow Calculator
Calculate operating, investing, and financing cash flows to assess business liquidity.
Inventory Turnover Calculator
Calculate inventory turnover ratio, days sales of inventory (DSI), and assess efficiency.
Results are estimates for informational purposes only and do not constitute professional financial, medical, legal, or technical advice. Read full disclaimer →