Finance & Work
Markup calculator icon showing a percentage keypad for pricing

Markup Calculator

A markup calculator helps you work out your markup percentage, the selling price you need to hit a target markup, or the maximum price you can pay for stock while still hitting the markup you want. Whether you buy inventory wholesale, quote a job, or price a product line, the tool below does the arithmetic for you in three directions at once.

Looking for profit margin instead of markup (percentage of the selling price instead of the cost price)? Use the profit margin calculator instead.

1 Calculate markup

Enter cost price and selling price

2 Calculate selling price

Enter your details

3 Calculate maximum cost price

Enter your details

How to use the markup calculator

The markup calculator above has three panels, and you only need to fill in the one that matches the question you’re actually asking:

Panel 1 is for when you already know what something cost you and what you sold it for, and you want to know the markup percentage that produced. Enter both prices and the markup calculator returns your profit in dollars, your markup, and your margin for comparison. Panel 2 flips the question around: you know your cost price and the markup percentage you’re aiming for, and you need the selling price that will get you there. Panel 3 is for buyers working backward from a fixed selling price — for example a retail price set by the market — to find the maximum cost price you can afford to pay a supplier without falling short of your target markup.

What is markup?

Markup expresses your profit as a percentage of the cost price, unlike profit margin, which expresses that same profit as a percentage of the selling price. Markup is widely used in wholesale, purchasing, and retail buying, where you reason forward from the price you paid a supplier toward the price you’ll charge a customer. As Investopedia’s overview of markup explains, it’s the amount added to a product’s cost to arrive at its selling price, and it’s one of the most common ways small businesses set prices day to day.

Markup (%) = (selling price − cost price) ÷ cost price × 100

The markup formula explained

With the markup formula, going from cost price to selling price is more intuitive than the equivalent margin calculation: you simply multiply the cost price by (1 + the desired markup, expressed as a decimal).

Selling price = cost price × (1 + desired markup ÷ 100)

This is the exact opposite of the margin calculation, where you instead divide the cost price by (1 − the desired margin). Mixing the two up is one of the most common pricing mistakes: if you want a 40% margin but add 40% to the cost as if it were a markup, a $20 item is priced at $28 instead of the $33.33 that a 40% margin needs. The markup calculator avoids this by always showing the matching margin next to each result.

Markup vs margin: a worked example

Markup and margin describe the same profit, but as a percentage of two different numbers, so they never match. The table below verifies both calculations for three price pairs, using the same formulas the markup calculator above uses.

Cost priceSelling priceProfitMarkupMargin
$20$35$1575%42.9%
$50$75$2550%33.3%
$10$20$10100%50%

As the table shows, for the same positive profit, markup is always the higher number; at a profit of exactly $0 both figures are 0%. To convert between them, use margin = markup ÷ (100 + markup) × 100, and markup = margin ÷ (100 − margin) × 100. A 75% markup is therefore a 42.9% margin, and a 40% margin needs a 66.7% markup, which you can confirm in the markup calculator. The Corporate Finance Institute’s breakdown of markup vs margin is a useful reference if you want the underlying accounting logic spelled out in more depth.

Real-world examples of markup

Different industries lean on markup for different reasons, and the “right” markup varies enormously by sector. Each figure below can be checked in panel 1 of the markup calculator:

Retail and apparel. A boutique buys a jacket wholesale for $40 and prices it at $100. That’s a 150% markup, which is fairly typical for fashion retail once you account for unsold stock, seasonal markdowns, and store overheads.

Restaurants. A dish that costs $6 in ingredients might be priced at $18, a 200% markup, because the price also has to cover labor, rent, and kitchen waste, not just the raw food cost.

Wholesale and distribution. A distributor buying pallets of stock for $500 and reselling them to retailers for $600 is working with a much thinner 20% markup, because volume, not per-unit profit, drives the business.

Freelance and services. A consultant who pays a subcontractor $50/hour and bills the client $80/hour is applying a 60% markup on that labor cost to cover their own overhead and margin.

Common markup mistakes to avoid

A few errors come up again and again when people calculate markup by hand instead of using a markup calculator:

Confusing markup with margin. This is by far the most common mistake, and it’s why the same $15 profit on a $20 cost price reads as 75% markup but only 42.9% margin — using the wrong one when quoting a price undercuts your actual profit.

Forgetting non-product costs. Markup based purely on the wholesale cost of an item ignores shipping, packaging, payment processing fees, and returns, all of which quietly erode the profit that the raw markup percentage implies.

Applying one markup percentage to everything. Slow-moving or high-shrinkage items often need a higher markup than fast-selling staples just to break even across the whole product line, so a single blanket percentage can leave money on the table.

Ignoring fixed costs. A healthy markup per unit still loses money if you do not sell enough units to cover rent and salaries. Once the markup calculator has given you a price, the break-even calculator shows how many units you need to sell, and the ROI calculator measures the return on money you invest in stock or equipment.

Frequently asked questions

Can markup be higher than 100%?

Yes. Unlike profit margin, which can never exceed 100% (and only reaches it when the cost is zero), markup can in principle go arbitrarily high, for example with a low cost price and a relatively high selling price.

Which industries mainly use markup?

Wholesale, retail buying, restaurants, and many other product-based businesses often work with markup, because the purchase price is the natural starting point for pricing in those trades.

Why doesn’t my own calculation match this tool?

A common mistake is mixing up markup and margin: adding a target margin percentage to the cost as if it were a markup gives a selling price that is too low. The markup calculator shows both percentages for every result so you can see which one you are working with.

How do I convert a markup percentage to a margin?

Divide the markup by 100 plus the markup: a 50% markup gives 50 ÷ 150 = 33.3% margin, and a 100% markup gives a 50% margin. The markup calculator does this conversion automatically in all three panels.

Is this markup calculator free to use?

Yes, this markup calculator is completely free, requires no sign-up, and runs entirely in your browser — none of the numbers you enter are sent anywhere or stored.

This markup calculator provides a general, mathematically correct calculation based on the amounts you entered, not financial advice. Back to CalcSwiftly home.

Reviewed by: CalcSwiftly · Last reviewed: