Margin Calculator
Calculate gross profit, profit margin percentage, and equivalent markup from cost and selling price.
Runs on your device. Nothing you add is uploaded.
$
$
Gross margin
38.46%
Profit ÷ Revenue
Gross profit
$25.00
Equivalent markup
62.5%
Profit ÷ Cost
Formula: Margin = (($65.00 − $40.00) ÷ $65.00) × 100. This is an estimate, not financial or tax advice.
Price targets at common margins for your cost
| Target margin | Selling price | Profit | Markup % |
|---|---|---|---|
| 20% | $50.00 | $10.00 | 25% |
| 30% | $57.14 | $17.14 | 42.9% |
| 40% | $66.67 | $26.67 | 66.7% |
| 50% | $80.00 | $40.00 | 100% |
| 60% | $100.00 | $60.00 | 150% |
How to use Margin Calculator
- Enter your unit cost (what you pay).
- Enter your selling price (what the customer pays).
- Review your gross margin, profit dollars, and equivalent markup.
Questions
What is the difference between margin and markup?
Margin divides profit by the selling price (revenue), while markup divides profit by the cost. A 50% markup on $40 gives a $60 price, which is a 33.3% margin.
Can profit margin exceed 100%?
No, as long as cost is zero or positive, gross margin cannot exceed 100%.
How this works
Computes gross profit margin and cost-to-margin reference targets locally.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy
Related tools
More in CalculatorsMarkup Calculator
Calculate selling price, profit, and resulting gross margin from your cost and markup percentage.
VAT Calculator
Add VAT to a net price or strip VAT out of a gross VAT-inclusive price.
Percentage Calculator
Solve the three classic percentage questions: X% of Y, X as a percent of Y, and finding the whole from a part.
Age Calculator
Find your exact age in years, months, and days, plus total days lived and your next birthday countdown.