Margin Calculator
Calculate profit margin, markup percentage, and selling price. Understand the difference between margin and markup.
Calculate
Choose a calculation type, enter your numbers, and click Calculate to see margin, markup, and formulas.
Profit Margin
0%
Margin
0%
Markup
0%
Cost
$0
Profit / Price
$0
Margin vs Markup
Margin vs Markup Comparison
| Margin | Markup | Example: $100 Price |
|---|
Formulas Used
Complete User Guide
What is the Margin Calculator?
This calculator helps you work with profit margin and markup. You can find margin and markup from cost and selling price, find the selling price from cost and a desired margin or markup, find cost from price and margin, or convert between margin and markup. Margin is profit as a percentage of selling price; markup is profit as a percentage of cost. The tool includes a comparison table and charts.
Key Concepts
Margin
Profit as a percentage of selling price. Margin = (Profit / Price) × 100. Used when you want to know what share of revenue is profit.
Markup
Profit as a percentage of cost. Markup = (Profit / Cost) × 100. Common in retail: e.g. 50% markup means you add half the cost to set the price.
Difference
For the same deal, margin is always a smaller percentage than markup. Example: 50% margin = 100% markup (price is double the cost).
How to Use
- Choose what you want to calculate: margin from cost/price, price from cost/margin, price from cost/markup, cost from price/margin, or margin ↔ markup conversion.
- Enter the known values in the form (cost, price, margin %, or markup % as applicable).
- Click Calculate to see the result, formulas, comparison table, and charts.
- Use the comparison table to see equivalent markup for common margin percentages.
Understanding the Charts
Cost vs Profit: Doughnut chart showing how selling price splits into cost and profit (shown when your calculation has cost and price).
Margin vs Markup: Bar chart showing the equivalent markup percentage for each margin percentage (10%%, 15%%, … 50%%).
Important Notes
- Margin must be less than 100%. Selling price cannot be zero when calculating margin from cost and price.
- Price = Cost / (1 - Margin%); Cost = Price × (1 - Margin%).
- Many businesses target margin; retail often talks in markup. This calculator does both.