Average order value can rise because many shoppers buy slightly more, or because one unusually large order enters a small sample. Those situations can produce the same headline while suggesting very different merchandising decisions. Before raising a forecast or declaring a bundle successful, inspect how much the average depends on a few transactions.
EcomToolkit’s approach is to report the average with its definition, distribution, and uncertainty. Bootstrap resampling can help assess stability under a stated sampling model. It cannot manufacture missing customer types or establish that a promotion caused the change. The examples in this guide are hypothetical and intentionally small enough to check by hand.
Table of Contents
- Decide whether you need a description or an estimate
- See what one large order can do
- Understand what the bootstrap resamples
- Match the resampling unit to the data
- Separate uncertainty from commercial mix changes
- Report a sensitivity analysis people can use
- EcomToolkit point of view
Decide whether you need a description or an estimate
If you have every eligible order from a completed day, that day’s average is an exact description of those recorded orders, subject to data quality. You do not need a confidence interval to discover the average of the rows you already possess. Uncertainty becomes relevant when you use those orders to infer a broader purchasing process or inform future decisions.
Define the numerator before calculating anything. Does revenue exclude tax and shipping? Is it net of discounts? Are refunds reflected as of the order date or the reporting date? Use one currency and an explicit conversion convention when combining markets. A statistical method cannot reconcile incompatible revenue definitions.
Define the denominator just as carefully. Completed orders, paid orders, and all checkout submissions produce different averages. The metric grain guide provides the foundation for distinguishing order-level measures from customer-level outcomes. Preserve the raw numerator and denominator so someone else can reproduce the reported value.

See what one large order can do
Consider ten orders: nine worth £50 and one worth £500. Total revenue is £950 and average order value is £95. The median order is £50. The large order contributes approximately 52.63% of revenue, so the mean tells a different story from the most typical transaction.
Removing that order produces a £50 mean, but deletion is not automatically justified. The £500 purchase may be a legitimate customer you want to serve. Treat exclusion as a sensitivity analysis unless a prespecified eligibility rule establishes that the order does not belong in the target population.
| Illustrative statistic | Calculation | Result |
|---|---|---|
| Total revenue | Nine times £50 plus £500 | £950 |
| Mean order value | £950 divided by ten | £95 |
| Median order value | Middle values are both £50 | £50 |
| Largest order revenue share | £500 divided by £950 | 52.63% |
| Mean excluding largest order | £450 divided by nine | £50 |
The median is useful context, but it is not a replacement for the mean when forecasting revenue from order counts. Multiplying median value by expected orders generally answers a different question. Keep the statistics labeled and explain which one supports the decision under review.
Understand what the bootstrap resamples
A basic nonparametric bootstrap repeatedly draws observations with replacement from the observed sample, keeping the sample size fixed, and recalculates the statistic. The resulting distribution describes how the estimate varies under that empirical resampling model. The SciPy bootstrap reference documents common interval methods and their configuration.
For the ten-order example, a resample can contain the £500 order zero times, once, or several times. Repeated selection is expected because sampling uses replacement. A resample with no large order has a £50 mean. One large order gives £95; two give £140; three give £185.
| Large-order selections in ten draws | Remaining £50 selections | Resampled mean |
|---|---|---|
| Zero | 10 | £50 |
| One | 9 | £95 |
| Two | 8 | £140 |
| Three | 7 | £185 |
These rows illustrate possible resamples, not a published confidence interval. Their probabilities differ, and an interval requires the full resampling distribution and a chosen method. The probability of omitting the large order in ten independent draws is 0.9 to the power of ten, approximately 34.87%. That explains why this tiny sample produces a highly uneven distribution.
Record the random seed, number of resamples, interval method, and software version if you calculate an interval. More resamples reduce simulation noise; they do not add information about the underlying customer population. Ten observed orders remain ten observed orders after a million bootstrap draws.
Match the resampling unit to the data
Order-level resampling assumes the orders are suitable independent units for the question. Repeat buyers can violate that simplification because their orders share preferences, budgets, and exposure to campaigns. If the decision concerns customers and the data contains repeated customer orders, consider resampling customers with all their associated orders together.
For a customer-cluster bootstrap of order-weighted AOV, sample customer clusters with replacement, carry each sampled customer’s revenue and order count together, and divide the resampled total revenue by the resampled total orders. Do not average customer AOVs unless an equally weighted customer average is the intended metric.
Suppose one customer places four £50 orders and another places one £200 order. The order-weighted average is £400 divided by five, or £80. The equally weighted average of customer AOVs is £125. Both calculations are arithmetically correct; only one matches total revenue divided by total orders.
When comparing multiple stores, the store can introduce another dependence level. A thousand orders from one store are not equivalent to a thousand independent merchants. State whether the intended inference concerns transactions within the observed stores or a wider population of stores before choosing a resampling design.

Separate uncertainty from commercial mix changes
A bootstrap interval built from last week’s orders does not predict next week’s advertising mix, product availability, or discount policy. If a promotion attracted wholesale buyers, the observed distribution may genuinely differ from the previous period. Resampling the new orders cannot tell you whether the promotion caused that difference.
Compare prespecified segments and the share each contributes to the total. Keep currency, category, channel, and customer status definitions consistent. The Simpson’s paradox guide explains why aggregate comparisons can reverse when populations shift, even though its worked metric is conversion rather than order value.
For an experiment, construct uncertainty around the treatment contrast using the actual randomization unit. Comparing whether two separate confidence intervals overlap is not a substitute for analyzing the difference. If treatment changes purchasing probability, AOV among buyers alone can also conceal a fall in total revenue per assigned shopper.
Check contribution as well as revenue. A higher AOV created by a steep discount or expensive shipping subsidy may not improve the business. Statistical precision answers how uncertain an estimate is under assumptions; it does not determine whether the estimated change is commercially worthwhile.
Report a sensitivity analysis people can use
Present the eligible order count, customer count, mean, median, large-order concentration, and any interval with its assumptions. Include the full eligible sample as the primary view. If a sensitivity view removes suspected data errors or separates a distinct wholesale segment, explain the rule and show how much data it affects.
Investigate suspicious values at source before treating them statistically. Currency conversion errors, duplicate rows, test orders, and line-item joins can create apparent large purchasers. A bootstrap will faithfully repeat those errors. Reconcile totals with the commerce source before investing in a more sophisticated interval calculation.
Do not claim a narrow interval establishes representativeness. A large dataset from one unusual campaign can be precise about that campaign and unhelpful for another. Similarly, a small sample without high-value buyers cannot reveal the unobserved upper tail just by resampling the rows it contains.
Before operational use, validate the chosen procedure on historical periods and simulated data resembling the store’s purchasing pattern. Examine how intervals behave when customers repeat, extreme orders appear, or sample sizes shrink. If the method becomes unstable, report that limitation instead of replacing the output with an unexplained confident point estimate.
EcomToolkit point of view
Average order value is most useful when the team understands what could move it. Show the transactions driving the mean and distinguish measurement errors, legitimate large buyers, and sampling uncertainty. For a decision-ready view of order economics, request an ecommerce analytics review that connects revenue definitions with the customer and order structure behind them.