Business Margin Calculator
Calculate gross, operating and net profit margins from your revenue and costs — or get a quick margin from just revenue and cost — with a clear side-by-side comparison.
Written by the CalcBundle Research & Editorial Team · Reviewed by the Quality Review Team · Transparent formulas · results are estimates, not advice. · Updated
Net profit margin
Enter your revenue (greater than zero) to calculate margins.
What is a business margin calculator?
A margin calculator turns revenue and costs into the three margins that matter: gross, operating and net. Margins tell you not just how much you make, but how efficiently — and they are the fastest way to spot where profit leaks out of a business.
How is it calculated?
- Gross profit = Revenue − COGS; Gross margin = Gross profit ÷ Revenue × 100
- Operating profit = Gross profit − (Operating expenses + Marketing + Payroll)
- Net profit = Operating profit − Other expenses
- Margin = Profit ÷ Revenue × 100 at each level
Gross vs operating vs net margin
Gross margin shows the profitability of what you sell before overheads. Operating margin adds the cost of running the business. Net margin reflects everything, including one-off and other costs. Watching all three tells you whether a problem is in pricing/COGS, in overheads, or below the line.
Example
Revenue of $100,000 with $60,000 COGS gives a $40,000 gross profit and a 40% gross margin. Add $30,000 of operating costs and the operating margin is 10%. That single view makes it obvious whether to focus on pricing, cost of goods, or overhead.
Why margins beat raw profit for tracking a business
A profit figure in isolation tells you how much you made, but a margin tells you how well the business is really running — and it stays comparable as the business grows. Doubling revenue while margins hold steady is healthy growth; doubling revenue while margins shrink can mean you are simply buying sales at a loss. Margins also make businesses of very different sizes comparable and reveal trends a rising profit number can hide: a company can post record profit in absolute terms while its margins quietly erode, a warning that costs are outpacing revenue. This is why lenders, investors and acquirers look at margins and their trend before they look at the headline profit.
Who should use it
- Owners monitoring profitability and pricing.
- Founders building simple financial models.
- Anyone comparing product or service lines.
What counts as a good margin?
There is no universal target, because margins vary enormously by industry and business model. Software and other digital businesses often enjoy very high gross margins because the cost of serving one more customer is tiny, while grocery, hospitality and construction routinely run on thin single-digit net margins and make their money on volume. The only meaningful benchmarks are your own history and your direct peers: a margin that is healthy for a supermarket would be alarming for a SaaS company, and vice versa. What matters more than the absolute number is the trend — margins that are steadily widening signal a strengthening business, while a slow decline is an early warning worth acting on before it reaches the bottom line.
Related calculators
Go deeper with the business profit calculator, work out EBITDA, or find the sales you need with the break-even calculator.
Frequently asked questions
How do you calculate profit margin?
Profit margin = Profit ÷ Revenue × 100. Gross margin uses gross profit (revenue minus COGS), operating margin uses operating profit, and net margin uses net profit. This calculator shows all three at once.
What is the difference between gross, operating and net margin?
Gross margin is left after the direct cost of what you sell. Operating margin is left after running costs like payroll and marketing. Net margin is what remains after all costs. Each strips out more, so net ≤ operating ≤ gross.
What is a good profit margin?
It is highly industry-dependent. Software often has very high gross margins, while retail and food service run thin. Compare your margins to peers and track whether they are improving over time.
Can I just calculate margin from revenue and cost?
Yes. Enter revenue and cost of goods sold and leave the other fields blank for a quick gross margin, or fill them in for a full gross/operating/net breakdown.
What is the difference between margin and markup?
Margin expresses profit as a percentage of the selling price, while markup expresses it as a percentage of cost. The same $4 profit on a $6 item is a 40% margin but a 66.7% markup. This trips up many owners, because pricing from markup when you mean margin quietly leaves money on the table. Margin is the figure to use when you want to know what share of each sale you actually keep.
Why watch all three margins instead of just net?
Because each one localises a different kind of problem. If gross margin is slipping, the issue is in pricing or the cost of goods. If gross margin holds but operating margin falls, overheads like payroll and marketing are the culprit. If both look fine but net margin is thin, the drag is below the operating line — interest, tax or one-off costs. Looking only at net margin tells you profit is weak without telling you where to fix it, whereas the three-level view points straight at the cause.
Related calculators
Disclaimer. This calculator provides estimates for informational purposes only. Results are based on the information you enter and the assumptions used by the calculator. Actual financial, tax, business valuation, lending, marketplace or investment outcomes may differ. Consider consulting a qualified professional for decisions involving significant amounts of money.