Product Pricing Calculator

U.S. only tools

The first question of pricing is not "what will the market pay" - it is "what price keeps the margin I need". This page answers that second one with arithmetic: start from what one unit costs, add the per-unit overhead, and solve for the price that leaves your target margin behind.

$

What one unit costs you to make or buy, inbound freight included.

$

Shipping, packaging, platform fees and payment processing apportioned to one unit.

The share of the sale price you want left after costs - not the markup on cost.

Results update as you type. Nothing leaves your device.

Currency symbol

Symbol only - nothing is converted and no exchange rate is used. Figures quoted in the explanation text stay as the sources publish them.

Sale price for a 40% margin

$25.83

for a unit that costs $15.50 to sell.

Markup on cost
66.67%
Total cost per unit
$15.50
Profit left per unit
$10.33

From cost to shelf price

LineValue
Product cost$12.00
Other costs per unit$3.50
Total cost per unit$15.50
Target margin40%
Sale price$25.83
Markup on cost66.67%

Margin is the share of the sale price that is profit; markup is the share of the cost you added. At a 40% margin the markup is about 66.7% - the two are not the same number, and pricing to a markup produces a lower margin than people expect.

What this number is, and is not

  • A 40% target margin is a floor you set, not a law of the market. If the market will not pay the price the page returns, it is the margin that gives - this page just shows both numbers plainly.
  • Other costs per unit is the largest honest guess on the page; payment processing and shipping are real, a returns allowance is an estimate.
  • It does not include VAT / sales tax, which sit on top for an end customer and are set on the price-tag, not taken out of your margin.
  • It says nothing about how many you will sell - matching the market is the other half of pricing, and no formula does that part.
This is arithmetic, not a price promise. A margin only exists once the market actually pays the returned price.

Margin is set on the sale price, not on cost, and the two have very different numbers. The page prints both, so the price in front of you can be argued with instead of trusted.

About this product pricing calculator

Under a target margin, the sale price is not a matter of taste: it is the cost divided by whatever share of the price you intend to keep. This page takes a unit cost, its variable overhead and the margin you want, and solves for the price that leaves it behind.

Nothing about the product is uploaded; the arithmetic runs client-side and the numbers you enter decide the answer, so a supplier cost or a private margin never leaves the device. Margin is measured on the price while markup is measured on the cost, and the page prints both because they differ on every trade.

At a forty percent margin the cost must be sixty percent of the price, which is why a forty percent markup delivers only about twenty-nine percent of margin. That gap is the trap. The price returned is not a promise the market will pay it, so lower the target or the cost rather than discounting below your own floor.

How this product pricing calculator works

Assemble the true cost of one unit

Product cost is what the unit itself costs you: materials, manufacture or wholesale. On top of it sits the per-unit overhead that exists only when something sells - outbound shipping, packaging, marketplace fees, payment processing apportioned to a single sale - and the page adds the two before it divides anything.

Pricing from product cost alone while the platform and the carrier take their cuts out of the same price is the most common way a margin quietly disappears. A $12 unit with $3.50 of overhead is a $15.50 unit as far as any price calculation is concerned, and the table keeps the two lines separate so it is obvious which one moved the answer.

A product cost of zero stops the page instead of returning a price. The message asks for what one unit costs to make or buy, and it appears even when the overhead fields are filled in, because a percentage margin on a zero cost has nothing to stand on.

Margin is the share of the price that is profit

A target margin says what share of the sale price should be left after costs. At 40 percent the cost has to equal the other 60 percent, so the price is $15.50 divided by 0.60 - $25.83 - and the profit left per unit is $10.33. That one division is the entire calculation; everything else on the page exists to show what it did.

The same target written as a markup gives a different answer. Adding 40 percent on top of cost produces a margin of about 28.6 percent rather than 40, which is why the markup on cost is printed beside the margin even though only the margin was asked for.

The margin input is capped at 95 percent, so the divisor never falls below 0.05 and a price can always be returned. Pushing the target toward that ceiling produces very large prices for very small profit per unit, which is the arithmetic working correctly rather than a fault.

The page solves for the price

Given a unit cost and a target margin, one division fixes the price, and the table prints the route line by line: product cost, other costs per unit, total cost per unit, target margin, sale price and markup on cost. Change any field and the whole route reprints, so the price is never a number detached from the chain that produced it.

The hero repeats the same result as three statistics - markup, total cost and profit left per unit - because those are the three figures a price is usually judged by. The downloadable breakdown carries the same lines for a spreadsheet, where a pricing argument usually has to survive a second reading.

A quick sanity check reads the table from the bottom up: if the total cost line is already close to the price you had in mind, the formula is not what is wrong with the product economics, and no target margin will repair a cost structure that does not fit the market.

What the price does not mean

The returned price is not a promise that anyone will pay it. It is the price at which the margin you asked for is genuinely left over, and if the market refuses that price the honest choice is between lowering the target and changing the cost - not between two invented prices that both fail the margin test.

The page does not forecast volume, because a margin on zero sales is still zero. It also leaves sales tax and VAT out: those sit on top of the tag for an end customer, and they are not taken out of your margin here.

A margin only exists once money changes hands, which is why the note under the result calls the output arithmetic rather than a price promise. Use it to learn the floor your pricing has to clear, then test the number against the market yourself.

Where the target margin leaks after the price is set

The price the page returns assumes the costs you typed are the only ones taken out of it. Add a 15% marketplace referral fee on top and the arithmetic changes: a $25.83 price that leaves 40% on a $15.50 unit leaves 25% once the fee is deducted, because the fee comes off the sale, not off the cost. Holding the 40% margin with that fee needs $34.44 - a third more expensive, which is why a marketplace product usually needs a different margin target from a direct one.

Discounts leak the same way. Twenty percent off $25.83 is $20.66, and the margin falls to 25% on the same unit cost. That is the arithmetic reason a discount is never "just" a discount: it comes entirely out of the profit line, because the cost did not move.

Returns are the quietest leak. A 5% return rate refunded in full costs $1.29 a unit at this price, which takes the 40% margin to about 35% - and if the returned unit cannot be resold, the cost doubles. Sizing a returns allowance into "other costs per unit" is the honest way to price it; leaving it out is how a 40% plan quietly becomes a 35% year.

What none of this changes is the direction: costs fall on the unit, fees and discounts fall on the price, and the margin you want has to be defended against both if the plan is to survive contact with a marketplace.

Worked examples

Each example below was run through the calculator on this page when the site was built, so the numbers match what you see when you enter the same inputs.

A $12 unit with $3.50 overhead at a 40% margin

Product cost: $12.00 · Other costs per unit: $3.50 · Target margin: 40%

Sale price for a 40% margin

$25.83

for a unit that costs $15.50 to sell.

Markup on cost: 66.67% · Total cost per unit: $15.50 · Profit left per unit: $10.33

15.50 of cost is 60% of $25.83, so the price keeps a 40% margin and marks the cost up about 67%.

The famous 2x markup at the till

Product cost: $8.00 · Other costs per unit: $2.00 · Target margin: 50%

Sale price for a 50% margin

$20.00

for a unit that costs $10.00 to sell.

Markup on cost: 100% · Total cost per unit: $10.00 · Profit left per unit: $10.00

Double the cost and the margin is exactly 50% - a $20.00 price on $10.00 of cost.

A thin margin on a higher-cost product

Product cost: $15.00 · Other costs per unit: $1.00 · Target margin: 30%

Sale price for a 30% margin

$22.86

for a unit that costs $16.00 to sell.

Markup on cost: 42.86% · Total cost per unit: $16.00 · Profit left per unit: $6.86

A 30% margin on $16.00 of cost needs a $22.86 price - roughly $7 of profit on an expensive-to-make item.

Pricing discipline when the market squeezes

Product cost: $20.00 · Other costs per unit: $3.00 · Target margin: 25%

Sale price for a 25% margin

$30.67

for a unit that costs $23.00 to sell.

Markup on cost: 33.33% · Total cost per unit: $23.00 · Profit left per unit: $7.67

At a 25% margin the price is about $30.67; below that, the margin - not the price - has to give.

Frequently asked questions

What is the difference between margin and markup?

Markup is gross divided by your cost - the amount you added on top. Margin is gross divided by the sale price - the amount you keep. At cost 10 and price 20, markup is 100% and margin is 50%: same trade, two very different numbers.

What is a typical target margin for a product?

It depends on the channel, the volume and the category, not on a formula. The calculator takes your own target margin and returns the price that delivers it; whether that price is achievable is a market question the page does not pretend to answer.

Why is the total cost more than the product cost?

A sale costs more than the unit: shipping, packaging, platform fees and payment processing all come out of the same price. Skipping them and pricing from product cost alone silently shrinks every margin you thought you were making.

Why does the page bother printing the markup?

Because sellers and buyers routinely use the words interchangeably, and a target stated as a markup delivers a smaller margin than expected. Printing both means each number can be checked against the other.

What do I do if the market will not pay the returned price?

Then the target margin is not achievable at that cost, and the real lever is the cost and the overhead - renegotiate the unit, the shipping or the platform fees - rather than silently selling below your own floor.

Assumptions and sources

  • The formula price = (product cost + overhead) ÷ (1 - target margin) is the standard cost-plus-margin relation.
  • Margin and markup are intentionally both printed because they are different numbers and buyers and sellers use the same word for both.
  • No market, competitor or demand data is used or assumed; the market side of pricing is out of scope by design.

Last reviewed 2026-09-26. Business arithmetic — not accounting, tax or legal advice. Read the full disclaimer.

Where a figure on this page comes from an official agency — HUD, IRS, FICO or a state body — the site keeps a dated snapshot of the source page in its sources library, and a scheduled job re-checks that snapshot, so the number can be traced back to the document it came from.