Free profit margin calculator for gross, operating and net margin, plus margin and markup on a single job. Includes the formulas, a worked example and 2026 benchmarks by industry.
Profit margin tells you how much of every dollar you bill you actually get to keep. Three versions matter: gross, operating and net. Each one answers a different question about your business, and a problem in one usually can’t be fixed by working on another.
The calculator below gives you all three from your P&L, or the margin and markup on a single job. After that you’ll find the formulas, a worked example, what’s normal for your industry and the changes that move the number most.
Quick answer
To calculate profit margin, divide profit by revenue and multiply by 100. Gross margin subtracts only direct costs, operating margin also subtracts overhead, and net margin subtracts everything. A business with $1.2 million in revenue and $108,000 in net profit has a 9% net profit margin.
Key facts
Profit margin = profit ÷ revenue × 100.
Margin is profit ÷ price; markup is profit ÷ cost. A 50% markup is a 33.3% margin.
To hit a target margin, price = cost ÷ (1 − target margin).
U.S. public companies outside finance average 34.4% gross, 13.1% operating and 8.6% net margin (NYU Stern, Jan. 2026).
Remodelers averaged 29.9% gross and 6.3% net margin in 2024 (NAHB).
What are your profit margins? Use the calculator
Enter revenue, direct costs, overhead and other expenses to get your gross, operating and net profit margin, compared with your industry. Switch to single-job mode to turn a cost and a selling price into margin and markup, or to find the price that hits a target margin.
Profit margin calculator
Use your whole P&L for gross, operating and net margin, or a single job to get margin, markup and the price that hits your target.
Benchmarks: Aswath Damodaran, NYU Stern, “Margins by Sector (US),” January 2026, public companies. Small businesses differ, partly because of owner pay. For planning only.
Not sure where a cost belongs? Direct costs go away if the job is canceled: materials, field labor, subcontractors. Everything else that keeps the doors open is overhead, and our guide to overhead costs sorts the gray areas.

How do you calculate profit margin?
Profit margin = profit ÷ revenue × 100. Use gross profit for gross margin, operating profit for operating margin and net profit for net margin. A business with $1.2 million in revenue and $108,000 in net profit has a 9% net profit margin.
Here’s the same example, line by line:
Gross margin: 40%. $1,200,000 revenue − $720,000 direct costs = $480,000 gross profit. $480,000 ÷ $1,200,000 = 40%.
Operating margin: 10%. $480,000 − $360,000 overhead = $120,000 operating profit. $120,000 ÷ $1,200,000 = 10%.
Net margin: 9%. $120,000 − $12,000 interest and other = $108,000 net profit. $108,000 ÷ $1,200,000 = 9%.
The SEC writes the middle one as operating margin = income from operations ÷ net revenues, and notes that gross profit is sometimes called gross margin and net profit is also called net income (SEC: Beginners’ Guide to Financial Statements). All of these numbers come straight off your profit and loss statement.
One trap for service businesses: the IRS doesn’t require you to figure cost of goods sold if selling merchandise isn’t how you earn income, so your tax return can show gross profit equal to net receipts (IRS Publication 334). That’s fine for the IRS, but it makes the return useless for measuring gross margin. Your books should still separate job costs from overhead.
What’s the difference between gross, operating and net margin?
Gross margin shows whether your prices cover the direct cost of the work. Operating margin shows whether overhead is in proportion to your sales. Net margin shows what’s left after everything, including interest and taxes. Reading all three tells you where a profit problem actually lives.
Weak gross margin: the problem is pricing, estimating or field productivity. See gross profit margin.
Strong gross margin, weak operating margin: overhead is too heavy for your volume.
Strong operating margin, weak net margin: debt is the likely cause. See net profit margin.
Debt deserves a closer look, because it can quietly take a point or more of margin. Michael R., who runs a property management company in Indiana, had about 18 business cards, with his main Chase card at 85% utilization. Lenders read that as a business living on revolving credit, even with excellent personal scores. He secured a $40,000 business loan from U.S. Bank, and a fixed-term loan like that can be used to pay down high-interest card balances. For illustration, moving $40,000 from a 24% card to an 11% term loan saves about $5,200 a year in interest. On $1 million in revenue, that’s half a point of net margin without changing a single price.

