Business math: margin, markup, and break-even explained

|
business finance pricing

A product that costs $40 to make and sells for $100 has a 60% gross margin and a 150% markup. Those are the same dollar amount described two different ways, and confusing them is one of the most common pricing mistakes in small business. This guide covers the four numbers that drive every pricing decision: gross margin, profit margin, markup, and break-even. Each has a precise formula, and the differences matter.

Gross margin: revenue minus cost of goods

Gross margin measures the percentage of revenue left after paying for the direct cost of producing what you sold. The formula:

\[\text{Gross Margin \%} = \frac{\text{Revenue} - \text{COGS}}{\text{Revenue}} \times 100\]

Where COGS (cost of goods sold) is the direct cost of producing the items you sold: materials, labor, and any per-unit production cost. It excludes overhead, marketing, rent, and salaries unrelated to production.

For a coffee shop selling a latte for $5.00 with $1.20 in milk, espresso, cup, and lid:

\[\text{Gross Margin \%} = \frac{5.00 - 1.20}{5.00} \times 100 = 76\%\]

Gross margin tells you how much of every dollar of revenue is available to cover overhead and contribute to profit. A 76% gross margin means $0.76 of every dollar funds the rest of the business.

Markup: cost as the base

Markup uses cost as the denominator instead of revenue:

\[\text{Markup \%} = \frac{\text{Revenue} - \text{COGS}}{\text{COGS}} \times 100\]

For the same latte:

\[\text{Markup \%} = \frac{5.00 - 1.20}{1.20} \times 100 = 317\%\]

Same product, same prices, completely different number. The two metrics answer different questions:

  • Margin answers: “What percentage of my selling price is profit?”
  • Markup answers: “What percentage did I add on top of my cost?”

Both are valid. Most retail and wholesale industries quote markup because they think in terms of cost-plus pricing. Most service businesses and SaaS companies quote margin because they think in terms of revenue and unit economics.

Margin and markup conversion table

For any product, margin and markup are mathematically related:

\[\text{Markup \%} = \frac{\text{Margin \%}}{1 - \text{Margin \%}}\] \[\text{Margin \%} = \frac{\text{Markup \%}}{1 + \text{Markup \%}}\]

Common conversions:

Margin Markup
10% 11.1%
20% 25%
25% 33.3%
33.3% 50%
40% 66.7%
50% 100%
60% 150%
66.7% 200%
75% 300%
80% 400%

Notice the asymmetry: a 50% markup is only a 33% margin. This is where pricing mistakes happen. A retailer who wants a 50% margin and applies a 50% markup ends up with only a 33% margin and is short on revenue.

Profit margin: the bottom-line version

Gross margin only subtracts COGS. Profit margin (sometimes called net profit margin or net margin) subtracts everything: COGS, operating expenses, interest, and taxes.

\[\text{Net Profit Margin \%} = \frac{\text{Net Income}}{\text{Revenue}} \times 100\]

The full income statement for a small ecommerce business might look like:

Line item Amount
Revenue $500,000
COGS $200,000
Gross profit $300,000 (60% gross margin)
Operating expenses $180,000
Operating profit $120,000 (24% operating margin)
Interest and taxes $30,000
Net income $90,000 (18% net margin)

The same business has three different margin numbers depending on which costs are subtracted. When someone says “what is your margin?” the answer depends on context. Gross margin is most useful for pricing decisions; net margin is most useful for evaluating overall business health.

Break-even: the volume threshold

Break-even is the sales volume at which total revenue equals total costs. Below it, the business loses money. Above it, it makes money.

\[\text{Break-Even Units} = \frac{\text{Fixed Costs}}{\text{Price per Unit} - \text{Variable Cost per Unit}}\]

The denominator is the contribution margin per unit: the dollar amount each sale contributes toward fixed costs after covering its own variable costs.

For a coffee shop with $8,000 monthly fixed costs (rent, base salaries, utilities), selling lattes at $5.00 with $1.20 variable cost per unit:

\[\text{Break-Even Units} = \frac{8000}{5.00 - 1.20} = \frac{8000}{3.80} \approx 2,106 \text{ lattes}\]

The shop must sell approximately 2,106 lattes per month to break even. At 2,107 lattes, it starts making money. Each additional latte adds $3.80 to operating profit.

For revenue rather than units, multiply by price:

\[\text{Break-Even Revenue} = 2,106 \times \$5.00 = \$10,530\]

ROI: returns relative to investment

ROI (return on investment) measures gain relative to the amount invested:

\[\text{ROI \%} = \frac{\text{Gain from Investment} - \text{Cost of Investment}}{\text{Cost of Investment}} \times 100\]

For a marketing campaign that costs $5,000 and generates $20,000 in attributable revenue at a 40% gross margin:

  • Gross profit from campaign: $20,000 × 0.40 = $8,000
  • Net gain: $8,000 - $5,000 = $3,000
  • ROI: $3,000 / $5,000 = 60%

ROI works for any discrete investment: a marketing campaign, a piece of equipment, a new hire, or a software purchase. The challenge is usually attribution: figuring out which revenue is actually caused by the investment.

Worked example: pricing a new product

A consultant wants to sell a productized service for the right price. The numbers:

  • Direct delivery cost per client (software, materials, contractor labor): $200
  • Monthly fixed costs allocated to this product: $4,000
  • Target net margin: 25%

Step 1: Set price using target margin

If price P should produce a 25% net margin after fixed cost allocation, and the consultant expects to sell 20 units per month:

  • Allocated fixed cost per unit at 20 units: $4,000 / 20 = $200
  • Total cost per unit: $200 + $200 = $400
  • For a 25% net margin: Price × 0.75 = $400, so Price = $533

Step 2: Calculate margin and markup

  • Gross margin (excluding fixed cost): ($533 - $200) / $533 = 62.5%
  • Net margin (after fixed cost): ($533 - $400) / $533 = 25%
  • Markup over direct cost: ($533 - $200) / $200 = 167%

Step 3: Find break-even volume

\[\text{Break-Even Units} = \frac{4000}{533 - 200} = \frac{4000}{333} \approx 12 \text{ units}\]

The consultant needs 12 units per month to cover fixed costs. The 20-unit projection includes 8 units of pure profit at $333 each, giving $2,664 in monthly profit at planned volume.

Step 4: Sensitivity check

What if only 10 units sell? The math reverses: revenue is $5,330, total costs are $200 × 10 + $4,000 = $6,000, and the business loses $670 per month. Below break-even, every fixed cost has to come out of margin from a smaller number of units.

Common pricing mistakes

Confusing margin with markup. A 50% markup is a 33% margin. Pricing for a 50% margin requires a 100% markup. Use the profit margin calculator or markup calculator to convert.

Allocating fixed costs to a single unit. A $40 product cannot absorb $200 of fixed cost per unit unless volume is high enough. Always check break-even before setting prices.

Ignoring variable costs that scale. Payment processing fees, shipping, and refunds all reduce gross margin. A 3% payment fee on a 60% margin product is a 3 percentage point hit, dropping the real margin to 57%.

Treating ROI as a single number. A 60% ROI on a $5,000 investment is impressive. The same 60% ROI on $500,000 is a different conversation. Always look at both percentage and absolute dollar return.

How the metrics connect

Gross margin sets the ceiling. Operating expenses determine how much of that gross margin survives. Break-even sets the volume floor. ROI evaluates discrete decisions against this overall structure.

A business with high gross margins (software, services) can afford to spend more on overhead and still hit a profitable net margin. A business with thin gross margins (grocery, distribution) must control overhead aggressively. Both can be profitable; both require different operational discipline.

Use the gross margin calculator, profit margin calculator, markup calculator, break-even calculator, and ROI calculator to work through your own numbers.