Field Service Cost Compare prices

Home/Calculators/Markup and margin calculator

Markup and margin calculator

You are working out the selling price that gives you the markup or target margin you want, so that your pricing covers cost and leaves the profit you planned for. Markup and margin 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

Your cost.
Leave blank when using target margin.
Leave blank when using markup. Must be below 100.

Calculated price

—

Margin from markup, percent
—
Price from target margin
—

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

Markup uses cost as the base. Margin uses price as the base. This calculator shows the different results from the figures you enter.

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.

Markup and margin calculator: what to enter

  1. Enter the cost you want to recover.
  2. Enter markup to calculate price and resulting margin.
  3. Or leave markup blank and enter a target margin below 100 percent.
  4. Use the resulting price in the rest of your estimate.

Markup and margin calculator formula, written out

  • markup = (price - cost) / cost
  • margin = (price - cost) / price
  • price from markup = cost x (1 + markup percent / 100)
  • price from target margin = cost / (1 - margin percent / 100)

Markup and margin calculator worked example

With the inputs already in the form (cost 100, markup 25) the result is: calculated price: $125.00; margin from markup, percent: 20.00.

  1. Price from markup = $100.00 x 1.2500 = $125.00
  2. Margin = ($125.00 - $100.00) / $125.00 x 100 = 20.00 percent

What the markup and margin calculator assumes

  • Markup equals price minus cost divided by cost.
  • Margin equals price minus cost divided by price.
  • A target margin must be below 100 percent.
  • Money values are rounded only for display.

Markup and margin calculator questions people ask

What is price from cost 100 and 25 percent markup?

One hundred times 1.25 equals a price of 125.

What is margin on that price?

Price minus cost is 25. Dividing 25 by the 125 price gives 0.2, or 20 percent.

What price gives 20 percent target margin on cost 100?

One hundred divided by 1 minus 0.2 equals 125.

Why is target margin below 100 percent?

The price formula divides cost by 1 minus margin. At 100 percent, that denominator is zero.

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. The two terms are compared in markup vs margin.

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.