Profession Calculators

How to Calculate Profit Margin: Gross, Operating, and Net Explained

A practical guide for business owners, managers, and accountants

Your business generated $500,000 in revenue last year. That looks like success until you realize $480,000 of it covered costs. The problem is not revenue, it is margin. Gross margin, operating margin, and net margin each tell a different part of the story: where you are losing money on production, where overhead is eating your operating income, and what actually remains after everything is paid. Use our Profit Margin Calculator to calculate all three from your actual numbers.

What Is Profit Margin?

Profit margin is a ratio that shows what percentage of revenue remains as profit after subtracting various types of expenses. It is expressed as a percentage and is a key indicator of a company's financial health, pricing strategy, and operational efficiency. A higher margin indicates that a larger portion of each dollar in revenue translates to profit, while a lower margin suggests that costs consume a significant share of revenue.

The metric is used by business owners to assess profitability, by investors to evaluate company performance, and by lenders to assess creditworthiness. Margin varies widely by industry, so the most meaningful comparisons are against industry benchmarks or against your own historical performance. A 10% net margin might be excellent in a grocery store but poor in a software company.

Gross Profit Margin

Gross profit margin measures profitability after accounting for the direct costs of producing goods or services. These costs, called cost of goods sold (COGS), include materials, direct labor, and manufacturing overhead directly tied to production. Gross margin excludes selling, general, and administrative expenses, interest, and taxes. It focuses purely on the profitability of the core product or service.

The formula for gross profit margin is:

Gross Margin = ((Revenue - COGS) / Revenue) × 100

Gross margin is particularly important for businesses that sell physical products because it reveals whether pricing is adequate relative to production costs. A declining gross margin over time may indicate rising material costs, inefficient production, or pricing pressure from competitors.

Gross Margin Example

A manufacturer sells a product for $100. The direct materials cost $35, direct labor cost $20, and manufacturing overhead allocated to the product is $10. Total COGS is $65. Gross profit is $100 minus $65, or $35. Gross margin is $35 divided by $100, or 35%. For every dollar of revenue, 35 cents remains as gross profit after covering direct production costs.

Operating Profit Margin

Operating profit margin, also called operating margin, measures profitability after accounting for both COGS and operating expenses. Operating expenses include selling expenses, administrative expenses, research and development, and other costs of running the business that are not directly tied to production. Operating margin excludes interest and taxes, focusing on the profitability of core business operations.

The formula for operating profit margin is:

Operating Margin = (Operating Income / Revenue) × 100

Operating income is also called EBIT, or earnings before interest and taxes. Operating margin is a broader measure than gross margin because it includes the cost of running the business, not just producing the product. It is a better indicator of overall operational efficiency.

Operating Margin Example

Continuing the manufacturer example, revenue is $100 and COGS is $65, so gross profit is $35. Operating expenses include sales commissions of $5, administrative salaries of $8, and rent and utilities of $4. Total operating expenses are $17. Operating income is $35 minus $17, or $18. Operating margin is $18 divided by $100, or 18%. After covering both production costs and operating expenses, 18 cents of each revenue dollar remains as operating profit.

Net Profit Margin

Net profit margin measures profitability after accounting for all expenses, including COGS, operating expenses, interest, and taxes. It is the bottom-line margin that shows what percentage of revenue actually translates to net profit. Net margin is the most comprehensive measure of profitability because it includes every cost the business incurs.

The formula for net profit margin is:

Net Margin = (Net Income / Revenue) × 100

Net income is also called net profit or the bottom line. Net margin is affected by financing decisions (interest expense) and tax strategy, which are not captured in operating margin. Two companies with identical operating margins can have different net margins if one has more debt or operates in a higher-tax jurisdiction.

Net Margin Example

The manufacturer has operating income of $18. Interest expense on debt is $2, and income taxes are $4. Net income is $18 minus $2 minus $4, or $12. Net margin is $12 divided by $100, or 12%. After all costs including interest and taxes, 12 cents of each revenue dollar remains as net profit.

Industry Benchmarks

Profit margins vary significantly by industry due to differences in business models, competitive dynamics, and cost structures. Understanding industry benchmarks helps you assess whether your margins are healthy or need improvement.

IndustryTypical Gross MarginTypical Net Margin
Software / SaaS70% to 85%15% to 25%
Retail25% to 35%2% to 5%
Manufacturing30% to 45%5% to 10%
Restaurants60% to 70%3% to 7%
Construction15% to 25%2% to 6%

According to data from NYU Stern, the average net profit margin across all industries is approximately 7.5%. However, this masks significant variation. Technology companies often achieve net margins above 20%, while grocery stores and other high-volume, low-margin businesses may operate with net margins of 1% to 3%. Compare your margins to industry peers, but also track your own margins over time to identify trends.

Margin vs. Markup

Margin and markup are often confused, but they measure different things. Markup is the amount added to cost to determine selling price, expressed as a percentage of cost. Margin is the percentage of selling price that is profit. A 50% markup does not equal a 50% margin.

If a product costs $60 and you sell it for $100, the markup is $40 divided by $60, or 66.7%. The margin is $40 divided by $100, or 40%. The relationship between margin and markup is: Margin = Markup / (1 + Markup). Confusing the two can lead to pricing errors and margin erosion. Always calculate margin when assessing profitability, and use markup only when setting prices from cost.

Common Mistakes to Avoid

One mistake is focusing only on net margin and ignoring gross margin. Gross margin problems often surface before net margin problems. If your gross margin is declining, you have a pricing or production cost issue that will eventually hurt net margin. Monitor gross margin closely as an early warning system.

Another error is comparing margins across different business models without adjustment. A service business with low COGS will naturally have a higher gross margin than a manufacturing business with significant material costs. Compare margins to industry peers and to your own historical performance, not to businesses in completely different industries.

Finally, do not confuse margin with dollar profit. A business with $10 million in revenue and a 5% net margin earns $500,000 in profit. A business with $100,000 in revenue and a 20% net margin earns only $20,000. The second business has a higher margin but lower absolute profit. Both margin and absolute profit matter for business assessment.

Related Tools on ProfessionCalculators.com

In addition to the Profit Margin Calculator, these tools can help with profitability analysis:

Frequently Asked Questions

What is a good profit margin?

A "good" profit margin depends on your industry and business model. In general, a net margin above 10% is considered healthy for most businesses, while a net margin above 20% is excellent. However, high-volume, low-margin businesses like grocery stores operate profitably with net margins of 2% to 3%. Compare your margin to industry benchmarks published by sources like NYU Stern, IBISWorld, or your industry trade association. The most important comparison is against your own historical performance — is your margin improving or declining over time?

What is the difference between gross margin and contribution margin?

Gross margin is revenue minus COGS, divided by revenue. Contribution margin is revenue minus variable costs, divided by revenue. The key difference is that COGS includes both variable and fixed production costs, while contribution margin considers only variable costs that change with production volume. Contribution margin is more useful for short-term decision making about pricing and production volume, while gross margin is better for assessing overall product profitability.

How do I improve my profit margin?

Improving margin requires either increasing revenue faster than costs or reducing costs faster than revenue. Specific strategies include raising prices if the market will bear, reducing material costs through better sourcing or volume discounts, improving production efficiency to reduce labor costs, reducing waste and scrap, and controlling overhead expenses. Focus first on gross margin by optimizing production and pricing, then on operating margin by controlling overhead, and finally on net margin through efficient tax and debt management.

Why do restaurants have high gross margins but low net margins?

Restaurants typically have gross margins of 60% to 70% because food cost is a relatively small percentage of menu price. However, they have high operating expenses including rent, labor, utilities, and marketing. Labor alone can consume 25% to 35% of revenue. After all operating expenses, rent, and taxes, net margins in the restaurant industry are typically 3% to 7%. The high gross margin is misleading if you do not account for the substantial operating costs required to run a restaurant.

Can profit margin be negative?

Yes. A negative profit margin means the business is losing money — expenses exceed revenue. A negative gross margin means you are selling products for less than the cost to produce them, which is unsustainable. A negative operating margin means core operations are unprofitable even before interest and taxes. A negative net margin means the business is losing money overall. Startups often operate with negative margins initially as they invest in growth, but established businesses cannot sustain negative margins indefinitely.

Conclusion

Profit margin is a core measure of business health, but the three types tell different stories. Gross margin reveals product profitability. Operating margin shows whether your business model is efficient. Net margin captures the bottom-line result after everything is paid. Calculate all three, compare them to NYU Stern's industry margin data for your sector, and track your own performance over time to spot trends before they become problems.

Our Profit Margin Calculator calculates gross, operating, and net margin from your revenue and expense inputs. For a complete picture of business cash health, pair it with our guide on how to read a cash flow statement.