The Markup Calculator converts between cost, markup percentage, and selling price, and alongside the price it shows the gross margin that markup really delivers, because the two percentages are never the same number.
How It Works
- Enter the cost. This is what one unit costs you: purchase price or full production cost. Cost must be greater than zero.
- Give either a markup percentage or a selling price. If you enter a markup, the calculator builds the price from cost. If you enter a price above cost instead, it works backwards to the markup that price represents.
- Read the full picture. You get the selling price, markup percentage, profit per unit, gross margin percentage, the cost share of the price, and the price you would need for a 50% gross margin.
- Check the verdict line. It restates the result with the markup-versus-margin distinction spelled out, so a pricing decision is never based on confusing the two.
Formula
Working backwards from a price, markup is profit divided by cost rather than by price:
The price needed for a 50% margin is cost divided by 0.5, which is simply twice the cost.
Input Parameters
| Input | Unit | Realistic range | Notes | | --- | --- | --- | --- | | Cost | Currency per unit | USD 0.50 to USD 10,000 | Must be greater than zero | | Markup percentage | Percent | 10% to 300% typical by trade | Zero is allowed; negative is not | | Selling price | Currency per unit | Above cost | Use instead of markup to reverse the calculation |
Provide one of markup percentage or selling price, not neither; a price at or below cost is rejected.
Worked Example
A product costs USD 80 to make and you apply a 45% markup.
- Price: USD 80 x (1 + 0.45) = USD 80 x 1.45 = USD 116.00.
- Profit per unit: USD 116.00 - USD 80 = USD 36.00.
- Gross margin: USD 36 / USD 116 x 100 = 31.03%.
- Cost share of price: USD 80 / USD 116 x 100 = 68.97%.
- Price for a 50% margin: USD 80 / 0.5 = USD 160.00, which would be a 100% markup.
The reverse direction works too: with a cost of USD 50 and a price of USD 75, the markup is (USD 75 - USD 50) / USD 50 x 100 = 50%, and the margin is USD 25 / USD 75 x 100 = 33.33%.
Notice the pattern in both examples: a 45% markup is only a 31% margin, and a 50% markup is only a 33% margin. Margin is always the smaller number because it is measured against the larger base, the price.
Interpreting Your Results
Markup and margin answer different questions. Markup is a pricing tool: it tells you how to build a price from a known cost. Margin is a performance measure: it tells you how much of each sales dollar survives as gross profit to cover operating expenses. Pricing with markup while reporting with margin is normal, but quoting one when you mean the other quietly misprices products.
The 50% margin reference price is a useful sanity anchor because doubling cost is a common rule of thumb. If your calculated price is far below it, your margin is under 50% and the gap comes straight out of what is available for rent, wages, and marketing. If it is far above, check that the market will bear the price before assuming the margin is real.
Margin percentage also sets your discount ceiling. A product at a 31% margin cannot survive a 40% promotional discount; it would sell below cost. Reading the margin here before running promotions prevents that mistake.
Choosing the Right Tool
- Use this Markup Calculator when you start from cost and need a price, or from a price and need the markup it implies.
- Use the Profit Margin Calculator when margin is your starting point and you want to analyze or compare margins across products.
- Use the Contribution Margin Calculator when variable costs per unit go beyond simple product cost and you need the margin that covers fixed costs.
- Use the Break-Even Calculator once you have a price, to find how many units at that price cover your total costs.
Limitations
The calculator works on a single unit with a single cost figure. It does not layer in volume discounts, tiered supplier pricing, shipping and packaging unless you include them in cost, marketplace fees, payment processing, returns, or sales tax; the price it returns is the modeled selling price before any such additions. Markup percentages are not comparable across trades unless the cost definitions match, so a manufacturer's cost and a retailer's cost for the same item will produce different prices from the same markup. It also assumes you can actually sell at the computed price, which is a market question the formula cannot answer.
Questions
Is markup the same as margin?
No. Markup is profit divided by cost; margin is profit divided by selling price. Since price is larger than cost, margin is always smaller than markup for the same transaction. A 100% markup (doubling cost) is a 50% margin, not a 100% margin; margin can never reach 100% unless cost is zero.
What markup gives a 50% margin?
A 100% markup. In general the price for a target margin is cost divided by (1 - margin), so a 50% margin needs cost / 0.5, and this calculator shows that specific price on every result.
Can I calculate a loss or a below-cost price?
No. The calculator rejects a price at or below cost and a negative markup, because it is designed for forward pricing. To analyze an existing loss-making product, use the profit margin tooling instead, which accepts the figures descriptively.
Sources and Methodology
Markup and margin definitions follow standard cost accounting and retail pricing practice: markup is expressed on cost, gross margin on selling price, and the conversion between them is algebraic, margin = markup / (1 + markup). The formulas here are implemented exactly as shown, with results rounded to two decimal places. The method note in the calculator's verdict restates the same distinction so the interpretation travels with the numbers.