SellerTrove
Pricing

Retail Markup Calculator: Stop Confusing Markup With Margin

Markup is measured on cost; margin is measured on price—and neither proves an order is profitable.

By SellerTroveUpdated September 28, 2026 6 min read
calculator retail price finance — guide overview.
Photo by Hanna Pad on Pexels

Retail markup and margin calculator

Markup on cost

50.0%

$20.00 gross profit · 33.3% gross margin on selling price.

This calculator runs in your browser and sends no inputs anywhere. Keep cohort rules and revenue treatment consistent when comparing periods.

If an item costs $40 and sells for $60, the profit is $20, the markup is 50%, and the gross margin is 33.3%. That difference is the central purpose of a markup calculator: it converts cost, selling price, profit, markup, and margin into comparable pricing decisions. Markup measures how much price rises above cost. Margin measures how much of the selling price remains after product cost. SellerTrove can help you calculate both, but the percentage alone does not prove that an offer is profitable. Landed costs, payment fees, fulfillment, discounts, returns, and advertising can determine whether the selling price actually works.

Table of Contents

How does the calculator work?

A markup calculator starts with cost and selling price, then derives profit, markup percentage, and margin percentage from the same two numbers.

MetricFormulaExample
ProfitPrice − Cost$20
MarkupProfit ÷ Cost × 10050%
MarginProfit ÷ Price × 10033.3%

The basic markup formula is:

Markup % = (Price − Cost) ÷ Cost × 100

The basic margin formula is:

Margin % = (Price − Cost) ÷ Price × 100

When you know cost and a target markup, calculate price this way:

Price = Cost × (1 + Markup rate)

A $40 cost with a 50% markup produces a $60 price. When you know cost and a target margin, use a different formula:

Price = Cost ÷ (1 − Margin rate)

A 50% target margin on a $40 cost requires an $80 price, because $40 represents half of the final selling price. These calculations follow the standard distinction between markup and gross margin described in Markup and Gross margin.

The calculator is most useful when each field has a clear meaning. “Cost” should represent the cost boundary you want to analyze, while “price” should represent the amount you realistically collect. If those inputs are inconsistent, the percentages may look precise while describing the wrong transaction.

Why are markup and margin different?

Markup and margin are different because they use different denominators: markup uses cost, while margin uses selling price.

Suppose an item costs $40 and sells for $60. The $20 profit is 50% of the $40 cost, so markup is 50%. The same $20 is only one-third of the $60 selling price, so margin is 33.3%. Neither calculation is incorrect; each answers a different question.

Markup asks, “How much did price increase above cost?” Margin asks, “What share of revenue remains after product cost?” Pricing decisions often begin with markup because it is easy to apply to a supplier cost. Profitability analysis usually needs margin because revenue, fees, and operating expenses are evaluated against the selling price.

A 100% markup does not mean a 100% margin. Doubling a $40 cost creates an $80 price and a $40 gross profit. The markup is 100%, but the gross margin is 50% before other costs. This relationship is summarized by:

Margin = Markup ÷ (1 + Markup)

And the reverse relationship is:

Markup = Margin ÷ (1 − Margin)

Therefore, a 50% margin requires a 100% markup. A 40% margin requires a markup of about 66.7%. The formulas are consistent with the definitions in Gross margin, where gross profit is evaluated relative to revenue rather than cost.

Which costs belong in the input?

The cost input should match the question being asked: use landed cost for product economics and add variable selling costs for order-level profitability.

Landed cost commonly includes the supplier charge plus costs required to bring inventory into a sellable location. Depending on the business model, that may include inbound freight, duties, customs charges, receiving, inspection, preparation, and product packaging. If a cost is necessary to acquire or prepare the item, excluding it can make the calculated markup appear stronger than the economics support.

For a simple product comparison, use:

Landed cost = Product cost + Inbound and preparation costs

For an order-level view, extend the calculation:

