Skip to content

How to Price Your Product: Formulas, Methods and a Worked Example

To price a product, add up the fixed cost of one sale (the unit, packaging, the shipping you pay, a share of overhead), divide it by one minus your percentage fees and your target margin, then check the result against rival prices and against what the product is worth to the buyer. Test it before you commit.

By , founder of Slibur

13 min read

How to Price Your Product: Formulas, Methods and a Worked Example
In this article

Price moves profit more than cost cuts do. In a McKinsey analysis of the 1,200 largest public companies, published by Walter Baker, Michael Marn and Craig Zawada in 2010, a 1% increase in price levels would improve profit by 8.7% on average. A 1% cut in variable costs would give 5.9%, and the same cut in fixed costs 1.8%.

The method, in five steps:

  1. Find the floor: the price at which one sale earns nothing.
  2. Add the margin you need, and know whether you are talking margin or markup.
  3. Pick the method that sets the final number: cost, competitors or value.
  4. Present it: endings, anchors, tiers and bundles, within the rules on "was" prices.
  5. Test it, measure profit per visitor, and review it when costs or demand move.

Start with the floor: what one sale really costs

Below the floor, every order loses money, however good the month looks in revenue. First prices often go wrong here: people count what it costs to make the item and forget what it costs to sell it. Split those costs in two, because they behave differently when the price changes.

Fixed costs per sale

These stay the same whatever you charge:

  • The unit itself: materials, parts or the wholesale price, plus inbound freight and duties if you import (the landed cost).
  • Labor, your own included: an hourly rate divided by the units you make in an hour.
  • Packaging and the shipping label, if you pay it. Free shipping moves the cost into your price; it does not remove it.
  • Ad cost per order: ad spend divided by the orders it brings. The ecommerce marketing guide covers its close relative, customer acquisition cost, channel by channel.
  • A share of overhead: a month of rent, software and insurance divided by the units you expect to sell that month.
  • Flat parts of fees, such as the 30 cents on a card charge.

Costs that grow with the price

Percentage costs rise with what the customer pays:

  • Card processing. Stripe's standard US rate is 2.9% + $0.30 per successful domestic card charge, plus 1.5% for international cards and 1% when currency has to be converted.
  • Marketplace commission. Amazon charges a referral fee on the total price, or a minimum, whichever is greater. Most categories sit between 8% and 15%, most have a $0.30 minimum, and the Professional selling plan adds $39.99 a month.
  • Refunds. Your rate depends on the category, so use your own history. With no history, set an allowance and revise it after a quarter.
  • Commissions to affiliates or sales reps, if you pay them.

One formula keeps both groups in view:

Price = fixed costs per sale ÷ (1 − percentage costs − target margin)

Set the target margin to zero and the result is your floor. It is the target-margin formula Shopify gives (cost ÷ (1 − margin)), with the percentage fees moved into the divisor, where they get paid out of the price instead of forgotten.

Margin vs markup, with a worked example

Same profit, two different bases. Markup is profit as a share of cost. Margin is profit as a share of the price.

  • Markup = (price − cost) ÷ cost
  • Margin = (price − cost) ÷ price
  • To convert: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin)
Markup on costMargin on price
25%20%
50%33.3%
100% (keystone: double the cost)50%
150%60%
200%66.7%

The usual mix-up runs one way: ask for a 50% margin, apply a 50% markup, and you end up with 33.3%.

Worked example: pricing a candle sold online

Every number in this example is illustrative; none comes from a real shop. A maker sells candles on her own site, takes cards through Stripe and offers free shipping.

Fixed cost per saleAmount
Wax, jar, wick and label$5.20
Labor (her own time)$3.80
Box and filler$1.00
Shipping label$6.00
Overhead: $2,000 a month over 1,000 candles$2.00
Ads, per order$4.00
Flat part of the card fee$0.30
Total$22.30

Her percentage costs are 2.9% for the card plus a 5% refund allowance: 7.9% in all. She wants 25% of the price left as profit after everything.

Price = $22.30 ÷ (1 − 0.079 − 0.25) = $22.30 ÷ 0.671 = $33.23

She rounds up to $34. At that price the percentage costs take $2.69, so each sale leaves $9.01, a 26.5% margin. Her floor, with the margin set to zero, is $24.21.

Now the shortcut many makers use: double the cost of the product. Wax, labor and box come to $10.00, so keystone pricing says $20. That is below the $22.30 she pays before fees, and once the card fee and refunds are counted, each sale loses $3.88. The candle only "costs $10" if shipping, ads and overhead are someone else's problem.

