OmniCalcX · free decision toolsEmbed this tool →
Skip to content
OmniCalcX

How to Calculate Markup (and Margin): Step-by-Step with Examples

Updated November 2, 2026 · Money

Markup is the percentage you add to a cost to get a selling price. It is the first formula most sellers learn, and the one most often confused with margin — two mistakes this guide exists to prevent. We will calculate markup three ways (from cost and price, from cost and a target markup, and for a whole batch), add the mental shortcuts, and finish with the errors that quietly cost money. Every example uses the same math as our markup calculator, so you can check each result as you go.

The Markup Formula

Markup = (Selling Price − Cost) / Cost × 100.The profit is measured against what you paid, which is why markup answers the seller's question — “how much do I add on top of my cost?” A product that costs $40 and sells for $60 makes a $20 profit on a $40 cost: 20 ÷ 40 = 50% markup.

The companion formula works in the other direction, turning a cost and a chosen markup into a price: Selling Price = Cost × (1 + Markup%). A 50% markup on $40 is $40 × 1.50 = $60. That “×1.50” is called the price multiple — worth remembering because it makes mental pricing instant.

How to Calculate Markup Percentage Step by Step

Suppose you buy candles wholesale at $8 each and sell them at $14:

  1. Find the profit: $14 − $8 = $6
  2. Divide by the cost: $6 ÷ $8 = 0.75
  3. Multiply by 100: 0.75 × 100 = 75% markup

The same three steps work for any pair of numbers. If you ever get a result below 0%, the price is under cost — the “markup” is negative and every sale loses money before overhead even enters the picture.

How to Find the Selling Price from Cost and Markup

This is the pricing direction — you know the cost and the markup you want. Say a product costs $80 and you target a 40% markup: price = $80 × (1 + 0.40) = $80 × 1.40 = $112, earning $32 per unit. Reverse the same equation and you can solve for the highest cost you can afford at a fixed price: at $112 retail with a 40% markup, your ceiling cost is $112 ÷ 1.40 = $80 — the number to keep in your head during supplier negotiations.

How to Calculate Profit Margin from the Same Numbers

Margin measures the profit against the selling price instead of the cost: Margin = (Selling Price − Cost) / Selling Price × 100. The $80-cost, $112-price example keeps $32 of every $112 sold — a margin of 32 ÷ 112 = 28.57%, while its markup is 40%. Same sale, two honest numbers, always in this order: markup higher, margin lower.

The full comparison — conversion formulas, a lookup table, and why mixing the two up is the most expensive pricing mistake — lives in our markup vs margin guide, with a printable conversion chart and a margin-first calculator for people who think in margins instead of markups.

How to Calculate Markup for a Batch or Total Order

Wholesale orders work in totals, not per unit, and the formula is unchanged — just use totals. You sell 24 units that cost $12.50 each (total cost 24 × $12.50 = $300) for a flat $390:

  1. Total profit: $390 − $300 = $90
  2. Divide by total cost: $90 ÷ $300 = 0.30
  3. Markup: 30% (and margin = 90 ÷ 390 = 23.08%)

This is also the honest way to handle quantity discounts: quote the batch price, then check what the discounted markup does to your margin before accepting the order.

Mental Math Shortcuts for Markup

  • 50% markup: add half the cost ($40 → $40 + $20 = $60). Multiple: ×1.5
  • 100% markup (keystone): double it ($40 → $80). Multiple: ×2
  • 25% markup: add a quarter of the cost ($40 → $50). Multiple: ×1.25
  • 10% markup: move the decimal one place and add ($40 → $44)
  • Any other markup: memorize the multiple — pricing at ×1.75 is faster and less error-prone than “add 75% of cost”

Common Markup Mistakes

  • Confusing markup with margin.A 30% markup is only a 23.08% margin; a business that prices for “30% profit” with a 30% markup keeps 7 points less than it planned. Use the calculator's four modes to see both numbers on every calculation.
  • Leaving overhead out of the cost. The formula needs your true cost: product plus shipping, packaging, and fees — with rent, software, and your own time allocated across expected unit volume. Markup on product cost alone flatters the number.
  • Forgetting that discounts come out of margin. A 5% coupon on a 30%-margin product leaves 26.3%. Run the after-discount margin before launching any promotion.
  • Never repricing. Costs drift up every year; a markup set at launch silently shrinks. Review markups whenever input costs move, or at least annually. For typical ranges by industry, see the industry markup table on the calculator page.

The Takeaway

Markup = profit ÷ cost. Price = cost × multiple. Margin = profit ÷ price. If you keep those three sentences and one multiple in your head, you can price anything in a checkout line. For everything else — reverse solving, target-margin pricing, comparing scenarios — the markup calculator shows the work step by step, and this eight-question quiz tells you whether your current prices need the exercise.

Frequently Asked Questions

Do I include shipping and fees in the cost when calculating markup?

Yes — if the cost disappears when the sale disappears, it belongs in your cost base. Shipping to you, packaging, payment-processing fees, and marketplace commissions all reduce what the sale actually earns, so markups that ignore them overstate profit. Two workable conventions: include everything (landed cost) and call the result your true markup, or calculate on product cost alone but check the all-in number before making pricing decisions.

What is the difference between markup and markdown?

Markup raises the price above cost; markdown lowers the selling price — a discount. A 50% markup on a $40 cost gives a $60 price; a 50% markdown on that $60 price takes it back down to $30, which is now below cost. The asymmetry matters: the markdown percentage is taken on the higher price, so a 50% markdown erases more than a 50% markup builds. Our discount calculator handles the markdown side, including stacked coupons.

Does markup apply to services, or only products?

It applies to both — the cost is just built differently. For a service, your cost is the fully loaded cost of the time it takes: pay rate (or your target hourly rate), payroll taxes, insurance, software, and any subcontractors. A consultant whose loaded cost is $60/hour and who bills $90/hour is running a 50% markup, exactly like a retailer doubling the cost of a product.

NC

Nelson Chung

Independent developer with 10 years of software engineering experience. Passionate about math and finance, dedicated to making complex calculations simple and accessible.