Skip to content

Profit margin and markup calculator

Calculate profit, profit margin and markup from cost and selling price.

Profit margin
40%
Markup66.7%
Profit$40.00

Margin is profit over price; markup is profit over cost. They are not the same.

How the calculation works

Profit = price − cost. The margin = profit ÷ price × 100. The markup = profit ÷ cost × 100. That is why a 50% margin equals a 100% markup.

Frequently asked questions

Margin vs markup — what is the difference?

Margin is based on the selling price; markup is based on the cost. Markup is always the larger number.

Related calculators

Updated on June 18, 2026 · by Rafael Rossi · Methodology & sources