Cost + any one value → price, profit, margin, and markup.
💡 Margin and markup are NOT the same: a 100% markup (doubling your cost) is only a 50% margin. Margin divides profit by PRICE; markup divides profit by COST. Mixing them up is the #1 pricing mistake in e-commerce.
The Profit Margin Calculator is based on the following formula:
Margin = Profit ÷ Price · Markup = Profit ÷ Cost · Price = Cost ÷ (1 − Margin)
Variables: Margin = Gross margin (Profit ÷ Price, %) Markup = Markup on cost (Profit ÷ Cost, %) Price = Selling price ($) Cost = Unit cost ($) Profit = Price − Cost ($)
Margin and markup describe the same profit from two bases: margin divides by selling price, markup by cost. To hit a target margin m, price at Cost ÷ (1 − m); a 100% markup equals a 50% margin.
Worked example: Step 1: Cost = $60, Price = $100 → Profit = $40. Step 2: Margin = 40 / 100 = 40%; Markup = 40 / 60 ≈ 66.7%. Step 3: pricing for a 40% target margin: Price = 60 / (1 − 0.40) = $100. Result: the same $40 profit is a 40% margin but a 66.7% markup — always check which base a quote uses.
Margin is profit divided by the selling price; markup is profit divided by your cost. A 100% markup (doubling a $40 cost to $80) is only a 50% margin. A "30% markup" is a 23% margin. Sellers who price at "30% margin" when they meant "30% markup" systematically underprice — this tool converts between the two instantly so quotes, decks, and marketplaces always speak the same language.
From markup to margin: Margin = Markup ÷ (1 + Markup). From margin to markup: Markup = Margin ÷ (1 − Margin). To hit a target margin, price at Cost ÷ (1 − Margin); to apply a markup, price at Cost × (1 + Markup). Enter cost plus any one of price / margin / markup and every other figure fills in automatically.
Grocery stores run 25-30% gross margins, software companies 70-90%, luxury fashion 60-75%, and restaurants barely 60-70% on food before labor. Amazon's marketplace fees alone eat 8-15% of price, so an FBA seller quoting "50% margins" without landing costs is really running 25%. Benchmark against your industry before assuming your margin is healthy.
Margin tells you if a product is worth selling; markup multipliers keep quotes fast. Keep both in view when costs rise: a supplier increase of 10% on an item you mark up 50% only needs a ~7% price bump to keep the same profit per unit — most sellers round up to the full 10% and quietly pocket the difference.
More tools you might find useful
Calculate startup runway months, zero cash date, and net burn rate.
Model LTV, churn, CAC payback, and LTV:CAC for your SaaS.
Square fees both ways, plus the effective rate by ticket size.
Views × RPM range → monthly and yearly AdSense income.