Skip to content

Margin calculator

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.

Charcoal wool flannel, close up

Your numbers

What do you know?

See the margin, markup and profit a price gives you.

What one finished unit costs you, landed: materials, labour, trims, freight and duty.

Your wholesale price if you sell to stores, or your retail price if you sell to shoppers.

Your results

Margin($95.00 − $38.00) ÷ $95.00
60%
Markup($95.00 − $38.00) ÷ $38.00
150%
Profit per unit$95.00 − $38.00
$57.00
Price ÷ cost$95.00 ÷ $38.00
2.5×

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.

How do you calculate margin?

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.

What is the difference between margin and markup?

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 to markup conversion table

MarginMarkup on costPrice ÷ 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×

How do you find the price for a target margin?

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.

How much can a style cost and still hit your margin?

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.

Can a margin be 100%?

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%.

Is margin calculated on the wholesale or the retail price?

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.

How does the margin calculator round?

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

More free calculators

Show buyers the right price every time

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.