Tracking & analytics14 min readUpdated October 14, 2026

Ecommerce Profitability Analysis: Find Your Real Margin per Order

Ecommerce profitability analysis, order by order: a margin waterfall with payment fees, refunds and chargebacks, break-even ROAS, channels and cohorts.

Article summary

TL;DR

Ecommerce profitability analysis measures what each order, product, channel and customer leaves you after every variable cost, not just product cost. Start from net sales, subtract COGS, shipping and fulfillment, payment fees, expected refunds and chargebacks, then marketing. That contribution margin gives your break-even ROAS and shows which parts of the store make money.

  • Gross margin only subtracts product cost. Contribution margin also subtracts shipping, payment fees, refunds, chargebacks and marketing, and it's the number that decides whether an order makes money.
  • Shopify's profit reports compute gross profit as net sales minus cost per item. Payment processing fees aren't in them: you find those in your processor's fee reports.
  • Break-even ROAS = net revenue per order ÷ contribution margin before marketing. A 50% contribution margin means you need about 2× ROAS just to break even.
  • Payment costs move with the order: international cards, currency conversion, refunds that don't return the fee, and dispute fees that come on top of the lost sale.
  • Customers repay their acquisition cost over several orders. Cohorts and subscription renewals, including failed payments you recover, decide whether a channel is really profitable.
Want to go further? AskChatGPTClaudePerplexityGrok
On this page

Revenue tells you how much came in. Profitability analysis tells you how much stayed. For an ecommerce brand, the useful version doesn't start with the P&L: it starts with one order and follows every cost that order triggers, from the discount to the payment fee to the chargeback that might arrive two months later. Once you have that, you can rank products, channels and customers by what they really leave you.

What profitability analysis means for an ecommerce store

A company-wide P&L tells you whether the business made money last quarter. It doesn't tell you which orders made it and which lost it. Ecommerce profitability analysis works one level down, at the unit that generates costs: the order. Then it groups orders four ways.

  1. Per order

    What one typical order leaves after every variable cost. The base for everything else, and for your break-even ROAS.

  2. Per product

    The same math by SKU or bundle. Weight, return rate and price change the answer more than gross margin suggests.

  3. Per channel and market

    Marketing cost, affiliate commissions, card mix and currency differ by channel and country.

  4. Per customer

    Repeat orders and subscription renewals, grouped by cohort, against what you paid to acquire each customer.

The metric that ties them together is contribution margin: net revenue minus every cost that rises and falls with the number of orders. Rent, salaries and software subscriptions stay out. They're fixed, and the total contribution of all your orders has to cover them.

The contribution margin waterfall, one order at a time

Take one order and walk down from the price the customer saw to what you keep. The example below is illustrative: the prices, costs and rates are invented to show the method, except the payment fee, which uses Stripe's standard US rate of 2.9% + 30¢ for a domestic card.4Stripe, Pricing (United States), October 2026

Fig. 1One order, from list price to contribution margin

LinePer orderWhat's in it
List price$80.00One product, free shipping
Discount (10% code)−$8.00Coupon, automatic discount, bundle price
Net sales$72.00What the customer paid for the product
Product cost (COGS)−$20.00Landed cost: unit, inbound freight, duties
Shipping and fulfillment−$10.00$7 postage, $3 pick, pack and packaging
Payment processing−$2.392.9% × $72 + $0.30
Refunds and returns−$3.005% × ($72 refunded − $20 resold + $8 label)
Chargebacks−$0.440.5% × ($72 lost + $15 fee)
Contribution before marketing$36.1750.2% of net sales
Marketing per order−$24.00Ad spend ÷ orders from those ads
Contribution after marketing$12.1716.9% of net sales

the 72% gross margin shrinks to 17%

Illustrative example. Payment fee at Stripe's US standard rate, 2.9% + 30¢ (October 2026). Returns reserve: 5% of orders returned, item resold, $8 return label. Chargeback reserve: 0.5% of orders disputed and lost, $15 fee.

Three choices in that table matter more than the numbers.

Discounts come off first. Every percentage after that is computed on what the customer actually paid. Shopify does the same: its net sales are gross sales minus discounts minus sales reversals, which cover returns, cancellations and other order adjustments.2Shopify Help Center, Sales report (metric definitions)

