How to Calculate Profit Margin
Profit margin is one of the most important metrics for any business — it tells you what percentage of your revenue is actual profit after costs. Understanding your margins helps you price products correctly, identify inefficiencies and compare performance against industry benchmarks.
Gross Profit Margin = ((Revenue - COGS) / Revenue) × 100
Net Profit Margin = ((Revenue - COGS - Operating Expenses - Taxes) / Revenue) × 100
Markup = ((Revenue - Cost) / Cost) × 100
Selling Price from Margin = Cost / (1 - Desired Margin%)
Example:
Revenue = $100, Cost = $60
Gross Profit = $100 - $60 = $40
Gross Margin = ($40 / $100) × 100 = 40%
Markup = ($40 / $60) × 100 = 66.7%
Margin vs Markup — Key Difference
Margin and markup are often confused but they are calculated differently. Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. A 40% margin is NOT the same as a 40% markup — a 40% markup only gives you a 28.6% margin. Always clarify which one you are using when discussing pricing!
What is a Good Profit Margin?
- A net profit margin above 10% is generally considered good for most businesses
- Above 20% is excellent and above 30% is outstanding
- Below 5% is considered thin and leaves little room for error
- Always compare against your specific industry benchmark — grocery stores with 2% net margin are healthy while a software company with 2% is struggling
Profit Margin Guide — How to Price for Profitability
Profit margin is one of the most critical metrics for any business. It tells you what percentage of revenue is actual profit after costs. Understanding and improving your profit margins is essential for business sustainability and growth.
Profit Margin Benchmarks by Industry
| Industry | Typical Net Margin | Gross Margin |
| Software / SaaS | 20-30% | 70-85% |
| Retail | 2-5% | 25-50% |
| Restaurant | 3-9% | 60-70% |
| Consulting / Services | 15-30% | 60-80% |
How to Calculate Your Selling Price for Target Margin
Selling Price for Target Margin:
Price = Cost ÷ (1 - Desired Margin %)
Example — $50 cost, want 40% margin:
Price = $50 ÷ (1 - 0.40) = $50 ÷ 0.60 = $83.33
Gross Profit = $83.33 - $50 = $33.33 (40% of $83.33)
💼 Disclaimer: Profit margin benchmarks are industry averages and vary significantly by business model size and geography. Use these as reference points not targets for your specific business.
Frequently Asked Questions
What is the difference between gross and net profit margin? +
Gross profit margin only subtracts the direct cost of goods sold (COGS) from revenue. Net profit margin subtracts ALL expenses including operating costs, interest and taxes. Gross margin shows production efficiency while net margin shows overall business profitability. A business can have a high gross margin but low net margin if operating expenses are very high.
What is the difference between profit margin and markup? +
Margin is profit divided by selling price. Markup is profit divided by cost. For example if something costs $60 and sells for $100 — the margin is 40% (profit/selling price) but the markup is 66.7% (profit/cost). They measure the same profit from different perspectives. Retailers typically use markup while financial analysts use margin.
How do I calculate selling price from desired margin? +
Use the formula: Selling Price = Cost / (1 - Desired Margin). For example if your cost is $60 and you want a 40% margin: Selling Price = $60 / (1 - 0.40) = $60 / 0.60 = $100. Use our Find Selling Price tab above to calculate this instantly for any cost and desired margin combination.
What is a good profit margin for a small business? +
For small businesses a net profit margin of 10-20% is generally considered healthy. Service businesses like consulting or software often achieve 20-30%+ margins. Product based businesses typically see 5-15% net margins due to higher costs. The most important benchmark is your own industry average — compare your margins to competitors rather than general guidelines.
How can I improve my profit margin? +
There are two ways to improve profit margin — increase revenue or decrease costs. Practically this means raising prices (even 5-10% can significantly impact margin), reducing COGS through better supplier negotiations, cutting unnecessary operating expenses, improving operational efficiency and focusing on higher margin products or services in your mix.