Volume is the last check. Before overhead, each candle at $34 contributes $11.01, so the $2,000 of monthly overhead is covered at 182 candles a month. Sell fewer and each candle carries more overhead, so base the plan on a volume you are confident of reaching.

Three ways to set the price, and when each one fits

The formula tells you where the price can't go. Where it should go depends on what the buyer compares you with. The marketing mix guide covers price as one of the four Ps; here the question is which input sets the number.

MethodThe number comes fromFits best whenMain risk
Cost-plusFull cost per sale plus your marginCustom work, quotes, wholesale, no close rivalLeaves money on the table
Competitor-basedWhat similar products costBuyers compare side by side, as on marketplacesCopies rivals' mistakes, invites a race to the bottom
Value-basedWhat the buyer gains over their next best optionThe product saves money or time you can showNeeds evidence that buyers see the value

Two launch tactics sit on top of any method: penetration pricing (start low to win share, raise later) and skimming (start high, lower as the market fills). Both need a planned next price, or the launch price quietly becomes the price.

Cost-plus: the safe starting point

Cost-plus is the formula above with a margin you pick: quick to explain to a wholesale buyer, and never below the floor. But cost says nothing about demand, and two products that cost the same to make can be worth very different amounts to buyers.

Competitor-based: price against the shelf

Choose five to ten products a buyer would really weigh against yours, and note the price, shipping, size, rating and delivery time of each, so you compare like with like. Below the range needs a cost advantage. Above it needs a reason the buyer can see in the photos, reviews or description. The market research guide covers how to gather this evidence without guessing.

Say rivals of a similar size sell between $28 and $38 (illustrative, like the rest of the example). At $34 the candle sits in the upper half of that range, and its photos and burn time have to earn the spot.

The shelf is no longer only a marketplace page. Shoppers can also ask an AI assistant for the best option within a budget, and the products the answer names become the comparison set. An AI visibility tool shows which brands those answers name for the questions your customers ask, and whether yours is among them.

Value-based: price what the buyer gets

Value-based pricing starts from the buyer's next best option: what it costs, and what your product does better. A refill that saves buying a new jar each time can charge for the saving; a gift candle can charge for presentation and delivery speed. For a first range straight from buyers, the four price sensitivity questions in the go-to-market strategy guide are a cheap place to begin.

Psychological pricing: what the studies show

Plenty of pricing psychology is folklore. Two effects have solid studies behind them, price endings and anchors, and each comes with a limit: one set by the research, the other by US rules.

Prices ending in 9

Eric Anderson and Duncan Simester tested $9 endings in a women's clothing catalog, where the same item appeared at $44, $49 and $54 in different versions. Demand was almost identical at $44 and $54, and significantly higher at $49. In their 2003 paper, the $9 ending raised demand in all three field experiments, more for new items than for ones sold in earlier years, with some evidence that it fades next to a "Sale" cue.

Manoj Thomas and Vicki Morwitz (2005) showed when the trick works. In their experiments, $2.99 was judged lower than $3.00, but $3.59 was not judged lower than $3.60: the effect needs the leftmost digit to change. For the candle, $33.99 buys nothing over $34. The test worth running is $29.99 against $34.

Anchors and reference prices

The first number a buyer sees shapes how the next one feels. In a study by Dan Ariely and colleagues, described by Nielsen Norman Group (opens in a new tab), people first considered paying a price equal to the last two digits of their Social Security number. Average bids for a wireless keyboard ran from $16.09 among those whose numbers ended 00 to 19, up to $55.64 among those ending 80 to 99.

Used honestly, anchors are ordinary merchandising: the premium version shown first, the bundle next to the single item, the real price a discount is taken from. Used dishonestly, they become a legal problem.

What US rules say about "was" prices

The FTC's Guides Against Deceptive Pricing (16 CFR Part 233, published November 8, 1967) set the test for comparing with a former price. It has to be the actual, bona fide price at which the item was offered to the public on a regular basis for a reasonably substantial period of time. Their own example: pens with a regular price of $7.50, raised to $10 for a few days so they can be advertised as "Were $10, Now Only $7.50". The guides call that claim obviously false.

"Free" offers have their own FTC guide too, covered in the guide to power words in titles. This section summarizes the rules; for your own case, ask a lawyer.

Tiers, bundles and packages

