What Is Profit Margin?
Profit margin is the percentage of revenue that remains as profit after all costs are deducted. It is one of the most fundamental metrics in business and investing, expressing profitability as a ratio rather than an absolute dollar amount โ making it easy to compare businesses of different sizes or across industries.
This omni margin calculator covers four essential margin calculations in one tool: profit margin, markup, selling price from target margin, and gross margin. Whether you are pricing a product, analyzing a business, or evaluating an investment, understanding margin is essential.
Key distinction: Profit margin and markup are related but different. Margin is calculated as a percentage of the selling price (revenue). Markup is calculated as a percentage of the cost. A 40% markup does not equal a 40% margin โ it equals approximately a 28.6% margin.
Margin Formulas
// Profit Margin (% of revenue) Profit Margin = ((Revenue โ Cost) รท Revenue) ร 100 // Markup (% of cost) Markup = ((Revenue โ Cost) รท Cost) ร 100 // Selling Price from Target Margin Selling Price = Cost รท (1 โ Margin%) // Gross Margin Gross Margin = ((Revenue โ COGS) รท Revenue) ร 100
Margin vs. Markup: Key Difference
| Cost | Selling Price | Profit | Margin | Markup |
|---|
| $50 | $70 | $20 | 28.6% | 40.0% |
| $50 | $100 | $50 | 50.0% | 100.0% |
| $80 | $100 | $20 | 20.0% | 25.0% |
| $30 | $50 | $20 | 40.0% | 66.7% |
What Is a Good Profit Margin?
Profit margins vary significantly by industry. What is considered healthy in one sector may be razor-thin in another:
- Software / SaaS โ Gross margins of 70โ85% are typical; net margins of 20โ30% for mature companies.
- Retail โ Gross margins of 25โ50%; net margins often 2โ5% due to high operating costs.
- Restaurants โ Net margins of 3โ9%; even top performers rarely exceed 15%.
- Manufacturing โ Gross margins of 25โ35%; highly dependent on automation and scale.
- Financial services โ Net margins of 15โ30% for well-run banks and insurers.
- E-commerce โ Highly variable; 10โ20% gross margin after fulfillment costs is common.
Types of Profit Margin
Gross Profit Margin
Revenue minus cost of goods sold (COGS), divided by revenue. This measures manufacturing and production efficiency but does not account for operating expenses like sales, marketing, or administration.
Operating Profit Margin (EBIT Margin)
Gross profit minus operating expenses (R&D, SG&A), divided by revenue. This measures core business profitability before interest and taxes โ a key metric for comparing operational efficiency across companies.
Net Profit Margin
The bottom line: net income divided by revenue. This is the ultimate measure of profitability after all expenses, interest, taxes, and one-time items. It is the most comprehensive margin metric for investors evaluating a company’s true earnings power.
Frequently Asked Questions
What is the difference between margin and markup? โพ
Margin is profit as a percentage of the selling price (revenue). Markup is profit as a percentage of cost. They measure the same profit but from different reference points. For example, if you buy something for $60 and sell it for $100, the profit is $40. The margin is $40/$100 = 40%. The markup is $40/$60 = 66.7%. When communicating internally, many businesses use margin; when setting list prices from cost, markup is more intuitive.
How do I calculate selling price from a target margin? โพ
Use the formula: Selling Price = Cost รท (1 โ Desired Margin). For example, if your cost is $70 and you want a 30% margin, your selling price should be $70 รท (1 โ 0.30) = $70 รท 0.70 = $100. The “Selling Price” tab in the calculator above does this instantly for any cost and target margin combination.
What is a healthy gross margin for an online business? โพ
For digital products (software, courses, templates), gross margins of 70โ95% are achievable because COGS is minimal. For physical product e-commerce, gross margins of 40โ60% are strong after product cost and shipping. Dropshipping businesses often have lower gross margins of 20โ30%. Service businesses (consulting, agencies) typically achieve 50โ70% gross margins. The key benchmark is whether your gross margin leaves enough room to cover operating costs and remain profitable at scale.
How is gross margin different from net margin? โพ
Gross margin only subtracts the direct cost of goods sold (COGS) from revenue โ the costs directly tied to producing or delivering your product or service. Net margin subtracts everything: COGS, operating expenses (salaries, rent, marketing), interest, and taxes. A business can have a healthy 60% gross margin but a low or negative net margin if its operating expenses are very high. Both metrics matter; gross margin tells you about production efficiency, while net margin tells you about overall business viability.
What margin should I target for my product pricing? โพ
A common rule of thumb is to target at least a 50% gross margin (meaning you sell for at least 2ร your cost) to ensure enough headroom for operating expenses and profit. For physical products with significant logistics costs, 40% is often the minimum to remain viable. For digital products with near-zero COGS, targeting 80%+ gross margin is reasonable. Ultimately, your target margin should be high enough that after all operating costs are covered, you achieve the net profit percentage your business model requires.
Disclaimer: This margin calculator is for informational and educational purposes only. Actual profit margins depend on specific business costs, pricing strategies, and market conditions. This tool does not account for taxes, overhead allocation, or other business-specific factors. Consult a financial professional for business planning and tax advice.