XML 62 R41.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Description of Business and Summary of Significant Accounting Policies - Additional Information (Details) $ in Millions |  | 12 Months Ended
--- | --- | ---
Oct. 15, 2021 USD ($) | Dec. 31, 2021 USD ($) subsidiary | Dec. 31, 2020 USD ($) | Dec. 31, 2019 USD ($)
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |
Number of owned subsidiaries | subsidiary |  | 2 |  |
Accounts receivable, sale |  | $ 139 | $ 83 |
Quantitative impairment test frequency |  | 3 years |  |
Years forecasted in goodwill impairment income approach |  | 5 years |  |
Advertising expense |  | $ 199 | $ 191 | $ 193
Granite Parent Inc |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |
Total preliminary purchase price | $ 2,500 |  |  |
Valuation, Income Approach |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |
Fair value approach, weighted average, percentage |  | 75.00% |  |
Valuation, Market Approach |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |
Fair value approach, weighted average, percentage |  | 25.00% |  |

X
- Definition Fair Value Approach, Weighted Average, Percentage + References No definition available. + Details
Name: | cdw_FairValueApproachWeightedAveragePercentage
Namespace Prefix: | cdw_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Forecasted Years for Goodwill Impairment + References No definition available. + Details
Name: | cdw_ForecastedYearsforGoodwillImpairment
Namespace Prefix: | cdw_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Goodwill, Quantitative Impairment Test Frequency + References No definition available. + Details
Name: | cdw_GoodwillQuantitativeImpairmentTestFrequency
Namespace Prefix: | cdw_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of Owned Subsidiaries + References No definition available. + Details
Name: | cdw_NumberofOwnedSubsidiaries
Namespace Prefix: | cdw_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of decrease from sale of accounts receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 11 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447 + Details
Name: | us-gaap_AccountsReceivableSale
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 720 -SubTopic 35 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848 + Details
Name: | us-gaap_AdvertisingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 No definition available. + Details
Name: | us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cdw_GraniteParentIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=us-gaap_IncomeApproachValuationTechniqueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=us-gaap_MarketApproachValuationTechniqueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |