Margin Calculator
Margin is profit ÷ price — not the same as markup. Click any i for detail.
Cost and price
Mode
i
Mode
Compute margin from a price, or solve price from a target margin. |
|
|---|---|
Cost ($)
i
Cost
What you pay (or COGS) per unit. |
|
Price ($)
i
Price
Selling price. Used in from-price mode. |
|
Target margin (%)
i
Margin
Used in from-margin mode. 25 means 25% of price is profit. |
How to use this calculator
- Enter unit cost.
- Either enter a selling price or a target margin.
- Read margin, markup, and profit.
- Use the markup calculator if you think in cost-plus percent.
Results explained
Margin = (price − cost) / price. Markup = (price − cost) / cost. A 25% margin requires a 33.3% markup.
Quick reference: margin vs markup
They only match at 0.
| Item | Detail |
|---|---|
| 20% margin | 25% markup |
| 25% margin | 33.3% markup |
| 50% margin | 100% markup |
| Price for 25% margin | cost / 0.75 |
Ignores overhead, fees, and taxes.
How the estimate is built
margin = (P−C)/P; P = C / (1 − margin) when solving for price.
Example scenario
Cost $40, price $60 → profit $20, margin 33.3%, markup 50%.
FAQ
Why isn’t 25% margin a 25% markup?
Different denominators: price vs cost.
Net margin?
This is gross (price vs cost), not after operating expenses.
Break-even units?
See the break-even calculator.