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
- Choose a calculation mode.
- Enter prices or the target percentage.
- 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
Percentage CalculatorCalculate percentages, percent change, increases and decreases.Discount CalculatorFind sale price, sequential discounts, tax and total savings.Age CalculatorCalculate exact calendar age, total days and the next birthday.Date Difference CalculatorFind calendar and total time between two local dates.
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.