Free profit margin calculator
Enter revenue, cost of goods sold, and operating expenses — this profit margin calculator returns gross margin, operating margin, and net margin with industry benchmarks, updated live, as you type.
On this page10 sections
Markup = profit ÷ cost. Margin = profit ÷ price. These are different numbers.
Results are estimates. Consult a professional.
How the profit margin calculator works
Profit margin measures how many cents of profit a business generates for each dollar of revenue. There are three standard margin metrics, each answering a different question about a business's financial health. Enter revenue and the relevant cost figures and the calculator returns gross margin, operating margin, and net margin — plus the dollar profit at each level.
Each margin strips away one more layer of costs: gross margin shows product-level profitability after direct production costs; operating margin adds overhead (salaries, rent, marketing, R&D) to reveal how efficiently the business model runs; net margin includes interest expense and taxes to show what actually flows to shareholders. A company can have a high gross margin and a negative net margin if overhead is out of control.
NYU Stern — Margins by Sector (Damodaran dataset, updated January 2024).Worked example: SaaS business with $2M revenue
A SaaS company reports annual revenue of $2,000,000. Cost of goods sold (hosting, support, third-party APIs) is $400,000. Operating expenses (sales, marketing, R&D, G&A) total $900,000. Interest expense is $50,000 and income taxes are $162,500.
Industry benchmark gross and net margins
Margins vary enormously by industry because of differences in capital intensity, pricing power, competitive dynamics, and cost structure. A 5% net margin is exceptional for a grocery chain and a failure for a software company. Use this table to calibrate what healthy margins look like for your sector before benchmarking your own numbers.
| Industry | Typical gross margin | Typical net margin | Key driver |
|---|---|---|---|
| SaaS / software | 60–80% | 15–25% | Low COGS; heavy R&D and sales spend |
| Retail (general) | 20–40% | 2–5% | High COGS, thin operating leverage |
| Restaurants | 65–75% | 3–9% | High labor and occupancy costs |
| Manufacturing | 30–40% | 5–10% | Capital-intensive; moderate pricing power |
| Healthcare services | 30–45% | 5–12% | Mix of high-margin procedures and overhead |
| Professional services | 35–60% | 10–20% | Low COGS; leverage on billable hours |
Source: NYU Damodaran Margins by Sector (2024); CSIMarket industry averages. Ranges reflect mid-size public companies; smaller private firms vary significantly.
Tips for analyzing and improving profit margins
Profit margins are a lens, not a verdict. A business with a 3% net margin may be executing brilliantly against its industry benchmark, while a 20% margin business may be underinvesting in growth. Context and trend matter as much as the absolute number.
- Track margin trend, not just margin level. A gross margin that compresses 2–3 percentage points per year signals pricing pressure, rising input costs, or a shift toward lower-margin products — all worth investigating before they flow through to net margin.
- Separate gross margin by product line. Aggregate gross margin can hide the fact that 20% of your products are subsidizing the other 80%. Segment-level gross margin analysis often reveals which products to grow and which to reprice or discontinue.
- Watch operating leverage carefully when scaling. Businesses with high fixed costs (manufacturing plants, software platforms) have high operating leverage — revenue growth beyond the break-even point flows to profit at a much higher rate. This makes scaling lucrative but downturns painful.
- Compare to peers, not just your history. Internal margin trends tell you if you are improving. Industry benchmarks tell you if you are competitive. A company improving from 3% to 5% net margin is making progress — but if peers average 18%, the business model may need rethinking.
- Net margin is the bottom line — but not always the right one. Capital-light businesses (software, consulting) are best compared on net margin. Capital-intensive businesses (manufacturing, real estate) are often better benchmarked on EBITDA margin or return on invested capital (ROIC), which neutralize differences in depreciation and financing.
Accuracy and limitations
Margin calculations are arithmetically straightforward given the inputs provided. Results are as accurate as the cost and revenue figures you enter. The critical challenge in real-world margin analysis is not the math — it is correctly categorizing costs. COGS must include only direct costs of production; shifting overhead into COGS inflates gross margin artificially, which is a recognized form of earnings management.
This calculator uses the standard accounting definitions of gross, operating, and net margin consistent with U.S. GAAP income statement presentation. It does not compute EBITDA margin, contribution margin, or segment-level margins. It also does not account for non-recurring items, restructuring charges, stock-based compensation, or other adjustments commonly made in non-GAAP reporting. For financial reporting, audit, or valuation purposes, always work from audited financial statements prepared by a licensed accountant.
Profit margin terms defined
About this profit margin calculator
This calculator runs entirely in your browser — nothing you enter is sent to any server.
Browse more in our business calculators, or explore the complete library on the free calculators page.