This free margin calculator gives you margin, markup and profit per unit from a cost and a selling price, or works back from a target margin to a price or a maximum cost. A dress that costs $38.00 and wholesales for $95.00 earns $57.00: a 60% margin and a 150% markup.
Margin and markup are shown to one decimal place.
Price $95.00, cost $38.00: a 60% margin and a 150% markup.
The link holds only these numbers, nothing personal.
Margin is profit as a share of the selling price: subtract the cost from the price, then divide by the price. For a dress that costs $38.00 and wholesales for $95.00, that is ($95.00 − $38.00) ÷ $95.00 = 60%.
Use "Cost and price" in the margin calculator to check a price you already have, or switch to "Cost and margin" or "Price and margin" when you are setting one.
Margin is profit divided by the selling price, and markup is profit divided by the cost. The $38.00 dress sold at $95.00 earns $57.00, which is a 60% margin and a 150% markup: the same profit, measured against two different numbers.
Markup is always the higher of the two, because cost is smaller than price. Mixing them up undercharges: adding a 60% markup to the same dress gives $60.80, not the $95.00 that a 60% margin needs.
| Margin | Markup on cost | Price ÷ cost |
|---|---|---|
| 20% | 25% | 1.25× |
| 25% | 33.3% | 1.33× |
| 30% | 42.9% | 1.43× |
| 40% | 66.7% | 1.67× |
| 50% | 100% | 2× |
| 55% | 122.2% | 2.22× |
| 60% | 150% | 2.5× |
| 65% | 185.7% | 2.86× |
| 70% | 233.3% | 3.33× |
| 75% | 300% | 4× |
| 80% | 400% | 5× |
Divide the cost by one minus the target margin as a decimal: $38.00 ÷ (1 − 0.6) = $95.00. Choose "Cost and margin" in the calculator to do this for any style.
Multiply the selling price by one minus the target margin: $95.00 × (1 − 0.6) = $38.00. Brands use this before sampling to give the factory a cost target, so a dress meant to wholesale at $95.00 is developed to cost no more than $38.00.
No. Margin is profit divided by price, and profit only equals the price when the cost is zero, so a 100% margin is impossible for anything you make or buy. The calculator accepts margins up to 99.9%, and the price it needs climbs steeply as the margin gets close to 100%.
Each business calculates margin on its own selling price: a brand on its wholesale price, and a store on its retail price. The dress the brand wholesales for $95.00 retails for $190.00 at keystone (2× wholesale), which gives the store a 50% margin on its own price.
To see both margins side by side, with case packs and minimums, use the wholesale price calculator.
A price worked out from a target margin is rounded to the nearest cent, or to whole units in currencies without cents, such as the Japanese yen. A maximum cost is rounded down, so a style bought at that cost still makes the target, and percentages are shown to one decimal place.
Updated October 6, 2026
Go from unit cost to wholesale price and MSRP, with case packs and minimums.
Add a markup to a cost to get a price, or see the markup a price gives you.
See how much of a delivery has sold, the weekly rate and the weeks of stock left.
Work out how much you can still order each month without breaking your stock plan.
ModaFlow.ai keeps each style's wholesale price, MSRP, case pack and minimum together and shows them on your line sheets, lookbooks and buyer portal. Every plan starts with a 14-day free trial.