How to Calculate Profit Margin: Gross, Operating & Net
For informational purposes only, not financial advice. Full disclaimer
Profit margin tells you how much money a business keeps from each dollar of revenue. A 20% net profit margin means the business retains $0.20 of every $1.00 in sales after all expenses. There are three types of profit margin — gross, operating, and net — and each reveals something different about your business's financial health. Knowing how to calculate and interpret all three is essential for pricing, budgeting, and growth decisions.
Enter your revenue and costs to instantly see gross, operating, and net profit margins for your business.
Try the Profit Margin CalculatorOne of my early businesses had impressive revenue but margins so thin that a single bad quarter wiped out a full year of profit. I learned the hard way that top-line growth means nothing if your net margin cannot absorb a downturn. Now, margin analysis is the first thing I look at before investing in any venture.
Alex B.
Gross Profit Margin
Gross Margin = ((Revenue - COGS) / Revenue) × 100COGS (Cost of Goods Sold) includes only the direct costs of producing your product or delivering your service — materials, direct labor, manufacturing overhead. It does not include rent, marketing, administrative salaries, or other operating expenses. Gross margin tells you how efficiently you produce or source your products relative to what you charge.
Example Calculation
Your e-commerce store has $400,000 in annual revenue. You spend $160,000 on products (wholesale cost, shipping to warehouse, packaging).
- Revenue: $400,000
- COGS: $160,000
- Gross Profit: $400,000 - $160,000 = $240,000
- Gross Margin: ($240,000 / $400,000) × 100 = 60%
Your gross margin is 60%. You keep $0.60 of every revenue dollar after production costs. This $240,000 must cover all other business expenses (rent, salaries, marketing, etc.).
Industry benchmarks for gross margin: software/SaaS companies typically see 70-85%, professional services run 50-70%, retail operates at 25-50%, restaurants achieve 60-65% on food, and manufacturing averages 25-40%. If your gross margin is significantly below your industry average, you are either pricing too low or your direct costs are too high.
Operating Profit Margin
Operating Margin = (Operating Income / Revenue) × 100Operating income = Revenue - COGS - Operating Expenses. Operating expenses include rent, salaries, utilities, marketing, insurance, depreciation, and administrative costs. Operating margin shows how well management controls costs relative to revenue. It is the best indicator of day-to-day business efficiency because it excludes financing decisions (interest) and tax strategies.
Example Calculation
Same e-commerce store: $400,000 revenue, $160,000 COGS, $180,000 in operating expenses (rent: $36,000, salaries: $90,000, marketing: $30,000, other: $24,000).
- Gross Profit: $240,000
- Operating Expenses: $180,000
- Operating Income: $240,000 - $180,000 = $60,000
- Operating Margin: ($60,000 / $400,000) × 100 = 15%
Operating margin is 15%. From the initial 60% gross margin, operating expenses consumed 45 percentage points, leaving 15% as operating profit.
Net Profit Margin
Net Margin = (Net Income / Revenue) × 100Net income = Operating Income - Interest - Taxes + Other Income. This is the true bottom line — what the business actually earns after everything is paid. Net margin is what determines whether owners and shareholders make money. A positive net margin means the business is profitable; negative means it is losing money.
Example Calculation
Continuing: $60,000 operating income, $5,000 interest expense on a business loan, $2,000 in other income, effective tax rate of 25%.
- Pre-tax income: $60,000 - $5,000 + $2,000 = $57,000
- Income tax: $57,000 × 25% = $14,250
- Net income: $57,000 - $14,250 = $42,750
- Net margin: ($42,750 / $400,000) × 100 = 10.7%
Net margin is 10.7%. From $400,000 in revenue, the business ultimately keeps $42,750 in profit. The three margins tell the full story: 60% gross → 15% operating → 10.7% net.
Margin vs. Markup: Don't Confuse Them
Margin and markup are calculated differently and confusing them leads to pricing errors. If a product costs $60 and sells for $100: Markup = ($40 / $60) × 100 = 66.7%. Margin = ($40 / $100) × 100 = 40%. Markup is the profit relative to cost; margin is the profit relative to selling price. Margin is always the smaller number.
Conversion formulas: Margin = Markup / (1 + Markup). Markup = Margin / (1 - Margin). A 100% markup equals a 50% margin. A 50% markup equals a 33.3% margin. A 33.3% markup equals a 25% margin. When setting prices, decide whether your target is a margin or a markup percentage, then apply the correct formula.
How to Improve Profit Margins
Raising Prices
A 10% price increase on a product with a 40% gross margin increases gross profit by 25% per unit (assuming volume stays constant). Many businesses underestimate their pricing power. If you lose fewer than 10% of customers from a 10% price increase, your total gross profit still goes up. Test price increases on a subset of products or customers before rolling out broadly.
Reducing COGS
Negotiate better terms with suppliers, buy in larger quantities for volume discounts, switch to lower-cost materials where quality allows, or optimize production processes. A 5% reduction in COGS directly improves gross margin. For the $400,000 business above, saving 5% on COGS ($8,000) drops straight to the bottom line, increasing net income by 19%.
Controlling Operating Expenses
Growing revenue on a relatively fixed cost base is the most powerful way to improve operating margin. Rent does not increase when you sell 20% more units. Many salaries are fixed regardless of sales volume. This "operating leverage" means each additional dollar of revenue above break-even contributes disproportionately to profit.
Calculate all three margins monthly and track the trend over quarters. A declining gross margin signals pricing or supply cost issues. A declining operating margin signals overhead creep. Catching these trends early lets you adjust before they become problems.
Frequently Asked Questions
What is a good profit margin for a small business?+
What is the difference between gross margin and net margin?+
How do I convert markup to margin?+
Why is operating margin important?+
Related Calculators
Disclaimer: This article is for informational purposes only and does not constitute financial advice. Consult a qualified financial advisor for decisions about your specific situation.