XML 104 R87.htm IDEA: XBRL DOCUMENT
v3.20.2

Shareholders' Equity - Dividends (Details) - USD ($) $ / shares in Units, $ in Millions | 12 Months Ended
--- | ---
Jul. 03, 2020 | Jun. 28, 2019 | Jun. 29, 2018
Share-based Payment Arrangement [Abstract] |  |  |
Cash dividends declared per share (in USD per share) | $ 1.50 | $ 2.00 | $ 2.00
Dividends declared | $ 449 | $ 583 | $ 592

X
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 + Details
Name: | us-gaap_CommonStockDividendsPerShareDeclared
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Equity impact of dividends declared by an entity during the period. This element includes paid and unpaid dividends declared during the period. + References No definition available. + Details
Name: | wdc_DividendsDeclared
Namespace Prefix: | wdc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration