How to Calculate Product Price: Cost, Markup, and Fees

9 min read

Flat lay of products, packaging materials, a calculator, and a smartphone used to calculate selling price

Key takeaways

  • Product price should cover all expenses, not just the purchase price.
  • Cost includes packaging, delivery, and a share of fixed costs.
  • Marketplace commission should be built into the price ahead of time.
  • Markup is calculated from cost, while margin is calculated from the selling price.
  • A spreadsheet in Excel helps you recalculate prices quickly and accurately.
Contents

What goes into the product price: what the selling price is made of

When a seller asks, how to calculate product price, the first number that usually comes to mind is the purchase cost. But the selling price is built from several layers of expenses. If you miss even one of them, the product may look profitable on paper while actually being sold at a loss.

Product cost: purchase price, materials, components

Cost is everything needed to get the product into your hands in ready-to-sell form. For resale, that includes:
  • purchase price;
  • materials or components, if you finish the product yourself;
  • assembly costs, if it is handmade;
  • labor costs, if you not only sell but also produce the item.
If you sell on Rozetka, Prom.ua, OLX, or in your own online store, cost is the base. Everything else is added on top of it.

Additional expenses: packaging, delivery to the warehouse, consumables

On top of the purchase price, there are almost always small expenses that are easy to forget:
  • box, bag, stretch film, tape, filler;
  • labels, stickers, tags;
  • delivery of the goods to you or to a warehouse;
  • fuel costs, if you transport items yourself;
  • write-offs for defective items during packing.
A small extra cost of 5–20 UAH per item may seem insignificant. But if you ignore it, you are effectively eating into your own profit.

Marketplace and payment service fees as part of the price

For marketplaces and online sales, commission is not an afterthought — it is part of the price. Different services charge different fees, so check the current rules in the seller account. Usually you need to account for:
  • marketplace commission;
  • acquiring or payment service fee;
  • delivery fee, if the seller covers part or all of it;
  • possible fines, paid services, or extra charges.
Seller’s workspace with a calculator, expense notes, price stickers, and packaging materials
Seller’s workspace with a calculator, expense notes, price stickers, and packaging materials

How to calculate product cost for sale

You need cost not just for the sake of bookkeeping, but so you can properly calculate the price for sale instead of guessing.

Formula for the cost of one unit

The basic formula is simple:
Unit cost = purchase price + direct costs per unit + share of fixed costs
For example:
  • product purchase — 180 UAH;
  • packaging — 8 UAH;
  • delivery to you — 12 UAH;
  • tag and sticker — 3 UAH;
  • share of rent, electricity, advertising, or salary — 10 UAH.
Then the unit cost is:
180 + 8 + 12 + 3 + 10 = 213 UAH
That is a real basis for pricing, not just “I bought it for 180, I’ll sell it for 250.”

How to allocate fixed costs across products

Fixed costs are expenses that happen every month no matter how many items you sell:
  • rent;
  • communications;
  • advertising;
  • salary for an assistant;
  • service subscriptions.
To avoid mixing them together, distribute them across the number of units sold. For example, if fixed costs were 3,000 UAH for the month and you sold 300 items, then each unit carries 10 UAH.
That is a much fairer approach than counting only the purchase price.

Common mistakes when calculating cost

Sellers most often make these mistakes:
  • counting only the purchase price;
  • forgetting packaging;
  • not including delivery to the warehouse or customer;
  • not factoring in returns and defective items;
  • mixing cost with markup.
If you want to understand how to calculate product cost for sale, start with a simple rule: if an expense happens because of selling a specific item, it belongs in the calculation.

Markup: how to set your target profit without losing competitiveness

What markup is and how it differs from margin

Markup is how much you add to the cost. Margin is how much profit remains in the selling price.
In simple terms:
  • markup is calculated from cost;
  • margin is calculated from the selling price.
That is why people often confuse them. If someone says “I want 30%,” you should clarify whether they mean markup or margin. For a seller, those are different numbers.

How to calculate markup as a percentage

The formula is:
Markup % = (Selling price - Cost) / Cost × 100%
Example:
  • cost — 213 UAH;
  • desired selling price — 299 UAH.
Then:
(299 - 213) / 213 × 100% = 40.4%
So the markup is 40.4%.
If you want to find the price based on a target markup:
Selling price = Cost × (1 + markup)
For example, with a 40% markup:
213 × 1.4 = 298.2 UAH

How to choose a markup for different product categories

There is no universal number. But the logic is this:
  • for low-priced items, markup often needs to be higher, otherwise it won’t cover the small expenses;
  • for expensive items, a lower markup may work if the profit in hryvnias is still enough;
  • for products with a high return rate, you need a price cushion;
  • for promotional items, it is better to calculate the minimum acceptable price from the start.
Do not set markup “like your competitor” if you do not know what is inside their price.

How to account for marketplace fees, delivery, and other costs in the price

Marketplace commission: how to build it into the calculation

