b2KIT

Markup Calculator

Calculate selling price from cost and markup percentage or find the markup applied to reach a selling price with margin comparison.

Tested tool guide Tested browser tools Checked August 16, 2026

What Markup Calculator does, with a checked example

Translate between unit cost, selling price, markup on cost, and margin on sales. In the forward direction, enter cost and markup percentage to obtain the selling price and compare that markup with the resulting gross margin. In the reverse direction, enter cost and selling price to determine the markup that was applied. The common trap is treating markup and margin as interchangeable percentages: markup divides profit by cost, while margin divides the same profit by selling price, so their percentages differ whenever profit is nonzero.

Worked example

A concrete input and expected output from the current implementation.

Input

Cost: $80; markup: 25%

Expected output

Selling price: $100; markup: 25%; margin: 20%.

A 25% markup adds 0.25 x $80 = $20 to cost, producing $100. The margin uses selling price as its denominator, so it is $20 / $100 = 20%, not 25%.

How the result is produced

1

From markup to price

With cost C and markup rate r written as a decimal, selling price is C x (1 + r). The price-cost spread is C x r. To make the margin comparison, divide that spread by selling price: (selling price - C) / selling price x 100%. For positive cost and markup, the reported margin is lower than markup.

2

From price to markup

When cost and selling price are supplied, the applied markup is (selling price - cost) / cost x 100%. Margin is calculated from the same difference but divides by selling price. For a nonzero cost, a sale at that cost gives 0% markup and 0% margin. The two percentages describe the same price spread from different bases.

Good uses

  • Setting a shelf price when a product costs $24 per unit and the pricing policy calls for a 40% markup.
  • Checking the markup embedded in a supplier quote, wholesale cost, or proposed customer price before approving it.
  • Comparing a familiar markup target with the lower gross margin percentage that the resulting selling price produces.

Limits and checks

  • The cost entered controls the result. A purchase price, landed cost, and fully allocated unit cost can produce different markups for the same selling price, and the calculator cannot decide which cost definition fits the business decision.
  • Markup and margin are not interchangeable. Entering a desired margin percentage into a markup field produces a lower margin than intended because the percentages use different denominators.
  • The calculation compares one cost with one selling price. Discounts, sales tax, transaction fees, returns, overhead, and quantity changes affect profitability only if their effects are already reflected in the figures entered.

Common questions

Is a 25% markup the same as a 25% margin?

No. On an $80 cost, 25% markup creates a $100 price and $20 price-cost difference, so margin is only 20%. To obtain a 25% margin from an $80 cost, divide $80 by 1 - 0.25, giving $106.67 after rounding. The equivalent markup is about 33.33%.

Can this calculator tell me my net profit?

No. It compares selling price with the cost entered. Net profit requires operating expenses, financing costs, taxes, returns, and other items outside this calculation. Even the price-cost difference represents gross profit only when the cost figure includes every cost that the accounting method assigns to the item.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools