Flip Caps

Text Tools

Text Case ConverterLetter & Character RemovalDuplicate Line RemoverDuplicate Word FinderEm Dash RemoverDash RemoverFind and Replace TextSentence CounterRemove Line BreaksRemove Text FormattingRemove UnderscoresReverse Text GeneratorAlphabetical OrderEmail ExtractorURL ExtractorUpside Down TextAdd Commas to NumbersRemove EmojisBold Text GeneratorItalic Text GeneratorSlug GeneratorLorem Ipsum GeneratorText RepeaterRemove AI FormattingView all

PDF Tools

Merge PDFSplit PDFExtract PDF PagesPDF to JPGPDF to PNGAdd WatermarkAdd Page NumbersHeader & FooterTable of ContentsRemove Blank PagesView all

Converters

CM to InchesMM to InchesMeters to FeetKM to MilesCM to FeetInches to FeetMeters to YardsInches to CMInches to MMFeet to MetersView all 34 converters

Image Tools

PNG to JPG ConverterJPG to PNG ConverterWebP to JPG ConverterWebP to PNG ConverterPNG to WebP ConverterJPG to WebP ConverterImage ResizerImage CompressorCrop ImageRotate ImageWatermark ImageMeme GeneratorPhoto EditorFavicon GeneratorAdd Logo to ImageRemove EXIF DataView all

Calculators

Age CalculatorPercentage CalculatorDiscount CalculatorTip CalculatorScientific CalculatorCompound Interest CalculatorLoan CalculatorMortgage CalculatorSavings Goal CalculatorBMI CalculatorCalorie CalculatorPregnancy Due Date CalculatorIdeal Weight CalculatorGPA CalculatorGrade CalculatorHours Worked CalculatorDate Difference CalculatorDays Until CalculatorRoman Numeral ConverterFraction CalculatorRatio CalculatorAverage CalculatorRetirement CalculatorDebt Payoff CalculatorBody Fat CalculatorOvulation CalculatorBlood Alcohol CalculatorFuel Cost CalculatorUnit Price CalculatorBudget Planner (50/30/20)Monthly Expense CalculatorPaycheck CalculatorTax Refund EstimatorView all

Fun & Random

Spin the WheelDice RollerCoin FlipperRandom Quote GeneratorRandom Number GeneratorYes or No GeneratorKeyboard TesterDead Pixel TesterCamera Shutter Count CheckerRandom Team GeneratorChore WheelMagic 8-BallTyping Speed TestPros and Cons ListBaby Name GeneratorUsername GeneratorFantasy Name GeneratorBusiness Name GeneratorNew Year's Resolution TrackerView all

Design & Color

Color ConverterRandom Color GeneratorQR Code GeneratorColor Palette GeneratorView all

Time & Word Tools

Word UnscramblerJumble SolverAlarm ClockOnline TimerStopwatchTime Zone ConverterSleep CalculatorHoliday CountdownView all
← Blog|Personal Finance

Markup vs Margin vs Discount: The Pricing Math Everyone Gets Confused

June 14, 2026|8 min read

A product costs you 40 dollars to buy. You sell it for 100 dollars. Is your markup 60 percent or 150 percent? Is your margin 60 percent? The honest answer is that both numbers are correct, they just answer different questions, and mixing them up is one of the most common pricing mistakes small business owners, freelancers, and even shoppers make. The confusion does not stop there. A store advertises 30 percent off, then takes another 20 percent off at checkout, and somehow the final price is not 50 percent off. None of this is a trick. It is just percentage math applied to a moving base number, and once you see how the base shifts, all of it becomes predictable.

Illustration comparing markup, margin, and discount pricing math concepts

Why "30% Off" and "30% Markup" Are Not Opposites

The instinct most people have is that if you mark something up by 30 percent, a 30 percent discount should bring it right back to where it started. It does not, and the reason is that markup and discount are each calculated from a different starting point. Markup is calculated from your cost. A discount is calculated from the selling price. Those are two different numbers, so a percentage applied to one will not undo a percentage applied to the other.

Here is the short version of everything in this article: markup is profit divided by cost, margin is profit divided by selling price, and a discount is a percentage taken off the selling price to create a new, lower selling price. Three different denominators, three different results, even when the dollar amounts involved are identical. Once that clicks, the rest of this gets much easier.

What Markup Actually Means

Markup tells you how much you added on top of what something cost you. If you buy a item for 40 dollars and sell it for 100 dollars, your profit is 60 dollars. Markup divides that profit by the cost: 60 divided by 40 equals 1.5, or 150 percent. In plain language, you sold the item for two and a half times what you paid for it, which is a 150 percent markup on cost.

Markup is the number suppliers, wholesalers, and retailers talk about most often because it is the easiest one to apply when pricing inventory. If your supplier tells you their standard markup is 50 percent, you take your cost, multiply by 1.5, and that is your sticker price. The formula is straightforward:

Markup percent = (Selling price - Cost) / Cost x 100

The thing to watch for is that markup percentages can exceed 100 percent easily, and often do for small or inexpensive items. A 200 percent or even 300 percent markup is completely normal for things like greeting cards, coffee, or costume jewelry, where the unit cost is tiny compared to the price a customer is willing to pay.

What Margin Actually Means

Margin answers a different question: out of every dollar a customer pays you, how much is profit? Using the same numbers as before, profit is still 60 dollars, but margin divides that profit by the selling price instead of the cost: 60 divided by 100 equals 0.6, or 60 percent. So the same transaction has a 150 percent markup and a 60 percent margin, and both descriptions are accurate.

Margin percent = (Selling price - Cost) / Selling price x 100

Margin is the number that matters most for understanding overall profitability, because it is always expressed as a share of revenue, and margin can never reach 100 percent unless your cost is zero. That ceiling is a useful sanity check. If someone tells you their margin is 250 percent, something has been mislabeled, because margin on its own cannot exceed 100 percent, while markup has no such ceiling.

Side by side comparison showing how markup and margin produce different percentages from the same numbers

Converting Between Markup and Margin

Because markup and margin are both derived from the same two numbers, cost and selling price, you can convert between them with two short formulas. If you know the markup, you can find the margin, and if you know the margin, you can find the markup.

To go from markup to margin: Margin = Markup / (1 + Markup). Using 150 percent markup as a decimal, 1.5, the calculation is 1.5 divided by 2.5, which equals 0.6, or 60 percent. That matches what we calculated directly above.

To go from margin to markup: Markup = Margin / (1 - Margin). Using 60 percent margin as a decimal, 0.6, the calculation is 0.6 divided by 0.4, which equals 1.5, or 150 percent. Again, it matches.

The practical takeaway is that a 50 percent markup is not the same as a 50 percent margin, and the gap between the two grows as the percentages get larger. At low percentages, say 10 percent, markup and margin are nearly identical (10 percent markup equals roughly 9.1 percent margin). At high percentages, they diverge a lot, which is exactly why a 150 percent markup turns into only a 60 percent margin.

Discounts: Percent Off vs Dollar Off, and Why Stacking Is Not Additive

A discount is simpler than markup or margin in one sense: it is always calculated from the current selling price. A 20 percent discount on a 100 dollar item removes 20 dollars, leaving 80 dollars. That part is intuitive. The part that trips people up is stacking discounts. If a store takes 30 percent off, and then an extra 20 percent off at checkout, the result is not 50 percent off the original price.

Here is why. The first discount applies to the original price: 100 dollars minus 30 percent leaves 70 dollars. The second discount applies to the new price of 70 dollars, not the original 100. Twenty percent of 70 is 14, so the final price is 70 minus 14, which equals 56 dollars. The combined discount is 44 percent off the original price, not 50 percent, because the second percentage was taken from a smaller base.

This same logic applies in reverse to markups and price increases. If a price goes up 10 percent and then up another 10 percent, the total increase is 21 percent, not 20 percent, because the second increase is calculated on the already-higher price. Whenever you see percentages applied one after another, check what the percentage is being taken from before assuming they simply add together.

