Free Profit Margin Calculator

Calculate profit margin percentage from revenue and cost. See gross margin, net margin, and equivalent markup.

Profit Margin Calculator

$
$

Formula: Margin = (Revenue − Cost) / Revenue × 100

Last updated: March 2026

What Is Profit Margin and Why It Matters

Profit margin is the single most important number for understanding how efficiently a business turns revenue into profit. It tells you what percentage of every dollar in sales actually becomes profit after costs are covered. A 40% profit margin means that for every $1.00 in revenue, $0.40 remains as profit.

The average net profit margin across all industries is approximately 7-8%. Retail averages 2-3%, while software companies can exceed 20-30%.

The margin formula is: Margin % = ((Revenue - Cost) / Revenue) x 100. If you sell a product for $200 and it costs you $120 to produce or purchase, your margin is ($200 - $120) / $200 x 100 = 40%. This $80 profit represents 40 cents of every revenue dollar.

Profit margin is distinct from markup, though both measure profitability. Margin uses revenue as the denominator, while markup uses cost. This means margin can never exceed 100% (you cannot profit more than your total revenue), while markup has no upper limit. A product you buy for $10 and sell for $1,000 has a 9,900% markup but a 99% margin.

Margin vs. Markup: The Confusion That Costs Businesses Money

Confusing margin and markup is one of the most expensive mistakes a business owner can make. If you intend to achieve a 30% profit margin but accidentally apply a 30% markup instead, you will earn significantly less than expected. A 30% markup only yields a 23.1% margin. Over thousands of transactions, this misunderstanding can erode profits substantially.

Here is a worked example. A product costs $80. You want a 30% margin. Using margin: Selling Price = Cost / (1 - Margin/100) = $80 / (1 - 0.30) = $80 / 0.70 = $114.29. Using markup by mistake: Selling Price = $80 x (1 + 0.30) = $104.00. That is a $10.29 difference per unit. At 10,000 units per year, that mistake costs you $102,900 in lost profit.

Key conversions to memorize: 20% margin = 25% markup, 25% margin = 33.3% markup, 33.3% margin = 50% markup, 50% margin = 100% markup. Notice how the gap between the two numbers widens as the percentages increase.

Healthy Profit Margins by Industry

Profit margins vary dramatically across industries. Grocery stores typically operate on razor-thin net margins of 1-3%, relying on massive volume to generate absolute profit. Restaurants average 3-9% net margins due to high labor, rent, and food waste costs. Retail clothing tends toward 4-13% net margins after accounting for returns, markdowns, and seasonal inventory risk.

Software and SaaS companies enjoy some of the highest margins, often 15-30% net and 70-85% gross, because the marginal cost of serving an additional customer is minimal. Financial services firms frequently achieve 15-40% net margins. Consulting and professional services typically range from 15-25% depending on utilization rates and overhead structure.

When evaluating your own margins, compare against industry benchmarks rather than absolute numbers. A 5% net margin is excellent for a grocery chain but concerning for a software company. Also track margin trends over time — a declining margin, even if still healthy, signals that costs are growing faster than revenue and warrants investigation.

Frequently Asked Questions

What is profit margin?

Profit margin is the percentage of revenue that remains as profit after costs are subtracted. The formula is: Margin % = ((Revenue - Cost) / Revenue) x 100. If you sell a product for $100 and it costs $60, your margin is ($100 - $60) / $100 x 100 = 40%.

What is the difference between gross margin and net margin?

Gross margin only considers the direct cost of goods sold (COGS). Net margin accounts for all expenses including overhead, taxes, interest, and operating costs. A business might have a 60% gross margin but only a 10% net margin after all expenses are deducted.

Why is margin always lower than markup?

Margin uses revenue (the larger number) as its base, while markup uses cost (the smaller number). For a $50 cost and $75 revenue, margin = $25/$75 = 33.3%, while markup = $25/$50 = 50%. The dollar profit is identical, but the reference point changes the percentage.

What is a healthy profit margin?

It depends on the industry. Grocery and retail: 1-5% net margin. Restaurants: 3-9%. Software/SaaS: 15-30%. Financial services: 15-40%. As a general rule, a net margin above 10% is considered good, and above 20% is excellent.

How do I convert margin to markup?

Use the formula: Markup % = Margin % / (100% - Margin %). For example, a 25% margin equals 25 / (100 - 25) = 25/75 = 33.3% markup. Conversely, Margin % = Markup % / (100% + Markup %).

Is this profit margin calculator free?

Yes, completely free with no signup, no ads, and no limits. All calculations run instantly in your browser.

Related Tools