Profit Margin Calculator
Enter your revenue, direct costs, overhead, and interest and taxes for any period. You get your gross, operating and net profit margin side by side, and the price you need to charge to reach a target margin.
Your numbers for a month, a quarter or a year
Sales for the period, after refunds and discounts, without sales tax.
Materials, labor on the jobs, subcontractors.
Rent, office pay, insurance, vehicles, software, marketing.
Loan interest and income tax. Leave 0 to stop at operating margin.
What price reaches a target margin?
As a share of the price.
Profit margins
Your profit margins
Net profit margin
8.8%
Out of $250,000.00 in sales, $22,000.00 is left after every cost.
Gross margin
40%
Operating margin
12%
| Item | Amount |
|---|---|
| Revenue | $250,000.00 |
| Direct costsCost of goods sold | -$150,000.00 |
| Gross profit40% gross margin | $100,000.00 |
| OverheadOperating expenses | -$70,000.00 |
| Operating profit12% operating margin | $30,000.00 |
| Interest and taxes | -$8,000.00 |
| Net profit (8.8%) | $22,000.00 |
| Item | Amount |
|---|---|
| Your costOne item or one job | $1,200.00 |
| Profit in the price25% of the price, a 33.33% markup on cost | $400.00 |
| Price to charge | $1,600.00 |
How we calculated this
Gross margin. Revenue minus direct costs, divided by revenue.
Operating margin. Gross profit minus overhead, divided by revenue. Interest and income taxes are not in it.
Net margin. Operating profit minus interest and taxes, divided by revenue. It is what is left of each dollar of sales after everything.
Price for a target margin. Cost divided by (1 - margin). The margin is taken from the price, not added to the cost, which is why a 25% margin needs a 33.33% markup.
Amounts are worked out in whole cents and percents are shown to two decimals. The calculator uses no outside figures: every number comes from what you typed.
Example: a contractor with $250,000 in yearly sales
A business with $250,000.00 in revenue, $150,000.00 in direct costs, $70,000.00 in overhead and $8,000.00 in interest and taxes has a gross margin of 40%, an operating margin of 12% and a net margin of 8.8%. To keep a 25% margin on a job that costs $1,200.00, the price has to be $1,600.00.
Example profit margins
Net profit margin
8.8%
Out of $250,000.00 in sales, $22,000.00 is left after every cost.
Gross margin
40%
Operating margin
12%
| Item | Amount |
|---|---|
| Revenue | $250,000.00 |
| Direct costsCost of goods sold | -$150,000.00 |
| Gross profit40% gross margin | $100,000.00 |
| OverheadOperating expenses | -$70,000.00 |
| Operating profit12% operating margin | $30,000.00 |
| Interest and taxes | -$8,000.00 |
| Net profit (8.8%) | $22,000.00 |
| Item | Amount |
|---|---|
| Your costOne item or one job | $1,200.00 |
| Profit in the price25% of the price, a 33.33% markup on cost | $400.00 |
| Price to charge | $1,600.00 |
How we calculated this
Gross margin. Revenue minus direct costs, divided by revenue.
Operating margin. Gross profit minus overhead, divided by revenue. Interest and income taxes are not in it.
Net margin. Operating profit minus interest and taxes, divided by revenue. It is what is left of each dollar of sales after everything.
Price for a target margin. Cost divided by (1 - margin). The margin is taken from the price, not added to the cost, which is why a 25% margin needs a 33.33% markup.
Amounts are worked out in whole cents and percents are shown to two decimals. The calculator uses no outside figures: every number comes from what you typed.
How to calculate profit margin
Profit margin is profit divided by revenue, written as a percent: it tells you how many cents of each dollar of sales you keep. There are three versions, and each one answers a different question.
- Gross margin: (revenue minus direct costs) divided by revenue. Are your prices high enough for what the work costs to deliver?
- Operating margin: (gross profit minus overhead) divided by revenue. Does the business make money from its normal work?
- Net margin: (operating profit minus interest and taxes) divided by revenue. What is left at the end?
The U.S. Securities and Exchange Commission's guide to financial statements lays an income statement out in the same order. Revenue comes first, the cost of sales comes off to give gross profit, operating expenses come off to give income from operations, and interest and income tax come off to give net profit. It gives the operating margin formula as income from operations divided by net revenues.
A worked example
Take a contractor with $250,000 in revenue for the year.
Direct costs, meaning materials, crew wages and subcontractors, were $150,000. Gross profit is $100,000, so the gross margin is 40%.
Overhead, meaning rent, the office, insurance, trucks and marketing, was $70,000. Operating profit is $30,000, so the operating margin is 12%.
Interest and taxes were $8,000. Net profit is $22,000, so the net margin is 8.8%.
Out of every dollar this business brought in, it kept 8.8 cents.
What each margin tells you to fix
Read the three numbers together. A low gross margin means the jobs themselves are underpriced or cost too much to deliver, and no amount of cutting office costs will repair that. A healthy gross margin with a thin operating margin means the work pays but overhead is eating it. A healthy operating margin with a thin net margin points at debt or taxes.
If you only want the first layer, with the direct costs split out, use the gross profit margin calculator.
What price do I need for a target margin?
Divide your cost by 1 minus the margin you want. A job that costs you $1,200 with a 25% target margin needs a price of $1,200 divided by 0.75, which is $1,600.
The mistake to avoid is adding the percent to the cost. $1,200 plus 25% is $1,500, and $300 of profit on a $1,500 price is a 20% margin, not 25%. A margin is taken out of the price, so it always needs a larger markup than its own number: 25% margin is a 33.33% markup.
Getting the inputs right
Use revenue without sales tax, after refunds and discounts. Put a cost in one place only: a crew member's wages are a direct cost, the office manager's are overhead. Use the same period for every figure. A full year smooths out slow and busy months, and a single month shows you a problem sooner.
The calculator works in whole cents and shows percents to two decimals. It uses no industry averages: every number comes from what you enter.
Common Questions
How do I calculate profit margin?
Divide profit by revenue and multiply by 100. Which profit you use decides which margin you get: revenue minus direct costs gives gross margin, taking overhead off as well gives operating margin, and taking interest and taxes off too gives net margin. A business with $250,000 in revenue and $22,000 left after every cost has a net profit margin of 8.8%.
What is the difference between gross, operating and net profit margin?
They stop at different points on the way down the income statement. Gross margin subtracts only the direct cost of what you sold. Operating margin also subtracts overhead such as rent, office pay and marketing. Net margin subtracts interest and income taxes as well, so it is what is finally left of each dollar of sales.
How do I calculate the price for a 20% profit margin?
Divide your cost by 1 minus the margin, so for 20% divide by 0.80. A job that costs you $1,000 needs a price of $1,250 to leave a 20% margin. Adding 20% to the cost gives $1,200, which is only a 16.67% margin.
Is profit margin the same as markup?
No. Margin is profit as a share of the selling price and markup is profit as a share of the cost. A 25% margin is the same price as a 33.33% markup. The calculator shows both when you ask for a target price.
What is a good profit margin?
It depends on the kind of business, so a single number is not much use. A more reliable test is your own trend: compare this period with the same period last year, and check that gross margin is high enough to cover overhead with profit left over. If gross margin is falling, the cause is prices or direct costs, and if only net margin is falling, the cause is overhead, interest or taxes.
Can a profit margin be negative or over 100%?
It can be negative: when costs are higher than revenue the business made a loss and the margin is below zero. It cannot be over 100% on ordinary sales, because profit cannot be larger than the revenue it came out of.
Should I include my own pay in the costs?
If you take a salary through payroll, it is already in your costs. If you take owner draws instead, the margin you see has not paid you yet, so a business that looks profitable on paper may only be covering your wage. Enter a fair wage for your own work under direct costs or overhead to see the margin after paying yourself.
Let your website write the quote
You just worked out a price by hand. This puts your price list to work on your website: a customer answers a few questions, the form works out the price from your own rates, and they get an itemized quote by email while you get the request. We set it up from your price list and host it for you, so there is no monthly fee to us.
- One quote request form for your business, with up to 10 questions and up to 15 priced items or options from your own price list
- The price worked out from your rates the moment the customer submits, with no reply needed from you
- An itemized quote emailed to the customer in your business name and colors, and an alert to you with every answer
- Every request saved to a Google Sheet that you own
- Added to your current website as an embed or a button, or delivered as its own page, with one round of changes
Turnaround: Live within 5 business days of getting your price list and logo.
You pay on Stripe's secure checkout page. We never see your card number.
Related Tools and Guides
- Gross profit margin calculator with a cost of goods sold breakdownEnter the price of a job or your sales for a period, then the direct costs behind it. You get cost of goods sold, gross profit and gross profit margin, with each cost shown as a share of the price.
- Markup calculator: turn a cost and a markup into a priceEnter any two of your cost, your selling price and your markup percent, and the calculator works out the third. It also shows the margin that markup produces, because the two are not the same number.
- Break-even calculator for your fixed costsEnter your fixed costs, your price and what each sale costs you to deliver. You get the number of units and the sales you need to break even, the units needed for a target profit, and a table of profit at several volumes.
- Check the return on a purchase before you buyEnter the amount invested, the amount returned and how long it took. You get the ROI percent, the annualized ROI and the payback period, so you can judge a purchase such as equipment, a hire, marketing or software.
- All free business toolsCalculators and generators for pricing, quoting and running a small business.