Audited 27 Jul 2026·Last updated 28 Oct 2026·6 citations·Tier 1·0 uses

Markup Calculator

Find markup, selling price or cost from the other two, with gross margin and profit per unit shown beside it. Why a 50% markup is only a 33.33% margin.

Markup Calculator

Solve For
Your landed unit cost — what you actually paid the supplier including freight and duty. Required unless solving for Cost.
$
The price you charge the customer, exclusive of sales tax or VAT. Required unless solving for Price.
$
Markup as a percent of cost, not of price. A 25% markup on $80 = $20 of margin and a $100 selling price. Required unless solving for Markup.
%
Markup %
25.00
Gross profit as a percentage of cost, (price − cost) ÷ cost × 100 — the figure retailers and buyers usually call markup.
Gross Margin %
20.00%
Gross Profit
$20.00
Cost
$80.00
Selling Price
$100.00

Background.

You pay a supplier $80 for a lamp and put it on the shelf at $100. Ask the buyer what the lamp earns and she will say 25 percent. Ask the bookkeeper and he will say 20 percent. Both are right about the same $20. Markup measures that $20 against the $80 you paid; gross margin measures it against the $100 the customer paid. Since the price is the larger number whenever a sale makes money, markup always comes out higher than margin for the same item.

The gap between the two widens quickly. A 50 percent markup is a 33.33 percent margin; doubling the cost, a 100 percent markup, gives a 50 percent margin; and a 400 percent markup still only reaches 80. Mixing them up costs money in one direction in particular. If a lender, a franchise agreement or your own business plan calls for a 40 percent gross margin and you add 40 percent to an $80 cost, you charge $112 and earn a margin of 28.57 percent. The price that actually delivers 40 percent is $133.33, so every unit sold at $112 leaves $21.33 behind.

Enter any two of cost, selling price and markup and the third is filled in, with the gross margin and the profit per unit reported beside it. Cost means landed cost — what one unit cost you delivered to your door, including freight and import duty — and the selling price is the amount before sales tax or VAT, because tax collected on the government's behalf is not revenue. The arithmetic assumes the item sells at or above cost; a price below cost is refused rather than turned into a negative markup.

What is markup calculator?

Markup is gross profit expressed as a percentage of cost: (price − cost) ÷ cost × 100. Gross margin is the same profit expressed as a percentage of the selling price: (price − cost) ÷ price × 100. The dollar gap in the numerator is identical; only the base differs. Because the two share a numerator, one converts to the other without knowing any prices at all: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin), with both written as decimals. The asymmetry follows from the bases. Cost can be tiny next to price, so markup has no ceiling — a $0.50 component sold for $50 carries a 9,900 percent markup. Margin can approach 100 percent but never reach it, since that would need a cost of zero; the same $0.50 part earns a 99 percent margin. Retailers build prices upward from cost, which is why buyers think in markup. Income statements start from revenue and subtract the cost of goods sold, which is why accountants, lenders and investors think in margin.

How to use this calculator.

  1. Choose what to solve for. Pick Markup when you know both the cost and the price, Selling Price when you know the cost and the markup you want to add, and Cost when you know a shelf price and the markup the seller takes and want the cost it implies.
  2. Enter the cost per unit as landed cost: the supplier's price plus inbound freight, import duty and any brokerage, spread across the units in the shipment. Leave out rent, wages and advertising — those are paid out of gross profit, not before it.
  3. Enter the selling price without sales tax or VAT. If your shelf price includes VAT, strip it out first; at a 20 percent rate, divide the tax-inclusive price by 1.2.
  4. Type markup as a percentage of cost — 25 for 25 percent, not 0.25. If you were handed a target margin instead, convert it with markup = margin ÷ (1 − margin), or use the conversions listed in the questions below.
  5. Read the gross margin next to the markup before quoting either figure to anyone else, and say which one you mean.

The formula.

Markup = (P−C) ⁄ C ; Margin = (P−C) ⁄ P

