Profit Margin Calculator
Calculate gross, operating, and net profit margin. Convert between markup and margin. Compare your margins to industry benchmarks across 8 sectors.
Try a scenario
How to Use This Calculator
Calculate Margin tab
The default tab. Enter your revenue and cost of goods sold (COGS). The calculator shows gross profit, gross margin %, operating profit, operating margin %, and net profit after tax. Expand "More options" to add operating expenses and adjust the tax rate. The health check rates your margin as Excellent, Good, Average, or Low.
Markup vs Margin tab
Enter your cost per unit and desired margin or markup percentage, then toggle the mode. The calculator shows the required selling price, the equivalent markup or margin, profit per unit, and total profit on your quantity. The "Common confusion" section shows why 30% markup is not 30% margin.
Industry Comparison tab
Enter your revenue, COGS, and select your industry. The calculator compares your gross and operating margins against industry benchmarks, shows a gap analysis (above/below average), and displays top quartile, median, and bottom quartile benchmarks for your sector.
Share your result
Every input is encoded in the URL. Click Share to send your exact scenario to a business partner, accountant, or investor.
The Formulas
Three margin formulas measure profitability at different levels:
Operating Margin = (Revenue − COGS − Operating Expenses) ÷ Revenue × 100
Net Margin = (Operating Profit − Taxes) ÷ Revenue × 100
Markup and margin are related but different:
Margin = (Price − Cost) ÷ Price × 100
Price from target margin = Cost ÷ (1 − Margin/100)
Price from target markup = Cost × (1 + Markup/100)
The key insight: margin is always lower than markup for the same dollar profit. A 50% markup yields only a 33.3% margin. A 30% margin requires a 42.9% markup. Confusing the two is one of the most common pricing mistakes in business.
Example
Elena — E-commerce Store Owner, 31, Austin TX
Elena runs an online accessories store. Revenue $200K, COGS $90K, operating expenses $70K. She wants to understand her margins and compare to the industry.
Calculate Margin tab
Elena keeps 15.8 cents of every dollar in revenue after all costs and taxes.
Markup vs Margin tab
Elena’s average product costs $18. She wants a 55% gross margin. The calculator shows she needs to price at $40 (122% markup). If she had set a 55% markup instead, her price would be only $27.90 — and her actual margin would be just 35.5%.
Industry Comparison tab
E-commerce average gross margin: 40–60%. Elena’s 55% is right in the upper half. Her operating margin (20%) also exceeds the industry median, putting her in the top quartile.
Industry Profit Margin Benchmarks
Approximate ranges for small-to-mid-size businesses (2024–2025 data).
| Industry | Gross Margin | Net Margin |
|---|---|---|
| Restaurant | 60–65% | 3–5% |
| Retail (general) | 25–35% | 2–5% |
| SaaS | 70–85% | 20–40% |
| Construction | 20–30% | 5–10% |
| E-commerce | 40–60% | 5–10% |
| Professional services | 50–70% | 15–25% |
| Manufacturing | 25–40% | 5–10% |
| Healthcare | 40–60% | 5–15% |
Sources: NYU Stern Damodaran industry margins, IBISWorld, SBA industry profiles. Actual margins vary by company size, geography, and business model.
Frequently Asked Questions
Related Calculators
Embed This Calculator
Add this calculator to your website:
<iframe src="https://sum.money/us/profit-margin-calculator" width="100%" height="900" style="border:none; border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,.08)" title="Profit Margin Calculator"></iframe>