<?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/CommitmentsContingenciesAndRelatedParties" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedParties" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetailsTextuals" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetail" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesPurchaseAgreementsDetails" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesPurchaseAgreementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesTables" xlink:href="wdc-20180928.xsd#CommitmentsContingenciesAndRelatedPartiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheets" xlink:href="wdc-20180928.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsCalc2" xlink:href="wdc-20180928.xsd#CondensedConsolidatedBalanceSheetsCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="wdc-20180928.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="wdc-20180928.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:href="wdc-20180928.xsd#CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/CondensedConsolidatedStatementsOfOperations" xlink:href="wdc-20180928.xsd#CondensedConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/Debt" xlink:href="wdc-20180928.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DebtTables" xlink:href="wdc-20180928.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DerivativesInstrumentsAndHedgingActivities" xlink:href="wdc-20180928.xsd#DerivativesInstrumentsAndHedgingActivities" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/DocumentAndEntityInformation" xlink:href="wdc-20180928.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherCharges" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesBusinessRealignmentActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetailTextuals" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetailTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesExpenseRecognitionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:href="wdc-20180928.xsd#EmployeeTerminationAssetImpairmentAndOtherChargesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestments" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFairValueMeasurementsAndInvestmentsTables" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestmentsFairValueMeasurementsAndInvestmentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:href="wdc-20180928.xsd#FairValueMeasurementsAndInvestmentsFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefit" xlink:href="wdc-20180928.xsd#IncomeTaxExpenseBenefit" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefitAdditionalInformationDetailsTextuals" xlink:href="wdc-20180928.xsd#IncomeTaxExpenseBenefitAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefitTables" xlink:href="wdc-20180928.xsd#IncomeTaxExpenseBenefitTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/IncomeTaxExpenseBenefitTaxProvisionDetails" xlink:href="wdc-20180928.xsd#IncomeTaxExpenseBenefitTaxProvisionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedings" xlink:href="wdc-20180928.xsd#LegalProceedings" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/LegalProceedingsAdditionalInformationDetails" xlink:href="wdc-20180928.xsd#LegalProceedingsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomePerCommonShare" xlink:href="wdc-20180928.xsd#NetIncomePerCommonShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomePerCommonShareDetails" xlink:href="wdc-20180928.xsd#NetIncomePerCommonShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/NetIncomePerCommonShareTables" xlink:href="wdc-20180928.xsd#NetIncomePerCommonShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationNotes" xlink:href="wdc-20180928.xsd#OrganizationAndBasisOfPresentationNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/OrganizationAndBasisOfPresentationPolicies" xlink:href="wdc-20180928.xsd#OrganizationAndBasisOfPresentationPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlans" xlink:href="wdc-20180928.xsd#PensionsAndOtherPostRetirementBenefitPlans" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:href="wdc-20180928.xsd#PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:href="wdc-20180928.xsd#PensionsAndOtherPostRetirementBenefitPlansObligationsAndFundedStatusDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansTables" xlink:href="wdc-20180928.xsd#PensionsAndOtherPostRetirementBenefitPlansTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:href="wdc-20180928.xsd#PensionsAndOtherPostRetirementBenefitPlansUnfundedAmountsRecognizedOnConsolidatedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncements" xlink:href="wdc-20180928.xsd#RecentlyAdoptedAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncementsRecentAccountingPronouncementsDetails" xlink:href="wdc-20180928.xsd#RecentlyAdoptedAccountingPronouncementsRecentAccountingPronouncementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesAdditionalInformationDetailsTextuals" xlink:href="wdc-20180928.xsd#RevenuesAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesDisaggregationOfRevenueDetails" xlink:href="wdc-20180928.xsd#RevenuesDisaggregationOfRevenueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesNotes" xlink:href="wdc-20180928.xsd#RevenuesNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesRevenueRemainingPerformanceObligationDetailsTextuals" xlink:href="wdc-20180928.xsd#RevenuesRevenueRemainingPerformanceObligationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/RevenuesTables" xlink:href="wdc-20180928.xsd#RevenuesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ScheduleOfDebtDetail" xlink:href="wdc-20180928.xsd#ScheduleOfDebtDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ScheduleOfDebtDetailCalc2" xlink:href="wdc-20180928.xsd#ScheduleOfDebtDetailCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeLossDetails" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesIncomeStatementDetails" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesIncomeStatementDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesSeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesSeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesStatementOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:href="wdc-20180928.xsd#SeparateFinancialInformationOfGuarantorSubsidiariesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquity" xlink:href="wdc-20180928.xsd#ShareholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityDividendsDetailsTextuals" xlink:href="wdc-20180928.xsd#ShareholdersEquityDividendsDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetail" xlink:href="wdc-20180928.xsd#ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:href="wdc-20180928.xsd#ShareholdersEquityShareRepurchaseProgramDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:href="wdc-20180928.xsd#ShareholdersEquityStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetail" xlink:href="wdc-20180928.xsd#ShareholdersEquityStockOptionActivityDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityTables" xlink:href="wdc-20180928.xsd#ShareholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:href="wdc-20180928.xsd#ShareholdersEquityUnrecognizedShareBasedCompensationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementData" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementData" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataAccumulatedOtherComprehensiveIncomeRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataGoodwillRollForwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataInventoryDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataInventoryDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataOtherLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTables" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataTotalWarrantyAccrualDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:href="wdc-20180928.xsd#SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedParties" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesAdditionalInformationDetailsTextuals" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesEquityInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20180928.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_352A95DECD885E1A80F3699E57C54808" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NotesReceivableRelatedParties" xlink:label="loc_us-gaap_NotesReceivableRelatedParties_3676E4751B90566DAC1F53C3C19A3CA0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_352A95DECD885E1A80F3699E57C54808" xlink:to="loc_us-gaap_NotesReceivableRelatedParties_3676E4751B90566DAC1F53C3C19A3CA0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Investments" xlink:label="loc_us-gaap_Investments_E329BBBF48F1586A8F3D5AE55936D323" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_352A95DECD885E1A80F3699E57C54808" xlink:to="loc_us-gaap_Investments_E329BBBF48F1586A8F3D5AE55936D323" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJointVentureLeaseAmountsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_c5f466ef-fe48-f179-ff52-549bd24caccf" xlink:type="locator" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureYearOne" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_44975bd9-9ef8-b36b-5bf8-bac52d1ae299" 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_c5f466ef-fe48-f179-ff52-549bd24caccf" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearOne_44975bd9-9ef8-b36b-5bf8-bac52d1ae299" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureYearTwo" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_f12e7240-f7f7-a8a6-be88-bac52e7ff9d5" 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_c5f466ef-fe48-f179-ff52-549bd24caccf" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearTwo_f12e7240-f7f7-a8a6-be88-bac52e7ff9d5" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureYearThree" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_1731fbee-9558-46ad-c6ea-bac52d4270f2" 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_c5f466ef-fe48-f179-ff52-549bd24caccf" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearThree_1731fbee-9558-46ad-c6ea-bac52d4270f2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureYearFour" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_bb5187fe-7b1d-6fa7-8f40-bac52e26a4f6" 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_c5f466ef-fe48-f179-ff52-549bd24caccf" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFour_bb5187fe-7b1d-6fa7-8f40-bac52e26a4f6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureYearFive" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_2386ec43-53d5-3202-f8d5-bac52d490821" 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_c5f466ef-fe48-f179-ff52-549bd24caccf" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureYearFive_2386ec43-53d5-3202-f8d5-bac52d490821" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_GuaranteeObligationsMaximumExposureThereafter" xlink:label="loc_wdc_GuaranteeObligationsMaximumExposureThereafter_77F1E72804643E468C7B639580E90E33" 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_c5f466ef-fe48-f179-ff52-549bd24caccf" xlink:to="loc_wdc_GuaranteeObligationsMaximumExposureThereafter_77F1E72804643E468C7B639580E90E33" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesJvLeaseGuaranteesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesMaximumLossExposureDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesPurchaseAgreementsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseObligation" xlink:label="loc_us-gaap_PurchaseObligation_5d90eae8-d7d0-196f-9ee8-660598767299" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseObligationFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_PurchaseObligationFutureMinimumPaymentsRemainderOfFiscalYear_ecaf4d2d-77bf-da4b-f5d6-0a3156e5a40f" 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_5d90eae8-d7d0-196f-9ee8-660598767299" xlink:to="loc_us-gaap_PurchaseObligationFutureMinimumPaymentsRemainderOfFiscalYear_ecaf4d2d-77bf-da4b-f5d6-0a3156e5a40f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseObligationDueInSecondYear" xlink:label="loc_us-gaap_PurchaseObligationDueInSecondYear_11846c14-8264-d3da-49e0-769598463349" 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_5d90eae8-d7d0-196f-9ee8-660598767299" xlink:to="loc_us-gaap_PurchaseObligationDueInSecondYear_11846c14-8264-d3da-49e0-769598463349" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseObligationDueInThirdYear" xlink:label="loc_us-gaap_PurchaseObligationDueInThirdYear_f899b283-15ef-a33d-7c4d-490f24e8a6ee" 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_5d90eae8-d7d0-196f-9ee8-660598767299" xlink:to="loc_us-gaap_PurchaseObligationDueInThirdYear_f899b283-15ef-a33d-7c4d-490f24e8a6ee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseObligationDueInFourthYear" xlink:label="loc_us-gaap_PurchaseObligationDueInFourthYear_fb4488b2-12c9-7d4a-2ce4-71a94ec8834a" 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_5d90eae8-d7d0-196f-9ee8-660598767299" xlink:to="loc_us-gaap_PurchaseObligationDueInFourthYear_fb4488b2-12c9-7d4a-2ce4-71a94ec8834a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PurchaseObligationDueInFifthYear" xlink:label="loc_us-gaap_PurchaseObligationDueInFifthYear_69a81c64-8b47-f06a-9163-d72a46d94fe1" 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_5d90eae8-d7d0-196f-9ee8-660598767299" xlink:to="loc_us-gaap_PurchaseObligationDueInFifthYear_69a81c64-8b47-f06a-9163-d72a46d94fe1" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/CommitmentsContingenciesAndRelatedPartiesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_159dcb00-b17e-17db-7098-be4159799459" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" 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_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_StockholdersEquity_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_4fb6195d-d905-dac7-e5a0-79f324993f79" 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_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_PreferredStockValue_4fb6195d-d905-dac7-e5a0-79f324993f79" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_CommonStockValues" xlink:label="loc_wdc_CommonStockValues_90b33e23-7020-0174-006f-bac52e71dc63" 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_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_wdc_CommonStockValues_90b33e23-7020-0174-006f-bac52e71dc63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_2d1b9d27-8b19-82d9-2843-5b3d292b7fbb" 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_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_AdditionalPaidInCapital_2d1b9d27-8b19-82d9-2843-5b3d292b7fbb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_04f0961a-a0bc-88cf-6658-3f950da4a458" 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_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_04f0961a-a0bc-88cf-6658-3f950da4a458" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_065cb284-7fca-cc9b-5752-2feaf74d0011" 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_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_065cb284-7fca-cc9b-5752-2feaf74d0011" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_40678492-c421-af67-b276-f663f9ff2f98" 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_4b158f76-5f04-5e4d-ead3-d80e1f9943db" xlink:to="loc_us-gaap_TreasuryStockValue_40678492-c421-af67-b276-f663f9ff2f98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" 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_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_058e01e4-b9a1-623e-29f5-1b5c79bf095a" 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_159dcb00-b17e-17db-7098-be4159799459" xlink:to="loc_us-gaap_CommitmentsAndContingencies_058e01e4-b9a1-623e-29f5-1b5c79bf095a" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaap_DepreciationAndAmortization_cfab4180-0727-b022-76c1-dcd34f4a6382" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_DepreciationAndAmortization_cfab4180-0727-b022-76c1-dcd34f4a6382" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_e3eecf87-b290-4567-8a59-5b0a8e27c85b" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_ShareBasedCompensation_e3eecf87-b290-4567-8a59-5b0a8e27c85b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f75d01b7-d271-b07d-c4a7-6ae60293303d" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f75d01b7-d271-b07d-c4a7-6ae60293303d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_5b3d4a64-864e-a67c-1d85-8163ad700c58" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_5b3d4a64-864e-a67c-1d85-8163ad700c58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_e9a2cdf1-6f49-806b-7b55-b9320bcfa87f" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_e9a2cdf1-6f49-806b-7b55-b9320bcfa87f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_e044e8e2-5c45-7b11-95e2-5c6b268cc854" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_e044e8e2-5c45-7b11-95e2-5c6b268cc854" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_dd4bfa5e-1979-c817-e8a9-371104c0d4f7" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_dd4bfa5e-1979-c817-e8a9-371104c0d4f7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_bf3f9720-ba63-7ecd-52ae-e754a6f349db" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_bf3f9720-ba63-7ecd-52ae-e754a6f349db" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_ed38aedf-17a0-9062-826e-1ea210c311c0" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_ed38aedf-17a0-9062-826e-1ea210c311c0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableRelatedParties" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableRelatedParties_8b84919d-89a8-7ca7-4035-62b41e4d7433" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableRelatedParties_8b84919d-89a8-7ca7-4035-62b41e4d7433" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_74be5b6b-5c06-c74c-89da-2d9660b81d9b" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_74be5b6b-5c06-c74c-89da-2d9660b81d9b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_1db3941a-7187-c2ca-9a11-6155b0a4bd72" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_1db3941a-7187-c2ca-9a11-6155b0a4bd72" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_962cfc51-230d-a221-126b-1d12af7a5921" 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_444b1ac7-f47a-4ce3-0caa-537f7e4ab8c3" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_962cfc51-230d-a221-126b-1d12af7a5921" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_8629a772-7004-5d77-9980-0f501e29c5c8" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_dd2e9db6-10f9-d78a-ba84-b18268245a83" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_8629a772-7004-5d77-9980-0f501e29c5c8" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_dd69e307-3cf6-284a-5315-8fa7ac464283" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" 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_dd69e307-3cf6-284a-5315-8fa7ac464283" xlink:to="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" 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_dd69e307-3cf6-284a-5315-8fa7ac464283" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_27a35677-5e4b-23be-d135-9b2a303ead30" 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_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_27a35677-5e4b-23be-d135-9b2a303ead30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_9cffdcf3-2206-8087-bfa6-e205fe38a792" 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_27a35677-5e4b-23be-d135-9b2a303ead30" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_9cffdcf3-2206-8087-bfa6-e205fe38a792" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_AB0C64E33AB03ACCA943789FFAB13813" 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_27a35677-5e4b-23be-d135-9b2a303ead30" xlink:to="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_AB0C64E33AB03ACCA943789FFAB13813" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_fd5fd01d-ccd5-2fe2-e9ee-a9a84a842378" 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_2a6e77d2-a694-61f8-1c68-085fd849c780" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_fd5fd01d-ccd5-2fe2-e9ee-a9a84a842378" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_9894e895-7695-402a-9f03-08d60b7373b8" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_OperatingIncomeLoss_9894e895-7695-402a-9f03-08d60b7373b8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" 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_9894e895-7695-402a-9f03-08d60b7373b8" xlink:to="loc_us-gaap_OperatingExpenses_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_aaae347c-fa91-e2c3-dd05-1b008b13fd0c" 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_9894e895-7695-402a-9f03-08d60b7373b8" xlink:to="loc_us-gaap_GrossProfit_aaae347c-fa91-e2c3-dd05-1b008b13fd0c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f8614c43-5d24-68f7-ca63-14ebca646494" 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_aaae347c-fa91-e2c3-dd05-1b008b13fd0c" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f8614c43-5d24-68f7-ca63-14ebca646494" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsSold" xlink:label="loc_us-gaap_CostOfGoodsSold_23c68b7c-81fb-cba2-1814-b7ab4991d5d0" 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_aaae347c-fa91-e2c3-dd05-1b008b13fd0c" xlink:to="loc_us-gaap_CostOfGoodsSold_23c68b7c-81fb-cba2-1814-b7ab4991d5d0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" 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_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaap_InvestmentIncomeInterest_27459a92-428a-e415-bdb1-176ed2662e11" 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_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_InvestmentIncomeInterest_27459a92-428a-e415-bdb1-176ed2662e11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_7c9599ab-2a77-022c-c720-63fecff6a62c" 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_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_InterestExpense_7c9599ab-2a77-022c-c720-63fecff6a62c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_250c3b2f-7db5-7088-68cc-1dd831a2c2d7" 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_9b894abb-bf85-2810-9d9d-c92a9b0f56f1" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_250c3b2f-7db5-7088-68cc-1dd831a2c2d7" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/Debt" xlink:type="extended" />
  <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/DocumentAndEntityInformation" 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/EmployeeTerminationAssetImpairmentAndOtherChargesClosureOfForeignManufacturingFacilitiesDetailTextuals" 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/EmployeeTerminationAssetImpairmentAndOtherChargesRestructuringPlan2016Detail" 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/FairValueMeasurementsAndInvestmentsAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsCashAndMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TotalCashAndCashEquivalentsAndAvailableforsaleSecurities" xlink:label="loc_wdc_TotalCashAndCashEquivalentsAndAvailableforsaleSecurities_D97C77042F6F5FE099BF49A090FFCA91" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_0E16E89B63365DEBB6FC10178BEF4381" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_wdc_TotalCashAndCashEquivalentsAndAvailableforsaleSecurities_D97C77042F6F5FE099BF49A090FFCA91" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_0E16E89B63365DEBB6FC10178BEF4381" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_E8B559814A925CA791FCA7FCE6F77FA6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_wdc_TotalCashAndCashEquivalentsAndAvailableforsaleSecurities_D97C77042F6F5FE099BF49A090FFCA91" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_E8B559814A925CA791FCA7FCE6F77FA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AvailableForSaleSecuritiesNoncurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesNoncurrent_AD8176F7036C593190DE421BBF086D97" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_wdc_TotalCashAndCashEquivalentsAndAvailableforsaleSecurities_D97C77042F6F5FE099BF49A090FFCA91" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesNoncurrent_AD8176F7036C593190DE421BBF086D97" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsDebtInstrumentFairValueDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/FairValueMeasurementsAndInvestmentsFairValueMeasurementsAndInvestmentsTables" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_b86af6cd-ef38-8a02-5297-9329a99c960d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_91fe4b11-d4f7-61c5-b8e1-4b77ba5422d2" 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_b86af6cd-ef38-8a02-5297-9329a99c960d" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_91fe4b11-d4f7-61c5-b8e1-4b77ba5422d2" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ShorttermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_ShorttermInvestmentsFairValueDisclosure_6ed0e557-6909-414c-60d2-bac52d139f4a" 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_b86af6cd-ef38-8a02-5297-9329a99c960d" xlink:to="loc_wdc_ShorttermInvestmentsFairValueDisclosure_6ed0e557-6909-414c-60d2-bac52d139f4a" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_LongtermInvestmentsFairValueDisclosure" xlink:label="loc_wdc_LongtermInvestmentsFairValueDisclosure_ac2e06dd-b546-100f-427d-bac52e28899e" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_b86af6cd-ef38-8a02-5297-9329a99c960d" xlink:to="loc_wdc_LongtermInvestmentsFairValueDisclosure_ac2e06dd-b546-100f-427d-bac52e28899e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_990d24f7-bf09-089d-4b5d-4490e079db44" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_b86af6cd-ef38-8a02-5297-9329a99c960d" xlink:to="loc_us-gaap_DerivativeAssets_990d24f7-bf09-089d-4b5d-4490e079db44" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseBenefit" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseBenefitAdditionalInformationDetailsTextuals" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseBenefitTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/IncomeTaxExpenseBenefitTaxProvisionDetails" 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/LegalProceedingsAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/NetIncomePerCommonShare" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/NetIncomePerCommonShareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_223fd9c8-68e8-e433-7c40-f98b238e79de" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_86e61cf2-b7b2-e230-65f1-5a2b152f3a30" 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_223fd9c8-68e8-e433-7c40-f98b238e79de" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_86e61cf2-b7b2-e230-65f1-5a2b152f3a30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_cee10fe8-a4bb-491c-22f6-69a723d6a718" 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_223fd9c8-68e8-e433-7c40-f98b238e79de" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_cee10fe8-a4bb-491c-22f6-69a723d6a718" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/NetIncomePerCommonShareTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/OrganizationAndBasisOfPresentationNotes" 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/PensionsAndOtherPostRetirementBenefitPlansAdditionalInformationDetailsTextuals" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_74863991-8c55-6a17-996a-9c2a561db4af" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_71a21154-406e-18d7-9aeb-e2619e08dbf7" 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_74863991-8c55-6a17-996a-9c2a561db4af" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_71a21154-406e-18d7-9aeb-e2619e08dbf7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_c9d76ff9-149e-f423-016d-b55c9b74c1b3" 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_74863991-8c55-6a17-996a-9c2a561db4af" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_c9d76ff9-149e-f423-016d-b55c9b74c1b3" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_6d343217-b921-ab63-4005-fcdadc127546" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_d976d099-c821-e214-329b-89c6249f4dee" 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_6d343217-b921-ab63-4005-fcdadc127546" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_d976d099-c821-e214-329b-89c6249f4dee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_9a02138f-e52f-25fa-014e-0405ac9ddb27" 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_6d343217-b921-ab63-4005-fcdadc127546" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_9a02138f-e52f-25fa-014e-0405ac9ddb27" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncements" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RecentlyAdoptedAccountingPronouncementsRecentAccountingPronouncementsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RevenuesAdditionalInformationDetailsTextuals" 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/RevenuesNotes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/RevenuesRevenueRemainingPerformanceObligationDetailsTextuals" 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/ScheduleOfDebtDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_7e14882f-7ab9-8302-20ff-24c510ab8806" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_6ad80788-b33d-a947-451d-2eb2f9ddfd4b" 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_7e14882f-7ab9-8302-20ff-24c510ab8806" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_6ad80788-b33d-a947-451d-2eb2f9ddfd4b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_2a27283b-1aea-485a-d3ce-961b25dfc734" 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_7e14882f-7ab9-8302-20ff-24c510ab8806" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_2a27283b-1aea-485a-d3ce-961b25dfc734" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/ScheduleOfDebtDetailCalc2" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_46C8B90F4847449F06FBD5FF6E6E7099_7e14882f-7ab9-8302-20ff-24c510ab8806" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_46C8B90F4847449F06FBD5FF6E6E7099_f61bf97e-c3a5-ba72-7591-eba8e7bb6a44" 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_46C8B90F4847449F06FBD5FF6E6E7099_7e14882f-7ab9-8302-20ff-24c510ab8806" xlink:to="loc_us-gaap_LongTermDebtCurrent_46C8B90F4847449F06FBD5FF6E6E7099_f61bf97e-c3a5-ba72-7591-eba8e7bb6a44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_46C8B90F4847449F06FBD5FF6E6E7099_822b66ff-44a1-e66b-5e0c-09356970a23d" 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_46C8B90F4847449F06FBD5FF6E6E7099_7e14882f-7ab9-8302-20ff-24c510ab8806" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_46C8B90F4847449F06FBD5FF6E6E7099_822b66ff-44a1-e66b-5e0c-09356970a23d" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiaries" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_27a35677-5e4b-23be-d135-9b2a303ead30" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_96bbbb0b-0629-623e-a770-76026cde8c6f" 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_27a35677-5e4b-23be-d135-9b2a303ead30" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeTax_96bbbb0b-0629-623e-a770-76026cde8c6f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_9cffdcf3-2206-8087-bfa6-e205fe38a792" 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_27a35677-5e4b-23be-d135-9b2a303ead30" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_9cffdcf3-2206-8087-bfa6-e205fe38a792" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax" xlink:label="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_AB0C64E33AB03ACCA943789FFAB13813" 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_27a35677-5e4b-23be-d135-9b2a303ead30" xlink:to="loc_wdc_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodAndAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_AB0C64E33AB03ACCA943789FFAB13813" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesIncomeStatementDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_9f968bdd-178b-453d-dcf7-ca4f511341b3" 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_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost_9f968bdd-178b-453d-dcf7-ca4f511341b3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_29ad42f4-24c5-90ea-4492-fdb757d66249" 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_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_29ad42f4-24c5-90ea-4492-fdb757d66249" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_Intercompanyoperatingexpenseincome" xlink:label="loc_wdc_Intercompanyoperatingexpenseincome_590248f0-9bfa-5148-952b-bac52d2c3b36" 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_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:to="loc_wdc_Intercompanyoperatingexpenseincome_590248f0-9bfa-5148-952b-bac52d2c3b36" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_Employeeterminationassetimpairmentandothercharges" xlink:label="loc_wdc_Employeeterminationassetimpairmentandothercharges_b77fafda-6d65-932e-35f9-bac52f7d491b" 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_23a4428c-a5e3-3b9c-fc88-04ae5be27ab3" xlink:to="loc_wdc_Employeeterminationassetimpairmentandothercharges_b77fafda-6d65-932e-35f9-bac52f7d491b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" 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_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_0eb47183-f513-314d-ceda-ee2412d9eee8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_78b7d85e-8366-fe6d-cb1f-faac5a041b79" 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_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_78b7d85e-8366-fe6d-cb1f-faac5a041b79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax" xlink:label="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_a7dd450d-72db-ba93-c31e-60f4dfe5c42e" 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_641b1cab-a2b3-2e0e-8389-1455ff3f8581" xlink:to="loc_us-gaap_IncomeLossFromSubsidiariesNetOfTax_a7dd450d-72db-ba93-c31e-60f4dfe5c42e" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SeparateFinancialInformationOfGuarantorSubsidiariesSeparateFinancialInformationOfGuarantorSubsidiariesBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" 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_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_NotesReceivableAndInvestmentsInRelatedParties" xlink:label="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_8d94138c-323e-8489-e5d6-bac52f493e79" 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_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_wdc_NotesReceivableAndInvestmentsInRelatedParties_8d94138c-323e-8489-e5d6-bac52f493e79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_93a64cae-271a-5e6b-8c83-5adf9f941142" 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_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_Goodwill_93a64cae-271a-5e6b-8c83-5adf9f941142" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_1fe06082-076b-052d-6e2e-930afe9d6b2d" 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_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_1fe06082-076b-052d-6e2e-930afe9d6b2d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_42d61097-0951-9fd0-ccda-87d8624a6e85" 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_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_42d61097-0951-9fd0-ccda-87d8624a6e85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueFromAffiliateNoncurrent" xlink:label="loc_us-gaap_DueFromAffiliateNoncurrent_81883835-7b21-9d5d-f0ea-5bfb756d9148" 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_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_DueFromAffiliateNoncurrent_81883835-7b21-9d5d-f0ea-5bfb756d9148" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9b27fab9-d497-627b-4cfb-6b585220b978" 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_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_9b27fab9-d497-627b-4cfb-6b585220b978" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" 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_c6057b1d-6685-8249-2051-6c57f3a16a9e" xlink:to="loc_us-gaap_AssetsCurrent_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_07da1db4-2708-4446-4250-1fdd5956185e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_dd7775cd-f4ab-5607-9b31-1ee98f605818" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueFromAffiliateCurrent" xlink:label="loc_us-gaap_DueFromAffiliateCurrent_7d2dbf5b-dfea-98d6-0d65-0487859ba601" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_DueFromAffiliateCurrent_7d2dbf5b-dfea-98d6-0d65-0487859ba601" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_InventoryNet_7eab44cf-1ea1-ca2a-420f-21f7b5343fc3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsCurrent" xlink:label="loc_us-gaap_OtherAssetsCurrent_1cb4a384-e314-2300-ad55-c1ed289c8f7a" 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_8a47066b-3628-88d1-49db-ed09aecc7fc7" xlink:to="loc_us-gaap_OtherAssetsCurrent_1cb4a384-e314-2300-ad55-c1ed289c8f7a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" 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_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_LiabilitiesCurrent_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_7a72b51a-735c-1ad4-bd3f-d9bcf2d6a26d" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_AccountsPayableCurrent_7a72b51a-735c-1ad4-bd3f-d9bcf2d6a26d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_8146ce3b-5219-e322-03f4-6640ac9d1ea8" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_8146ce3b-5219-e322-03f4-6640ac9d1ea8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueToAffiliateCurrent" xlink:label="loc_us-gaap_DueToAffiliateCurrent_fa002a1d-3cca-a0c9-a6b1-e0373c153068" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_DueToAffiliateCurrent_fa002a1d-3cca-a0c9-a6b1-e0373c153068" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_3fe8f96b-142b-97b1-3b39-b8d22cd10e98" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_3fe8f96b-142b-97b1-3b39-b8d22cd10e98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_cf9ed09f-3dd1-4a4b-d3fc-3b0db18c1b40" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_cf9ed09f-3dd1-4a4b-d3fc-3b0db18c1b40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_f61bf97e-c3a5-ba72-7591-eba8e7bb6a44" 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_f5e246cf-e80f-d00b-c8ed-4796aa2df4b4" xlink:to="loc_us-gaap_LongTermDebtCurrent_f61bf97e-c3a5-ba72-7591-eba8e7bb6a44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_822b66ff-44a1-e66b-5e0c-09356970a23d" 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_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_822b66ff-44a1-e66b-5e0c-09356970a23d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DueToAffiliateNoncurrent" xlink:label="loc_us-gaap_DueToAffiliateNoncurrent_0a5c004a-0ccc-e7fb-9bfb-d21c077c20f9" 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_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_DueToAffiliateNoncurrent_0a5c004a-0ccc-e7fb-9bfb-d21c077c20f9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_f234998c-5e05-09d0-d53e-5c44423c97c0" 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_d8bb821f-d155-9d4e-1738-736b4bf4cb19" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_f234998c-5e05-09d0-d53e-5c44423c97c0" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_a3e2f49e-623d-be7f-4608-b145bdf3bee3" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlans_a3e2f49e-623d-be7f-4608-b145bdf3bee3" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans" xlink:label="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_b19d1b85-c00f-bab3-35b4-bac52d4b4600" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_wdc_TaxesPaidOnVestedStockAwardsUnderEmployeeStockPlans_b19d1b85-c00f-bab3-35b4-bac52d4b4600" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_11043fe8-215b-8e23-9bde-984dc82a0339" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_PaymentsOfDividends_11043fe8-215b-8e23-9bde-984dc82a0339" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_2b72fe5f-3c0e-d5e0-8e5c-ad01818e58e5" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_2b72fe5f-3c0e-d5e0-8e5c-ad01818e58e5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromContributionsFromParent" xlink:label="loc_us-gaap_ProceedsFromContributionsFromParent_f9828712-8afb-9a08-1934-6053debaa5ca" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_ProceedsFromContributionsFromParent_f9828712-8afb-9a08-1934-6053debaa5ca" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_9c4e2a5c-e841-39a2-fcf8-f80cfa44af11" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_9c4e2a5c-e841-39a2-fcf8-f80cfa44af11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8a1490c4-32d9-5132-1fe2-2675a45abdae" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8a1490c4-32d9-5132-1fe2-2675a45abdae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromHedgeFinancingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_5e2384e7-2100-07d0-2d64-67d581ee3a2f" 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_deb49b68-c030-7624-a39d-ea301caa5dbf" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeFinancingActivities_5e2384e7-2100-07d0-2d64-67d581ee3a2f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_70319186-e7bd-7189-88d2-eba26fb93350" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_fee12b15-6b42-6245-2e2f-ff030b98332c" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_fee12b15-6b42-6245-2e2f-ff030b98332c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfMachineryAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_ec28fefd-eeef-249f-93ab-bae4dd636c84" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_ProceedsFromSaleOfMachineryAndEquipment_ec28fefd-eeef-249f-93ab-bae4dd636c84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_9d35c912-5b2d-89f7-eeb3-812a0511db5e" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_9d35c912-5b2d-89f7-eeb3-812a0511db5e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_a3cce359-4901-8e47-7521-d2fa73471a4d" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_a3cce359-4901-8e47-7521-d2fa73471a4d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_d3d89aab-5be8-f6a4-66e9-41f55e0839cd" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_d3d89aab-5be8-f6a4-66e9-41f55e0839cd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_1bb35e4f-11cb-6ae7-3bcf-58a63bc18ed8" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_1bb35e4f-11cb-6ae7-3bcf-58a63bc18ed8" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_PaymentsForLongTermLoansForRelatedParties" xlink:label="loc_wdc_PaymentsForLongTermLoansForRelatedParties_1f8b2eb2-e62a-3e64-a2b3-bac52eae9656" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_wdc_PaymentsForLongTermLoansForRelatedParties_1f8b2eb2-e62a-3e64-a2b3-bac52eae9656" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_ProceedsFromLongTermLoansForRelatedParties" xlink:label="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_b05f884c-e41f-2b05-a26e-bac52ea00f52" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_wdc_ProceedsFromLongTermLoansForRelatedParties_b05f884c-e41f-2b05-a26e-bac52ea00f52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_5eaab9ea-3795-2871-0d80-72b9662e37e6" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_5eaab9ea-3795-2871-0d80-72b9662e37e6" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_Intercompanyloanstofromconsolidatedsubsidiaries" xlink:label="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_b72e3ad9-6add-a274-c2d8-bac52f450fbe" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_wdc_Intercompanyloanstofromconsolidatedsubsidiaries_b72e3ad9-6add-a274-c2d8-bac52f450fbe" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_0f2b12c4-a840-4fc0-3876-f2a7e6bd42ce" 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_70319186-e7bd-7189-88d2-eba26fb93350" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesAtFairValueGrossAdditions_0f2b12c4-a840-4fc0-3876-f2a7e6bd42ce" 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/ShareholdersEquityDividendsDetailsTextuals" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/ShareholdersEquityRestrictedStockUnitsAndPerformanceShareUnitsDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.wdc.com/role/ShareholdersEquityShareRepurchaseProgramDetailsTextuals" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_6cf3013c-890b-ea8a-d84d-af0ec88302d5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_a6c2180f-7264-34c4-3d88-c30d1cc151d8" 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_6cf3013c-890b-ea8a-d84d-af0ec88302d5" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_a6c2180f-7264-34c4-3d88-c30d1cc151d8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_ac132f16-7b75-2cc2-0c27-62bb216852b0" 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_6cf3013c-890b-ea8a-d84d-af0ec88302d5" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_ac132f16-7b75-2cc2-0c27-62bb216852b0" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/ShareholdersEquityStockOptionActivityDetail" 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/SupplementalFinancialStatementDataAdditionalInformationDetailsTextuals" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_1fe06082-076b-052d-6e2e-930afe9d6b2d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_5d62e128-f1a1-954f-82e2-1936cb67d793" 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_1fe06082-076b-052d-6e2e-930afe9d6b2d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_5d62e128-f1a1-954f-82e2-1936cb67d793" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_76e8d839-867c-df13-a643-4da04e725367" 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_1fe06082-076b-052d-6e2e-930afe9d6b2d" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_76e8d839-867c-df13-a643-4da04e725367" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c3ed8a56-abe0-6418-c541-e6b647d6318a" 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_1fe06082-076b-052d-6e2e-930afe9d6b2d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c3ed8a56-abe0-6418-c541-e6b647d6318a" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_996FFF7578195405A9EF85C2142B8F3E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_3DB088A083605440827CE64A13C4D0D6" 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_996FFF7578195405A9EF85C2142B8F3E" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_3DB088A083605440827CE64A13C4D0D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_AE386AAE0D425E30993953BFDE7018AA" 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_996FFF7578195405A9EF85C2142B8F3E" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_AE386AAE0D425E30993953BFDE7018AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_D59EF936E10D50C3A6DD1AEC7BDE7E11" 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_996FFF7578195405A9EF85C2142B8F3E" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_D59EF936E10D50C3A6DD1AEC7BDE7E11" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_f234998c-5e05-09d0-d53e-5c44423c97c0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedIncomeTaxesNoncurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_39fdf2e0-cba9-5ec1-5f6b-a944b9ccb0d0" 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_f234998c-5e05-09d0-d53e-5c44423c97c0" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_39fdf2e0-cba9-5ec1-5f6b-a944b9ccb0d0" xlink:type="arc" />
    <link:loc xlink:href="wdc-20180928.xsd#wdc_OtherMiscellaniousLiabilitiesNoncurrent" xlink:label="loc_wdc_OtherMiscellaniousLiabilitiesNoncurrent_4E2D847873E21DA699602915BCB00D8B" 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_f234998c-5e05-09d0-d53e-5c44423c97c0" xlink:to="loc_wdc_OtherMiscellaniousLiabilitiesNoncurrent_4E2D847873E21DA699602915BCB00D8B" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataPropertyPlantAndEquipmentDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_fe5a8e8b-5934-3dc5-9dae-7d40983185cf" 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_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_fe5a8e8b-5934-3dc5-9dae-7d40983185cf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_5551841b-83e0-4644-fca8-d4027d932c0a" 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_1944a381-5c4e-ce3c-9111-13ccd1c639db" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_5551841b-83e0-4644-fca8-d4027d932c0a" 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/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_eb471330-0174-fefa-4f12-255f198cbfbd" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualCurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualCurrent_e7ff5884-6b80-4eb5-b1e2-59d10726cbaa" 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_eb471330-0174-fefa-4f12-255f198cbfbd" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualCurrent_e7ff5884-6b80-4eb5-b1e2-59d10726cbaa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StandardProductWarrantyAccrualNoncurrent" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_88735064-96ba-c76f-c18b-23e4aef65747" 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_eb471330-0174-fefa-4f12-255f198cbfbd" xlink:to="loc_us-gaap_StandardProductWarrantyAccrualNoncurrent_88735064-96ba-c76f-c18b-23e4aef65747" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.wdc.com/role/SupplementalFinancialStatementDataWarrantyAccrualRollForwardDetails" xlink:type="extended" />
</link:linkbase>
