Gross Profit Margin Calculator
Enter 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.
After discounts, without sales tax.
What you bought to do the work or to resell.
Wages and payroll taxes for hours on the work itself.
Permits, disposal, rented equipment, freight, card fees.
Leave at 1 for a single job. Raise it to see the total for a batch.
Gross profit margin
Your gross profit margin
Gross profit margin
31.25%
$1,500.00 of the $4,800.00 price is left to pay overhead and profit.
Gross profit
$1,500.00
Cost of goods sold
$3,300.00
Same as a markup of
45.45%
| Item | Amount |
|---|---|
| Price | $4,800.00 |
| Materials and goods30.2% of the price | -$1,450.00 |
| Labor on the job27.1% of the price | -$1,300.00 |
| Subcontractors8.3% of the price | -$400.00 |
| Other direct costs3.1% of the price | -$150.00 |
| Gross profit (31.25%) | $1,500.00 |
How we calculated this
Cost of goods sold. Materials and goods, plus labor on the job, plus subcontractors, plus other direct costs.
Gross profit. The price minus cost of goods sold.
Gross profit margin. Gross profit divided by the price, as a percent.
Markup. The same gross profit divided by cost of goods sold. It is always the larger of the two percents.
Overhead such as rent, office pay, insurance and marketing is not in this figure. Amounts are worked out in whole cents and the calculator uses no outside figures: every number comes from what you typed.
Example: a $4,800 bathroom repair job
A job priced at $4,800.00 with $1,450.00 of materials, $1,300.00 of labor, $400.00 for a subcontractor and $150.00 of other direct costs has a cost of goods sold of $3,300.00. Gross profit is $1,500.00 and the gross profit margin is 31.25%.
Example gross profit margin
Gross profit margin
31.25%
$1,500.00 of the $4,800.00 price is left to pay overhead and profit.
Gross profit
$1,500.00
Cost of goods sold
$3,300.00
Same as a markup of
45.45%
| Item | Amount |
|---|---|
| Price | $4,800.00 |
| Materials and goods30.2% of the price | -$1,450.00 |
| Labor on the job27.1% of the price | -$1,300.00 |
| Subcontractors8.3% of the price | -$400.00 |
| Other direct costs3.1% of the price | -$150.00 |
| Gross profit (31.25%) | $1,500.00 |
How we calculated this
Cost of goods sold. Materials and goods, plus labor on the job, plus subcontractors, plus other direct costs.
Gross profit. The price minus cost of goods sold.
Gross profit margin. Gross profit divided by the price, as a percent.
Markup. The same gross profit divided by cost of goods sold. It is always the larger of the two percents.
Overhead such as rent, office pay, insurance and marketing is not in this figure. Amounts are worked out in whole cents and the calculator uses no outside figures: every number comes from what you typed.
How to calculate gross profit margin
Gross profit margin is the share of a sale that is left after you pay the direct costs of delivering it. It takes two steps:
- Gross profit is revenue minus cost of goods sold.
- Gross profit margin is gross profit divided by revenue, times 100.
The U.S. Securities and Exchange Commission's guide to financial statements describes the cost of sales as the money a company spent to produce the goods or services it sold, and the figure left after it as gross profit or gross margin. It is called gross because overhead, interest and taxes have not been taken off yet.
A worked example for one job
A bathroom repair is priced at $4,800.
- Materials: $1,450.
- Labor on the job: $1,300.
- A subcontracted plumber: $400.
- Permit and disposal: $150.
Cost of goods sold is $3,300. Gross profit is $4,800 minus $3,300, which is $1,500. Gross profit margin is $1,500 divided by $4,800, which is 31.25%.
The breakdown also shows where the price went: materials took 30.2% of it and labor 27.1%. That breakdown is what tells you which cost to work on.
What to include in cost of goods sold
For a trade or service business, count a cost if it would not exist without this job.
- Materials, parts and goods you resell, including delivery to you.
- Wages for hours on the job, with the payroll taxes and workers' compensation that come with them.
- Subcontractors.
- Job costs: permits, dump fees, rented equipment, travel to the site, card processing fees.
Leave out anything you would pay with no jobs on the calendar: rent, office staff, insurance on the business, software, advertising, the truck payment. Those are overhead, and gross profit is what pays for them.
Your tax return may draw the line in a different place. IRS Publication 334 builds cost of goods sold on Schedule C from inventory, purchases, cost of labor, materials and supplies, and other costs, and says labor is usually part of it only in a manufacturing or mining business. The split above is for understanding your jobs, so keep it consistent from one job to the next and let your accountant handle the tax version.
One job or a whole period
Use one job or item to check a price before you send it, or to see why a finished job felt unprofitable. Use a period, such as a month or a year, to see the whole business: enter total sales and total direct costs from your books. If the period figure is lower than your typical job, some jobs are dragging it down, and running them one at a time will show which.
What gross margin does not tell you
A good gross margin is not a profit yet. The $1,500 from the example still has to cover its share of overhead before any of it is yours. To see what is left after overhead, interest and taxes, use the profit margin calculator.
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 gross profit margin?
Subtract cost of goods sold from revenue to get gross profit, then divide gross profit by revenue and multiply by 100. A job priced at $4,800 with $3,300 of direct costs has a gross profit of $1,500, and $1,500 divided by $4,800 is a gross profit margin of 31.25%.
What is the difference between gross profit and gross margin?
Gross profit is an amount in dollars: revenue minus cost of goods sold. Gross profit margin is that amount as a percent of revenue. The percent is what lets you compare a small job with a large one, or this year with last year.
What is included in cost of goods sold?
The costs that exist only because you made the sale. On the IRS Schedule C, cost of goods sold is built from inventory, purchases, cost of labor, materials and supplies, and other costs such as freight in. Rent for the office, marketing, insurance and administrative pay are not part of it.
What is cost of goods sold for a service business?
For pricing, it is what it costs to deliver the service: the wages and payroll taxes for hours spent on the job, materials used, subcontractors, and job costs such as permits or rented equipment. Tax reporting can differ. IRS Publication 334 says a business that sells services and no merchandise does not have to figure cost of goods sold, and that its gross profit is the same as its net receipts, so ask your accountant how your return treats these costs.
Is labor part of cost of goods sold?
Labor spent directly on the work is, for the purpose of knowing what a job earns. Office and sales labor is overhead. On a tax return the rule is narrower: IRS Publication 334 says labor costs are usually an element of cost of goods sold only in a manufacturing or mining business.
Should I count my own time?
For pricing, yes. A job that only shows a profit because your own hours were free is not a profitable job. Enter your hours at what you would have to pay someone else to do them. On Schedule C the cost of labor line says not to include amounts paid to yourself, so this is a figure for your pricing, not for your return.
Is gross margin the same as markup?
No. Gross margin divides gross profit by the price, and markup divides the same gross profit by the cost. A job with a 31.25% gross margin has a 45.45% markup. The calculator shows both so you can check a price whichever way you think about it.
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
- See operating and net margin after overheadEnter 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.
- Markup calculator for pricing from costEnter 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.
- Find the sales volume that covers your overheadEnter 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.
- Free estimate template for the job you just costedEnter the job, the line items and how far the final cost could move, and get a clear estimate that says plainly it is an estimate. Save it as a PDF or print it, with no account and nothing uploaded.
- All free business toolsCalculators and generators for pricing, quoting and running a small business.