XML 82 R64.htm IDEA: XBRL DOCUMENT
v3.21.2

Related Parties and Related Commitments and Contingencies - Additional Information (Details) $ in Millions | 12 Months Ended
--- | ---
Jul. 02, 2021 USD ($) entity | Jul. 03, 2020 USD ($) | Jun. 28, 2019 USD ($)
Related Party Transactions [Abstract] |  |  |
Number of legal entities | entity | 3 |  |
Accounts payable to related parties | $ 398 | $ 407 |
Undistributed earnings | $ 33 | 24 |
Investment funding commitments | 50.00% |  |
Percent of total manufacturing capacity in operation | 100.00% |  |
Costs incurred associated with reduction in utilization |  |  | $ 264
Costs incurred with unexpected power outage incident | $ (75) | 68 | 145
Western Digital Corp | Minimum |  |  |
Related Party Transactions [Abstract] |  |  |
Investment funding commitments | 49.90% |  |
Western Digital Corp | Maximum |  |  |
Related Party Transactions [Abstract] |  |  |
Investment funding commitments | 50.00% |  |
Equity Method Investee |  |  |
Related Party Transactions [Abstract] |  |  |
Payments for equity method investments | $ 4,360 | 3,090 | $ 4,130
Accounts payable to related parties | $ 398 | $ 407 |
Flash Ventures |  |  |
Related Party Transactions [Abstract] |  |  |
Equity method investment, ownership percentage | 49.90% |  |
Remaining committed prepayments | $ 77 |  |
Unis Venture |  |  |
Related Party Transactions [Abstract] |  |  |
Equity method investment, ownership percentage | 49.00% |  |
Kioxia |  |  |
Related Party Transactions [Abstract] |  |  |
Equity method investment, ownership percentage | 49.90% |  |
Unissoft (Wuxi) Group Co Ltd. | Unis Venture |  |  |
Related Party Transactions [Abstract] |  |  |
Partner's ownership in venture business | 51.00% |  |
Kioxia | Flash Ventures |  |  |
Related Party Transactions [Abstract] |  |  |
Equity method investment, ownership percentage | 50.10% |  |
Prepayments of Future Depreciation | Flash Ventures |  |  |
Related Party Transactions [Abstract] |  |  |
Other commitment | $ 360 |  |
Other commitment, period | 3 years |  |
Revenue from Contract with Customer | Unis Venture | Product Concentration Risk |  |  |
Related Party Transactions [Abstract] |  |  |
Concentration risk, percentage | 3.00% | 1.00% | 1.00%
Accounts Receivable Benchmark | Unis Venture | Product Concentration Risk |  |  |
Related Party Transactions [Abstract] |  |  |
Concentration risk, percentage | 5.00% | 4.00% |

X
- Definition Amount for accounts payable to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + 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(a)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_AccountsPayableRelatedPartiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Minimum amount of other commitment not otherwise specified in the taxonomy. Excludes commitments explicitly modeled in the taxonomy, including but not limited to, long-term and short-term purchase commitments, recorded and unrecorded purchase obligations, supply commitments, registration payment arrangements, leases, debt, product warranties, guarantees, environmental remediation obligations, and pensions. + References No definition available. + Details
Name: | us-gaap_OtherCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow associated with the purchase of or advances to an equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consolidated retained earnings that represent undistributed (not yet received) earnings from 50% or less owned persons accounted for by the equity method (equity method investees). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(e)(2)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 20 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6462270&loc=d3e57205-112772 + Details
Name: | us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Costs Associated With Underutilized Capacity As A Result Of A Temporary Abnormal Reduction In Production + References No definition available. + Details
Name: | wdc_CostsAssociatedWithUnderutilizedCapacityAsAResultOfATemporaryAbnormalReductionInProduction
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Costs Associated With Underutilized Capacity As A Result Of Unexpected Power Outage Incident + References No definition available. + Details
Name: | wdc_CostsAssociatedWithUnderutilizedCapacityAsAResultOfUnexpectedPowerOutageIncident
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percent of commitment by the Company to fund a venture's investment in situations where the venture's sales are insufficient to cover the investments. + References No definition available. + Details
Name: | wdc_InvestmentFundingCommitments
Namespace Prefix: | wdc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Manufacturing Capacity, Percent Operating + References No definition available. + Details
Name: | wdc_ManufacturingCapacityPercentOperating
Namespace Prefix: | wdc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Legal Entities + References No definition available. + Details
Name: | wdc_NumberOfLegalEntities
Namespace Prefix: | wdc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other Commitment, Period + References No definition available. + Details
Name: | wdc_OtherCommitmentPeriod
Namespace Prefix: | wdc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other Commitment, Remaining Committed Prepayments + References No definition available. + Details
Name: | wdc_OtherCommitmentRemainingCommittedPrepayments
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Partner's Ownership In Venture Business + References No definition available. + Details
Name: | wdc_PartnersOwnershipInVentureBusiness
Namespace Prefix: | wdc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | wdc_EquityMethodInvestorNameAxis=wdc_WesternDigitalCorpMember
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_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_EquityMethodInvesteeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=wdc_FlashVenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=wdc_UnisVentureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=wdc_KioxiaCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=wdc_UnissoftWuxiGroupCoLtd.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=wdc_KioxiaCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_OtherCommitmentsAxis=wdc_PrepaymentsOfFutureDepreciationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_RevenueFromContractWithCustomerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_ProductConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=wdc_AccountsReceivableBenchmarkMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |