Business & Ecommerce

Business calculator

Markup Calculator

Turn a known cost into a selling price, and see the gross profit and gross margin that price actually produces. Markup and margin describe the same profit from two different denominators — this calculator shows both so you never confuse them.

Updated 5 June 2026No sign-in requiredEstimate only
Estimates only — not financial, tax, or professional advice.

Enter Your Numbers

$

Your cost to produce or purchase the item.

%

Markup is calculated on cost. A 40% markup on $50 → $70 selling price.

Selling Price

$70.00

The price to charge your customer.

Gross Profit

$20.00

Dollar profit per unit (Selling Price − Cost).

Gross Margin

28.57%

Profit as a % of the selling price (not cost). Differs from markup %.

Report an issue

Estimate only — benchmarks vary by industry and overhead. Read the full disclaimer ↓

Selling Price Breakdown

Add your numbers to see the visual breakdown.

Markup vs Margin at Your Cost

Selling price, gross profit, and gross margin at different markup percentages, using the cost you entered. Same formula as the calculator.

Markup %Selling priceGross profitGross margin %
10%$55$59.1%
25%$63$1320.0%
40%$70$2028.6%
50%$75$2533.3%
75%$88$3842.9%
100%$100$5050.0%
150%$125$7560.0%
200%$150$10066.7%

How It Works

Markup is measured against cost: the selling price is the cost multiplied by one plus the markup written as a decimal.

Selling Price = Cost × (1 + Markup% ÷ 100) · Gross Profit = Selling Price − Cost · Gross Margin% = Gross Profit ÷ Selling Price × 100 · Reverse (margin → markup): Markup% = Margin% ÷ (100 − Margin%) × 100
  • Gross profit is the dollar gap between selling price and cost.
  • Gross margin restates that same profit as a share of the selling price, so it is always a smaller percentage than the markup.
  • To work backward from a target margin, divide the margin by one minus the margin: a 50% margin requires a 100% markup, a 33.3% margin requires a 50% markup.

Worked Example

You buy a product for $50 and apply a 40% markup.

Cost

$50.00

Markup

40%

Selling Price

$70.00

Gross Profit

$20.00

Gross Margin

28.57%

A 40% markup on $50 gives a $70 selling price and $20 of gross profit. That same $20 is only a 28.57% gross margin, because margin divides by the $70 price rather than the $50 cost. If you actually needed a 40% margin, you would have to mark up by 66.7%, not 40%.

Markup vs. Margin: Pricing From Cost Without Fooling Yourself

The same profit, two different denominators

Markup and gross margin are two ways of describing one number: the gap between what an item costs you and what you sell it for. Markup measures that gap against your cost, which is the figure you start from when you price forward from a supplier invoice. Margin measures the identical gap against the selling price, which is the figure that matters once the sale is made and you want to know how much of the revenue you actually kept.

Because the selling price is always larger than the cost, the margin percentage is always smaller than the markup percentage, even though the dollars of profit are exactly the same. A $50 item marked up 40% sells for $70 and earns $20 — a 40% markup but a 28.6% margin. Treating those two numbers as interchangeable is the quiet leak behind a lot of disappointing income statements.

Pricing backward from the margin you need

Most pricing advice runs forward from cost, but real targets are usually set as margins: a store wants to keep 40 cents of every sales dollar, not to "mark up by some number." To get there you have to convert, because marking up by your target margin always falls short. The conversion is Markup% = Margin ÷ (1 − Margin).

A 20% margin needs a 25% markup; a 33.3% margin needs a 50% markup; a 50% margin needs a 100% markup — which is exactly why keystone (doubling cost) is the retail shorthand for a half-margin product. Keep that relationship in mind, or use the calculator above, and you will stop accidentally underpricing every time you reason from a margin goal.

Where the category "rules" actually come from

Keystone doubling, thin single-digit grocery markups, and the high markups restaurants put on food and especially drinks are real conventions, but they are conventions, not laws. They emerged from each category’s mix of volume, spoilage, handling, and competition: groceries move enormous volume on perishable goods, while a restaurant’s menu price has to fund labor, rent, and waste that the raw ingredient cost ignores.

That is why a benchmark borrowed from another industry can mislead you. The useful comparison is against your own landed cost and your own operating expenses. Use category figures to sanity-check a price, not to set it.

What markup quietly leaves out

The selling price this calculator produces is a gross number. It clears the cost of the item itself and nothing else. Payment processing, shipping and packaging, storage, marketing, discounts, returns, and tax all still have to come out of the gross profit before you reach net profit — and on small-ticket or heavily-discounted items, those can swallow most of it.

A practical habit is to decide the net margin you want to keep, add a realistic estimate of those per-sale and overhead costs back in, and only then solve for the markup. That turns markup from a hopeful guess into a number that actually leaves profit once the real costs of selling are paid.

Assumptions & Best Uses

  • Markup is applied to cost (COGS), not to the selling price.
  • The result is gross — it excludes overhead, operating expenses, payment fees, discounts, returns, and tax.

Limitations

  • Stops at gross profit on a single unit; it does not measure net profitability.
  • Category "rules of thumb" (keystone doubling at retail, high restaurant food markups, thin grocery markups) are conventions that vary by business, region, and competition — not fixed rates. Benchmark against your own cost base.

Frequently Asked Questions

What is the difference between markup and margin?

They describe the same dollar of profit against different denominators. Markup divides profit by cost; margin divides the same profit by the selling price. Because the selling price is the larger number, the margin percentage is always smaller — a 40% markup is a 28.6% margin.

I know the margin I want — what markup does that require?

Use Markup% = Margin% ÷ (100 − Margin%) × 100. A 20% target margin needs a 25% markup; 33.3% needs 50%; 50% needs 100% (keystone); 60% needs 150%. Marking up by your target margin number is the most common pricing mistake — it always underprices.

How do I find the markup if I know cost and selling price?

Markup% = ((Selling Price − Cost) ÷ Cost) × 100. For a $50 cost and $70 price: (20 ÷ 50) × 100 = 40%.

What is keystone pricing?

Keystone is a 100% markup — doubling your cost to set the retail price. A $25 item sells for $50. Because the profit equals the cost, keystone produces exactly a 50% gross margin. It is a retail convention, not a rule.

Why is my margin smaller than my markup?

Markup uses cost as the base; margin uses the selling price. The selling price is always larger, so the same profit is a smaller share of it. The gap widens as markup rises: a 100% markup is a 50% margin, but a 300% markup is only a 75% margin.

Does my markup cover my profit?

Only partly. Markup creates gross profit, but rent, wages, shipping, payment fees, marketing, returns, and tax all come out of that gross profit before anything is left as net profit. A healthy-looking markup can still leave little at the bottom line.

Should every product use the same markup?

Not usually. A single blanket markup is simple but leaves money on the table. Slow-moving, bulky, or hard-to-source items often carry higher markups, while price-sensitive staples carry lower ones, with the blend set so overall margin still covers costs.

Sources & References

Figures on this page are checked against primary, authoritative sources. Links open in a new tab.

Related Calculators

Business disclaimer

Results are estimates for planning and analysis based on the figures you enter. They are not accounting, tax, or financial advice — verify with your own records and a qualified professional before making decisions.

Built and maintained by Calculator Matters, an independent calculator project. Method checked against published formulas and primary sources · Last reviewed 5 June 2026 · How we calculate · Found an error? corrections@calculatormatters.com