Profit Margin Calculator

Want to know how much profit you make on a sale? Our free Profit Margin Calculator helps you quickly calculate your profit, profit margin, and markup. Enter the cost price and selling price to see your results instantly. It is useful for businesses, sellers, freelancers, and anyone who wants to understand the profitability of a product or service.

Enter the amount you paid or spent to produce the product or service.
Enter the price at which you sell the product or service.

Result

Profit
Profit Margin
Markup
Cost Price
Selling Price

How to Use the Profit Margin Calculator

Using the Profit Margin Calculator is simple. Enter the amount it costs you to make or purchase a product, then enter the price at which you sell it.

Click Calculate to see your profit, profit margin, and markup.

For example, if a product costs $500 and you sell it for $750, your profit is $250. The calculator will also show the profit margin and markup percentage.

What Is Profit Margin?

Profit margin shows how much of your selling price is left as profit after accounting for the cost.

It is usually expressed as a percentage.

For example, if you sell a product for $100 and make $20 in profit, your profit margin is 20%.

Profit Margin Formula

The basic profit margin formula is:

Profit Margin = (Profit ÷ Selling Price) × 100

First, calculate the profit:

Profit = Selling Price − Cost Price

For example:

Cost Price = $60
Selling Price = $100

Profit = $100 − $60 = $40

Profit Margin = ($40 ÷ $100) × 100 = 40%

What Is Markup?

Markup is the percentage added to the cost price to determine the selling price.

The markup formula is:

Markup = (Profit ÷ Cost Price) × 100

For example, if a product costs $50 and you sell it for $75:

Profit = $75 − $50 = $25

Markup = ($25 ÷ $50) × 100 = 50%

Profit margin and markup are related, but they are not the same thing. Profit margin is based on the selling price, while markup is based on the cost price.

Profit Margin Calculator Examples

Example 1: Selling a Product

Suppose you buy a product for $40 and sell it for $60.

  • Cost Price: $40
  • Selling Price: $60
  • Profit: $20
  • Profit Margin: 33.33%
  • Markup: 50%

Example 2: A Higher Profit

Suppose a product costs $100 and sells for $150.

  • Cost Price: $100
  • Selling Price: $150
  • Profit: $50
  • Profit Margin: 33.33%
  • Markup: 50%

Example 3: Selling at a Loss

If a product costs $80 but you sell it for $70, the result is a loss of $10 rather than a profit.

The calculator will show a negative profit and a negative profit margin.

Profit Margin vs. Markup

Profit margin and markup can sometimes be confused because both are percentages related to profit.

The main difference is what they use as the starting point:

  • Profit Margin: Profit ÷ Selling Price
  • Markup: Profit ÷ Cost Price

For example, a $20 profit on a $100 selling price gives a 20% profit margin. If the product originally cost $80, that same $20 profit represents a 25% markup.

Why Is Profit Margin Important?

Profit margin can help you understand how much money remains from your sales after covering the cost of a product or service.

Businesses can use profit margins when reviewing product prices, comparing different products, planning sales, or checking whether their pricing leaves enough room for other expenses.

Keep in mind that this calculator uses only the cost price and selling price. Other expenses such as shipping, advertising, taxes, salaries, rent, payment fees, and operating costs are not included unless they are already included in the cost you enter.

Frequently Asked Questions

What is a good profit margin?

There is no single profit margin that works for every business. Margins can vary considerably depending on the industry, product, operating costs, competition, and pricing strategy.

Is profit margin the same as profit?

No. Profit is the actual amount left after subtracting the cost from the selling price. Profit margin expresses that profit as a percentage of the selling price.

What is the difference between profit and markup?

Profit is the amount earned above the cost. Markup is that profit expressed as a percentage of the cost price.

Can the calculator show a loss?

Yes. If the selling price is lower than the cost price, the calculator shows a negative profit and negative profit margin.

Can I use decimals?

Yes. You can enter decimal values for both the cost price and selling price.

Does profit margin include taxes and other expenses?

No. The calculator uses the cost price and selling price you enter. Additional business expenses are not automatically included.

Related Calculators

You may also find these calculators useful:

Scroll to Top