How the Markup Calculator works
Markup is the amount added to a product's cost to set its selling price, expressed as a percentage of that cost. Retailers, wholesalers, and manufacturers use it to price goods so that each sale covers the cost of the item and leaves a planned profit on top. This calculator takes a unit cost and a target markup percentage and returns the resulting selling price, profit per unit, gross margin, and total profit across the units you expect to sell.
The formula
For a unit cost C and a markup percentage M, the selling price is:
Selling Price = C × (1 + M / 100)
Profit per unit is simply Selling Price − C, which is also equal to C × M / 100. Gross margin restates that same profit as a percentage of the selling price instead of the cost: Margin% = (Profit / Selling Price) × 100. Total profit multiplies profit per unit by the number of units sold.
Worked example
A product costs $50 to produce or buy wholesale. Applying a 40% markup gives a selling price of $50 × 1.40 = $70. Profit per unit is $70 − $50 = $20, and the gross margin is $20 / $70 ≈ 28.6% — noticeably lower than the 40% markup rate. Selling 100 units at that price and cost produces $2,000 of total profit.
Markup versus margin
- Markup divides profit by cost; margin divides the same profit by the selling price. Because the selling price is always larger than the cost (for any positive markup), margin is always the smaller percentage.
- The two only converge toward each other at very low markup percentages; they diverge more as markup increases. A 100% markup is a 50% margin; a 300% markup is only a 75% margin.
- If your business tracks a target gross margin (common in retail and SaaS pricing) rather than a target markup, convert with Margin% = Markup% / (1 + Markup%/100) before comparing numbers with colleagues who use the other convention.
What this calculator does not include
The cost you enter should represent your true landed or unit cost — including materials, direct labor, freight, or wholesale purchase price, depending on your business. This tool does not separately account for overhead, credit-card or marketplace fees, sales tax, discounts, or returns; if those materially affect your net profit, fold them into the cost figure or treat the output as a starting point rather than a final price.