XML 99 R81.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Shareholders' Equity - Unrecognized Share-based Compensation (Details) $ in Millions | 12 Months Ended
--- | ---
Jul. 01, 2022 USD ($)
Employee Service Share-based Compensation, Unrecognized Service Costs [Line Items] |
Unamortized Compensation Costs | $ 618
RSUs and PSUs |
Employee Service Share-based Compensation, Unrecognized Service Costs [Line Items] |
Unamortized Compensation Costs | $ 557
Weighted Average Service Period | 2 years 2 months 12 days
ESPP |
Employee Service Share-based Compensation, Unrecognized Service Costs [Line Items] |
Unamortized Compensation Costs | $ 61
Weighted Average Service Period | 1 year 2 months 12 days

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition [Line Items] for Schedule of employee share-based awards, unrecognized compensation in tabular format. + References No definition available. + Details
Name: | wdc_EmployeeServiceSharebasedCompensationUnrecognizedServiceCostsLineItems
Namespace Prefix: | wdc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=wdc_RestrictedStockUnitsAndPerformanceStockUnitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=wdc_EmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |