Business calculator

Markup Calculator

Calculate selling price, markupThe amount added to a product’s cost to set its selling price, expressed as a percentage of the cost., gross margin, gross profit, and discount impact from your cost.

Calculator

Basic Markup

$

The direct cost to buy, produce, or deliver the item.

%

Markup is calculated on COST. 40% on 50 prices at 70.

Adds totals to the results.

Results

Moderate gross marginMarkup ≠ margin

Formula verified 14 June 2026

Selling price

$70.00

Cost × (1 + markup).

Gross profit per unit

$20.00

Selling price − cost.

Markup

40%

Profit ÷ COST.

Gross margin

28.57%

The same profit ÷ PRICE — always smaller.

Maximum safe discount

28.57%

Before the unit turns loss-making.

Total gross profit

$2,000.00

100 units · revenue $7,000.00.

Moderate gross margin. 10–30% gross margins are common in volume businesses; check that overheads still fit inside it.

Markup ≠ margin. A 40% markup gives a 28.6% margin. If you actually want a 40% MARGIN, you need a 66.7% markup instead.

Includes your inputs, live formulas, scenario comparison, discount impact, ecommerce landed cost, and a 25-row product batch sheet — 10 sheets, generated in your browser.

Selling price breakdown

Where each unit of the price goes. The same data is on the workbook’s Summary sheet, chart-ready.

Cost $50.00Gross profit $20.00= Price $70.00
Show breakdown as a table
Selling price breakdown table
ComponentAmount% of price
Cost$50.0071.43%
Gross profit$20.0028.57%
Selling price$70.00100%

Markup vs margin conversion

The same profit, two denominators. Margin is always the smaller number — never mark up by your target margin.

Markup to margin conversion table
Markup10%15%20%25%30%40%50%75%100%150%200%300%
Margin9.09%13.04%16.67%20%23.08%28.57%33.33%42.86%50%60%66.67%75%

100% markup (keystone — doubling your cost) is exactly a 50% margin. Margin = Markup ÷ (1 + Markup); Markup = Margin ÷ (1 − Margin).

Pricing scenario comparison

Conservative, recommended, and premium pricing from your cost — plus what pricing at “margin = your markup number” really does, and any custom price.

$
Pricing scenario comparison table
ScenarioSelling priceProfit/unitMarkupMarginTotal profitRead
Conservative (−25% markup)$65.00$15.0030%23.08%$1,500.00Balanced
Recommended (current)$70.00$20.0040%28.57%$2,000.00Balanced
Premium (+25% markup)$75.00$25.0050%33.33%$2,500.00Premium pricing
Margin-matched (margin = current markup %)$83.33$33.3366.67%40%$3,333.33Premium pricing

Total profit uses the units from your current mode (100). The margin-matched row exists to show the price gap the markup/margin confusion creates.

Discount sensitivity

What each discount level does to your current price and cost. The workbook’s Discount Impact sheet runs the same analysis on your Discount-mode inputs out to 60%, with editable levels.

Discount sensitivity table
DiscountPriceProfit/unitMarginMarkupTotal profitStatus
0%$70.00$20.0028.57%40%$2,000.00OK
5%$66.50$16.5024.81%33%$1,650.00OK
10%$63.00$13.0020.63%26%$1,300.00OK
15%$59.50$9.5015.97%19%$950.00OK
20%$56.00$6.0010.71%12%$600.00OK
25%$52.50$2.504.76%5%$250.00Thin
30%$49.00−$1.00-2.04%-2%−$100.00Loss

Maximum discount before loss at this price and cost: 28.57%. A discount comes entirely out of profit, because the cost does not move.

Quantity impact

The current per-unit economics at different volumes. Volume multiplies profit — it never fixes a loss-making unit.

Quantity impact table
UnitsRevenueGross profit
10$700.00$200.00
50$3,500.00$1,000.00
100$7,000.00$2,000.00
500$35,000.00$10,000.00
1,000$70,000.00$20,000.00

Batch product comparison

Price up to 10 products together — markup, margin, and profit per row, with the portfolio blend underneath. The workbook’s Product Batch sheet extends this to 25 formula-ready rows.

What this tool shows

Then add target-margin pricing, reverse cost ceilings, ecommerce landed cost after fees, quantity profit, batch product comparison, and a formula-backed XLSX workbook. Built for retailers, ecommerce sellers, wholesalers, manufacturers, restaurants, freelancers, and agencies.

  • Selling price, gross profit, and gross margin from cost and markup
  • The price (and markup) a target margin actually requires
  • Markup and margin of an existing price, and profit-target pricing
  • Reverse cost — the most you can pay a supplier at a market price
  • Ecommerce landed cost with platform, payment, and return fees
  • Discount impact, maximum safe discount, and quantity/volume profit
  • Batch comparison across up to 10 products with weighted margins
  • A 10-sheet Excel workbook generated from your exact inputs
Transparent assumptions Every formula shown 9 pricing modes incl. ecommerce & batch 12 currencies + custom symbol 10-sheet XLSX workbook Practical interpretation

Verify against your own records — full formula shown.

Updated 14 June 2026 · Works in any currency

Markup is profit divided by cost; margin is the same profit divided by the selling price — and margin is always the smaller number. To price from a markup, multiply: Price = Cost × (1 + markup). To price for a target margin, divide: Price = Cost ÷ (1 − margin). A 50 cost with a 40% markup sells at 70 (a 28.57% margin); the same cost priced for a 40% margin must sell at 83.33 (a 66.67% markup).

At a glance

Formula shown
Price = Cost × (1 + Markup%); Markup% = Profit ÷ Cost — margin divides the same profit by price.
Scenario support
Nine modes with target margin, reverse cost, ecommerce fees, discount sensitivity, and batch comparison.
Workbook export
10-sheet Excel (XLSX) export
Educational estimate
Planning support from the values you enter — not professional advice.

The same 40% gives you $70 or $83.33

Markup is profit as a percentage of cost; margin is the same profit as a percentage of price. Buy an item for $50, sell it at $70, and the $20 you kept is a 40% markup against the $50 you paid but a 28.57% margin against the $70 the customer paid. Only the denominator changed. Every result on this page prints both numbers side by side: markup is what you price forward from a supplier invoice with, margin is what you actually kept. Markup is applied to cost and never to the selling price, and because the price is the larger of the two, margin is always the smaller percentage.

If the 40% you were handed was a margin target instead, the price has to be 50 ÷ (1 − 0.40) = $83.33, which is a 66.67% markup and $33.33 of profit per unit. The difference between $70 and $83.33 — about 16% of revenue — is what confusing the two denominators silently costs on every sale.

At 100 units the 40%-markup price earns $2,000 of gross profit and the 40%-margin price earns $3,333. The decision rule is one line — if the target was quoted to you as a markup, multiply; if it was quoted as a margin, divide. Target Margin mode applies the division and shows the comparison, because marking up by your target margin percentage always underprices.

Markup formulas

Selling price from markup

Price = Cost × (1 + Markup% ÷ 100)

Markup multiplies. $50 × 1.40 = $70.

Markup %

Markup% = Profit ÷ Cost × 100

Denominator is COST.

Gross margin %

Margin% = Profit ÷ Price × 100

Denominator is PRICE — always smaller.

Price from target margin

Price = Cost ÷ (1 − Margin% ÷ 100)

Margin divides. $50 ÷ 0.60 = $83.33.

Those four cover the forward direction. The conversion running the other way, from a margin already committed to back to the markup that delivers it, is: Markup% = Margin% ÷ (100 − Margin%) × 100. A 40% target margin needs a 66.67% markup, a 20% margin needs 25%, and a 50% margin needs a 100% markup.

That last row has a name. A 100% markup — doubling your cost, so a $25 cost sells at $50 — is keystone pricing, and because the profit exactly equals the cost, keystone lands on precisely a 50% gross margin every time. Keystone is a retail convention rather than a rule, and conventions of that kind vary widely by category, region, and competition, so the multiplier worth trusting is the one your own cost base supports rather than the one you inherited.

The most you can pay a supplier at a fixed shelf price

Buyers negotiate against a cost ceiling, not a markup. At a shelf price the market has already set, the target margin fixes the highest landed cost that still works.

Maximum landed cost per unit at four shelf prices and three target gross margins
Shelf priceMax cost at 30% marginat 40%at 50%
$20.00$14.00$12.00$10.00
$50.00$35.00$30.00$25.00
$100.00$70.00$60.00$50.00
$250.00$175.00$150.00$125.00

Reverse Cost mode runs that table on your own numbers. Price Analysis mode runs the opposite direction — hand it a cost and a price you already charge and it returns the markup and margin they imply, the quickest way to audit a price list you inherited rather than wrote.

The cost you type in should be the direct cost of the unit and nothing else: product, materials, packaging, and inbound freight, matching the cost-of-goods-sold items the IRS guidance below lists. Overheads such as rent, salaries, insurance, and software do not belong in that figure; Quantity mode spreads them across the volume you expect to sell instead of burying them in a per-unit markup that has to be re-cut every time volume moves.

Marketplace fees and the markup they force

On a $30 landed cost held to a 40% net margin: the fee is a share of price, not cost, so each rise to cover it enlarges the fee again.

Price and markup holding a 40% net margin on a $30 cost at five platform fee loads
Fee loadPrice for a 40% net marginMarkup on cost that impliesNet profit per unit
0%$50.0066.7%$20.00
8%$57.6992.3%$23.08
12%$62.50108.3%$25.00
15%$66.67122.2%$26.67
20%$75.00150%$30.00

Ecommerce mode does this with your own fee schedule. Platform commission, payment processing, and a return or refund allowance sit on top of the base cost, so you read the landed cost and the true margin after those deductions rather than the gross markup — the mode for Shopify, Amazon, Etsy, or eBay pricing. Percentage fees are modelled as a share of the selling price, where the platforms actually charge them.

Watch the diagnosis badges while you work: the calculator flags fee pressure and thin margins where it finds them.

When your supplier raises the cost

Recovering the cash and recovering the percentage are different policies. Base case: a $30 cost at a $50 shelf price, $20 gross profit, 40% margin. The gap widens with every increase.

Two pass-through prices after four supplier cost increases on a $30 cost, $50 price base
Cost riseNew costPrice holding the same dollar profitPrice holding the same 40% marginGap
+5%$31.50$51.50$52.50$1.00
+10%$33.00$53.00$55.00$2.00
+15%$34.50$54.50$57.50$3.00
+20%$36.00$56.00$60.00$4.00

Markup on a bill rate: staffing and agency pricing

Staffing quotes markup on the pay rate while the client evaluates margin on the bill rate, and the two are never equal. The $40 here is the raw wage — employer taxes, insurance and benefits belong in the cost before the markup is applied.

Bill rate, gross margin and hourly profit at five markups on a $40 pay rate
Markup on pay rateBill rateGross marginGross profit per hour
35%$54.0025.9%$14.00
45%$58.0031%$18.00
55%$62.0035.5%$22.00
65%$66.0039.4%$26.00
75%$70.0042.9%$30.00

To price your own placement, enter the worker’s pay rate as the cost and your desired markup percentage; the calculator returns the bill rate you would put in front of the client, together with the margin you would be earning on it.

Marking up a commodity whose cost moved this morning

A fixed percentage applied to the historical cost sitting in the ledger prices yesterday's purchase, not tomorrow's replacement. When paddy (unmilled rice) moves several percent in a week, a sale at a healthy markup on last week's cost can leave too little cash to refill the same stock. Commodity traders therefore quote off today's replacement cost and book any gain on old stock separately as an inventory gain, not as trading margin. Accounting draws the same line: the lower-of-cost-or-market rule governs how closing stock is valued for a bank stock statement, and FIFO versus weighted-average cost reports materially different margins in a rising market. Mark up on the cost you will actually pay to replace the unit, and let the accounting policy decide what to call the difference.

All nine modes, and the one you actually need

Nine modes sit behind one switch, each answering a different pricing question; most visitors only ever need one.

The nine calculator modes and the pricing question each one answers
ModeThe question it answers
Basic MarkupPrice from a cost and a markup
Target MarginPrice a target margin actually requires
Price AnalysisMarkup and margin an existing price implies
Profit TargetPrice for a fixed profit per unit
Reverse CostMost you can pay at a fixed price
Ecommerce Landed CostMargin after platform, payment and return fees
Discount ImpactProfit left after a discount, and the floor
Quantity / VolumeTotal profit across volume, overheads included
Batch ComparisonWhich of ten products carries the margin

The $20 this page calls profit is not the $20 you keep

Every profit figure here is a gross figure: in the $50 cost, $70 price example, the $20 is what survives the cost of the goods and nothing else. Gross margin is not net margin, and a markup that looks healthy on the invoice can still leave very little behind once the month’s operating costs arrive. This calculator does not automatically include taxes, refunds, chargebacks, depreciation, salaries, rent, interest, inventory shrinkage, or working capital: none are deducted unless you enter them as costs, and Quantity mode’s overhead field is the one place the tool asks for them.

Sales tax, VAT, or GST collected from a customer is normally a pass-through owed to the tax authority rather than money you earned, so it is excluded from every markup and margin figure on this page — the HMRC and CBIC references below are the rules that make it so. If you need a tax-inclusive shelf price, add the tax on top of the price this page returns; folding it into the markup base inflates both the markup and the margin with money that was never yours.

Two limits are worth stating plainly. The first is scope: it does not replace accounting advice, it does not know what your competitors charge, and it cannot guarantee that a single unit sells at the price it returns, because demand and volume sit outside the arithmetic entirely. The second is the category rules of thumb — keystone, the three-times food multiplier, the thin markups grocers live on — which are conventions rather than fixed rates, so benchmark them against your own cost base and against the measured retail margins in the Census Bureau survey below.

This is a pricing estimate, not bookkeeping. For the full revenue-to-net-profit waterfall see the profit margin calculator; for overhead coverage see the break-even calculator; for ad-spend limits see the break-even ROAS calculator.

Related calculators

This page prices from cost; these tools take the analysis further:

Profit MarginWork out gross, contribution, operating, and net margin, with target pricing, break-even, scenarios, and SKU comparison.
Break-EvenFind units and revenue break-even, contribution margin, target profit, and margin of safety, with sensitivity tables and a chart.
Ecommerce ProfitSee net profit per order after product costs, fees, shipping, ads, and returns, with break-even price and ROAS.
Break-Even ROASWork out break-even and target ROAS from your real margins, plus max CAC, break-even MER, and ad budgets.
PercentageSolve X% of Y, what percent X is of Y, reverse percentage, increase/decrease, discounts, and tax, tip, or commission.
Price Elasticity of DemandMeasure price elasticity of demand (midpoint and simple PED) and test how a price change affects revenue and profit.
Percentage ChangeWork out percentage increase or decrease, reverse change, loss recovery, percentage points, multi-period change, and CAGR.
Global Import DutyEstimate customs duty, tax, and total landed cost for any country, or India’s Basic Customs Duty, Social Welfare Surcharge, and IGST cascade.
DDP vs DAP CostCompare landed cost under DAP and DDP Incoterms — what the buyer pays upfront vs. at delivery, and the DDP handling fee.
VAT/GSTAdd or remove VAT, GST, or HST from a price, solve tax-inclusive and tax-exclusive values, and build mixed-rate invoices.

More in Business, or browse all calculators.

Read the guide

For the full comparison of margin, markup, and break-even with worked examples, see Profit Margin vs Markup vs Break-Even: The Difference Explained.

Sources and methodology

The markup and margin arithmetic on this page is definitional: it follows from where you put the profit in the denominator, and it fetches nothing. No supplier prices, no competitor prices, no tax rates, no platform fees.

The category conventions deserve a plain statement. Keystone pricing at double cost, the three-times food multiplier and the thin grocery markups are trade habits passed between operators. No government, regulator or standards body issues them, and we found no authority to cite for any of them. The Census Bureau survey below is the nearest honest substitute: it reports the gross margins US retailers actually achieved, which is a measurement rather than a rule.

What is genuinely governed is what you may advertise. If you mark a product up in order to show a discount from a price you never really sold at, the FTC pricing guides below are what the FTC applies. Links open in a new tab.

Business pricing disclaimer

This markup calculator and its XLSX workbook are for education and pricing planning only. They are not financial, accounting, tax, or legal advice, and they do not know your competitors, demand, or sales volume. Results are gross calculations unless you enter ecommerce fees and allowances; taxes, refunds, chargebacks, depreciation, salaries, rent, inventory shrinkage, and working capital are not included unless you add them as costs. Tax/VAT/GST collected from customers is normally a pass-through, not profit. Verify pricing decisions with your own records or a qualified professional. Calculator Matters does not guarantee profit, sales volume, or business performance.

How we calculate · Found an error? email us

Authorship & verification

Written and maintained by , a business operator who builds spreadsheet-based calculators.

What's changed (5 updates)

Published 11 June 2026

  1. Published the markup calculator: selling price, markup percentage, gross margin, gross profit, and discount impact.
  2. Added a downloadable Excel/CSV workbook generated from your inputs.
  3. Added side-by-side scenario comparison.
  4. Added an advanced, multi-mode planner.
  5. Reviewed the formula and assumptions for accuracy.

Add this calculator to your site

Responsive embed — and private: nothing your visitors type leaves their browser.