XML 27 R54.htm IDEA: XBRL DOCUMENT v3.20.1
Goodwill and other intangible assets - Narrative (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Feb. 29, 2020
Feb. 28, 2019
Feb. 29, 2020
Feb. 28, 2019
Jun. 01, 2019
Goodwill [Line Items]          
Amortization of intangible assets $ 117 $ 139 $ 235 $ 273  
Boots Reporting Unit          
Goodwill [Line Items]          
Reporting unit fair value in excess of carrying amount (as a percent) 4.00%   4.00%   9.00%