Profit Margin Calculator
Calculate profit or loss, profit margin and markup from cost and selling price, or work backwards from a target margin or markup.
Profit margin calculator
Calculate profit, profit margin and markup, or work backwards from a target margin or markup.
Margin vs markup
Profit margin measures profit as a percentage of the selling price.
Markup measures profit as a percentage of the cost price. Because they use different denominators, a 25% markup is not the same as a 25% profit margin.
Profit margin formula: profit ÷ selling price × 100. Markup formula: profit ÷ cost price × 100.
How to use it
Enter cost and selling price to calculate profit, margin and markup. You can also enter cost with a desired margin or markup to calculate the required selling price.
Privacy
Calculations are performed locally in your browser. The values you enter are not submitted to Muft.
Tool behavior last checked Aug 23, 2026.