Profit Margin Calculator
Overview
Calculate gross margin, net margin, and markup. Compare your margins to industry benchmarks and get pricing recommendations.
Key Facts
| Field | Value |
|---|---|
| Calculator ID | profit-margin |
| Category | Business |
| Vertical | Business & Finance |
| App route | /verticals/business/profit-margin |
| API endpoint | /api/public/calculate?id=profit-margin |
Inputs
| Input ID | Label | Type | Required | Default | Constraints |
|---|---|---|---|---|---|
revenue | Total Revenue | currency | Yes | 100000 | min 0, max 100000000, step 100 |
cogs | Cost of Goods Sold (COGS) | currency | Yes | 40000 | min 0, max 100000000, step 100 |
operatingExpenses | Operating Expenses | currency | Yes | 30000 | min 0, max 100000000, step 100 |
industry | Industry (Optional) | select | No | general | - |
How to Use
- Enter Revenue & COGS — Input total revenue and cost of goods sold (direct production costs only)
- Add Operating Expenses — Enter all business expenses (rent, salaries, marketing, utilities, etc.)
- View Margins & Analysis — See gross margin, net margin, markup, and comparison to industry benchmarks
Result Surfaces
| Output | Display Type | Format |
|---|---|---|
| Computed results | result-card | - |
Related Calculators
FAQ
What is the difference between gross margin and net margin?
Gross margin = (Revenue - COGS) / Revenue. It shows production efficiency. Net margin = (Revenue - All Costs) / Revenue. It shows overall profitability after operating expenses. Gross margin is always higher than net margin.
What is the difference between margin and markup?
Same profit dollars, different calculation. Margin = profit / revenue (e.g., $40 profit on $100 sale = 40% margin). Markup = profit / cost (e.g., $40 profit on $60 cost = 66.7% markup). Margin is always lower than markup for the same transaction.
What is a good profit margin?
It varies by industry. SaaS: 70-90% gross, 10-30% net. Retail: 25-50% gross, 2-10% net. Restaurants: 60-70% gross, 3-10% net. Consulting: 60-80% gross, 15-30% net. Compare to your industry benchmarks.
Evidence
src/lib/calculators/registry.ts(metadata)src/lib/calculators/page-registry.ts(page/HowTo metadata)src/lib/calculators/business/profit-margin.ts(calculator config)
Meeting Cost Calculator
Calculate the true cost of meetings based on attendee salaries and time. Evaluate meeting ROI and optimize team productivity.
Salary Calculator
Convert between hourly, daily, weekly, monthly, and yearly salary. Calculate take-home pay with tax rates and compare compensation packages.