Basis of presentation and accounting policies - Impairment, Goodwill, Balance sheet detail, Supply chain finance programs (Details) - USD ($) $ in Thousands |
3 Months Ended | 12 Months Ended | ||
|---|---|---|---|---|
Jan. 31, 2025 |
Jan. 30, 2026 |
Jan. 31, 2025 |
Feb. 02, 2024 |
|
| Impairment of long-lived assets | ||||
| Minimum period for which stores are open to be reviewed for impairment | 3 years | |||
| Impairment charges included in SG&A expense | $ 118,912 | $ 57,100 | $ 226,700 | $ 6,700 |
| Impairment, Long-Lived Asset, Held-for-Use, Statement of Income or Comprehensive Income [Extensible Enumeration] | Selling, General and Administrative Expense | Selling, General and Administrative Expense | Selling, General and Administrative Expense | |
| Goodwill and other intangible assets | ||||
| Impairment of intangible assets | $ 0 | $ 0 | $ 0 | |
| Accrued expenses and other liabilities | ||||
| Compensation and benefits | 171,318 | 295,206 | 171,318 | |
| Self-insurance reserves | 165,085 | 182,770 | 165,085 | |
| Taxes (other than taxes on income) | 310,568 | 330,336 | 310,568 | |
| Other | 398,885 | 454,984 | 398,885 | |
| Total other accrued expenses and other liabilities | 1,045,856 | 1,263,296 | 1,045,856 | |
| Other liabilities | ||||
| Self-insurance reserves | $ 169,300 | $ 194,800 | 169,300 | |
| Maximum initial term for leases not recorded on the balance sheet | 12 months | |||
| Guarantee of Indebtedness of Others | ||||
| Supplier finance programs | ||||
| Beginning balance | $ 399,679 | $ 306,781 | ||
| Supplier Finance Program, Obligation, Current, Statement of Financial Position [Extensible Enumeration] | Accounts Payable, Current, Total other accrued expenses and other liabilities | Accounts Payable, Current, Total other accrued expenses and other liabilities | Accounts Payable, Current, Total other accrued expenses and other liabilities | |
| Amounts added | $ 1,296,994 | $ 1,285,484 | ||
| Amounts settled | (1,311,463) | (1,192,586) | ||
| Ending balance | $ 399,679 | $ 385,210 | $ 399,679 | $ 306,781 |
| Supplier Finance Program, Obligation, Current, Statement of Financial Position [Extensible Enumeration] | Accounts Payable, Current, Total other accrued expenses and other liabilities | Accounts Payable, Current, Total other accrued expenses and other liabilities | Accounts Payable, Current, Total other accrued expenses and other liabilities | |
| Maximum payment period | 150 days | |||