How do you account for marketplace commission in the product price? Very simply: do not subtract it from your profit after the sale; build it into the price before publishing the listing.
If the commission is a certain percentage of the selling price, the price must be calculated so that after the fee is deducted, the amount you need still remains.
A practical approach:
  1. Determine the cost.
  2. Add your desired profit.
  3. Add commission and other variable costs.
  4. Check whether the final price still fits the market.

Delivery to the customer and to the warehouse: when the seller pays

Delivery is a separate expense item. There are several scenarios:
  • the customer pays for delivery;
  • the seller offers free delivery;
  • delivery is partly covered by the marketplace or service program.
If you offer free delivery, you need to build it into the product price. Otherwise you are simply giving that amount to the shipping service out of your own profit.

Packaging, returns, defects, and discounts: a reserve for unexpected costs

In sales, there are always expenses that are hard to predict, but you can still build in a reserve:
  • product returns;
  • defects;
  • order mix-ups;
  • damage during delivery;
  • discounts and markdowns.
That is why a small buffer is often included in the price. You do not need to calculate every tiny cost separately, but the reserve should be there. Otherwise, one bad batch can wipe out the profit from several good sales.
Packing area with a parcel, shipping scale, packaging materials, and a laptop for calculating expenses
Packing area with a parcel, shipping scale, packaging materials, and a laptop for calculating expenses

Product pricing formula for an online store: a practical algorithm and example

Universal product pricing formula

Here is a simple product pricing formula for an online store:
Selling price = Cost + Fees + Delivery, if paid by the seller + Risk reserve + Profit
If percentages are easier for you, work in a spreadsheet where each expense is shown as a separate line.

Step-by-step calculation using a real example

Let’s say you sell a product with these costs:
  • purchase — 180 UAH;
  • packaging — 8 UAH;
  • delivery to you — 12 UAH;
  • tags and stickers — 3 UAH;
  • share of fixed costs — 10 UAH;
  • service and payment fee — 9% of the price;
  • reserve for returns and defects — 15 UAH;
  • desired profit — 40 UAH.
First, add everything except the commission:
180 + 8 + 12 + 3 + 10 + 15 + 40 = 268 UAH
But the commission is calculated from the selling price, so the final amount must be adjusted so that after 9% is deducted, you still have at least 268 UAH left.
Let the price be X:
X - 9% of X = 268
0.91X = 268
X = 294.5 UAH
So the logical price is about 295 UAH.

Check the final price: will there still be profit after all expenses?

After setting the price, always check three things:
  • whether the price covers all expenses;
  • whether your profit remains in hryvnias, not just on paper;
  • whether you are making the product too expensive for your niche.
If the price becomes uncompetitive, do not reduce it blindly. It is better to look for ways to optimize costs: packaging, delivery, bulk buying, or purchasing terms.

How to quickly recalculate prices for promotions, discounts, and cost changes

What to do if purchase price or delivery becomes more expensive

If the purchase price or delivery changes, do not wait until the end of the month. Recalculate the price immediately based on the new cost. Otherwise, you will be selling the old version at a loss for some time.
It is convenient to keep a table with these columns:
  • purchase price;
  • packaging;
  • delivery to you;
  • commission;
  • reserve;
  • minimum price;
  • recommended price.

How a discount affects profit

A discount is not just “minus 20 UAH.” It affects the whole model:
  • it reduces revenue;
  • it can eat up all profit;
  • sometimes it makes a product unprofitable even without commission.
So before a promotion, check what the price will be after the discount and what will remain for you after all fees.

When to review the product price

Recalculate prices if:
  • the purchase price changed;
  • delivery became more expensive;
  • the commission increased;
  • you changed packaging;
  • the product started returning more often;
  • you launch a promotion or free delivery.
The main rule is simple: price should not be “set once and forever.” For a small business, it is a living tool that must be updated together with costs.

In short

  • Product price must cover not only the purchase cost, but all related expenses.
  • Cost includes packaging, delivery, and a share of fixed costs.
  • Marketplace commission should be built into the price in advance.
  • Markup is not margin, and the two should not be confused.
  • A spreadsheet in Excel or Google Sheets makes price recalculation much easier.

FAQ

How do I calculate the selling price of a product?
Add up cost, fees, delivery, a risk reserve, and your desired profit. Then check whether the price is still competitive.
How do I calculate product cost for sale?
Include the purchase price, packaging, delivery to you, consumables, and a share of fixed costs. Do not limit yourself to the purchase price alone.
How do I calculate markup as a percentage?
Subtract cost from the selling price, divide by cost, and multiply by 100%. That gives you markup in percent.
How do I account for marketplace commission in the product price?
Build it into the price at the calculation stage, not after the sale. Otherwise the fee will cut into your profit.
What is the product pricing formula for an online store?
Selling price = cost + fees + delivery, if paid by the seller + risk reserve + profit.

Share this article

Read also