Refunds and chargebacks are reserves, not events. A return or a dispute hits only some orders, weeks after the sale. Spread the expected cost over every order using your own return and dispute rates, or a month with few returns will look better than it is. On a returned order you lose the revenue, get the item back if it can be resold, and pay the return label. The outbound shipping and the payment fee are already spent: Stripe doesn't return its processing fee when you refund.5Stripe Docs, Refund and cancel payments

Marketing comes last. Keeping it below the line gives you two numbers: what an order is worth before you pay to acquire it, and what's left after. The first one sets your break-even ROAS.

Practical rule

Build the waterfall from a real month of orders: actual discounts, actual postage invoices, actual processor fees and actual return rates. List prices and rate cards make every store look more profitable than it is.

Gross margin vs contribution margin

Shopify's profit reports compute gross profit as net sales minus cost, and margin as (net sales − cost) ÷ net sales × 100. The cost is the "cost per item" you enter on each product or variant.1Shopify Help Center, Profit reports On the order above, that gives:

72.2%

Gross margin, the Shopify view: ($72 − $20) ÷ $72

50.2%

Contribution before marketing: $36.17 ÷ $72

16.9%

Contribution after marketing: $12.17 ÷ $72

Gross margin is a property of the product. Contribution margin is a property of the order: how you ship it, how the customer pays, how often it comes back, and what you spent to get it. Two products with the same gross margin can have very different contribution margins.

Shopify's help center also lists three limits of its own profit reports worth knowing before you rely on them:1Shopify Help Center, Profit reports

  • Profit is reported only for products and variants that had a cost recorded at the time they were sold. Orders without a cost can drop out, so net sales in the profit reports may not match the sales reports.
  • Cost per item is static. Change a supplier price and past reports don't follow.
  • The cost per item excludes shipping in Shopify's own example. The profit margin by order and by market reports bring in shipping charges and shipping costs, duties and import taxes. Payment fees aren't mentioned in any of them.

Payment costs: the line most profit analyses leave out

Payment processing is a few percent of each order, which is why it gets rounded away. It's also the cost that changes most from one order to the next. The base rate is only the start; the full breakdown is in what is a transaction fee, and the part that goes to the card-issuing bank is explained in interchange fees.

Payment costWhen it appliesCost on the $72 order
Base rateEvery domestic card payment: 2.9% + 30¢ at Stripe and on Shopify Payments Basic (US)4Stripe, Pricing (United States), October 20268Shopify, Pricing (US), October 2026$2.39
International cardCard issued in another country: +1.5% at Stripe, +1% on Shopify Payments4Stripe, Pricing (United States), October 20268Shopify, Pricing (US), October 2026+$1.08 at Stripe
Currency conversionPayment and payout currencies differ: +1% at Stripe, 1.5% on Shopify Payments for US stores4Stripe, Pricing (United States), October 20269Shopify Help Center, International pricing fees and costs+$0.72 at Stripe
Third-party provider on ShopifyStore that doesn't use Shopify Payments: 2% on Basic, down to 0.2% on Plus, on top of the provider's fee8Shopify, Pricing (US), October 2026+$1.44 on Basic
RefundStripe and Shopify Payments keep the original fee; a cancel before capture costs nothing at Stripe5Stripe Docs, Refund and cancel payments9Shopify Help Center, International pricing fees and costs$2.39 not returned
ChargebackStripe US: $15 when the dispute arrives, $15 more to respond, returned if you win6Stripe Support, June 2025 pricing updates for disputes$15 to $30, plus the $72

A foreign customer paying in their own currency costs $1.80 more at Stripe on this order. Contribution before marketing falls from $36.17 to $34.37, and break-even ROAS rises from 1.99 to 2.09. Small per order, but it's the difference between a market that pays and one that doesn't when your ads run close to break-even.

Chargebacks cost more than their fee. The disputed amount leaves your balance when the dispute opens, the goods rarely come back, and each dispute counts in the ratio card networks monitor. The fee table by processor is in chargeback fees; how to keep the rate down is in chargeback prevention. A refund issued before the customer disputes almost always costs less, as chargeback vs refund shows.

How to calculate break-even ROAS

ROAS is revenue divided by ad spend. Break-even ROAS is the ROAS at which the ad-driven order leaves exactly zero: the contribution before marketing pays for the ads and nothing more.

Break-even ROAS = net revenue per order ÷ contribution margin before marketing per order

