10 min

E-commerce Selling Price Calculation: Methods, Formulas and Strategies to Set the Right Price

Complete guide to e-commerce selling price calculation. Discover three pricing methods, essential formulas (margin rate, markup coefficient, tax-inclusive pricing), detailed cost analysis, strategies by product type and common mistakes to avoid when setting a profitable and competitive price.

E-commerce Selling Price Calculation: Methods, Formulas and Strategies to Set the Right Price

Setting the right selling price is one of the most challenging exercises in e-commerce. Too high, and you lose customers to competitors. Too low, and you sacrifice your margin and jeopardize business sustainability. Selling price calculation goes beyond simply applying a markup to a purchase cost: it requires a rigorous method that accounts for all costs, your market positioning, and buyer psychology.

Nearly 40% of e-commerce merchants set their prices intuitively, without a proper calculation method. The result: insufficient margins, poorly calibrated promotions, and fragile profitability. This guide presents the three pricing methods, essential selling price formulas, and strategies to optimize your pricing product by product.

The 3 e-commerce pricing methods

There are three main approaches to determining a selling price in e-commerce. Each relies on a different logic and suits specific contexts. The most successful e-commerce merchants often combine all three to reach an optimal price that guarantees margin while remaining attractive.

MethodPrincipleAdvantagesDisadvantagesIdeal for
Cost + marginAdd a margin percentage to the cost priceSimple, guarantees minimum marginIgnores competition and customer perceptionExclusive products, private labels
Market priceAlign with competitor pricingCompetitive, easy market acceptanceRisk of price wars, margin not guaranteedCompetitive markets, marketplaces
Psychological pricingSet price based on perceived customer valuePotentially higher margin, differentiationComplex, requires strong customer knowledgePremium products, strong brands

The cost-based method is the essential foundation: it ensures you never sell at a loss. The market-based method keeps you competitive in your sector. The psychological pricing method allows you to maximize margin by leveraging perceived value. In practice, the best approach is to calculate your price floor from costs, then adjust based on market conditions and purchasing psychology.

Essential selling price formulas

Selling price calculation relies on a few fundamental formulas that every e-commerce merchant must master. These formulas enable you to go from cost price to final selling price while integrating your target margin and applicable taxes.

Selling price (excl. tax) = Cost price / (1 - Target margin rate)Margin rate formula

This is the most widely used formula in commerce. If your cost price is 25.00 EUR and you target a 60% margin rate, the calculation is: SP = 25 / (1 - 0.60) = 25 / 0.40 = 62.50 EUR. Your gross margin will be 37.50 EUR per unit, exactly 60% of the selling price.

Selling price (excl. tax) = Cost price x Markup coefficientMarkup coefficient formula

The markup coefficient is a practical shortcut. A coefficient of 2.5 means your selling price is 2.5 times your cost price, corresponding to a 60% margin rate. For example: cost price of 25.00 EUR x 2.5 = 62.50 EUR. The relationship between coefficient and margin rate is: Coefficient = 1 / (1 - Margin rate).

Selling price (incl. tax) = Selling price (excl. tax) x (1 + Tax rate)Tax-inclusive price formula

To get the final price displayed to consumers, add VAT to the pre-tax price. With 20% VAT: SP incl. tax = 62.50 x 1.20 = 75.00 EUR. This is the price your customer sees on your website. Important: margin calculations must always be done on the pre-tax price, never on the tax-inclusive price.

i

Markup rate vs. margin rate: don't confuse them

Markup rate is calculated on the purchase cost: (SP - Cost) / Cost x 100. Margin rate is calculated on the selling price: (SP - Cost) / SP x 100. For a product bought at 40 EUR and sold at 100 EUR, the markup rate is 150% but the margin rate is 60%. These are complementary indicators, but the margin rate gives you the actual percentage of margin in your revenue.

Cost price: the foundation of selling price