Working out a discount, a markup, or what percentage one number is of another by hand is slow and easy to get wrong when discounts stack. A dedicated tool handles the base-number shifts automatically.

Try the Discount Calculator

Doing Percentage Math by Hand (and When to Skip It)

Most of the math above comes down to one operation repeated in different configurations: finding what percentage one number is of another, or applying a percentage to a number. It helps to know the manual shortcuts, even if you usually let a tool do the work.

To find what percentage A is of B, divide A by B and multiply by 100. To increase a number by a percentage, multiply it by 1 plus the percentage as a decimal (for example, a 15 percent increase means multiply by 1.15). To decrease a number by a percentage, multiply by 1 minus the percentage as a decimal (a 15 percent decrease means multiply by 0.85). These two shortcuts cover markup, margin, discounts, tax, and tips, because all of them are some version of "increase or decrease this number by a percentage and tell me the new number, or tell me the percentage."

Where this gets genuinely hard to do in your head is when you are working backward, for example when you know the final discounted price and need to figure out the original price, or when you are stacking three or four percentage changes in a row. That is the point where a small arithmetic error compounds across every step that follows it, and it is worth double-checking your work with a Percentage Calculator rather than trusting a chain of mental math.

Diagram showing how two stacked percentage discounts apply to a shrinking base price

Comparing Deals with Unit Pricing

Markup, margin, and discounts all describe how a single price was built. Unit pricing answers a different question entirely: which option is actually cheaper once package sizes differ? A 12 ounce bottle for 3.99 dollars and an 18 ounce bottle for 5.49 dollars cannot be compared directly by their sticker prices, because you are not buying the same amount of product.

To compare them fairly, divide the price by the quantity to get a price per unit. The 12 ounce bottle costs about 0.33 dollars per ounce, and the 18 ounce bottle costs about 0.31 dollars per ounce, so the larger bottle is slightly cheaper per ounce despite costing more overall. This is the same division operation behind every "price per 100g" or "price per liter" label you see on grocery store shelves, and it is also how you should evaluate a "30 percent more for 10 percent extra cost" promotion. A bigger discount on the sticker does not always mean a better deal once you account for quantity, and this is exactly the kind of comparison where a small calculation error leads people to pick the worse option. Running the numbers through a Unit Price Calculator takes the guesswork out of it, especially when you are comparing more than two sizes at once.

Grocery shelf price tags showing unit price comparisons for different package sizes

Formatting Prices and Big Numbers for Invoices

Once you have the right numbers, presenting them clearly matters too, especially for invoices, financial reports, or anything a client or accountant will read. A revenue figure like 1284392 is technically correct but hard to scan, while 1,284,392 is instantly readable. The same applies to quantities, inventory counts, and totals in any spreadsheet or document where a misplaced digit could be misread as ten times its actual value.

This becomes more important as numbers grow. A typo that drops a comma in a quote of 1,000,000 versus 100,000 is the difference between a million dollar contract and a hundred thousand dollar one, and at a glance the unformatted versions look uncomfortably similar. When you are preparing pricing sheets, margin reports, or anything with large totals, running your figures through a tool to Add Commas to Numbers is a quick way to make sure every number is formatted consistently before it goes out the door.

Example of a pricing spreadsheet with large numbers formatted using comma separators

Putting It All Together

The reason pricing math feels confusing is not that any single calculation is hard. Each one is a simple division and a multiplication. The confusion comes from the fact that markup, margin, and discount all use percentages but anchor them to different base numbers, cost for markup, selling price for margin and for discounts, and the previous price for stacked discounts or increases. Once you identify which number a percentage is being calculated from, the rest follows automatically.

A useful habit is to write out the actual dollar amounts before converting anything to a percentage. Knowing that an item costs 40 dollars and sells for 100 dollars tells you everything: the 60 dollar difference is the profit, 60 divided by 40 is the markup, and 60 divided by 100 is the margin. From there, discounts, stacked promotions, and unit price comparisons are all the same kind of arithmetic applied to a different pair of numbers. Keep the dollar amounts in view, double-check with a calculator when percentages start stacking, and the numbers will stop feeling like they contradict each other.


← Back to all articles