Markup / Margin Calculator

Find profit, margin, and markup from a cost and selling price. Enter both.

Margin
Profit over price.

Usage Tip

A common mix-up: a 50 percent margin is a 100 percent markup. Always check which base is meant.

THE MATH
margin = profit ÷ price; markup = profit ÷ cost
profit = price − cost
Margin and markup both describe profit, but against different bases: margin is profit over selling price, markup is profit over cost.
The same sale gives a higher markup percentage than margin percentage.
Both cost and selling price must be positive.
Margin is always less than the matching markup.
Profit is simply price minus cost.
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.