Markup vs Margin Calculator for Contractors
Convert markup to margin and back, and set a job price from your cost and target profit. Includes a conversion table and worked contractor examples.
Loading the markup vs margin...
"I put 20% on everything" sounds like a 20% profit, but it is not. Markup and margin describe the same dollars from two directions, and mixing them up is one of the most common ways small contractors underprice work. This calculator sets a price from either one and shows both numbers side by side.
The two definitions
- Markup = profit ÷ cost. It answers "how much did I add to my cost?"
- Margin = profit ÷ price. It answers "how much of what the customer paid is profit?"
Buildertrend's example makes it concrete. A job costs $10,000. You add $2,000, so the price is $12,000.
- Markup: $2,000 ÷ $10,000 = 20%
- Margin: $2,000 ÷ $12,000 = 16.7%
Same job, same profit, two different percentages.
Converting between them
- Margin from markup: margin = markup ÷ (1 + markup)
- Markup from margin: markup = margin ÷ (1 − margin)
- Price from a markup: price = cost × (1 + markup)
- Price from a target margin: price = cost ÷ (1 − margin)
| Markup | Margin |
|---|---|
| 10% | 9.1% |
| 20% | 16.7% |
| 25% | 20% |
| 33.3% | 25% |
| 50% | 33.3% |
| 100% | 50% |
A worked example: hitting a target margin
Your costs on a bathroom job come to $8,000, including labor, materials and a share of overhead. You want a 25% margin.
- Price = $8,000 ÷ (1 − 0.25) = $8,000 ÷ 0.75 = $10,667
- Profit = $10,667 − $8,000 = $2,667
- Check: $2,667 ÷ $10,667 = 25% margin, and $2,667 ÷ $8,000 = 33.3% markup
If you had added 25% instead, the price would be $10,000 and the profit $2,000, a 20% margin. That $667 gap repeats on every job.
Why margin is the number to manage
Your overhead, taxes and profit all come out of revenue, which is the price customers pay. Margin tells you what share of each dollar of revenue is left. When you know you need, say, 25% of revenue to cover overhead and profit, you set prices by margin.
Markup is still handy at the counter: it is easy to multiply a material cost by 1.3. Just know what margin that markup gives you.
Material markups
Many contractors put a separate markup on materials to cover the time spent ordering, picking up and handling them, plus the risk of returns and waste. HomeGuide reports handymen marking up materials by 20% to 50% or more. Be open with customers about it if they ask. The handyman pricing calculator adds a material markup to a labor price.
Frequently asked questions
What is a 30% markup as a margin?
0.30 ÷ 1.30 = 23.1% margin.
What markup do I need for a 20% margin?
0.20 ÷ 0.80 = 25% markup.
Is markup or margin better?
Neither is better; they measure different things. Use margin to plan profit and overhead, and know the markup that gets you there.
Can margin be over 100%?
No. Margin can only approach 100%, because profit cannot be bigger than the price. Markup can be over 100%: doubling your cost is a 100% markup and a 50% margin.
Next step
Put your margin to work in the painting estimate calculator, or set your base rate with the contractor hourly rate calculator.


