Markup and Margin Calculator

Markup = (price − cost) ÷ cost. Margin = (price − cost) ÷ price. A $10.00 cost sold at $15.00 is a 50.0% markup but only a 33.3% margin.

Selling price $18.90 Gross profit $12.70 per unit
Markup204.8%
Margin67.2%
Contribution margin23.4%
I know the

Markup and margin use the price as entered.

Order costs (example values: replace with yours)

Fees here are charged on the selling price only. If your marketplace also charges on shipping paid by the buyer, or has a per-unit minimum, use the marketplace fee calculator and enter the result as a %.

Scenarios

Variable cost per order$14.48
Contribution profit per order$4.42
Break-even price$13.64120.0% markup
Price for target contribution$17.90188.7% markup
Price after discount$15.1259.0% gross margin
Contribution after discount$1.26
Extra unit sales to keep contribution+250.8%
Discounted units to match 100351

The calculation runs in your browser. Fee and returns lines are rounded to the cent before they are subtracted.

How to Calculate Markup and Margin in 3 Steps

  1. Find gross profit. Subtract the cost per unit from the selling price. Both ratios share this number.
  2. Divide by cost for markup. Gross profit ÷ cost × 100. It tells you how much you added on top of what you paid.
  3. Divide by price for margin. Gross profit ÷ price × 100. It tells you how much of each sales dollar you keep.
To findFormulaOn a $10.00 cost
Gross profitprice − cost$15.00 − $10.00 = $5.00
Markup %(price − cost) ÷ cost × 100$5.00 ÷ $10.00 = 50.0%
Margin %(price − cost) ÷ price × 100$5.00 ÷ $15.00 = 33.3%
Price from markupcost × (1 + markup)40% markup: $14.00
Price from margincost ÷ (1 − margin)40% margin: $16.67
Margin from markupmarkup ÷ (1 + markup)40% markup = 28.6% margin
Markup from marginmargin ÷ (1 − margin)40% margin = 66.7% markup
How prices are rounded. A price solved from a markup or margin is rounded to the nearest cent, and a half cent rounds up. A 30% margin on $6.20 is $8.8571 exactly, so the tool shows $8.86 and recalculates the margin from it: 30.02%.

The Markup and Margin Questions People Ask Most

What is a 20% markup on $100?$120.00

$20.00 of gross profit, which is a 16.7% margin.

Is 50% margin 100% markup?Yes

A $10.00 cost sold at $20.00 is a 100.0% markup and a 50% margin.

How much margin is 15% markup?13.0%

0.15 ÷ 1.15. Markup is always the larger of the two numbers.

What markup gives a 30% margin?42.9%

0.30 ÷ 0.70. Margin targets need bigger markups than most people expect.

Markup looks up from cost

The base is what you paid, so markup has no ceiling. Markups above 100% are normal for many products.

Margin looks down from price

The base is what the customer paid, so margin stays below 100% while the cost is above zero.

Same profit, two labels

If a figure is quoted without saying which one it is, ask. Mixing them up underprices the product.

Markup to Margin Conversion Table

Margin = markup ÷ (1 + markup). Prices assume a $10.00 cost, so you can check any row in your head.

MarkupMarginPrice on a $10.00 costGross profit
10%9.1%$11.00$1.00
15%13.0%$11.50$1.50
20%16.7%$12.00$2.00
25%20.0%$12.50$2.50
30%23.1%$13.00$3.00
40%28.6%$14.00$4.00
50%33.3%$15.00$5.00
60%37.5%$16.00$6.00
75%42.9%$17.50$7.50
100%50.0%$20.00$10.00
150%60.0%$25.00$15.00
200%66.7%$30.00$20.00
300%75.0%$40.00$30.00

Margin to Markup Conversion Table

Markup = margin ÷ (1 − margin). Prices are rounded to the nearest cent; the exact figure is shown beside each one.

Target marginMarkup neededPrice on a $10.00 costExact price
10%11.1%$11.11$11.1111
15%17.6%$11.76$11.7647
20%25.0%$12.50$12.5000
25%33.3%$13.33$13.3333
30%42.9%$14.29$14.2857
35%53.8%$15.38$15.3846
40%66.7%$16.67$16.6667
45%81.8%$18.18$18.1818
50%100.0%$20.00$20.0000
55%122.2%$22.22$22.2222
60%150.0%$25.00$25.0000
65%185.7%$28.57$28.5714
70%233.3%$33.33$33.3333
75%300.0%$40.00$40.0000
80%400.0%$50.00$50.0000

An Austin, Texas Skincare Brand Pricing a Serum

The brand imports a serum at $4.10 per unit. Freight, duty and receiving add $2.10, so landed cost is $6.20. It sells for $18.90 on a US marketplace. These are the calculator's default inputs.

204.8%markup: $12.70 ÷ $6.20
67.2%gross margin: $12.70 ÷ $18.90
23.4%contribution margin after order costs
$4.42kept per order, before marketing and overheads
LineAmountShare of the $18.90 priceLeft after this line
Selling price$18.90100.0%$18.90
Landed cost−$6.2032.8%$12.70
Fulfillment (pick, pack, packaging)−$1.859.8%$10.85
Outbound shipping−$3.4018.0%$7.45
Marketplace + payment fees at 12%−$2.2712.0%$5.18
Returns allowance at 4%−$0.764.0%$4.42
Contribution profit$4.4223.4%$4.42
  • The 204.8% markup sets the price from the cost. The 67.2% gross margin is what the accounts show above the fulfillment line.
  • The 23.4% contribution margin is the one to weigh against the cost of winning the order.
  • The fee and shipping lines are example values. Replace them with your own rate card before you use the result.

Three Ways to Set a Price From the Same Cost

Each method starts from the $6.20 landed cost in the worked example. Only the last one looks at what the order costs to deliver.

MethodRulePriceMarkupGross marginContribution per order
Cost-plus markup100% markup on $6.20$12.40100.0%50.0%−$1.04 (-8.4%)
Gross margin target60% margin on $6.20$15.50150.0%60.0%$1.57 (10.1%)
Contribution target20% after order costs$17.90188.7%65.4%$3.58 (20.0%)

Cost-plus markup

Fast and easy to explain to a buyer. It ignores fees, shipping and returns, so the same markup can leave very different profit on two products.

Gross margin target

Matches how finance reports results. It still stops at cost of goods, so a high gross margin can hide a thin order.

Contribution target

Starts from what each order must leave behind. It needs real fulfillment, shipping and fee inputs, which is what the order cost fields are for.

MeasureDividesAnswersWorked example
MarkupGross profit by costHow much was added on top of cost?204.8%
Gross marginGross profit by priceWhat share of the sale is left after the product?67.2%
Contribution marginProfit after order costs by priceWhat share is left after the order is delivered?23.4%
Break-even priceOrder costs by (1 − fee % − returns %)What is the lowest price that loses nothing?$13.64

What Markup an Ecommerce Product Actually Needs

Work back from the contribution margin you want to keep. The table uses the worked example's costs and the same function as the tool.

Target contribution marginLowest priceMarkup on $6.20Gross marginContribution per order
Break-even (0%)$13.64120.0%54.5%$0.00
10%$15.48149.7%59.9%$1.55
15%$16.60167.7%62.7%$2.50
20%$17.90188.7%65.4%$3.58
25%$19.42213.2%68.1%$4.86
30%$21.22242.3%70.8%$6.37
The formula. Price = (cost + fulfillment + shipping) ÷ (1 − fee % − returns % − target %). The tool rounds the result up to the first whole cent that reaches the target.

Fulfillment

Pick, pack and packaging. Close to flat per order, so it weighs more on a cheap item than an expensive one.

Outbound shipping

Billed on weight and size, not on price. A light, bulky product can carry a large shipping line.

Fees

Referral and payment fees scale with price, so a price rise loses that share to the fee.

Returns

An allowance for refunds, return postage and stock you cannot resell, entered as a share of price.

How a Discount Changes Margin and Contribution

A discount comes straight off profit, while fulfillment and shipping stay the same. These rows use the worked example at $18.90.

DiscountNew priceGross marginContribution per orderExtra unit sales neededUnits to match 100
10%$17.0163.6%$2.8455.7%156
15%$16.0761.4%$2.05115.7%216
20%$15.1259.0%$1.26250.8%351
25%$14.1856.3%$0.46860.9%961
30%$13.2353.1%−$0.34No lift recovers it—

Extra unit sales keep total contribution profit flat. They are rounded up to the next 0.1%, and units up to the next whole unit.

Check contribution, not gross margin

At 20% off, gross margin moves from 67.2% to 59.0%. Contribution per order drops from $4.42 to $1.26, because order costs do not shrink with the price.

Price the lift you need

Compare the extra unit sales in the table with what past promotions actually delivered on this product and channel.

Try a smaller discount

Type a lower discount into the calculator to see how quickly the required lift comes down before you commit to a promotion.

Six Markup and Margin Mistakes That Underprice a Product

1

Applying a markup when a margin was asked for

A 50% margin on $10.00 needs $20.00. A 50% markup gives $15.00, a 33.3% margin. On 5,000 units that is $25,000.00 of gross profit instead of $50,000.00.

2

Using factory cost

At $18.90, the $4.10 factory price shows a 78.3% margin. The $6.20 landed cost gives 67.2%.

3

Charging fees on cost

A 12% fee on the $6.20 cost is $0.74. Charged on the $18.90 price it is $2.27, $1.53 more per order.

4

Subtracting the discount from the margin

A 20% discount on a 67.2% margin is not 47.2%. At $15.12 the gross margin is 59.0%, but contribution falls from $4.42 to $1.26.

5

Cutting cents instead of rounding

A 30% margin on $6.20 is $8.8571. Dropping the extra digits gives $8.85 at 29.94%, just under target. Rounding gives $8.86 at 30.02%.

6

Averaging margins across SKUs

One $10.00 sale at 50% and one $100.00 sale at 20% average 35.0%. Weighted by revenue, the real margin is 22.7%.

Why There Is No "Typical Margin by Industry" Table Here

What a benchmark table hides

  • Whether the figure is markup or margin
  • Whether cost means factory price or landed cost
  • Whether fees, shipping and returns are included
  • Which channel, year and sample it came from

What to compare against instead

  • Your own contribution margin per channel
  • What it costs you to acquire an order
  • Your overheads as a share of revenue
  • The same SKU's margin last quarter

Before you sign off a price

  • Confirm whether the target you were given is a markup or a margin.
  • Check that the cost field holds landed cost, with current duty and freight.
  • Run the promotional price as well as the list price.
  • Run each sales channel separately, because fees and shipping differ.
  • Re-run it when carrier rates or marketplace fees change.

Markup and Margin Questions

Subtract cost from price to get gross profit. Markup is gross profit divided by cost; margin is gross profit divided by price. A $10.00 cost sold at $15.00 leaves $5.00, which is a 50.0% markup and a 33.3% margin.
Both use the same gross profit. Markup measures it against what you paid, so it has no upper limit. Margin measures it against what the customer paid, so it stays below 100% while cost is above zero. For any profitable product the markup is the larger number.
A 20% markup on a $100.00 cost gives a $120.00 selling price and $20.00 of gross profit. As a margin that is 16.7%, because the $20.00 is divided by the $120.00 price, not the $100.00 cost.
Yes. A 50% margin needs a 100.0% markup: a $10.00 cost sold at $20.00. The rule behind it is markup = margin ÷ (1 − margin), so 0.50 ÷ 0.50 = 1.00, or 100.0%.
A 15% markup is a 13.0% margin. Divide the markup by one plus the markup: 0.15 ÷ 1.15 = 0.1304. The conversion table on this page lists the common values in both directions.
Divide the margin by one minus the margin, both as decimals. A 30% margin becomes 0.30 ÷ 0.70, a 42.9% markup. The required markup climbs steeply past a 50% margin, and no markup ever reaches a 100% margin.
It depends on the costs each order carries after the product itself. In the worked example on this page, fulfillment, shipping, fees and returns mean a $6.20 product breaks even at $13.64 (a 120.0% markup) and needs $17.90 (188.7%) to keep a 20% contribution margin.
There is no single figure that holds across categories, channels and cost definitions, so this page does not print one. Check your contribution margin, after fulfillment, shipping, fees and returns, against what it costs you to win the order and run the business.
A price solved from a markup or margin is rounded to the nearest cent, and a half cent rounds up. Markup and margin are then recalculated from that rounded price. A 30% margin on $6.20 is $8.8571 exactly, so the price shown is $8.86 at a 30.02% margin.
Keystone pricing means doubling the cost to set the retail price. That is a 100% markup, and it gives a 50.0% gross margin: a $10.00 cost sells for $20.00. It says nothing about the costs each order carries after the product.
Use landed cost per unit: factory price plus inbound freight, duty, insurance and receiving, divided by units received. In the worked example the factory price alone shows a 78.3% margin, while the real landed cost gives 67.2%.

Want Real Numbers in the Order Cost Fields?

Talk to Locad about fulfillment and shipping rates for your order profile, basket size and destinations.