Zentrix
·Pricing

Product Pricing Calculator.

Enter your cost and a target margin or markup. Get the exact selling price, profit per unit, margin %, and markup % — instantly. No signup. No paywall.

Your numbers
Margin is profit as a share of price. Markup is profit as a share of cost. They are not the same.
$
$
Shipping, packaging, payment fees — anything per-unit on top of the product cost.
%
The share of each sale you keep as profit. 50% is the classic retail target.
Recommended price
Sell each unit at
$24.00
Covers your $12.00 cost and leaves $12.00 profit.
Profit per unit$12.00
Profit margin50.0%
Markup100.0%
Total cost per unit$12.00

Stop calculating. Start building.

Zentrix turns these numbers into a real store, brand, and launch — in minutes.

What is a product pricing calculator?

A product pricing calculator turns two numbers you already know — what a product costs you and how much profit you want to keep — into the one number you actually need: the price to put on the shelf. The calculator above does it two ways. Tell it a target margin and it works backward from the price. Tell it a markup and it works forward from the cost. Either way you instantly see the selling price, the profit per unit, the resulting margin %, and the resulting markup %. It is free, runs entirely in your browser, and updates as you type.

Most founders price by gut — round to a number that “feels right” — and then wonder why the bank balance never grows. The problem is almost never the gut number itself. It is that the gut number was set without knowing the actual margin underneath it. This tool removes the guessing so you can set a price on purpose.

Margin vs markup — they are not the same

This is the single most expensive misunderstanding in retail. Markup measures profit against your cost. Margin measures the same profit against your selling price. Same dollar of profit, two different denominators, two different percentages — every time.

  • Markup % = profit ÷ cost × 100
  • Margin % = profit ÷ price × 100

A product that costs $10 and sells for $20 has a 100% markup ($10 profit ÷ $10 cost) but only a 50% margin ($10 profit ÷ $20 price). Doubling cost to set price — “keystone pricing” — is exactly this: a 100% markup that produces a 50% margin, as Retail Dogma explains. Confuse the two and you can underprice by a third without noticing. If you ask a supplier for a “40% margin” and they hear “40% markup,” you lose real money on every unit. Always say which one you mean.

Markup is what you add. Margin is what you keep. Markup is always the bigger number.

The formula, explained

The calculator first adds any per-unit extras to your product cost to get a true total cost:

totalCost = cost + extraPerUnit

When you price by margin, it works backward from the price:

price = totalCost ÷ (1 − margin/100)

You divide rather than add because margin is a share of the final price, not the cost. When you price by markup, it works forward from the cost:

price = totalCost × (1 + markup/100)

Then it derives the rest:

  • profit = price − totalCost
  • margin% = profit ÷ price × 100
  • markup% = profit ÷ totalCost × 100

A worked example

Say a product costs you $12, with $3 of shipping and packaging on top, so your total cost is $15 per unit. You want to keep a 50% margin.

  • Price = $15 ÷ (1 − 0.50) = $15 ÷ 0.50 = $30.00
  • Profit = $30.00 − $15.00 = $15.00 per unit
  • Margin = $15 ÷ $30 = 50.0%
  • Markup = $15 ÷ $15 = 100.0%

Notice that a 50% margin and a 100% markup describe the exact same $30 price. If you had instead just “added 50%” to your $15 cost, you would have priced at $22.50 — and your real margin would only be 33.3%, leaving a third of your expected profit on the table. That gap is why the formula matters.

What is a healthy margin? Real benchmarks

Targets vary widely by category, so treat these as a starting frame, not a rule:

  • 50–60% gross margin is the classic retail target, and modern retailers increasingly aim for 60% to leave breathing room as ad and shipping costs rise, per AllBusiness.
  • Beauty & cosmetics lead at roughly 50–70% gross margins, while electronics often run just 15–25%, according to TrueProfit's benchmarks.
  • Digital products reach 70–90% gross margins, the highest of any category, per the same TrueProfit data.
  • On the bottom line, the average net profit margin for e-commerce is around 10%, with the best stores clearing 20%+, as reported by Onramp Funds.

The takeaway: your gross margin has to be high enough that after ads, returns, fees, and overhead, a healthy net margin survives. A 20% gross margin rarely does.

How to improve your margin

If the price the calculator returns is higher than the market will bear, you have three levers — and only three:

  • Lower your total cost. Negotiate supplier pricing, order in larger quantities, or trim packaging and shipping. Every dollar off your cost is a dollar straight onto your margin.
  • Raise your price — carefully. Most brands have more pricing power than they assume. Test a higher price on a slice of traffic before assuming customers will leave.
  • Increase perceived value. Better photography, bundles, stronger copy, and a credible brand let you hold a higher margin without discounting. This is where positioning pays for itself.

Set the margin you need first, then design the product, packaging, and brand to justify the price — not the other way around.

Product pricing FAQ

What is the difference between margin and markup?

Markup is profit measured against your cost; margin is profit measured against your selling price. A product that costs $10 and sells for $20 has a 100% markup ($10 profit ÷ $10 cost) but a 50% margin ($10 profit ÷ $20 price). They describe the same dollar of profit from two different angles, which is why they always produce different percentages. The calculator above shows both for every price so you never confuse them.

How do I calculate selling price from cost and margin?

Use price = cost ÷ (1 − margin/100). If a product costs $12 and you want a 50% margin, that is $12 ÷ (1 − 0.50) = $12 ÷ 0.50 = $24. The reason you divide instead of just adding 50% is that margin is a share of the final price, not of the cost. Adding 50% of cost would only give you a 33.3% margin.

How do I calculate selling price from cost and markup?

Use price = cost × (1 + markup/100). A $12 product with a 100% markup sells for $12 × 2 = $24. Markup is the simpler of the two because you are literally adding a percentage of cost on top of cost. A 100% markup — doubling the cost — is the classic retail rule of thumb known as keystone pricing.

What is a good profit margin for a product?

It depends heavily on category, but a 50–60% gross margin is the common retail target and what most physical-product brands aim for. Beauty and cosmetics often reach 50–70%, digital products 70–90%, while electronics can run as low as 15–25%. Aim high enough that your gross margin still covers shipping, ads, returns, and overhead and leaves a healthy net profit, which for e-commerce averages around 10%.

Should I include shipping and packaging in the cost?

Yes — any cost you pay per unit should be in the cost figure before you apply a margin or markup. Use the 'Extra cost per unit' field for shipping, packaging, payment processing fees, or pick-and-pack labor. Pricing off the bare product cost alone is the most common reason a product looks profitable on paper but loses money in reality.

Why does a 100% markup only give a 50% margin?

Because the two percentages use different denominators. Markup divides profit by cost; margin divides profit by price. When you double a $10 cost to $20, the $10 profit is 100% of the $10 cost (markup) but only 50% of the $20 price (margin). As markup rises, margin rises too but never reaches 100% — a 300% markup, for example, is a 75% margin.


Keep going: estimate your store's economics with the e-commerce business plan tool, find a category worth pricing in with the niche finder, or learn the terms behind the math in our profit margin and markup glossary entries.