Field Service Cost Compare prices

Home/Calculators/Gross profit calculator

Gross profit calculator: gross margin, markup and operating profit

You finished a job and know what you billed, but the direct costs are scattered across receipts and supplier invoices, so you cannot tell what the work actually earned or whether your price covers the margin you need. Gross profit calculator. Nothing was tested for this page; the numbers come from the formula shown below and the inputs you enter.

CalculatorBuilt 27 November 2026Example inputs, not industry averages

Profit and margin from revenue and cost, or the price that gives a target gross margin.
Sales or job price before costs.
Materials, direct labor and subcontractors for the work sold. Not overhead.
Gross profit as a percent of the price, 0 up to 99.99.
Rent, insurance, office and other costs outside the job. Leave blank to skip operating profit.

Gross profit

—

Revenue or price
—
Gross margin, percent of revenue
—
Markup, percent of cost
—
Operating profit after overhead
—
Operating margin, percent of revenue
—

An estimate from the formula below and the numbers you typed. Check quantities against your plan and your supplier before you order.

Put it into a job estimate

Enter revenue and cost of goods to see gross profit, gross margin and markup. Or enter a cost and a target gross margin to see the price that reaches it.

The automatic calculation needs JavaScript. With scripting off, the fields above do nothing and the result area stays empty. The formula is written out below, so you can do the same arithmetic on paper.

Gross profit calculator: what to enter

  1. Add up what you billed the client for the job.
  2. List the direct costs tied to that job, such as materials and labor.
  3. Enter the revenue and the cost of goods in the first mode.
  4. For the second mode, enter one cost and the gross margin you want to reach.

Gross profit calculator formula, written out

  • gross profit = revenue - cost of goods
  • gross margin = gross profit / revenue x 100
  • markup = gross profit / cost x 100
  • price for a target margin = cost / (1 - margin percent / 100)
  • operating profit = gross profit - overhead

Gross profit calculator worked example

With the inputs already in the form (what do you want to find? Profit and margin from revenue and cost, revenue 10000, cost of goods or direct costs 6500, target gross margin 35) the result is: gross profit: $3,500.00; revenue or price: $10,000.00; gross margin, percent of revenue: 35.00; markup, percent of cost: 53.85.

  1. Gross profit = $10,000.00 - $6,500.00 = $3,500.00
  2. Gross margin = $3,500.00 / $10,000.00 x 100 = 35.00 percent
  3. Markup on cost = $3,500.00 / $6,500.00 x 100 = 53.85 percent

To see how many jobs cover your costs, use the break-even point calculator for jobs. To take the sales commission into account, use the sales commission calculator by rate.

What the gross profit calculator assumes

  • Gross profit is revenue minus cost of goods.
  • Gross margin is gross profit divided by revenue, and markup is gross profit divided by cost.
  • Overhead is optional and, when entered, gives operating profit and operating margin.
  • Taxes and interest are not included. Depreciation and other costs count only if you put them into the cost or overhead you enter, and the calculator does not decide which costs are direct.

Gross profit calculator questions people ask

What is the difference between gross margin and markup?

Both describe the same gross profit. Gross margin divides gross profit by revenue, while markup divides gross profit by cost, so they give different percentages for the same job.

How do I find the price that reaches a target gross margin?

Use the second mode and enter your cost and the gross margin you want. The calculator returns the price that reaches that margin on that cost.

What happens when I add overhead?

Overhead is optional. When you enter it, the calculator subtracts it from gross profit to show operating profit and operating margin.

Does the calculator include taxes or depreciation?

No. Taxes and interest are left out. Depreciation and other costs count only if you include them in the cost or overhead you enter, and the calculator does not decide which of your costs are direct costs.

This calculator belongs to the business and pricing calculators. To price the whole job, not just this part, use the job costing calculator and the pricing guide below.

How this site makes money. Affiliate links on this site are marked before you click them, and a commission will never change a price, a test result or a ranking. Details in the affiliate disclosure.