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.
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.
Per order
What one typical order leaves after every variable cost. The base for everything else, and for your break-even ROAS.
Per product
The same math by SKU or bundle. Weight, return rate and price change the answer more than gross margin suggests.
Per channel and market
Marketing cost, affiliate commissions, card mix and currency differ by channel and country.
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
| Line | Per order | What's in it |
|---|---|---|
| List price | $80.00 | One product, free shipping |
| Discount (10% code) | −$8.00 | Coupon, automatic discount, bundle price |
| Net sales | $72.00 | What the customer paid for the product |
| Product cost (COGS) | −$20.00 | Landed cost: unit, inbound freight, duties |
| Shipping and fulfillment | −$10.00 | $7 postage, $3 pick, pack and packaging |
| Payment processing | −$2.39 | 2.9% × $72 + $0.30 |
| Refunds and returns | −$3.00 | 5% × ($72 refunded − $20 resold + $8 label) |
| Chargebacks | −$0.44 | 0.5% × ($72 lost + $15 fee) |
| Contribution before marketing | $36.17 | 50.2% of net sales |
| Marketing per order | −$24.00 | Ad spend ÷ orders from those ads |
| Contribution after marketing | $12.17 | 16.9% of net sales |
the 72% gross margin shrinks to 17%
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 cost | When it applies | Cost on the $72 order |
|---|---|---|
| Base rate | Every 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 card | Card 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 conversion | Payment 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 Shopify | Store 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 |
| Refund | Stripe 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 |
| Chargeback | Stripe 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.
- Compute contribution before marketing. $72 − $20 − $10 − $2.39 − $3.00 − $0.44 = $36.17.
- Divide revenue by it. $72 ÷ $36.17 = 1.99. That's your floor.
- 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.
- 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.
- 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 order | Serum | Starter kit | Bundle |
|---|---|---|---|
| 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 rate | 5% | 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 ROAS | 1.99 | 2.42 | 2.03 |
highest gross margin, lowest contribution
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.

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 order | Marketing per order | Contribution after marketing | Measured ROAS vs break-even |
|---|---|---|---|
| Paid social, new customers | $30.00 | $6.17 | 2.4 vs 1.99 |
| Search ads, brand terms | $8.00 | $28.17 | 9.0 vs 1.99 |
| Email and SMS, existing customers | $1.00 | $35.17 | Not an ad channel |
| Affiliate at 15% commission | $10.80 | $25.37 | Commission, not ROAS |
| Paid social, foreign customers paying in their currency | $30.00 | $4.37 | 2.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
Cumulative contribution per customer, USD
the $40 CAC is repaid between month 1 and month 3
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
every recovered renewal is pure contribution
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 waterfall | Where to find it | Watch out for |
|---|---|---|
| Gross sales, discounts, net sales | Shopify sales reports | Net sales = gross sales − discounts − sales reversals2Shopify Help Center, Sales report (metric definitions) |
| Product cost | Cost per item on each product, Shopify profit reports | Only orders with a recorded cost; static cost1Shopify Help Center, Profit reports |
| Shipping and fulfillment | Carrier and 3PL invoices; Shopify's profit margin by order report | Surcharges and address corrections land on the invoice, not the order |
| Payment fees | Shopify Payments activity report (Finance > Documents); Stripe fee reports | Not in Shopify's Finance Summary3Shopify Help Center, Finances report |
| Refunds | Sales reversals in Shopify; refunds in your processor's balance | Fees on the original payment aren't returned5Stripe Docs, Refund and cancel payments |
| Chargebacks | Your processor's dispute list and fee lines | Fee plus lost amount, often a month or two after the sale |
| Currency conversion | Processor statement, per payout | Shows as a fee or as a rate spread |
| Marketing | Ad platforms, affiliate network, email and SMS tools | Same 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
- Using gross margin as the profit numberShipping, payment fees, returns and marketingBuild the contribution waterfall per order
- Payment fees left out or averagedInternational cards, conversion, third-party fees, dispute feesTake actual fees from processor reports, by market
- Refunds counted only when they happenA good month followed by a bad oneReserve the expected refund cost on every order
- Return shipping and lost goods ignoredThe real cost of a returnAdd the label, and the cost of items you can't resell
- Chargebacks counted as the fee onlyThe order amount and the goods are gone tooReserve amount + fee × your dispute rate
- One break-even ROAS for the whole storeProducts and markets with thinner marginsCompute it per product and per market
- Fixed costs mixed into contributionWhich orders really pay for the businessKeep salaries, rent and software below the line
- 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.
Frequently asked questions
How do you do a profitability analysis for an ecommerce store?
What is the difference between gross margin and contribution margin in ecommerce?
How do you calculate break-even ROAS?
Does Shopify show profit after payment fees?
What costs should be included in cost per order?
How do you measure the profitability of a customer?
Sources
Checked October 14, 2026- Shopify Help Center, Profit reports
- Shopify Help Center, Sales report (metric definitions)
- Shopify Help Center, Finances report
- Stripe, Pricing (United States), October 2026
- Stripe Docs, Refund and cancel payments
- Stripe Support, June 2025 pricing updates for disputes
- Stripe Docs, Revenue recovery analytics
- Shopify, Pricing (US), October 2026
- 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.
- 01Create your free account
- 02Connect your store or build a checkout
- 03Launch funnels, upsells and subscriptions
