Profit Margin Calculator
Calculate profit, gross margin and markup from cost and selling price.
- Instant results
- Step-by-step working
- Private: runs in your browser
Enter your numbers
Result
Based on: Cost $40 · Selling price $65
- Cost 61.5%
- Profit 38.5%
- Profit
- $25.00
- Markup
- 62.5%
Estimates for information only, not financial advice. Real rates, taxes and fees vary by lender and location. Report a calculation error
Profit Margin Calculator by CalculatorPulse ↗
Formula and how it works
Margin = (Price − Cost) ÷ Price; Markup = (Price − Cost) ÷ Cost
Assumptions
- Cost includes all direct costs of the item.
Your working
- Margin = 25 ÷ 65 = 38.46%
- Markup = 25 ÷ 40 = 62.5%
Worked example
| Cost | $40 |
| Selling price | $65 |
- Margin = 25 ÷ 65 = 38.46%
- Markup = 25 ÷ 40 = 62.5%
Gross margin: 38.46%
Press Try example to load these numbers.
About this calculator
Margin and markup are often confused. Margin is profit as a share of the selling price; markup is profit as a share of the cost. This calculator shows both.
How to use it
- Press Try example or type your own numbers.
- The result, breakdown and working update the moment you type.
- Save it to favorites, copy it, print it, or share a link with your numbers.
Understanding your result
Margin can never reach 100%, while markup can be any size. Retailers usually talk about margin; suppliers often quote markup.
Common mistakes to avoid
- Confusing margin with markup when setting prices.
- Leaving out shipping, packaging or fees from cost.
Frequently asked questions
What is the difference between margin and markup?
A product that costs 40 and sells for 65 has a 62.5% markup but a 38.5% margin. Margin can never reach 100%; markup can.
How do I price for a 30% margin?
Divide cost by 0.70. A cost of 70 gives a price of 100.
What is the gross margin for cost $40, selling price $65?
38.46%. Working: Markup = 25 ÷ 40 = 62.5%.