Margin Calculator

Enter what an item costs you and what you sell it for; see the margin, the markup and the profit per unit.

Gross Margin
โ€”
Markup
โ€”
Profit / Unit
โ€”
Margin %
โ€”
Results are estimates for planning purposes only.

Margin vs. Markup โ€” The Classic Mix-Up

Margin and markup describe the same profit with different denominators, and confusing them misprices products constantly. Markup divides profit by cost (price is 25% over cost). Margin divides profit by price (25% of revenue is profit). A 50% markup is only a 33% margin โ€” the same economics, two numbers. Businesses talk margin because margins roll up cleanly to financial statements; buyers and cost-plus pricers talk markup. The dangerous trap: pricing at "a 25% margin" but computing 25% markup leaves 20% margin โ€” a fifth of your intended profit quietly gone.

MarkupMarginExample (cost $40)
25%20%Price $50
50%33.3%Price $60
100%50%Price $80
150%60%Price $100
What's a good margin for my business?

By sector: grocery 1โ€“3% net (volume game), restaurants 3โ€“9%, consulting 15โ€“30%, software 70โ€“80% gross / 20โ€“30% net. Gross margin prices the product; net margin prices the business. Compare against your sector's benchmarks, not across sectors โ€” a 5% margin is excellent in grocery and a distress signal in consulting.

How do I compute margin when costs vary per unit?

Use average cost: total COGS รท units sold over the period, then the standard margin formula. Blended-cost businesses (one product at 60% margin, another at 20%) need weighted analysis โ€” the mix shifts the blended margin even when neither product's margin moves. The calculator handles the single-rate case; mix analysis is a spreadsheet job.

Frequently Asked Questions

What is a good profit margin?

It varies enormously by industry: grocery retail runs 1โ€“3% net, software companies often 20โ€“30%+. Gross margin (the number this calculator produces) is a different animal from net margin after overhead โ€” a healthy gross margin for a retailer might be 25%, while a manufacturer needs 40%+ to cover operating costs. Compare within your industry, not across them.

How do I price for a target margin?

Divide cost by (1 โˆ’ target margin): for a 40% margin on a $60 cost, price = 60 / 0.6 = $100. This is the inverse of the calculator above โ€” it answers "what price gives me 40%?" instead of "what margin does $100 give me?"

Related Tools