Skip to content

Menu

Markup Calculator

Calculate selling price, profit and equivalent margin from cost and markup percentage.

Runs entirely in your browserMath & FinanceFree, no sign-up
Loading tool

01What is Markup Calculator?

Markup and margin get mixed up all the time, and the mix-up costs money. If someone says 'put 50% on it', do they mean 50% of cost or 50% of the price? This calculator works in one direction. You start from what something costs you and a markup percentage, and it tells you the selling price. There are two inputs, Cost Price and Markup. The formula sits right on the page: Selling Price = Cost × (1 + Markup% / 100). Profit is Cost × Markup% / 100. The third result, Equivalent Margin, is that same profit divided by the selling price. Each of the three has a copy button. Margin is the number people usually confuse with markup, which is why it's shown next to it. They describe the same profit against different bases. Markup measures profit against cost. Margin measures it against the price the customer pays. So a 100% markup doubles the price but is only a 50% margin. A 50% markup is a 33.33% margin. A quick worked example. Cost 40, markup 50%. Profit is 40 × 0.5 = 20, so the selling price is 60. The margin is 20 / 60, which shows as 33.33%. Now try cost 19.99 at 150%. That gives a price of $49.97, a profit of $29.98 and a margin of exactly 60%. The rule behind that is margin = markup / (1 + markup). Under the results, the Quick Markup Reference table prices your cost at eight common markups: 25%, 50%, 75%, 100%, 150%, 200%, 300% and 500%. It's handy when you're picking a price point rather than hitting a fixed percentage. Negative markups are accepted, which lets you model a clearance sale below cost. Cost 1,200 at −10% gives $1,080.00 and a margin of −11.11%. A negative profit shows as $-120.00. At −100% the price is zero, and margin can't be divided by zero, so it reads N/A rather than a misleading 0%. The numbers are worked out in the page itself. Your costs never leave the tab. Results are rounded to cents for display only, and the copied values use the same two decimals. The tool doesn't handle tax, shipping, discounts or overhead. To go backwards from a selling price to the markup you achieved, use the Profit Margin Calculator, which takes cost and revenue.

Shop owners, e-commerce sellers and contractors turning a unit cost into a price, plus developers checking cost-plus pricing code. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Markup Calculator

  1. Enter the Cost Price, which is what one unit costs you.
  2. Enter the Markup as a percentage, for example 50.
  3. Read the Selling Price, Profit and Equivalent Margin, and copy whichever you need.
  4. Glance at the Formula line if you want to check the maths by hand.
  5. Scan the Quick Markup Reference table to compare eight other markups for the same cost.

03Worked examples

Input: Cost 40, Markup 50%
Result: Selling price $60.00, Profit $20.00, Margin 33.33%
Margin divides the same $20 profit by the higher selling price, so it's lower than the markup.
Input: Cost 100, Markup 100%
Result: Selling price $200.00, Profit $100.00, Margin 50.00%
Doubling the cost (keystone) gives a 50% margin.
Input: Cost 25.50, Markup 30%
Result: Selling price $33.15, Profit $7.65, Margin 23.08%
Input: Cost 19.99, Markup 150%
Result: Selling price $49.97, Profit $29.98, Margin 60.00%
Display is rounded to cents. The unrounded price is 49.975.
Input: Cost 1200, Markup -10%
Result: Selling price $1,080.00, Profit $-120.00, Margin -11.11%
A negative markup is accepted and models selling below cost.
Input: Cost 0, Markup 50%
Result: Selling price $0.00, Profit $0.00, Margin N/A
Margin is undefined at a zero selling price, so it shows N/A instead of dividing by zero.

04Common use cases

  • Setting a retail price from a wholesale invoice and a store-wide target markup
  • Translating a supplier's 'keystone' (100%) markup into the 50% margin your finance team reports
  • Picking a price point for a new product by scanning the Quick Markup Reference table
  • Pricing materials a contractor or freelancer passes on to a client at a fixed markup
  • Modelling a clearance sale below cost with a negative markup to see the loss per unit
  • Checking the cost-plus pricing logic in a shop or quoting feature you're building

05Tips

  • If you have a target margin instead of a markup, convert it first: markup = margin / (1 − margin). A 40% margin needs a 66.67% markup.
  • Stacked markups multiply rather than add. A 30% distributor markup then a 40% retail markup is 1.3 × 1.4 = 1.82, so 82% in total, not 70%.
  • Use landed cost (unit price plus freight and duties) as the Cost Price, or your real margin will be lower than the screen says.
  • Keystone pricing (100% markup) is a common retail rule of thumb, but it can still lose money on slow sellers once you add your overheads.

06Related concepts

Gross margin, Cost-plus pricing, Keystone pricing, Revenue calculation.

Frequently Asked Questions

What is Markup Calculator?

Markup Calculator is a free, browser-based developer tool on AIDToolStack. Calculate selling price, profit and equivalent margin from cost and markup percentage. It requires no installation or sign-up and works entirely in your browser.

Is Markup Calculator free to use?

Yes. No sign-up, no fees and no usage cap.

Does Markup Calculator store my data?

No. It runs in your browser; nothing is uploaded.

Related calculators on PrimeCalcPro

More calculators from our sister site, each with the formula and a worked example.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe