XML 52 R40.htm IDEA: XBRL DOCUMENT
v3.24.2

Segment Information - Schedule of Disaggregation of Revenue (Details) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2024 | Jun. 30, 2023 | Jun. 30, 2024 | Jun. 30, 2023
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 5,423.4 | $ 5,626.1 | $ 10,296.1 | $ 10,729.2
Percentage of Total Net Sales | 100.00% | 100.00% | 100.00% | 100.00%
Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 2,195.2 | $ 2,245.0 | $ 4,331.1 | $ 4,448.7
Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 382.9 | 396.2 | 763.8 | 807.6
Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 2,243.3 | 2,295.1 | 3,968.0 | 4,107.9
Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 602.0 | 689.8 | 1,233.2 | 1,365.0
Transferred at a point in time where CDW is principal |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 4,671.8 | 4,934.2 | 8,840.6 | 9,360.0
Transferred at a point in time where CDW is principal | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 1,830.4 | 1,891.3 | 3,609.7 | 3,752.7
Transferred at a point in time where CDW is principal | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 337.2 | 354.9 | 668.9 | 720.2
Transferred at a point in time where CDW is principal | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 1,992.2 | 2,080.7 | 3,507.9 | 3,689.3
Transferred at a point in time where CDW is principal | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 512.0 | 607.3 | 1,054.1 | 1,197.8
Transferred at a point in time where CDW is agent |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 392.7 | 361.3 | 766.0 | 713.4
Transferred at a point in time where CDW is agent | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 193.2 | 185.0 | 388.0 | 370.4
Transferred at a point in time where CDW is agent | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 34.2 | 32.9 | 73.3 | 69.7
Transferred at a point in time where CDW is agent | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 134.5 | 116.7 | 242.7 | 218.2
Transferred at a point in time where CDW is agent | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 30.8 | 26.7 | 62.0 | 55.1
Transferred over time where CDW is principal |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 358.9 | 330.6 | 689.5 | 655.8
Transferred over time where CDW is principal | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 171.6 | 168.7 | 333.4 | 325.6
Transferred over time where CDW is principal | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 11.5 | 8.4 | 21.6 | 17.7
Transferred over time where CDW is principal | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 116.6 | 97.7 | 217.4 | 200.4
Transferred over time where CDW is principal | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 59.2 | 55.8 | 117.1 | 112.1
Corporate |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 2,195.2 | 2,245.0 | 4,331.1 | 4,448.7
Corporate | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 2,195.2 | 2,245.0 | 4,331.1 | 4,448.7
Corporate | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Corporate | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Corporate | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Small Business |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 382.9 | 396.2 | 763.8 | 807.6
Small Business | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Small Business | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 382.9 | 396.2 | 763.8 | 807.6
Small Business | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Small Business | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Government |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 639.1 | 681.2 | 1,182.4 | 1,232.7
Government | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Government | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Government | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 639.1 | 681.2 | 1,182.4 | 1,232.7
Government | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Education |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 1,017.4 | 1,026.8 | 1,614.2 | 1,692.5
Education | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Education | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Education | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 1,017.4 | 1,026.8 | 1,614.2 | 1,692.5
Education | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Healthcare |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 586.8 | 587.1 | 1,171.4 | 1,182.7
Healthcare | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Healthcare | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Healthcare | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 586.8 | 587.1 | 1,171.4 | 1,182.7
Healthcare | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Other |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 602.0 | 689.8 | 1,233.2 | 1,365.0
Other | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Other | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Other | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 0.0 | 0.0 | 0.0 | 0.0
Other | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 602.0 | 689.8 | 1,233.2 | 1,365.0
Hardware |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 4,061.9 | $ 4,280.3 | $ 7,608.0 | $ 7,968.5
Percentage of Total Net Sales | 74.90% | 76.10% | 73.90% | 74.30%
Hardware | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 1,532.2 | $ 1,596.4 | $ 2,997.8 | $ 3,115.8
Hardware | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 307.3 | 317.5 | 607.3 | 652.2
Hardware | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 1,796.2 | 1,884.9 | 3,112.6 | 3,247.4
Hardware | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 426.2 | 481.5 | 890.3 | 953.1
Notebooks/Mobile Devices |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 1,438.2 | $ 1,320.9 | $ 2,579.5 | $ 2,385.5
Percentage of Total Net Sales | 26.50% | 23.50% | 25.10% | 22.20%
Netcomm Products |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 639.6 | $ 916.4 | $ 1,209.5 | $ 1,660.9
Percentage of Total Net Sales | 11.80% | 16.30% | 11.70% | 15.50%
Collaboration |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 489.3 | $ 533.6 | $ 904.6 | $ 1,009.6
Percentage of Total Net Sales | 9.00% | 9.50% | 8.80% | 9.40%
Data Storage and Servers |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 546.6 | $ 536.1 | $ 1,087.2 | $ 1,078.0
Percentage of Total Net Sales | 10.10% | 9.50% | 10.60% | 10.00%
Desktops |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 295.5 | $ 304.8 | $ 553.9 | $ 562.7
Percentage of Total Net Sales | 5.40% | 5.40% | 5.40% | 5.20%
Other Hardware |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 652.7 | $ 668.5 | $ 1,273.3 | $ 1,271.8
Percentage of Total Net Sales | 12.10% | 11.90% | 12.30% | 12.00%
Software |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 855.6 | $ 864.1 | $ 1,730.0 | $ 1,808.8
Percentage of Total Net Sales | 15.80% | 15.40% | 16.80% | 16.90%
Software | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 416.2 | $ 388.8 | $ 853.7 | $ 841.8
Software | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 53.5 | 58.6 | 113.4 | 114.8
Software | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 288.7 | 274.1 | 565.6 | 575.6
Software | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 97.2 | 142.6 | 197.3 | 276.6
Services |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 478.4 | $ 453.2 | $ 904.2 | $ 895.3
Percentage of Total Net Sales | 8.80% | 8.10% | 8.80% | 8.30%
Services | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 231.2 | $ 243.4 | $ 449.2 | $ 458.9
Services | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 17.7 | 15.5 | 34.3 | 31.2
Services | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 153.6 | 131.4 | 280.6 | 275.8
Services | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 75.9 | 62.9 | 140.1 | 129.4
Other |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 27.5 | $ 28.5 | $ 53.9 | $ 56.6
Percentage of Total Net Sales | 0.50% | 0.40% | 0.50% | 0.50%
Other | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 15.6 | $ 16.4 | $ 30.4 | $ 32.2
Other | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 4.4 | 4.6 | 8.8 | 9.4
Other | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 4.8 | 4.7 | 9.2 | 9.1
Other | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 2.7 | 2.8 | 5.5 | 5.9
United States |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 4,809.1 | 4,903.9 | 9,029.7 | 9,333.8
United States | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 2,182.7 | 2,214.0 | 4,298.6 | 4,413.2
United States | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 376.9 | 390.7 | 752.9 | 800.3
United States | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 2,242.0 | 2,293.8 | 3,964.8 | 4,106.4
United States | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 7.5 | 5.4 | 13.4 | 13.9
Rest of World |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 614.3 | 722.2 | 1,266.4 | 1,395.4
Rest of World | Corporate | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 12.5 | 31.0 | 32.5 | 35.5
Rest of World | Small Business | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 6.0 | 5.5 | 10.9 | 7.3
Rest of World | Public | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | 1.3 | 1.3 | 3.2 | 1.5
Rest of World | Other | Operating Segments |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Net sales | $ 594.5 | $ 684.4 | $ 1,219.8 | $ 1,351.1

