XML 59 R42.htm IDEA: XBRL DOCUMENT
v3.24.0.1

REVENUE (Details) | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 100.00% | 100.00% | 100.00%
Percent of total company revenue | 100.00% | 100.00% | 100.00%
Percentage of company-wide revenue | 1.00% | 2.00% | 2.00%
Manufacturing |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 30.00% | 30.00% | 30.00%
Government |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 16.00% | 15.00% | 15.00%
Wholesale |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 9.00% | 9.00% | 8.00%
Commercial Services |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 8.00% | 8.00% | 8.00%
Contractors |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 6.00% | 6.00% | 6.00%
Healthcare |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 6.00% | 6.00% | 7.00%
Retail |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 4.00% | 4.00% | 4.00%
Transportation |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 4.00% | 4.00% | 4.00%
Utilities |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 3.00% | 3.00% | 3.00%
Warehousing |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 3.00% | 4.00% | 4.00%
Other |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 11.00% | 11.00% | 11.00%
High-Touch Solutions N.A. |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 100.00% | 100.00% | 100.00%
Percent of total company revenue | 81.00% | 80.00% | 78.00%
High-Touch Solutions N.A. | Manufacturing |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 30.00% | 31.00% | 29.00%
High-Touch Solutions N.A. | Government |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 19.00% | 18.00% | 19.00%
High-Touch Solutions N.A. | Wholesale |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 7.00% | 7.00% | 7.00%
High-Touch Solutions N.A. | Commercial Services |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 7.00% | 7.00% | 7.00%
High-Touch Solutions N.A. | Contractors |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 5.00% | 5.00% | 5.00%
High-Touch Solutions N.A. | Healthcare |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 7.00% | 7.00% | 8.00%
High-Touch Solutions N.A. | Retail |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 4.00% | 4.00% | 4.00%
High-Touch Solutions N.A. | Transportation |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 4.00% | 4.00% | 4.00%
High-Touch Solutions N.A. | Utilities |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 3.00% | 3.00% | 3.00%
High-Touch Solutions N.A. | Warehousing |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 4.00% | 5.00% | 5.00%
High-Touch Solutions N.A. | Other |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 10.00% | 9.00% | 9.00%
Endless Assortment |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 100.00% | 100.00% | 100.00%
Percent of total company revenue | 18.00% | 18.00% | 20.00%
Endless Assortment | Manufacturing |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 30.00% | 30.00% | 30.00%
Endless Assortment | Government |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 3.00% | 3.00% | 3.00%
Endless Assortment | Wholesale |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 16.00% | 16.00% | 14.00%
Endless Assortment | Commercial Services |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 12.00% | 13.00% | 13.00%
Endless Assortment | Contractors |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 12.00% | 12.00% | 13.00%
Endless Assortment | Healthcare |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 2.00% | 2.00% | 2.00%
Endless Assortment | Retail |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 4.00% | 4.00% | 5.00%
Endless Assortment | Transportation |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 2.00% | 2.00% | 2.00%
Endless Assortment | Utilities |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 2.00% | 2.00% | 2.00%
Endless Assortment | Warehousing |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 0.00% | 0.00% | 0.00%
Endless Assortment | Other |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Total net sales | 17.00% | 16.00% | 16.00%

X
- Definition Percentage Of Company-Wide Revenue + References No definition available. + Details
Name: | gww_PercentageOfCompanyWideRevenue
Namespace Prefix: | gww_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revenue From Contract With Customer, Excluding Assessed Tax, Percentage + References No definition available. + Details
Name: | gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentage
Namespace Prefix: | gww_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revenue From Contract With Customer, Excluding Assessed Tax, Percentage Of Company-Wide Revenue + References No definition available. + Details
Name: | gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentageOfCompanyWideRevenue
Namespace Prefix: | gww_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-5 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 91 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479777/606-10-55-91 + Details
Name: | us-gaap_DisaggregationOfRevenueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_MajorCustomersAxis=gww_ManufacturingSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=gww_GovernmentSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=gww_WholesaleSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=gww_CommercialServicesSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=gww_ContractorsSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=gww_HealthcareSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=gww_RetailSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=gww_TransportationSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=gww_UtilitiesSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=gww_WarehousingSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=gww_OtherSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=gww_HighTouchSolutionsNAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=gww_EndlessAssortmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |