XML 35 R24.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Basis of presentation (Details) $ in Millions | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Aug. 02, 2024 USD ($) | Aug. 04, 2023 USD ($) | Aug. 02, 2024 USD ($) | Aug. 04, 2023 USD ($) | Jan. 31, 2025 period | Feb. 02, 2024 USD ($) period
Fiscal year, number of weeks | period |  |  |  |  | 52 | 52
Merchandise inventories |  |  |  |  |  |
LIFO provision | $ 10.5 | $ 20.2 | $ 20.8 | $ 48.4 |  |
Supply Chain Finance Program |  |  |  |  |  |
Contractual obligation | $ 293.5 |  | $ 293.5 |  |  | $ 306.8

X
- Definition Represents the number of weeks in a fiscal year. + References No definition available. + Details
Name: | dg_FiscalPeriodFiscalYearNumberOfWeeks
Namespace Prefix: | dg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of contractual obligation, including, but not limited to, long-term debt, lease obligation, purchase obligation, and other commitments. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 + Details
Name: | us-gaap_ContractualObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The change in the inventory reserve representing the cumulative difference in cost between the first in, first out and the last in, first out inventory valuation methods, which change has been reflected in the statement of income during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 330 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.L) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480581/330-10-S99-1 + Details
Name: | us-gaap_InventoryLIFOReservePeriodCharge
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_InventoryNetAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=dg_SupplyChainFinanceProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |