Gross, Operating & Net Margin
Last reviewed: May 2026
A profit margin calculator converts revenue and cost numbers into margin percentages — the most important metric for evaluating business profitability. While total profit tells you the dollar amount earned, margin tells you how efficiently you earn it. A $1M business earning $100K profit (10% margin) is less efficient than a $200K business earning $50K profit (25% margin). This calculator handles gross margin, operating margin, and net margin — three layers that reveal where profit is being made or lost.1
| Margin Type | Formula | What It Measures | Healthy Range |
|---|---|---|---|
| Gross Margin | (Revenue − COGS) ÷ Revenue | Production efficiency | 30–70% (varies by industry) |
| Operating Margin | (Revenue − COGS − OpEx) ÷ Revenue | Business operations efficiency | 10–25% |
| Net Margin | (Revenue − All Costs) ÷ Revenue | Bottom-line profitability | 5–20% |
| Industry | Avg Gross Margin | Avg Net Margin |
|---|---|---|
| Software/SaaS | 70–85% | 15–30% |
| Professional services | 50–70% | 10–20% |
| E-commerce | 40–60% | 5–15% |
| Manufacturing | 25–40% | 5–12% |
| Retail (general) | 25–35% | 2–5% |
| Restaurants | 60–70% | 3–9% |
| Grocery | 25–30% | 1–3% |
Margin and markup are related but not interchangeable. Margin = profit ÷ revenue. Markup = profit ÷ cost. A product costing $60 sold at $100 has a 40% margin but a 66.7% markup. Confusing the two is one of the most common pricing errors — a 50% markup yields only a 33% margin. Use our Markup vs Margin Calculator to convert between them.2
Two paths: increase revenue per unit (raise prices, upsell, reduce discounting) or reduce costs (negotiate supplier prices, improve operational efficiency, automate). A 1% improvement in margin on $1M revenue equals $10,000 in additional profit. In competitive markets where pricing is constrained, cost reduction is often the more actionable lever. Track margin trends monthly — declining margins despite growing revenue is a warning signal of scaling inefficiency.3
Profit margin measures what percentage of revenue a business retains as profit after expenses. Three distinct margins tell different stories about financial health. Gross profit margin (revenue minus cost of goods sold, divided by revenue) reveals production efficiency — how well a company manages direct costs like materials, manufacturing, and labor. Operating profit margin subtracts operating expenses (rent, salaries, marketing, R&D) from gross profit, showing how efficiently the business runs its core operations. Net profit margin — the bottom line — deducts everything including interest, taxes, and one-time charges, revealing the actual percentage of each revenue dollar that becomes profit. A company can have strong gross margins but weak net margins if overhead, debt service, or tax burdens are excessive. Tracking all three margins over time reveals where profitability problems originate.
| Industry | Gross Margin | Operating Margin | Net Margin |
|---|---|---|---|
| Software / SaaS | 70–85% | 20–35% | 15–30% |
| Retail (general) | 25–35% | 3–8% | 2–5% |
| Restaurants | 60–70% | 5–15% | 3–9% |
| Manufacturing | 25–35% | 8–15% | 5–10% |
| Healthcare services | 40–60% | 10–20% | 5–15% |
| Construction | 15–25% | 5–10% | 3–7% |
Industry benchmarks matter because comparing margins across industries is misleading. A grocery store with 3% net margin is performing well within its industry, while a software company at 3% would signal serious problems. Compare your margins against direct competitors and industry averages to assess performance accurately.
Every business has fixed costs (rent, salaries, insurance — expenses that remain constant regardless of sales volume) and variable costs (materials, shipping, commissions — expenses that scale with revenue). The ratio between these determines how margins behave as revenue changes. A business with high fixed costs and low variable costs (like a software company) has enormous margin expansion potential: once fixed costs are covered, each additional dollar of revenue flows almost entirely to profit. A business with high variable costs (like a retailer) sees margins remain relatively stable regardless of revenue volume because costs scale proportionally. Understanding your cost structure reveals the path to margin improvement — high-fixed-cost businesses should focus on growing revenue, while high-variable-cost businesses should focus on reducing per-unit costs through supplier negotiation, process efficiency, or scale-based purchasing discounts.
Markup and margin are frequently confused but mean different things. Markup is the percentage added to cost: a product costing $60 sold for $100 has a 66.7% markup ($40 profit ÷ $60 cost). Margin is the percentage of the sale price that is profit: the same product has a 40% margin ($40 profit ÷ $100 sale price). Setting prices using markup when your targets are expressed as margins — or vice versa — creates systematic pricing errors. A 50% markup yields only a 33.3% margin. A 50% margin requires a 100% markup. For accurate pricing, always convert between the two: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin). Use our Markup Calculator to convert between markup and margin instantly.
Margin improvement has two levers: increasing revenue per unit or decreasing cost per unit. Price increases directly improve margin if volume is not significantly affected — a 5% price increase with no volume loss drops entirely to the bottom line. Cost reduction through supplier renegotiation, process automation, waste reduction, or strategic outsourcing improves margins without risking customer relationships. Product mix optimization shifts sales toward higher-margin offerings — many businesses discover that 20% of their products generate 80% of their profit. Eliminating low-margin products that consume disproportionate operational resources often improves overall profitability despite lower top-line revenue. Overhead reduction (renegotiating leases, consolidating software subscriptions, optimizing staffing levels) improves operating margins without touching product pricing or direct costs. The most effective margin improvement programs address all three areas simultaneously and measure results quarterly. Use our Break-Even Calculator to understand how margin changes affect your breakeven volume.
Every pricing decision should be evaluated through its margin impact. Offering a 10% discount to close a sale reduces margin by 10 percentage points — on a product with a 30% margin, a 10% discount cuts margin to 20%, requiring 50% more unit volume to generate the same total profit. Volume discounts should be structured so that the margin reduction on discounted units is more than offset by the additional volume and the reduced per-unit overhead absorption. Businesses selling services should calculate their effective hourly margin (revenue per hour minus all allocated costs per hour) to ensure each project meets minimum profitability thresholds. Products or services consistently sold below target margin should either be repriced, redesigned for lower cost, or discontinued. Track margin by customer segment, product line, and sales channel to identify where profitability is concentrated and where it leaks.
Operating leverage measures how much profit increases for each dollar of additional revenue — a function of the fixed-to-variable cost ratio. A business with $100,000 in fixed costs, $20 variable cost, and a $50 selling price has high operating leverage: at 5,000 units, profit is $50,000; at 6,000 units (20% more sales), profit jumps to $80,000 (60% increase). This multiplier effect means high-fixed-cost businesses experience dramatic profit swings with relatively small revenue changes. Software companies, media businesses, and subscription services exhibit the highest operating leverage because their marginal cost of serving additional customers is near zero. Brick-and-mortar retailers with proportionally higher variable costs (inventory, staff per location) have lower operating leverage and more stable but less explosive profit growth. Understanding your operating leverage helps forecast how seasonal fluctuations, marketing campaigns, or market expansion will affect the bottom line. Use our Break-Even Calculator to model how volume changes cascade through your cost structure.
Every pricing decision should be evaluated through its margin impact. Offering a 10% discount to close a sale reduces margin by 10 percentage points — on a product with a 30% margin, a 10% discount cuts margin to 20%, requiring 50% more unit volume to generate the same total profit. Volume discounts should be structured so that the margin reduction on discounted units is more than offset by the additional volume and the reduced per-unit overhead absorption. Businesses selling services should calculate their effective hourly margin (revenue per hour minus all allocated costs per hour) to ensure each project meets minimum profitability thresholds. Products or services consistently sold below target margin should either be repriced, redesigned for lower cost, or discontinued. Track margin by customer segment, product line, and sales channel to identify where profitability is concentrated and where it leaks.
→ Track all three margins. Declining gross margin means production costs are rising. Declining operating margin means overhead is growing. Each tells a different story.
→ Compare against your industry. A 5% net margin is terrible in SaaS but strong in grocery. Context matters more than the absolute number.
→ Don't confuse margin with markup. A 50% markup = 33% margin. Use our Markup vs Margin Calculator to convert.
→ Monitor trends, not snapshots. Monthly margin trends reveal operational health. A single month's margin can be misleading.
See also: Markup vs Margin · Break-Even · ROI Calculator · Business Valuation
→ Track both gross and net margin. Gross margin (revenue minus COGS) shows product profitability. Net margin (after all expenses) shows business profitability. A healthy gross margin with a negative net margin means your overhead is too high.
→ Industry benchmarks vary wildly. Software companies average 70–85% gross margin. Grocery stores operate on 1–3% net margin. Restaurants average 3–9% net margin. Compare within your industry, not across industries.
→ Margin compression is a warning sign. If margins are shrinking quarter over quarter, investigate — rising supplier costs, excessive discounting, or increased competition. Use our Break-Even Calculator to recalculate your floor.
→ Small margin improvements compound. Improving net margin from 5% to 7% on $1M revenue adds $20K annual profit. Across multiple products and years, margin optimization is one of the highest-leverage activities.
See also: Markup Calculator · Break-Even · ROI Calculator · Discount Calculator