# Margin vs. markup: what is the difference?

> The two formulas, a conversion table, and how to set a price for the margin you want.

Web page: https://plumcalc.com/guides/margin-vs-markup/

## The short answer

Both measure the same profit, but against different numbers:

- **Margin** = profit ÷ selling price.
- **Markup** = profit ÷ cost.

An item that costs $40 and sells for $65 makes $25 of profit. That is a **38.46% margin** but a **62.5% markup**. Because the selling price is always larger than the cost, margin is always the smaller percentage.

[Open the profit margin calculator](https://plumcalc.com/profit-margin/): Find margin, markup or the price for a target margin.

## The formulas

- Profit = price − cost
- Margin = (price − cost) ÷ price
- Markup = (price − cost) ÷ cost

- Price for a target margin = cost ÷ (1 − margin)
- Price for a target markup = cost × (1 + markup)

- Converting: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin)

## Conversion table

For an item that costs $40:

| Target | Selling price | Margin | Markup |
|---|---|---|---|
| 25% markup | $50.00 | 20% | 25% |
| 50% markup | $60.00 | 33.33% | 50% |
| 100% markup | $80.00 | 50% | 100% |
| 20% margin | $50.00 | 20% | 25% |
| 30% margin | $57.14 | 30% | 42.86% |
| 40% margin | $66.67 | 40% | 66.67% |
| 50% margin | $80.00 | 50% | 100% |

Note the pairs: a 25% markup is a 20% margin, a 50% markup is a 33.33% margin, and doubling the cost (a 100% markup) is a 50% margin.

## The mistake that costs money

The most common pricing error is adding a markup when you meant a margin. If you need a 40% margin to cover overhead and add 40% to a $40 cost, you charge $56 and earn a margin of only 28.6%. To actually reach a 40% margin, the price has to be $66.67.

A margin can never reach 100%, because that would require an infinite price. A markup has no upper limit.

## Gross margin is not net profit

These formulas give the **gross** margin on each sale: they only subtract the cost of the item itself. Rent, salaries, marketing, payment fees and taxes still have to come out of that gross profit. To see how many sales it takes to cover those fixed costs, use the [break-even calculator](https://plumcalc.com/break-even/).

This guide is for general information and education, not financial, tax or legal advice. Figures come from PlumCalc’s calculators with the inputs shown and are rounded.

## More guides

- [How much house can I afford?Lender rules of thumb, worked examples from $60k to $150k salaries, and what changes your budget most.](https://plumcalc.com/guides/how-much-house-can-i-afford/)
- [Debt snowball vs. avalanche: which saves more?Both payoff methods run on the same three debts, with the interest and months each one costs.](https://plumcalc.com/guides/debt-snowball-vs-avalanche/)
- [How much do extra mortgage payments save?Extra principal of $100 to $500 a month on a $320,000 loan, and the interest and years it saves.](https://plumcalc.com/guides/extra-mortgage-payments/)
- [NPV and IRR explained, with a worked exampleWhat the two numbers mean, a step-by-step example, and when to trust each one.](https://plumcalc.com/guides/npv-and-irr-explained/)

---

PlumCalc (https://plumcalc.com) · Free, private online calculators. All calculations run in the user's browser; inputs are never sent to a server. Results are estimates for planning and education, not financial, tax, legal or medical advice.

For AI agents: MCP server at https://plumcalc.com/mcp (tools: list_calculators, calculate, evaluate_expression) · [Server card](https://plumcalc.com/.well-known/mcp/server-card.json) · [llms.txt](https://plumcalc.com/llms.txt) · [About](https://plumcalc.com/about) · [Contact](https://plumcalc.com/contact) · [Privacy Policy](https://plumcalc.com/privacy-policy) · [Terms of Service](https://plumcalc.com/terms-of-service)