Or, as a percentage: 1 ÷ contribution margin %. On the example order, 72 ÷ 36.17 = 1.99. Any campaign that returns less than about $1.99 of net sales per $1 of ad spend loses money on every order it brings.

  1. Compute contribution before marketing. $72 − $20 − $10 − $2.39 − $3.00 − $0.44 = $36.17.
  2. Divide revenue by it. $72 ÷ $36.17 = 1.99. That's your floor.
  3. Read it as a cost per order too. You can spend up to $36.17 of marketing per order before losing money: that's your break-even cost per acquisition for a one-time buyer.
  4. Add your target. To keep 10% of net sales ($7.20) after ads, marketing can take $36.17 − $7.20 = $28.97 per order, so target ROAS = 72 ÷ 28.97 = 2.49.
  5. Compare with the ROAS you measure, using the same revenue definition. At $24 of ads per order, this store runs at 3.0, above both lines.

Illustrative example, from the order in figure 1.

Two ways to get break-even ROAS wrong

Don't subtract ad spend before dividing: the formula uses the margin before marketing, or you count the ads twice. And check what revenue your ad platform reports. If it includes tax, shipping charges or orders later refunded, its ROAS will look higher than the one you computed on net sales.

Break-even ROAS isn't one number for the store. It changes by product, by market and by channel, because each one changes the costs above the marketing line. That's what the next three views are for.

Profitability by product

Run the same waterfall for each product or bundle you sell. The illustrative table below shows why gross margin is a poor guide: the product with the best gross margin has the weakest contribution.

Fig. 2Three products, three break-even ROAS

Per orderSerumStarter kitBundle
Net sales$72.00$45.00$120.00
Product cost$20.00$9.00$42.00
Gross margin (Shopify view)72.2%80.0%65.0%
Shipping and fulfillment$10.00$12.00 (bulky box)$11.00
Payment fee$2.39$1.61$3.78
Return rate5%8%4%
Refunds and chargebacks reserve$3.44$3.82$4.12
Contribution before marketing$36.17 (50.2%)$18.57 (41.3%)$59.10 (49.3%)
Break-even ROAS1.992.422.03

highest gross margin, lowest contribution

Illustrative example. Same cost rules as figure 1: Stripe US fee 2.9% + 30¢, returns reserve = return rate × (refund − resold cost + $8 label), chargebacks 0.5% with a $15 fee.

The starter kit has the best gross margin and the worst economics. It's cheap, so the 30¢ fixed part of the payment fee weighs more; it ships in a large box; and it gets returned more. If it's your entry offer, it only works if those customers come back, which the cohort view below will tell you.

The bundle has the lowest gross margin and the most dollars per order. Shipping and payment costs are spread over a bigger basket. That's why a lower-margin bundle can be the better thing to advertise.

Inside Tagada

Build the funnel once, route every customer to the right offer

Checkout, upsells and subscriptions on one flow, with conditions per country, order or customer.

Start free

Profitability by channel and market

Same product, different routes to the customer. Marketing is the biggest difference, but not the only one: affiliates take a commission, some markets bring more foreign cards and currency conversion, and some channels attract customers who return more.

Serum, per orderMarketing per orderContribution after marketingMeasured ROAS vs break-even
Paid social, new customers$30.00$6.172.4 vs 1.99
Search ads, brand terms$8.00$28.179.0 vs 1.99
Email and SMS, existing customers$1.00$35.17Not an ad channel
Affiliate at 15% commission$10.80$25.37Commission, not ROAS
Paid social, foreign customers paying in their currency$30.00$4.372.4 vs 2.09

Illustrative example, built on the serum order in figure 1.

Two things come out of a table like this. First, a channel that looks fine in the ad platform can be thin once the full cost stack is in: paid social to foreign customers keeps $4.37 per order here. Second, channels that look cheap often feed on customers another channel paid to acquire. Email to existing customers is profitable because paid social brought those customers in. Judge channels on new and returning customers separately, and on attribution you trust: server-side tracking and the tools in conversion tracking tools help there.

Customer and cohort profitability, and CAC payback

A first order often doesn't repay the cost of acquiring the customer. The repeat orders do, with little or no acquisition cost attached. To see it, group customers by the month of their first order and add up the contribution of everything they buy afterwards. The method is in what is cohort analysis, and the lifetime value side in what is CLTV.

Fig. 3Cumulative contribution per customer, January cohort

029580 mo1 mo3 mo6 mo12 moPasses the $40 CAC$17.87 above CAC

Cumulative contribution per customer, USD

the $40 CAC is repaid between month 1 and month 3

