Profit Margin Calculator

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

100% private. Everything runs in your browser. Your data never leaves your device.

Profit Margin

Profit
Margin %
Markup %

What does this tool do?

This calculator works out profit, profit margin percentage, and markup percentage from your cost and selling price. It clarifies the difference between margin and markup, which are easy to confuse. Runs in your browser.

How to use Profit Margin Calculator - Free Online Tool

  1. Enter the cost price.
  2. Enter the selling price.
  3. See the profit, margin %, and markup % instantly.
  4. Copy the results if needed.

Example

Cost 80, sells for 100:

Before

Cost Price
80 100

After

Metric Value
Profit 20
Margin 20%
Markup 25%

Margin is profit ÷ price; markup is profit ÷ cost.

Excel formula alternative

Prefer a formula? You can achieve a similar result with margin & markup:

margin% = (price - cost) / price * 100;  markup% = (price - cost) / cost * 100

This tool shows both so you never confuse margin with markup.

When should I use this tool?

Pricing products for a target margin
Checking profitability of a sale
Comparing margin vs markup
Setting retail prices
Quoting jobs
Analyzing product profitability

Frequently Asked Questions

Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. The same profit gives a lower margin % than markup %.

Subtract cost from selling price to get profit, then divide profit by the selling price and multiply by 100.

No. It calculates in your browser.

Enter cost and price to see the resulting margin; adjust the price to reach your target.