AIDigitalStuff.com
AUEnglish (Australia)
USEnglish (US)
GBEnglish (UK)
CAEnglish (Canada)
FRFrançais
CAFrançais (Canada)
DEDeutsch
ESEspañol
MXEspañol (México)
PTPortuguês
BRPortuguês (Brasil)
ITItaliano
NLNederlands
SESvenska
NONorsk
DKDansk
FISuomi
PLPolski
CZČeština
SKSlovenčina
HUMagyar
RORomână
BGБългарски
GRΕλληνικά
RUРусский
UAУкраїнська
TRTürkçe
ILעברית
SAالعربية
IRفارسی
PKاردو
INहिन्दी
BDবাংলা
LKதமிழ்
THไทย
VNTiếng Việt
IDBahasa Indonesia
MYBahasa Melayu
PHFilipino
CN中文 (简体)
TW中文 (繁體)
JP日本語
KR한국어
KEKiswahili
ZAAfrikaans
Home / Tools / Markup Calculator
Rate this tool No ratings yet Thanks for rating!

Markup Calculator

Work out selling price, markup percentage, or cost price instantly — and see exactly how markup differs from margin. Everything is calculated in your browser; nothing is stored or sent anywhere.

Enter Your Numbers

$
%

Results

Selling Price
$0.00
Cost
$0.00
Markup
0%
Margin
0%
Price Composition Profit $0.00
Cost Gross Profit

How To Use This Calculator

1

Pick what you know

Choose a mode above depending on which two figures you already have: cost & markup, cost & selling price, or selling price & margin.

2

Type in your numbers

Enter your cost, price, or percentage — results update instantly as you type, no need to press a button.

3

Read the breakdown

The highlighted figure is the one being solved for. Check the bar below to see exactly how much of the price is cost versus profit.

Markup vs. Margin — what's the difference?

Markup is profit as a percentage of cost: (Price − Cost) ÷ Cost. It tells you how much you added on top of what you paid.

 

Margin is profit as a percentage of selling price: (Price − Cost) ÷ Price. It tells you what share of every sale is actual profit. A 40% markup is only a 28.6% margin — they're never the same number except at 0%.

Markup vs Profit Margin: Clearing Up the Common Retail Confusion

Markup and profit margin get used interchangeably, but they measure different things, and mixing them up is a fast way for a small business to underprice its products. Both start from the same two numbers — cost and selling price — but divide by different bases, and that single difference changes the answer dramatically.

Markup is calculated against cost: Markup % = (Price − Cost) ÷ Cost — "how much did I add on top of what I paid?" Margin is calculated against price: Margin % = (Price − Cost) ÷ Price — "what share of the money in the register is actual profit?" Because the denominators differ, the same profit dollar amount produces two different percentages, and the gap widens as the numbers get bigger.

A Worked Example That Shows Why the Gap Matters

Take an item that costs a retailer $40. Apply a 50% markup: Price = $40 + (50% × $40) = $60. That feels like "50% profit," but check the margin: ($60 − $40) ÷ $60 = $20 ÷ $60 = 33.3%. A 50% markup produced a 33.3% margin, not 50%. If that retailer actually wanted a 50% margin, they'd solve for price differently: Price = Cost ÷ (1 − Margin) = $40 ÷ 0.50 = $80. An $80 price, not $60, is what a true 50% margin requires on a $40 cost item.

The higher the target climbs, the more this mix-up costs. An owner who thinks in markup terms but reports in margin terms will consistently underprice against their own break-even needs. Setting a "50% margin" by applying a 50% markup leaves roughly a third less profit cushion than planned — over many transactions, the difference between comfortably covering overhead and quietly bleeding cash while sales look healthy on paper.

How to Structure a Sustainable Wholesale and Retail Pricing Architecture

Keystone Pricing as a Starting Baseline

"Keystone pricing" is retail shorthand for doubling the wholesale cost to set the retail price — a 100% markup, which works out to exactly a 50% margin. It's a common starting point in apparel, gift, and specialty retail because it's simple and traditionally leaves room for overhead, markdowns, and shrinkage. It isn't a law of physics, though — thin-margin categories like grocery and electronics run well below keystone, while categories with high return rates or heavy discounting often need to price above it just to break even.

Building a Tiered Wholesale-to-Retail Ladder

Brands selling through multiple channels — direct-to-consumer, wholesale accounts, distributors — typically need more than one price point for the same item. A common structure: landed cost at the bottom, wholesale price to retail partners set at roughly 2× that cost (keystone), and suggested retail price set at roughly 2× the wholesale price, landing around 4× the original cost. This "4x rule" gives retail partners their own healthy keystone margin on top of what the brand already priced in, while protecting the brand's direct-to-consumer sales from being undercut by its own wholesale accounts.

Accounting for the Costs That Erode Margin After the Sale

COGS is only the starting point. A realistic target price also needs to absorb shipping/fulfillment cost, payment processing fees (commonly around 2.9% plus a small fixed fee), and an allowance for returns, since refunded items rarely come back cost-free.

Worked example: a product has an $18.00 COGS and $4.00 average fulfillment cost, for a $22.00 landed cost. An 8% return rate at about $3.50 in restocking/reverse-shipping loss per return adds roughly $0.28 per unit sold ($3.50 × 0.08), bringing landed cost to $22.28. Card processing runs about 3% of the transaction price. To hit a true 45% margin after fees, price must satisfy Price × (1 − 0.45 − 0.03) = $22.28, so Price = $22.28 ÷ 0.52 ≈ $42.85. Rounded to a charm price of $42.99, the business nets roughly $41.70 after the fee, leaving about $19.42 of gross profit per unit — close to the 45% target, instead of a margin quietly eaten down by costs nobody built into the original price.

Psychological Pricing Strategies to Protect Business Unit Economics

Pricing isn't purely arithmetic — how a price is presented changes how customers perceive it, and the most effective psychological tactics cost almost nothing in actual margin. Used carelessly, though, they can mask a price that no longer supports the target markup.

Charm Pricing

Charm pricing — ending a price in .99 or .95 — exploits the fact that people read left-to-right and anchor on the leftmost digit. $19.99 registers as "$19-something" rather than "basically $20," though the real difference is one cent. The margin impact of dropping from $20.00 to $19.99 is negligible, but the perceived-value impact is disproportionately large.

Price Anchoring

Anchoring sets a reference point before the customer sees the real price — a crossed-out "regular price" next to a sale price, or a premium option shown first so the mid-tier option looks reasonable by comparison. The anchor doesn't need to be artificial to work. Anchoring lets a business hold its target markup on the anchor item while still moving volume on the item it actually wants to sell.

Decoy Pricing

A decoy is a third option added to make one of the other two look like the obvious choice — a small size at $3, a large at $7, and a medium at $6.50, positioned close enough to the large to make the large look like the better deal. The decoy doesn't need to sell at all; its job is to shift the mix toward the option that carries the healthiest margin, without ever discounting that option directly.

All three tactics work best layered on top of a price that already clears the business's real target margin — calculated with actual COGS, fees, and return rates included — rather than used to disguise a price that was never profitable in the first place.

Frequently Asked Questions

Is a 50% markup the same as a 50% margin?

No. A 50% markup on a $40 cost item sets the price at $60, which works out to a 33.3% margin, not 50%. Markup is calculated against cost; margin is calculated against price, so they only match at 0% and diverge further as the percentage rises.

How do I convert between markup and margin?

Margin = Markup ÷ (1 + Markup), and Markup = Margin ÷ (1 − Margin). A 100% markup converts to a 50% margin: 1.00 ÷ (1 + 1.00) = 0.50. A target 40% margin requires roughly a 66.7% markup: 0.40 ÷ (1 − 0.40) = 0.667.

What counts as a "good" margin for a small retail or e-commerce business?

It varies widely by category, so treat any single number as a rough reference. Keystone (50% margin) is a traditional apparel/gift baseline; grocery and commodity categories run much lower and lean on volume; services and digital products often run higher since there's little per-unit COGS. The real benchmark is your own break-even: margin must cover COGS, overhead, fees, and returns with profit left over.

Should payment processing fees factor into how I calculate markup?

Yes. A card processing fee (commonly around 2.9% plus a small fixed fee) comes out of the price after the sale closes, so it belongs in the target price alongside COGS and shipping. Skip it, and your realized margin lands measurably below what you planned.

What is keystone pricing and when should I use it?

Setting the retail price at double the wholesale or landed cost — a 100% markup, equivalent to a 50% margin. It's a common default in apparel, gift, and specialty retail. It isn't universal: grocery typically prices well below keystone, while lines with high return rates or heavy discounting often need to price above it to actually hit the target margin.