Contribution profit = Net selling price − Landed cost − Variable order costs

Variable order costs may include payment processing, marketplace fees, pick-and-pack charges, shipping subsidies, return allowances, per-order software charges, and advertising spend assigned to the order. Fixed overhead, such as rent or salaried labor, may not belong in the first product-level calculation, but it still matters when deciding whether the business can sustain the price.

Accounting treatment can require consistent inventory methods and cost classification. Publication 538 provides a reference point for thinking about inventory costs and accounting consistency. The calculator supports a pricing decision; it does not replace an accounting policy.

Use the same cost boundary when comparing products. If one item uses supplier cost and another uses landed cost, their markup percentages are not directly comparable. Label the input clearly as product cost, landed cost, or fully variable cost.

How do fees and discounts change the decision?

Fees and discounts reduce the realized price, so a list-price markup can overstate the profit available from each order.

Let L be the list price and d be the discount rate:

Net price after discount = L × (1 − d)

A $60 list price with a 20% discount produces a $48 realized price. Against a $40 landed cost, only $8 remains before payment, fulfillment, returns, and advertising. The original 50% markup was calculated from the undiscounted price and no longer describes the transaction.

Percentage fees require another adjustment. If a selling channel takes fee rate f, and fixed variable costs equal V, the contribution profit is:

Contribution profit = Price × (1 − f) − Landed cost − V

To find a break-even price:

Break-even price = (Landed cost + V) ÷ (1 − f)

For a target contribution profit T:

Required price = (Landed cost + V + T) ÷ (1 − f)

These formulas make the cost boundary visible. A price can show an attractive markup while leaving little contribution after deductions. Advertising claims and promotional wording should also be reviewed carefully, especially when a displayed discount or comparison price could influence the customer’s understanding of the offer. The Advertising FAQs offer practical guidance for evaluating price-related claims.

Pricing review workflow

A reliable pricing review compares the planned price with both product cost and realized order economics.

  1. Define the cost boundary. Decide whether the input is supplier cost, landed cost, or landed cost plus variable order expenses.

  2. Enter the intended selling price. Use the price customers are likely to pay, not only the highest displayed list price.

  3. Read both outputs. Markup shows the price increase over cost; margin shows the share of price left after cost.

  4. Model deductions. Apply discounts, payment fees, fulfillment charges, returns, and allocated advertising costs.

  5. Check the target. Compare contribution profit and realized margin with the minimum acceptable result.

  6. Test scenarios. Review full price, promotional price, shipping-inclusive price, and a return or fee sensitivity case.

For broader planning, connect the result to a contribution margin calculator, an ecommerce break-even ROAS calculator, and the pricing category. A stack builder can also help organize the tools used in the review.

The final decision should answer one question: after realistic costs and deductions, does the selling price leave enough contribution to support the business?

Sources

markup calculatorretail markupgross marginpricing
How we know this: evidence comes from the linked primary sources and SellerTrove's structured catalog where noted. We're an independent directory — some outbound links are affiliate links, and we never sell ranking. See our methodology.

FAQ

What is a 50% markup?

A 50% markup means the profit is half of the product cost. If cost is $40, a 50% markup adds $20 and produces a $60 price. Before other costs, that equals a 33.3% gross margin.

What markup gives a 50% margin?

A 100% markup gives a 50% gross margin. The price must be twice the cost because the cost then represents half of the selling price.

Should shipping be in product cost?

Inbound shipping should generally be considered when calculating landed cost because it helps show the cost of making inventory available for sale. Customer-paid or seller-paid outbound shipping should be modeled separately according to the pricing question.

Is keystone pricing always profitable?

No. Keystone pricing doubles product cost and creates a 100% markup, but fees, discounts, fulfillment, returns, advertising, and overhead can reduce or eliminate the remaining contribution.

Get the data, not the hype

We track pricing and new tools across the whole catalog. Get an email when prices move or a better tool launches.

More guides