XML 77 R57.htm IDEA: XBRL DOCUMENT
v3.25.1

Benefit plans (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Jan. 31, 2025 | Feb. 02, 2024 | Feb. 03, 2023
Benefit plans |  |  |
Matching contribution expense related to the Company's 401(k) plan | $ 38.2 | $ 35.9 | $ 35.7
Compensation expense | $ 0.7 | $ 1.0 | $ 1.2

X
- Definition Deferred Compensation Arrangements and Supplemental Employee Retirement Plan Compensation Expense + References No definition available. + Details
Name: | dg_DeferredCompensationArrangementsAndSupplementalEmployeeRetirementPlanCompensationExpense
Namespace Prefix: | dg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration