Markup Calculator
To find a selling price, multiply the cost by 1 plus the markup as a decimal: a cost of $80.00 with a 25% markup sells for $100.00, a profit of $20.00. That same sale is a 20% gross margin, because margin is measured against the selling price while markup is measured against the cost: $20.00 is 25% of $80.00 but only 20% of $100.00. The calculator also works the other directions: from a cost of $80.00 and a price of $100.00 it gives a 25% markup and a 20% margin, and from a price of $100.00 and a 25% markup it gives a cost of $80.00. Amounts are exact to the cent, rounded once, half up.
Updated Runs in your browser: nothing you enter is uploadedHow this tool works
Selling price $100.00
A 25% markup is a 20% gross margin: $20.00 profit on a $100.00 sale.
- Cost
- $80.00
- Selling price
- $100.00
- Profit
- $20.00
- Markup (on cost)
- 25%
- Gross margin (on price)
- 20%
Markup to gross margin
| Markup on cost | Gross margin on price | Selling price for a $100.00 cost | Profit |
|---|---|---|---|
| 10% | ≈ 9.0909% | $110.00 | $10.00 |
| 20% | ≈ 16.6667% | $120.00 | $20.00 |
| 25% | 20% | $125.00 | $25.00 |
| 33.33% | ≈ 24.9981% | $133.33 | $33.33 |
| 50% | ≈ 33.3333% | $150.00 | $50.00 |
| 75% | ≈ 42.8571% | $175.00 | $75.00 |
| 100% | 50% | $200.00 | $100.00 |
| 150% | 60% | $250.00 | $150.00 |
| 200% | ≈ 66.6667% | $300.00 | $200.00 |
Gross margin to markup
| Target gross margin | Markup needed on cost | Selling price for a $100.00 cost | Profit |
|---|---|---|---|
| 10% | ≈ 11.1111% | $111.11 | $11.11 |
| 20% | 25% | $125.00 | $25.00 |
| 25% | ≈ 33.3333% | $133.33 | $33.33 |
| 30% | ≈ 42.8571% | $142.86 | $42.86 |
| 40% | ≈ 66.6667% | $166.67 | $66.67 |
| 50% | 100% | $200.00 | $100.00 |
| 60% | 150% | $250.00 | $150.00 |
| 75% | 300% | $400.00 | $300.00 |
| 80% | 400% | $500.00 | $400.00 |
Worked examples: cost and markup to selling price and margin
| Cost | Markup on cost | Selling price | Profit | Gross margin on price |
|---|---|---|---|---|
| $12.00 | 40% | $16.80 | $4.80 | ≈ 28.5714% |
| $35.00 | 50% | $52.50 | $17.50 | ≈ 33.3333% |
| $49.99 | 100% | $99.98 | $49.99 | 50% |
| $80.00 | 25% | $100.00 | $20.00 | 20% |
| $120.00 | 30% | $156.00 | $36.00 | ≈ 23.0769% |
| $250.00 | 20% | $300.00 | $50.00 | ≈ 16.6667% |
| $1,200.00 | 15% | $1,380.00 | $180.00 | ≈ 13.0435% |
Selling price by cost and markup
| Cost | 20% markup | 30% markup | 50% markup | 100% markup |
|---|---|---|---|---|
| $10.00 | $12.00 | $13.00 | $15.00 | $20.00 |
| $25.00 | $30.00 | $32.50 | $37.50 | $50.00 |
| $50.00 | $60.00 | $65.00 | $75.00 | $100.00 |
| $80.00 | $96.00 | $104.00 | $120.00 | $160.00 |
| $120.00 | $144.00 | $156.00 | $180.00 | $240.00 |
| $250.00 | $300.00 | $325.00 | $375.00 | $500.00 |
Cost from selling price and markup
| Selling price | Cost at 10% markup | Cost at 25% markup | Cost at 50% markup | Cost at 100% markup |
|---|---|---|---|---|
| $20.00 | $18.18 | $16.00 | $13.33 | $10.00 |
| $50.00 | $45.45 | $40.00 | $33.33 | $25.00 |
| $100.00 | $90.91 | $80.00 | $66.67 | $50.00 |
| $250.00 | $227.27 | $200.00 | $166.67 | $125.00 |
What a discount does to the $80.00 cost, $100.00 price example
| Discount | Price after discount | Profit | Markup on cost | Gross margin on price |
|---|---|---|---|---|
| 0% | $100.00 | $20.00 | 25% | 20% |
| 5% | $95.00 | $15.00 | 18.75% | ≈ 15.7895% |
| 10% | $90.00 | $10.00 | 12.5% | ≈ 11.1111% |
| 15% | $85.00 | $5.00 | 6.25% | ≈ 5.8824% |
| 20% | $80.00 | $0.00 | 0% | 0% |
| 25% | $75.00 | −$5.00 | −6.25% | ≈ −6.6667% |
| 30% | $70.00 | −$10.00 | −12.5% | ≈ −14.2857% |
How to calculate markup
- Choose what you want to work out. Pick “Selling price” to start from cost and markup, “Markup and margin” to start from cost and price, or “Cost” to work back from a price and a markup.
- Enter the two amounts. For a selling price, type the cost ($80.00 in the example) and the markup percentage (25%). The other two modes ask for cost and price, or price and markup.
- Read the selling price. The result shows the selling price ($100.00), the profit ($20.00) and the gross margin (20%) side by side, so you can see both ways of describing the same profit.
- Check the margin. A 25% markup is a 20% margin. If a margin is what you are aiming for, use the margin-to-markup table below and enter the markup it gives.
- Pick the currency symbol. The currency symbol is only a label; the arithmetic is the same in any currency.
Frequently asked questions
- How do I calculate markup?
- Markup is profit divided by cost, as a percentage. Selling price $100.00 minus cost $80.00 is a profit of $20.00, and $20.00 ÷ $80.00 = 25%. To go the other way, selling price = cost × (1 + markup ÷ 100), so $80.00 × 1.25 = $100.00.
- What is the difference between markup and margin?
- They describe the same profit against different bases. Markup divides profit by cost; gross margin divides profit by the selling price. When an item that costs $80.00 sells for $100.00, the profit is $20.00: a markup of 25%, but a margin of 20%. Margin is always smaller than markup for the same sale.
- How do I convert markup to margin?
- Divide the markup by 100 plus the markup. A 25% markup gives 25 ÷ 125 = 20%, and a 100% markup gives 100 ÷ 200 = 50%. The table on this page lists the common conversions.
- How do I convert margin to markup?
- Divide the margin by 100 minus the margin. A 20% margin needs a 20 ÷ 80 = 25% markup, and a 50% margin needs a 100% markup. A margin of 100% is impossible, because it would need a cost of zero.
- Is a 50% markup the same as a 50% margin?
- No. A 50% markup on a $100.00 cost sells for $150.00, a profit of $50.00, which is a margin of only ≈ 33.3333%. A 50% margin needs a 100% markup. Mixing the two up is the most common pricing mistake: pricing for a 30% margin with a 30% markup leaves you short.
- How do I price an item to get a 30% margin?
- Mark the cost up by ≈ 42.8571%, not 30%. A cost of $70.00 with that markup sells for $100.00, and the profit of $30.00 is exactly 30% of the price. Equivalently, divide the cost by 1 minus the margin: 70 ÷ 0.70 = 100.
- How do I find the cost from the selling price and markup?
- Divide the selling price by 1 plus the markup as a decimal. A price of $100.00 with a 25% markup means a cost of $100.00 ÷ 1.25 = $80.00. Subtracting 25% of the price instead would give the wrong cost, because the markup is a share of the cost, not of the price.
- Can markup be more than 100%?
- Yes. A markup above 100% means the selling price is more than double the cost. A 200% markup on a $50.00 cost sells for $150.00, which is a margin of ≈ 66.6667%. Margin, by contrast, can never reach 100%.
- What if the selling price is below cost?
- The markup and margin come out negative. An item that costs $100.00 and sells for $80.00 is a loss of $20.00: a markup of −20% and a margin of −25%. The markup field itself accepts zero or more; use the cost-and-price mode for a loss.
- How big a discount can I give before the profit is gone?
- The discount that wipes out the profit equals the gross margin, not the markup. The example’s 25% markup is a 20% margin, so a 20% discount takes the $100.00 price down to $80.00, which is the $80.00 cost: no profit. A discount of 25%, the same number as the markup, would already be a loss of $5.00 on each sale, because it is taken off the price, which is larger than the cost. The table above shows the profit at each discount.
- What if there are two markups in a row, such as wholesale and retail?
- Markups compound; they do not add. A $80.00 cost marked up 25% sells at $100.00, and a second business that marks that up 40% sells at $140.00. Measured on the original $80.00, the combined markup is 75%, not 65%, and the margin on the final price is ≈ 42.8571%.
- What if my cost goes up and I leave the price alone?
- The margin shrinks. If the example’s cost rises 10% from $80.00 to $88.00 while the price stays at $100.00, the profit falls from $20.00 to $12.00, the markup from 25% to ≈ 13.6364% and the margin from 20% to 12%. Keeping the same 25% markup on the new cost would take the price to $110.00.
- How does rounding a price up change the markup?
- Rounding up adds a little to the profit. An item that costs $37.50 marked up 40% sells for $52.50. If you set the price at $52.99 instead, the profit is $15.49, the markup ≈ 41.3067% and the margin ≈ 29.2319%. Enter the cost and the price you will actually charge in the “Markup and margin” mode to see what a rounded price really earns.
- Does the markup include tax or other costs?
- No. The calculator uses only the cost and the markup you enter, so it gives a price before sales tax, VAT or fees. If your cost includes shipping, labor or overhead, put the total in the cost field; if you add tax at the till, work that out separately.
- Why is a markup of one third a 25% margin?
- Because profit is then one quarter of the price. A cost of $30.00 sold for $40.00 has a profit of $10.00: a markup of ≈ 33.3333% on the cost and a margin of 25% on the price. Typing 33.33 instead of one third shows a margin just under 25%.
- Is anything I type stored or sent?
- No. The costs, prices and percentages you enter are worked out by the page in your browser, so they are never sent to a server and never leave your device.
How it works
Prices are whole cents in integer arithmetic and every percentage is an exact fraction of what you type, so there is no floating-point error: a 25% markup is exactly a 20% margin. Markup is profit ÷ cost and gross margin is profit ÷ selling price, where profit is the selling price minus the cost. From a cost and a markup, the selling price is the cost × (100 + markup) ÷ 100; from a selling price and a markup, the cost is the price × 100 ÷ (100 + markup). Each is rounded to the nearest cent once, half up, and the profit is the difference between the two cent amounts. The markup and margin you see in those two modes come from the exact percentage you typed, not from the rounded amounts; when you give a cost and a price, they come from the cent amounts. Margin is markup ÷ (100 + markup) and markup is margin ÷ (100 − margin), which is what the reference tables use. Percentages that do not end in decimals are shown rounded to four places with “≈”. This is gross margin, before overhead, tax and other expenses. The tables on this page are computed by these same functions at build time: the worked examples and the discount table run the calculator itself, the selling-price and cost tables call the price and cost functions directly, and a discount is taken off the selling price while the cost stays the same. Compounded markups are applied one after the other, each to the price the last one produced. Everything runs in your browser and nothing you type is sent anywhere.
Sources
More free tools
- Profit Margin CalculatorGross profit, margin % and markup % from revenue and cost, the price for a target margin, and net margin after all expenses, plus a multiplier table.
- Discount CalculatorFind the sale price and savings from a percent or dollar discount. Stack discounts, price buy-one-get-one deals, add tax or work back to the original.
- Commission CalculatorWork out sales commission at a flat rate or in tiers, with a base salary or a draw, or the sales needed for a target. Exact to the cent, in your browser.
- Break-Even CalculatorBreak-even units and revenue from fixed costs, price and variable cost, plus contribution margin, margin of safety and units for a target profit.
- ROI CalculatorReturn on investment from amount invested and returned: ROI %, dollar gain and annualized ROI (CAGR) from years or dates, with optional fees and income.
- Unit Price CalculatorCompare products by price per ounce, pound, liter or count. Mixed units are converted exactly, ranked cheapest first, and weight versus volume is flagged.
More: Shopping, tax and businessAll money & costsAll toolsHome & DIY calculators