Average order value (AOV): formula, DAX and drivers

How to calculate average order value, revenue divided by orders, why order lines must not be averaged, items per order and average item price as its two drivers, median order value, AOV by channel and customer type, the DAX, and how to raise it.

Short answer: average order value (AOV) = revenue / number of orders. In DAX: DIVIDE ( [Revenue], DISTINCTCOUNT ( Sales[Order ID] ) ), never AVERAGE ( Sales[Amount] ), which averages order lines. AOV has two drivers: items per order × average item price, so a change in AOV says either baskets got bigger or items got dearer. Check the median too: a few large orders lift the mean without changing the typical basket.

AOV is one of three levers of revenue (customers × orders per customer × AOV). It is the one that bundles, free-shipping thresholds and recommendations move.

How is it calculated?

OrderLinesItemsRevenue
10012360
10021125
100346150
10042245
100524520
Total1116800
Five orders, eleven order lines
  • AOV = 800 / 5 orders = 160
  • Average line value = 800 / 11 lines = 72.7 (wrong for AOV)
  • Items per order = 16 / 5 = 3.2; average item price = 800 / 16 = 50; 3.2 × 50 = 160
  • Median order value = 60 (order 1005 pulls the mean up)

What is the DAX?

Orders = DISTINCTCOUNT ( Sales[Order ID] )

AOV = DIVIDE ( [Revenue], [Orders] )

Items per Order = DIVIDE ( SUM ( Sales[Quantity] ), [Orders] )

Avg Item Price = DIVIDE ( [Revenue], SUM ( Sales[Quantity] ) )

Median Order Value =
MEDIANX ( VALUES ( Sales[Order ID] ), [Revenue] )

AOV LY = CALCULATE ( [AOV], SAMEPERIODLASTYEAR ( 'Date'[Date] ) )
AOV Growth % = DIVIDE ( [AOV] - [AOV LY], [AOV LY] )

MEDIANX over order IDs evaluates revenue per order through context transition.

How do you read changes in AOV?

  • AOV
  • Items per order
05010015020001234JulAugSepOct
AOV and items per order by month

Here AOV rose with items per order, so baskets grew (bundles or a free-shipping threshold working), not prices. Split AOV by channel (web, app, store) and customer type (new, returning): new customers often buy smaller first orders, so a campaign that brings many new customers can lower AOV while growing revenue.

How can AOV be raised?

  • Free-shipping threshold just above the current AOV.
  • Bundles and "frequently bought together".
  • Volume discounts (watch margin: see profit margin).
  • Upselling to a higher tier.

Track AOV together with conversion rate: a high threshold can raise AOV and lose orders.

What goes wrong?

  • Averaging order lines. Use revenue / distinct orders.
  • Returns and cancellations. Decide whether AOV is gross or net, and keep it the same everywhere.
  • Tax and shipping. Include or exclude consistently; mixing them between channels makes comparisons wrong.
  • Outliers. One wholesale order changes a month's AOV; show the median, or exclude B2B orders.

Where can you check this?

Where do you start?

Put AOV, items per order and median order value side by side by month. Repeat purchase rate covers the other lever, orders per customer.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.