Markup Calculator (Selling Price from Cost, or Markup from Price)
Selling price from cost and a markup percentage, or the markup a cost and price represent — with the gross margin it equals and the working.
Inputs
- Working
- 50.00 × (1 + 0.4) = 70.00
- Profit per sale
- 20.00
- Resulting gross margin
- 28.57%
Use this calculator on your own site
Free embed
- Two lines of HTML, unlimited views
- Shows a small CalculateEveryday bar, with a credit link under the calculator
What each Markup input means
- Work out
- Price from a known markup, or the markup from a known price.
- Cost
- What one item costs you — the purchase price, or materials and labour to make it.
- Markup on cost
- The percentage of cost to add. 100% doubles the cost ('keystone' pricing in retail).
- Selling price
- For finding the markup: the selling price before sales tax.
Markup formula
Selling price = cost × (1 + markup) · markup = (price − cost) ÷ cost · gross margin = (price − cost) ÷ price
Markup is the amount added to the cost of an item to set its selling price, expressed as a share of that cost. OpenStax's Contemporary Mathematics gives the two forms used here: the markup is the percent markup times the cost, and the retail price is the cost times (1 + percent markup). So a 40% markup on a cost of 50 adds 20 and sets the price at 70. Retailers often think in markup because it starts from the number they know — what they paid — while accountants and investors usually quote margin, the same profit divided by the price instead. The two are easy to mix up and give different percentages for the same sale: that 40% markup is only a 28.57% margin. The page shows both every time. It also runs backwards: give it a cost and a selling price, and it works out the markup they imply, along with the profit per sale and the margin, which is handy for checking a supplier's suggested retail price or a competitor's.
Formula last checked against OpenStax Contemporary Mathematics §6.2 'Discounts, Markups, and Sales Tax' (markup = percent markup × cost; retail price = cost × (1 + percent markup)) on 2 October 2026. Built and maintained by Suman Kumar · How we check
Markup worked example
Marking up a $50 cost by 40% adds $20, for a selling price of $70. Measured against that price, the $20 is a 28.57% margin — not 40%.
More Markup examples
Buying at 30 and selling at 45 leaves 15 per sale. As a markup that is 15 ÷ 30 = 50.00%; as a margin, 15 ÷ 45 = 33.33%.
Where the Markup calculator can give the wrong answer
- A negative markup would be a price below cost; the page refuses it. To price a discount from a list price, use the discount calculator.
- Markup on cost is not margin on price. Quoting a 40% markup as a 40% margin overstates profitability by more than a third.
- Markup covers more than profit: rent, wages and other overheads have to come out of it before anything is left.
- Some trades quote markup on the selling price rather than the cost; that is a margin, and the margin calculator handles it.
- Results are shown to two decimal places with no currency symbol, in whatever currency you are working in.
Spotted a mistake? Tell us
Markup reference table
| Markup on cost | Gross margin | Price for a cost of 100 |
|---|---|---|
| 10% | 9.09% | 110.00 |
| 25% | 20.00% | 125.00 |
| 40% | 28.57% | 140.00 |
| 50% | 33.33% | 150.00 |
| 100% | 50.00% | 200.00 |
| 200% | 66.67% | 300.00 |
Markup FAQ
- Subtract the cost from the price and divide by the cost: (price − cost) ÷ cost. Bought at 80, sold at 120: 40 ÷ 80 = 50% markup. To set a price, multiply the cost by (1 + markup): 80 × 1.5 = 120.
- Markup divides the profit by the cost; margin divides it by the price. A 50% markup is a 33.33% margin, and a 100% markup is a 50% margin. Markup is always the larger figure.
- Margin = markup ÷ (1 + markup). A 25% markup is 0.25 ÷ 1.25 = 20% margin. The other way, markup = margin ÷ (1 − margin). The table above lists common pairs.
- A 100% markup — selling at double the cost — long common in retail. It gives a 50% gross margin.
- Either works if you are consistent. Markup is quicker at the till because it starts from the cost; margin is better for checking whether the business covers its overheads, since overheads are budgeted as a share of sales.
- Markup = margin ÷ (1 − margin) = 0.30 ÷ 0.70 = 42.86%. A cost of 70 marked up by 42.86% sells at 100, leaving 30 — which is 30% of the price.
- Divide the price by (1 + markup). An item selling at 140 after a 40% markup cost 140 ÷ 1.40 = 100.
- No. Markup is the gap between cost and price; profit is what is left after the business's other costs — rent, wages, marketing, card fees — are paid out of that gap. A 50% markup is a 33.33% margin, so if overheads take more than a third of sales, every sale still loses money.