How do you calculate margin from cost and selling price?
Subtract cost from price, then divide by price. A job that costs $8,400 and sells for $12,000 earns $3,600 of profit, a 30% margin. To price to a target margin, divide cost by one minus the margin: $8,400 ÷ (1 − 0.35) = $12,923 for a 35% margin.
The most common mistake is adding the target percentage to cost. Adding 35% to $8,400 gives $11,340, which is only a 25.9% margin, and leaves $1,583 on the table on one job. That’s the difference between margin (profit ÷ price) and markup (profit ÷ cost), which we cover in markup vs margin.

What is a good profit margin?
It depends on your industry. U.S. public companies outside finance average a 34.4% gross margin, 13.1% operating margin and 8.6% net margin. Among contractors, remodelers averaged 29.9% gross and 6.3% net in 2024, and single-family builders 20.7% gross and 8.7% net in 2023.
The public-company figures come from Professor Aswath Damodaran’s January 2026 data, where engineering and construction firms average 15.5% gross and 5.9% net, and business and consumer services 33.4% gross and 7.0% net (NYU Stern: Margins by Sector). The contractor figures come from the National Association of Home Builders (NAHB: remodelers; NAHB: builders).
Gross margin alone doesn’t predict what you keep. Tap the dots below to compare industries, then place your own business on the map.
Gross margin vs net margin, by industry
Each dot is a U.S. industry. Tap one to compare it, then move the sliders to put your business on the map.
Source: Aswath Damodaran, NYU Stern, “Margins by Sector (US),” January 2026. Public company averages, shown for comparison.
Small private companies won’t match these averages exactly. Owner pay is the biggest distortion: a corporation’s CEO salary sits in overhead, while many small owners take draws that never touch the P&L. Pay yourself a market wage on paper before you compare, or your margin will look better than it is.

How can you improve your profit margin?
Start with price, because a price increase with the same costs goes straight to profit. Then fix direct costs by job, then overhead, then financing. In our example, a 3% price increase adds $36,000 of net profit, the same as cutting overhead by 10%.
Raise prices where you can. Net profit goes from $108,000 to $144,000, and net margin from 9% to 11.7%, if you keep the same jobs.
Find your losing jobs. Compare estimated and actual margin by job, and stop bidding the work that misses.
Hold overhead flat as you grow. Each new hire or lease raises your break-even, so make sure the volume is there first.
Reprice your debt. Move long-term needs off high-rate cards and onto term loans.
Track it monthly. Put all three margins on your KPI dashboard and go through them in a monthly review.
Costs are where most owners feel the squeeze. In the Federal Reserve’s 2026 survey of small employer firms, 73% named increased costs as a financial challenge (Federal Reserve Banks: 2026 Report on Employer Firms). Waiting to adjust prices means your margin absorbs every increase.

Sources
These are the primary sources used for the figures in this article.
Aswath Damodaran, NYU Stern: Margins by Sector (US), January 2026
U.S. Securities and Exchange Commission: Beginners’ Guide to Financial Statements
Internal Revenue Service: Publication 334, Tax Guide for Small Business
National Association of Home Builders, Eye on Housing: Remodelers saw profit margin gains in 2024
National Association of Home Builders, Eye on Housing: Builders’ profit margins improved in 2023
This article is general education, not accounting, tax or legal advice. Talk to your CPA about how these rules apply to your business.
FAQ
Frequently asked questions
How do you calculate profit margin?
Divide profit by revenue and multiply by 100. Gross margin uses revenue minus direct costs, operating margin also subtracts overhead, and net margin subtracts everything, including interest and taxes. $108,000 of net profit on $1.2 million in revenue is a 9% net margin.
What is a good profit margin for a small business?
It varies by industry. Remodelers averaged a 6.3% net margin in 2024 and single-family builders 8.7% in 2023, according to NAHB. U.S. public companies outside finance average 8.6%. Compare against your own industry and your own prior years.
What is the difference between margin and markup?
Margin is profit divided by selling price. Markup is profit divided by cost. A job that costs $75 and sells for $100 has a 25% margin and a 33.3% markup. They use the same dollars but a different base.
How do I calculate selling price from cost and margin?
Divide cost by one minus your target margin. For a 35% margin on a $8,400 cost, $8,400 ÷ 0.65 = $12,923. Multiplying cost by 1.35 gives $11,340, which is only a 25.9% margin.
How do I calculate profit margin in Excel?
With revenue in cell A1 and cost in cell B1, enter =(A1-B1)/A1 and format the cell as a percentage. Use direct costs in B1 for gross margin, or all costs for net margin.




