XML 74 R56.htm IDEA: XBRL DOCUMENT
v3.21.2

Debt - Additional Information (Details) - USD ($) |  | 12 Months Ended |  |
--- | --- | --- | --- | ---
Jul. 19, 2021 | Jul. 02, 2021 | Jul. 03, 2020 | Jun. 28, 2019 | Oct. 31, 2020 | Feb. 28, 2018
Debt Instrument [Line Items] |  |  |  |  |  |
Repayment of debt |  | $ 886,000,000 | $ 982,000,000 | $ 181,000,000 |  |
Issuance costs and debt discounts |  | 100,000,000 | $ 136,000,000 |  |  |
Variable interest rate Term Loan A-1 maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Debt issuance costs, net |  | 5,000,000 |  |  |  |
Revolving credit facility maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Remaining borrowing capacity |  | $ 2,250,000,000 |  |  |  |
Ratio of total adjusted EBITDA to interest expense, minimum |  | 3.50 |  |  |  |
Variable interest rate Term Loan B-4 maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Debt issuance costs, net |  | $ 1,000,000 |  |  |  |
4.75% senior unsecured notes due 2026 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Debt issuance costs, net |  | $ 12,000,000 |  |  |  |
Debt instrument, face amount |  |  |  |  |  | $ 2,300,000,000
Debt instrument, interest rate (percentage) |  | 4.75% | 4.75% |  |  |
0.50% convertible senior notes due 2020 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Debt instrument, interest rate (percentage) |  | 0.50% | 0.50% |  |  |
Period Ending October 2, 2020 | Revolving credit facility maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Ratio of total indebtedness to adjusted EBITDA, maximum |  | 4.25 |  |  |  |
Period Ending July 2, 2021 | Revolving credit facility maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Ratio of total indebtedness to adjusted EBITDA, maximum |  | 4.00 |  |  |  |
Period ending December 31, 2021 | Revolving credit facility maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Ratio of total indebtedness to adjusted EBITDA, maximum |  | 3.75 |  |  |  |
Period Ending July 1, 2022 | Revolving credit facility maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Ratio of total indebtedness to adjusted EBITDA, maximum |  | 3.50 |  |  |  |
Period After July 1, 2022 | Revolving credit facility maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Ratio of total indebtedness to adjusted EBITDA, maximum |  | 3.25 |  |  |  |
London Interbank Offered Rate (LIBOR) | Variable interest rate Term Loan A-1 maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate, floor |  | 0.00% |  |  |  |
Effective interest rate, percent |  | 1.60% |  |  |  |
London Interbank Offered Rate (LIBOR) | Revolving credit facility maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate, floor |  | 0.00% |  |  |  |
London Interbank Offered Rate (LIBOR) | Variable interest rate Term Loan B-4 maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate, floor |  | 0.00% |  |  |  |
Basis spread on variable rate |  | 1.75% |  |  |  |
Effective interest rate, percent |  | 1.85% |  |  |  |
Repayment of debt |  | $ 600,000,000 |  |  |  |
London Interbank Offered Rate (LIBOR) | Variable interest rate Term Loan B-4 maturing 2023 | Subsequent Event |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Repayment of debt | $ 150,000,000 |  |  |  |  |
Base Rate | Variable interest rate Term Loan B-4 maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  | 0.75% |  |  |  |
Minimum | London Interbank Offered Rate (LIBOR) | Variable interest rate Term Loan A-1 maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  | 1.125% |  |  |  |
Minimum | London Interbank Offered Rate (LIBOR) | Revolving credit facility maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  | 1.125% |  |  |  |
Minimum | Base Rate | Variable interest rate Term Loan A-1 maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  | 0.125% |  |  |  |
Minimum | Base Rate | Revolving credit facility maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  | 0.125% |  |  |  |
Maximum | London Interbank Offered Rate (LIBOR) | Variable interest rate Term Loan A-1 maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  | 2.00% |  |  |  |
Maximum | London Interbank Offered Rate (LIBOR) | Revolving credit facility maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  | 2.00% |  |  |  |
Maximum | Base Rate | Variable interest rate Term Loan A-1 maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  | 1.00% |  |  |  |
Maximum | Base Rate | Revolving credit facility maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  | 1.00% |  |  |  |
Debt Instrument, Redemption, Period One | Variable interest rate Term Loan A-1 maturing 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Quarterly principal payment, percent |  | 1.25% |  |  |  |
Convertible Debt | 1.50% convertible notes due 2024 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Debt issuance costs, net |  | $ 18,000,000 |  |  |  |
Debt instrument, face amount |  |  |  |  |  | $ 1,100,000,000
Debt instrument, interest rate (percentage) |  | 1.50% | 1.50% |  |  | 1.50%
Conversion price (in dollars per share) |  |  |  |  |  | $ 121.91
Debt discount |  | $ 165,000,000 |  |  |  |
Debt issuance costs |  | 15,000,000 |  |  |  |
Excess capital |  | 3,000,000 |  |  |  |
Issuance costs and debt discounts |  | $ 83,000,000 |  |  |  |
Convertible Debt | 0.50% convertible senior notes due 2020 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Debt instrument, interest rate (percentage) |  |  |  |  | 0.50% |
Convertible Debt | Measurement Input, Discount Rate | 1.50% convertible notes due 2024 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Debt instrument. measurement input |  | 0.04375 |  |  |  |

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123466204&loc=SL6031898-161870 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Value of input used to measure debt instrument, including, but not limited to, convertible and non-convertible debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMeasurementInput
Namespace Prefix: | us-gaap_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unamortized debt discount (premium) and debt issuance costs. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs classified as noncurrent. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredFinanceCostsNoncurrentNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of total risk-based capital exceeding minimum required for capital adequacy as defined by regulatory framework. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 505 -Section 50 -Paragraph 1 -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826 + Details
Name: | us-gaap_ExcessCapital
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt Instrument, Basis Spread on Variable Rate, Floor + References No definition available. + Details
Name: | wdc_DebtInstrumentBasisSpreadonVariableRateFloor
Namespace Prefix: | wdc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The required quarterly principal payment percentage on the principal amount of the debt + References No definition available. + Details
Name: | wdc_DebtInstrumentRequiredQuarterlyPrincipalPaymentPercent
Namespace Prefix: | wdc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Ratio Of Total Adjusted EBITDA To Interest Expense, Minimum + References No definition available. + Details
Name: | wdc_RatioOfTotalAdjustedEBITDAToInterestExpenseMinimum
Namespace Prefix: | wdc_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Ratio Of Total Indebtedness To Adjusted EBITDA, Maximum + References No definition available. + Details
Name: | wdc_RatioOfTotalIndebtednessToAdjustedEBITDAMaximum
Namespace Prefix: | wdc_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wdc_TermLoanA1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wdc_U.S.TermLoanB4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wdc_FourPointSeventyFivePercentSeniorUnsecuredNotesDueTwoThousandTwentySixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wdc_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | wdc_DebtCovenantPeriodAxis=wdc_PeriodEndingOctober22020Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | wdc_DebtCovenantPeriodAxis=wdc_PeriodEndingJuly22021Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | wdc_DebtCovenantPeriodAxis=wdc_PeriodEndingDecember312021Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | wdc_DebtCovenantPeriodAxis=wdc_PeriodEndingJuly12022Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | wdc_DebtCovenantPeriodAxis=wdc_PeriodAfterJuly12022Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_ConvertibleDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=wdc_OnePointFiftyPercentSeniorConvertibleNotesDueTwoThousandTwentyFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDiscountRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |