Hello, thank you for calling Costco Wholesale Corporation. I'm David Sherwood, AVP of Finance and Investor Relations, and I will review our sales results for the four-week retail month of August, which started on Monday, August 2nd, and ended on Sunday, August 29th. This period is compared to the four weeks that began last year on Monday, August 3rd, and ended on Sunday, August 30th. This call will include forward-looking statements within the meaning of the Private Securities Litigation Reform Act of 1995. These statements involve risks and uncertainties that may cause actual events, results, and/or performance to differ materially from those indicated by such statements. The risks and uncertainties include, but are not limited to, those outlined in today's call and sales release, as well as other risks identified from time to time in the company's public statements and reports filed with the SEC.
Forward-looking statements speak only as of the date they are made, and the company does not undertake to update them except as required by law. As reported in our release, net sales for August came in at $15.75 billion, an increase of 16.2% from $13.56 billion last year. For the 16 weeks ended August 29th, net sales came in at $61.4 billion, an increase of 17.4% from $52.3 billion last year. For the 52 weeks ended August 29th, net sales came in at $192.1 billion, an increase of 17.7% from $163.2 billion last year. Comparable sales were as follows. On a reported basis, in the U.S., four weeks, 14.7%, 16 weeks, 14.9%, 52 weeks, 14.8%. In Canada, the four weeks was at 13.4%, 16 weeks, 19.5%, 52 weeks, 20.0%. Other international, four weeks, 12.2%, 16 weeks, 15.0%, 52 weeks, 19.1%.
In total company, the four weeks was at 14.2%, 16 weeks, 15.5%, 52 weeks, 16.0%. E-commerce, four weeks, 2.8%, 16 weeks, 11.2%, 52 weeks, 44.4%. Comparable sales, excluding the impacts from changes in Gasoline prices and foreign exchange, were as follows. In the U.S., the four weeks, 10.1%, 16 weeks, 10.3%, 52 weeks, 13.6%. Canada, four weeks, 5.2%, 16 weeks, 6.7%, 52 weeks, 12.1%. Other international, four weeks, 7.3%, 16 weeks, 7.3%, 52 weeks, 13.4%. Total company, the four weeks was at 9.1%, 16 weeks, 9.4%, 52 weeks, 13.4%. E-commerce, the four weeks is at 1.8%, 16 weeks, 8.9%, 52 weeks, 42.6%. Our comp traffic or frequency for August was up 7.1% worldwide and up 7.5% in the U.S. Foreign currencies year-over-year relative to the US dollar impacted total and comparable sales as follows.
Canada, positively by approximately 5.4%, other international, positively by approximately 3.6%, and total company, positively by approximately 1.2%. Gasoline price inflation positively impacted total reported comp sales by approximately 3.9%. The average selling price was 41% higher year-over-year at $3.39/gal this year compared to $2.41 last year. Comp gas volume was up significantly relative to last year and was also positive versus 2019. Worldwide, the average transaction for August was up 6.6%, which included the positive impacts from Gasoline inflation and FX. In terms of regional and merchandising categories, the general highlights were as follows. U.S. regions with the strongest sales increases were Texas, Southeast, and L.A. Other international in local currencies, we saw the strongest results in Mexico, Korea, and Taiwan. Moving to merchandise highlights, the following comparable sales results by category for the month exclude the positive impact of foreign exchange.
Food and sundries were positive mid to high single digits. Sundries and candy were the strongest departments. Fresh foods were up mid to high single digits. Better-performing departments included service deli and bakery. Non-foods were positive mid to high single digits. Better-performing departments included housewares, sporting goods, jewelry, and domestics. Ancillary businesses were up mid-40s. Gas, Food Court, and Pharmacy were all significant drivers. Looking ahead, the September reporting period will include the five weeks beginning August 30th and ending October 3rd, compared to the five weeks beginning August 31st and ending October 4th, 2020. September sales will be announced Wednesday, October 6th, at 1:15 P.M. Pacific Time. Prior to September sales, we will be releasing our fourth quarter and total year fiscal 2021 earnings on September 23rd. Earnings will be announced after market close with the conference call to follow at 2:00 P.M. Pacific Time.
The call can be streamed live via our investor relations website. If you have any questions regarding our August sales results or any other investor relations questions, please call Bob Nelson at 425-313-8255, Josh Dahmen at 425-313-8254, or myself, David Sherwood, at 425-313-8239. This recording will be available until 5:00 PM Pacific Time, Wednesday, September 8th. Thanks for calling. Have a great day.