<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheets" xlink:href="wdc-20200103.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsCalc2" xlink:href="wdc-20200103.xsd#CondensedConsolidatedBalanceSheetsCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="wdc-20200103.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="wdc-20200103.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:href="wdc-20200103.xsd#CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="wdc-20200103.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfShareholdersEquity" xlink:href="wdc-20200103.xsd#CondensedConsolidatedStatementsOfShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CoverPage" xlink:href="wdc-20200103.xsd#CoverPage" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Debt" xlink:href="wdc-20200103.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtAdditionalInformationDetails" xlink:href="wdc-20200103.xsd#DebtAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtScheduleOfDebtDetails" xlink:href="wdc-20200103.xsd#DebtScheduleOfDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtScheduleOfDebtDetailsCalc2" xlink:href="wdc-20200103.xsd#DebtScheduleOfDebtDetailsCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTables" xlink:href="wdc-20200103.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivities" xlink:href="wdc-20200103.xsd#DerivativesInstrumentsAndHedgingActivities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetails" xlink:href="wdc-20200103.xsd#DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:href="wdc-20200103.xsd#EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:href="wdc-20200103.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:href="wdc-20200103.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:href="wdc-20200103.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:href="wdc-20200103.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestments" xlink:href="wdc-20200103.xsd#FairValueMeasurementsAndInvestments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:href="wdc-20200103.xsd#FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:href="wdc-20200103.xsd#FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsTables" xlink:href="wdc-20200103.xsd#FairValueMeasurementsAndInvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpense" xlink:href="wdc-20200103.xsd#IncomeTaxExpense" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseAdditionalInformationDetails" xlink:href="wdc-20200103.xsd#IncomeTaxExpenseAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseTables" xlink:href="wdc-20200103.xsd#IncomeTaxExpenseTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseTaxExpenseAndEffectiveTaxRateDetails" xlink:href="wdc-20200103.xsd#IncomeTaxExpenseTaxExpenseAndEffectiveTaxRateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LeasesAndOtherCommitments" xlink:href="wdc-20200103.xsd#LeasesAndOtherCommitments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LeasesAndOtherCommitmentsLongTermCommitmentsDetails" xlink:href="wdc-20200103.xsd#LeasesAndOtherCommitmentsLongTermCommitmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LeasesAndOtherCommitmentsSupplementalBalanceSheetDetails" xlink:href="wdc-20200103.xsd#LeasesAndOtherCommitmentsSupplementalBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LeasesAndOtherCommitmentsSupplementalBalanceSheetDetailsCalc2" xlink:href="wdc-20200103.xsd#LeasesAndOtherCommitmentsSupplementalBalanceSheetDetailsCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LeasesAndOtherCommitmentsSupplementalCashFlowDetails" xlink:href="wdc-20200103.xsd#LeasesAndOtherCommitmentsSupplementalCashFlowDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LeasesAndOtherCommitmentsTables" xlink:href="wdc-20200103.xsd#LeasesAndOtherCommitmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedings" xlink:href="wdc-20200103.xsd#LegalProceedings" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShare" xlink:href="wdc-20200103.xsd#NetIncomeLossPerCommonShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShareAdditionalInformationDetails" xlink:href="wdc-20200103.xsd#NetIncomeLossPerCommonShareAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomeLossPerCommonShareTables" xlink:href="wdc-20200103.xsd#NetIncomeLossPerCommonShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentation" xlink:href="wdc-20200103.xsd#OrganizationAndBasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationPolicies" xlink:href="wdc-20200103.xsd#OrganizationAndBasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:href="wdc-20200103.xsd#PensionsAndOtherPostRetirementBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetails" xlink:href="wdc-20200103.xsd#PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:href="wdc-20200103.xsd#PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:href="wdc-20200103.xsd#PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:href="wdc-20200103.xsd#PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAccountingPronouncements" xlink:href="wdc-20200103.xsd#RecentlyAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAccountingPronouncementsAdditionalInformationDetails" xlink:href="wdc-20200103.xsd#RecentlyAccountingPronouncementsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingencies" xlink:href="wdc-20200103.xsd#RelatedPartiesAndRelatedCommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesAdditionalInformationDetails" xlink:href="wdc-20200103.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesEquityInvestmentsDetails" xlink:href="wdc-20200103.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesEquityInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:href="wdc-20200103.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:href="wdc-20200103.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesMaximumLossExposureDetails" xlink:href="wdc-20200103.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesMaximumLossExposureDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesTables" xlink:href="wdc-20200103.xsd#RelatedPartiesAndRelatedCommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Revenues" xlink:href="wdc-20200103.xsd#Revenues" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesAdditionalInformationDetails" xlink:href="wdc-20200103.xsd#RevenuesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesDisaggregationOfRevenueDetails" xlink:href="wdc-20200103.xsd#RevenuesDisaggregationOfRevenueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesRevenueRemainingPerformanceObligationDetails" xlink:href="wdc-20200103.xsd#RevenuesRevenueRemainingPerformanceObligationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesTables" xlink:href="wdc-20200103.xsd#RevenuesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:href="wdc-20200103.xsd#SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesAdditionalInformationDetails" xlink:href="wdc-20200103.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:href="wdc-20200103.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:href="wdc-20200103.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfComprehensiveIncomeLossDetails" xlink:href="wdc-20200103.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfComprehensiveIncomeLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfOperationsDetails" xlink:href="wdc-20200103.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfOperationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:href="wdc-20200103.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquity" xlink:href="wdc-20200103.xsd#ShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityDividendsDetails" xlink:href="wdc-20200103.xsd#ShareholdersEquityDividendsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetails" xlink:href="wdc-20200103.xsd#ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetails" xlink:href="wdc-20200103.xsd#ShareholdersEquityShareRepurchaseProgramDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:href="wdc-20200103.xsd#ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetails" xlink:href="wdc-20200103.xsd#ShareholdersEquityStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityTables" xlink:href="wdc-20200103.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:href="wdc-20200103.xsd#ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:href="wdc-20200103.xsd#SupplementalFinancialStatementData" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:href="wdc-20200103.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:href="wdc-20200103.xsd#SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:href="wdc-20200103.xsd#SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:href="wdc-20200103.xsd#SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:href="wdc-20200103.xsd#SupplementalFinancialStatementDataInventoryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:href="wdc-20200103.xsd#SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetails" xlink:href="wdc-20200103.xsd#SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:href="wdc-20200103.xsd#SupplementalFinancialStatementDataTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:href="wdc-20200103.xsd#SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:href="wdc-20200103.xsd#SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:to="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_928e20af-e738-4a2d-05b8-cf88fed11953" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_PreferredStockValue_928e20af-e738-4a2d-05b8-cf88fed11953" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_CommonStockValues" xlink:label="loc_wdc_CommonStockValues_eb45c52a-ef01-5e79-a5db-f6cc23ad4a8a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_wdc_CommonStockValues_eb45c52a-ef01-5e79-a5db-f6cc23ad4a8a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_3d5a0ca6-0f59-67e6-adb5-6aecd22b693b" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_AdditionalPaidInCapital_3d5a0ca6-0f59-67e6-adb5-6aecd22b693b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_988c1346-b444-a867-fe80-f3aec1443d54" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_988c1346-b444-a867-fe80-f3aec1443d54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_62305d8f-d807-0fe8-d0ab-f2c2b3d03011" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_62305d8f-d807-0fe8-d0ab-f2c2b3d03011" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_e6069c8d-dfec-45ff-4b3f-643d125d5b29" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_TreasuryStockValue_e6069c8d-dfec-45ff-4b3f-643d125d5b29" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:to="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_4d934b0d-59bc-ae5c-ffb9-b6ced82ff9f8" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:to="loc_us-gaap_CommitmentsAndContingencies_4d934b0d-59bc-ae5c-ffb9-b6ced82ff9f8" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsCalc2" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaap_DepreciationAndAmortization_9f9b2594-efaa-e1fa-01db-e194221f432f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_DepreciationAndAmortization_9f9b2594-efaa-e1fa-01db-e194221f432f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_f0b9d825-b0b9-37fd-4d25-9294a8598890" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_ShareBasedCompensation_f0b9d825-b0b9-37fd-4d25-9294a8598890" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_3421bed6-296e-da4e-f0e9-a2a8fa1f6d19" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_3421bed6-296e-da4e-f0e9-a2a8fa1f6d19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_ae064a9e-7563-5fa2-95b8-bfe0f620685d" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_ae064a9e-7563-5fa2-95b8-bfe0f620685d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_c839a0d8-dfea-e1a5-fc91-ef95e7aed9cb" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_c839a0d8-dfea-e1a5-fc91-ef95e7aed9cb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_1571e7d6-d666-48e2-395f-6e58ea563df3" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_1571e7d6-d666-48e2-395f-6e58ea563df3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_09b7b41a-f5a1-c45e-d61b-846fff462802" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_09b7b41a-f5a1-c45e-d61b-846fff462802" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_f2b34f8d-2445-12ee-2c68-fa0c5409d5e0" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_f2b34f8d-2445-12ee-2c68-fa0c5409d5e0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_ac24895d-2fd2-0db7-5c56-26fa8eb18f8f" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_ac24895d-2fd2-0db7-5c56-26fa8eb18f8f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableRelatedParties_b62d9ad7-27f1-1e68-6211-2d739fe9161a" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableRelatedParties_b62d9ad7-27f1-1e68-6211-2d739fe9161a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_c8705fc2-a98a-ac1d-2832-812bd5cae0da" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_c8705fc2-a98a-ac1d-2832-812bd5cae0da" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_300c5b66-f508-fab7-3859-345853a2ad7c" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_300c5b66-f508-fab7-3859-345853a2ad7c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_2d3aea93-0685-7648-d025-abd4b91cbb46" xlink:type="locator" />
    <link:calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_2d3aea93-0685-7648-d025-abd4b91cbb46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_0f8df60b-841f-6df5-83c3-e4049d366459" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_0f8df60b-841f-6df5-83c3-e4049d366459" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfMachineryAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_44d758dc-07a4-0a2a-f564-439f4125db61" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_44d758dc-07a4-0a2a-f564-439f4125db61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6abb14d9-7978-302d-af6b-dbfc88f76bf2" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6abb14d9-7978-302d-af6b-dbfc88f76bf2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_d3769ff7-3f7d-8a64-ea69-f16e64d6f178" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_d3769ff7-3f7d-8a64-ea69-f16e64d6f178" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_d1d20cfe-f038-824a-0236-247c2a122ebc" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_d1d20cfe-f038-824a-0236-247c2a122ebc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_ea25580e-4e75-1e91-1fb3-b72df07a6d03" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_ea25580e-4e75-1e91-1fb3-b72df07a6d03" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_PaymentsForLongTermLoansForRelatedParties" xlink:label="loc_wdc_PaymentsForLongTermLoansForRelatedParties_3ea55269-2d0e-5804-87d8-f6cc221a1bb8" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_wdc_PaymentsForLongTermLoansForRelatedParties_3ea55269-2d0e-5804-87d8-f6cc221a1bb8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_ProceedsFromLongTermLoansForRelatedParties" xlink:label="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_8cd0ac87-cd79-b491-d0f1-f6cc2174e78c" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_8cd0ac87-cd79-b491-d0f1-f6cc2174e78c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_b5cf64b6-8899-5a9a-328a-4f0a312ae378" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_b5cf64b6-8899-5a9a-328a-4f0a312ae378" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_6bd7c3da-2a5b-cbc6-d33a-bb097a23c2f6" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_6bd7c3da-2a5b-cbc6-d33a-bb097a23c2f6" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_c4761fa8-dc2a-e270-4b5c-921deca83ad0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_c4761fa8-dc2a-e270-4b5c-921deca83ad0" xlink:to="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_1ed26a82-dd4b-490f-d61a-b04c5d44793e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_c4761fa8-dc2a-e270-4b5c-921deca83ad0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_1ed26a82-dd4b-490f-d61a-b04c5d44793e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_93a02e96-cdec-754d-5e19-4ab1e0bf759a" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_1ed26a82-dd4b-490f-d61a-b04c5d44793e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_93a02e96-cdec-754d-5e19-4ab1e0bf759a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_cabf789f-6ec6-1109-b829-dd6afa0261c8" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_93a02e96-cdec-754d-5e19-4ab1e0bf759a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_cabf789f-6ec6-1109-b829-dd6afa0261c8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_10f4e187-d236-b8a3-b3b6-e65153fa455e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_93a02e96-cdec-754d-5e19-4ab1e0bf759a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_10f4e187-d236-b8a3-b3b6-e65153fa455e" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_b836d9f1-809a-334c-c97a-f6cc21654c55" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_93a02e96-cdec-754d-5e19-4ab1e0bf759a" xlink:to="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_b836d9f1-809a-334c-c97a-f6cc21654c55" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_02ee5514-cc7d-0d55-8862-28a865eecb19" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_1ed26a82-dd4b-490f-d61a-b04c5d44793e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_02ee5514-cc7d-0d55-8862-28a865eecb19" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_d71649eb-5769-933d-7982-2a2ada9ea257" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_8db01d6d-ae17-523f-94b9-8ab4add4a22e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_d71649eb-5769-933d-7982-2a2ada9ea257" xlink:to="loc_us-gaap_OperatingIncomeLoss_8db01d6d-ae17-523f-94b9-8ab4add4a22e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_8db01d6d-ae17-523f-94b9-8ab4add4a22e" xlink:to="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_98c25af7-47ba-69a3-12c4-e52bd51b359e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_8db01d6d-ae17-523f-94b9-8ab4add4a22e" xlink:to="loc_us-gaap_GrossProfit_98c25af7-47ba-69a3-12c4-e52bd51b359e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b88c060f-09b3-b6c0-4cdb-a77cb8e75ec8" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_98c25af7-47ba-69a3-12c4-e52bd51b359e" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b88c060f-09b3-b6c0-4cdb-a77cb8e75ec8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_3549c1c0-2f2a-e44b-026b-b4042153e489" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_98c25af7-47ba-69a3-12c4-e52bd51b359e" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_3549c1c0-2f2a-e44b-026b-b4042153e489" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_28fe77ae-e122-e428-d718-aff2ad445bc8" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_d71649eb-5769-933d-7982-2a2ada9ea257" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_28fe77ae-e122-e428-d718-aff2ad445bc8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_d1f3a8d2-a9eb-dfaa-d8d8-e9a2b8c4ce0c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_28fe77ae-e122-e428-d718-aff2ad445bc8" xlink:to="loc_us-gaap_InvestmentIncomeInterest_d1f3a8d2-a9eb-dfaa-d8d8-e9a2b8c4ce0c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_16e9f6a6-5524-a7b1-7e7c-73ee97610ec6" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_28fe77ae-e122-e428-d718-aff2ad445bc8" xlink:to="loc_us-gaap_InterestExpense_16e9f6a6-5524-a7b1-7e7c-73ee97610ec6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_7a3a9730-2927-590e-4e76-6aeb4157256e" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_28fe77ae-e122-e428-d718-aff2ad445bc8" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_7a3a9730-2927-590e-4e76-6aeb4157256e" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfShareholdersEquity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/CoverPage" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/Debt" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/DebtAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/DebtScheduleOfDebtDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_a2f199ce-3001-c200-d488-633bc54206dc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_440d49bc-ab70-2673-3639-4fbbaa711932" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_a2f199ce-3001-c200-d488-633bc54206dc" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_440d49bc-ab70-2673-3639-4fbbaa711932" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_b203031c-861c-8c5e-65f5-f1b72d84dfd1" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_a2f199ce-3001-c200-d488-633bc54206dc" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_b203031c-861c-8c5e-65f5-f1b72d84dfd1" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/DebtScheduleOfDebtDetailsCalc2" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_61B880CFA740160C9412208212D1BFA9_a2f199ce-3001-c200-d488-633bc54206dc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_61B880CFA740160C9412208212D1BFA9_aa2e73c1-d03e-7f76-3502-7a650f99607c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_61B880CFA740160C9412208212D1BFA9_a2f199ce-3001-c200-d488-633bc54206dc" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_61B880CFA740160C9412208212D1BFA9_aa2e73c1-d03e-7f76-3502-7a650f99607c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_61B880CFA740160C9412208212D1BFA9_4909d223-7980-3e65-3e19-5f45ac16b538" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_61B880CFA740160C9412208212D1BFA9_a2f199ce-3001-c200-d488-633bc54206dc" xlink:to="loc_us-gaap_LongTermDebtCurrent_61B880CFA740160C9412208212D1BFA9_4909d223-7980-3e65-3e19-5f45ac16b538" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/DebtTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivitiesAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_a0a5801b-c8ce-1793-dd5f-edbcde4cc5a3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_554f95d2-cb4f-eb2c-68b3-7e12c8578a72" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_a0a5801b-c8ce-1793-dd5f-edbcde4cc5a3" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_554f95d2-cb4f-eb2c-68b3-7e12c8578a72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_05d1a9f5-40b5-5876-afca-b2b8e7f078c9" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_a0a5801b-c8ce-1793-dd5f-edbcde4cc5a3" xlink:to="loc_us-gaap_DerivativeAssets_05d1a9f5-40b5-5876-afca-b2b8e7f078c9" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/IncomeTaxExpense" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseTaxExpenseAndEffectiveTaxRateDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/LeasesAndOtherCommitments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/LeasesAndOtherCommitmentsLongTermCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PurchaseObligation" xlink:label="loc_us-gaap_PurchaseObligation_4564c1c7-74ed-d1ef-d481-b41fec1cdc52" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PurchaseObligationDueInSecondYear" xlink:label="loc_us-gaap_PurchaseObligationDueInSecondYear_42fc29ea-4dbf-56f2-28dd-112702fcedfc" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_4564c1c7-74ed-d1ef-d481-b41fec1cdc52" xlink:to="loc_us-gaap_PurchaseObligationDueInSecondYear_42fc29ea-4dbf-56f2-28dd-112702fcedfc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PurchaseObligationDueInThirdYear" xlink:label="loc_us-gaap_PurchaseObligationDueInThirdYear_4cca6e26-7515-5daa-0b53-abe06279b0ca" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_4564c1c7-74ed-d1ef-d481-b41fec1cdc52" xlink:to="loc_us-gaap_PurchaseObligationDueInThirdYear_4cca6e26-7515-5daa-0b53-abe06279b0ca" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PurchaseObligationDueInFourthYear" xlink:label="loc_us-gaap_PurchaseObligationDueInFourthYear_d335caf5-a9b0-842c-0349-de0ef3a84f0c" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_4564c1c7-74ed-d1ef-d481-b41fec1cdc52" xlink:to="loc_us-gaap_PurchaseObligationDueInFourthYear_d335caf5-a9b0-842c-0349-de0ef3a84f0c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PurchaseObligationDueInFifthYear" xlink:label="loc_us-gaap_PurchaseObligationDueInFifthYear_8fd3b711-9dae-3407-aa0c-985f128f2a69" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_4564c1c7-74ed-d1ef-d481-b41fec1cdc52" xlink:to="loc_us-gaap_PurchaseObligationDueInFifthYear_8fd3b711-9dae-3407-aa0c-985f128f2a69" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_PurchaseObligationDueRemainderOfFiscalYear" xlink:label="loc_wdc_PurchaseObligationDueRemainderOfFiscalYear_125FC6CD1AD561333CA6428A73C4C539" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_4564c1c7-74ed-d1ef-d481-b41fec1cdc52" xlink:to="loc_wdc_PurchaseObligationDueRemainderOfFiscalYear_125FC6CD1AD561333CA6428A73C4C539" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PurchaseObligationDueAfterFifthYear" xlink:label="loc_us-gaap_PurchaseObligationDueAfterFifthYear_ed2e70a2-8771-b9be-0796-aada5a6a82d3" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_4564c1c7-74ed-d1ef-d481-b41fec1cdc52" xlink:to="loc_us-gaap_PurchaseObligationDueAfterFifthYear_ed2e70a2-8771-b9be-0796-aada5a6a82d3" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/LeasesAndOtherCommitmentsSupplementalBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_48abcf97-737b-2b2c-8a8c-c74539d0b215" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_48abcf97-737b-2b2c-8a8c-c74539d0b215" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_9b040bc1-f43c-735d-05f7-679f319d2bb6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_9b040bc1-f43c-735d-05f7-679f319d2bb6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_2f0ec234-4f20-7099-efb3-3c0ab4d024dd" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_2f0ec234-4f20-7099-efb3-3c0ab4d024dd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_1ed751b1-5f94-4f6f-41e9-ef873c9f2bab" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_1ed751b1-5f94-4f6f-41e9-ef873c9f2bab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_8a8de21f-aadc-3af7-8c96-d54cf42b401b" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_8a8de21f-aadc-3af7-8c96-d54cf42b401b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_b411eec9-2a0a-356b-e751-bd0680ab4d58" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_b411eec9-2a0a-356b-e751-bd0680ab4d58" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/LeasesAndOtherCommitmentsSupplementalBalanceSheetDetailsCalc2" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_40E21E9C6A9768593930D7ABCFF499ED_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_40E21E9C6A9768593930D7ABCFF499ED_07815ffa-512a-3133-dcbb-38e09d2626b9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_40E21E9C6A9768593930D7ABCFF499ED_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_40E21E9C6A9768593930D7ABCFF499ED_07815ffa-512a-3133-dcbb-38e09d2626b9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_40E21E9C6A9768593930D7ABCFF499ED_b983c2d8-8318-0a7e-1a5c-6ab2933f7be5" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_40E21E9C6A9768593930D7ABCFF499ED_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_OperatingLeaseLiability_40E21E9C6A9768593930D7ABCFF499ED_b983c2d8-8318-0a7e-1a5c-6ab2933f7be5" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/LeasesAndOtherCommitmentsSupplementalCashFlowDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/LeasesAndOtherCommitmentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/LegalProceedings" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShare" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShareAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8c9389ea-1fbb-7e45-ce1f-5a1d89572c0d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_fbdbb03d-8583-701f-d6e2-69f8229c6051" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8c9389ea-1fbb-7e45-ce1f-5a1d89572c0d" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_fbdbb03d-8583-701f-d6e2-69f8229c6051" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_90854703-859b-2c45-aef2-d270627b3141" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8c9389ea-1fbb-7e45-ce1f-5a1d89572c0d" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_90854703-859b-2c45-aef2-d270627b3141" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/NetIncomeLossPerCommonShareTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/OrganizationAndBasisOfPresentation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/OrganizationAndBasisOfPresentationPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_ba6fb524-25a2-9912-2ce3-daf35bbcf9c3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_a57e9aa7-191d-46c2-2e04-3fd2e411d7da" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_ba6fb524-25a2-9912-2ce3-daf35bbcf9c3" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_a57e9aa7-191d-46c2-2e04-3fd2e411d7da" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_1d5e04b8-b6a0-335a-2c79-60834f9a1f25" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_ba6fb524-25a2-9912-2ce3-daf35bbcf9c3" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_1d5e04b8-b6a0-335a-2c79-60834f9a1f25" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_05923952-3428-ded6-0d76-2e7d3f78c52b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_9cc42d15-a7a0-2267-301d-4a46d802a1f2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_05923952-3428-ded6-0d76-2e7d3f78c52b" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_9cc42d15-a7a0-2267-301d-4a46d802a1f2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_540758d9-5c85-d758-1cf1-4856b8f457a3" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_05923952-3428-ded6-0d76-2e7d3f78c52b" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_540758d9-5c85-d758-1cf1-4856b8f457a3" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/RecentlyAccountingPronouncements" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RecentlyAccountingPronouncementsAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingencies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesEquityInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20200103.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_7157dcce-9af1-fb55-2585-f6cc21853d81" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NotesReceivableRelatedParties" xlink:label="loc_us-gaap_NotesReceivableRelatedParties_1b9c07dd-b308-42f3-0f6e-ce47192c9fd3" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_7157dcce-9af1-fb55-2585-f6cc21853d81" xlink:to="loc_us-gaap_NotesReceivableRelatedParties_1b9c07dd-b308-42f3-0f6e-ce47192c9fd3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Investments" xlink:label="loc_us-gaap_Investments_9f1ea5a8-e0ad-ec84-f87b-82d9863fd82f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_7157dcce-9af1-fb55-2585-f6cc21853d81" xlink:to="loc_us-gaap_Investments_9f1ea5a8-e0ad-ec84-f87b-82d9863fd82f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesJointVentureLeaseAmountsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_efb8dd76-1a7a-9e03-9b7d-b1be40dfb40a" xlink:type="locator" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_GuaranteeObligationsMaximumExposureYearOne" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_e6eb12fe-41b0-0376-5775-f6cc2129c1b2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GuaranteeObligationsMaximumExposure_efb8dd76-1a7a-9e03-9b7d-b1be40dfb40a" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_e6eb12fe-41b0-0376-5775-f6cc2129c1b2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_GuaranteeObligationsMaximumExposureYearTwo" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_2dc0a484-eaff-61aa-3813-f6cc23052237" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GuaranteeObligationsMaximumExposure_efb8dd76-1a7a-9e03-9b7d-b1be40dfb40a" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_2dc0a484-eaff-61aa-3813-f6cc23052237" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_GuaranteeObligationsMaximumExposureYearThree" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_ccc10f3f-23ac-04fd-b727-f6cc22139333" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GuaranteeObligationsMaximumExposure_efb8dd76-1a7a-9e03-9b7d-b1be40dfb40a" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_ccc10f3f-23ac-04fd-b727-f6cc22139333" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_GuaranteeObligationsMaximumExposureYearFour" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_666db500-f044-9e22-f90b-f6cc21d3115b" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GuaranteeObligationsMaximumExposure_efb8dd76-1a7a-9e03-9b7d-b1be40dfb40a" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_666db500-f044-9e22-f90b-f6cc21d3115b" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_GuaranteeObligationsMaximumExposureYearFive" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_24ec5cb9-e504-f6de-b08a-f6cc20ec50dd" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GuaranteeObligationsMaximumExposure_efb8dd76-1a7a-9e03-9b7d-b1be40dfb40a" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_24ec5cb9-e504-f6de-b08a-f6cc20ec50dd" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_GuaranteeObligationsMaximumExposureThereafter" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureThereafter_5c79afca-b723-7ef3-3357-f6cc21e5911c" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GuaranteeObligationsMaximumExposure_efb8dd76-1a7a-9e03-9b7d-b1be40dfb40a" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureThereafter_5c79afca-b723-7ef3-3357-f6cc21e5911c" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesJvLeaseGuaranteesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesMaximumLossExposureDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RelatedPartiesAndRelatedCommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/Revenues" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RevenuesAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RevenuesDisaggregationOfRevenueDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RevenuesRevenueRemainingPerformanceObligationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RevenuesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_DC5A33AE0237571F98E215FDB16B0414" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_893893179A7858578F5C4D8520FDDFBA" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_DC5A33AE0237571F98E215FDB16B0414" xlink:to="loc_us-gaap_LiabilitiesCurrent_893893179A7858578F5C4D8520FDDFBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_563BAC4654AA5EEEB563E9C3FFB26FBD" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_893893179A7858578F5C4D8520FDDFBA" xlink:to="loc_us-gaap_AccountsPayableCurrent_563BAC4654AA5EEEB563E9C3FFB26FBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_71A3FFFB4B91528E9D70984DB9127EB3" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_893893179A7858578F5C4D8520FDDFBA" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_71A3FFFB4B91528E9D70984DB9127EB3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DueToAffiliateCurrent" xlink:label="loc_us-gaap_DueToAffiliateCurrent_D53DD0DF26EC5142B5C936654598DE31" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_893893179A7858578F5C4D8520FDDFBA" xlink:to="loc_us-gaap_DueToAffiliateCurrent_D53DD0DF26EC5142B5C936654598DE31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_6375E4F1FFD154A087D5E52CAC3E58B7" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_893893179A7858578F5C4D8520FDDFBA" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_6375E4F1FFD154A087D5E52CAC3E58B7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_542B9EA6635A58A0AFBB076C613702BC" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_893893179A7858578F5C4D8520FDDFBA" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_542B9EA6635A58A0AFBB076C613702BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_73C8E8A7E8305D7CB3C155E0043F481D" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_893893179A7858578F5C4D8520FDDFBA" xlink:to="loc_us-gaap_LongTermDebtCurrent_73C8E8A7E8305D7CB3C155E0043F481D" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_IntercompanyPayableCurrent" xlink:label="loc_wdc_IntercompanyPayableCurrent_971678CF3EBE58268419CD26A16DB43B" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_893893179A7858578F5C4D8520FDDFBA" xlink:to="loc_wdc_IntercompanyPayableCurrent_971678CF3EBE58268419CD26A16DB43B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_26E2143F399F586DAE506F3B5B874F53" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_DC5A33AE0237571F98E215FDB16B0414" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_26E2143F399F586DAE506F3B5B874F53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DueToAffiliateNoncurrent" xlink:label="loc_us-gaap_DueToAffiliateNoncurrent_34653634871F5D39B4487559D3B06E39" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_DC5A33AE0237571F98E215FDB16B0414" xlink:to="loc_us-gaap_DueToAffiliateNoncurrent_34653634871F5D39B4487559D3B06E39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_0347317394AF5BC7812A969921F5AB66" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_DC5A33AE0237571F98E215FDB16B0414" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_0347317394AF5BC7812A969921F5AB66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_F1591A1BA48455E08E5574964C355AB5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_29D89290720855049D2AF0C4366615E4" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_F1591A1BA48455E08E5574964C355AB5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_29D89290720855049D2AF0C4366615E4" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_8ABF971DEF4A570DA06AFBDCC6A1358D" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_F1591A1BA48455E08E5574964C355AB5" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_8ABF971DEF4A570DA06AFBDCC6A1358D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_C4E08DE9E7C55B01B0D25931CB4AC031" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_F1591A1BA48455E08E5574964C355AB5" xlink:to="loc_us-gaap_Goodwill_C4E08DE9E7C55B01B0D25931CB4AC031" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_7450AABBFAA055D39BDA91C6A2CCB871" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_F1591A1BA48455E08E5574964C355AB5" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_7450AABBFAA055D39BDA91C6A2CCB871" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_921D6D4C400B5E67A608139B9F019697" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_F1591A1BA48455E08E5574964C355AB5" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_921D6D4C400B5E67A608139B9F019697" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DueFromAffiliateNoncurrent" xlink:label="loc_us-gaap_DueFromAffiliateNoncurrent_D968A8041FFD50458CACB0ACDC255EB1" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_F1591A1BA48455E08E5574964C355AB5" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_D968A8041FFD50458CACB0ACDC255EB1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_B38E5BD7CD9459B6ACD6E10941B8A5D7" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_F1591A1BA48455E08E5574964C355AB5" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_B38E5BD7CD9459B6ACD6E10941B8A5D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_8DBBDC6D942D5509B8191B29D9199467" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_F1591A1BA48455E08E5574964C355AB5" xlink:to="loc_us-gaap_AssetsCurrent_8DBBDC6D942D5509B8191B29D9199467" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_83C54DAA99875AA18F3DF596D71C64A8" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8DBBDC6D942D5509B8191B29D9199467" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_83C54DAA99875AA18F3DF596D71C64A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_C80F9517FDCA5E3589DF6088C926DAF8" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8DBBDC6D942D5509B8191B29D9199467" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_C80F9517FDCA5E3589DF6088C926DAF8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DueFromAffiliateCurrent" xlink:label="loc_us-gaap_DueFromAffiliateCurrent_B92D74D1F8B95FFD8C150EEA1463C882" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8DBBDC6D942D5509B8191B29D9199467" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_B92D74D1F8B95FFD8C150EEA1463C882" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_3E5BA96824755AA49A0BBC73315D91FC" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8DBBDC6D942D5509B8191B29D9199467" xlink:to="loc_us-gaap_InventoryNet_3E5BA96824755AA49A0BBC73315D91FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_592419FCA1835F6799173353E53BF281" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8DBBDC6D942D5509B8191B29D9199467" xlink:to="loc_us-gaap_OtherAssetsCurrent_592419FCA1835F6799173353E53BF281" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_IntercompanyReceivableNetCurrent" xlink:label="loc_wdc_IntercompanyReceivableNetCurrent_DB8DA5376F885595BD95C2CBD733AEC2" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_8DBBDC6D942D5509B8191B29D9199467" xlink:to="loc_wdc_IntercompanyReceivableNetCurrent_DB8DA5376F885595BD95C2CBD733AEC2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_0f8df60b-841f-6df5-83c3-e4049d366459" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_0f8df60b-841f-6df5-83c3-e4049d366459" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_PaymentsForLongTermLoansForRelatedParties" xlink:label="loc_wdc_PaymentsForLongTermLoansForRelatedParties_3ea55269-2d0e-5804-87d8-f6cc221a1bb8" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_wdc_PaymentsForLongTermLoansForRelatedParties_3ea55269-2d0e-5804-87d8-f6cc221a1bb8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_ProceedsFromLongTermLoansForRelatedParties" xlink:label="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_8cd0ac87-cd79-b491-d0f1-f6cc2174e78c" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_8cd0ac87-cd79-b491-d0f1-f6cc2174e78c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_b5cf64b6-8899-5a9a-328a-4f0a312ae378" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_b5cf64b6-8899-5a9a-328a-4f0a312ae378" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_Intercompanyloanstofromconsolidatedsubsidiaries" xlink:label="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_d49ac886-197d-3683-c3a1-f6cc2396409f" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_d49ac886-197d-3683-c3a1-f6cc2396409f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_62caab18-a2b9-42d1-1f65-6d161ab8daf7" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_62caab18-a2b9-42d1-1f65-6d161ab8daf7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6abb14d9-7978-302d-af6b-dbfc88f76bf2" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6abb14d9-7978-302d-af6b-dbfc88f76bf2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfMachineryAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_44d758dc-07a4-0a2a-f564-439f4125db61" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_44d758dc-07a4-0a2a-f564-439f4125db61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_d3769ff7-3f7d-8a64-ea69-f16e64d6f178" xlink:type="locator" />
    <link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_d3769ff7-3f7d-8a64-ea69-f16e64d6f178" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_d1d20cfe-f038-824a-0236-247c2a122ebc" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_d1d20cfe-f038-824a-0236-247c2a122ebc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_ea25580e-4e75-1e91-1fb3-b72df07a6d03" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_ea25580e-4e75-1e91-1fb3-b72df07a6d03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:type="locator" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans" xlink:label="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_7d2e3876-c908-3adb-1f9a-f6cc22bdd4df" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_7d2e3876-c908-3adb-1f9a-f6cc22bdd4df" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_3f804297-91a1-3939-541d-a39b6288c9f9" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_3f804297-91a1-3939-541d-a39b6288c9f9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_c70935d4-250d-fc61-ad26-5c3af3f55141" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_c70935d4-250d-fc61-ad26-5c3af3f55141" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_97b2cb74-f62e-ba8a-3953-eb9af3cfb8a4" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_PaymentsOfDividends_97b2cb74-f62e-ba8a-3953-eb9af3cfb8a4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_50c96d39-6558-6bd8-b3d6-7ed1c558807e" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_50c96d39-6558-6bd8-b3d6-7ed1c558807e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_31025a66-07f0-e773-4462-872a46a21818" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfLinesOfCredit_31025a66-07f0-e773-4462-872a46a21818" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromContributionsFromParent" xlink:label="loc_us-gaap_ProceedsFromContributionsFromParent_7a1342d7-5c45-e5c1-c0d1-19d9aa0e686a" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_ProceedsFromContributionsFromParent_7a1342d7-5c45-e5c1-c0d1-19d9aa0e686a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_3ddd0290-3d1a-2e62-5161-428d280d3fb6" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_3ddd0290-3d1a-2e62-5161-428d280d3fb6" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfComprehensiveIncomeLossDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfOperationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_9edac52b-cd64-b6b8-351b-74213aa494c3" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_9edac52b-cd64-b6b8-351b-74213aa494c3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_89fcc343-1933-1e77-588e-68d1c2f1a04f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_89fcc343-1933-1e77-588e-68d1c2f1a04f" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_Employeeterminationassetimpairmentandothercharges" xlink:label="loc_wdc_Employeeterminationassetimpairmentandothercharges_3cb28b64-a24b-9d48-de7f-f6cc23b213ad" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:to="loc_wdc_Employeeterminationassetimpairmentandothercharges_3cb28b64-a24b-9d48-de7f-f6cc23b213ad" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_Intercompanyoperatingexpenseincome" xlink:label="loc_wdc_Intercompanyoperatingexpenseincome_110792a6-38b9-2de8-7ca4-f6cc2163282d" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:to="loc_wdc_Intercompanyoperatingexpenseincome_110792a6-38b9-2de8-7ca4-f6cc2163282d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_d71649eb-5769-933d-7982-2a2ada9ea257" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_d71649eb-5769-933d-7982-2a2ada9ea257" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_666ca9f0-28f1-b21a-025e-36222808a6c3" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_666ca9f0-28f1-b21a-025e-36222808a6c3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_000bc779-72c7-cf70-7a52-d6ccfd21922d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_000bc779-72c7-cf70-7a52-d6ccfd21922d" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/ShareholdersEquity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/ShareholdersEquityDividendsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_120452df-d900-40f5-e99c-a8fd93010cf5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_a335203f-3ccd-a617-8dc0-23ff64100eab" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_120452df-d900-40f5-e99c-a8fd93010cf5" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_a335203f-3ccd-a617-8dc0-23ff64100eab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_9f3b1474-e7ae-6e2a-ddab-96b753d45d4b" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_120452df-d900-40f5-e99c-a8fd93010cf5" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_9f3b1474-e7ae-6e2a-ddab-96b753d45d4b" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/ShareholdersEquityTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_7450AABBFAA055D39BDA91C6A2CCB871" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0B6A2BEDFDA652DBB286726999C53EA6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_7450AABBFAA055D39BDA91C6A2CCB871" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_0B6A2BEDFDA652DBB286726999C53EA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_BA4D632BDDC35A599A3F7BD3DEB5B93D" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_7450AABBFAA055D39BDA91C6A2CCB871" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_BA4D632BDDC35A599A3F7BD3DEB5B93D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_1D381F279FF55EF29241CDFFED614F34" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_7450AABBFAA055D39BDA91C6A2CCB871" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_1D381F279FF55EF29241CDFFED614F34" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_7B98BB67D5775EB38BC1F5D77531D23D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_C7800D0A402B5E01A8897D0BF8F842AB" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_7B98BB67D5775EB38BC1F5D77531D23D" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_C7800D0A402B5E01A8897D0BF8F842AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_4DD3E92AE31350B686E6B8781F4CCCD4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_7B98BB67D5775EB38BC1F5D77531D23D" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_4DD3E92AE31350B686E6B8781F4CCCD4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_AEE0C905B9E756A29980C2E1B68505D6" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_7B98BB67D5775EB38BC1F5D77531D23D" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_AEE0C905B9E756A29980C2E1B68505D6" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_8c850143-cd0c-0f85-9038-e19d8c4f7808" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedIncomeTaxesNoncurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_8d6007a8-8f31-8076-aac9-5a15220d4487" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_8c850143-cd0c-0f85-9038-e19d8c4f7808" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_8d6007a8-8f31-8076-aac9-5a15220d4487" xlink:type="arc" />
    <link:loc xlink:href="wdc-20200103.xsd#wdc_OtherMiscellaniousLiabilitiesNoncurrent" xlink:label="loc_wdc_OtherMiscellaniousLiabilitiesNoncurrent_7fa2edb4-46db-7c23-b7bf-f6cc232e733f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_8c850143-cd0c-0f85-9038-e19d8c4f7808" xlink:to="loc_wdc_OtherMiscellaniousLiabilitiesNoncurrent_7fa2edb4-46db-7c23-b7bf-f6cc232e733f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilityForUncertainTaxPositionsNoncurrent" xlink:label="loc_us-gaap_LiabilityForUncertainTaxPositionsNoncurrent_5f6532e8-9e6d-0a09-4d87-b823fe099192" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_8c850143-cd0c-0f85-9038-e19d8c4f7808" xlink:to="loc_us-gaap_LiabilityForUncertainTaxPositionsNoncurrent_5f6532e8-9e6d-0a09-4d87-b823fe099192" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_4246ec24-1a4c-19dd-57c9-32d4a8e0cbaa" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_94cd7971-9d17-1c6e-6642-d4d38fb682b6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_4246ec24-1a4c-19dd-57c9-32d4a8e0cbaa" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_94cd7971-9d17-1c6e-6642-d4d38fb682b6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_7b7a3a8d-eb3d-0c85-68cc-b3d4d184ff23" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_4246ec24-1a4c-19dd-57c9-32d4a8e0cbaa" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_7b7a3a8d-eb3d-0c85-68cc-b3d4d184ff23" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_67A96488AF195B94ACCD005603374E22" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StandardProductWarrantyAccrualCurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualCurrent_93CDD7EE00F05996B99928F1C44A9DBE" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StandardProductWarrantyAccrual_67A96488AF195B94ACCD005603374E22" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualCurrent_93CDD7EE00F05996B99928F1C44A9DBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_A96FDC06F8E159889992BC0A4A8155FB" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StandardProductWarrantyAccrual_67A96488AF195B94ACCD005603374E22" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_A96FDC06F8E159889992BC0A4A8155FB" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:type="extended" />
</link:linkbase>
