Markup Formula

What selling price gives you the markup you need?

Enter your cost and either your desired markup percentage or selling price. The calculator returns your markup percentage, selling price, gross profit, and gross margin so you can price confidently.

Updated July 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Think of markup as the distance between the floor and the sticker price. The floor is what you paid — materials, labor, or wholesale cost. The sticker price is what your customer sees. Markup tells you how far above the floor you are selling, measured as a fraction of the floor itself.

Most people confuse markup with margin because both are expressed as percentages and both involve the same two numbers: cost and profit. The difference is the denominator. Markup uses cost as the base; margin uses selling price. Because selling price is always larger than cost (for any positive markup), the margin percentage is always smaller than the markup percentage for the same transaction. A product with a 65% markup has a gross margin of 39.39% — not the same number.

This distinction matters operationally. If you set prices expecting a 65% margin but you actually applied a 65% markup, your gross margin will be lower than planned. Over enough volume, that gap shows up as unexpected shortfalls. Knowing which definition your business uses — and being consistent — is the practical takeaway from understanding markup mechanics.

When To Use This
Right tool, right situation

Use the markup formula when you are setting prices from the cost side — wholesale-to-retail, manufacturing-to-distributor, or service-plus-materials quoting. It is the right tool whenever cost is your known anchor and price is what you are solving for.

It is also useful in reverse: paste in a competitor price and your own cost to see what markup they are likely running. This gives you a quick read on whether a category is worth entering at the margins available.

Where this tool is not appropriate: when pricing is demand-driven rather than cost-driven. If customers have a strong maximum willingness to pay — say, an industry benchmark price — cost-plus markup may produce a price below or above what the market will support, and you should anchor to the market price instead. Also, for multi-component service quotes with variable scope, a project-level margin model is more accurate than a per-unit markup.

Common Mistakes
Why results sometimes look wrong

Mistake 1 — Treating markup and margin as interchangeable. The cause is that both are percentages involving the same inputs. The consequence is systematic underpricing: a business that targets a 50% margin but applies a 50% markup will consistently earn less than expected, because margin on a 50% markup is only about 33%.

Mistake 2 — Applying markup to an incomplete cost figure. If cost only includes materials but not labor, packaging, or inbound freight, the markup is applied to an understated base. The consequence is that gross profit looks healthy on paper but shrinks when you account for the missing cost components. Always include every cost that varies with each unit produced or purchased.

Mistake 3 — Using a single markup rate across all products. Different products have different cost volatility, different competitive dynamics, and different customer price sensitivity. A blanket markup rate often overprices products that face price-sensitive buyers and underprices products where customers would happily pay more. Review markup by product category rather than applying one figure across the board.

The Math
Worked examples and deeper derivation

The markup formula has two directions. Forward: you know cost and markup percentage, and you want selling price. Backward: you know cost and selling price, and you want markup percentage.

Forward: Gross Profit = Cost x (Markup / 100). Selling Price = Cost + Gross Profit. For a cost of $24.75 and a markup of 65%, Gross Profit = $24.75 x (65 / 100) = $16.09. Selling Price = $24.75 + $16.09 = $40.84.

Backward: Gross Profit = Selling Price - Cost. Markup % = (Gross Profit / Cost) x 100. If the selling price is $40.84 and cost is $24.75, Gross Profit = $40.84 - $24.75 = $16.09. Markup = ($16.09 / $24.75) x 100 = 65%.

Gross Margin (for context): Gross Margin % = (Gross Profit / Selling Price) x 100. Using the same figures: Gross Margin = ($16.09 / $40.84) x 100 = 39.39%. This number is always smaller than the markup percentage for the same product.

Retail product pricing from cost
Cost per unit: $24.75, Desired Markup: 65%
With a cost of $24.75 and a markup of 65%, the selling price is $40.84. The gross profit per unit is $16.09, and the gross margin — profit as a share of the selling price — is 39.39%. This means roughly 39.39% of every dollar of revenue stays as gross profit before overhead.
Reverse-engineer markup from an existing price
Cost per unit: $24.75, Selling Price: $40.84
When you already know the selling price is $40.84 for a unit costing $24.75, the implied markup is 65.01% and gross profit is $16.09. Use this to audit whether a price set months ago still reflects your cost structure after a supplier change.
Zero-markup breakeven check
Cost per unit: $24.75, Desired Markup: 0%
A markup of 0% means selling at exact cost: the selling price equals $24.75 and gross profit is $0.00. Gross margin is 0%. This edge case is useful for loss-leader or internal transfer pricing where covering cost is the explicit goal.
Expert Unlock
The thing most explanations skip

The markup formula assumes a linear relationship between cost and price, which breaks at scale. Bulk purchasing reduces unit cost, but market prices do not always shift in proportion — meaning your effective markup rises as volume increases, which can create pricing inconsistency across customer tiers. Sophisticated pricing models track markup at the order level, not just the unit level.

Gross margin, not markup, is the number that maps directly to your income statement. Finance teams, lenders, and acquirers think in margin terms. Learning to translate between the two — Margin = Markup / (1 + Markup) — lets you speak both languages and catch errors when pricing data crosses department boundaries.

Still unsure about your markup?

What is the difference between markup and margin?
Markup is profit divided by cost; margin is profit divided by selling price. A 65% markup always produces a lower gross margin — 39.39% in this example — because the denominator is larger. Confusing the two is one of the most common pricing mistakes in small business: a 65% markup feels like a 65% margin but it is not.
How do I calculate selling price from cost and markup percentage?
Multiply cost by (1 + markup/ 100). For a cost of $24.75 and a markup of 65%, the formula gives $40.84. This is cost-plus pricing: straightforward, transparent, and easy to audit when costs change.
What markup percentage should I use for retail?
There is no universal answer — it depends on your cost structure, competitive position, and category. Most retail categories operate on markups ranging from below 50% for commodity goods to several hundred percent for specialty items. Use this tool to find the selling price that covers all your costs and leaves enough gross margin to absorb operating expenses and still profit.

Need something this doesn't cover?

Suggest a tool — we'll build it →