A single price puts every buyer in the same deal. Tiers let people choose how much to spend, which is an easier decision than whether to spend at all.

  • Good, better, best. Three versions: a basic one, the one you expect most people to buy, and a premium one that makes the middle look sensible. Research on decoys supports part of this. In the experiments of Huber, Payne and Puto (1982), adding an option that is clearly worse than one existing option, but not the other, increased preference for the option that beats it.
  • Bundles. Price the bundle below the sum of its items but above the floor of the bundle as a whole. Two candles for $60, sent in one box with one $6 label, leave $21.96 after costs, more than two single orders at $34 ($18.03), because the box, the label, the ad cost and the flat card fee are paid once.
  • Subscriptions. A small discount on a recurring order trades margin for predictable demand. Count cancellations alongside refunds.

Each tier needs its own margin check. A cheap entry version that sells well and loses money teaches customers to buy the wrong thing.

How to test a price without upsetting customers

Price tests go wrong when customers find out they paid more than someone else for the same thing at the same moment. The design of the test removes most of that risk.

  1. Test on what's new. A new product, size or variant has no price history, so its launch price is a fair test. Treat it as a hypothesis with a review date.
  2. Change the price for everyone, for a set period. Run the new price for two to four weeks and compare it with the same weeks before, minding seasons and promotions. Slower than a split test, but nobody sees two prices.
  3. Split-test the offer and keep one price tag. Free shipping against a lower price, or a bundle against a single item. Different offers for different visitors is normal merchandising.
  4. Ask before you launch. A short survey gives you a range to test inside, so the test starts from evidence.
  5. Leave current subscribers out. People on a recurring order should hear about a change from you, before it happens.

If someone writes in after seeing a lower price, give it to them. It costs little and ends the complaint.

Judge the test by profit per visitor

A higher price usually converts less. That alone does not make it worse. Profit per visitor is the conversion rate times the profit per order.

Back to the candle. At $29.99 each sale leaves $5.32; at $34 it leaves $9.01. Suppose 3% of visitors buy at $29.99 and 2.4% at $34. Per 1,000 visitors, that is 30 orders and $159.62 against 24 orders and $216.34. The higher price wins as long as it keeps at least 18 orders per 1,000 visitors, a 1.8% conversion rate. Write that threshold down before the test starts, so the result is a yes or a no. The conversion rate optimization guide covers how much traffic a split test needs.

When to raise your price, and how

The McKinsey numbers cut both ways. By the same authors' math, a 5% price cut would need an 18.5% rise in volume just to break even. Cutting is expensive, and a raise you have put off is often the cheaper problem.

Signals that the price is due for a change:

  • Your costs moved. Rerun the formula with this quarter's numbers. If the margin slid below target, the price is already out of date.
  • Nobody says it's too expensive. High conversion and no pushback at all usually mean the price sits below what buyers think it is worth.
  • You sell out, or keep a waitlist. Demand above capacity is the plainest sign there is.
  • You added something buyers can see, such as a better material or faster delivery.
  • The shelf moved. Rivals went up, and you became the cheap option without choosing to.

How to raise it without a backlash:

  • Start with new customers, then move existing ones with notice.
  • Say what is changing, when, and what the buyer keeps or gains.
  • Tell subscribers the date the old price ends, well before the next charge.
  • Keep a lower tier for price-sensitive buyers instead of discounting for everyone.
  • Don't advertise the old price as a "was" price later unless it passes the FTC test above.

Then put a review in the calendar. The U.S. Chamber of Commerce's small business guide suggests looking at sales, KPIs and customer feedback every quarter.

ChatGPT's pricing answers: sound arithmetic, sources only for tools

We asked ChatGPT four questions on November 28, 2026, from the United States: how to calculate the right price for a product sold online, markup versus margin, how to raise prices without losing customers, and the best tool to track competitor prices for a small online store for under $50 a month.

The three how-to questions came back with no cited website and no brand at all. Their arithmetic was sound: the first answer used the same structure as the formula above (fixed costs over one minus fees minus margin) and counted returns and ad cost per order. The markup answer was less tidy. Its opening line said to set prices with markup; its closing line said to price with a target margin.

On raising prices, ChatGPT suggested steps of 5% to 10% rather than 25% at once, new customers first, and holding the old price for 30 to 90 days for current ones.

Only the budget question cited sources. It named six tools for tracking prices (Pricefy, SpotRival, Pricebeeper, VantageDash, Distill.io and Visualping) plus two store platforms, Shopify and BigCommerce. It gave a monthly price for every tool, and the three sites it cited, pricefy.io, spotrival.com and pricebeeper.io, were the tools' own homepages.

