Skip to calculator

The everyday toolkit

Profit Margin Calculator

Find profit, margin and markup, or set a selling price from a target margin.

Free · No account needed · Calculated in your browser

Enter your values

Your result

A clear answer starts here.

Enter your values and choose Calculate to see the result. Changing a value clears the previous answer.

Results are rounded to two decimal places for display. Calculations use unrounded values. Use the same currency for all monetary inputs.

Use this calculator

  1. Choose a calculation mode when available and read the labels for its inputs.
  2. Enter your own values. Use consistent units and enter percentages as 10 for 10%, rather than 0.10.
  3. Select Calculate, then review all displayed results together with the formula and assumptions below.
  4. Change one value to compare scenarios. Use Reset to return to the worked example.

How this calculator works

Margin is profit as a percentage of selling price; markup uses cost instead. Include all relevant costs. A loss gives a negative margin. Markup is undefined when cost is zero.

Profit = price − cost. Margin = profit ÷ price × 100. Markup = profit ÷ cost × 100. Target price = cost ÷ (1 − margin ÷ 100).

Worked example

An item that costs 60 and sells for 100 gives selling price of 100.00. The calculator also shows profit: 40.00. Use the form above to enter your own values. Monetary examples are in the same currency throughout.

Questions about this calculation

Why are margin and markup different?

Margin divides profit by selling price; markup divides profit by cost. Cost 60 and price 100 give 40% margin and 66.67% markup.

Can the calculator show a loss?

Yes. A price below cost gives negative profit and margin. Markup is not defined when cost is zero.