The cost price is the cornerstone of selling price calculation. An inaccurate cost price inevitably leads to a miscalibrated selling price. Cost price is not limited to the supplier purchase price: it encompasses all costs required to make the product available to the customer.

1

Supplier purchase price

The unit price negotiated with your supplier, excluding taxes. Include supplier shipping costs (transport from factory or warehouse) and any customs duties for non-EU imports.

2

Inbound logistics costs

Transport from supplier to your warehouse, customs clearance, receiving handling, quality control. These costs are often forgotten but can represent 3 to 8% of the purchase cost.

3

Storage costs

Warehouse rent, stock insurance, storage equipment depreciation, cost of tied-up capital. Allocate these costs proportionally to the space occupied and average storage duration for each product.

4

Packaging and preparation costs

Box, padding, labels, tape, order preparation time. These unit costs seem small but add up: expect on average 1.50 to 4.00 EUR per order.

5

Customer shipping costs

Carrier rate (negotiated or standard grid), volumetric weight, surcharges for remote areas. If you offer free shipping, this cost must be integrated into the selling price.

6

Transaction fees and commissions

Payment commissions (Stripe, PayPal: 1.5 to 3.5%), marketplace commissions (8 to 20% on Amazon), monthly e-commerce platform fees allocated per order.

7

Customer acquisition cost

Average cost per acquisition (CPA) allocated to each sale. If you spend 3,000 EUR on advertising to generate 200 orders, your marketing cost per order is 15.00 EUR.

!

Hidden costs that distort your selling price

Several costs are systematically underestimated by e-commerce merchants: return costs (return shipping + reconditioning + value loss, typically 5 to 15 EUR per return), customer service costs (time spent on complaints), warehouse losses and breakage (1 to 3% of stock), and obsolescence of unsold items. Include a flat rate of 3 to 5% of selling price to cover these unpredictable costs.

Pricing strategies by product type

There is no universal pricing strategy in e-commerce. Your strategy choice depends on your positioning, target customer, competition, and product lifecycle. Here are the four main pricing strategies and when to apply them.

1

Premium strategy: pricing above market

Set a price 20 to 50% above competitors by leveraging quality, exclusivity, or customer experience. This strategy works for strong brands, artisanal products, limited editions, and products with high service levels. It requires polished branding and communication that justifies the price.

2

Penetration strategy: low prices to gain market share

Set a price below market to quickly attract a large volume of customers. This strategy suits new product launches or entry into competitive markets. Warning: it implies reduced margins and requires a plan for gradually increasing prices once the customer base is established.

3

Alignment strategy: matching market prices

Align your prices with direct competitors and differentiate on other criteria: customer service, delivery speed, loyalty programs, content. This is the most common strategy in e-commerce, especially on marketplaces where price comparison is immediate.

4

Dynamic pricing strategy: real-time adjustment

Modify your prices based on demand, seasonality, remaining stock, or competitor prices. This strategy is used by large e-commerce merchants and requires automation tools. It optimizes margin on each transaction but demands constant monitoring.

In practice, most e-commerce merchants use a combination of these strategies. Hero products can be competitively priced to generate traffic, while accessories and complementary products benefit from a premium margin. The key is never to set a price below your full cost price, regardless of the strategy chosen.

Common pricing mistakes

Pricing is an exercise where mistakes are frequent and costly. Here are the most common errors among e-commerce merchants and the consequences they have on profitability.

  • Calculating margin on the tax-inclusive price instead of the pre-tax price. VAT is not your revenue: it is collected on behalf of the government. Calculating margin on tax-inclusive prices gives you an artificially inflated margin and distorts all your decisions.
  • Forgetting shipping costs in the cost price. If you offer free shipping, shipping costs must be integrated into the selling price to preserve your margin.
  • Confusing markup rate and margin rate. A 100% markup rate corresponds to only a 50% margin rate. Using one instead of the other can make you believe your margin is twice what it actually is.
  • Ignoring return costs in the calculation. With return rates of 15 to 30% in online clothing, return costs can represent 5 to 10% of revenue.
  • Copying competitor prices without knowing your own costs. Your competitors may have different cost structures, higher volumes, or better supplier terms.
  • Applying the same coefficient to all products. Each product has a different cost structure (weight, volume, fragility, return rate). A blanket coefficient guarantees some products are underpriced and others overpriced.
  • Not revisiting prices regularly. Supplier costs, shipping fees, and commissions evolve. A price calculated a year ago may have become unprofitable.
