Profit Margin Calculator

Calculate gross, operating, and net profit margins. See the difference between margin and markup at a glance.

Gross Profit Margin
60.0%
Gross Profit: $60,000
Operating Profit Margin
35.0%
Operating Profit: $35,000
Net Profit Margin
25.6%
Net Profit: $25,600
Gross Margin
60.0%
profit ÷ revenue
Gross Markup
150.0%
profit ÷ cost
COGS
40.0%
Operating
25.0%
Interest
3.0%
Taxes
6.4%
Net Profit
25.6%

How to Use This Calculator

Enter your total revenue and each cost category. The calculator instantly shows three margin levels: gross (revenue minus COGS), operating (minus operating expenses), and net (minus everything). The bar chart visualizes where every dollar of revenue goes.

Understanding the Three Margins

Gross margin measures production efficiency — how much you keep after direct costs. Operating margin adds overhead like rent, salaries, and marketing. Net margin is the bottom line after interest, taxes, and everything else.

Gross Margin = (Revenue − COGS) ÷ Revenue × 100
Operating Margin = (Revenue − COGS − OpEx) ÷ Revenue × 100
Net Margin = (Revenue − All Expenses) ÷ Revenue × 100

Margin vs Markup

Margin and markup both measure profitability but use different denominators. Margin divides profit by the selling price (revenue). Markup divides profit by the cost. A 50% margin equals a 100% markup. This distinction matters when setting prices — confusing the two can mean selling below cost.

Markup = (Revenue − COGS) ÷ COGS × 100

Frequently Asked Questions

What's a good profit margin? It depends on industry. SaaS companies often run 60-80% gross margins. Retail sits around 25-50%. Restaurants average 3-9% net. Always compare against your industry, not a universal number.

Why is my markup higher than my margin? Markup uses cost as the base (smaller number), so the percentage is always larger. A $60 cost and $100 price = 40% margin but 66.7% markup.

Should I focus on gross or net margin? Gross margin shows product-level health. Net margin shows overall business health. Track both — a high gross margin with low net margin points to overhead problems.