XML 112 R84.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Shareholders’ Equity and Convertible Preferred Stock - Unrecognized Share-based Compensation (Details) $ in Millions | 12 Months Ended
--- | ---
Jun. 28, 2024 USD ($)
Employee Service Share-based Compensation, Unrecognized Service Costs [Line Items] |
Unamortized Compensation Costs | $ 465
RSUs and PSUs |
Employee Service Share-based Compensation, Unrecognized Service Costs [Line Items] |
Unamortized Compensation Costs | $ 442
Weighted Average Service Period | 2 years 2 months 12 days
ESPP |
Employee Service Share-based Compensation, Unrecognized Service Costs [Line Items] |
Unamortized Compensation Costs | $ 23
Weighted Average Service Period | 6 months

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 -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + 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 -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + 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: |