How is average spending calculated?