One answer is not a study, but an assistant can only place you inside "under $50" if it can find your price, so put it on your own page as text, in the shopper's currency. Google asks the same of shopping listings: Merchant Center wants a price that matches the landing page and checkout (opens in a new tab), and product snippet structured data (opens in a new tab) lists price as required. Slibur shows whether ChatGPT, Google AI Overviews, Claude, Perplexity and Grok name you in budget questions like these, and which rivals they name instead; it does not set or recommend prices.

Six checks before a price goes live

  • The price covers the full cost of a sale, fees and refunds included.
  • You can state your margin as a share of the price.
  • You can say in one sentence why the price sits where it does against rivals.
  • Any "was" price is one you really charged for a substantial period.
  • The price is visible as text on the page, in the buyer's currency, with shipping stated.
  • There is a date in the calendar to look at it again.

With the price live, run one check outside your store: ask an assistant for your product the way a shopper would, budget included, and note whose store comes back. Slibur runs that check across the five assistants, and the 7-day trial needs no credit card: start it here.

Frequently asked questions

What is the formula for pricing a product?

Price = fixed costs per sale ÷ (1 − percentage costs − target margin). Fixed costs per sale are the unit, labor, packaging, the shipping you pay, ad cost per order, a share of overhead and flat fees. Percentage costs are card and marketplace fees plus a refund allowance. Set the margin to zero and you get your floor, the price at which a sale earns nothing.

Is doubling the cost a good way to price a product?

Doubling the cost, known as keystone pricing, is a 100% markup and a 50% margin. It works when "cost" already includes shipping, fees, ads and overhead. Applied to materials alone it can sell below cost: in the candle example above, keystone on $10 of product cost gives $20, while one sale costs $22.30 before fees.

How much profit should I make on a product?

It depends on the category. Aswath Damodaran's NYU Stern data for US companies (January 2026) shows average gross margins of 33.18% in general retail and 56.88% in apparel, while net margin in general retail is 5.61%. Set your target from your own overhead and ad costs, then compare it with your category.

Should I price lower than my competitors?

Only with a cost advantage that keeps you above your floor, or as a launch price with a planned date to raise it. A lower price is the easiest thing for a rival to copy. Pricing above the range works when buyers can see why, in the photos, reviews, materials or delivery.

Do prices ending in .99 really work?

Field experiments say they can. In Anderson and Simester's catalog test, the same item sold better at $49 than at $44. The effect was weaker when the item carried a "Sale" cue, and Thomas and Morwitz found it depends on the leftmost digit changing: $2.99 reads lower than $3.00, but $3.59 does not read lower than $3.60.

How do I price a handmade product?

Pay yourself for your time: multiply the hours per item by an hourly rate and add materials, packaging and a share of overhead. A common rule among the maker formulas Aeolidia collects is (labor + materials) × 2 = wholesale, then double the wholesale price to get the retail price. If you also sell online, check the retail price against the floor formula, since fees and shipping come out of it.

How often should I review my prices?

Quarterly is a common rhythm. The U.S. Chamber of Commerce's guide suggests reviewing sales, KPIs and customer feedback every quarter. Review sooner when a cost moves: a supplier increase, a new marketplace fee or a change in shipping rates.

About the author

Founder of Slibur

Raúl Díaz is the founder of Slibur, the tool that asks ChatGPT, Google AI Overviews, Claude, Perplexity and Grok the questions your customers ask and shows which brands they recommend. He writes about answer engine optimization from the data Slibur collects.

  • AI visibility

    Market Segmentation: Types, Real Examples and How to Do It

    Market segmentation is the practice of splitting a market into groups of buyers who share needs, traits or habits, so each group gets an offer, price, message and channel that fit it. Consumer markets are usually split by who people are, where they live, how they think and what they do. B2B markets add company traits called firmographics.

    13 min read

  • AI visibility

    The 4 Ps of Marketing: The Marketing Mix Explained With Examples

    The 4 Ps of marketing are product, price, place and promotion, the four decisions a company controls when it brings something to market. Together they make up the marketing mix. Neil Borden of Harvard spread the term, and E. Jerome McCarthy organized the mix into four Ps in his 1960 textbook, Basic Marketing.

    14 min read

  • AI visibility

    Dealer SEO in 2026: Local, Inventory and AI Search

    Dealer SEO is the work of making a car dealership easy to find in search: a complete Google Business Profile, inventory pages Google can index, useful local content and clean measurement. In 2026 it also includes how AI assistants describe your store when a buyer asks where to shop.

    12 min read