Three relationships tie the inputs together. With P the selling price and C the cost, profit = P − C, markup = (P − C) ÷ C and margin = (P − C) ÷ P.

Solving for price rearranges the markup definition: P = C × (1 + markup), so a $50 cost at a 60 percent markup sells for $80. Solving for cost runs it backwards: C = P ÷ (1 + markup), so a $120 price carrying a 50 percent markup implies an $80 cost. In every mode the margin is then worked out from the completed pair of prices.

The conversion between the two percentages comes from dividing the top and bottom of the margin formula by C: (P − C) ÷ P = [(P − C) ÷ C] ÷ [P ÷ C] = markup ÷ (1 + markup). Inverting it gives markup = margin ÷ (1 − margin), and one more rearrangement gives the price that produces a chosen margin directly: P = C ÷ (1 − margin). That last form is the one to reach for when someone hands you a margin target, because it skips an intermediate markup that would have to be rounded.

Markups along a supply chain multiply rather than add. Each seller's price is the previous price times (1 + markup), so a 50 percent wholesale markup followed by a 100 percent retail markup multiplies the factory cost by 1.5 × 2 = 3: a 200 percent markup overall, not 150.

Money comes back to the cent and percentages to two decimal places. Cost must be above zero, since markup divides by it; markup can run from 0 to 10,000 percent; and when solving for markup, a price below cost is rejected, so loss-making prices have to be worked by hand.

A worked example.

Example

A lamp costs $80 landed and sells for $100. With Solve For set to Markup, the profit is 100 − 80 = $20. Divided by the cost, 20 ÷ 80 = 0.25, a markup of 25%. Divided by the price, 20 ÷ 100 = 0.20, a gross margin of 20%. The results read Markup 25%, Gross Margin 20%, Gross Profit $20, Cost $80 and Selling Price $100. The conversion formula reaches the same margin without touching the prices: 0.25 ÷ (1 + 0.25) = 0.25 ÷ 1.25 = 0.20. The other two modes close the loop. Solve for Selling Price with an $80 cost and a 25% markup and the price comes back as $100; solve for Cost with a $100 price and a 25% markup and the cost comes back as $80. All three modes are the same equation read from different ends. The 20% margin says that of every dollar a customer hands over for this lamp, 80 cents goes back to the supplier and 20 cents is left to pay for the shop, the staff, the card terminal and, last of all, the owner.

cost80
price100
solve Formarkup

Frequently asked questions.

