Ecommerce

Product Price Calculator

Calculate the right selling price based on your cost and target margin, find your gross margin from any two values, or back-calculate product cost.

Fill in the fields above to see your result.

Advertisement

Product Pricing Formulas

The three pricing variables are interrelated. Knowing any two lets you calculate the third.

Selling Price = Cost ÷ (1 − Margin%)

Cost = Price × (1 − Margin%)

Margin% = (Price − Cost) ÷ Price × 100

Example: Cost $25 at 50% margin → Price = $25 ÷ 0.50 = $50

Pricing Strategy for Ecommerce

Pricing products correctly is one of the most important decisions in ecommerce. Too low and you erode margin and signal low quality. Too high and you lose conversions to competitors. The starting point for any pricing decision is understanding your gross margin — the percentage of revenue that remains after covering the direct cost of the product.

Gross margin must be high enough to cover all your other costs: platform and payment processing fees, advertising, fulfilment, customer service, returns, and overhead. If your gross margin is 40% and total operating costs run at 35% of revenue, you have only 5% net margin before taxes — which leaves little room for error.

Use this calculator during product sourcing to immediately know the minimum price required for viability, during promotional planning to understand margin impact, and during competitive analysis to benchmark your structure against market prices.

Frequently asked questions

How do I calculate the right selling price for a product?
Divide your product cost by one minus the target gross margin as a decimal. For a product costing $25 with a 50% target margin, the selling price is $25 ÷ (1 − 0.50) = $50. This ensures your margin is calculated correctly relative to selling price rather than cost.
What is the difference between gross margin and markup?
Gross margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. A product costing $25 sold for $50 has a 50% gross margin but a 100% markup. The two are related by: Margin = Markup ÷ (1 + Markup). Retailers and accountants typically use margin, while wholesale and manufacturing contexts often use markup.
What gross margin should I aim for in ecommerce?
Healthy ecommerce gross margins vary widely by category. Physical goods typically target 40 to 60%, software and digital products can exceed 70 to 80%, and low-margin categories like electronics or commodities may operate at 10 to 20%. Your margin must also cover platform fees, fulfilment, returns, advertising, and overhead to achieve net profitability.
How do I use this calculator to price a new product?
Start in 'Find Selling Price' mode. Enter your total landed cost, which includes product cost, shipping to warehouse, and any import duties. Then enter your target gross margin. The calculator outputs the minimum selling price needed to hit that margin, which you can then test against market prices and competitor analysis.
Can I use this to reverse-engineer a competitor's margin?
Yes. Switch to 'Find Gross Margin' mode and enter your estimate of the competitor's cost and their publicly listed price. The result shows their approximate gross margin. This is useful for competitive benchmarking and understanding how much room you have to compete on price while maintaining your own margin targets.
What happens to my margin if I offer a discount?
Discounts compress margins significantly. A 10% discount on a product with a 40% margin reduces the margin to roughly 33%, which is a 17.5% relative drop in profitability. Use the 'Find Gross Margin' mode with the discounted price and original cost to see exactly how promotional pricing impacts your margin before committing to a sale.