Profit Margin & Markup
Checked 12 October 2026 OpenStax Formula Tested
Enter what an item costs you and what you sell it for. See the profit, the margin (share of the price) and the markup (share of the cost).
- Margin
- –
Formula: Profit = price − costChecked 12 October 2026Tested: 3 casesSources: OpenStax
- Markup
- –
- Profit per item
- –
Select the text below and copy it
Assumptions (2)
- The cost you enter is the full cost of the item.
- Taxes and fees on the sale are not included.
Show working
- Profit = price − cost
- Margin = profit ÷ price × 100
- Markup = profit ÷ cost × 100
Worked example
Buy at 80, sell at 100.
| You enter | |
|---|---|
| Cost | 80 |
| Selling price | 100 |
| You get | |
| Margin | 20.00% |
| Markup | 25.00% |
| Profit per item | 20 |
You keep 20 on each sale: that is 20% of the selling price, or 25% on top of the cost.
Questions (1)
Margin or markup: which one matters?
Both describe the same profit. Margin is out of the selling price, markup is out of the cost, so markup is always the bigger number when you make a profit.
Sources and checks
OpenStax · Checked 12 October 2026
Your numbers stay on your device unless you share them.
Results are estimates for information only and are not financial, tax or legal advice. Check important figures with a qualified professional before you act on them.