Pricing · United States

    Ecommerce Pricing Formula: Include Ads, Returns, Shipping and Platform Fees

    A practical ecommerce pricing formula that includes advertising cost, returns, shipping, and platform fees — with worked USD example.

    By AIFlowBiz Editorial TeamPublished 2026-01-15Last updated 2026-01-1510 min read

    The right ecommerce price is the one that covers all variable costs and leaves your target margin — including ads. A common mistake is pricing from cost + markup and only later realizing ads and returns wiped the margin. The formula below prices for a target margin after everything variable.

    Use it before launching a product, and re-run it whenever COGS, ad costs, or return rates shift by more than 10%.

    The formula

    Price = (COGS + Shipping + Ad cost per order + Return reserve) ÷ (1 − Target margin − Platform fee %)

    Target margin is expressed as a decimal (0.25 for 25%). Platform fee is also a decimal (0.029 for Shopify Payments; higher for marketplaces).

    Step-by-step build

    1. Calculate landed COGS — supplier price, freight in, duty, inbound shipping.
    2. Add shipping absorbed per order (net of what the customer pays).
    3. Add ad cost per order — total ad spend ÷ orders from ads. If unknown, start with 15% of projected AOV.
    4. Add a return reserve — 5% for stable categories, 15–30% for apparel and beauty.
    5. Sum these variable costs.
    6. Divide by (1 − target margin − platform fee %). The result is your minimum viable price.

    Example calculation (USD)

    USD worked example — Shopify apparel brand

    LineValue
    Landed COGS$16.00
    Shipping absorbed$5.00
    Ad cost per order$9.00
    Return reserve (20% of expected price)$12.00
    Sum of variables$42.00
    Target margin25%
    Payment fee3%
    Price = $42 ÷ (1 − 0.25 − 0.03)$58.33
    Recommended list price$59.00

    If the market price for a comparable product is $49, you have three choices: cut COGS, cut ad cost, or accept a smaller margin. Never launch below break-even hoping ads will save you.

    Common mistakes to avoid

    • Pricing from cost + markup without modeling ads.
    • Using a return reserve as a percentage of COGS instead of a percentage of price.
    • Assuming ad cost per order stays flat as you scale — it usually rises.
    • Ignoring platform fees on marketplaces where they are higher than Shopify Payments.
    • Not rerunning the formula after a big shipping rate change.

    Best practices

    • Rerun the formula every quarter or after any COGS/ad-cost change.
    • Segment by product tier — cheap SKUs cannot absorb the same ad cost per order as premium.
    • Have a floor price you never go below, even on promotions.
    • Compare your calculated price against the market — if you can't match, fix costs, don't discount margin.
    • Model at target ad cost, then track actual and update.

    Frequently asked questions

    How do I estimate ad cost per order for a new product?

    Look at your existing store's average cost per order from paid, or use 15% of expected AOV as a placeholder. Update after your first 200 orders.

    Is a return reserve really necessary?

    Yes if your category has real return rates. Ignoring it means every return eats margin from other orders.

    Should I price for gross or net margin?

    Net. Gross margin ignores ads and shipping, which are the two costs most likely to move.

    References & resources

    This article is for general information only and is not financial, tax, or legal advice. Always confirm current marketplace fees, tax rules, and carrier rates from official sources before making business decisions.

    AI Business OS

    Ready to run your business smarter with AIFlowBiz?

    Orders, invoices, payments, inventory, automation and AI insights — in one calm, cinematic dashboard built for Indian sellers.

    © 2026 AIFlowBiz · Made in India

    Razorpay payments · GST-ready · Row-level security

    AIFlowBiz Support

    We're here to help — usually replies instantly

    Hi! I'm AIFlowBiz Support. Pick a quick question or type your own.

    Quick help

    Complete AIFlowBiz tutorial Contact our team

    AIFlowBiz Support • For legal/tax advice, please consult a professional.