Selling price calculator

Set a selling price from cost by targeting either a margin percentage or a markup percentage.

What this calculator covers

Use this selling price calculator to back into a target price from cost when you know the margin or markup you want to preserve.

It helps keep pricing conversations aligned across merchandising, finance, and operations by showing the implied gross profit, realized margin, and realized markup together.

Frequently asked questions

What is the difference between margin and markup?
Margin is gross profit divided by the selling price, while markup is gross profit divided by cost. A 50% markup on a $10 cost gives a $15 price with a 33% margin — the two percentages describe the same profit from different reference points, so confusing them leads to mispriced products.
Which mode should I use if my company targets gross margin?
Use the margin mode. Finance teams and P&L statements almost always express profitability as a percentage of revenue, so targeting margin keeps pricing consistent with how performance is measured.
Why does this calculator use a single unit cost with no other layers?
The formula isolates the relationship between cost, price, and profit at the unit level. Shipping, platform fees, or taxes would each reduce the effective margin, so those items should be folded into the cost input if you want the result to reflect total landed cost.
If I enter a target markup of 100%, what selling price do I get?
A 100% markup doubles the cost — a $25 cost becomes a $50 selling price with $25 gross profit. That same result represents a 50% gross margin.

Tool

Run the calculation

$
%

Result

RESULT · SELLING PRICE

â„–170

A $42.00 cost with a 35.00% target margin needs a selling price of $64.62.

Cost
$42.00
Selling price
$64.62
Gross profit
$22.62
Realized margin
35.00%
Realized markup
53.86%

Step-by-step solution

  1. 1.Use the margin pricing equation: $42.00 ÷ (1 - 35.00%) = $64.62.
  2. 2.Subtract cost from selling price to confirm gross profit of $22.62.
  3. 3.That selling price implies 35.00% margin and 53.86% markup.

Walkthrough

Visual walkthrough

Selling price is the inverse of the margin or markup target you want to hit off a known cost base.

  1. 01

    Choose a target pricing lens

    Price = cost ÷ (1 - target margin)

    Margin targets scale profit against revenue, while markup targets scale it against cost.

  2. 02

    Solve for selling price

    $64.62

    This is the minimum sticker price required to hit the selected target under the simplified gross-profit model.

  3. 03

    Check the implied unit economics

    Reviewing both realized margin and markup keeps the price usable for merchandising and finance discussions.

    $64.62 selling price