---
title: "Markup vs. Margin Calculator for Contractors"
description: "Free markup and margin calculator for contractors. Enter the job cost and a markup or target margin and see the real price and profit."
url: "https://builtbyestrada.ai/tools/markup-margin/"
lang: "en"
---

# Markup vs. margin

FREE TOOL

The most expensive mix up in small business pricing. Put in your cost and see both numbers side by side.

A 20% markup is NOT a 20% margin. To keep 20% of the price you need a 25% markup.

Sell price

$48,000

Gross profit

$8,000

Actual margin / Actual markup

16.67% / 20.00%

Estimate only. It doesn't know your site, market or costs. Check results before a bid, contract or purchase.

## How the math works

Markup is profit as a share of the cost. Margin is profit as a share of the price. The dollars are the same, the base is different, so the margin is always the smaller percentage.

Markup = (Price − Cost) ÷ Cost  
Margin = (Price − Cost) ÷ Price  
Price with a markup = Cost × (1 + Markup)  
Price for a target margin = Cost ÷ (1 − Margin)  
Margin = Markup ÷ (1 + Markup)

### The example above

A $40,000 job with a 20% markup sells for $48,000, a gross profit of $8,000. That is a 16.67% margin. To keep 20% of the price, divide by 0.80 instead: $40,000 ÷ 0.80 = $50,000, a gross profit of $10,000.

### Markup to margin

| Markup | Margin |
| --- | --- |
| 10% | 9.09% |
| 15% | 13.04% |
| 20% | 16.67% |
| 25% | 20.00% |
| 30% | 23.08% |
| 40% | 28.57% |
| 50% | 33.33% |
