Margin & Markup Calculator
Last updated: August 31, 2026
Calculate profit margin and markup percentages, find the right selling price from your cost and target margin, and convert between margin and markup scales. Includes break-even analysis with fixed overhead, quantity pricing, and visual cost/revenue breakdown.
The $24,000 Pricing Mistake
A small e-commerce owner sells handmade furniture. A dining table costs her $400 to produce. She wants a 40% margin. So she adds 40% to the cost: $400 Γ 1.40 = $560.
But here's the problem. At $560, her actual margin is:
($560 - $400) Γ· $560 Γ 100 = 28.6% margin, not 40%
She wanted 40% but got 28.6%. That's an 11.4 percentage point gap in profit margin. On 200 tables sold per year, that's $24,000 in lost profit annually.
To actually achieve a 40% margin, she should have priced at: $400 Γ· (1 - 0.40) = $667. A 40% margin requires a 66.7% markup β not 40%.
This is the most expensive mistake in small business pricing. And it happens every day because margin and markup are confused.
Margin to Markup Conversion Chart
Margin β Markup
Markup = Margin Γ· (1 β Margin)
Example: 40% margin β 0.40 Γ· 0.60 = 66.7% markup
Markup β Margin
Margin = Markup Γ· (1 + Markup)
Example: 66.7% markup β 0.667 Γ· 1.667 = 40% margin
Margin to Markup
| Margin % | Markup % |
|---|---|
| 10% | 11.1% |
| 15% | 17.6% |
| 20% | 25.0% |
| 25% | 33.3% |
| 30% | 42.9% |
| 33% | 49.3% |
| 40% | 66.7% |
| 50% | 100.0% |
| 60% | 150.0% |
| 70% | 233.3% |
| 75% | 300.0% |
Markup to Margin
| Markup % | Margin % |
|---|---|
| 10% | 9.1% |
| 15% | 13.0% |
| 20% | 16.7% |
| 25% | 20.0% |
| 30% | 23.1% |
| 33% | 24.8% |
| 40% | 28.6% |
| 50% | 33.3% |
| 60% | 37.5% |
| 70% | 41.2% |
| 75% | 42.9% |
| 100% | 50.0% |
Notice: Margin is always lower than markup (at a profit). The gap grows larger as profit increases. A 50% margin requires a 100% markup. A 60% margin requires a 150% markup.
What Is Profit Margin?
Profit margin measures what percentage of your revenue is actual profit. It's the most important metric for business health because it tells you how efficiently you're turning sales into profit.
Gross Profit Margin
Gross Margin = (Revenue - COGS) Γ· Revenue Γ 100
COGS (Cost of Goods Sold) includes direct costs: materials, labor, manufacturing, and shipping to get the product ready for sale. It does NOT include rent, marketing, salaries, or other overhead.
Net Profit Margin
Net Margin = Net Income Γ· Revenue Γ 100
Net margin includes all expenses β COGS plus rent, salaries, marketing, insurance, taxes, software, utilities, and everything else. It's the true bottom line.
What Is Markup?
Markup is the amount you add to the cost to determine the selling price. It's expressed as a percentage of the cost, not the selling price.
Markup % = (Selling Price - Cost) Γ· Cost Γ 100
Retail stores often use markup for pricing because it's intuitive: βI paid $10, I want to sell it for $25 β that's a 150% markup.β The margin on that same product is ($25 - $10) Γ· $25 = 60%.
Reverse Markup Calculator: Find Cost from Price and Markup
Already know your selling price and the markup percentage you applied β but need to find the original cost? Use this reverse calculation.
Cost = Selling Price Γ· (1 + Markup %)
Example: You sold an item for $130 at a 30% markup. What was your cost?
Cost = $130 Γ· (1 + 0.30) = $130 Γ· 1.30 = $100
Example 2: Selling price $250, markup 25%.
Cost = $250 Γ· 1.25 = $200
Use this when auditing past sales, verifying a supplier's pricing, or reverse-engineering a competitor's cost structure from their listed price and known markup convention.
Three Real-World Pricing Scenarios
Scenario 1: The Retailer's Dilemma
A clothing store buys a jacket wholesale for $45. The owner wants a 55% margin. What should the price be?
Price = $45 Γ· (1 - 0.55) = $45 Γ· 0.45 = $100
Check: Margin = ($100 - $45) Γ· $100 = 55% β. Markup = ($100 - $45) Γ· $45 = 122%.
Scenario 2: The SaaS Company's Pricing
A B2B SaaS company has $200,000 in annual revenue. Their hosting, API costs, and customer support total $30,000 annually. Their engineering salaries and overhead total $120,000.
- Gross margin = ($200,000 - $30,000) Γ· $200,000 = 85% (strong for SaaS)
- Net margin = ($200,000 - $150,000) Γ· $200,000 = 25% (healthy)
If they need to raise net margin to 30% to attract investors, they have two levers: reduce costs (engineering) or raise prices. A 10% price increase to $220,000 revenue with same costs yields: ($220,000 - $150,000) Γ· $220,000 = 31.8% net margin.
Scenario 3: The Restaurant's Thin Margins
A restaurant sells a pasta dish for $18. Ingredients cost $6. The gross margin is ($18 - $6) Γ· $18 = 66.7% β good. But after rent, labor, utilities, insurance, and marketing, the net margin might only be 5-10%. The restaurant needs to sell the dish 15-20 times just to pay for one day of rent.
This is why restaurants focus on table turnover: margin per seat Γ seats filled Γ turnover rate = the actual profit equation that matters.
What Is X% Markup or Margin on $100 or $500?
| On $100 | On $500 | |
|---|---|---|
| 20% markup β price | $120.00 | $600.00 |
| 25% markup β price | $125.00 | $625.00 |
| 30% markup β price | $130.00 | $650.00 |
| 20% margin β price | $125.00 | $625.00 |
| 25% margin β price | $133.33 | $666.67 |
| 30% margin β price | $142.86 | $714.29 |
βOn $100/$500β refers to the cost base. Price = Cost Γ (1 + Markup%) for markup rows, or Cost Γ· (1 β Margin%) for margin rows.
Industry Margin Benchmarks
Average margin ranges by industry. Use these to evaluate your own pricing.
| Industry | Typical Gross Margin | Typical Net Margin | Key Cost Driver |
|---|---|---|---|
| SaaS / Software | 70% β 85% | 15% β 25% | R&D, hosting |
| Professional Services | 50% β 80% | 10% β 20% | Labor, billable hours |
| Retail (General) | 25% β 50% | 2% β 5% | Inventory, rent |
| E-commerce | 35% β 55% | 5% β 15% | COGS, shipping, ads |
| Manufacturing | 20% β 40% | 5% β 10% | Materials, labor |
| Food & Beverage | 30% β 60% | 3% β 8% | Ingredients, labor, rent |
| Healthcare | 40% β 60% | 10% β 20% | Regulation, equipment |
| Construction | 15% β 35% | 2% β 8% | Materials, labor, permits |
Is X% a Good Margin or Markup?
Is 20% a good profit margin? It's on the low end outside of retail and grocery. Fine for high-volume, low-margin retail; weak for services or SaaS.
Is 30% a good profit margin? Solid for most industries β above the 5β15% average net margin most businesses run. Below average for SaaS, which typically nets 15β25%.
Is 60β70% a good profit margin? Excellent as a gross margin (normal for SaaS, professional services, branded products). Unusually high as a net margin β worth confirming which one is meant.
Is 70%+ profit margin too high? Not inherently β expected in software, licensing, and digital products with near-zero marginal cost. Would be unusual in retail or manufacturing.
Is 30% a good markup? Yes for most product businesses β it converts to a 23.1% margin, which is healthy in most industries outside thin-margin retail.
What is a normal markup? Most retail businesses use 30β50% markup; SaaS and services often use much higher markups since digital delivery costs are minimal.
What is a maximum profit margin? There's no fixed ceiling β margin approaches but never reaches 100% unless cost is $0.
Which businesses hit 50%+ margins? SaaS/software, professional services, licensing, and branded consumer goods with low COGS typically clear 50%+ gross margin.
Three Margin Mistakes That Cost Real Money
Mistake 1: Confusing Margin with Markup
As shown above, a 40% markup β 40% margin. Always verify which number you're using. When someone says βI want a 50% margin,β make sure they mean margin (based on selling price), not markup (based on cost).
Mistake 2: Ignoring Net Margin
A 60% gross margin sounds great until you realize your overhead consumes 55% of revenue, leaving only 5% net margin. Many businesses that look profitable on paper go under because they only tracked gross margin.
Mistake 3: Pricing Below Industry Average
If your industry's typical gross margin is 50% and you're at 30%, you're either: (a) priced too low, (b) paying too much for materials, or (c) both. Use the calculator to find the price that puts you in the healthy range for your industry.
Margin & Markup Formulas in Excel
Margin formula in Excel:
=(B2-A2)/B2
Where A2 = cost, B2 = selling price
Markup formula in Excel:
=(B2-A2)/A2
Where A2 = cost, B2 = selling price
Selling price from cost + target margin:
=A2/(1-C2)
Where A2 = cost, C2 = target margin as a decimal
Download the free Margin & Markup Excel Template β 4 sheets with all formulas pre-built: Margin & Markup calculator, Price from Margin/Markup, Conversion Chart, and Reverse Markup. No email required.
Key Takeaways
- Margin = Profit Γ· Selling Price β always divide by what you charge, not what you paid
- Markup = Profit Γ· Cost β always higher than margin (at a profit)
- Never confuse the two β the 40% markup/40% margin trap costs businesses thousands
- Gross margin β Net margin β track both for a complete picture
- Use our calculator β the Margin & Markup Calculator handles conversions instantly
Frequently Asked Questions
What is the difference between margin and markup?
Margin is the percentage of revenue that is profit; markup is the percentage added to cost to set the price. Example: Cost $50, Revenue $100 β Margin = 50%, Markup = 100%. Margin is always lower than markup at any real profit level.
How do I calculate profit margin?
Profit Margin = (Revenue β Cost) Γ· Revenue Γ 100. Example: sell for $200, cost $120 β ($200β$120)Γ·$200Γ100 = 40% margin.
How do I convert margin to markup?
Markup % = Margin % Γ· (1 β Margin %). Example: 25% margin = 0.25 Γ· 0.75 = 33.3% markup.
How do I convert markup to margin?
Margin % = Markup % Γ· (1 + Markup %). Example: 50% markup = 0.50 Γ· 1.50 = 33.3% margin.
How do I calculate the selling price from cost and margin?
Selling Price = Cost Γ· (1 β Margin %). Example: cost $50, target margin 40% β $50 Γ· 0.60 = $83.33.
How do I calculate the selling price from cost and markup?
Selling Price = Cost Γ (1 + Markup %). Example: cost $50, markup 50% β $50 Γ 1.50 = $75.00.
What is a good profit margin?
It depends on industry: SaaS averages 70β85% gross margin, retail 25β50%, restaurants 60β70% gross but only 3β15% net, professional services 50β80% gross. Always compare to your specific industry.
How do fixed costs affect break-even?
Break-even point = Total Fixed Costs Γ· Profit Per Unit. Example: $5,000/month fixed costs, $50 profit per unit β 100 units/month to break even.
What is the difference between gross margin and net margin?
Gross margin only subtracts direct production costs (COGS). Net margin subtracts all expenses, including overhead. Net margin is always lower.
Why is my margin lower than my markup?
Because margin divides by revenue (the larger number) and markup divides by cost (the smaller number), for the same dollar profit. Example: $50 profit on $50 cost is 100% markup; $50 profit on $100 revenue is only 50% margin.
How do I calculate profit margin for multiple products?
Enter cost and revenue for a single unit, then scale with the quantity slider (supports up to 1,000 units). For products with different margins, calculate each separately and average.
How do I calculate markup from margin?
Markup = Margin Γ· (1 β Margin). Example: 30% margin β 0.30 Γ· 0.70 = 42.9% markup.
What margin is a 15% markup?
A 15% markup converts to a 13.0% margin. Formula: Margin = Markup Γ· (1 + Markup).
Is markup or margin higher?
Markup is always higher than margin at any real profit level, since markup is measured against the smaller base (cost) and margin against the larger base (selling price).
How do I increase my profit margin?
Raise prices, reduce COGS through better supplier terms, cut waste and returns, shift sales mix toward higher-margin products, and reduce discounting.
Is there a margin formula in Excel?
Yes: =(B2-A2)/B2 where A2 is cost and B2 is selling price. See the Excel section above for markup and price formulas too.
Margin Calculator Pros & Cons
Pros
- β Instant margin & markup side-by-side
- β Break-even analysis with overhead toggle
- β Free Excel template with pre-built formulas
- β Free forever β no subscriptions
- β Works offline after page load
- β No sign-up or email required
Cons
- β No dedicated mobile app

Reviewed by Shahid
Content Reviewer & Calculator SpecialistContent reviewer specializing in marketing, finance, health, and math calculators on GM Calculator.