SIP
Sip Calculator.net
Free Profit Margin Calculator

Profit Margin Calculator — Calculate Margin & Markup Instantly

Calculate profit margin, markup percentage, and profit amount from cost and selling price. Interactive donut chart with detailed breakdown of cost vs profit.

--
Selling Price
Cost
Profit
Profit Amount
--
Revenue - Cost
Profit Margin
--
Profit / Selling Price
Markup
--
Profit / Cost Price
Cost Ratio
--
Cost / Selling Price

What is Profit Margin?

Profit margin is a financial metric that measures the percentage of revenue that remains as profit after deducting costs. It is one of the most important indicators of business profitability, used by companies of all sizes to evaluate pricing strategies, operational efficiency, and financial health. A higher profit margin means a larger portion of each dollar earned is retained as profit.

Profit margin is expressed as a percentage and is calculated by dividing profit by selling price (revenue). It helps businesses understand how much they actually earn from each sale after covering the cost of goods or services. Investors, lenders, and analysts closely watch profit margins to assess a company's ability to generate sustainable returns.

Profit Margin Formula

The profit margin formula is straightforward:

Profit = Selling Price - Cost Price
Profit Margin (%) = (Profit / Selling Price) x 100

Example: If you buy a product for $60 and sell it for $100, your profit is $40. Profit Margin = ($40 / $100) x 100 = 40%. This means 40 cents of every dollar earned is profit.

Profit Margin vs Markup — What's the Difference?

Margin and markup are both ways to express profit as a percentage, but they use different bases for the calculation:

  • Profit Margin — Profit as a percentage of the selling price. Formula: (Profit / Selling Price) x 100. Margin tells you what percentage of revenue is profit.
  • Markup — Profit as a percentage of the cost price. Formula: (Profit / Cost Price) x 100. Markup tells you how much you added on top of cost.

Example: Cost = $60, Selling Price = $100, Profit = $40. Margin = 40/100 = 40%. Markup = 40/60 = 66.67%. Markup is always higher than margin for the same transaction because the cost (denominator) is smaller than the selling price.

Markup (%) = (Profit / Cost Price) x 100
Margin (%) = (Profit / Selling Price) x 100

Margin is always less than Markup for the same sale.

What is a Good Profit Margin?

Profit margins vary significantly across industries. Here are general benchmarks:

  • Grocery / Retail — 2% to 5% net margin. High volume, low margin business model.
  • Restaurants — 3% to 9% net margin. High operating costs reduce margins.
  • Manufacturing — 5% to 15% net margin depending on the product and scale.
  • Professional Services — 15% to 40% net margin. Lower overhead costs boost margins.
  • Software / SaaS — 50% to 90% gross margin. Digital products have minimal per-unit costs.
  • E-commerce — 10% to 30% net margin depending on product category and competition.

A margin of 5% is generally considered low, 10% is average, and 20%+ is considered high. However, always compare your margins against your specific industry rather than using general benchmarks.

Types of Profit Margin

Businesses track several types of profit margins at different levels:

  • Gross Profit Margin — Revenue minus cost of goods sold (COGS) divided by revenue. Shows production or sourcing efficiency.
  • Operating Profit Margin — Revenue minus COGS and operating expenses divided by revenue. Shows how well the core business performs.
  • Net Profit Margin — Total revenue minus all expenses (COGS, operating, taxes, interest) divided by revenue. The bottom-line profitability measure.

This calculator computes the gross profit margin based on cost price and selling price. For net margin calculations, you would also need to account for operating expenses, taxes, and other costs.

How to Improve Profit Margin

There are two fundamental ways to improve profit margins:

  • Increase revenue — Raise prices, upsell premium features, improve product value perception, or expand into higher-margin product lines.
  • Reduce costs — Negotiate better supplier pricing, optimize operations, reduce waste, automate processes, or switch to more cost-effective materials.

Most successful businesses work on both simultaneously. Even small improvements in margin can have a significant impact on the bottom line when multiplied across thousands of transactions.

Frequently Asked Questions

What is profit margin and how is it calculated?

Profit margin is the percentage of revenue that remains as profit after deducting costs. It is calculated as: Profit Margin (%) = (Selling Price - Cost Price) / Selling Price x 100. For example, if you sell a product for $100 that costs $60, your profit margin is (100 - 60) / 100 x 100 = 40%.

What is the difference between profit margin and markup?

Profit margin is calculated as a percentage of the selling price, while markup is calculated as a percentage of the cost price. For a product costing $60 and selling at $100: Margin = ($40/$100) x 100 = 40%, but Markup = ($40/$60) x 100 = 66.67%. Markup is always higher than margin for the same transaction.

What is a good profit margin for a business?

A good profit margin varies by industry. Generally, 5% is considered low, 10% is average, and 20%+ is high. Retail businesses typically have 2-5% margins, software companies can reach 50-90% gross margins, and restaurants average 3-9%. Always compare against your specific industry benchmarks.

How do I calculate selling price from cost and desired margin?

Use the formula: Selling Price = Cost Price / (1 - Desired Margin / 100). For example, if your cost is $60 and you want a 40% margin: Selling Price = 60 / (1 - 0.40) = 60 / 0.60 = $100.

Why is profit margin important for business?

Profit margin shows how efficiently a business converts revenue into profit. It helps with pricing decisions, comparing performance against competitors, tracking profitability over time, attracting investors, and identifying cost-reduction opportunities. A healthy margin ensures the business can cover expenses and grow sustainably.

What is the difference between gross margin and net margin?

Gross margin only deducts the direct cost of goods sold (COGS) from revenue. Net margin deducts ALL expenses including COGS, operating expenses, taxes, and interest. Gross margin is always higher than net margin. A business might have 40% gross margin but only 15% net margin after all expenses are accounted for.