How to use the markup calculator
Type any two of the five boxes — cost, selling price, profit, markup or margin — and the other three fill in. The line under the boxes says which two were used. Type a third value and it replaces the other one you typed, never the cost, so changing the profit, markup or margin moves the selling price.
Only a markup or a margin? Type just that one and you get the other (margin to markup, or markup to margin). Click any row of the ladder to use that markup or margin. Open Go advanced for units, a discount, sales tax or VAT and fees; the table shows your net profit.
The formulas
To go the other way: selling price = cost × (1 + markup ÷ 100), or cost ÷ (1 − margin ÷ 100).
Examples, all worked out by this calculator:
| Example | Selling price | Markup | Margin |
|---|---|---|---|
| Cost $100, markup 50% | $150.00 | 50% | 33.33% |
| Cost $80, sold at $100 | $100.00 | 25% | 20% |
| Sold at $100, margin 40% | $100.00 | 66.67% | 40% |
| Cost $100, sold at $80 | $80.00 | −20% | −25% |
Markup versus margin
Markup and margin describe the same profit with a different base. A cost of $100.00 sold at $150.00 earns $50.00: that is 50% of the cost (the markup) but 33.33% of the selling price (the margin). Mixing them up is the usual mistake: a 50% margin needs a 100% markup, not 50%.
Markup to margin
| Markup | Margin |
|---|---|
| 10% | 9.09% |
| 20% | 16.67% |
| 25% | 20% |
| 30% | 23.08% |
| 40% | 28.57% |
| 50% | 33.33% |
| 60% | 37.5% |
| 70% | 41.18% |
| 80% | 44.44% |
| 90% | 47.37% |
| 100% | 50% |
Related tools
To turn a cost and your other costs into gross, operating and net margin use the profit margin calculator, to work out a percentage of a number use the percentage calculator, to see how much a price rose or fell the percentage change calculator, and to add tax to a price the sales tax calculator.
Sources
- The formulas are the ones stated on the pages of Corporate Finance Institute (markup = (selling price − cost) ÷ cost × 100), Omnicalculator’s markup calculator (selling price = cost × (1 + markup)), CalculatorSoup (selling price = cost ÷ (1 − margin)) and calculator.net’s margin calculator (margin = profit ÷ revenue); all four opened 2026-11-07. Everything else on this page is arithmetic done by the calculator itself, which you can check with the examples.
- Discount, sales tax and fees (under Go advanced) are applied in this order: the discount comes off the selling price first, then tax and fees are charged on the discounted price. That is this page’s own convention, not a rule from a source. Tax and VAT are passed on to the customer, so they never change your profit.
- The currency selector only changes the symbol and the number of decimals; nothing is converted.
- Not used because I found no source for them: “typical markup” or “good margin” benchmarks by industry.
For information only. Check your own costs, taxes and fees before you set a price.
Common questions
What is markup?
Markup is the profit on a sale as a percentage of what the item cost you. If you pay $100.00 and sell at $150.00, the profit is $50.00, which is a 50% markup.
What is the markup formula?
Markup % = (selling price − cost) ÷ cost × 100. The other way round, selling price = cost × (1 + markup ÷ 100). For a cost of $100.00 and a 50% markup, the selling price is $150.00.
How do I calculate the selling price from cost and markup?
Multiply the cost by 1 plus the markup as a decimal. A cost of $100.00 with a 50% markup gives $100.00 × 1.5 = $150.00. In the calculator, type the cost and the markup and the selling price fills in.
What is the difference between markup and margin?
Both measure the same profit, but markup divides it by the cost and margin divides it by the selling price. On a sale at $150.00 with a $100.00 cost the profit is $50.00: 50% of the cost (markup) but only 33.33% of the selling price (margin). For any profit the margin is the smaller number.
How do I convert margin to markup?
Markup % = margin ÷ (100 − margin) × 100. A 25% margin is a 33.33% markup. In the calculator, type only the margin and the markup appears; type only the markup and you get the margin.
How do I convert markup to margin?
Margin % = markup ÷ (100 + markup) × 100. A 50% markup is a 33.33% margin, and a 100% markup is a 50% margin.
Can a markup be more than 100%?
Yes. A markup of 100% doubles the cost, and a markup of 200% triples it. Margin can never reach 100%, because that would need a cost of zero, so the calculator does not accept it.
What if I sell below cost?
The markup and margin turn negative. A cost of $100.00 sold at $80.00 loses $20.00: a −20% markup and a −25% margin. The calculator allows negative values, and the bars show the loss in red.
Do sales tax, VAT and fees change my markup?
Sales tax and VAT are paid by the customer and passed on, so they do not change your profit; the calculator shows what the customer pays. Fees and discounts do reduce your profit: under Go advanced, type them in and the table shows your net profit, net markup and net margin. The discount comes off first, then tax and fees are charged on the discounted price.
Does the currency selector convert my numbers?
No. It only changes the symbol and the decimals shown. Type your numbers in the currency you use.