Loading calculator…

Margin & Markup Calculator - Calculate Business Profit

A Profit Margin Calculator is a business analysis tool used to measure how much profit is generated from sales after covering costs. By comparing selling price and cost, this calculator helps determine gross profit, markup, and profit margin percentage. It is widely used in retail, trading, manufacturing, and service businesses to set prices and evaluate financial performance.

Margin and Markup Formula

Margin = ((Selling Price - Cost Price) / Selling Price) × 100%Formula: Markup = ((Selling Price - Cost Price) / Cost Price) × 100%

Variables:

  • MarginProfit Margin (%)
    (e.g.: 20%)
  • MarkupMarkup (%)
    (e.g.: 25%)
  • Selling PriceProduct Selling Price
    (e.g.: $120)
  • Cost PriceCost of Goods Sold
    (e.g.: $100)

Categories:

MarginPercentage of Selling Price
MarkupPercentage of Cost Price
ProfitSelling Price - Cost Price Difference

How to Calculate Profit Margin & Markup

  1. 1

    Enter Cost

    Enter purchase price or production cost per unit (cost price).

  2. 2

    Enter Selling Price

    Enter your product selling price in the market.

  3. 3

    Calculate

    The calculator shows both margin and markup at once.

  4. 4

    Analyze

    Use results to evaluate whether your selling price is optimal.

Examples

Example 1: Clothing Reseller (Margin vs Markup)

Problem:

Buy a shirt for $50, sell for $80. What are margin and markup?

Solution:
  1. 1.Profit = 80 − 50 = 30
  2. 2.Margin = (30/80)×100% = 37.5%
  3. 3.Markup = (30/50)×100% = 60%
Result:Margin 37.5%, Markup 60%

From selling price you earn 37.5%. From cost you earn 60%.

Example 2: Coffee Shop (Setting Selling Price)

Problem:

Coffee $5, cup & sugar $3, want 50% margin. What selling price?

Solution:
  1. 1.Cost = 5 + 3 = 8
  2. 2.Selling Price = Cost / (1 − Margin%)
  3. 3.Selling Price = 8 / 0.5 = 16
Result:Selling Price: $16

For 50% margin, coffee must sell at $16 per cup.

Example 3: Online Shop (Target Markup)

Problem:

Buy item for $100, want 40% markup. Selling price?

Solution:
  1. 1.Markup = 100 × 40% = 40
  2. 2.Selling Price = 100 + 40 = 140
  3. 3.Margin = (40/140)×100% = 28.6%
Result:Selling Price: $140

With 40% markup, item sells at $140 with 28.6% margin.

Example 4: Frozen Food (Profit Evaluation)

Problem:

Cost $120 per box, sell $180. Is profit enough?

Solution:
  1. 1.Profit = 60
  2. 2.Margin = 33.3%
  3. 3.Markup = 50%
Result:Margin 33.3%, Markup 50%

33.3% margin is healthy for food business—profitable enough.

Frequently Asked Questions

What is the difference between profit margin and markup?
Profit margin is profit as a percentage of selling price; markup is profit as a percentage of cost price. If cost is $100 and selling price is $150, markup is 50% (of cost) while margin is 33.3% (of selling price). Margin is always smaller than markup for positive profit.
How do I use this profit margin calculator?
Enter cost price and selling price—the calculator computes margin and markup automatically. You can also enter cost and target margin to find the optimal selling price.
Why is profit margin important in business?
It helps you understand product profitability, set competitive prices, manage costs, and make strategic decisions. Investors also use margin to assess financial health.
What are the benefits of the KalkuLab margin calculator?
It gives fast, accurate results, helps price analysis, optimizes business strategy, and explains markup vs margin with practical examples and target-margin pricing.
How can I increase product profit margin?
Reduce production costs, raise prices strategically, add value through differentiation or branding, and target more profitable markets while considering competition and demand.
Is this suitable for all business types?
Yes—from small businesses to large companies, for physical products, services, or e-commerce. Margin and markup principles apply universally.
What is a healthy profit margin for small businesses?
Healthy net profit margin for retail/food businesses is typically 10–20%. Above 20% is very profitable, but it depends on industry, scale, and competition.
Are margin and profit the same?
No. Profit is absolute value (Selling Price − Cost). Margin is profit as a percentage of selling price. $20 profit on $100 sales = 20% margin.

Related Calculators

References