10,247 founders read this month Updated 2026-07-06 Cited · verified sources Independent · No VC
Finance · The Ledger
Read time 12 min read Published 2026-07-06

How to Calculate Profit Margin (Free Calculator Included)

Profit margin measures what percentage of revenue a business keeps after paying costs. This guide explains gross margin, operating margin, and net margin, the formula for each, a worked example, an interactive profit margin calculator, industry benchmarks by sector, and five ways to improve margin.

Disclaimer

This article is for educational and informational purposes only and does not constitute financial, tax, legal, or accounting advice. Groundwork is not a licensed financial advisor, accountant, or attorney. Before making decisions, consult a qualified professional.

How to Calculate Profit Margin (Free Calculator Included)
Quick answer

Profit margin is the percentage of revenue that remains as profit after costs are paid. There are three types: gross margin (revenue minus the direct cost of production), operating margin (gross profit minus operating expenses), and net margin (what remains after all costs including taxes and interest). Every margin uses the same formula: profit divided by revenue, times 100. A free calculator is below.

This article is educational and does not constitute financial or accounting advice. Consult a qualified accountant or financial professional for decisions specific to your situation.

Profit margin is the number that separates a sustainable business from one that is grinding its way toward zero. Revenue tells you how much money is coming in. Margin tells you how much the business actually gets to keep.

Most founders track revenue closely and margin loosely. That creates a predictable problem: a business can grow revenue aggressively and still deteriorate if costs grow faster. Understanding the three layers of margin, how to calculate each one, and what each layer tells you about the business is the foundation of sound financial thinking. Everything in the small business finance guide flows from this.

What Is Profit Margin

Profit margin expresses profit as a percentage of revenue. It answers one question: for every dollar of revenue, how many cents does the business keep?

A 20 percent net profit margin means the business keeps $0.20 of every $1.00 it earns, after all costs. A 5 percent margin means it keeps $0.05. The percentage removes the scale distortion that comes from comparing raw dollar amounts: a business earning $50,000 on $200,000 of revenue is four times more efficient than one earning $50,000 on $1,000,000, even though both show the same absolute profit.

Margin and profit are related but different. Profit is a dollar amount. Margin is a ratio. You need both: the dollar amount tells you the size of the business; the ratio tells you the quality. Understanding the difference between gross and net figures is a prerequisite for reading margin numbers correctly.

The Three Types of Profit Margin

Each margin type strips away a different set of costs. The three layers sit on top of each other: gross margin is always the highest, operating margin is in the middle, and net margin is always the lowest.

1. Gross Profit Margin

Revenue minus the direct cost of producing the product or delivering the service (COGS), expressed as a percentage of revenue. This is the production layer: how efficiently does the business make what it sells?

Costs included: raw materials, manufacturing labor, direct contractor work, SaaS hosting and infrastructure. Costs excluded: sales, marketing, and general and administrative expenses.

2. Operating Profit Margin

Gross profit minus operating expenses (salaries, rent, marketing, software, professional fees), divided by revenue. This is the operational layer: can the business cover all its costs and still generate profit from its core activities?

Excludes: interest expense and income tax, which are added back in the net margin calculation below.

3. Net Profit Margin

Net income (after interest and taxes) divided by revenue. This is the bottom-line layer: after every cost is paid, including debt service and taxes, what percentage of every revenue dollar does the business keep?

This is what most people mean when they say "profit margin" without specifying a type.

Profit Margin Formulas

All three margins follow the same structure: divide the relevant profit figure by revenue, then multiply by 100 to express as a percentage.

Gross Profit Margin Formula

Gross Margin (%) = ((Revenue − COGS) ÷ Revenue) × 100

COGS is the direct cost of production: the cost to make the thing you sold, not the cost to run the business around it. Salaries for sales, marketing, and administration are operating expenses, not COGS.

Operating Profit Margin Formula

Operating Margin (%) = (Operating Income ÷ Revenue) × 100

Operating income equals gross profit minus operating expenses. Operating expenses are everything needed to run the business that is not a direct production cost and not interest or taxes: payroll (non-COGS), rent, marketing, software, professional fees.

Net Profit Margin Formula

Net Margin (%) = (Net Income ÷ Revenue) × 100

Net income is the bottom-line profit after all expenses: COGS, operating costs, interest expense, and income tax. It is the final number on a profit and loss statement.

