Skip to main content

FREE PROFIT, LOSS, MARKUP & MARGIN CALCULATOR

Profit and loss calculator for markup, margin, cost, and selling price.

Enter cost price and selling price to calculate profit or loss amount, markup on cost, and profit margin on selling price with clear formulas and examples.

INPUTS

Cost and selling price inputs

CalculationAmount + %Profit, loss, markup, and margin
Try a pricing example:
profit = selling price − cost price; markup = profit ÷ cost × 100; margin = profit ÷ selling price × 100

PROFIT, MARKUP, AND MARGIN EXPLAINED

How to calculate profit margin and markup correctly.

Profit and loss questions usually start with cost price and selling price. The same profit amount can produce different percentages depending on whether you compare it with cost or revenue.

PROFIT OR LOSS

selling price − cost price

If the answer is positive, you made a profit. If the answer is negative, the sale is a loss.

MARKUP FORMULA

profit ÷ cost × 100

Markup measures how much you added above cost. A cost of 80 sold for 100 gives 25% markup.

MARGIN FORMULA

profit ÷ selling price × 100

Profit margin measures what share of the selling price remains as profit. The same example gives 20% margin.

WORKED EXAMPLE

Cost 80, selling price 100

  • Profit = 100 − 80 = 20
  • Markup = 20 ÷ 80 × 100 = 25%
  • Margin = 20 ÷ 100 × 100 = 20%

COMMON MISTAKE

Markup and margin are not the same percentage.

Markup uses cost as the base. Margin uses selling price as the base. That is why a 25% markup does not mean 25% profit margin.

LEARN THE FORMULA

Need the full markup vs margin explanation?

Open the guide for the formula, example, and business pricing workflow.
Read profit margin vs markup guide →