Illustrative example. 1,000 first-time customers acquired at $40 each; every order leaves $36.17 before marketing (figure 1). Cumulative orders per original customer: 1.00, 1.07, 1.20, 1.35, 1.60. USD.

Read the line against the $40 the store paid per new customer. The first order leaves $36.17, so the customer starts $3.83 in the red. By month 3, the cohort has placed 1.20 orders per original customer and has repaid its acquisition cost. By month 12, each customer has left $17.87 more than they cost.

That month is the CAC payback period: the time it takes for the cumulative contribution of a cohort, before acquisition marketing, to equal what you spent acquiring it. For a subscription with a steady monthly contribution, the shortcut is CAC ÷ monthly contribution per subscriber. With churn, the cohort table is more honest than the shortcut.

Keep the cohort math consistent

Divide by every customer the cohort started with, including those who never came back. Subtract refunds and chargebacks from the cohort's orders. And if repeat orders need discounts or retention campaigns, take those out of the contribution too: otherwise payback looks shorter than it is.

Subscription economics: renewals and recovered payments

In a subscription, every renewal that goes through is an order with no acquisition cost. Every renewal that fails and isn't recovered is contribution you'd already paid for, lost. That makes the payment line more than a fee: it decides how many renewals you collect at all.

Stripe's revenue recovery dashboard uses four definitions worth adopting even if you use another tool: failed payments, the subscription payments that failed on the first attempt; failure rate, their share of subscription payment volume; recovered payments, those recovered afterwards through retries, emails or other methods; and recovery rate, the share of failed volume recovered by any means.7Stripe Docs, Revenue recovery analytics

Fig. 41,000 renewals due on a $40 monthly plan

  1. Renewals due1000
  2. Paid on first attempt8% failure rate920
  3. Recovered by retries and emails50% recovery rate40
  4. Lost to failed paymentinvoluntary churn40

every recovered renewal is pure contribution

Illustrative example. Contribution per renewal: $40 − $12 product − $7 shipping − $1.46 payment fee − $1.00 refunds and chargebacks reserve = $18.54. Failure and recovery rates are invented.

The store collects 960 renewals, a 96% renewal rate, for $17,798 of contribution that month. The 40 recovered renewals are worth $742 by themselves, and each recovered subscriber keeps renewing the following months. The 40 lost ones are involuntary churn: customers who didn't decide to leave.

Why renewals fail and how to prevent it is covered in subscription payment failures. How retries, reminder emails and grace periods work is in dunning and failed payment recovery. For the profitability analysis itself, track three things per cohort: the renewal rate, the recovery rate, and the contribution per renewal after payment fees.

Where each cost lives

The hard part of the analysis is collecting the numbers, because no single report has them all. Here is where each line of the waterfall usually comes from.

Line of the waterfallWhere to find itWatch out for
Gross sales, discounts, net salesShopify sales reportsNet sales = gross sales − discounts − sales reversals2Shopify Help Center, Sales report (metric definitions)
Product costCost per item on each product, Shopify profit reportsOnly orders with a recorded cost; static cost1Shopify Help Center, Profit reports
Shipping and fulfillmentCarrier and 3PL invoices; Shopify's profit margin by order reportSurcharges and address corrections land on the invoice, not the order
Payment feesShopify Payments activity report (Finance > Documents); Stripe fee reportsNot in Shopify's Finance Summary3Shopify Help Center, Finances report
RefundsSales reversals in Shopify; refunds in your processor's balanceFees on the original payment aren't returned5Stripe Docs, Refund and cancel payments
ChargebacksYour processor's dispute list and fee linesFee plus lost amount, often a month or two after the sale
Currency conversionProcessor statement, per payoutShows as a fee or as a rate spread
MarketingAd platforms, affiliate network, email and SMS toolsSame revenue definition as your break-even ROAS

Shopify's Finance Summary doesn't show processing fees. Its payments reports compute net payments as amount paid minus amount refunded, with no fees subtracted; the reconciled breakdown of fees and payouts is the Shopify Payments activity report.3Shopify Help Center, Finances report If you use another processor, or several, its statement is the source. How to read a merchant statement shows where each fee sits.