X
- Definition Revenue Net, By Product And Service, Percentage + References No definition available. + Details
Name: | cdw_RevenueNetByProductAndServicePercentage
Namespace Prefix: | cdw_
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
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 41 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-41 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 270 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482964/270-10-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (ee) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-32 Reference 4: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-32 Reference 5: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-32 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 924 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479941/924-10-S99-1 Reference 7: 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 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 30 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-30 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-42 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-22 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 40 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-40 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-22 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-4 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_TimingOfTransferOfGoodOrServiceAxis=cdw_TransferredAtPointInTimePrincipalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TimingOfTransferOfGoodOrServiceAxis=cdw_TransferredAtPointInTimeAgentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TimingOfTransferOfGoodOrServiceAxis=cdw_TransferredOverTimePrincipalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContractWithCustomerSalesChannelAxis=cdw_SalesChannelCorporateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContractWithCustomerSalesChannelAxis=cdw_SalesChannelSmallBusinessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContractWithCustomerSalesChannelAxis=cdw_SalesChannelGovernmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContractWithCustomerSalesChannelAxis=cdw_SalesChannelEducationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContractWithCustomerSalesChannelAxis=cdw_SalesChannelHealthcareMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContractWithCustomerSalesChannelAxis=cdw_SalesChannelOtherMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

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

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

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

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

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=us-gaap_NonUsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |