Use our free profit margin calculator to find out how much profit you make on a product, service or your entire business.
Enter your revenue and costs to calculate your profit amount and margin. You can also calculate the selling price needed to achieve your desired margin.
Calculate your profit margin
Free to use. No signup required. Use one currency throughout. Enter net sales excluding sales tax.
How to calculate profit margin
Subtract your costs from your sales revenue to find your profit. Then divide your profit by revenue and multiply by 100.
Profit margin (%) = (Revenue − Costs) ÷ Revenue × 100
If you buy a product for $60 and sell it for $100, your profit before other expenses is $40. Your gross profit margin is 40%.
If you also pay $10 in selling fees, your profit after those fees falls to $30, or 30% of revenue.
The type of margin you calculate depends on which expenses you include. Use net sales after discounts and returns, excluding sales tax collected for the government.
Gross profit margin vs. operating profit margin vs. net profit margin
Suppose your business generates $10,000 in monthly net sales. You spend $6,000 on the products sold, $2,000 on operating expenses and $500 on interest and income tax.
| Profit measure | Profit | Margin |
|---|---|---|
| Gross profit | $4,000 | 40% |
| Operating profit | $2,000 | 20% |
| Net profit | $1,500 | 15% |
Gross profit margin
Gross profit is revenue minus the cost of goods or services sold. Gross margin measures that profit as a percentage of revenue.
Gross margin = (Net sales − Cost of goods sold) ÷ Net sales × 100
Use gross margin to assess product costs, supplier prices and production efficiency. Include the direct costs of delivering services if you run a service business.
Operating profit margin
Operating profit is gross profit minus operating expenses, including rent, administrative salaries, marketing and depreciation not already included in direct costs.
Operating margin = Operating profit ÷ Net sales × 100
This measure shows how much your core business earns before financing costs, income taxes and nonoperating items.
Net profit margin
Net profit includes operating and nonoperating income and expenses, interest and income tax.
Net margin = Net profit ÷ Net sales × 100
Include owner salaries when they are accounting expenses. Owner withdrawals and distributions generally aren’t business expenses, but you still need to budget enough cash to pay yourself.
What is a good profit margin for a small business?
A 10% net profit margin can be a useful planning target, but whether it’s healthy depends on your industry, sales volume, capital requirements and business risks.
At $1 million in annual sales, a 5% net margin produces $50,000 in profit. At $100,000 in sales, a 20% margin produces only $20,000.
The Federal Reserve Banks’ 2026 Report on Employer Firms found that just under half of surveyed firms were operating at a profit at the end of 2024.
Compare your margins with similar businesses and your own past performance. Aim for enough profit to compensate you, reinvest and withstand slow periods.
Average profit margins by industry
Here are gross, operating and net profit margins for selected US industries from NYU Stern’s January 2026 dataset.
| Industry | Gross | Operating | Net |
|---|---|---|---|
| Grocery and food retail | 26.31% | 2.29% | 1.32% |
| Apparel | 56.88% | 9.11% | 3.85% |
| Computer services | 24.26% | 7.41% | 4.45% |
| General retail | 33.18% | 6.80% | 5.61% |
| Business and consumer services | 33.38% | 12.27% | 7.03% |
| Restaurants and dining | 32.24% | 15.79% | 9.37% |
| System and application software | 71.72% | 32.98% | 25.49% |
Operating margins are unadjusted pre-tax margins. These benchmarks represent publicly traded US companies, not small-business averages or recommended targets.
Apparel companies have relatively high gross margins in this dataset, but much lower net margins. Selling products at a high markup doesn’t guarantee high overall profitability.
How to calculate profit margin for multiple products
Add the revenue and profit from all products, then divide total profit by total revenue. Don’t simply average the individual product margins.
| Product | Revenue | Profit | Margin |
|---|---|---|---|
| A | $1,000 | $500 | 50% |
| B | $9,000 | $1,800 | 20% |
| Total | $10,000 | $2,300 | 23% |
The simple average of the two margins is 35%, but your actual combined margin is 23%. Product B generates nine times as much revenue as Product A.
Use the same period and cost basis for every product. If the costs exclude shared overhead, the combined margin also excludes that overhead.
To see whether your current product mix covers fixed expenses, use our break-even calculator.
Contribution margin vs. gross profit margin
Contribution margin measures how much revenue remains after all variable costs. That money covers fixed expenses and then contributes to profit.
Contribution margin = (Revenue − Variable costs) ÷ Revenue × 100
Suppose a product sells for $100, its cost of goods sold is $60 and variable selling expenses total $10.
If the entire $60 product cost is variable, its gross margin is 40% and its contribution margin is 30%.
Gross margin and contribution margin differ because cost of goods sold can include fixed production overhead, while contribution margin also includes variable selling expenses.
What is EBITDA margin?
EBITDA stands for earnings before interest, taxes, depreciation and amortization. It helps compare earnings before certain financing and noncash accounting expenses.
For an operating EBITDA measure, add depreciation and amortization already deducted in operating profit back to that profit.
Operating EBITDA margin = (Operating profit + Included depreciation and amortization) ÷ Revenue × 100
If revenue is $100,000, operating profit is $15,000 and included depreciation is $5,000, operating EBITDA is $20,000. Its margin is 20%.
EBITDA isn’t cash flow. It excludes capital expenditures, debt principal repayments and working capital changes. Definitions can also differ between companies.
Use our business valuation calculator when estimating business value and our cash flow forecast calculator when planning available cash.
How to calculate profit margin after fees, discounts and returns
Start with the actual revenue remaining after discounts and sales returns. Subtract the costs of the sale, including applicable transaction and selling fees.
Suppose your product normally sells for $100. You offer a 10% discount, incur $60 in product costs and pay a selling fee of 10% of the discounted price.
| Item | Amount |
|---|---|
| Discounted selling price | $90 |
| Product cost | $60 |
| Selling fee | $9 |
| Profit after entered costs | $21 |
| Margin | 23.33% |
If you refund customers, deduct refunded revenue and adjust product costs for recovered inventory where appropriate. Include unrecovered shipping and fees without counting the same loss twice.
A $100 product costing $70 leaves $30 in profit before other expenses. A $10 discount reduces that profit to $20.
You would need to sell 50% more units to generate the same total profit, assuming no other costs change.
How much should you charge to make a 20%, 30% or 50% profit margin?
Divide your total cost by one minus your desired margin as a decimal.
Selling price = Cost ÷ (1 − Desired margin ÷ 100)
If your product costs $100, these are the minimum selling prices for different margins, assuming no additional selling fees.
| Desired margin | Minimum price |
|---|---|
| 10% | $111.12 |
| 20% | $125.00 |
| 25% | $133.34 |
| 30% | $142.86 |
| 40% | $166.67 |
| 50% | $200.00 |
If selling fees are charged as a percentage of revenue, subtract that percentage from the denominator as well. Include fixed fees in the cost.
Use our product pricing calculator or service pricing calculator for detailed costs, selling fees and business overhead.
How to compare profit margins over time
Compare revenue, profit and profit margins over equal periods. A business can generate more sales and still make less money.
| Metric | Previous year | Current year |
|---|---|---|
| Net sales | $100,000 | $150,000 |
| Net profit | $20,000 | $15,000 |
| Net margin | 20% | 10% |
Revenue increased by 50%, while profit fell by 25%. Net margin declined by 10 percentage points, from 20% to 10%.
Check whether the decline comes from higher product costs, discounts, advertising expenses, staffing or other operating costs.
For seasonal businesses, compare the same months or quarters across years. A holiday sales period may not be comparable with a quieter month.
Profit margin vs. markup
Markup measures profit relative to cost. Profit margin measures profit relative to selling price.
If you buy a product for $50 and sell it for $100, the markup is 100% and the profit margin is 50%, before additional expenses.
Markup (%) = (Selling price − Cost) ÷ Cost × 100
Margin (%) = Markup (%) ÷ (100 + Markup (%)) × 100
A 30% markup produces a 23.08% margin. To achieve a 30% margin, you need a markup of approximately 42.86%.
Use our markup calculator for markup-based pricing.
Can profit margin be negative or exceed 100%?
A negative margin means your costs exceed revenue. Selling an item for $80 that costs $100 gives you a margin of −25%.
With positive sales revenue and nonnegative costs, profit margin cannot exceed 100%. Unusual accounting items, such as nonoperating gains, can make reported net margins exceed that level.
If revenue is zero, profit margin is undefined. You can still calculate the amount of the profit or loss.
How to calculate profit margin in Excel or Google Sheets
Enter the revenue and costs in separate cells. Use these formulas to calculate gross, operating and net profit and their corresponding margins.
| Cell | Value or formula |
|---|---|
| B2 | Net sales revenue |
| B3 | Cost of goods sold |
| B4 | Operating expenses |
| B5 | Interest expense |
| B6 | Other nonoperating income or expense (signed) |
| B7 | Income tax expense |
| B8 | =B2-B3 |
| B9 | =B8-B4 |
| B10 | =B9-B5+B6-B7 |
| B11 | =IF(B2>0,B8/B2,”N/A”) |
| B12 | =IF(B2>0,B9/B2,”N/A”) |
| B13 | =IF(B2>0,B10/B2,”N/A”) |
Format B11 through B13 as percentages. These cells show gross, operating and net margins, respectively.
For multiple products, divide the sum of product profits by the sum of their net sales. This gives you the revenue-weighted margin.
How to improve your profit margin
Start with your best-selling products. Check whether your prices cover delivery, payment processing, returns and discounts as well as the product’s purchase cost.
Negotiate supplier prices and reduce damaged inventory. If a product’s variable costs fall from $60 to $55 while its selling price stays $100, contribution margin improves by five percentage points.
Review advertising by the profit generated, not just revenue. A campaign generating $10,000 in sales isn’t necessarily profitable after advertising and product costs.
Review operating expenses such as unused subscriptions and unnecessary storage space. Don’t cut costs that protect customer satisfaction or product quality.
Compare the contribution from different products and services. Focus on improving total profit, not just the highest percentage margin.
Track your margins monthly and review the causes of changes. Use your actual figures to decide whether you need higher prices, lower costs or a different sales mix.