About the Profit Margin Calculator
This profit margin calculator shows how much of every dollar of revenue your business keeps at each level of the income statement. Enter revenue, cost of goods sold (COGS), operating expenses, and interest plus taxes, and it returns gross profit margin, operating margin and net profit margin together with the profit in dollars at each stage.
Gross margin tells you whether your products or services are priced well above their direct cost. Operating margin shows how efficiently the whole business runs after rent, salaries, marketing and other overhead. Net margin is the bottom line after interest and taxes. Comparing the three helps pinpoint whether a profit problem comes from pricing, overhead or financing.
Use figures for the same period — a month, quarter or year — from your profit and loss statement. It works for any business, from online shops and restaurants to agencies and SaaS companies; compare your results with peers in your industry rather than a single universal target.
With the default inputs, the net profit margin is 24%. Change any value above to recalculate instantly.
How to use the profit margin calculator
- 1Enter total revenue for the period from your profit and loss statement.
- 2Enter cost of goods sold — the direct cost of what you sold.
- 3Enter operating expenses such as rent, payroll and marketing.
- 4Enter interest and income taxes for the same period.
- 5Compare gross, operating and net margins to see where profit is lost.
Formula and method
Each margin divides a profit figure by revenue R and multiplies by 100. Gross profit subtracts only the direct cost of the goods or services sold; operating profit also subtracts overhead (operating expenses); net profit additionally subtracts interest and income taxes.
Markup on COGS divides gross profit by cost rather than revenue, which is why it is always higher than gross margin for the same numbers. If revenue is zero every margin is shown as 0% because a margin cannot be defined without sales.
- R
- Revenue for the period
- COGS
- Cost of goods sold
- OpEx
- Operating expenses (overhead)
Worked examples
Business with $500,000 revenue
Revenue of $500,000 minus $200,000 COGS gives $300,000 gross profit (60%). After $150,000 of operating expenses, operating profit is $150,000 (30%), and after $30,000 of interest and taxes net profit is $120,000 — a 24% net margin.
Wholesale distributor with thin margins
A 35% gross margin ($420,000) shrinks to a 10% operating margin after $300,000 of overhead, and to 7.5% net ($90,000) after interest and taxes.
Healthy gross margin, but overhead too high
The products earn a 40% gross margin ($100,000), but $120,000 of operating expenses turn that into a $20,000 operating loss — a −8% margin. Cutting overhead or growing sales is the fix, not repricing.
Frequently asked questions
How do you calculate profit margin?+
Divide profit by revenue and multiply by 100. Gross margin uses revenue minus cost of goods sold; net margin uses the bottom-line profit after all expenses, interest and taxes. A $25 profit on $100 of sales is a 25% margin.
What is a good profit margin?+
It depends on the industry. Software and professional services often achieve net margins above 15–20%, while grocery stores, restaurants and many retailers operate on low single-digit net margins. Compare yourself with businesses in the same sector and size.
What is the difference between gross and net profit margin?+
Gross margin only deducts the direct cost of what you sold, so it measures pricing and production efficiency. Net margin deducts every cost including overhead, interest and taxes, so it shows overall profitability.
Is profit margin the same as markup?+
No. Margin is profit as a share of the selling price; markup is profit as a share of cost. A product bought for $60 and sold for $100 has a 40% margin but a 66.7% markup.
How can I improve my profit margin?+
Raise prices where customers will accept it, negotiate lower supplier costs, reduce waste and returns, cut or renegotiate overhead, and focus sales on your highest-margin products or clients.
Results are estimates for educational purposes and are not financial advice. Rates, fees and terms vary — confirm with your lender or a licensed advisor before making decisions.