November 8, 2026

How to Calculate Product Profit Margin for E-commerce

Pricing a product isn't just about charging more than you paid for it. The real question is how much of each sale you actually keep. For e-commerce businesses, two numbers matter most: markup and gross profit margin. They sound similar, but confusing them can lead to pricing decisions that leave less profit than expected.

Markup and gross profit margin are not the same number

Markup measures how much you add to a product's cost when setting its selling price. Gross profit margin measures what percentage of the selling price remains after subtracting the product's cost — the same dollar profit expressed against a different base.

Suppose you buy a product for $12 and apply a 60% markup. Your selling price becomes $19.20, which gives you $7.20 in gross profit per unit. But your gross profit margin isn't 60% — it's 37.5%. Markup is calculated against cost; margin is calculated against selling price, and the two percentages diverge every time there's any markup at all.

Calculating selling price from cost and markup

When you know the product cost and desired markup, the selling price is:

Selling Price = Product Cost × (1 + Markup Rate)

For a product costing $12 with a 60% markup: $12 × 1.60 = $19.20. That's the selling price before any separate taxes or customer-facing charges.

Calculating gross profit per product

Gross profit is the difference between selling price and product cost:

Gross Profit = Selling Price − Product Cost

$19.20 − $12 = $7.20. Each unit sold generates $7.20 in gross profit before other business expenses — useful for comparing products, but not the same thing as net business profit.

Calculating gross profit margin

Gross profit margin expresses that same gross profit as a percentage of selling price:

Gross Profit Margin = (Gross Profit ÷ Selling Price) × 100

($7.20 ÷ $19.20) × 100 = 37.5%. A 60% markup produces a 37.5% gross margin in this example — which is why the two numbers should never be used interchangeably when you're setting prices or reporting results.

Estimating monthly gross profit

Once you know gross profit per unit, you can estimate how much a product contributes across your expected sales volume:

Estimated Monthly Gross Profit = Gross Profit Per Unit × Monthly Units Sold

At 150 units a month: $7.20 × 150 = $1,080 in estimated monthly gross profit from that product. That figure isn't take-home earnings — advertising, marketplace fees, shipping, payment processing, returns, subscriptions, and other operating expenses all reduce what the business actually retains.

Why e-commerce sellers should track margins

An online store can generate substantial revenue without generating substantial profit. Tracking product margins helps with:

  • Pricing — identifying products priced too close to their cost.
  • Discounts — estimating how a promotion affects gross profit.
  • Product selection — comparing the gross profitability of different items.
  • Inventory purchasing — prioritizing products with attractive economics and realistic demand.
  • Growth decisions — understanding whether more sales volume is likely to improve results.

For a more complete profitability picture, track selling expenses and operating costs separately alongside gross margin — gross margin alone doesn't capture every cost of running the business.

Use FLYNT Sheets instead of calculating this by hand

If you're managing more than a handful of products, repeating these calculations by hand gets tedious fast. The Product Profit Margin Calculator in FLYNT Sheets takes your product cost, markup rate, and estimated monthly sales volume, then calculates selling price, gross profit per unit, gross profit margin, and estimated monthly gross profit automatically. Markup and gross margin are shown as two distinct numbers — never confused with each other, and never presented as your full business profit. Change any input and the rest recalculates.

It's one tool in FLYNT's broader set of E-commerce & Online Retail tools, which also covers inventory reorder planning and sales performance tracking — the business side of running a store, not a connected analytics platform or automatic sales feed. You enter your own numbers; nothing pulls from a storefront or payment processor automatically.

Frequently asked questions

Is markup the same as profit margin?

No. Markup measures profit relative to product cost. Gross profit margin measures profit relative to selling price. The percentages differ even when the underlying dollar profit is identical.

What is a good profit margin for an e-commerce business?

There's no universally correct margin. It depends on product category, competitive pricing, fulfillment costs, marketing expenses, and business model — compare your margins against your own store's expenses and goals.

Does gross profit include shipping and advertising?

Not necessarily — it depends on which costs you include in your product-cost calculation. The example above doesn't deduct advertising or other operating expenses. Account for those separately when evaluating overall profitability.

Can I calculate margins for multiple products?

Yes. A spreadsheet makes it straightforward to run the same calculation for different products and compare pricing scenarios consistently, without rebuilding the formulas each time.

Start pricing products with clearer numbers

Understanding the difference between markup and margin helps e-commerce sellers avoid one of the most common product-pricing mistakes. Start with your actual product costs, calculate selling price and gross margin, then account for the additional expenses involved in making each sale. Try the Product Profit Margin Calculator and see how the numbers change as you adjust pricing and sales volume.