Home / Math / Percentages and money

Markup versus margin for pricing a job

Understand the difference between markup and margin, price a job to hit the profit you want, and avoid the mistake that quietly shrinks your profit.

Intermediate · 11 min read · Updated December 3, 2026

If you price jobs, you will hear two words that sound alike: markup and margin. They use the same dollars but divide by different numbers. Mixing them up is one of the most common ways contractors and shops end up making less than they planned.

The two words

Start with three numbers:

  • Cost: what the job costs you (materials, labor, overhead).
  • Price: what the client pays.
  • Profit: price minus cost.

Then:

  • Markup = profit ÷ cost. It answers "how much did I add on top of my cost?"
  • Margin = profit ÷ price. It answers "what share of the money coming in do I keep?"

Same profit, different bottom number. Because price is always bigger than cost, margin is always the smaller percent.

Cost $1,000Profit $250Price $1,250Markup = 250 ÷ 1,000 = 25%Margin = 250 ÷ 1,250 = 20%
The same $250 profit is 25% of the cost (markup) but only 20% of the price (margin).

Example: one job, two percents

A job costs you $1,000. You add 25%.

  1. Markup: 25% of $1,000 = $250. Price = $1,250.
  2. Margin: profit ÷ price = 250 ÷ 1,250 = 20%.

So a 25% markup gives you a 20% margin. If you thought you were making 25% of every dollar that came in, you were wrong by 5 points.

Pricing for a target margin

Many companies set their goals as a margin, because it shows how much of each sales dollar they keep. To hit a target margin, divide the cost by (1 minus the margin).

Price = cost ÷ (1 - margin)

Example: you want a 25% margin on a $1,000 cost.

  1. 1 - 0.25 = 0.75.
  2. 1,000 ÷ 0.75 = $1,333.33.
  3. Check: profit = 1,333.33 - 1,000 = 333.33. Margin = 333.33 ÷ 1,333.33 = 0.25 = 25%. Correct.

A full job estimate

You are pricing a bathroom remodel.

  1. Add up direct costs

    Materials: $2,400. Labor: 2 workers x 3 days x 8 hours = 48 hours, at $75 an hour (wages plus payroll costs) = $3,600. Direct cost: 2,400 + 3,600 = $6,000.
  2. Add overhead

    Overhead is the cost of running your company: truck, insurance, phone, office. Say it runs 15% of direct cost. 0.15 x 6,000 = $900. Total cost: 6,000 + 900 = $6,900.
  3. Price for the margin you want

    Target margin: 20%. Price = 6,900 ÷ 0.80 = $8,625.
  4. Check it

    Profit = 8,625 - 6,900 = $1,725. Margin = 1,725 ÷ 8,625 = 0.20 = 20%. Correct.

The common mistake: if you had added a 20% markup instead, the price would be 6,900 x 1.20 = $8,280. Profit = $1,380, and the margin is 1,380 ÷ 8,280 = 16.7%. That one mix-up costs you $345 on this job alone.

Quick conversion table

MarkupMargin
25%20%
33.3%25%
50%33.3%
100%50%

To convert yourself:

  • Margin = markup ÷ (1 + markup). A 50% markup: 0.5 ÷ 1.5 = 0.333 = 33.3% margin.
  • Markup = margin ÷ (1 - margin). A 25% margin: 0.25 ÷ 0.75 = 0.333 = 33.3% markup.

Modern tools

Estimating software and spreadsheets can do this for every line of a quote. In Google Sheets or Excel, put the cost in one cell and use =B2/(1-0.2) to price for a 20% margin. Accounting software usually reports gross margin, so pricing by margin makes your quotes easy to compare with your books.

Common mistakes

  • Treating markup and margin as the same. They are only equal at 0%.
  • Leaving out overhead. If your cost is only materials and labor, your real profit is smaller than you think.
  • Applying a margin by multiplying. To hit a margin, divide by (1 - margin). Do not multiply by (1 + margin).

Practice

  1. A job costs $400 and you use a 50% markup. What is the price, and what is the margin?
  2. A job costs $800. What price gives a 40% margin?
  3. You sell for $250 an item that cost you $200. What are the markup and the margin?
  4. What margin does a 60% markup give?
  5. What markup do you need for a 30% margin?

Answers

  1. Price $600, margin 33.3%. 400 x 1.5 = 600. Profit 200 ÷ 600 = 0.333.
  2. $1,333.33. 800 ÷ 0.60 = 1,333.33.
  3. Markup 25%, margin 20%. Profit is $50. 50 ÷ 200 = 25%. 50 ÷ 250 = 20%.
  4. 37.5%. 0.6 ÷ 1.6 = 0.375.
  5. About 42.9%. 0.3 ÷ 0.7 = 0.4286.