Browser-only calculator

Profit Margin Calculator

Compare margin and markup using the correct denominator, with optional quantity totals.

Loading calculator…
Browser-only processingCalculations are performed locally in your browser. Your entered values are not sent to our servers.

Profit Margin Calculator formula

Profit = selling − cost. Margin = profit ÷ selling × 100. Markup = profit ÷ cost × 100.

Worked example

An item costing 60 and selling for 100 has a 40% margin and 66.67% markup.

How to use this calculator

  1. Choose a calculation mode.
  2. Enter prices or the target percentage.
  3. Calculate and review unit and quantity totals.

Important assumptions and limitations

Financial outputs are estimates rounded to two decimal places. A target margin must be below 100%.

Related calculators

Frequently asked questions

Are margin and markup the same?

No. Margin uses selling price; markup uses cost price.

Can I calculate a target selling price?

Yes, from either a desired margin or desired markup.