HomeToolscalculatorsProfit Margin Calculator
Last Updated: August 24, 2026Verified

Calculate Profit Margins and Markups — Instantly

Margin and markup are two ways of measuring the same profit — expressed differently. Getting these confused when pricing products is a costly mistake. Cluster Tools's Profit Margin Calculator clarifies both, plus handles the most common pricing scenarios.

Margin vs. Markup: The Critical Difference

These two terms are often used interchangeably but have fundamentally different formulas:

Gross Profit Margin = (Revenue - Cost) ÷ Revenue × 100 → "What percentage of the selling price is profit?"

Markup = (Revenue - Cost) ÷ Cost × 100 → "By what percentage did I mark up the cost?"

Example: Cost = $60, Selling Price = $100

  • Margin: ($100 - $60) ÷ $100 × 100 = 40% margin
  • Markup: ($100 - $60) ÷ $60 × 100 = 66.7% markup

Same situation, different numbers. A 40% margin equals a 66.7% markup. This is why a supplier saying "we take 50% markup" means your cost is being doubled — not that your margin is 50%.

Converting Between Margin and Markup

Markup = Margin ÷ (1 - Margin) Margin = Markup ÷ (1 + Markup)

| Margin | Equivalent Markup | |---|---| | 20% | 25% | | 25% | 33.3% | | 33.3% | 50% | | 40% | 66.7% | | 50% | 100% |

Calculating Selling Price from Desired Margin

If you know the cost and want a specific margin:

Selling Price = Cost ÷ (1 - Desired Margin)

Example: Cost = $60, Target margin = 40%: Selling Price = 60 ÷ (1 - 0.40) = 60 ÷ 0.60 = $100

This is the most common use case: pricing a product to achieve a specific gross margin target.

Industry Gross Margin Benchmarks

| Industry | Typical Gross Margin | |---|---| | Software/SaaS | 70–85% | | E-commerce (retail) | 30–50% | | Manufacturing | 25–40% | | Food service / Restaurants | 60–70% (on food; 15–35% overall) | | Wholesale / Distribution | 15–30% | | Professional Services | 50–70% |

Step-by-Step: How to Use

  1. Enter cost price and selling price — get margin and markup automatically.
  2. Or enter cost and desired margin — get the selling price you should charge.
  3. Or enter cost and desired markup — get the selling price.
  4. Read all derived values — margin %, markup %, profit amount, and cost-to-revenue ratio.

Frequently Asked Questions

What's a healthy profit margin? Varies dramatically by industry (see benchmarks above). For physical product businesses, gross margins below 20% leave little room for operating expenses and profit. For software, anything below 60% gross margin raises questions about scalability.

What's the difference between gross margin and net margin? Gross margin deducts only direct costs (cost of goods sold). Net margin deducts all expenses: COGS, operating expenses, interest, and taxes. Net margin = bottom line. Cluster Tools calculates gross margin; net margin requires knowledge of all your overhead costs.

Can I calculate margin for services (not products)? Yes — for a service business, "cost" is the fully-loaded cost to deliver the service (labor, tools, overhead allocation). Margin is calculated identically.

Related Tools