Profit margin percentage measures how much of every dollar in sales a company keeps as profit. To calculate it, divide net profit by revenue and multiply by 100. For example, if a business has $200,000 in revenue and $50,000 in net profit, its profit margin is 25%.
What Is Profit Margin?
Profit margin is a financial ratio that expresses profitability as a percentage of revenue. It answers a simple question: for each dollar of sales, how many cents end up as profit? A higher margin means the company is more efficient at converting sales into actual earnings. Margins vary widely by industry—grocery stores often operate on margins below 3%, while software companies can exceed 20%.
There are several types of profit margin, each telling a different story about a business's financial health. The most common are gross margin, operating margin, and net margin. Each uses a different profit figure in the numerator, so they measure different stages of the income statement.
How to Calculate Profit Margin Percentage
The basic formula is:
Profit Margin (%) = (Profit ÷ Revenue) × 100
To use it, you need two numbers from your income statement:
- Revenue – total sales before any deductions
- Profit – the specific profit figure you're measuring (gross, operating, or net)
For example, a freelance designer earns $80,000 in a year. After paying $20,000 in software, marketing, and other business expenses, her net profit is $60,000. Her net profit margin is ($60,000 ÷ $80,000) × 100 = 75%.
If the same designer only counted gross profit—revenue minus direct costs like subcontractors—the number would be different. Always specify which profit you're using when you quote a margin.
Gross, Operating, and Net Margin: What's the Difference?
Each margin uses a different profit definition, and mixing them up is a common source of confusion.
- Gross margin = (Revenue − Cost of Goods Sold) ÷ Revenue × 100. It shows how efficiently a company produces its product or service.
- Operating margin = (Operating Income ÷ Revenue) × 100. Operating income is gross profit minus operating expenses like rent, salaries, and utilities. It reflects day-to-day operational efficiency.
- Net margin = (Net Income ÷ Revenue) × 100. Net income is the bottom line after all expenses, interest, and taxes. This is the figure most people mean when they say "profit margin."
For a small retail shop with $500,000 in sales, $300,000 in cost of goods sold, $150,000 in operating expenses, and $20,000 in taxes, the margins would be:
- Gross margin: ($500,000 − $300,000) ÷ $500,000 = 40%
- Operating margin: ($500,000 − $300,000 − $150,000) ÷ $500,000 = 10%
- Net margin: ($500,000 − $300,000 − $150,000 − $20,000) ÷ $500,000 = 6%
Each percentage answers a different question about the business's health.
Why Profit Margin Matters
Profit margin is a key indicator of financial health for several reasons:
- Pricing power – high margins often mean a company can charge more than its costs, indicating a strong brand or unique product.
- Cost control – tracking margin over time reveals whether costs are creeping up faster than sales.
- Comparability – margins allow you to compare companies of different sizes, since they're expressed as percentages rather than raw dollars.
- Survival – a business with thin margins has little room for error. A small cost increase or price drop can wipe out profit entirely.
For example, a restaurant with a 5% net margin has only $5 of profit on every $100 of sales. A 10% increase in food costs could easily push it into a loss. A software company with a 30% margin has much more cushion.
Common Mistakes When Calculating Profit Margin
Several errors can lead to misleading margin figures:
- Using revenue instead of profit – some people divide profit by cost, which gives markup, not margin. Markup is (Profit ÷ Cost) × 100, while margin is (Profit ÷ Revenue) × 100. A 50% markup equals a 33% margin.
- Mixing profit types – comparing your gross margin to another company's net margin is apples to oranges.
- Forgetting all expenses – for net margin, every expense must be included, from bank fees to depreciation.
- Using cash basis inconsistently – if you record sales when cash is received but expenses when bills are paid, timing differences can distort margins.
A simple way to check your math: take your selling price and subtract all costs. That's your profit per unit. Divide by the selling price, not the cost. If you sell a product for $100 and it costs $60 to make, your profit is $40. Your margin is 40% ($40 ÷ $100), not 66.7% ($40 ÷ $60).
How to Improve Profit Margin
If your margin is lower than you'd like, there are two levers: increase revenue or decrease costs. Specific actions include:
- Raise prices – even a small increase can significantly boost margin if sales volume stays stable.
- Reduce direct costs – negotiate with suppliers, buy in bulk, or find cheaper materials without sacrificing quality.
- Cut operating expenses – review subscriptions, renegotiate rent, or automate manual processes.
- Increase sales volume – fixed costs spread over more units lowers the cost per unit, improving margin.
- Adjust product mix – promote higher-margin items and phase out low-margin ones.
For a service business, improving margin might mean raising hourly rates or reducing the time spent on each client. For a product business, it could mean redesigning packaging to lower shipping weight.
Profit Margin vs. Markup
These two terms are often confused, but they are not the same. Markup is the amount added to the cost to arrive at a selling price, expressed as a percentage of the cost. Margin is the profit expressed as a percentage of the selling price.
For example, an item costs $80 and sells for $100. The markup is ($20 ÷ $80) × 100 = 25%. The margin is ($20 ÷ $100) × 100 = 20%.
If you know your desired margin, you can calculate the selling price using this formula: Price = Cost ÷ (1 − Desired Margin). For a 30% margin on a $70 cost, the price would be $70 ÷ (1 − 0.30) = $100.
Using markup when you mean margin can lead to underpricing. A 50% markup on a $100 cost gives a $150 price, which is only a 33% margin, not 50%.
Industry Benchmarks and Context
Profit margins vary dramatically by industry, so it's important to compare against the right benchmark. According to general financial data:
- Grocery stores and supermarkets: 1–3% net margin
- Restaurants: 3–5% net margin
- Construction: 5–10% net margin
- Professional services (law, consulting): 15–25% net margin
- Software (SaaS): 20–30%+ net margin
These are rough figures, not guarantees. A new business might have negative margins while it grows, and a mature business in the same industry could have much higher margins due to economies of scale. Rather than comparing to a single number, track your own margin over time and look for trends.
Frequently Asked Questions
What is a good profit margin percentage?
There is no universal "good" number. A 10% net margin is generally considered average for many industries, while 20% or higher is often seen as strong. However, a 5% margin might be excellent for a grocery chain and terrible for a software company. Compare your margin to your industry's average and your own historical performance.
How do I calculate profit margin percentage in Excel?
Put revenue in cell A1 and profit in cell B1. In cell C1, enter the formula =B1/A1. Then format cell C1 as a percentage. For example, if A1 is 50000 and B1 is 10000, the formula returns 0.20, which displays as 20%.
What's the difference between profit margin and profit percentage?
They are the same thing. Profit margin percentage is the full term; profit percentage is a shorter way of saying it. Both mean (Profit ÷ Revenue) × 100.
Can profit margin be negative?
Yes. If a company's expenses exceed its revenue, the profit is negative, and the margin will be a negative percentage. For example, a company with $100,000 in revenue and $120,000 in expenses has a net margin of −20%. This indicates a loss.
Is profit margin calculated on selling price or cost?
Profit margin is always calculated on selling price (revenue). Markup is calculated on cost. Using the wrong base is a common error. For a product that costs $50 and sells for $80, the margin is 37.5% ($30 ÷ $80), while the markup is 60% ($30 ÷ $50).
How do I calculate margin if I only know cost and desired margin?
Use the formula: Selling Price = Cost ÷ (1 − Desired Margin). For example, if your cost is $60 and you want a 40% margin, the price is $60 ÷ (1 − 0.40) = $100. This ensures the profit is 40% of the selling price, not 40% of the cost.