Net Profit Margin Calculator
Enter your revenue and total costs to calculate your net profit margin as a percentage, your net profit in dollars, and your markup on cost. You can also reverse-solve: set a target margin to find the revenue you need. Results update instantly as you type, and an industry reference table lets you compare your margin to sector benchmarks.
Formula
Worked example
A business with $500,000 in revenue and $385,000 in total costs earns a net profit of $115,000. Net profit margin = $115,000 / $500,000 = 23%. Markup on cost = $115,000 / $385,000 = 29.9%.
What is net profit margin and why does it matter?
Net profit margin is the percentage of revenue left after every cost has been paid: cost of goods sold, wages, rent, interest, taxes, depreciation, and everything else. Unlike gross margin, which only subtracts direct production costs, net margin captures the full picture of profitability. A business with a 10% net margin keeps 10 cents from every dollar of revenue as profit. The metric matters because it shows whether a business is genuinely profitable, not just busy. A company can grow revenue rapidly while its margin collapses due to rising costs, making it less valuable despite higher sales. Lenders, investors, and acquirers all look at net margin as a core indicator of financial health and pricing power.
Net profit margin vs gross margin vs operating margin
These three margin metrics are related but measure different things. Gross margin subtracts only the direct cost of producing goods or services (cost of goods sold) from revenue, ignoring selling expenses, admin, and taxes. Operating margin (also called EBIT margin) also deducts operating expenses such as salaries and rent, but still excludes interest and income taxes. Net profit margin is the bottom line: it deducts everything, including interest on debt and all tax liabilities. If gross margin is strong but net margin is weak, the business likely has high operating overhead or carries a heavy debt load. Tracking all three helps pinpoint exactly where profit is being eroded.
The difference between margin and markup
Margin and markup are related but not the same. Net profit margin divides net profit by revenue, so it is always a fraction of the selling price. Markup divides net profit by cost, so it is a fraction of what was spent to generate that revenue. A business with $100 in revenue and $75 in costs has a 25% net margin but a 33.3% markup. Confusing the two is a common pricing mistake: if you want a 30% margin, you need a 42.9% markup, not a 30% markup. This calculator shows both numbers so you can use whichever is most useful for pricing decisions.
How to improve your net profit margin
There are two levers: increase revenue without increasing costs proportionally, or reduce costs without reducing revenue proportionally. On the revenue side, raising prices is the single most powerful tool available to most businesses, because every extra dollar of price falls almost entirely to the bottom line. On the cost side, the highest-impact moves are usually in the largest cost categories: reducing COGS through better sourcing or production efficiency, and controlling fixed overhead such as rent and staffing. Businesses with negative or very thin margins often benefit from analyzing their product or service mix: identifying which offerings have the highest margin and focusing resources there. The reverse-solve modes in this calculator let you set a target margin and immediately see the revenue or cost changes needed to reach it.
Net profit margin benchmarks by industry
| Industry | Typical Net Margin | Notes |
|---|---|---|
| Banking / Financial Services | 20-31% | High margins from fee income and spread |
| Software / SaaS | 18-28% | Scalable model; high upfront R&D costs |
| Pharmaceuticals | 15-25% | Pricing power from patents |
| Professional Services | 10-25% | Labor-intensive but low capital needs |
| Technology Hardware | 10-20% | Dependent on product cycle and competition |
| Manufacturing | 5-12% | Sensitive to input costs and capacity |
| Healthcare (Specialty) | 10-20% | Reimbursement rates heavily influence margin |
| Construction | 3-8% | Thin margins, high project risk |
| Retail (General) | 2-6% | High volume offsets tight spreads |
| Restaurants / Food Service | 3-9% | Labor and food costs dominate |
| Grocery | 1-3% | Extreme volume-based model |
Typical net profit margin ranges for established businesses. Source: NYU Stern School of Business industry data and sector analyses.
Frequently asked questions
What is a good net profit margin?
It depends heavily on the industry. In grocery retail, a 2-3% net margin is considered reasonable because the model runs on high volume. In software, margins below 15% might be a concern. As a general rule of thumb, below 5% is very thin, 5-10% is modest, 10-20% is solid, and above 20% is strong for most industries. Always compare your margin to peers in the same sector rather than to an absolute number.
What is the difference between net profit margin and gross profit margin?
Gross profit margin only subtracts the direct cost of producing your product or service (cost of goods sold) from revenue. Net profit margin subtracts every cost: COGS plus all operating expenses, interest, and taxes. Gross margin shows production efficiency; net margin shows overall business profitability after all obligations are paid.
How do I calculate net profit margin if I only know cost and margin?
Use the reverse-solve mode in this calculator. Set the mode to "Find revenue needed to hit a target margin", enter your total costs and your target margin, and the calculator will give you the required revenue. The formula is: Revenue = Total Costs / (1 - Target Margin / 100).
Why is my gross margin high but my net margin low?
High gross margin with low net margin usually means your operating expenses, interest payments, or tax burden are large. Common causes are high administrative headcount, expensive premises, heavy marketing spend, or significant debt. Review each major cost category below the gross profit line to find where the margin is being absorbed.
Can net profit margin be negative?
Yes. A negative net profit margin means the business is spending more than it earns and is operating at a loss. Early-stage startups often have negative margins while investing in growth, but a sustained negative margin in a mature business is a serious warning sign that requires attention to either revenue growth or cost reduction.
Is net profit margin the same as return on sales?
Yes, these two terms are used interchangeably. Both express net profit as a percentage of revenue (or net sales). Some analyses use net sales (revenue after returns and allowances) rather than gross revenue, which can produce a slightly different number, but the concept and formula are the same.