<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:488137e2-c650-4f32-bab5-6e5e6226bf2b,g:4d77c73f-71c2-43df-a8c5-c98bfe519205-->
<link:linkbase 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" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.kla-tencor.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="klac-20220331.xsd#CondensedConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_ca5fc4bd-a2ca-487c-967b-771db40fd66a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_23e6f0d4-5bbc-41d7-8cc7-2fea69f9f33c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_ca5fc4bd-a2ca-487c-967b-771db40fd66a" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_23e6f0d4-5bbc-41d7-8cc7-2fea69f9f33c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_20299b73-557b-4d99-958d-006a8b4b0a0b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_ca5fc4bd-a2ca-487c-967b-771db40fd66a" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_20299b73-557b-4d99-958d-006a8b4b0a0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_f1e8dff5-b5d5-4191-a0c3-cd8648bd0627" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_ca5fc4bd-a2ca-487c-967b-771db40fd66a" xlink:to="loc_us-gaap_InventoryNet_f1e8dff5-b5d5-4191-a0c3-cd8648bd0627" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_c0fac34f-a6b7-45de-83d2-caac82b3d286" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_ca5fc4bd-a2ca-487c-967b-771db40fd66a" xlink:to="loc_us-gaap_OtherAssetsCurrent_c0fac34f-a6b7-45de-83d2-caac82b3d286" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_DebtSecuritiesAvailableForSaleAndEquitySecuritiesFairValue_dd912f49-8503-4106-86a5-4bf09f5e4788" xlink:href="klac-20220331.xsd#klac_DebtSecuritiesAvailableForSaleAndEquitySecuritiesFairValue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_ca5fc4bd-a2ca-487c-967b-771db40fd66a" xlink:to="loc_klac_DebtSecuritiesAvailableForSaleAndEquitySecuritiesFairValue_dd912f49-8503-4106-86a5-4bf09f5e4788" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_6523d01d-0cf7-4bae-bcba-175f820ae31f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_f49314c7-b674-47cf-983d-44713765775e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6523d01d-0cf7-4bae-bcba-175f820ae31f" xlink:to="loc_us-gaap_AssetsCurrent_f49314c7-b674-47cf-983d-44713765775e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_a58c3b3d-4951-4586-b7e1-59b88aab8a77" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6523d01d-0cf7-4bae-bcba-175f820ae31f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_a58c3b3d-4951-4586-b7e1-59b88aab8a77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_72093d25-bca5-48a7-bed5-72e8232e497e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6523d01d-0cf7-4bae-bcba-175f820ae31f" xlink:to="loc_us-gaap_Goodwill_72093d25-bca5-48a7-bed5-72e8232e497e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_858dbe3b-c62e-4bdb-9735-b2de04f1e7e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6523d01d-0cf7-4bae-bcba-175f820ae31f" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_858dbe3b-c62e-4bdb-9735-b2de04f1e7e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_a0de4530-7ab0-4939-be82-39a6f12a1235" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6523d01d-0cf7-4bae-bcba-175f820ae31f" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_a0de4530-7ab0-4939-be82-39a6f12a1235" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9a464a91-e189-45a7-b19f-385c3f37cc9b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_6523d01d-0cf7-4bae-bcba-175f820ae31f" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_9a464a91-e189-45a7-b19f-385c3f37cc9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_3ac6c7d4-2f0a-412b-9352-1c50ae2f9457" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_467242c0-5631-45d1-b88a-aa978a3ca7dc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3ac6c7d4-2f0a-412b-9352-1c50ae2f9457" xlink:to="loc_us-gaap_AccountsPayableCurrent_467242c0-5631-45d1-b88a-aa978a3ca7dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_ContractWithCustomerLiabilityCurrentSystemRevenue_d5d08b9f-637c-45bd-9e66-6f6fd20f3989" xlink:href="klac-20220331.xsd#klac_ContractWithCustomerLiabilityCurrentSystemRevenue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3ac6c7d4-2f0a-412b-9352-1c50ae2f9457" xlink:to="loc_klac_ContractWithCustomerLiabilityCurrentSystemRevenue_d5d08b9f-637c-45bd-9e66-6f6fd20f3989" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_ContractWithCustomerLiabilityCurrentServiceRevenue_9cb1c3c1-32a8-4e3c-9c35-5fea5aeb18e7" xlink:href="klac-20220331.xsd#klac_ContractWithCustomerLiabilityCurrentServiceRevenue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3ac6c7d4-2f0a-412b-9352-1c50ae2f9457" xlink:to="loc_klac_ContractWithCustomerLiabilityCurrentServiceRevenue_9cb1c3c1-32a8-4e3c-9c35-5fea5aeb18e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_ab0e3dec-48af-4788-a62d-c6bf145515f2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3ac6c7d4-2f0a-412b-9352-1c50ae2f9457" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_ab0e3dec-48af-4788-a62d-c6bf145515f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_148af10a-978b-44a9-a3e9-b9bac9ca0867" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_3ac6c7d4-2f0a-412b-9352-1c50ae2f9457" xlink:to="loc_us-gaap_ShortTermBorrowings_148af10a-978b-44a9-a3e9-b9bac9ca0867" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a8631816-60b6-46e7-b9d8-a6bcdef5cea1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_db5d2422-8a1a-4328-a136-47c0f0d328c3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a8631816-60b6-46e7-b9d8-a6bcdef5cea1" xlink:to="loc_us-gaap_StockholdersEquity_db5d2422-8a1a-4328-a136-47c0f0d328c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_f791be90-c15c-4358-a636-28a3f1f5bbe7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a8631816-60b6-46e7-b9d8-a6bcdef5cea1" xlink:to="loc_us-gaap_MinorityInterest_f791be90-c15c-4358-a636-28a3f1f5bbe7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_5f090568-fda6-4dd1-b630-16d93a3c9408" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_3401a7b7-f4a2-4f08-ba05-1e4ada65ee7c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5f090568-fda6-4dd1-b630-16d93a3c9408" xlink:to="loc_us-gaap_LiabilitiesCurrent_3401a7b7-f4a2-4f08-ba05-1e4ada65ee7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_bd13936f-a8fb-4364-9014-bfff4bb2df3c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5f090568-fda6-4dd1-b630-16d93a3c9408" xlink:to="loc_us-gaap_LongTermDebt_bd13936f-a8fb-4364-9014-bfff4bb2df3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_37a1d6fb-fb0e-4f35-9a87-4713a7af895f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5f090568-fda6-4dd1-b630-16d93a3c9408" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_37a1d6fb-fb0e-4f35-9a87-4713a7af895f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_9904afe1-e11e-4f71-9b7f-da4abb4e8b08" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5f090568-fda6-4dd1-b630-16d93a3c9408" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_9904afe1-e11e-4f71-9b7f-da4abb4e8b08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_229807d8-e9c0-4f7d-a0ed-fc288606da50" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5f090568-fda6-4dd1-b630-16d93a3c9408" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_229807d8-e9c0-4f7d-a0ed-fc288606da50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_cf31e29b-c95e-4c4e-a4f2-b4f495726085" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_29c323af-eb73-401c-9102-b45163f335b3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_cf31e29b-c95e-4c4e-a4f2-b4f495726085" xlink:to="loc_us-gaap_Liabilities_29c323af-eb73-401c-9102-b45163f335b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_626d9997-d025-40e0-8d99-5bf75f602d19" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_cf31e29b-c95e-4c4e-a4f2-b4f495726085" xlink:to="loc_us-gaap_CommitmentsAndContingencies_626d9997-d025-40e0-8d99-5bf75f602d19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_02ce7585-aee6-4457-8200-fa918aaf3282" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_cf31e29b-c95e-4c4e-a4f2-b4f495726085" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_02ce7585-aee6-4457-8200-fa918aaf3282" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_2cb6cbab-22d2-4b41-9371-bb7c6fac42ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStocksIncludingAdditionalPaidInCapital_d661f8fa-0fa6-435d-866a-523a2368b5ae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStocksIncludingAdditionalPaidInCapital"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2cb6cbab-22d2-4b41-9371-bb7c6fac42ba" xlink:to="loc_us-gaap_CommonStocksIncludingAdditionalPaidInCapital_d661f8fa-0fa6-435d-866a-523a2368b5ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_0f73501e-9beb-40c5-9830-1ff3127c40f7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2cb6cbab-22d2-4b41-9371-bb7c6fac42ba" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_0f73501e-9beb-40c5-9830-1ff3127c40f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_4c4c2600-86f0-4339-bf8f-b804692c9d35" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2cb6cbab-22d2-4b41-9371-bb7c6fac42ba" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_4c4c2600-86f0-4339-bf8f-b804692c9d35" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/CondensedConsolidatedStatementsofOperationsUnaudited" xlink:type="simple" xlink:href="klac-20220331.xsd#CondensedConsolidatedStatementsofOperationsUnaudited"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/CondensedConsolidatedStatementsofOperationsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e2db4dde-0459-45fc-9266-5f85d00e6449" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_2069b3ad-22e5-44e5-b2b4-0754eee3dc7a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e2db4dde-0459-45fc-9266-5f85d00e6449" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_2069b3ad-22e5-44e5-b2b4-0754eee3dc7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_131a74ab-a732-4531-9cb0-c38f7c74abd0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e2db4dde-0459-45fc-9266-5f85d00e6449" xlink:to="loc_us-gaap_CostOfRevenue_131a74ab-a732-4531-9cb0-c38f7c74abd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_4fc773c4-0936-4dae-b364-19a364ea700e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e2db4dde-0459-45fc-9266-5f85d00e6449" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_4fc773c4-0936-4dae-b364-19a364ea700e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_249bfb04-3f3f-4a56-bc55-27b1ae483328" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e2db4dde-0459-45fc-9266-5f85d00e6449" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_249bfb04-3f3f-4a56-bc55-27b1ae483328" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_56c4ffb8-1144-4690-b4c9-cbeaf90ca0a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e2db4dde-0459-45fc-9266-5f85d00e6449" xlink:to="loc_us-gaap_InterestExpense_56c4ffb8-1144-4690-b4c9-cbeaf90ca0a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_910a4716-c6be-4cde-ae53-4f992bab630d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e2db4dde-0459-45fc-9266-5f85d00e6449" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_910a4716-c6be-4cde-ae53-4f992bab630d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_eae4762a-1df4-464c-bc79-48009a00a589" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_e8275f0a-32ee-4116-9331-a1185315517a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_eae4762a-1df4-464c-bc79-48009a00a589" xlink:to="loc_us-gaap_ProfitLoss_e8275f0a-32ee-4116-9331-a1185315517a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_fca1cc8c-8d96-476b-823b-ed1be9f3f07e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_eae4762a-1df4-464c-bc79-48009a00a589" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_fca1cc8c-8d96-476b-823b-ed1be9f3f07e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_4690fee2-c594-4a12-bedf-c3e766523ee7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_8874cee8-f26d-4b1e-80f0-5a0e1c85411f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_4690fee2-c594-4a12-bedf-c3e766523ee7" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_8874cee8-f26d-4b1e-80f0-5a0e1c85411f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_66cd61e2-b3b8-4f76-b106-c0ccf7320179" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_4690fee2-c594-4a12-bedf-c3e766523ee7" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_66cd61e2-b3b8-4f76-b106-c0ccf7320179" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeUnaudited" xlink:type="simple" xlink:href="klac-20220331.xsd#CondensedConsolidatedStatementsofComprehensiveIncomeUnaudited"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_58a5251a-85d3-466c-89b1-4e571a999647" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax_c6580b74-0975-44b5-a3a8-169f5b84f860" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_58a5251a-85d3-466c-89b1-4e571a999647" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax_c6580b74-0975-44b5-a3a8-169f5b84f860" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_b90b086b-ae9e-400a-b633-72a0e22fbcd6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_58a5251a-85d3-466c-89b1-4e571a999647" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_b90b086b-ae9e-400a-b633-72a0e22fbcd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_b9639bd5-429b-4f49-9a80-70f679f841c0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_58a5251a-85d3-466c-89b1-4e571a999647" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_b9639bd5-429b-4f49-9a80-70f679f841c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_0adc9557-76d0-4b6a-9f1e-57c54a71fc9f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_0759c7f0-8308-4c51-8052-c29729acd37b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_0adc9557-76d0-4b6a-9f1e-57c54a71fc9f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_0759c7f0-8308-4c51-8052-c29729acd37b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_f4891f7e-6612-4438-b2f8-cf13a7b9420e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_0adc9557-76d0-4b6a-9f1e-57c54a71fc9f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_f4891f7e-6612-4438-b2f8-cf13a7b9420e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_1ae7878b-611f-42c3-bdfe-780c34b301cb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_0adc9557-76d0-4b6a-9f1e-57c54a71fc9f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax_1ae7878b-611f-42c3-bdfe-780c34b301cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_86e35650-04fa-4b7a-ab86-43c3fd94fb16" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_a37ea21a-a73e-472e-869a-93d3e45b15ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_86e35650-04fa-4b7a-ab86-43c3fd94fb16" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_a37ea21a-a73e-472e-869a-93d3e45b15ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_131aa986-e1a0-4cdd-9cd8-36eb8a584cf5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_86e35650-04fa-4b7a-ab86-43c3fd94fb16" xlink:to="loc_us-gaap_ProfitLoss_131aa986-e1a0-4cdd-9cd8-36eb8a584cf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_364f6ece-b31b-402d-bcfa-5393d5250475" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_86e35650-04fa-4b7a-ab86-43c3fd94fb16" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_364f6ece-b31b-402d-bcfa-5393d5250475" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_ec25b14c-3e69-42b3-82ea-a9940a0efe30" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax_20bf5da3-ea27-423e-bfaa-dd62f3a54bf5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_ec25b14c-3e69-42b3-82ea-a9940a0efe30" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax_20bf5da3-ea27-423e-bfaa-dd62f3a54bf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_e8ceebaf-ff03-43fa-81f1-587530ee1321" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_ec25b14c-3e69-42b3-82ea-a9940a0efe30" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentBeforeTax_e8ceebaf-ff03-43fa-81f1-587530ee1321" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_fd20097d-deed-41e7-9ef2-b8a688a9d8f1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_a4aa2c55-98a3-45a4-8c93-91bcd91b62a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_fd20097d-deed-41e7-9ef2-b8a688a9d8f1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_a4aa2c55-98a3-45a4-8c93-91bcd91b62a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_48e4079b-dedb-427a-b109-07148568ba89" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_fd20097d-deed-41e7-9ef2-b8a688a9d8f1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_48e4079b-dedb-427a-b109-07148568ba89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_6451b670-ef0f-40a1-9414-9b023cfd1344" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_fd20097d-deed-41e7-9ef2-b8a688a9d8f1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_6451b670-ef0f-40a1-9414-9b023cfd1344" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_64664e6f-54fd-40dd-b16e-4ecc142b1f4c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_fd20097d-deed-41e7-9ef2-b8a688a9d8f1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_64664e6f-54fd-40dd-b16e-4ecc142b1f4c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="klac-20220331.xsd#CondensedConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_127deaa7-1a17-4b0b-b640-92f616c99aed" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_4563c7c1-75fc-45c4-bd4a-1f328bdf2c5b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_127deaa7-1a17-4b0b-b640-92f616c99aed" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_4563c7c1-75fc-45c4-bd4a-1f328bdf2c5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_87af2add-d974-40ac-a4fd-fe6430bccbef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_127deaa7-1a17-4b0b-b640-92f616c99aed" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfOtherInvestments_87af2add-d974-40ac-a4fd-fe6430bccbef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_d41a2f22-682a-4c7b-b0aa-5564835973e1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_127deaa7-1a17-4b0b-b640-92f616c99aed" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_d41a2f22-682a-4c7b-b0aa-5564835973e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_3fa05820-d96c-4337-a9c4-8538694f3c2d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromDivestitureOfBusinesses"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_127deaa7-1a17-4b0b-b640-92f616c99aed" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_3fa05820-d96c-4337-a9c4-8538694f3c2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_3dec51b1-dcac-42f9-a43a-0d3ef7ca3b2b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_127deaa7-1a17-4b0b-b640-92f616c99aed" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_3dec51b1-dcac-42f9-a43a-0d3ef7ca3b2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_95aa1a76-515e-4f96-9a08-0fb958e72adb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_127deaa7-1a17-4b0b-b640-92f616c99aed" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_95aa1a76-515e-4f96-9a08-0fb958e72adb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_49837f0a-94f6-4371-91ec-60547d8d6a4b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_127deaa7-1a17-4b0b-b640-92f616c99aed" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_49837f0a-94f6-4371-91ec-60547d8d6a4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherInvestments_e01afd73-c475-4bad-81d2-0059faa5da95" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireOtherInvestments"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_127deaa7-1a17-4b0b-b640-92f616c99aed" xlink:to="loc_us-gaap_PaymentsToAcquireOtherInvestments_e01afd73-c475-4bad-81d2-0059faa5da95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_5eefba5f-70b4-4e5b-b0bf-6c9b4b89c1fa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfProductiveAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_127deaa7-1a17-4b0b-b640-92f616c99aed" xlink:to="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_5eefba5f-70b4-4e5b-b0bf-6c9b4b89c1fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_95944360-893d-4f05-b1ea-49e4b3e21f10" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_127deaa7-1a17-4b0b-b640-92f616c99aed" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_95944360-893d-4f05-b1ea-49e4b3e21f10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfBusiness_bf25db80-05e9-49ba-bf8d-9103c7f015cb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfBusiness"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_us-gaap_GainLossOnSaleOfBusiness_bf25db80-05e9-49ba-bf8d-9103c7f015cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f6249995-9286-47ff-8749-1094ee7b2d5a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f6249995-9286-47ff-8749-1094ee7b2d5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_IncreaseDecreaseInContractWithCustomerLiabilitySystemRevenue_4dcfc812-d411-4275-bd21-d00fdcadf151" xlink:href="klac-20220331.xsd#klac_IncreaseDecreaseInContractWithCustomerLiabilitySystemRevenue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_klac_IncreaseDecreaseInContractWithCustomerLiabilitySystemRevenue_4dcfc812-d411-4275-bd21-d00fdcadf151" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_4572aab7-e3c2-435b-86dc-30c98f0f0856" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealized"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_4572aab7-e3c2-435b-86dc-30c98f0f0856" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_81157720-b425-4efc-becb-f057575c7b46" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_81157720-b425-4efc-becb-f057575c7b46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_IncreaseDecreaseInContractWithCustomerLiabilityServiceRevenue_39bc9007-6eae-486f-ac3c-e11c38e0c7c3" xlink:href="klac-20220331.xsd#klac_IncreaseDecreaseInContractWithCustomerLiabilityServiceRevenue"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_klac_IncreaseDecreaseInContractWithCustomerLiabilityServiceRevenue_39bc9007-6eae-486f-ac3c-e11c38e0c7c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_ac700cc2-a0b0-4ca7-8533-b2d215edc948" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_ac700cc2-a0b0-4ca7-8533-b2d215edc948" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_IncreaseDecreaseInAccountsReceivableExcludingAcquisitionRelated_1f4c56f2-b49c-4fae-b304-63e75fc57be6" xlink:href="klac-20220331.xsd#klac_IncreaseDecreaseInAccountsReceivableExcludingAcquisitionRelated"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_klac_IncreaseDecreaseInAccountsReceivableExcludingAcquisitionRelated_1f4c56f2-b49c-4fae-b304-63e75fc57be6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetImpairmentCharges_2a344353-5bfc-4516-a1f5-c54d1c345c8e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetImpairmentCharges"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_us-gaap_OtherAssetImpairmentCharges_2a344353-5bfc-4516-a1f5-c54d1c345c8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_a791b729-ea49-44b9-b978-bc7cc4fa9966" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_us-gaap_ProfitLoss_a791b729-ea49-44b9-b978-bc7cc4fa9966" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_2a199ac4-68df-4fb3-95fb-c0f7f6249d7d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_2a199ac4-68df-4fb3-95fb-c0f7f6249d7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_574d200b-0bc8-4e45-961e-5aeb61784711" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_us-gaap_ShareBasedCompensation_574d200b-0bc8-4e45-961e-5aeb61784711" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_f9584970-38a1-4761-9e0b-888763c7a947" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_f9584970-38a1-4761-9e0b-888763c7a947" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_b4e6a034-af4d-44c8-ab96-532a2185996b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_50540dae-9606-4041-a6b8-3c8740f78f6f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_b4e6a034-af4d-44c8-ab96-532a2185996b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_87fef2be-d725-4a28-bbdd-450843ef0454" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_b90e00da-9543-4d90-9457-71dea9fb20f5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_87fef2be-d725-4a28-bbdd-450843ef0454" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_b90e00da-9543-4d90-9457-71dea9fb20f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_cd74ab16-8fa3-4443-a3c2-3d1f3ba55808" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_87fef2be-d725-4a28-bbdd-450843ef0454" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_cd74ab16-8fa3-4443-a3c2-3d1f3ba55808" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_f6bb6510-ee40-41a7-b95b-7e5471849afc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_87fef2be-d725-4a28-bbdd-450843ef0454" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_f6bb6510-ee40-41a7-b95b-7e5471849afc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDebtNetOfIssuanceCosts_26bc7063-ebac-49a7-92c8-df5974036363" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromDebtNetOfIssuanceCosts"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_87fef2be-d725-4a28-bbdd-450843ef0454" xlink:to="loc_us-gaap_ProceedsFromDebtNetOfIssuanceCosts_26bc7063-ebac-49a7-92c8-df5974036363" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_64762622-3bc1-49dc-9917-a61a5aa2aacc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_87fef2be-d725-4a28-bbdd-450843ef0454" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_64762622-3bc1-49dc-9917-a61a5aa2aacc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_ContingentConsiderationPayableAndOtherNet_40193e5c-b654-45cf-9eb1-2dc89cdd124c" xlink:href="klac-20220331.xsd#klac_ContingentConsiderationPayableAndOtherNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_87fef2be-d725-4a28-bbdd-450843ef0454" xlink:to="loc_klac_ContingentConsiderationPayableAndOtherNet_40193e5c-b654-45cf-9eb1-2dc89cdd124c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_af1bd58f-8c9d-4365-82b4-fe915a451baf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_87fef2be-d725-4a28-bbdd-450843ef0454" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_af1bd58f-8c9d-4365-82b4-fe915a451baf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_cbb89e55-29ff-400d-8a6e-79652dd93e17" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_87fef2be-d725-4a28-bbdd-450843ef0454" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_cbb89e55-29ff-400d-8a6e-79652dd93e17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2069fe0b-8576-4f90-95e4-466f70f24c93" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7eceb88-0967-42ac-a43c-ed9faa5cf36a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2069fe0b-8576-4f90-95e4-466f70f24c93" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7eceb88-0967-42ac-a43c-ed9faa5cf36a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5df9747c-24dd-4f86-a062-4d10f5b11a34" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2069fe0b-8576-4f90-95e4-466f70f24c93" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5df9747c-24dd-4f86-a062-4d10f5b11a34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3d47daa2-39c3-4711-b875-bea0ce0025c1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2069fe0b-8576-4f90-95e4-466f70f24c93" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3d47daa2-39c3-4711-b875-bea0ce0025c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_47473dd4-88be-4f9a-b429-5cc839dc30fc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2069fe0b-8576-4f90-95e4-466f70f24c93" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_47473dd4-88be-4f9a-b429-5cc839dc30fc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/FAIRVALUEMEASUREMENTSDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#FAIRVALUEMEASUREMENTSDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/FAIRVALUEMEASUREMENTSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_8d8e65e9-4c09-4466-a0d2-5b1d79502dbe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_ExecutiveDeferredSavingsPlan_8432370f-3474-4e9e-8287-1b645bbefc9a" xlink:href="klac-20220331.xsd#klac_ExecutiveDeferredSavingsPlan"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_8d8e65e9-4c09-4466-a0d2-5b1d79502dbe" xlink:to="loc_klac_ExecutiveDeferredSavingsPlan_8432370f-3474-4e9e-8287-1b645bbefc9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_ab588c66-f85e-499e-a591-c62b7a1ce475" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_8d8e65e9-4c09-4466-a0d2-5b1d79502dbe" xlink:to="loc_us-gaap_DerivativeAssets_ab588c66-f85e-499e-a591-c62b7a1ce475" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_CashEquivalentsAndMarketableSecuritiesFairValueDisclosure_7fbbd5d3-47ac-4409-ad7e-c0723961cbb4" xlink:href="klac-20220331.xsd#klac_CashEquivalentsAndMarketableSecuritiesFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_8d8e65e9-4c09-4466-a0d2-5b1d79502dbe" xlink:to="loc_klac_CashEquivalentsAndMarketableSecuritiesFairValueDisclosure_7fbbd5d3-47ac-4409-ad7e-c0723961cbb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_0d921c74-ef0b-4cb4-bbc8-cebae1cde510" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_5dbbaaa1-d139-4953-bea2-6c621ad58763" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_0d921c74-ef0b-4cb4-bbc8-cebae1cde510" xlink:to="loc_us-gaap_DerivativeLiabilities_5dbbaaa1-d139-4953-bea2-6c621ad58763" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_9065c231-ba79-467c-9466-9f454b37bbd2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_0d921c74-ef0b-4cb4-bbc8-cebae1cde510" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_9065c231-ba79-467c-9466-9f454b37bbd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_BusinessCombinationContingentConsiderationLiabilityDeferredPayment_05dd4aa1-ee0d-48e6-84a8-c7ca5c4d8587" xlink:href="klac-20220331.xsd#klac_BusinessCombinationContingentConsiderationLiabilityDeferredPayment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_0d921c74-ef0b-4cb4-bbc8-cebae1cde510" xlink:to="loc_klac_BusinessCombinationContingentConsiderationLiabilityDeferredPayment_05dd4aa1-ee0d-48e6-84a8-c7ca5c4d8587" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_CashEquivalentsAndMarketableSecuritiesFairValueDisclosure_c699ba72-1e78-4e26-8c73-be5c91da397b" xlink:href="klac-20220331.xsd#klac_CashEquivalentsAndMarketableSecuritiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_1531a867-1f9d-4cbe-a217-d0d8f54552e1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_CashEquivalentsAndMarketableSecuritiesFairValueDisclosure_c699ba72-1e78-4e26-8c73-be5c91da397b" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_1531a867-1f9d-4cbe-a217-d0d8f54552e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_bfe0170e-1b44-4942-8b69-4127123b7d8c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_CashEquivalentsAndMarketableSecuritiesFairValueDisclosure_c699ba72-1e78-4e26-8c73-be5c91da397b" xlink:to="loc_us-gaap_InvestmentsFairValueDisclosure_bfe0170e-1b44-4942-8b69-4127123b7d8c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/FINANCIALSTATEMENTCOMPONENTSBalanceSheetComponentsDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#FINANCIALSTATEMENTCOMPONENTSBalanceSheetComponentsDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/FINANCIALSTATEMENTCOMPONENTSBalanceSheetComponentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_884b2f0c-dcbe-4278-af4d-0daecfbff303" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent_c317c597-88da-4492-aac5-638f33b69227" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_884b2f0c-dcbe-4278-af4d-0daecfbff303" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesCurrent_c317c597-88da-4492-aac5-638f33b69227" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_7bd8ed6c-383e-4b12-b094-baa31b7a88fc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_884b2f0c-dcbe-4278-af4d-0daecfbff303" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_7bd8ed6c-383e-4b12-b094-baa31b7a88fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_95188cdf-f019-4caf-aa19-a7e323422b26" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_884b2f0c-dcbe-4278-af4d-0daecfbff303" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_95188cdf-f019-4caf-aa19-a7e323422b26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedMarketingCostsCurrent_22094e92-cbe8-4513-82f8-91ce3e90630d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedMarketingCostsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_884b2f0c-dcbe-4278-af4d-0daecfbff303" xlink:to="loc_us-gaap_AccruedMarketingCostsCurrent_22094e92-cbe8-4513-82f8-91ce3e90630d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_4ee6f9e0-aafe-4512-b2b6-dd58aa2f08c7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TaxesPayableCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_884b2f0c-dcbe-4278-af4d-0daecfbff303" xlink:to="loc_us-gaap_TaxesPayableCurrent_4ee6f9e0-aafe-4512-b2b6-dd58aa2f08c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendsPayableCurrent_5a8f319b-8ee5-4c9e-9092-0551a0402cf4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndDividendsPayableCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_884b2f0c-dcbe-4278-af4d-0daecfbff303" xlink:to="loc_us-gaap_InterestAndDividendsPayableCurrent_5a8f319b-8ee5-4c9e-9092-0551a0402cf4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_7796ee6d-8b0b-44c6-a25f-14ddc968e810" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_884b2f0c-dcbe-4278-af4d-0daecfbff303" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_7796ee6d-8b0b-44c6-a25f-14ddc968e810" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_71ebfd62-5581-4e2e-aaa9-45ebaf9dd715" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInventoriesSpareParts_7ec8e9d7-e8b6-4118-9d0f-634f71bfabd5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherInventoriesSpareParts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_71ebfd62-5581-4e2e-aaa9-45ebaf9dd715" xlink:to="loc_us-gaap_OtherInventoriesSpareParts_7ec8e9d7-e8b6-4118-9d0f-634f71bfabd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_02670711-a466-44eb-b107-0b7e8a8485a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryRawMaterials"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_71ebfd62-5581-4e2e-aaa9-45ebaf9dd715" xlink:to="loc_us-gaap_InventoryRawMaterials_02670711-a466-44eb-b107-0b7e8a8485a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_e8851781-b03e-4d42-b02f-9cd6bd6e0c89" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryWorkInProcess"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_71ebfd62-5581-4e2e-aaa9-45ebaf9dd715" xlink:to="loc_us-gaap_InventoryWorkInProcess_e8851781-b03e-4d42-b02f-9cd6bd6e0c89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_9b9c10fe-78e6-40b5-bcae-b9db2ffa6409" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryFinishedGoods"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_71ebfd62-5581-4e2e-aaa9-45ebaf9dd715" xlink:to="loc_us-gaap_InventoryFinishedGoods_9b9c10fe-78e6-40b5-bcae-b9db2ffa6409" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_2310fdca-67ac-4409-96da-ea393b8912cd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_79c49d30-6bc4-453a-82e0-9db97d552cab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableGrossCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_2310fdca-67ac-4409-96da-ea393b8912cd" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_79c49d30-6bc4-453a-82e0-9db97d552cab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_bb2ea845-5fb0-4a9f-9ef0-1a036dc47e65" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_2310fdca-67ac-4409-96da-ea393b8912cd" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_bb2ea845-5fb0-4a9f-9ef0-1a036dc47e65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_29f0deac-2e45-4073-8c4c-4ccb042500be" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_e6d6417f-4e7a-461b-af5a-b2a2d98a6fb9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_29f0deac-2e45-4073-8c4c-4ccb042500be" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_e6d6417f-4e7a-461b-af5a-b2a2d98a6fb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostNet_c4273c10-43aa-4dd7-81bf-1600601b3060" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CapitalizedContractCostNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_29f0deac-2e45-4073-8c4c-4ccb042500be" xlink:to="loc_us-gaap_CapitalizedContractCostNet_c4273c10-43aa-4dd7-81bf-1600601b3060" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_fbee6147-342e-40fb-ab89-0e7c4eeb6b73" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_29f0deac-2e45-4073-8c4c-4ccb042500be" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_fbee6147-342e-40fb-ab89-0e7c4eeb6b73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidTaxes_7c54d5e7-bd6b-4ca0-944a-feb4a25f9a6d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidTaxes"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_29f0deac-2e45-4073-8c4c-4ccb042500be" xlink:to="loc_us-gaap_PrepaidTaxes_7c54d5e7-bd6b-4ca0-944a-feb4a25f9a6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousCurrent_5a6c277e-297b-42eb-979f-5bf31304374c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsMiscellaneousCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsCurrent_29f0deac-2e45-4073-8c4c-4ccb042500be" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousCurrent_5a6c277e-297b-42eb-979f-5bf31304374c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_bcc18581-0619-4606-9324-4998c154f658" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_724ec347-c706-42b4-a61d-6645f5b4f6b3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredCompensationPlanAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_bcc18581-0619-4606-9324-4998c154f658" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_724ec347-c706-42b4-a61d-6645f5b4f6b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_86126264-888a-42d4-8d8a-23a7615dadc7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_bcc18581-0619-4606-9324-4998c154f658" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_86126264-888a-42d4-8d8a-23a7615dadc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_a98afe2f-2d8d-4100-ae25-a47e20047579" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_bcc18581-0619-4606-9324-4998c154f658" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_a98afe2f-2d8d-4100-ae25-a47e20047579" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_55f9eee8-13d8-4318-9af2-25d3f2904d8e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_934f216f-cbab-450e-add2-0713da405489" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_55f9eee8-13d8-4318-9af2-25d3f2904d8e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_934f216f-cbab-450e-add2-0713da405489" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_aa1fcdd7-d03b-46aa-8eba-27f78ce71ca0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_55f9eee8-13d8-4318-9af2-25d3f2904d8e" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_aa1fcdd7-d03b-46aa-8eba-27f78ce71ca0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_cff81c62-6645-42f4-a127-8785a8bd5b40" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_6eda58ba-9f73-47c7-bb76-4f975c4db42b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_cff81c62-6645-42f4-a127-8785a8bd5b40" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_6eda58ba-9f73-47c7-bb76-4f975c4db42b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesNoncurrent_7f83d5fc-6e29-4eca-8707-a6dc49eab383" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedIncomeTaxesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_cff81c62-6645-42f4-a127-8785a8bd5b40" xlink:to="loc_us-gaap_AccruedIncomeTaxesNoncurrent_7f83d5fc-6e29-4eca-8707-a6dc49eab383" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_OtherLiabilitiesMiscellaneousNoncurrent_5a247da4-fcb3-4688-9885-b538552245bb" xlink:href="klac-20220331.xsd#klac_OtherLiabilitiesMiscellaneousNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_cff81c62-6645-42f4-a127-8785a8bd5b40" xlink:to="loc_klac_OtherLiabilitiesMiscellaneousNoncurrent_5a247da4-fcb3-4688-9885-b538552245bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_bbedb955-c607-45c6-9fcd-f9dea1f156de" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_cff81c62-6645-42f4-a127-8785a8bd5b40" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_bbedb955-c607-45c6-9fcd-f9dea1f156de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_26e6f487-c311-4024-8a1d-62943050c649" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_f54add51-ba5c-4d97-b507-b7c6995e6a02" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Land"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_26e6f487-c311-4024-8a1d-62943050c649" xlink:to="loc_us-gaap_Land_f54add51-ba5c-4d97-b507-b7c6995e6a02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_BuildingsAndLeaseholdImprovementsGross_12326387-1d0f-47ca-9e28-a9b9db4f5876" xlink:href="klac-20220331.xsd#klac_BuildingsAndLeaseholdImprovementsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_26e6f487-c311-4024-8a1d-62943050c649" xlink:to="loc_klac_BuildingsAndLeaseholdImprovementsGross_12326387-1d0f-47ca-9e28-a9b9db4f5876" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentGross_b076bad2-7779-4621-9e9a-cb7ed5c6ebae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_26e6f487-c311-4024-8a1d-62943050c649" xlink:to="loc_us-gaap_MachineryAndEquipmentGross_b076bad2-7779-4621-9e9a-cb7ed5c6ebae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesGross_a5afb60d-16f6-4241-8a18-e30473736b99" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FurnitureAndFixturesGross"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_26e6f487-c311-4024-8a1d-62943050c649" xlink:to="loc_us-gaap_FurnitureAndFixturesGross_a5afb60d-16f6-4241-8a18-e30473736b99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressGross_54fb7e3b-293b-422d-abb2-03b809a3ed12" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_26e6f487-c311-4024-8a1d-62943050c649" xlink:to="loc_us-gaap_ConstructionInProgressGross_54fb7e3b-293b-422d-abb2-03b809a3ed12" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/MARKETABLESECURITIESAmortizedCostandFairValueDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#MARKETABLESECURITIESAmortizedCostandFairValueDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/MARKETABLESECURITIESAmortizedCostandFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCost_ca8a6a63-043a-42fa-a786-53f39521da65" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquitySecuritiesFvNiCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGain_2dc9b7b3-9d3a-4ab8-a880-408c21f63caf" xlink:href="klac-20220331.xsd#klac_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGain"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiCost_ca8a6a63-043a-42fa-a786-53f39521da65" xlink:to="loc_klac_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGain_2dc9b7b3-9d3a-4ab8-a880-408c21f63caf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLoss_4d18b167-d475-4a12-9910-000b7f54d183" xlink:href="klac-20220331.xsd#klac_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiCost_ca8a6a63-043a-42fa-a786-53f39521da65" xlink:to="loc_klac_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLoss_4d18b167-d475-4a12-9910-000b7f54d183" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_82bcf6a1-3a7a-49bf-88f5-c2892b8c6aa0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EquitySecuritiesFvNiCost_ca8a6a63-043a-42fa-a786-53f39521da65" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_82bcf6a1-3a7a-49bf-88f5-c2892b8c6aa0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_50ca1558-e132-4552-bbb8-a91f0734c026" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_8157a49a-2457-43d7-841b-cf9f09632cca" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_50ca1558-e132-4552-bbb8-a91f0734c026" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_8157a49a-2457-43d7-841b-cf9f09632cca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_aa6a72d0-4fd4-472f-a2c6-f936610aa7ab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_50ca1558-e132-4552-bbb8-a91f0734c026" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_aa6a72d0-4fd4-472f-a2c6-f936610aa7ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_4ee869ca-e07c-47f6-a741-126f8bc3e2f9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_50ca1558-e132-4552-bbb8-a91f0734c026" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_4ee869ca-e07c-47f6-a741-126f8bc3e2f9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/MARKETABLESECURITIESContractualMaturitiesDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#MARKETABLESECURITIESContractualMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/MARKETABLESECURITIESContractualMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_cc2d866e-7a03-498f-b346-2d0978dbbc9f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_9b3c8659-af52-4ce2-ad69-465640da511f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_cc2d866e-7a03-498f-b346-2d0978dbbc9f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_9b3c8659-af52-4ce2-ad69-465640da511f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_DebtSecuritiesAvailableForSaleMaturityAllocatedAndSingleMaturityDateAfterOneThroughThreeYearsFairValue_8e38f36c-fe32-48ca-9b6a-cdf492069333" xlink:href="klac-20220331.xsd#klac_DebtSecuritiesAvailableForSaleMaturityAllocatedAndSingleMaturityDateAfterOneThroughThreeYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_cc2d866e-7a03-498f-b346-2d0978dbbc9f" xlink:to="loc_klac_DebtSecuritiesAvailableForSaleMaturityAllocatedAndSingleMaturityDateAfterOneThroughThreeYearsFairValue_8e38f36c-fe32-48ca-9b6a-cdf492069333" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f19c1831-4f6e-467f-b771-a59138555a62" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_DebtSecuritiesAvailableForSaleMaturityAllocatedAndSingleMaturityDateAfterOneThroughThreeYearsAmortizedCost_6e6edfc9-d350-409f-81b6-100ba85f9511" xlink:href="klac-20220331.xsd#klac_DebtSecuritiesAvailableForSaleMaturityAllocatedAndSingleMaturityDateAfterOneThroughThreeYearsAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f19c1831-4f6e-467f-b771-a59138555a62" xlink:to="loc_klac_DebtSecuritiesAvailableForSaleMaturityAllocatedAndSingleMaturityDateAfterOneThroughThreeYearsAmortizedCost_6e6edfc9-d350-409f-81b6-100ba85f9511" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_886ed927-510a-45e7-97d6-25f525059440" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f19c1831-4f6e-467f-b771-a59138555a62" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_886ed927-510a-45e7-97d6-25f525059440" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/BUSINESSCOMBINATIONSANDDISPOSITIONSScheduleofAggregatePurchaseConsiderationandPreliminaryPurchasePriceAllocationDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#BUSINESSCOMBINATIONSANDDISPOSITIONSScheduleofAggregatePurchaseConsiderationandPreliminaryPurchasePriceAllocationDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/BUSINESSCOMBINATIONSANDDISPOSITIONSScheduleofAggregatePurchaseConsiderationandPreliminaryPurchasePriceAllocationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_c9481017-00a7-4160-b587-efa6f1025313" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_bf65e7df-5f75-44e3-bad5-796a25039892" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_c9481017-00a7-4160-b587-efa6f1025313" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_bf65e7df-5f75-44e3-bad5-796a25039892" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_164cf761-1721-4cc8-8cf8-08d1549d1b0b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAcquiredFromAcquisition"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_c9481017-00a7-4160-b587-efa6f1025313" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_164cf761-1721-4cc8-8cf8-08d1549d1b0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_fef36fa0-4cc1-424d-82fe-be384239eba2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets_03fceb44-dc46-4e91-ab24-7ccd9d8b4f5a" xlink:href="klac-20220331.xsd#klac_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_fef36fa0-4cc1-424d-82fe-be384239eba2" xlink:to="loc_klac_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets_03fceb44-dc46-4e91-ab24-7ccd9d8b4f5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_3d407f75-283b-4ea1-b1ea-c83d6a379f46" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_fef36fa0-4cc1-424d-82fe-be384239eba2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_3d407f75-283b-4ea1-b1ea-c83d6a379f46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_cb925b74-4e0f-46c1-86f7-318736a07ed2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_fef36fa0-4cc1-424d-82fe-be384239eba2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_cb925b74-4e0f-46c1-86f7-318736a07ed2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_4cbc9e7e-31c6-45ff-911e-38087ebcb2a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_fef36fa0-4cc1-424d-82fe-be384239eba2" xlink:to="loc_us-gaap_Goodwill_4cbc9e7e-31c6-45ff-911e-38087ebcb2a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilities_93c31aab-dd97-4920-8825-dac0cc203007" xlink:href="klac-20220331.xsd#klac_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilities"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_fef36fa0-4cc1-424d-82fe-be384239eba2" xlink:to="loc_klac_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilities_93c31aab-dd97-4920-8825-dac0cc203007" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_f3d783be-9612-4a01-9529-7138dcba3bbf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_fef36fa0-4cc1-424d-82fe-be384239eba2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_f3d783be-9612-4a01-9529-7138dcba3bbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedOfficersBonusCurrent_ee4f307c-460c-4ab2-b934-20f86793091f" xlink:href="klac-20220331.xsd#klac_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedOfficersBonusCurrent"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_fef36fa0-4cc1-424d-82fe-be384239eba2" xlink:to="loc_klac_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedOfficersBonusCurrent_ee4f307c-460c-4ab2-b934-20f86793091f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6f68b582-2039-4312-b9c5-7d4d69143063" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_fef36fa0-4cc1-424d-82fe-be384239eba2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6f68b582-2039-4312-b9c5-7d4d69143063" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/BUSINESSCOMBINATIONSANDDISPOSITIONSScheduleofDisclosureofLongLivedAssetsHeldforsaleDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#BUSINESSCOMBINATIONSANDDISPOSITIONSScheduleofDisclosureofLongLivedAssetsHeldforsaleDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/BUSINESSCOMBINATIONSANDDISPOSITIONSScheduleofDisclosureofLongLivedAssetsHeldforsaleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_klac_DisposalGroupIncludingDiscontinuedOperationAssetsLiabilitiesNet_0fd73418-157d-4070-a3ce-e6e2fc331124" xlink:href="klac-20220331.xsd#klac_DisposalGroupIncludingDiscontinuedOperationAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_5c50274f-ba38-4350-a1c6-f311d2569fc4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_DisposalGroupIncludingDiscontinuedOperationAssetsLiabilitiesNet_0fd73418-157d-4070-a3ce-e6e2fc331124" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents_5c50274f-ba38-4350-a1c6-f311d2569fc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_4e32111c-dcb1-45c5-b25e-eea813d0e029" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_DisposalGroupIncludingDiscontinuedOperationAssetsLiabilitiesNet_0fd73418-157d-4070-a3ce-e6e2fc331124" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_4e32111c-dcb1-45c5-b25e-eea813d0e029" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet_c08eea82-fa39-40ab-b0b7-2ee0eca2c805" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_DisposalGroupIncludingDiscontinuedOperationAssetsLiabilitiesNet_0fd73418-157d-4070-a3ce-e6e2fc331124" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet_c08eea82-fa39-40ab-b0b7-2ee0eca2c805" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_c8fab6d9-069a-4159-9799-832b2929210d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_DisposalGroupIncludingDiscontinuedOperationAssetsLiabilitiesNet_0fd73418-157d-4070-a3ce-e6e2fc331124" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_c8fab6d9-069a-4159-9799-832b2929210d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableAndAccruedLiabilities_c2669a1f-40f4-4093-94cc-27161bc3e7b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_DisposalGroupIncludingDiscontinuedOperationAssetsLiabilitiesNet_0fd73418-157d-4070-a3ce-e6e2fc331124" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableAndAccruedLiabilities_c2669a1f-40f4-4093-94cc-27161bc3e7b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_fd53053c-9fe8-4644-80b6-dcad5c036a5c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_DisposalGroupIncludingDiscontinuedOperationAssetsLiabilitiesNet_0fd73418-157d-4070-a3ce-e6e2fc331124" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherNoncurrentAssets_fd53053c-9fe8-4644-80b6-dcad5c036a5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_DisposalGroupIncludingDiscontinuedOperationMinorityInterest_f4a7a7cd-9756-4f76-8f5d-c971437b30a8" xlink:href="klac-20220331.xsd#klac_DisposalGroupIncludingDiscontinuedOperationMinorityInterest"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_DisposalGroupIncludingDiscontinuedOperationAssetsLiabilitiesNet_0fd73418-157d-4070-a3ce-e6e2fc331124" xlink:to="loc_klac_DisposalGroupIncludingDiscontinuedOperationMinorityInterest_f4a7a7cd-9756-4f76-8f5d-c971437b30a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwill1_5b2e6361-59db-4257-9ce1-5208965803f8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwill1"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_DisposalGroupIncludingDiscontinuedOperationAssetsLiabilitiesNet_0fd73418-157d-4070-a3ce-e6e2fc331124" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwill1_5b2e6361-59db-4257-9ce1-5208965803f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_9c0d971e-e1a8-40f3-812a-bd91bcd0241c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_DisposalGroupIncludingDiscontinuedOperationAssetsLiabilitiesNet_0fd73418-157d-4070-a3ce-e6e2fc331124" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherLiabilities_9c0d971e-e1a8-40f3-812a-bd91bcd0241c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/GOODWILLANDPURCHASEDINTANGIBLEASSETSPurchasedIntangibleAssetsDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#GOODWILLANDPURCHASEDINTANGIBLEASSETSPurchasedIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/GOODWILLANDPURCHASEDINTANGIBLEASSETSPurchasedIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_klac_IndefiniteLivedIntangibleAssetsExcludingGoodwillNetOfOtherAccumulatedAdjustment_bd292635-805d-4c3b-9c6f-61c818daee76" xlink:href="klac-20220331.xsd#klac_IndefiniteLivedIntangibleAssetsExcludingGoodwillNetOfOtherAccumulatedAdjustment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_c0c4b7db-e26e-4490-b158-a8ce1ff3d0a7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_IndefiniteLivedIntangibleAssetsExcludingGoodwillNetOfOtherAccumulatedAdjustment_bd292635-805d-4c3b-9c6f-61c818daee76" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_c0c4b7db-e26e-4490-b158-a8ce1ff3d0a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_IntangibleAssetsOtherAccumulatedAdjustments_ecf0014f-cb51-4f38-98db-9ed243c82db3" xlink:href="klac-20220331.xsd#klac_IntangibleAssetsOtherAccumulatedAdjustments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_IndefiniteLivedIntangibleAssetsExcludingGoodwillNetOfOtherAccumulatedAdjustment_bd292635-805d-4c3b-9c6f-61c818daee76" xlink:to="loc_klac_IntangibleAssetsOtherAccumulatedAdjustments_ecf0014f-cb51-4f38-98db-9ed243c82db3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_FiniteLivedIntangibleAssetsAccumulatedAmortizationAndOtherAccumulatedAdjustment_50f7b9d2-0691-40dd-ba41-03b2314fc3be" xlink:href="klac-20220331.xsd#klac_FiniteLivedIntangibleAssetsAccumulatedAmortizationAndOtherAccumulatedAdjustment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_ee444e12-9349-4b1b-abcc-c5fb9a057097" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_FiniteLivedIntangibleAssetsAccumulatedAmortizationAndOtherAccumulatedAdjustment_50f7b9d2-0691-40dd-ba41-03b2314fc3be" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_ee444e12-9349-4b1b-abcc-c5fb9a057097" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_IntangibleAssetsOtherAccumulatedAdjustments_5f24ec98-e8eb-4ea3-a4da-14799ad4d0b6" xlink:href="klac-20220331.xsd#klac_IntangibleAssetsOtherAccumulatedAdjustments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_FiniteLivedIntangibleAssetsAccumulatedAmortizationAndOtherAccumulatedAdjustment_50f7b9d2-0691-40dd-ba41-03b2314fc3be" xlink:to="loc_klac_IntangibleAssetsOtherAccumulatedAdjustments_5f24ec98-e8eb-4ea3-a4da-14799ad4d0b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_b1273ab6-f318-4e24-b244-ef5a927437d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_21f35901-9014-42d4-8409-85fa48f8fa9c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_b1273ab6-f318-4e24-b244-ef5a927437d1" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_21f35901-9014-42d4-8409-85fa48f8fa9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_FiniteLivedIntangibleAssetsAccumulatedAmortizationAndOtherAccumulatedAdjustment_f1844f49-c815-4a55-aa43-6e3bbaea4393" xlink:href="klac-20220331.xsd#klac_FiniteLivedIntangibleAssetsAccumulatedAmortizationAndOtherAccumulatedAdjustment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_b1273ab6-f318-4e24-b244-ef5a927437d1" xlink:to="loc_klac_FiniteLivedIntangibleAssetsAccumulatedAmortizationAndOtherAccumulatedAdjustment_f1844f49-c815-4a55-aa43-6e3bbaea4393" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_a541480b-7a81-4f50-a4c6-9b43d6d3f278" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_46f78d04-42b8-4e7b-ab25-c697cc95e5b7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_a541480b-7a81-4f50-a4c6-9b43d6d3f278" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_46f78d04-42b8-4e7b-ab25-c697cc95e5b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_a2b545b2-a02c-4b41-a6b5-d2e27caa5fd0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_a541480b-7a81-4f50-a4c6-9b43d6d3f278" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_a2b545b2-a02c-4b41-a6b5-d2e27caa5fd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a1e8e9dc-cb59-40db-adc4-77a15369afc3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_5bf78418-0d52-4afc-995e-63de664388c5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a1e8e9dc-cb59-40db-adc4-77a15369afc3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_5bf78418-0d52-4afc-995e-63de664388c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_3d09416c-a23f-4d11-b2e4-a6a415a34179" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a1e8e9dc-cb59-40db-adc4-77a15369afc3" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_3d09416c-a23f-4d11-b2e4-a6a415a34179" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/GOODWILLANDPURCHASEDINTANGIBLEASSETSPurchasedIntangibleAssetsDetails_1" xlink:type="simple" xlink:href="klac-20220331.xsd#GOODWILLANDPURCHASEDINTANGIBLEASSETSPurchasedIntangibleAssetsDetails_1"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/GOODWILLANDPURCHASEDINTANGIBLEASSETSPurchasedIntangibleAssetsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_a2e08a04-3bf5-40c1-8a54-2524a1299530" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_31242319-4c1f-4a76-a839-7aa3f470a9e6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_a2e08a04-3bf5-40c1-8a54-2524a1299530" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_31242319-4c1f-4a76-a839-7aa3f470a9e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_IndefiniteLivedIntangibleAssetsExcludingGoodwillNetOfOtherAccumulatedAdjustment_650bdd38-2aa2-4357-ad01-fb15dd80597c" xlink:href="klac-20220331.xsd#klac_IndefiniteLivedIntangibleAssetsExcludingGoodwillNetOfOtherAccumulatedAdjustment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_a2e08a04-3bf5-40c1-8a54-2524a1299530" xlink:to="loc_klac_IndefiniteLivedIntangibleAssetsExcludingGoodwillNetOfOtherAccumulatedAdjustment_650bdd38-2aa2-4357-ad01-fb15dd80597c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/GOODWILLANDPURCHASEDINTANGIBLEASSETSFutureEstimatedAmortizationExpenseDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#GOODWILLANDPURCHASEDINTANGIBLEASSETSFutureEstimatedAmortizationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/GOODWILLANDPURCHASEDINTANGIBLEASSETSFutureEstimatedAmortizationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5776d1c2-9e64-4fb4-897c-23becf26e147" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_3969cb84-37cb-495f-9a11-e92cdd35a2d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5776d1c2-9e64-4fb4-897c-23becf26e147" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_3969cb84-37cb-495f-9a11-e92cdd35a2d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_55a82c7a-357e-498e-a2fb-604eb8bce4bd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5776d1c2-9e64-4fb4-897c-23becf26e147" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_55a82c7a-357e-498e-a2fb-604eb8bce4bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_5669150c-2fc4-4b5e-92de-ba258a4927cb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5776d1c2-9e64-4fb4-897c-23becf26e147" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_5669150c-2fc4-4b5e-92de-ba258a4927cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_df3df90f-89db-48fa-a99e-597e3e7c56f0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5776d1c2-9e64-4fb4-897c-23becf26e147" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_df3df90f-89db-48fa-a99e-597e3e7c56f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_de799d64-920a-4725-abb8-128237ad6785" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5776d1c2-9e64-4fb4-897c-23becf26e147" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_de799d64-920a-4725-abb8-128237ad6785" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_FiniteLivedIntangibleAssetExpectedAmortizationYearFiveAndThereafter_ad83dcc3-d0e1-473b-9249-35f63bb7b583" xlink:href="klac-20220331.xsd#klac_FiniteLivedIntangibleAssetExpectedAmortizationYearFiveAndThereafter"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5776d1c2-9e64-4fb4-897c-23becf26e147" xlink:to="loc_klac_FiniteLivedIntangibleAssetExpectedAmortizationYearFiveAndThereafter_ad83dcc3-d0e1-473b-9249-35f63bb7b583" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/DEBTScheduleofDebtDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#DEBTScheduleofDebtDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/DEBTScheduleofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_464ef8c7-981d-43a5-9447-8e44548f3608" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_893dd5e7-8b0d-4fc5-a00e-73a0cd45ddc4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_464ef8c7-981d-43a5-9447-8e44548f3608" xlink:to="loc_us-gaap_LongTermDebt_893dd5e7-8b0d-4fc5-a00e-73a0cd45ddc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_c4cf04fe-574f-4694-a67b-f55998fe4866" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_464ef8c7-981d-43a5-9447-8e44548f3608" xlink:to="loc_us-gaap_ShortTermBorrowings_c4cf04fe-574f-4694-a67b-f55998fe4866" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_DebtLongTermAndShortTermCombinedAmountGross_0ebaeda0-4e2b-425d-a04d-447a7c559973" xlink:href="klac-20220331.xsd#klac_DebtLongTermAndShortTermCombinedAmountGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_48d40d91-3d19-4326-bc4a-eff7de8180f4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_DebtLongTermAndShortTermCombinedAmountGross_0ebaeda0-4e2b-425d-a04d-447a7c559973" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_48d40d91-3d19-4326-bc4a-eff7de8180f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayable_e5fba55f-3281-4763-8982-08fda56fffff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesPayable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_klac_DebtLongTermAndShortTermCombinedAmountGross_0ebaeda0-4e2b-425d-a04d-447a7c559973" xlink:to="loc_us-gaap_NotesPayable_e5fba55f-3281-4763-8982-08fda56fffff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/DEBTScheduleofDebtDetails_1" xlink:type="simple" xlink:href="klac-20220331.xsd#DEBTScheduleofDebtDetails_1"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/DEBTScheduleofDebtDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_102d8391-b53b-4e7e-92ed-b6f7f0c40fc1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_DebtLongTermAndShortTermCombinedAmountGross_e9c17315-83e3-4b1e-b572-ee5b76fa5a4e" xlink:href="klac-20220331.xsd#klac_DebtLongTermAndShortTermCombinedAmountGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_102d8391-b53b-4e7e-92ed-b6f7f0c40fc1" xlink:to="loc_klac_DebtLongTermAndShortTermCombinedAmountGross_e9c17315-83e3-4b1e-b572-ee5b76fa5a4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_20a0e535-7820-4f66-b274-9bb059567efb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_102d8391-b53b-4e7e-92ed-b6f7f0c40fc1" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_20a0e535-7820-4f66-b274-9bb059567efb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_e5a8c50f-33f7-4f60-a289-cba9320a5eec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_102d8391-b53b-4e7e-92ed-b6f7f0c40fc1" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_e5a8c50f-33f7-4f60-a289-cba9320a5eec" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#LEASESMaturitiesofLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_eedd55b2-11b8-432c-9c48-356ea538975d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_455d007e-41f0-4e3b-9f17-71243b3b8c6b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_eedd55b2-11b8-432c-9c48-356ea538975d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_455d007e-41f0-4e3b-9f17-71243b3b8c6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_klac_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_489bd73e-693b-4c91-b20f-d5462e8ad7c2" xlink:href="klac-20220331.xsd#klac_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_eedd55b2-11b8-432c-9c48-356ea538975d" xlink:to="loc_klac_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_489bd73e-693b-4c91-b20f-d5462e8ad7c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_6e7c8790-e40a-4006-a78d-f1b602249b6f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_eedd55b2-11b8-432c-9c48-356ea538975d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_6e7c8790-e40a-4006-a78d-f1b602249b6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_5ad76ede-2678-495a-b949-9b29bc07558a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_eedd55b2-11b8-432c-9c48-356ea538975d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_5ad76ede-2678-495a-b949-9b29bc07558a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_fa8605d3-88d7-4ad3-a76d-540af891e136" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_eedd55b2-11b8-432c-9c48-356ea538975d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_fa8605d3-88d7-4ad3-a76d-540af891e136" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_a64a61be-14a2-440b-984a-6e635ad208c5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_eedd55b2-11b8-432c-9c48-356ea538975d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_a64a61be-14a2-440b-984a-6e635ad208c5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails_1" xlink:type="simple" xlink:href="klac-20220331.xsd#LEASESMaturitiesofLeaseLiabilitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/LEASESMaturitiesofLeaseLiabilitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d9caa466-817d-4abe-bc99-8538db726015" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_c89cb761-974a-492e-8912-185c32e047ee" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d9caa466-817d-4abe-bc99-8538db726015" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_c89cb761-974a-492e-8912-185c32e047ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_06665bab-8048-481e-a8b4-2440cc17bacb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d9caa466-817d-4abe-bc99-8538db726015" xlink:to="loc_us-gaap_OperatingLeaseLiability_06665bab-8048-481e-a8b4-2440cc17bacb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/NETINCOMEPERSHAREDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#NETINCOMEPERSHAREDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/NETINCOMEPERSHAREDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_f31c5959-800e-48fa-81a0-7deca9f52b7a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_c48e1aa2-e10d-4efe-9c62-fa68c1554231" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_f31c5959-800e-48fa-81a0-7deca9f52b7a" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_c48e1aa2-e10d-4efe-9c62-fa68c1554231" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_4702c4ea-58d6-472a-b379-c9effae1980c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_f31c5959-800e-48fa-81a0-7deca9f52b7a" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_4702c4ea-58d6-472a-b379-c9effae1980c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.kla-tencor.com/role/DERIVATIVEINSTRUMENTSANDHEDGINGACTIVITIESOffsettingofDerivativeAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="klac-20220331.xsd#DERIVATIVEINSTRUMENTSANDHEDGINGACTIVITIESOffsettingofDerivativeAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.kla-tencor.com/role/DERIVATIVEINSTRUMENTSANDHEDGINGACTIVITIESOffsettingofDerivativeAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_4f550b3d-7723-43cf-b797-22731d622444" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_c59683ec-7094-4ebf-b6e8-da44325f592e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_4f550b3d-7723-43cf-b797-22731d622444" xlink:to="loc_us-gaap_DerivativeLiabilities_c59683ec-7094-4ebf-b6e8-da44325f592e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction_34332be6-99fb-4b93-882c-223c781d9420" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_4f550b3d-7723-43cf-b797-22731d622444" xlink:to="loc_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction_34332be6-99fb-4b93-882c-223c781d9420" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimCash_f68f9c72-2754-4b17-8c17-9dce60923693" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeCollateralRightToReclaimCash"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_4f550b3d-7723-43cf-b797-22731d622444" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimCash_f68f9c72-2754-4b17-8c17-9dce60923693" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_f5802e57-8906-4761-9f68-be5930c25d41" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_7b8c48cc-b30c-4ba9-8edd-22a9a8c63c07" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_f5802e57-8906-4761-9f68-be5930c25d41" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_7b8c48cc-b30c-4ba9-8edd-22a9a8c63c07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_3861fbfd-85b8-420d-8522-934db831280a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_f5802e57-8906-4761-9f68-be5930c25d41" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_3861fbfd-85b8-420d-8522-934db831280a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_85422bd5-6740-459d-9301-41b07c4220e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_f3785c33-0572-4145-a993-9209ce0c7b3c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_85422bd5-6740-459d-9301-41b07c4220e5" xlink:to="loc_us-gaap_DerivativeAssets_f3785c33-0572-4145-a993-9209ce0c7b3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction_a474d2b7-20b7-4af2-9a96-41a737ae02c3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_85422bd5-6740-459d-9301-41b07c4220e5" xlink:to="loc_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction_a474d2b7-20b7-4af2-9a96-41a737ae02c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnCash_3a003ef0-eccb-4073-8dba-d71bd57d35c8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeCollateralObligationToReturnCash"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_85422bd5-6740-459d-9301-41b07c4220e5" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnCash_3a003ef0-eccb-4073-8dba-d71bd57d35c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_2b956780-1592-46ef-b2d5-f29d4f9b5205" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_a6ff8575-34d0-4e0b-81ea-44982be309da" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_2b956780-1592-46ef-b2d5-f29d4f9b5205" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_a6ff8575-34d0-4e0b-81ea-44982be309da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_cf6be787-e88e-44cb-b194-2eff9e46e239" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_2b956780-1592-46ef-b2d5-f29d4f9b5205" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_cf6be787-e88e-44cb-b194-2eff9e46e239" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
