ToolNimba
๐Ÿ’ฐ Finance & Money

How to Calculate Markup: Formula, Examples, and Pricing Guide

By ToolNimba Editorial Team June 20, 2026 6 min read

Illustration of a price tag, dollar coins, and an upward arrow representing product markup

Quick answer

To calculate markup, subtract the cost from the selling price, divide by the cost, then multiply by 100. The formula is markup percent = (selling price minus cost) / cost x 100. Example: an item that costs 40 and sells for 60 has a markup of (60 minus 40) / 40 x 100, which equals 50 percent.

Markup is one of the most important numbers in any business that buys or makes something and then resells it. It tells you how much you add on top of your cost to arrive at a selling price. Get it right and you cover your expenses and earn a profit. Get it wrong and you either scare off customers with high prices or quietly lose money on every sale. This guide walks through the formula, gives you worked examples, hands you a reference chart, and clears up the single most common point of confusion: the difference between markup and margin.

What markup actually means

Markup is the difference between what an item costs you and the price you charge for it, expressed as a percentage of the cost. If you buy a phone case for 8 dollars and sell it for 20 dollars, you have added 12 dollars on top of your cost. As a percentage of that 8 dollar cost, the markup is 150 percent. The dollar amount you add (the 12 dollars) is sometimes called the gross profit per unit, while the markup percentage is that profit shown relative to cost.

Markup is the engine behind cost plus pricing, the most common pricing method for retailers, wholesalers, restaurants, and trades. You start with your cost, apply a markup percentage, and the result is your selling price. Because the math is anchored to cost, markup is intuitive for anyone who already knows what they pay for inventory.

The markup formula

There are two ways to use the markup formula depending on what you know. Use the first to find the markup percentage from a known cost and price. Use the second to find a selling price from a known cost and a target markup.

  • Find the markup percent: markup percent = (selling price minus cost) / cost x 100
  • Find the selling price: selling price = cost x (1 plus markup percent / 100)
  • Find the dollar markup: dollar markup = selling price minus cost

Notice that every version divides by, or multiplies from, the cost. That is the defining feature of markup. The moment you start dividing by the selling price instead, you are calculating margin, which is a different number entirely. We cover that distinction below, and you can practice the underlying math with our percentage calculator or read the deeper walk through in how to calculate percentage.

Worked example, step by step

Suppose you run a small coffee shop and buy bags of beans for 12 dollars each. You want to sell each bag for 21 dollars. Here is how to find the markup percentage.

  1. Write down the cost: 12 dollars.
  2. Write down the selling price: 21 dollars.
  3. Subtract cost from price to get the dollar markup: 21 minus 12 equals 9 dollars.
  4. Divide the dollar markup by the cost: 9 divided by 12 equals 0.75.
  5. Multiply by 100 to convert to a percentage: 0.75 x 100 equals 75 percent.

Your markup is 75 percent. Now reverse it. Say you instead decide every product should carry a 60 percent markup. A pastry costs you 2.50 to make. Multiply 2.50 by 1.60 (that is 1 plus 60 divided by 100) to get a selling price of 4 dollars. Cost plus pricing in one quick multiplication.

Conceptual illustration of a product cost growing into a higher selling price with an arrow
Markup bridges the gap between what you pay and what you charge.

Markup vs margin: the difference that trips people up

Markup and margin use the same two numbers, cost and selling price, but they divide by different things, so they are never equal. Markup divides the profit by cost. Margin divides the profit by selling price. Because the selling price is always larger than the cost, the margin percentage is always smaller than the markup percentage for the same sale.

Take the coffee bean example again: cost 12, price 21, profit 9. Markup is 9 / 12, which is 75 percent. Margin is 9 / 21, which is about 43 percent. Same sale, two very different looking numbers. Confusing the two is one of the fastest ways to underprice a product, so always be clear about which one you mean. If margin is what you care about, see our companion guide on how to calculate profit margin.

Markup percentage and the margin it produces

MarkupResulting marginPrice on a 100 cost
10 percent9.1 percent110.00
25 percent20.0 percent125.00
50 percent33.3 percent150.00
75 percent42.9 percent175.00
100 percent50.0 percent200.00
150 percent60.0 percent250.00
200 percent66.7 percent300.00

Typical markup by industry

There is no single correct markup. The right number depends on your costs, your competition, how fast inventory turns, and how much service or risk you carry. These ranges are common starting points, not rules.

  • Grocery and food retail: often 10 to 50 percent because volume is high and competition is fierce.
  • Restaurants: food is frequently marked up 200 to 300 percent to cover labor, rent, and waste.
  • Apparel and fashion: commonly 100 percent or more, the classic keystone markup of doubling cost.
  • Electronics: usually thin, often under 25 percent, because shoppers compare prices easily.
  • Jewelry and specialty goods: can run 100 to 300 percent or higher due to perceived value.

Common mistakes to avoid

Pricing math is simple, but small slips are expensive when repeated across thousands of sales. Watch for these.

  • Mixing up markup and margin. A 50 percent markup is only a 33.3 percent margin. Treating them as equal silently shrinks your profit.
  • Forgetting hidden costs. Shipping, payment fees, packaging, and returns all eat into your real cost. Build them into the cost figure before applying markup.
  • Ignoring discounts. A markup that looks healthy can evaporate after a sale. Model your discounted price before you commit, ideally with a discount calculator.
  • Pricing only on cost. Cost plus pricing ignores what customers will actually pay. Check competitor prices and perceived value too.
  • Rounding too early. Round only at the final selling price, not at each intermediate step, to avoid drift.

Good to know

Keystone pricing simply means a 100 percent markup, or doubling your cost. It became the retail default because it is fast mental math and historically left enough room for overhead and profit. Many sellers now treat it as a floor for some categories and a ceiling for others rather than a universal rule.

Markup also interacts with volume. A low markup on a fast selling item can out earn a high markup on something that sits on the shelf. When you compare options, think in total profit, not just percentage. If you want to test how a price holds up after a promotion, the tool below makes it quick.

๐Ÿท๏ธ Try the free tool Discount Calculator Free discount calculator finds your sale price, dollars saved, and effective percent off. Stack two coupons, reverse a discount, and add sales tax in seconds.

Master the markup formula and you have the foundation for confident, profitable pricing. Start with your true cost, choose a markup that fits your industry and goals, double check whether you actually mean margin, and always model discounts before they hit. With those habits, every price you set will pull its weight. For more money math, explore percent change to track how your prices move over time.

Frequently asked questions

Tools used in this guide

Keep reading