How to Calculate Profit Margin

Learn how to calculate gross, operating, and net profit margins step by step. Understand what healthy margins look like across industries and how to improve yours.

What Is Profit Margin?

Profit margin measures how much of every dollar in revenue a business actually keeps as profit after expenses. It is expressed as a percentage, making it easy to compare profitability across companies of different sizes. A 25% profit margin means the business retains $0.25 in profit for every $1.00 of revenue it generates. Profit margin is one of the first numbers investors, lenders, and business owners look at when evaluating financial health. There are three main types of profit margin -- gross, operating, and net -- each offering a progressively more complete picture of where money goes.

Gross Profit Margin

Gross profit margin tells you how efficiently a company produces or sources its goods. The formula is: Gross Margin = (Revenue - Cost of Goods Sold) / Revenue x 100. Cost of Goods Sold (COGS) includes raw materials, direct labor, and manufacturing overhead -- any cost directly tied to producing the product. For a retail business, COGS is simply the wholesale price of inventory. A software company might have very low COGS because digital products cost almost nothing to replicate, while a restaurant might see COGS consume 30-35% of revenue. Tracking gross margin over time reveals whether production efficiency is improving or eroding.

Operating Profit Margin

Operating profit margin goes a step further by subtracting operating expenses from gross profit. Operating expenses include rent, utilities, salaries, marketing, insurance, and other costs required to run the business day-to-day. The formula is: Operating Margin = (Revenue - COGS - Operating Expenses) / Revenue x 100. This metric shows how well the core business generates profit before accounting for interest payments and taxes. A company with a high gross margin but low operating margin may have bloated overhead that needs to be trimmed. Operating margin is especially useful for comparing companies within the same industry.

Net Profit Margin

Net profit margin is the bottom line -- it accounts for every expense, including interest, taxes, depreciation, and one-time charges. The formula is: Net Margin = Net Income / Revenue x 100. This is the truest measure of how much money a business actually keeps. Net margins vary dramatically by industry: grocery stores often operate on 1-3% net margins, while software companies can achieve 20-30% or higher. A negative net margin means the business is losing money overall. Comparing net margin year-over-year is one of the most reliable ways to assess whether a company is moving in the right direction.

Margin vs. Markup: A Common Source of Confusion

Many business owners confuse margin with markup, but they are calculated differently and serve different purposes. Margin is profit as a percentage of the selling price (revenue), while markup is profit as a percentage of the cost. A product that costs $60 and sells for $100 has a 40% margin but a 66.7% markup. Because they use different denominators, margin is always a smaller number than markup for the same transaction. In general, margin is more useful for financial analysis and pricing strategy because it relates profit directly to revenue, which is the number that appears on income statements.

What Is a Good Profit Margin?

There is no single "good" margin because acceptable ranges differ by industry, business model, and growth stage. As a rough guide, a net margin below 5% is considered low and may indicate vulnerability, 5-10% is average for many industries, 10-20% is strong, and above 20% is excellent. High-margin businesses tend to be those with intellectual property, network effects, or low variable costs -- think software, consulting, and financial services. Lower-margin businesses like manufacturing, retail, and food service make up for thinner margins with higher volume. The key is to understand what is typical for your sector and then work to outperform the benchmark.

How to Improve Profit Margins

There are two fundamental levers for improving profit margin: increasing revenue per sale or decreasing costs. On the revenue side, strategies include raising prices, upselling premium features, bundling products, and reducing discounts. On the cost side, look at renegotiating supplier contracts, automating repetitive tasks, reducing waste, and eliminating underperforming product lines. It is also worth examining your customer mix: some customer segments may be far more profitable than others. Improving margins is typically an incremental process -- even a one-percentage-point improvement in margin can translate into significant additional profit at scale.

Putting It All Together

To get a complete picture of your profitability, calculate all three margin types and track them monthly or quarterly. Start with gross margin to understand production efficiency, then look at operating margin to evaluate overhead management, and finally assess net margin for the true bottom line. Compare your margins against industry averages and your own historical performance. If you notice margins declining, drill into the specific cost categories that are growing faster than revenue. The goal is not just to have high margins but to have stable or improving margins that indicate a sustainable, well-managed business.