Profit Margin Calculator
Gross, operating, and net margin — three standard profitability ratios.
Advertisement
Advertisement
Result
Net profit margin
18.0%
Revenue
$500k
COGS$200,000(40%)
OpEx$180,000(36%)
Tax + Int$30,000(6%)
Net profit$90,000(18%)
- Gross margin(Revenue - COGS) / Revenue60.0%
- Operating margin(Gross - OpEx) / Revenue24.0%
- Net margin(Operating - tax/interest) / Revenue18.0%
- — Dollars —
- Gross profit$300,000.00
- Operating profit$120,000.00
- Net profit$90,000.00
How to use this calculator
- Enter total revenue for the period (year/quarter/month — be consistent across all four fields).
- COGS = direct cost of producing/delivering the thing you sold.
- OpEx = everything else needed to run the business (rent, payroll, marketing).
- Taxes + interest = bottom-of-the-statement items.
About this tool
Three margins, increasing in reality. **Gross margin** is the simplest — what's left after the direct cost of making the thing. **Operating margin** subtracts overhead like rent, salaries, marketing — the cost of running the business beyond the product itself. **Net margin** subtracts taxes and interest — the actual money left over. Healthy benchmarks vary wildly: SaaS often runs 70-80% gross / 20% net; retail often 30% gross / 5% net; restaurants 30% gross / 5% net is celebration-worthy. The relative sizes of the gaps tell you where money is leaking.
Frequently asked
COGS scales with sales (materials, hosting per user, transaction fees). OpEx is mostly fixed (rent, salaries, software subscriptions). Some classifications differ by industry; what matters is being consistent.
Advertisement
Related calculators
Markup Calculator
Markup percentage, margin percentage, and selling price from cost.
Break-Even Calculator
Units (and revenue) you need to sell to cover your fixed costs.
Investment Return Calculator
Total return, annualized return (CAGR), and dollar gain.
Tax Bracket Calculator
US federal income tax owed using the 2024 or 2025 brackets, by filing status.
More tools you might like
Markup Calculator
FinanceMarkup percentage, margin percentage, and selling price from cost.
Break-Even Calculator
FinanceUnits (and revenue) you need to sell to cover your fixed costs.
Investment Return Calculator
FinanceTotal return, annualized return (CAGR), and dollar gain.
Tax Bracket Calculator
FinanceUS federal income tax owed using the 2024 or 2025 brackets, by filing status.
Percentage Calculator
FinanceThree-mode percentage tool — what is X% of Y, X is what % of Y, % change.
Tip Calculator
FinanceTip amount and per-person split for any bill.
Currency Converter
FinanceConvert between major world currencies using approximate rates.
Resize PDF Pages
PDFChange every page of a PDF to a standard size (A4, Letter, Legal, A3) — content is scaled to fit, preserving aspect ratio.
Advertisement