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.

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).