A note on markup: markup and gross margin both describe the relationship between price and cost, but from different perspectives. Markup = ((Revenue − COGS) ÷ COGS) × 100. Margin = ((Revenue − COGS) ÷ Revenue) × 100. A 50 percent markup is not the same as a 50 percent margin. A product that costs $60 and sells for $100 has a 67 percent markup and a 40 percent gross margin. The calculator below shows both.

Worked Example

The same business calculated across all three margin types.

Northfield Creative is a fictional B2B agency with annual revenue of $480,000.

Northfield Creative: Annual Income Statement

Revenue: $480,000
Cost of Goods Sold (freelancer costs, direct project expenses): $144,000
Gross Profit: $336,000

Operating Expenses (salaries, rent, marketing, software): $216,000
Operating Income: $120,000

Interest Expense: $8,000
Income Tax: $28,000
Net Income: $84,000

Gross Margin: $336,000 ÷ $480,000 × 100 = 70%
Operating Margin: $120,000 ÷ $480,000 × 100 = 25%
Net Margin: $84,000 ÷ $480,000 × 100 = 17.5%

The spread between gross margin (70%) and net margin (17.5%) is the cost of running the business: operating expenses consume 45 percentage points, and interest plus taxes consume another 7.5 points. Each layer tells a different story about where value is created and where it is spent.

Profit Margin Calculator

Enter revenue and COGS to calculate gross margin and markup. Add operating expenses for operating margin, then interest and taxes for net margin.

Gross Margin in Depth

Gross margin is the first gate. If a business cannot generate enough gross margin to cover its operating expenses, no amount of operational efficiency will fix the economics. Gross margin is set by pricing, production efficiency, and the inherent cost structure of the product.

For product businesses, gross margin reflects manufacturing leverage: as volume increases, fixed production costs spread over more units, improving margin per unit. For service businesses, it reflects utilization: how much of the team's billable capacity is actually billed and collected. For SaaS businesses, it reflects the scalability of the delivery infrastructure: hosting costs grow much more slowly than revenue as the product scales, so gross margin expands naturally.

What counts as a healthy gross margin depends entirely on the business model. Software businesses can sustain gross margins of 70 to 85 percent because the cost of serving an additional customer is close to zero once the product is built. Retailers often operate at 25 to 50 percent because they must buy physical inventory at wholesale prices. Restaurants typically see gross margins of 60 to 70 percent on food cost alone, before labor and overhead compress the picture significantly.

Operating Margin in Depth

Operating margin is the most useful lens for evaluating whether a business model actually works. It strips out interest (which reflects financing decisions) and taxes (which vary by jurisdiction and legal structure) to focus purely on the operational equation: does the core business generate more value than it costs to run?

Operating margin is also the margin most directly within a founder's control. Gross margin is shaped by the market: pricing is constrained by competition, and COGS is constrained by the supply chain. Operating expenses are internal decisions: headcount levels, office costs, marketing spend, technology choices. A founder who understands operating margin can see exactly where operational leverage is or is not building as the business grows.

Watch operating margin trends over time, not just at a single snapshot. A company investing heavily in sales and marketing growth may have a low or negative operating margin today but be on a trajectory toward 20 to 30 percent once that investment pays off. Conversely, a business with flat or declining operating margin despite growing revenue is adding costs faster than it is adding value. This connects directly to the unit economics of the business: if customer acquisition cost is rising and lifetime value is not, operating margin will compress even as revenue grows.

Net Margin in Depth

Net margin is the bottom line. It tells you what the business actually earns for its owners after every obligation is met: production costs, operating costs, debt service, and taxes. A high net margin means the business is genuinely profitable at scale. A low net margin means a large fraction of revenue is consumed by costs before the owner sees any of it.

Net margin is lower than operating margin by exactly the combined weight of interest expense and income tax. For a debt-free business in a low-tax structure, that gap may be small. For a business carrying significant debt or operating in a high-tax jurisdiction, that gap can be 10 to 15 percentage points or more.

Understanding the full spread from revenue to net profit is the practical use of this metric. If revenue is growing but net margin is shrinking, the business is becoming less efficient, not more. That problem is different from one where both grow in proportion. The relationship between revenue and profit matters precisely because the two can move in opposite directions.

Aziz's take

When I look at any business, I start with gross margin and end with net margin, and the story lives in the spread between them. A 70 percent gross margin with a 5 percent net margin tells me one thing clearly: most of the value created at the product level is being consumed by the overhead structure. That is not always bad. It can mean the business is in heavy growth mode and those costs are working. But if the overhead is not declining as a percentage of revenue as the business scales, that structure is the problem. Revenue without margin improvement is just a bigger problem running faster.

Profit Margin by Industry

Margin benchmarks vary significantly by industry and business model. The ranges below represent typical figures for established businesses, drawn from NYU Stern's industry margin dataset (Damodaran, updated annually). Early-stage businesses in any sector typically show lower margins while investing in growth.

Industry Gross Margin Net Margin
Software / SaaS 65 to 80% 15 to 25%
Professional Services 30 to 50% 8 to 15%
Retail (general) 25 to 45% 2 to 6%
Restaurants / Food 60 to 70%* 3 to 9%
Manufacturing 20 to 40% 5 to 12%
E-commerce 30 to 50% 2 to 8%

*Restaurant gross margin measured against food cost alone. Once labor, rent, and utilities are included in the full operating calculation, net margins compress to 3 to 9 percent for well-run operations.

How to Improve Your Profit Margin

Every margin improvement comes from one of three sources: increasing revenue without proportionally increasing costs, reducing costs without proportionally reducing revenue, or shifting the mix toward higher-margin products or services. Most improvement plans combine all three.

Raise prices

Pricing is the fastest margin lever available to most small businesses. A 10 percent price increase on $500,000 in revenue adds $50,000 before any additional cost. Most founders underprice because they fear customer loss, but if demand is inelastic at current price points, pricing below market is a margin decision disguised as a sales strategy.

Reduce COGS to improve gross margin first

Renegotiate supplier contracts, reduce production waste, shift to higher-leverage delivery models, or automate repetitive production steps. A one percentage point improvement in gross margin drops directly to operating income with no additional effort.

Audit operating expenses for zero-return spend

Headcount and software subscriptions are the two largest discretionary cost categories in most small businesses. Tools necessary at an earlier stage often persist past their usefulness. Roles that were generalist hires during growth phases may be underutilized at steady state. A quarterly audit of both catches drift before it becomes structural.

Shift mix toward higher-margin offerings

Not all revenue is equal. If 30 percent of your products generate 60 percent of your gross profit, growing that segment faster than the lower-margin segments improves blended margin without touching pricing or costs on any individual line.

Build operating leverage as you scale

Operating leverage means revenue grows faster than operating expenses. It requires that key cost lines (rent, core headcount, infrastructure) be partially fixed and not scale 1:1 with revenue. Businesses with high operating leverage see their operating margin expand naturally as they grow, without any additional intervention.

Aziz's take

The most underused margin lever in small business is pricing, and it is underused because of fear. Founders worry that raising prices will drive customers away, so they spend enormous amounts of time cutting costs by 2 percent here and 3 percent there. In most cases, a 10 to 15 percent price increase on an established product with strong retention will not move churn materially. The customers who leave at 10 percent higher price were the most likely to leave anyway. I have seen more businesses transform their financial position through one pricing conversation than through an entire year of cost reduction. Do the math before assuming the risk is too high.

Common Mistakes

Confusing markup with margin

A 50 percent markup is not a 50 percent margin. A product that costs $60 and sells for $90 has a 50 percent markup ($30 profit on $60 cost) and a 33 percent gross margin ($30 profit on $90 revenue). Pricing based on markup targets while reporting margin figures leads to systematically incorrect expectations.

Tracking only gross margin

Gross margin tells you the unit economics. It does not tell you whether the business is profitable, because it excludes the cost of running the company. A 70 percent gross margin with $800,000 in operating expenses on $1,000,000 of revenue leaves only $100,000 in operating income. Know all three layers.

Benchmarking against the wrong industry

A 15 percent net margin is excellent for a restaurant, unremarkable for professional services, and weak for a software business. Using a generic target without checking your own industry range leads to either false confidence or unnecessary alarm. The only useful comparison is within your sector.

Growing revenue while ignoring margin trends

Revenue growth funded by margin compression is not growth. It is a transfer from future profit to current revenue. If margin is declining as revenue grows, the business model is deteriorating at the same time it is getting larger. Track gross, operating, and net margin as percentages every quarter.

For a deeper look at how these numbers appear in the financial statements a business actually produces, see the guide to reading a profit and loss statement.

Frequently Asked Questions

Aziz Chaabane, founder and editor of Groundwork
Written by

Aziz Chaabane

Founder & Editor, Groundwork

Aziz researches and writes every Groundwork guide personally. Each piece is built from primary sources — IRS, SBA, Federal Reserve, BLS, and direct founder interviews — and updated as the evidence changes. No recycled advice, no affiliate-driven recommendations, no AI-generated filler.

Live · 10,247 readers this monthVol. IIIEst. 2026
Imagery · Public DomainIndependent · No VC