Profit Margin Calculator

Calculate gross margin, markup, and profit from cost and selling price.

Last reviewed: April 2026
$
$
Gross Profit
$0
Gross Margin
0%
profit / revenue
Markup
0%
profit / cost

Quick Tools

$
% margin
= $100.00
$
% markup
= $90.00
MarginMarkupMultiplier
10%11.1%1.11x
20%25.0%1.25x
25%33.3%1.33x
30%42.9%1.43x
33.3%50.0%1.50x
40%66.7%1.67x
50%100%2.00x
60%150%2.50x
75%300%4.00x

Quick Answer

Profit margin is profit as a percentage of the selling price: (price − cost) ÷ price × 100. An item costing $60 and sold for $100 has a $40 profit and a 40% margin. Markup, by contrast, is profit over cost — here about 67%. Enter your cost and price above to get both the margin and the markup.

Important Disclaimer: This calculator is designed to provide general information and help you understand the concepts related to margins in business. It doesn't constitute financial advice or legal counsel. Always consult a professional for specific guidance tailored to your circumstances.

About the Profit Margin Calculator

The concept of margin is a fundamental principle in business and finance. It represents the difference between the selling price of a product or service and its cost of production. A higher margin indicates a greater profitability, as it means the business has more money left over after covering its expenses to reinvest or distribute to shareholders. Understanding and calculating margins is crucial for businesses to make informed decisions, set prices, and evaluate performance.

Types of Margins

There are three main types of margins used in business: gross margin, operating margin, and net margin. Each provides a different perspective on profitability.

  • Gross Margin: This is calculated by subtracting the cost of goods sold (COGS) from the revenue. It measures the profitability of a company's core business activities. Gross margin is expressed as a percentage of revenue.
  • Operating Margin: Also known as EBIT (Earnings Before Interest and Taxes), this margin measures a company's operating income before interest and taxes. It reflects the profitability of a company's core business operations after covering its operating expenses.
  • Net Margin: This is the most comprehensive measure of profitability, calculated by subtracting all expenses, including interest and taxes, from revenue. Net margin is expressed as a percentage of revenue and provides the ultimate measure of a company's profitability.

Real-World Applications

Calculating margins is essential for businesses of all sizes. Here are some real-world applications of margin calculations:

Setting Prices

Businesses use margin calculations to set prices that cover their costs and generate a desired profit margin. For example, if a company's product costs $50 to produce and it wants to achieve a 20% gross margin, it would set the selling price at $60 ($50 + 20% of $50).

Profitability Analysis

Margins help businesses analyze their profitability. By comparing the margin of different products or services, businesses can identify which ones are most profitable and focus on those to increase overall profitability. For example, a company might find that its high-margin product lines are generating more profit than low-margin products and adjust its production and pricing strategies accordingly.

Cost Control

Calculating margins helps businesses identify areas for cost control. By analyzing the margin of different products or services, businesses can identify which ones are generating the most profit and focus on improving the efficiency of those products or services. For example, a company might find that its high-margin product lines are generating more profit than low-margin products and focus on improving the efficiency of those products or services.

Common Mistakes

While margin calculations are essential for businesses, there are common mistakes that can lead to incorrect results. Here are some of the most common mistakes:

Confusing Revenue with Sales

One common mistake is confusing revenue with sales. Revenue refers to the total amount of money a company earns from its sales, while sales refer to the actual products or services sold. the difference between these two concepts when calculating margins.

Ignoring Operating Expenses

Another common mistake is ignoring operating expenses when calculating margins. Operating expenses include all costs related to running the business, such as rent, salaries, and utilities. Ignoring these expenses can lead to an inaccurate calculation of profitability.

Using Incorrect Cost Data

Using incorrect cost data can also lead to inaccurate margin calculations. It's important to use accurate and up-to-date cost data when calculating margins to ensure an accurate representation of profitability.

Examples

Here are some examples of how margin calculations can be used in different business scenarios:

Example 1: Calculating Gross Margin

ABC Company sells a product for $100, and its cost of goods sold (COGS) is $60. To calculate the gross margin, subtract the COGS from the revenue:

Gross Margin = Revenue - COGS

Gross Margin = $100 - $60

Gross Margin = $40

The gross margin is $40, or 40% of the revenue. This means that ABC Company is generating a 40% profit on each product it sells.

Example 2: Calculating Operating Margin

XYZ Company has revenue of $500,000 and operating expenses of $300,000. To calculate the operating margin, subtract the operating expenses from the revenue:

Operating Margin = Revenue - Operating Expenses

Operating Margin = $500,000 - $300,000

Operating Margin = $200,000

The operating margin is $200,000, or 40% of the revenue. This means that XYZ Company is generating a 40% profit on its core business operations.

Example 3: Calculating Net Margin

DEF Company has revenue of $1,000,000, operating expenses of $300,000, interest expenses of $50,000, and taxes of $100,000. To calculate the net margin, subtract all expenses from the revenue:

Net Margin = Revenue - Operating Expenses - Interest Expenses - Taxes

Net Margin = $1,000,000 - $300,000 - $50,000 - $100,000

Net Margin = $550,000

The net margin is $550,000, or 55% of the revenue. This means that DEF Company is generating a 55% profit after covering all its expenses, including interest and taxes.

What Happens if...

What happens if a business doesn't calculate margins correctly? Here are some potential consequences:

Incorrect Pricing

If a business doesn't calculate margins correctly, it may set incorrect prices for its products or services. This can lead to lower profits, decreased market share, and ultimately, lower revenue.

Overestimating Profitability

If a business overestimates its profitability, it may make investment decisions based on incorrect information. This can lead to poor investment decisions, increased risk, and ultimately, lower profitability.

Ignoring Operating Expenses

If a business ignores operating expenses when calculating margins, it may not accurately reflect its profitability. This can lead to poor decision-making and ultimately, lower profitability.

Frequently Asked Questions

A1: Gross margin measures profitability before operating expenses, operating margin measures profitability before interest and taxes, and net margin measures profitability after all expenses, including interest and taxes.
A2: To calculate margin, subtract the cost of goods sold (COGS) from the revenue to get gross margin. To calculate operating margin, subtract operating expenses from the revenue. To calculate net margin, subtract all expenses, including interest and taxes, from the revenue.
A3: A good margin depends on the industry and the business. Generally, a gross margin of 20-30% is considered good, an operating margin of 10-15% is considered good, and a net margin of 5-10% is considered good.
A4: To improve your margin, you can increase your prices, reduce your costs, or both. You can also focus on high-margin products or services and eliminate low-margin products or services.
A5: Gross margin measures profitability before operating expenses, while operating margin measures profitability before interest and taxes. Operating margin is a better measure of profitability than gross margin because it takes into account operating expenses.