Costs, Pricing and Comparisons

Profit Margin vs. Markup: Formulas, Examples and How to Price for the Profit You Want

Learn the difference between margin and markup, the formulas for each, a conversion table and how to set a price that actually delivers your target profit.

Updated · 5 min read

Profit Margin vs. Markup: Formulas, Examples and How to Price for the Profit You Want

Margin and markup both describe profit on a sale, but margin is a percentage of the selling price while markup is a percentage of the cost. A 50% markup is only a 33.3% margin, and a 50% margin requires a 100% markup. Mixing them up is one of the most common pricing errors, and it quietly cuts your profit on every sale. The fix is to pick one measure, learn its formula and convert carefully when a supplier, software tool or advisor uses the other.

The two formulas

  • Markup % = (price - cost) / cost x 100
  • Gross margin % = (price - cost) / price x 100

The numerator is the same in both: the dollar profit per unit. Only the denominator changes. Because price is always larger than cost, margin is always a smaller percentage than markup for the same sale.

Worked example

An item costs you $60 and you sell it for $100.

  • Profit per unit: $100 - $60 = $40
  • Markup: $40 / $60 = 66.7%
  • Margin: $40 / $100 = 40%

Same product, same sale, two different numbers. If you told your team "we make 40% on this" and they heard "add 40% to cost," they would price it at $84, which is only a 28.6% margin and $24 of profit per unit instead of $40.

Converting between margin and markup

To convert, use these formulas:

  • Markup = margin / (1 - margin)
  • Margin = markup / (1 + markup)
Target marginRequired markup on costPrice if unit cost is $50
20%25.0%$62.50
25%33.3%$66.67
30%42.9%$71.43
40%66.7%$83.33
50%100.0%$100.00
60%150.0%$125.00

The price column uses price = cost / (1 - margin). For a 40% margin on a $50 cost, price = $50 / 0.60 = $83.33.

Gross margin vs. net margin

Everything above is gross margin, which only subtracts the direct cost of the product or service. It does not include rent, salaries, marketing, insurance or taxes. Net margin is net profit divided by revenue after all expenses.

A shop might have a 45% gross margin and a 6% net margin. Gross margin tells you whether a price is healthy for the product; net margin tells you whether the business is healthy overall. When you set prices, start with gross margin, then check that it is high enough to cover your overhead using the break-even guide.

Step-by-step: price for a target margin

  1. List every variable cost per unit. Include materials, direct labor, packaging, shipping you absorb, and payment fees. For a $40 order paid by card at 2.9% plus $0.30, fees are about $1.46, which belongs in the cost.
  2. Add expected losses. Returns, breakage and discounts reduce real revenue. If 4% of units come back, build that into the cost.
  3. Choose a target gross margin. Work backward from your overhead. If fixed costs are high, you need either a higher margin or higher volume.
  4. Calculate the price. Price = total unit cost / (1 - target margin).
  5. Check against the market. If the price is far above competitors, ask whether you can lower costs or justify the difference with service, quality or convenience.
  6. Round to a sensible price point and recalculate the actual margin.

Example with fees included

A candle costs $9.00 in materials and labor to make, plus $1.00 packaging, plus an estimated $1.20 in processing and platform fees. Total variable cost is $11.20. For a 55% margin, price = $11.20 / 0.45 = $24.89, which you might round to $24.95 for an actual margin of about 55.1%. If you had forgotten the fees and priced from $10, the same formula would give $22.22 and your real margin would be only about 49.6%.

Common mistakes

  • Using markup language with margin math. Decide which one your spreadsheet uses and label the column.
  • Ignoring discounts. A 20% discount on a 40% margin item does not cut margin to 20%. At a $100 list price with $60 cost, a 20% discount sells at $80 and leaves $20 of profit, a 25% margin, and you need to sell 100% more units to earn the same total profit.
  • Applying one margin to everything. Services, wholesale and retail often need different margins because their costs and volumes differ.
  • Forgetting owner pay. If you are not paying yourself, your margin looks better than it really is.
  • Using list price instead of net price. Marketplace commissions and coupons reduce the revenue you actually keep.

How discounts change the volume you need

When you cut price, the profit per unit shrinks, so you must sell more to stand still. If your unit profit falls from $40 to $20, you need twice as many units to earn the same total profit. Before running a promotion, calculate the break-even increase in volume: old profit per unit divided by new profit per unit, minus one. If the promotion is unlikely to lift sales by that amount, it loses money.

When margins differ by industry

Typical margins vary widely: software and consulting often have high gross margins, while grocery, fuel and restaurants run on much thinner ones. Do not copy another industry's numbers. Instead, use trade associations, your own history and, where available, published industry benchmarks, and treat any single benchmark as a rough guide rather than a target.

Frequently asked questions

Which is better to track, margin or markup?

Most owners track margin because it is a share of revenue and connects directly to profit. Use markup when you set prices from supplier costs, but convert carefully.

Can markup be over 100%?

Yes. A product that costs $10 and sells for $30 has a 200% markup and a 66.7% margin. Margin can never exceed 100%.

Do taxes belong in margin?

Gross margin excludes income tax. Sales tax you collect is not revenue and should not be included in the price you use for margin math.

How do I find my current margin quickly?

Subtract your cost of goods sold from revenue for a period, then divide by revenue. Your bookkeeping software usually shows both numbers.

Sources

Related guides