Markup Calculator
Enter your cost and selling price to find profit, markup percentage and profit margin — and understand the difference between markup and margin with a full conversion table.
Updated 2026-06-09 · Free · No sign-up · Runs privately in your browser
What is a markup calculator?
A markup calculator turns a product’s cost and selling price into three numbers: the dollar profit, the markup percentage, and the profit margin percentage. It removes the most common source of pricing errors — mixing up markup and margin — by showing both side by side from the same two inputs.
Enter the cost (what you pay) and the selling price (what you charge). The tool returns profit, markup, and margin instantly, so you can sanity-check a price or work backwards from a target.
How does the markup calculator work?
It applies three simple formulas to your cost and price. Profit is the gap between them, and the two percentages express that profit against two different bases.
The exact formulas the calculator uses are:
- Profit = Selling price − Cost
- Markup % = (Selling price − Cost) ÷ Cost × 100
- Margin % = (Selling price − Cost) ÷ Selling price × 100
The only difference between markup and margin is the denominator: markup divides by cost, margin divides by price. That single change is why the two figures never match and why they are so easily confused.
What is the difference between markup vs margin?
Markup measures profit relative to what you paid; margin measures profit relative to what you sold for. Because cost is always smaller than price, markup is always the larger percentage when there is a profit.
A worked pair makes it concrete. A product costs $50 and sells for $75:
- Profit = 75 − 50 = $25
- Markup = 25 ÷ 50 = 0.50 = 50%
- Margin = 25 ÷ 75 = 0.333 = 33.3%
Same product, same $25 profit — but 50% as a markup and 33.3% as a margin. A retailer who advertises a “50% markup” is keeping a third of the sale price, not half. Treating the two as interchangeable is the single biggest pricing mistake small businesses make.
You can convert between them directly:
- Margin = Markup ÷ (1 + Markup) — e.g. 0.50 ÷ 1.50 = 33.3%
- Markup = Margin ÷ (1 − Margin) — e.g. 0.333 ÷ 0.667 = 50%
Markup to margin conversion table
Use this reference chart to translate any markup into its equivalent margin (and to spot how the gap widens as markup rises). All figures assume a single product with positive profit.
| Markup % | Margin % | Example: $100 cost → price |
|---|---|---|
| 10% | 9.1% | $110.00 |
| 15% | 13.0% | $115.00 |
| 20% | 16.7% | $120.00 |
| 25% | 20.0% | $125.00 |
| 30% | 23.1% | $130.00 |
| 40% | 28.6% | $140.00 |
| 50% | 33.3% | $150.00 |
| 60% | 37.5% | $160.00 |
| 75% | 42.9% | $175.00 |
| 100% | 50.0% | $200.00 |
| 150% | 60.0% | $250.00 |
| 200% | 66.7% | $300.00 |
The headline rows worth memorising: 50% markup = 33.3% margin and 100% markup = 50% margin.
How do retailers price products?
Most retailers price by applying a markup to cost, because cost is the number they actually know at purchase time. Multiply cost by (1 + markup) to get the shelf price, then read the margin off the result.
Worked example with a 35% markup target:
- Wholesale cost = $40
- Selling price = 40 × (1 + 0.35) = 40 × 1.35 = $54.00
- Profit = 54 − 40 = $14.00
- Margin = 14 ÷ 54 = 0.259 = 25.9%
So a “35% markup” rule of thumb actually delivers a 25.9% margin. If the business instead needs a 35% margin, it must use a 53.8% markup (0.35 ÷ 0.65), pushing the price to $61.54. That difference — about $7.50 per unit here — is exactly why the two terms cannot be used loosely.
Typical markup conventions vary widely by sector: groceries often run 10–25%, apparel and gifts 100% or more (“keystone” pricing is a flat 100% markup), and restaurants mark food up several hundred percent to cover labour and overhead.
Real-world use cases
- Setting a shelf price: start from cost and a target margin, then confirm the markup and final price.
- Checking a supplier quote: enter cost and your usual price to see whether the resulting margin still clears your overheads.
- Comparing products: two items with the same dollar profit can have very different margins — the calculator surfaces that instantly.
- Negotiating discounts: see how far you can drop price before margin falls below a floor.
For broader pricing work you can pair this with the percentage calculator for quick discount maths, the loan calculator for financing costs, or browse the full finance tools collection.
Tips and common mistakes
- Don’t quote markup as margin. A 40% margin needs a 66.7% markup — assuming they are equal underprices the item and erodes profit.
- Watch the base of every percentage. “Profit was up 20%” is meaningless until you know 20% of cost or of revenue.
- Account for hidden costs. This tool uses the cost you enter. If shipping, fees, or returns aren’t baked into that cost, your true margin is lower than shown.
- Margin can’t exceed 100%. A margin approaches but never reaches 100% (you can’t profit more than you sell for), whereas markup has no ceiling.
Limitations and accuracy notes
This calculator handles a single product’s cost and price; it does not factor in taxes, payment-processing fees, freight, shrinkage, or fixed overheads unless you fold them into the cost figure. Margin is undefined for a zero or negative selling price, and a cost of zero is rejected. Percentages are rounded to two decimal places for display, so reproducing an example by hand may differ by a fraction.
Disclaimer: This tool is for general educational and planning purposes only and is not financial, accounting, or tax advice. Pricing and profitability decisions depend on your full cost structure and market — consult a qualified accountant or financial adviser before relying on these figures for business decisions.
Frequently asked questions
What is the difference between markup and margin?+
Markup is profit as a percentage of cost; margin is profit as a percentage of the selling price. The same dollar profit gives a higher markup % than margin %. For example, a 50% markup equals a 33.3% margin.
How do you calculate markup percentage?+
Markup % = (selling price − cost) ÷ cost × 100. If cost is $50 and price is $75, markup is (75 − 50) ÷ 50 = 50%.
How do you calculate profit margin?+
Margin % = (selling price − cost) ÷ selling price × 100. If cost is $50 and price is $75, margin is (75 − 50) ÷ 75 = 33.3%.
How do I convert markup to margin?+
Margin = markup ÷ (1 + markup). A 25% markup converts to 0.25 ÷ 1.25 = 20% margin. To go the other way, markup = margin ÷ (1 − margin).
Is markup always higher than margin?+
Yes, whenever there is a profit. Because markup divides profit by the smaller number (cost) and margin divides by the larger number (price), the markup percentage is always greater than the margin percentage.
What markup gives a 50% margin?+
A 100% markup gives a 50% margin. Doubling the cost (markup = cost) means profit equals cost, so profit is exactly half of the selling price.
How do I find the selling price from cost and markup?+
Selling price = cost × (1 + markup %). With a $40 cost and a 35% markup, price = 40 × 1.35 = $54.
Why does the difference between markup and margin matter?+
Confusing the two can quietly erode profit. Quoting a 40% markup when you meant a 40% margin underprices the item, because 40% margin actually requires a 66.7% markup.