Repair markup and margin calculator

Enter your parts and labor costs to calculate markup and margin on a repair price. Or enter a target margin or markup to calculate the selling price.

What your shop paid for the parts used in this repair.

What the labor costs your shop, such as the technician's pay for the time, not the customer's labor charge.

Calculate from

The whole price the customer pays for the repair, including parts and labor.

Repair price breakdown

Total cost
$80.00
$60.00 + $20.00
Selling price
$140.00
Profit
$60.00
$140.00 − $80.00
Markup
75.0%
($140.00 − $80.00) ÷ $80.00
Margin
42.9%
($140.00 − $80.00) ÷ $140.00

Total cost: $80.00. Selling price: $140.00. Profit: $60.00. Markup: 75.0%. Margin: 42.9%.

How markup and margin are calculated

Markup measures profit against cost. Margin measures it against the selling price. At a total cost of $80, a $160 price gives $80 profit, a 100% markup and a 50% margin.

Choose a target margin to set profit as a share of the price, or a target markup to set it as a share of cost. The formulas use these targets as decimal shares. Profit here is the selling price less the parts and labor costs entered. Money rounds to cents; calculated percentages round to one decimal place.

Labor rate calculator
Total cost
parts cost + labor cost
Profit
selling price − total cost
Markup
(selling price − total cost) ÷ total cost
Margin
(selling price − total cost) ÷ selling price
Price for a target margin
total cost ÷ (1 − target margin)
Price for a target markup
total cost × (1 + target markup)

Use a markup calculator to check what a repair price leaves

A markup calculator measures the amount above your cost as a percentage of that cost. A profit margin calculator measures the same amount as a percentage of the selling price. For a repair, enter both parts and labor costs so the result reflects the work on the bench.

If the result says 40% margin, that means 40% of the entered selling price remains after the entered costs. It says nothing about expenses left outside the calculation. Keep a note of what your labor cost includes before comparing one repair with another.

Example inputs. The dollar amounts and targets below are calculation exercises. Use your own costs and quoted prices when checking a repair.

Use this calculator with a price or a target

The form above starts with Parts cost and Labor cost. Its Calculate from choices let you check a price you already quote or work backward from a percentage.

  1. Enter Parts cost as the amount the parts used in the repair cost your shop. For several parts, add their costs before entering the total.
  2. Enter Labor cost for the repair. If the cost is an hourly amount, multiply it by the time assigned to this job first.
  3. Choose Selling price when checking an existing quote. Enter the combined customer charge for parts and labor.
  4. Choose Target margin when the goal is a particular share of the selling price. Enter 40 for 40%, for example.
  5. Choose Target markup when the pricing instruction is a percentage added to cost. Enter 50 for 50%.
  6. Read Total cost, Selling price, Profit, Markup and Margin together. Only one of the three pricing modes is needed for each calculation.

For a labor-only repair, put zero in Parts cost. For a parts-only calculation, put zero in Labor cost. The scope of the result follows those inputs; a parts-only result leaves the repair’s labor outside the calculation.

Markup and margin use different bases

Start with the amount left in dollars:

Total cost = parts cost + labor cost.

Profit = selling price - total cost.

The margin and markup formulas divide that profit by different bases. The site’s longer explanation of markup versus margin on repair parts and labor applies the distinction to repair pricing.

CalculationMarkupMargin
BaseTotal costSelling price
FormulaProfit ÷ total cost × 100Profit ÷ selling price × 100
MeaningAddition relative to costShare of price above cost

A screen repair with $60 in costs and a $90 price

Use $42 for the replacement part and $18 for labor cost. The combined cost is $60. At a $90 selling price, the amount left is $90 - $60 = $30.

  • Markup: $30 ÷ $60 × 100 = 50%.
  • Margin: $30 ÷ $90 × 100 = 33.3%, rounded.

The profit is still $30 in both calculations. The different percentages come from dividing by $60 in one case and $90 in the other. With a positive cost and a price above that cost, markup is the larger percentage.

For a known markup, calculate the price directly:

Selling price = total cost × (1 + markup ÷ 100).

With these inputs, $60 × (1 + 50 ÷ 100) = $60 × 1.5 = $90. Entering 50 in Target markup reproduces that result.

Set a price with the profit margin calculator

For a target margin, divide cost by the portion of the price that will cover it:

Selling price = total cost ÷ (1 - target margin ÷ 100).

A 40% margin leaves 60% of the price for the entered costs. The price must therefore be large enough that its 60% covers those costs.

A laptop repair priced to a 40% margin

Take a $60 part and $30 in labor cost. Total cost is $90. For a 40% target margin:

  1. Convert the target: 40 ÷ 100 = 0.40.
  2. Find the cost share: 1 - 0.40 = 0.60.
  3. Calculate the price: $90 ÷ 0.60 = $150.
  4. Check the profit: $150 - $90 = $60.
  5. Check the margin: $60 ÷ $150 × 100 = 40%.

The markup is $60 ÷ $90 × 100, or about 66.7%. By comparison, adding a 40% markup to the same $90 cost gives $126. That leaves $36, a margin of about 28.6%. Confusing the two instructions changes this quote by $24.