Common mistakes in ecommerce profit analysis

  1. Using gross margin as the profit numberShipping, payment fees, returns and marketingBuild the contribution waterfall per order
  2. Payment fees left out or averagedInternational cards, conversion, third-party fees, dispute feesTake actual fees from processor reports, by market
  3. Refunds counted only when they happenA good month followed by a bad oneReserve the expected refund cost on every order
  4. Return shipping and lost goods ignoredThe real cost of a returnAdd the label, and the cost of items you can't resell
  5. Chargebacks counted as the fee onlyThe order amount and the goods are gone tooReserve amount + fee × your dispute rate
  6. One break-even ROAS for the whole storeProducts and markets with thinner marginsCompute it per product and per market
  7. Fixed costs mixed into contributionWhich orders really pay for the businessKeep salaries, rent and software below the line
  8. Judging new-customer channels on the first orderRepeat orders and renewalsUse cohort contribution and payback

How often to run it

Once a month is enough for most stores, at the close, when processor fees, refunds and invoices are in. Recompute the per-order waterfall from that month's actual numbers, update break-even ROAS by product and market, add the month to each cohort, and record renewal and recovery rates. Rerun it whenever a cost moves: a carrier rate change, a new processor, a new market, or a new entry offer.

Where Tagada fits

How Tagada helps

Checkout, subscriptions and payments in one place

Tagada runs the checkout, with one-click upsells and order bumps, and subscriptions with trials, billing cycles, dunning and automatic retries. Payments route across TagadaPay and processors such as Stripe, NMI and Airwallex, with one set of rules and a cascade to another processor when one is down or times out, and the card vault lets you switch processors without re-onboarding customers. Server-side tracking sends conversions to Meta, Google and TikTok. Pricing is on the pricing page.

Whatever tools you use, the method stays the same: one order, every variable cost, then the same math by product, channel and cohort.

Nick Bonnassies

CMO at Tagada

CMO at Tagada. Before Tagada, Nick built direct-to-consumer brands that generated over $115M in sales, raised over $25M in crowdfunding and sold two of them. He also works as a fractional CMO on marketing operations and AI systems.

Frequently asked questions

How do you do a profitability analysis for an ecommerce store?

Pick one order and list every cost it triggers: product cost, shipping and fulfillment, payment fees, expected refunds and chargebacks, then marketing. What's left is the contribution margin. Repeat it by product, by channel and by customer cohort, then compare the results with your fixed costs. Use a month of real data, not list prices.

What is the difference between gross margin and contribution margin in ecommerce?

Gross margin subtracts only the cost of the goods: Shopify computes it as net sales minus cost, divided by net sales. Contribution margin also subtracts the costs that come with each order, such as shipping, payment fees, returns, chargebacks and marketing. It is always lower, and it's the one that tells you whether an order makes money.

How do you calculate break-even ROAS?

Divide net revenue per order by the contribution margin per order before marketing. If an order brings $72 and leaves $36.17 after product, shipping, payment fees, refunds and chargebacks, break-even ROAS is 72 ÷ 36.17, about 1.99. Below that, each ad-driven order loses money. Don't subtract ad spend in the margin first, or you count it twice.

Does Shopify show profit after payment fees?

No. Shopify's profit reports compute gross profit as net sales minus the cost per item you recorded, and only for products that had a cost when they were sold. Payment processing fees appear in the Shopify Payments activity report and in your billing, not in the profit reports. Add them yourself to get contribution margin.

What costs should be included in cost per order?

Landed product cost, packaging, pick and pack, outbound postage, payment processing fees including international and currency conversion surcharges, a reserve for refunds and return shipping, a reserve for chargebacks and their fees, and the marketing attributable to the order. Leave out rent, salaries and software: they're fixed costs, covered by the total contribution.

How do you measure the profitability of a customer?

Group customers by the month of their first order, add up the contribution margin of every order they place over time, and divide by the number of customers in the group. Compare that cumulative figure with what you paid to acquire them. The month it passes acquisition cost is your payback period.

Sources

Checked October 14, 2026
  1. Shopify Help Center, Profit reports
  2. Shopify Help Center, Sales report (metric definitions)
  3. Shopify Help Center, Finances report
  4. Stripe, Pricing (United States), October 2026
  5. Stripe Docs, Refund and cancel payments
  6. Stripe Support, June 2025 pricing updates for disputes
  7. Stripe Docs, Revenue recovery analytics
  8. Shopify, Pricing (US), October 2026
  9. Shopify Help Center, International pricing fees and costs

Tagada

Keep more of every order you already paid to win

Funnels, one-click upsells, subscription billing and payment routing, on one customer record.

  1. 01Create your free account
  2. 02Connect your store or build a checkout
  3. 03Launch funnels, upsells and subscriptions