Profit Margin vs. Markup: Formula, Differences, and Conversion Examples

Understand the mathematical and commercial distinction between margin and markup to price jobs profitably without losing money.

Updated:

Want instant margin and markup conversions?

Calculate target prices, cost of goods, and gross margins automatically with our interactive calculator.

Open Profit Margin Calculator

1. Definitions and Fundamental Formulas

Both metrics describe gross profit, but they use different denominators. Applying a margin target as though it were a markup can produce a lower selling price than intended.

Gross margin = gross profit ÷ selling price. Markup = gross profit ÷ cost. The price multiplier for a markup is 1 + markup rate; for a target margin it is 1 ÷ (1 − margin rate).

Markup Formula

Calculates profit as a percentage of Cost:

Markup % = ((Selling Price − Cost) ÷ Cost) × 100

Example: Item costs $100, sells for $150.
Markup = (($150 − $100) ÷ $100) × 100 = 50%

Profit Margin Formula

Calculates profit as a percentage of Revenue (Selling Price):

Margin % = ((Selling Price − Cost) ÷ Selling Price) × 100

Example: Item costs $100, sells for $150.
Margin = (($150 − $100) ÷ $150) × 100 = 33.33%

2. Conversion Formulas

If you know your desired gross margin and need to determine what markup to apply to wholesale materials or labor, use these exact algebraic conversions:

Convert Margin to Markup:
Markup = Margin ÷ (1 − Margin)

Convert Markup to Margin:
Margin = Markup ÷ (1 + Markup)

Note: When using these conversion formulas, express percentages as decimals (e.g., 20% = 0.20).

3. Markup vs. Margin Reference Table

The table below shows what selling price and profit margin result from applying various markup percentages to an item with a $100 baseline cost:

Gross profit, price, and margin when applying markups to a $100 cost
CostMarkup %Price MultiplierSelling PriceGross Profit ($)Profit Margin %
$100.0015.0%1.15×$115.00$15.0013.04%
$100.0020.0%1.20×$120.00$20.0016.67%
$100.0025.0%1.25×$125.00$25.0020.00%
$100.0033.33%1.3333×$133.33$33.3325.00%
$100.0050.0%1.50×$150.00$50.0033.33%
$100.00100.0%2.00×$200.00$100.0050.00%
$100.00200.0%3.00×$300.00$200.0066.67%
$100.00300.0%4.00×$400.00$300.0075.00%

4. Contractor Pricing Example

For illustration, suppose the cost base selected for a project is$50,000 and the pricing target is a 25% gross margin on the selling price. The example treats that amount as the cost base; it does not establish that this target or cost list fits a real contractor's job. Gross profit remaining after the selected costs may still need to cover overhead and other expenses.

  • The Mistake (Applying 25% Markup):
    Price = $50,000 × 1.25 = $62,500.
    Actual Margin = ($12,500 ÷ $62,500) = 20.0%.
    Result: This price produces about $4,167 less gross profit than the 25% target-margin calculation below.
  • The Correct Calculation (25% Target Margin):
    Markup required = 0.25 ÷ (1 − 0.25) = 0.25 ÷ 0.75 = 33.33%.
    Price = $50,000 ÷ (1 − 0.25) = $50,000 ÷ 0.75 = $66,666.67.
    Gross Profit = $16,666.67.
    Actual Margin = ($16,666.67 ÷ $66,666.67) = 25.0%.

5. Key Takeaways for Pricing Strategies

  1. For a target margin, use the margin formula. Applying the same percentage as markup produces a lower price when cost and the target margin are positive.
  2. To price for a specific margin: Divide your cost by (1 − Target Margin Decimal). For a 30% margin on a $70 cost, calculate $70 ÷ 0.70 = $100.
  3. For a positive selling price and non-negative cost:gross margin is at most 100% (reached when cost is zero), and it can be negative when cost exceeds the selling price. Markup is undefined when cost is zero; with a positive cost, it can exceed 100%.

Related Business & Estimating Tools

Explore the numbers behind an estimate with these related business tools: