Pricing & Profit

Selling Price Calculator

Calculate the selling price you need to charge to reach a target profit margin from a known cost.

Enter your cost and the profit margin you want to keep, and the calculator returns the price that produces it.

Enter your values

Total cost of one product or service that the price must recover.

$

Profit you want to keep as a percentage of selling price. Must be below 100%.

%

Results

Recommended selling price

Enter your cost and target profit margin.

Expected profit

Selling price less cost.

Equivalent markup

Profit expressed as a percentage of cost.

Results are estimates based on the values entered and are provided for general planning.

Method

How to calculate selling price

Profit margin divides profit by selling price, so the price cannot be found by adding the margin percentage to cost. Instead, the cost represents the share of price that is not margin — that share is (1 − target margin). Dividing cost by that share returns the price at which the remaining share equals the target margin.

Formula

Selling price = Cost ÷ (1 − Target margin ÷ 100)
Expected profit = Selling price − Cost
Markup = Profit ÷ Cost × 100

Assumptions

  • Target margin is measured against selling price, not cost.
  • Target margin must be below 100% because a 100% margin leaves no room for a positive cost.
  • Cost includes every per-sale cost the price is meant to recover.
  • Tax, discounts, refunds, and marketplace fees are excluded unless already inside the cost figure.

Price, profit, and markup are calculated at full precision before display. Currency displays two decimals; percentages display two decimals.

How to interpret the result

The result is the undiscounted price that produces the entered margin under the entered cost. If you later discount the price, absorb fees, or your cost rises, the realised margin falls below the target and the price needs recalculating.

Target margin vs markup

Both percentages describe the same gross profit but divide it by different numbers. Markup divides profit by cost; margin divides profit by selling price. Because selling price is larger than cost on a profitable sale, the margin percentage is always smaller than the markup percentage.

Confusing the two is one of the most common pricing errors. A business that wants a 40% margin but applies a 40% markup underprices every unit, and the gap widens as margins get higher.

Why margin and markup produce different prices

Take a $60 cost. A 40% markup adds $24, producing an $84 price and a 28.6% margin. A 40% target margin instead produces a $100 price and a 66.67% markup. Same cost, same intent, $16 difference per unit.

Use margin when you are planning how much of your revenue you keep, and markup when you are applying a consistent rule on top of a known cost. Whichever you choose, keep one convention across the catalogue so prices stay comparable.

Target margin and markup compared

The same $40 profit on a $60 cost and $100 price reads differently depending on the denominator.

MeasureFormulaWhat it shows
Target profit marginProfit ÷ Selling price × 10040% — the share of the price you keep.
MarkupProfit ÷ Cost × 10066.67% — how much was added on top of cost.
Selling priceCost ÷ (1 − Target margin)$100.00 — the price that delivers the target margin.

Frequently asked questions

Divide cost by one minus the target margin expressed as a decimal. For a 40% margin, divide the cost by 0.60.

Adding 40% to cost is a 40% markup, which is measured against cost. A 40% margin is measured against selling price, so it requires a higher price. A $60 cost plus 40% is $84 — a 28.6% margin, not 40%.

A 100% margin means cost is zero. With any cost above zero, dividing by (1 − 1) is division by zero and has no defined price, so this calculator accepts margins below 100%.

The formula returns a price of $0.00 and no profit. With no cost to recover, any price you choose is entirely profit, so the target-margin calculation cannot recommend a figure. Markup is undefined because it divides by cost.

Include any per-sale cost the price must recover, such as packaging, inbound freight, fulfillment, or payment fees. Leaving them out makes the calculated price look more profitable than the sale actually is.

Keep calculating

Related calculators

Check an existing price against the profit margin calculator, compare the cost-based view in the markup calculator, and test what the price contributes toward fixed costs with contribution margin.

Explore Pricing & Profit Calculators