XML 102 R84.htm IDEA: XBRL DOCUMENT
v3.25.2

Shareholders’ Equity and Convertible Preferred Stock - Unrecognized Share-based Compensation (Details) $ in Millions | 12 Months Ended
--- | ---
Jun. 27, 2025 USD ($)
Employee Service Share-based Compensation, Unrecognized Service Costs [Line Items] |
Unamortized Compensation Costs | $ 268
RSUs and PSUs |
Employee Service Share-based Compensation, Unrecognized Service Costs [Line Items] |
Unamortized Compensation Costs | $ 245
Weighted Average Service Period | 2 years 1 month 6 days
ESPP |
Employee Service Share-based Compensation, Unrecognized Service Costs [Line Items] |
Unamortized Compensation Costs | $ 23
Weighted Average Service Period | 1 year 4 months 24 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 -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: |