Markup Calculator

Calculate selling price, profit, markup percentage and gross margin from cost, markup, selling price or a target margin.

Use the calculator to set a selling price from a markup, measure the markup already built into a price, or work backward from a target gross margin. Results show both markup and margin because they use different denominators and are not interchangeable.

Markup and margin at a glance

Markup is profit divided by cost. Gross margin is profit divided by selling price. A $100 item sold for $125 earns $25 profit: the markup is 25%, while the margin is 20%.

Core formulas

  • Selling price = cost × (1 + markup ÷ 100)
  • Markup % = profit ÷ cost × 100
  • Gross margin % = profit ÷ selling price × 100
  • Price for a target margin = cost ÷ (1 − margin ÷ 100)

How to use this calculator

  1. Select whether you want price from markup, markup from a known price, or price from a target margin.
  2. Enter the cost of one unit and the requested percentage or selling price.
  3. Review price, profit, markup and margin together before choosing a price.

What belongs in cost?

For a useful pricing decision, cost should reflect the expenses that change with the item: purchase or production cost, inbound freight, packaging, marketplace fees and other per-unit charges. Fixed overhead can be allocated separately when needed. Leaving material costs out makes both profit and margin look higher than they really are.

Rounding a selling price

Calculate first, then round the customer-facing price according to the currency and sales channel. After rounding, use the “Markup from price” mode to see the exact markup and margin the rounded price produces.

Frequently asked questions

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

No. A 25% markup on $80 produces a $100 price and a 20% margin. Markup uses cost as its denominator; margin uses selling price.

Can markup be negative?

Yes. A negative markup means the selling price is below cost. The calculator accepts markups above -100%, but a loss-making price may not cover overhead or transaction costs.

Should tax be included in cost?

Use the cost basis that matches your decision. Businesses commonly include all unit-level costs they need the sale to recover, while sales tax collected for a tax authority is normally tracked separately.

Why does a target margin near 100% create a very high price?

The target-margin formula divides cost by 1 minus the margin rate. As the target approaches 100%, that denominator approaches zero, so the required price rises sharply.

Guides on this site