Use Margin Calculator

Enter your data below to use the Margin Calculator

📌 Try these examples:
RESULT

Last updated

Calculating Profit Margin from Cost and Price

A product costs $10 and sells for $15. Calculate the profit margin:

Input:
  Cost:          $10.00
  Selling price: $15.00

Calculations:
  Profit:        $15.00 - $10.00 = $5.00
  Profit margin: $5.00 / $15.00 = 33.33%
  Markup:        $5.00 / $10.00 = 50.00%

Result:
  Profit margin: 33.33%
  Markup:        50.00%
  Profit:        $5.00

Note: A 50% markup does NOT equal a 50% margin. This is the most common pricing confusion in small business.

Calculating Selling Price from Desired Margin

You want a 40% profit margin on a product that costs $25. What should the selling price be?

Input:
  Cost:           $25.00
  Desired margin: 40%

Formula: Selling price = Cost / (1 - Margin)
  = $25.00 / (1 - 0.40)
  = $25.00 / 0.60
  = $41.67

Result:
  Selling price: $41.67
  Profit:        $16.67
  Markup:        66.67%

Verification:
  $16.67 / $41.67 = 40.0% margin ✓

Calculating Selling Price from Desired Markup

You want a 50% markup on a product that costs $20:

Input:
  Cost:            $20.00
  Desired markup:  50%

Formula: Selling price = Cost × (1 + Markup)
  = $20.00 × (1 + 0.50)
  = $20.00 × 1.50
  = $30.00

Result:
  Selling price: $30.00
  Profit:        $10.00
  Profit margin: 33.33%

Note: 50% markup ≠ 50% margin.
The margin is 33.33%, not 50%.

Margin vs Markup — Side-by-Side Comparison

The same product showing both calculations to illustrate the difference:

Product: Widget
Cost: $10.00

If you want 50% MARGIN:
  Selling price = $10 / (1 - 0.50) = $20.00
  Profit = $10.00
  Markup = 100%

If you want 50% MARKUP:
  Selling price = $10 × 1.50 = $15.00
  Profit = $5.00
  Margin = 33.33%

The difference: $5.00 per unit
Over 1,000 units: $5,000 difference in profit

This is why confusing margin and markup is costly.

Impact of Discounts on Margin

Your product normally sells for $50 with a 40% margin. A customer asks for a 15% discount:

Original pricing:
  Selling price: $50.00
  Cost:          $30.00 (calculated from 40% margin)
  Profit:        $20.00
  Margin:        40%

After 15% discount:
  Discounted price: $50.00 × (1 - 0.15) = $42.50
  Cost:             $30.00 (unchanged)
  Profit:           $12.50
  New margin:       $12.50 / $42.50 = 29.4%

Margin impact: 40% → 29.4% (a 10.6 percentage point drop)
Profit reduction: $20.00 → $12.50 (37.5% less profit per unit)

Minimum price to maintain 20% margin:
  $30.00 / (1 - 0.20) = $37.50
  Maximum discount: ($50 - $37.50) / $50 = 25%

Gross Margin vs Net Margin

A product sells for $100. Cost of goods is $40. Operating expenses are $30:

Revenue:              $100.00

Gross margin calculation:
  Cost of goods sold: $40.00
  Gross profit:       $60.00
  Gross margin:       60%

Net margin calculation:
  Gross profit:       $60.00
  Operating expenses: $30.00
  Net profit:         $30.00
  Net margin:         30%

The gross margin (60%) looks healthy, but after operating
expenses the net margin is 30%. Both metrics matter for
understanding true profitability.

Break-Even Analysis

You have $5,000 in fixed monthly costs. Your product sells for $50 with a $20 variable cost:

Input:
  Fixed costs:    $5,000/month
  Selling price:  $50.00
  Variable cost:  $20.00

Contribution margin per unit:
  $50.00 - $20.00 = $30.00

Break-even units:
  $5,000 / $30.00 = 167 units/month

Break-even revenue:
  167 × $50.00 = $8,350/month

Margin at break-even:
  Contribution margin: $30/$50 = 60%
  Net margin at break-even: 0% (exactly covering costs)

To achieve 20% net margin:
  Required revenue: $5,000 / (0.60 - 0.20) = $12,500
  Required units: $12,500 / $50 = 250 units/month

Retail Pricing with Industry Benchmarks

Compare your margins against industry benchmarks:

Your product:
  Cost: $15.00
  Price: $24.99
  Margin: 40%

Industry margin benchmarks:
  Grocery retail:      1-3%   — Your margin is much higher ✓
  Clothing retail:     40-60% — Your margin is at the low end
  Electronics retail:  5-15%  — Your margin is much higher ✓
  Software/SaaS:       70-90% — Your margin is lower
  Restaurant food:     60-70% — Your margin is lower

Assessment: For a physical product, 40% margin is solid.
Consider whether there's room to increase price to 45-50%
margin while remaining competitive.

Bundle Pricing Margin Analysis

Analyze the margin on a product bundle:

Bundle contents:
  Product A: Cost $10, normally sells for $20 (50% margin)
  Product B: Cost $15, normally sells for $25 (40% margin)
  Product C: Cost $5,  normally sells for $12 (58% margin)

Total cost:          $30.00
Total normal price:  $57.00

Bundle price:        $45.00

Bundle margin:
  Profit: $45.00 - $30.00 = $15.00
  Margin: $15.00 / $45.00 = 33.3%

Individual product average margin: 49%
Bundle margin: 33.3%

The bundle discount reduces margin by 15.7 percentage points.
Is the increased volume worth the margin reduction?

Frequently Asked Questions

Simply enter your data, click the process button, and get instant results. All processing happens in your browser for maximum privacy and security.

Yes! Margin Calculator is completely free to use with no registration required. All processing is done client-side in your browser.

Absolutely! All processing happens locally in your browser. Your data never leaves your device, ensuring complete privacy and security.