Skip to content

Profit Margin Calculator

Calculate profit, profit margin and markup from your revenue and cost — with optional operating, marketing, payroll and tax lines for gross, operating and net views.

Written by the CalcBundle Research & Editorial Team · Reviewed by the Quality Review Team · Transparent formulas · results are estimates, not advice. · Updated

Revenue & cost
$
$
Operating & other (optional)
$
$
$
$
$

Profit margin

Enter revenue greater than zero to calculate profit margin.

What is a profit margin calculator?

A profit margin calculator turns revenue and cost into profit, profit margin and markup. It is the quickest way to see how much of each sale you actually keep, and to avoid the classic mistake of confusing margin with markup.

How is profit margin calculated?

  • Profit = Revenue − Cost
  • Profit margin = Profit ÷ Revenue × 100
  • Markup = Profit ÷ Cost × 100

Add operating expenses, marketing, payroll and taxes to also see operating and net margins.

Margin vs markup

This distinction matters. Margin measures profit against the selling price; markup measures it against cost. A product bought for $6 and sold for $10 has a $4 profit — that is a 40% margin but a 66.7% markup. Pricing from markup when you mean margin leaves money on the table. For the reverse (setting a price for a target margin) use the product pricing calculator.

Gross, operating and net margin

Profit margin is not a single number but a family of them, measured at increasing depth. When you add operating expenses, marketing, payroll and taxes, the calculator shows the full stack: gross margin after the direct cost of goods, operating margin after the costs of running the business, and net margin after everything including tax. The gap between them is where the story lives — a healthy gross margin that collapses into a thin net margin points to heavy overheads, while margins that hold up all the way down signal an efficient operation. Tracking all three over time is far more informative than watching any one in isolation.

Worked example

Revenue of $10,000 with $6,000 of cost gives $4,000 of gross profit — a 40% margin and a 66.67% markup on the same numbers. Now suppose operating expenses, marketing and payroll add another $2,500: operating profit falls to $1,500, a 15% operating margin. Take off $300 of tax and net profit is $1,200, a 12% net margin. Same sale, three very different pictures of profitability, which is exactly why the distinction matters when you set prices or compare periods.

Related calculators

See gross margin for the COGS-only view, contribution margin for per-unit economics, and the business profit calculator for a full P&L.

Frequently asked questions

What is profit margin?

Profit margin is profit expressed as a percentage of revenue. Profit = revenue − cost, and profit margin = profit ÷ revenue × 100.

What is the difference between margin and markup?

Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. A 40% margin equals a 66.7% markup on the same numbers. Confusing the two leads to underpricing.

How do you calculate profit margin?

Subtract cost from revenue to get profit, then divide profit by revenue and multiply by 100. For $10,000 revenue and $6,000 cost, profit is $4,000 and margin is 40%.

What is a good profit margin?

It varies widely by industry and business model. Software often has very high margins; retail and food service run thin. Compare to peers and track the trend rather than chasing a universal number.

What is the difference between gross, operating and net margin?

They measure profitability at three depths. Gross margin is revenue minus the direct cost of goods, showing how profitable the product itself is. Operating margin also subtracts running costs like payroll, rent and marketing, showing how profitable the operation is. Net margin subtracts everything that remains — interest and tax — to show the final profit you keep. A business can have a strong gross margin yet a thin net margin if its overheads are heavy, which is why looking at all three is more revealing than any single figure.

Why can a high-revenue business still have a low margin?

Because revenue and profit are different things. A company can sell enormous volumes while keeping very little of each sale — supermarkets are the classic example, running huge turnover on low single-digit net margins. Margin, not revenue, is what tells you how efficiently a business converts sales into profit, and it is often a better indicator of financial health than headline growth in sales.

How can I improve my profit margin?

There are only three fundamental levers: raise prices, reduce the cost of what you sell, or shift your mix toward higher-margin products. Each has trade-offs — price rises can dent volume, cost-cutting can hurt quality — so the durable path is usually a combination, guided by knowing your margin precisely. Small, sustained improvements compound, because a margin gain applies to every future sale, not just one.

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. Results are estimates based on the revenue and costs entered.