Profit Margin Calculator
Calculate gross margin, operating margin and net profit margin from revenue and costs. Compare against typical margins by industry.
Results appear instantly as you type — nothing is sent to any server.
Margin answers "what share of each revenue dollar is profit?" — the health metric investors and lenders check first. Enter revenue and costs to get gross margin (after COGS), operating margin (after overhead) and net margin (after everything). The calculator also shows the price increase needed to restore a target margin when costs rise.
The three margins
Gross margin = (revenue − COGS) ÷ revenue — the economics of the product itself. Operating margin adds overhead (salaries, rent, marketing): operating profit ÷ revenue — the health of the business model. Net margin includes interest and taxes: what finally accrues to owners. A 25% gross / 8% net pattern is typical for services; SaaS runs higher gross (80%+) with heavy opex. Comparisons are meaningful only within an industry.
Frequently asked questions
What is a good profit margin?
Depends on industry: grocery 1–3%, restaurants 3–9%, retail 2–5%, consulting 15–25%, SaaS 15–25% net. Compare against your own trend and direct competitors.
Margin vs markup — what is the difference?
Margin is profit ÷ revenue; markup is profit ÷ cost. A 50% markup on a $10 cost ($15 price) is a 33.3% margin. Confusing them silently destroys pricing.
Should I raise prices or volume?
Math favors price: on a 40% gross margin, a 5% price increase with flat volume adds more profit than a 5% volume increase with flat price.