Markup Calculation Formula
Are you pricing your products to hit your actual profit target?
Enter your cost and selling price to instantly see markup percentage, gross profit, and margin. Or work backwards from a target markup to find the right price.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
How It Works
The formula, explained simply
Think of markup as the profit layer you stack on top of your cost — like a contractor adding a fee on top of materials. If you buy timber for $100 and charge the client $150, you have added a $50 layer. That layer expressed as a percentage of the original $100 is a 50% markup. The formula captures this exactly: it compares profit to cost, not to price.
The calculation has three moving parts: cost, selling price, and the gap between them. The gap is gross profit per unit. Divide that gap by cost to get markup. Divide it by selling price to get gross margin. Both ratios describe the same $50 gap — they just use a different denominator, which is why they always produce different percentages for the same transaction.
The gross margin output matters because most financial reporting, investor conversations, and accounting benchmarks use margin rather than markup. A business with a 43% gross margin sounds very different from one with a 76% markup, even though these figures can describe identical pricing. Keeping both visible prevents translation errors when you move from the pricing spreadsheet to the income statement.
When To Use This
Right tool, right situation
Use this formula when you know your cost and want to set a price, or when you know both numbers and want to verify that the markup is consistent with your targets. It works for physical products, services, digital goods, and wholesale contracts — any situation where you can define a clear cost and a clear selling price.
This tool is appropriate for a quick sanity check on a single SKU, a new service rate, or a quoted project. It is not appropriate for portfolio-level pricing decisions where product mix, volume discounts, tiered pricing, or dynamic pricing are involved. In those cases, total contribution margin across the full mix matters more than the markup on any single item.
Be cautious when cost is variable — seasonal inputs, fluctuating freight, or currency-exposed materials can shift your real cost significantly between the time you set a price and the time you deliver. A markup that looked solid in January can evaporate by Q3. Recalculate whenever your cost structure changes, not just when you update the price list.
Common Mistakes
Why results sometimes look wrong
Mistake 1: using margin when you mean markup. A business owner sets a 40% price increase expecting a 40% profit. But a 40% markup yields a 28.6% margin — not 40%. The cause is dividing by the wrong number. The consequence is systematic underpricing that erodes profit across every sale, sometimes for years before anyone notices.
Mistake 2: not separating gross profit from operating profit. A 76% markup sounds healthy, but if rent, salaries, and marketing consume $70 of every $100 in revenue, the business still loses money. This calculator shows gross profit only — what is left after cost of goods. Operating expenses come out next. Treat gross profit as a ceiling on operating costs, not as income.
Mistake 3: applying the same markup to every product in a line. A blanket 50% markup ignores differences in price sensitivity, competition, and turnover speed. High-velocity, low-margin items can generate more total profit than slow-moving high-markup goods. Markup is a per-unit metric; total profit multiplies it by volume. Both levers matter.
The Math
Worked examples and deeper derivation
The core equation: Markup % = ((Selling Price - Cost) / Cost) x 100. Rearranged to find selling price: Selling Price = Cost x (1 + Markup% / 100). Rearranged to find cost from a known selling price and markup: Cost = Selling Price / (1 + Markup% / 100).
Gross margin uses the same profit numerator but a different denominator: Margin % = ((Selling Price - Cost) / Selling Price) x 100. Because the denominator is larger (price is always greater than cost when markup is positive), margin is always a smaller percentage than markup for any given transaction. At a 100% markup, margin is exactly 50%. At a 200% markup, margin is 66.67%.
Converting between the two: Margin = Markup / (1 + Markup) and Markup = Margin / (1 - Margin) — both expressed as decimals. These conversion formulas are useful when a supplier quotes margin targets but your pricing model runs on markup, or vice versa.
Expert Unlock
The thing most explanations skip
The markup formula assumes a single, stable cost — but most real products have a blended cost that includes direct materials, direct labor, and an allocated share of overhead. When overhead allocation changes (due to volume, a new facility, or a change in accounting policy), the cost figure changes without anyone touching the product. Prices built on the old cost silently become mispriced. Practitioners review markup quarterly against updated standard costs, not just when launching a product.
There is also a compounding asymmetry at the extreme ends: a 100% markup yields a 50% margin, but a 200% margin is mathematically impossible — margin is bounded at 100% while markup is unbounded. This means that as margin approaches 100%, the equivalent markup approaches infinity. Any pricing model that targets margins above 80% should be stress-tested carefully; small input errors produce enormous markup swings in that range.
What is the difference between markup and margin, and does it change my price?
Need something this doesn't cover?
Suggest a tool — we'll build it →