XML 49 R30.htm IDEA: XBRL DOCUMENT
v3.24.1

Basis of presentation and accounting policies (Details) $ in Millions | 12 Months Ended
--- | ---
Feb. 02, 2024 USD ($) store Center period state | Feb. 03, 2023 USD ($) period | Jan. 28, 2022 USD ($) period
Fiscal year, number of weeks | period | 52 | 53 | 52
Number of stores through which entity sells general merchandise on a retail basis | store | 19,986 |  |
Number of states which entity covers | state | 48 |  |
Number of distribution centers leased | 14 |  |
Cash and cash equivalents |  |  |
Maximum original maturity period at time of purchase of liquid investments classified as cash equivalents | 3 months |  |
Payments due from processors for electronic tender transactions classified as cash and cash equivalents | $ | $ 109.3 | $ 157.3 |
Merchandise inventories |  |  |
Excess of current cost over LIFO cost | $ | 875.1 | 813.6 |
LIFO provision | $ | $ 61.6 | $ 517.3 | $ 180.4
Non Refrigerated Merchandise Distribution Centers |  |  |
Number of distribution centers | 18 |  |
Cold Storage And Distribution Facilities |  |  |
Number of distribution centers | 10 |  |
Combination Distribution Center |  |  |
Number of distribution centers | 3 |  |

X
- Definition Represents the maximum original maturity period at the time of purchase of highly liquid investments to be classified as cash equivalents. + References No definition available. + Details
Name: | dg_CashEquivalentsMaturityPeriodMaximum
Namespace Prefix: | dg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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 Number of distribution centers. + References No definition available. + Details
Name: | dg_NumberOfDistributionCenters
Namespace Prefix: | dg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of distribution centers leased by the company. + References No definition available. + Details
Name: | dg_NumberOfDistributionCentersLeased
Namespace Prefix: | dg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Amount due the Entity as a result of customers utilizing point of sale debit or credit cards in exchange transactions with the entity which are short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. + References No definition available. + Details
Name: | us-gaap_CreditAndDebitCardReceivablesAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount by which inventory stated at last-in first-out (LIFO) is less than (in excess of) inventory stated at other inventory cost methods. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)(c)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_InventoryLIFOReserve
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
- Definition The number of states the entity operates in as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfStatesInWhichEntityOperates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the number of stores. + References No definition available. + Details
Name: | us-gaap_NumberOfStores
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_ProductOrServiceAxis=dg_NonRefrigeratedMerchandiseDistributionCentersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=dg_ColdStorageAndDistributionFacilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=dg_CombinationDistributionCenterMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |