Business Tools

Profit Margin vs Markup: Formulas and Examples

Margin and markup use different denominators. Learn both formulas, the conversion table and a worked pricing example so you never confuse them again.

2 min read·Updated 2026-08-12

Markup and margin both describe the gap between what a product costs you and what you sell it for, but they divide by different numbers, so confusing them leads to underpricing. A 50% markup is not a 50% margin. This guide defines each term, gives the conversion formulas, and works a full example you can copy.

Gross margin vs net margin

Gross margin is the share of revenue left after the direct cost of producing what you sold. Net margin subtracts everything else: rent, salaries, marketing, interest and tax. A business can post a healthy 60% gross margin and still be unprofitable if operating costs swallow it. When a supplier quotes a margin, clarify which of the two they mean.

The two formulas

  • Margin = (Price − Cost) ÷ Price × 100, the share of the sale price that is profit.
  • Markup = (Price − Cost) ÷ Cost × 100, how much you add on top of cost.

If a $40 item sells for $60, the markup is 20 ÷ 40 = 50% and the margin is 20 ÷ 60 = 33.3%. Same profit dollars, very different percentages.

Converting between them

Markup = Margin ÷ (1 − Margin), and Margin = Markup ÷ (1 + Markup), both calculated in decimals rather than percentages. So a 40% margin equals 0.40 ÷ 0.60 = 66.7% markup, and a 100% markup equals 1.00 ÷ 2.00 = 50% margin. The conversions people need most often:

Target marginRequired markup
20%25%
25%33.3%
33.3%50%
40%66.7%
50%100%

A worked pricing example

Your cost per unit is $40 and you need a 40% margin to cover overhead. Price = Cost ÷ (1 − margin) = 40 ÷ 0.60 = $66.67. Now subtract real leakage: card processing at 2.9% + $0.30 costs about $2.23 on that sale, leaving $64.44, an effective margin of 38.9% rather than 40%. Price from net revenue, not gross, with the Profit Margin Calculator and the Fee Calculator open side by side.

Pricing implications

  1. Discounts hurt margin faster than they look: cutting a 40%-margin price by 10% drops the margin to 33.3%, wiping out a sixth of the profit.
  2. Never apply a markup figure and call it a margin. Vendors who say they need 30% usually mean margin, which is a 42.9% markup.
  3. Fees, refunds, shipping and write-offs erode margin directly, so recompute after those costs, not before.

Frequently asked questions

Is a higher markup always better? No. Markup ignores what the market will pay and what the business costs to run. Net margin is the figure that keeps you solvent.

What is a good profit margin? It depends on the sector: grocery retail runs 1-3% net, software commonly 20-40%, agencies 10-20%. Benchmark against your own industry.

Does margin apply to services? Yes. Replace cost of goods with your delivered labour cost plus an overhead allocation to get a comparable number.

Tools used in this guide

Related guides