Is a 50 percent markup the same as a 50 percent margin?
No. A 50 percent markup on a $40 cost gives a $60 price and a $20 profit, and $20 is 33.33 percent of $60. To earn a 50 percent margin you have to double the cost — a 100 percent markup — so the same item would sell for $80. The two percentages coincide only at zero, when the price equals the cost.
What markup gives a 25, 30, 40, 50 or 60 percent margin?
Use markup = margin ÷ (1 − margin). A 25 percent margin needs a 33.33 percent markup; 30 percent needs 42.86; 40 percent needs 66.67; 50 percent needs 100; and 60 percent needs 150. The required markup climbs steeply as the target rises because cost becomes an ever smaller share of the price, and markup is measured against that shrinking cost.
How do I price an item to hit a target margin?
Divide the cost by one minus the margin: price = cost ÷ (1 − margin). An $80 item at a 40 percent margin sells for 80 ÷ 0.60 = $133.33. The tempting shortcut, 80 × 1.40 = $112, delivers only 28.57 percent. In the calculator, convert the margin to a markup and solve for selling price; entering the rounded 66.67 percent returns $133.34, a cent above the exact figure, because the true markup is two-thirds and 66.67 slightly overstates it.
What is keystone pricing?
Keystone is the retail habit of selling at exactly twice the wholesale cost: a 100 percent markup and a 50 percent gross margin. It survives because it needs no arithmetic at the counter and leaves room to absorb markdowns and store running costs. Solve for Cost with a 100 percent markup to see what a keystone-priced $60 item cost the shop: $30.
When a retail buyer quotes a markup, is it on cost or on retail?
Not necessarily on cost. Retail merchandising often states markup as a percentage of the retail price, which is arithmetically identical to gross margin, while manufacturers and contractors usually mean markup on cost. A 50 percent markup on retail doubles the cost; a 50 percent markup on cost multiplies it by 1.5. Ask which base a quoted figure uses before you enter it, because the markup field here is always on cost.
What happens to my margin when an item goes on sale?
It falls faster than the discount suggests. A keystone item that cost $40 and sold for $80 earns $40 a unit. Mark it 25 percent off and the price is $60: the markup drops to 50 percent, the margin to 33.33 percent, and the profit per unit halves to $20. You would need to sell twice as many units during the sale just to bring in the same gross profit in dollars.
Do markups add up when goods pass through a wholesaler and then a retailer?
They multiply. A product that costs $10 to make, sold to a shop at a 50 percent wholesale markup ($15) and then to the public at a 100 percent retail markup ($30), has been marked up 200 percent from the factory cost, not 150. Solve for Markup with a $10 cost and a $30 price to confirm it: a 200 percent markup and a 66.67 percent margin across the whole chain.
What should be included in the cost figure?
Everything it took to put one sellable unit on your shelf: the supplier's price, inbound shipping, import duty, customs brokerage and any packaging you add, spread across the units in the shipment. Rent, salaries and advertising stay out, since they are paid from gross profit. Marketplace commissions and card fees are a judgement call — some sellers add them to cost so the margin shows what each sale keeps — but use one definition consistently or margins on different products stop being comparable.
Why won't it give me a negative markup for an item I sell below cost?
When solving for markup, a price lower than the cost is rejected, so loss-leader pricing has to be worked by hand. The formulas still hold: an $80 item sold at $70 loses $10, a markup of −10 ÷ 80 = −12.5 percent and a margin of −10 ÷ 70 = −14.29 percent. The loss looks larger against the lower selling price — the mirror image of markup exceeding margin on a profitable sale.
Is gross margin the same as profit margin?
No. Gross margin subtracts only the cost of the goods themselves. Net profit margin also subtracts operating costs such as rent, payroll and marketing, and then interest and tax. If the $100 lamp's share of the shop's running costs comes to $14, its $20 gross profit shrinks to $6 before interest and tax. Every figure here is at the gross level, so the cost field should hold the cost of goods sold, not your all-in cost of doing business.

References& sources.

  1. [1]Brealey, Richard A.; Myers, Stewart C.; Allen, Franklin — Principles of Corporate Finance, 13th ed., McGraw-Hill, chapters on financial analysis and pricing (gross margin, markup-margin algebra, and the relationship between cost structure and pricing decisions).
  2. [2]Kotler, Philip; Keller, Kevin Lane — Marketing Management, 15th ed., Pearson, chapter on pricing strategies (markup pricing, keystone pricing, target-return pricing, and the markup-vs-margin distinction).
  3. [3]National Retail Federation — Retail industry benchmark reports and annual State of Retail data (industry-level gross margin benchmarks for apparel, grocery, specialty, and big-box retail).
  4. [4]Harvard Business Review — Pricing strategy article series, including 'The Power of Pricing' (Marn & Rosiello) and the HBR Pricing collection (markup-to-margin conversion tables, reverse-pricing methodology, and willingness-to-pay frameworks).
  5. [5]U.S. Census Bureau — Annual Retail Trade Survey (ARTS), gross margin and gross margin percentage by NAICS retail sector (the authoritative U.S. dataset for industry-level retail margin benchmarks).
  6. [6]Horngren, Charles T.; Datar, Srikant M.; Rajan, Madhav V. — Cost Accounting: A Managerial Emphasis, 16th ed., Pearson, chapter 11 (cost-plus pricing, target costing, and the markup-margin identity).

How this page was produced

Published by
Quanta Calculator
Primary sources
6 cited below
Method
Markup = (P−C) ⁄ C ; Margin = (P−C) ⁄ P
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon