FinancePublic

Calculate Real Ecommerce Profit Before Pricing

Before setting price, put COGS, fulfillment, payment fees, discounts, refunds, and ad payback into one cost stack instead of looking only at product cost.

By RanfengMay 21, 20265 min read
Calculate Real Ecommerce Profit Before Pricing

Start with this read

Before setting price, put COGS, fulfillment, payment fees, discounts, refunds, and ad payback into one cost stack instead of looking only at product cost.

Is gross margin enough for pricing? No. Product gross margin only deducts COGS. Pricing also needs payment fees, fulfillment, discounts, refunds, support, ad tolerance, and cash timing. Contribution profit is the minimum useful layer.

Many new stores price from one number: supplier cost. That is the fastest way to misread profit. The real pricing floor is not COGS alone. It is COGS, packaging, warehousing, fulfillment, payment fees, platform fees, discounts, refunds, duties or tax boundaries, support, and ad payback combined into contribution profit. A product that looks like it has 60% gross margin can still lose money per order if several layers are missing.

This article does not give a fee table because platform plans, payment providers, rates, and markets change. Treat it as a pricing cost stack: where each cost comes from, what teams usually miss, and when to move into the Ecomwith pricing calculator for scenario testing. The goal is not one perfect price. It is knowing the floor you cannot sell below, the discount that destroys margin, and the ROAS your ads must clear.

Product cost is not the pricing floor

COGS is product cost, not order cost. Suppose a supplier charges $18 and you plan to sell at $49. The margin looks healthy. But add $5 for packaging and fulfillment, $3 for payment and platform fees, $6 average shipping subsidy, $5 discount, $3 refund loss, and $2 support and exceptions. Contribution profit can fall to roughly $7. That leaves very little room for paid acquisition.

Separate three profit layers. Product gross margin compares item revenue and COGS on a consistent basis. The pre-ad contribution in this example also deducts order-variable costs. Operating profit must account for advertising and applicable fixed expenses. An inventory deposit uses cash but is not automatically another current-period cost of goods sold; check inventory recognition and financing expenses separately under the applicable accounting framework. Protect contribution room and plan inventory cash without treating them as interchangeable.

Cost layers to include before setting price

The first layer is product and packaging: purchase price, samples, defects, packaging material, and inspection. The second is fulfillment: warehousing, pick-pack, domestic freight, international freight, exceptions, and reshipments. The third is transaction cost: payment fee, platform transaction fee, currency loss, refund processing, and dispute cost. The fourth is promotion: discount, gift, free shipping subsidy, affiliate commission, and creator samples.

The fifth layer is refund and support: return shipping, unsellable returns, support time, and chargeback risk. The sixth is ad payback: how much you can spend on a first order and how much repeat purchase, email, accessories, or subscription revenue is proven later. The seventh is cash timing: inventory deposits, ad prepay, payout delay, and supplier terms. Profit lives not only inside an order, but also in when cash leaves and returns.

A simple SKU example

First define this hypothetical ledger: 59 USD is the item amount before discount, not an already-discounted payment. Costs are COGS 22, packing and handling 6, payment/platform fees 3, separately charged freight subsidy 7, one discount 4, estimated refund loss 3, and support/exception cost 2. Handling excludes that freight, and the refund estimate has not already reduced revenue. Pre-ad contribution is 59 - 22 - 6 - 3 - 7 - 4 - 3 - 2 = 12. Using the pre-discount 59 numerator gives a contribution ratio near 20.3% and zero-contribution ROAS of 59 / 12, about 4.92. Using discounted item payment 55, before the estimated refund, instead gives 55 / 12, about 4.58. Do not mix these bases; deduct matched ad cost separately to reach post-ad contribution.

Now model a bundle whose pre-discount item amount increases from 59 to 79, with 12 of extra COGS and handling and all other assumptions temporarily unchanged. The extra 20 of revenue is not all profit: 12 + (79 - 59) - 12 = 20, so pre-ad contribution is 20, not 26. On the same pre-discount basis, 20 / 79 is about 25.3%, and zero-contribution ROAS is 79 / 20 = 3.95, or 395%. After the same 4 discount, item payment is 75 before the estimated refund; 20 / 75 is about 26.7% and ROAS is 75 / 20 = 3.75. Recalculate if freight, fees, or refunds change with the bundle instead of silently keeping them fixed. AOV, bundle structure, shipping thresholds, discounts, inventory mix and refunds all change what ads can afford; this model is not an observed price-test outcome.

How refunds and discounts change the answer

Refunds are not only a support problem; they are a pricing variable. A product with an 8% refund rate and a product with a 2% refund rate can have identical price and COGS but completely different ad tolerance. Refunds may also include return shipping, unsellable inventory, support time, and disputes. Pricing models should include expected refund loss before the month-end report arrives.

Discounts are not only a conversion lever. Ten percent off, free shipping, buy X get Y, bundle pricing, automatic discounts, and discount codes affect AOV, margin, buyer expectation, and repeat quality differently. Before launching a promotion, ask whether the goal is first-order conversion, inventory movement, AOV lift, or list growth. Without a clear job, the store often trades profit for low-quality orders.

When to use the pricing calculator

Use the pricing calculator when you can list price, COGS, payment cost, fulfillment, shipping subsidy, discount, refund rate, and ad cost. Run at least three scenarios: normal price, promotion price, and bundle price. For each scenario, review contribution profit, contribution margin, acceptable CPA, break-even ROAS, and cash recovery timing. Do not stop at gross margin percentage.

If the calculator shows thin profit, inspect four directions before reacting: price may be too low, bundle or AOV may need work, fulfillment or shipping may need redesign, or ads may need a smaller test. Cutting ad budget is not the only answer. Healthy pricing is the shared result of page promise, promotion, logistics, inventory, and acquisition economics.

Pricing cost stack

Cost layerWhere to get itCommon mistakeCalculator input
COGSSupplier quote, purchase order, BOMUsing purchase cost only and missing packaging or defectsProduct cost
Fulfillment3PL bill, warehouse fees, freight tableUsing standard freight only and missing reships or free-shipping subsidyFulfillment and shipping cost
Payment feesShopify, gateway, payout statementUsing a rough percent and missing cross-border or refund costsPayment and transaction fee
DiscountsDiscount rules, order reports, affiliate commissionsReading conversion lift without margin dilutionDiscount and commission
RefundsRefund rate, support logs, return costTreating refunds as a month-end issue, not pricing inputRefund and support loss

Sources

Next path

Connect this article to execution

Real-profit pricing should connect discounts, bundles, break-even ROAS, and startup cost instead of stopping at product cost.

FAQ

Is gross margin enough for pricing?

No. Product gross margin only deducts COGS. Pricing also needs payment fees, fulfillment, discounts, refunds, support, ad tolerance, and cash timing. Contribution profit is the minimum useful layer.

Should ad cost be included in product pricing?

Ad cost does not always become a direct markup, but it must shape break-even logic. Price and contribution margin decide the CPA or ROAS the business can afford.

How do refunds affect break-even?

Higher refund rate increases expected loss per order, lowers contribution margin, and raises break-even ROAS. Return shipping, support time, and unsellable returns can make the effect larger.

When should I raise price instead of cutting ad spend?

If tracking is reliable and traffic quality is acceptable but contribution profit is persistently thin, inspect price, bundle, AOV, fulfillment cost, and discount design before only cutting budget.

#pricing#profit#cogs#refunds#contribution margin