!

The fatal mistake: selling at negative margin without knowing it

Some e-commerce merchants discover after several months that part of their catalog is sold at a loss. This happens when the full cost price (purchase + logistics + commission + marketing + returns) exceeds the pre-tax selling price. Without automated per-product margin tracking, this situation can persist for months and absorb profits generated by profitable products.


Fullmetrix: calculate and optimize your prices automatically

Selling price calculation should not be a one-time exercise done in a spreadsheet. With constantly evolving supplier costs, shipping fees, and commissions, your prices need continuous review. Fullmetrix automates this work by connecting your e-commerce store (WooCommerce, PrestaShop, Shopify) to a dashboard that calculates each product's margin in real time.

  • Real-time margin per product: Fullmetrix automatically calculates the gross and net margin of each product by integrating purchase cost, shipping fees, payment commissions, and marketing cost.
  • Automatic P&L statement: view at a glance the breakdown of your revenue between cost of goods, operating expenses, marketing spend, and net profit.
  • Alerts on unprofitable products: immediately identify products selling at negative margin or insufficient margin to cover fixed costs.
  • Price simulation: test the impact of a price change on your margin before applying it in production.
  • Historical margin tracking: analyze margin evolution over time to detect drift and adjust prices before it is too late.

With Fullmetrix, you move from approximate, one-time price calculation to precise, continuous pricing management. Every pricing decision is based on real data, not estimates.

FAQ: e-commerce selling price calculation

How to calculate a selling price from the cost price?

Use the formula: Selling price (excl. tax) = Cost price / (1 - Target margin rate). For example, for a cost price of 30 EUR and a 50% margin rate target, the selling price will be 30 / (1 - 0.50) = 60 EUR. Then add VAT to get the tax-inclusive price displayed to consumers.

What markup coefficient should I use in e-commerce?

The coefficient depends on your sector and positioning. On average, e-commerce merchants use a coefficient between 2.0 and 3.0 for standard products. A coefficient of 2.0 corresponds to a 50% margin rate, 2.5 to 60%, and 3.0 to 66.7%. For premium or high perceived value products, the coefficient can exceed 4.0.

Should shipping costs be included in the selling price?

If you offer free shipping, shipping costs must be integrated into your selling price to preserve your margin. Even if you charge the customer for shipping, it is recommended to include part of the logistics costs (order preparation, packaging) in the cost price for a realistic view of your net margin.

How often should selling prices be reviewed?

At minimum once per quarter, and more frequently if your costs are volatile (imported raw materials, international freight). Review your prices systematically with each supplier price change, each shipping fee modification, and before each peak activity period (sales, Black Friday, Christmas). A tool like Fullmetrix lets you monitor margins in real time and immediately detect products whose price needs adjustment.

Mezri
MezriFounder of Fullmetrix

Founder of Fullmetrix. E-commerce acquisition and analytics expert, I help merchants turn their data into profitable decisions.

LinkedIn

Turn this insight into measurable revenue

Fullmetrix unifies your e-commerce stack to track profit, LTV, cohorts and ad ROI on PrestaShop, WooCommerce and Shopify.

Continue reading

All your e-commerce data, finally unified.

Connect your PrestaShop, WooCommerce, or Shopify store and get your net profit in 5 minutes.

Free 30-day trial, no credit card required.