Profit Margin Calculator - Margin vs Markup
Margin and markup are often confused, which leads to underpriced work. This calculator shows both side by side.
- Free
- No sign-up
- Runs in your browser
Profit margin
40%
- Gross profit
- $40.00
- Profit margin (profit / price)
- 40%
- Markup (profit / cost)
- 66.67%
Margin is measured against the selling price; markup is measured against the cost. A 66.67% markup equals a 40% margin.
How to use the Profit Margin Calculator
- 1Enter what the product or service costs you.
- 2Enter the price you sell it for.
- 3Read gross profit, margin and markup in the results.
How the formula works
- Gross profit = selling price - cost
- Margin = gross profit / selling price x 100
- Markup = gross profit / cost x 100
Worked example
A service costs 60 and sells for 100. Gross profit is 40.
Margin is 40 / 100 = 40%. Markup is 40 / 60 = 66.67%.
Frequently asked questions
What is the difference between margin and markup?
Margin compares profit with the selling price; markup compares profit with the cost. Markup is always larger for the same sale.
Can margin exceed 100%?
No. Margin is at most 100% because profit cannot exceed price, but markup can exceed 100%.
Why does it reject a zero price or cost?
Dividing by zero is undefined, so margin needs a price above zero and markup needs a cost above zero.