XML 70 R52.htm IDEA: XBRL DOCUMENT
v3.20.4

Debt - Additional Information (Details) - USD ($) $ in Millions | 6 Months Ended |  |
--- | --- | --- | ---
Jan. 01, 2021 | Jan. 03, 2020 | Oct. 31, 2020 | Jul. 03, 2020
Debt Instrument [Line Items] |  |  |  |
Repayment of debt | $ 461 | $ 707 |  |
Variable interest rate Term Loan B-4 maturing 2023 |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Repayment of debt | $ 300 |  |  |
0.50% convertible senior notes due 2020 |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt instrument, interest rate (percentage) | 0.50% |  | 0.50% | 0.50%

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + 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.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: | num: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 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=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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_ConvertibleSeniorNotesDueTwoThousandTwentyMemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |