Ecommerce calculator

Markup Calculator

Find a selling price and gross profit from product cost and a chosen markup percentage.

FreeNo signupReviewed September 7, 2026
Estimated result
Selling price$60.00
Gross profit$20.00
Gross margin33.33%

What this calculator measures

Markup is the percentage added to cost to create a selling price. A 50% markup means a $40 cost becomes a $60 selling price. The resulting gross margin is 33.33%, not 50%, because gross margin divides the $20 profit by the $60 selling price.

Start with a cost figure that matches the decision. For retail products this may be landed cost, including purchase price, inbound freight, duties, and preparation. For services it may include delivery labor and other directly attributable costs.

Common use cases

Use this model when the inputs describe the same decision, period and customer or product scope.

  • Set a transparent retail or wholesale selling price from landed product cost.
  • Check the difference between a markup percentage and the margin percentage a buyer may expect.
  • Model service packages, menu prices or ecommerce promotions before adding discounts and fees.

Formula

Selling price = Cost × (1 + Markup ÷ 100)

Markup builds a selling price from cost; it is not the same percentage as gross margin.

Formula breakdown

  • Cost is the base being marked up; selling price is the amount charged.
  • Markup is calculated on cost, while margin is calculated on revenue.

Worked example

A product costs $40 and receives a 50% markup. The selling price is $40 × 1.50 = $60, producing $20 of gross profit. The markup is $20 ÷ $40 = 50%, while gross margin is $20 ÷ $60 = 33.33%.

Scenario comparison

A $60 cost and $100 selling price gives $40 gross profit, 66.7% markup and 40% margin.

If cost rises to $70 at the same price, markup falls to 42.9% and margin to 30%.

How to interpret the result

A markup can produce a price, but it cannot prove that customers will accept that price or that total gross profit will cover overhead. Check the price against market positioning, expected sales volume, discounts, returns, and operating expenses.

For a target-margin decision, use the rearranged margin formula: selling price = cost ÷ (1 − target margin). Do not enter a target margin as the same markup percentage.

What a good result looks like

A useful markup produces enough margin after discounts, fees, returns and other selling costs.

The appropriate markup differs by category and operating model.

Common mistakes

  • Using a 40% markup when the business actually needs a 40% margin.
  • Ignoring frequent discounts when estimating the effective selling price.

When this metric can mislead you

High markup says nothing about sales volume, inventory risk or overhead.

A slow-moving high-markup item can still produce weak cash returns.

How to use the result in a decision

Use it to set list prices, review supplier increases and define discount floors.

Translate markup back into margin before comparing profitability.

Assumptions and limitations

  • Cost is complete for the pricing decision being modeled.
  • Markup is applied once to the entered cost.
  • Taxes collected from customers are excluded unless intentionally treated as revenue.
  • Discounts, refunds, payment fees, and overhead are not automatically included.

Related ecommerce calculators

Continue with closely related tools from the same topic cluster.