Convert markup to margin before choosing a target

These formulas use percentages as whole numbers: enter 50 for 50%.

  • Margin percentage = markup percentage ÷ (100 + markup percentage) × 100.
  • Markup percentage = margin percentage ÷ (100 - margin percentage) × 100.

For example, 50 ÷ 150 × 100 gives about 33.3% margin. Going the other way, 40 ÷ 60 × 100 gives about 66.7% markup.

The table keeps cost at $60 so you can check every row by subtraction and division. Percentages are rounded to one decimal place where needed.

MarkupMarginPrice on $60 costProfit
20%16.7%$72$12
25%20%$75$15
40%28.6%$84$24
50%33.3%$90$30
75%42.9%$105$45
100%50%$120$60
150%60%$150$90
200%66.7%$180$120

A 100% markup doubles cost and produces a 50% margin. Markup can exceed 100%. With positive cost and price, margin stays below 100% because some of the price must cover the cost. A target margin of 100% would require dividing by zero.

Use the table to translate a pricing instruction, then enter the actual repair costs. The rows show mathematical relationships; they are not recommended targets for particular repair types.

Price labor separately, then check the complete repair

A labor charge and a labor cost answer different questions. The charge is what appears on the customer’s estimate. The cost is the amount assigned to providing that work.

For an hourly calculation, labor cost = hours × cost per hour. Two hours at an illustrative $15 cost per hour gives $30 in labor cost. If the labor charge is $90, enter $30 in Labor cost and include the $90 charge in Selling price.

The labor rate calculator uses annual pay, employer costs, allocated overhead and billable hours to calculate a break-even hourly rate. It can also calculate a billed rate for a target margin. Keep its cost rate and billed rate separate when carrying those numbers into a repair calculation.

Part records need the same distinction. In inventory and parts setup, cost is what the shop paid and price is the customer charge. Copying the selling price into a cost field changes the meaning of the result.

Combine the dollars before calculating the repair’s margin

You can set a parts price and a labor charge separately, then check the complete job:

LineCostCustomer chargeAmount above cost
Parts$45$75$30
Labor$30$90$60
Whole repair$75$165$90

Enter $45 in Parts cost, $30 in Labor cost and $165 in Selling price. The whole repair has 120% markup and about 54.5% margin.

The parts margin is 40%; the labor margin is about 66.7%. Averaging the unrounded line margins would give about 53.3%, which is different from the whole repair’s margin. Add the dollars first because the parts and labor charges have different sizes.

When preparing the itemized estimate, put the chosen parts and labor charges on their respective lines. Recheck their combined selling price against the same cost worksheet.

Recheck the price when the job changes

A discount removes dollars from the amount left

Return to the $60 cost and $90 selling price. A 10% discount removes $9 from the price, bringing it to $81. Cost is still $60, so profit falls from $30 to $21. The new margin is $21 ÷ $81 × 100, or about 25.9%.

Enter $81 in Selling price to check the discounted quote. A 10% discount on the price reduced the dollars left by 30% in this example. The discount percentage alone does not describe its effect on profit.

More bench time changes the cost calculation

If the same repair’s labor cost rises from $18 to $30, the $42 part plus labor now costs $72. Keeping the $90 selling price leaves $18, giving 25% markup and 20% margin. Update the time or cost input when the diagnosis changes the expected work.

If the selling price falls below total cost, Profit is negative. Check the dollar result as well as the rounded percentages before treating the job as profitable.

Rounded targets and zero inputs need care

The calculator displays money to cents and calculated percentages to one decimal place. To work toward a 40% margin, use Target margin with 40 instead of copying a rounded 66.7% markup from the table. After choosing a final quoted price, check it in Selling price mode.

Markup divides by cost, so it needs a cost above zero. Margin divides by selling price, so it needs a price above zero. If a repair has no replacement part, its labor cost can still provide the positive cost needed for the calculation.

Questions about this guide

Is a 50% markup the same as a 50% profit margin?

No. On a $60 cost, a 50% markup gives a $90 selling price and $30 profit. That is a 33.3% margin. A 50% margin on the same cost requires a $120 price, leaving $60 above the entered cost.

What markup gives a 40% profit margin?

A 40% margin requires about 66.7% markup. The conversion is 40 divided by 60, multiplied by 100. To price a repair to that margin without entering a rounded markup, choose Target margin and enter 40.

Should I enter my hourly labor rate as Labor cost?

Enter the labor cost assigned to this repair. An hourly rate needs to be multiplied by the repair's hours first. Keep the amount you charge the customer for labor in Selling price, together with the parts charge. The labor rate calculator helps calculate a cost rate and a billed rate from yearly costs and billable hours.

Can I use the calculator for a repair with no replacement parts?

Yes. Enter zero for Parts cost and the repair's labor cost under Labor cost. The calculator uses their sum as Total cost. A positive total cost is needed to calculate markup, even when no part is fitted.

Does the Profit result include every expense in my shop?

Profit here means the selling price less the parts and labor costs you enter. Any expense outside those inputs still has to be covered. Use the same cost basis when comparing repairs, and recheck the result when the time, part cost or quoted price changes.

Sources