XML 69 R52.htm IDEA: XBRL DOCUMENT
v3.24.0.1

EMPLOYEE BENEFITS - Defined Contribution Plans (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
EMPLOYEE BENEFITS [Abstract] |  |  |
Profit sharing automatic contribution percentage |  | 6.00% |
Profit sharing plan expense | $ 85 | $ 87 | $ 78
Defined contribution plans, expense | $ 21 | $ 11 | $ 16
Liability for future policy benefit, weighted-average duration | 10 years |  |

X
- Definition EMPLOYEE BENEFITS [Abstract] + References No definition available. + Details
Name: | gww_EmployeeBenefitsAbstract
Namespace Prefix: | gww_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Profit Sharing Automatic Contribution By Employer, Percentage + References No definition available. + Details
Name: | gww_ProfitSharingAutomaticContributionByEmployerPercentage
Namespace Prefix: | gww_
Data Type: | dtr-types1:percentItemType
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

X
- Definition Weighted-average duration of liability for future policy benefit, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b)(5) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480081/944-40-50-6 + Details
Name: | us-gaap_LiabilityForFuturePolicyBenefitWeightedAverageDuration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cost (reversal of cost) for pension and other postretirement benefits. + References No definition available. + Details
Name: | us-gaap_PensionAndOtherPostretirementBenefitExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration