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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:1b10865b-84ce-4ee9-b73f-c5c58dfbbd27,g:3b83f1f8-0aec-44ca-be31-4ee2384de697-->
<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.fabrinet.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="fn-20250627.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_69459d23-2f80-4fe8-a6f2-abcd9d81ada0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableTradeCurrent_6b0b058e-4e19-4ba1-8f15-37133ad7c4d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_69459d23-2f80-4fe8-a6f2-abcd9d81ada0" xlink:to="loc_us-gaap_AccountsPayableTradeCurrent_6b0b058e-4e19-4ba1-8f15-37133ad7c4d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_AccruedCapitalExpenditureCurrent_f53a6c6a-e244-4ffa-b7df-567c5f8989a4" xlink:href="fn-20250627.xsd#fn_AccruedCapitalExpenditureCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_69459d23-2f80-4fe8-a6f2-abcd9d81ada0" xlink:to="loc_fn_AccruedCapitalExpenditureCurrent_f53a6c6a-e244-4ffa-b7df-567c5f8989a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_b9aac300-d91c-442c-bb01-70e184d24521" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_69459d23-2f80-4fe8-a6f2-abcd9d81ada0" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_b9aac300-d91c-442c-bb01-70e184d24521" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_6d7bac82-9897-44ac-abf1-5c5fdbad645d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_69459d23-2f80-4fe8-a6f2-abcd9d81ada0" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_6d7bac82-9897-44ac-abf1-5c5fdbad645d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_4f2b60f1-5511-4d8e-85a4-6981bc7f4c1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_69459d23-2f80-4fe8-a6f2-abcd9d81ada0" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_4f2b60f1-5511-4d8e-85a4-6981bc7f4c1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_6ffea683-8293-4747-ab56-edfde5dad6de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_69459d23-2f80-4fe8-a6f2-abcd9d81ada0" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_6ffea683-8293-4747-ab56-edfde5dad6de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_831e0977-2d94-4de5-8b9c-4c6861c64087" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_69459d23-2f80-4fe8-a6f2-abcd9d81ada0" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_831e0977-2d94-4de5-8b9c-4c6861c64087" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_79706cf6-369b-43e6-81f8-aa0a217ebcaf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_6d185c9e-294d-44d6-9740-cebc37e1d27c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_79706cf6-369b-43e6-81f8-aa0a217ebcaf" xlink:to="loc_us-gaap_AssetsCurrent_6d185c9e-294d-44d6-9740-cebc37e1d27c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_aff93194-81aa-489f-8cd1-2200919ce8f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_79706cf6-369b-43e6-81f8-aa0a217ebcaf" xlink:to="loc_us-gaap_AssetsNoncurrent_aff93194-81aa-489f-8cd1-2200919ce8f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_ad289bf5-abb8-4c10-8941-290e97318d17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_a723e85d-82f3-4156-96d9-fbe72209743d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_ad289bf5-abb8-4c10-8941-290e97318d17" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_a723e85d-82f3-4156-96d9-fbe72209743d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_69609520-afc1-487c-ba39-6b1add710ac9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_ad289bf5-abb8-4c10-8941-290e97318d17" xlink:to="loc_us-gaap_DefinedBenefitPensionPlanLiabilitiesNoncurrent_69609520-afc1-487c-ba39-6b1add710ac9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_b19a6142-3330-4cd2-aa4c-f44a3d6bcde9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_ad289bf5-abb8-4c10-8941-290e97318d17" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_b19a6142-3330-4cd2-aa4c-f44a3d6bcde9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_5e805030-0963-409f-bd75-4ff202f928b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_ad289bf5-abb8-4c10-8941-290e97318d17" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_5e805030-0963-409f-bd75-4ff202f928b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_0d79c612-db38-478f-9d27-85a244e75778" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_7533bb2e-9ec2-4d8a-be38-503025ea928a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0d79c612-db38-478f-9d27-85a244e75778" xlink:to="loc_us-gaap_ShortTermInvestments_7533bb2e-9ec2-4d8a-be38-503025ea928a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_cfbf21eb-0440-40a7-8c94-f997104e2d41" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0d79c612-db38-478f-9d27-85a244e75778" xlink:to="loc_us-gaap_OtherAssetsCurrent_cfbf21eb-0440-40a7-8c94-f997104e2d41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_97875988-1c24-405f-badd-5f15a8704cbe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0d79c612-db38-478f-9d27-85a244e75778" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_97875988-1c24-405f-badd-5f15a8704cbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_08db5fc5-ccd7-4972-94f5-1126e6391e74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0d79c612-db38-478f-9d27-85a244e75778" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_08db5fc5-ccd7-4972-94f5-1126e6391e74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_be911b7b-4f47-44e6-80b0-c6ed80945e11" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0d79c612-db38-478f-9d27-85a244e75778" xlink:to="loc_us-gaap_InventoryNet_be911b7b-4f47-44e6-80b0-c6ed80945e11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6515a0f9-d709-4731-9d81-d5fa07a652b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0d79c612-db38-478f-9d27-85a244e75778" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6515a0f9-d709-4731-9d81-d5fa07a652b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_29992b5a-8d7d-4c62-a591-ad85442f043b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_27643797-93fc-4e2d-a253-b868f230654d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_29992b5a-8d7d-4c62-a591-ad85442f043b" xlink:to="loc_us-gaap_Liabilities_27643797-93fc-4e2d-a253-b868f230654d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_811f3a20-735c-4d1e-934e-21677f3c68c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_29992b5a-8d7d-4c62-a591-ad85442f043b" xlink:to="loc_us-gaap_StockholdersEquity_811f3a20-735c-4d1e-934e-21677f3c68c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_e2f2db8e-ff11-47c3-b515-fb130fb5b72e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_29992b5a-8d7d-4c62-a591-ad85442f043b" xlink:to="loc_us-gaap_CommitmentsAndContingencies_e2f2db8e-ff11-47c3-b515-fb130fb5b72e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_38db4f3b-59fd-4148-96b9-870870cb8bf1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_4fc9f0d3-fb9f-410a-8f2a-63d5a2b753ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_38db4f3b-59fd-4148-96b9-870870cb8bf1" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_4fc9f0d3-fb9f-410a-8f2a-63d5a2b753ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_f5ba3e0f-2428-40bf-8ace-5cca164b3288" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_AssetsNoncurrent_38db4f3b-59fd-4148-96b9-870870cb8bf1" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_f5ba3e0f-2428-40bf-8ace-5cca164b3288" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_7ae253dd-a817-487e-a226-9323b177d605" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_38db4f3b-59fd-4148-96b9-870870cb8bf1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_7ae253dd-a817-487e-a226-9323b177d605" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_011b5ff8-225a-4d85-8848-b055976a149b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_38db4f3b-59fd-4148-96b9-870870cb8bf1" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_011b5ff8-225a-4d85-8848-b055976a149b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_bc4a7136-6f5f-4b0f-993b-7e451ce3038b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_38db4f3b-59fd-4148-96b9-870870cb8bf1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_bc4a7136-6f5f-4b0f-993b-7e451ce3038b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_16be3085-fff6-4ee1-b632-eea3be68bfcf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_7d683c41-497f-4970-b09f-083fb47c6e85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_16be3085-fff6-4ee1-b632-eea3be68bfcf" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_7d683c41-497f-4970-b09f-083fb47c6e85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_876d0a08-4fd7-430a-bf27-2091baecb936" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_16be3085-fff6-4ee1-b632-eea3be68bfcf" xlink:to="loc_us-gaap_LiabilitiesCurrent_876d0a08-4fd7-430a-bf27-2091baecb936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e13d4c63-fa43-4188-b950-f2009e0bab5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f49796d6-d64d-489e-a58c-3b24b398d638" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e13d4c63-fa43-4188-b950-f2009e0bab5f" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_f49796d6-d64d-489e-a58c-3b24b398d638" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f679e2ff-07fd-4b9b-9bf0-00f6c0de9ac9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e13d4c63-fa43-4188-b950-f2009e0bab5f" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f679e2ff-07fd-4b9b-9bf0-00f6c0de9ac9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_c2d59437-fdd0-4991-91a1-0ae45779cd72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e13d4c63-fa43-4188-b950-f2009e0bab5f" xlink:to="loc_us-gaap_TreasuryStockCommonValue_c2d59437-fdd0-4991-91a1-0ae45779cd72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_01752b93-72f2-4a59-b44a-29b5b5a06e96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e13d4c63-fa43-4188-b950-f2009e0bab5f" xlink:to="loc_us-gaap_PreferredStockValue_01752b93-72f2-4a59-b44a-29b5b5a06e96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_30d6575f-603b-4ae7-8a7a-f8c10fb11ea5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e13d4c63-fa43-4188-b950-f2009e0bab5f" xlink:to="loc_us-gaap_CommonStockValue_30d6575f-603b-4ae7-8a7a-f8c10fb11ea5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_a5371141-56fa-414d-ba29-119f1e9f62bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e13d4c63-fa43-4188-b950-f2009e0bab5f" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_a5371141-56fa-414d-ba29-119f1e9f62bc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="fn-20250627.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4f9934bc-6604-4c38-b45c-c36661fcacd9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_d3c6b40a-27d4-44e5-b1e4-821a9c6c8051" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4f9934bc-6604-4c38-b45c-c36661fcacd9" xlink:to="loc_us-gaap_OperatingIncomeLoss_d3c6b40a-27d4-44e5-b1e4-821a9c6c8051" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndOtherIncome_85dde392-e52d-41dc-b87f-7c490527f988" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndOtherIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4f9934bc-6604-4c38-b45c-c36661fcacd9" xlink:to="loc_us-gaap_InterestAndOtherIncome_85dde392-e52d-41dc-b87f-7c490527f988" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_efd213d5-49b4-477f-b70d-96ce7a6bc5fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4f9934bc-6604-4c38-b45c-c36661fcacd9" xlink:to="loc_us-gaap_InterestExpenseNonoperating_efd213d5-49b4-477f-b70d-96ce7a6bc5fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_ad6cec3a-9145-4f6c-9ac3-0f296e43b047" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4f9934bc-6604-4c38-b45c-c36661fcacd9" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_ad6cec3a-9145-4f6c-9ac3-0f296e43b047" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_6ec3f177-3a79-492b-9def-d394662db459" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4f9934bc-6604-4c38-b45c-c36661fcacd9" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_6ec3f177-3a79-492b-9def-d394662db459" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_49e87aff-1dfd-4f44-ad64-fb054f8cf019" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_743cecf8-33be-4045-8151-d7c83c62ff54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_49e87aff-1dfd-4f44-ad64-fb054f8cf019" xlink:to="loc_us-gaap_Revenues_743cecf8-33be-4045-8151-d7c83c62ff54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_f4969296-1534-4103-abf7-ebff449bc88b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_GrossProfit_49e87aff-1dfd-4f44-ad64-fb054f8cf019" xlink:to="loc_us-gaap_CostOfRevenue_f4969296-1534-4103-abf7-ebff449bc88b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_09e8762b-98a3-42ef-b86f-47d7aafbaf20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_36d62533-b238-4792-a101-decef6f09847" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_09e8762b-98a3-42ef-b86f-47d7aafbaf20" xlink:to="loc_us-gaap_GrossProfit_36d62533-b238-4792-a101-decef6f09847" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_73d77327-30f0-41d2-819d-7bb16c61b74f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_09e8762b-98a3-42ef-b86f-47d7aafbaf20" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_73d77327-30f0-41d2-819d-7bb16c61b74f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_11d2cca9-7adb-4fc1-9a29-12de09f8dedd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_09e8762b-98a3-42ef-b86f-47d7aafbaf20" xlink:to="loc_us-gaap_RestructuringCharges_11d2cca9-7adb-4fc1-9a29-12de09f8dedd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0ba70a06-13e7-4d29-b892-130a8c3801eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_5613e169-e228-4b29-bf8f-5304a9b8e7b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0ba70a06-13e7-4d29-b892-130a8c3801eb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_5613e169-e228-4b29-bf8f-5304a9b8e7b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostsCreditArisingDuringPeriodNetOfTax_e813e682-a978-420b-9861-955197efe364" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostsCreditArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0ba70a06-13e7-4d29-b892-130a8c3801eb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlanNetPriorServiceCostsCreditArisingDuringPeriodNetOfTax_e813e682-a978-420b-9861-955197efe364" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_9fac45fb-d601-4a0e-acab-42af3339b26e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0ba70a06-13e7-4d29-b892-130a8c3801eb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_9fac45fb-d601-4a0e-acab-42af3339b26e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_b13cbba0-6c5a-48ae-aff6-3f76ddd49ffc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0ba70a06-13e7-4d29-b892-130a8c3801eb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_b13cbba0-6c5a-48ae-aff6-3f76ddd49ffc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_a660ea20-b7f6-4702-b573-82274d3acdd5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_5d74fe12-5a48-460e-a1af-5f89cba9eaac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_a660ea20-b7f6-4702-b573-82274d3acdd5" xlink:to="loc_us-gaap_NetIncomeLoss_5d74fe12-5a48-460e-a1af-5f89cba9eaac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_9ca1da6c-dc8c-4257-886d-e68e377ced2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_a660ea20-b7f6-4702-b573-82274d3acdd5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_9ca1da6c-dc8c-4257-886d-e68e377ced2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_6241f302-6d0e-4063-a3c2-a1e7f1ca0264" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_e8c13b46-9b56-4b25-8c0f-db460ec0cf1c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_NetIncomeLoss_6241f302-6d0e-4063-a3c2-a1e7f1ca0264" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_e8c13b46-9b56-4b25-8c0f-db460ec0cf1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ba36f4d9-7c47-4dfd-893a-3bc7eb2b684e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_NetIncomeLoss_6241f302-6d0e-4063-a3c2-a1e7f1ca0264" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ba36f4d9-7c47-4dfd-893a-3bc7eb2b684e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="fn-20250627.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c4443ead-d9b0-497c-bd67-904ffe2ac931" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_NetIncomeLoss_c4443ead-d9b0-497c-bd67-904ffe2ac931" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_988c94e0-388d-4e3a-9b34-cf5606071e5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_DepreciationAndAmortization_988c94e0-388d-4e3a-9b34-cf5606071e5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCosts_75d8e4e2-e033-498d-b09b-9e8a2faf6c38" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestructuringCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_RestructuringCosts_75d8e4e2-e033-498d-b09b-9e8a2faf6c38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_GainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangibles_852873ee-5c45-42e1-ab92-e270c2ae7d45" xlink:href="fn-20250627.xsd#fn_GainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangibles"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_fn_GainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangibles_852873ee-5c45-42e1-ab92-e270c2ae7d45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_d242f472-9112-41d5-a085-ede7a8cb097e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_d242f472-9112-41d5-a085-ede7a8cb097e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ReversalOfAllowanceForDoubtfulAccountsReceivable_2e4b6a7f-4338-475f-b1fa-21370da599e2" xlink:href="fn-20250627.xsd#fn_ReversalOfAllowanceForDoubtfulAccountsReceivable"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_fn_ReversalOfAllowanceForDoubtfulAccountsReceivable_2e4b6a7f-4338-475f-b1fa-21370da599e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_UnrealizedGainLossOnExchangeRateAndFairValueOfForeignCurrencyForwardContracts_a9c56cbe-06a4-459e-afaf-68c1f49a6e35" xlink:href="fn-20250627.xsd#fn_UnrealizedGainLossOnExchangeRateAndFairValueOfForeignCurrencyForwardContracts"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_fn_UnrealizedGainLossOnExchangeRateAndFairValueOfForeignCurrencyForwardContracts_a9c56cbe-06a4-459e-afaf-68c1f49a6e35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_AmortizationOfInterestRateSwapsFairValueAtHedge_81f7d4e8-7502-434d-877a-affbcb74bb26" xlink:href="fn-20250627.xsd#fn_AmortizationOfInterestRateSwapsFairValueAtHedge"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_fn_AmortizationOfInterestRateSwapsFairValueAtHedge_81f7d4e8-7502-434d-877a-affbcb74bb26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_ec8ffe54-d834-49ac-b9c2-fa67006ddc59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_ShareBasedCompensation_ec8ffe54-d834-49ac-b9c2-fa67006ddc59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ProceedsFromCustomerWarrant_080dd80f-ce64-4a0b-8e1f-2272edb1af9c" xlink:href="fn-20250627.xsd#fn_ProceedsFromCustomerWarrant"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_fn_ProceedsFromCustomerWarrant_080dd80f-ce64-4a0b-8e1f-2272edb1af9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_55548f2d-d381-438d-80ae-16db9f2f4600" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_55548f2d-d381-438d-80ae-16db9f2f4600" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_22cc76b3-ff32-4560-bbc5-3cee95a418f2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_22cc76b3-ff32-4560-bbc5-3cee95a418f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_d0e30b6b-390b-44ca-9b21-6b56a0727184" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_d0e30b6b-390b-44ca-9b21-6b56a0727184" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_5b8b9b77-86e4-4091-9e04-718822e6f077" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_5b8b9b77-86e4-4091-9e04-718822e6f077" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_fa9c84ab-6efa-4494-9dda-082d66d33b94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_fa9c84ab-6efa-4494-9dda-082d66d33b94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_e862b0db-fe79-4aec-97a4-ad18806a8f51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_e862b0db-fe79-4aec-97a4-ad18806a8f51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_IncreaseDecreaseInAccruedExpenses_28d8db4b-e24e-4616-8305-f63fec26440a" xlink:href="fn-20250627.xsd#fn_IncreaseDecreaseInAccruedExpenses"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_fn_IncreaseDecreaseInAccruedExpenses_28d8db4b-e24e-4616-8305-f63fec26440a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayable_a6a8e811-8b42-4f98-af7e-0ef336da46a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherAccountsPayable"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayable_a6a8e811-8b42-4f98-af7e-0ef336da46a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_d741703a-8596-4a23-b6fa-4ffcd2bdf805" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_d741703a-8596-4a23-b6fa-4ffcd2bdf805" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeveranceCosts1_f2d6c384-88f3-4628-9eeb-c5f461849823" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeveranceCosts1"/>
    <link:calculationArc order="20" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_SeveranceCosts1_f2d6c384-88f3-4628-9eeb-c5f461849823" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_74951872-dfed-46cd-845d-a346f8ce690a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="21" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e162ebf1-0909-4c50-beab-c5651798de26" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_74951872-dfed-46cd-845d-a346f8ce690a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b3c342cb-6268-428d-81ad-7e7efd7964c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_RepaymentOfLongTermBorrowings_2ffe1e2e-cd53-440b-8dca-a46e4f34ad3b" xlink:href="fn-20250627.xsd#fn_RepaymentOfLongTermBorrowings"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b3c342cb-6268-428d-81ad-7e7efd7964c3" xlink:to="loc_fn_RepaymentOfLongTermBorrowings_2ffe1e2e-cd53-440b-8dca-a46e4f34ad3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_c0090d48-17da-476b-819a-129478ab285d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b3c342cb-6268-428d-81ad-7e7efd7964c3" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_c0090d48-17da-476b-819a-129478ab285d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_f4df27e2-54aa-4bcf-bde8-eea36e03d80d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b3c342cb-6268-428d-81ad-7e7efd7964c3" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_f4df27e2-54aa-4bcf-bde8-eea36e03d80d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_daf437f9-a9ef-4444-a480-9e1610b963eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b3c342cb-6268-428d-81ad-7e7efd7964c3" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_daf437f9-a9ef-4444-a480-9e1610b963eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1e3e9203-9480-4139-b0a4-c15e82cb4698" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_0c44a124-6814-46c9-88b4-f79cc2e944a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1e3e9203-9480-4139-b0a4-c15e82cb4698" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_0c44a124-6814-46c9-88b4-f79cc2e944a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfShortTermInvestments_6509b4ce-4177-4732-9f08-b089effbe785" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfShortTermInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1e3e9203-9480-4139-b0a4-c15e82cb4698" xlink:to="loc_us-gaap_ProceedsFromSaleOfShortTermInvestments_6509b4ce-4177-4732-9f08-b089effbe785" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ProceedsFromMaturitiesOfShortTermInvestments_e1a2a0a5-d6fd-4171-b14c-21b592c15f6b" xlink:href="fn-20250627.xsd#fn_ProceedsFromMaturitiesOfShortTermInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1e3e9203-9480-4139-b0a4-c15e82cb4698" xlink:to="loc_fn_ProceedsFromMaturitiesOfShortTermInvestments_e1a2a0a5-d6fd-4171-b14c-21b592c15f6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireShortTermInvestments_feb29ec7-845c-4efe-ad78-208bc29df513" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1e3e9203-9480-4139-b0a4-c15e82cb4698" xlink:to="loc_us-gaap_PaymentsToAcquireShortTermInvestments_feb29ec7-845c-4efe-ad78-208bc29df513" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_696e6f2e-58f6-4bea-8a1e-54235c7e4ed2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1e3e9203-9480-4139-b0a4-c15e82cb4698" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_696e6f2e-58f6-4bea-8a1e-54235c7e4ed2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_4d768d36-bab0-424e-8272-a71fb7899279" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireIntangibleAssets"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1e3e9203-9480-4139-b0a4-c15e82cb4698" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_4d768d36-bab0-424e-8272-a71fb7899279" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_5e8a289a-9d42-468b-94a3-dae4176f6181" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f654c9df-7563-467c-b92a-b1b8a267fd6a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_5e8a289a-9d42-468b-94a3-dae4176f6181" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f654c9df-7563-467c-b92a-b1b8a267fd6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8c2426ad-d00c-4fdb-9b48-54ab9a57edaf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_5e8a289a-9d42-468b-94a3-dae4176f6181" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8c2426ad-d00c-4fdb-9b48-54ab9a57edaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_69b5bec1-f4da-49e9-bc28-4943e0cf066e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_5e8a289a-9d42-468b-94a3-dae4176f6181" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_69b5bec1-f4da-49e9-bc28-4943e0cf066e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/IncometaxesScheduleofIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#IncometaxesScheduleofIncomeTaxExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/IncometaxesScheduleofIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_62be0165-fc7a-4641-a02d-0743fb624e0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_75543e59-202c-4fa3-b15b-e27669b21027" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_62be0165-fc7a-4641-a02d-0743fb624e0a" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_75543e59-202c-4fa3-b15b-e27669b21027" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_d10212cf-189f-46ad-a970-cea12e9197aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_IncomeTaxExpenseBenefit_62be0165-fc7a-4641-a02d-0743fb624e0a" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_d10212cf-189f-46ad-a970-cea12e9197aa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/IncometaxesScheduleofReconciliationbetweenTaxesthatWouldArisebyApplyingStatutoryTaxRateofCountryofPrincipalOperationstoEffectiveTaxChargeDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#IncometaxesScheduleofReconciliationbetweenTaxesthatWouldArisebyApplyingStatutoryTaxRateofCountryofPrincipalOperationstoEffectiveTaxChargeDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/IncometaxesScheduleofReconciliationbetweenTaxesthatWouldArisebyApplyingStatutoryTaxRateofCountryofPrincipalOperationstoEffectiveTaxChargeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_IncomeTaxReconciliationUncertainTaxPositions_6dafa795-e59a-40db-899d-f63c9457a5d8" xlink:href="fn-20250627.xsd#fn_IncomeTaxReconciliationUncertainTaxPositions"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:to="loc_fn_IncomeTaxReconciliationUncertainTaxPositions_6dafa795-e59a-40db-899d-f63c9457a5d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_02c98ffb-8a48-4c74-a237-45fc628c0bcb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItems"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItems_02c98ffb-8a48-4c74-a237-45fc628c0bcb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_IncomeTaxReconciliationUtilizationOfOperatingLossCarryForwards_fcd4adfc-e764-458c-9b3f-acea021cf7de" xlink:href="fn-20250627.xsd#fn_IncomeTaxReconciliationUtilizationOfOperatingLossCarryForwards"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:to="loc_fn_IncomeTaxReconciliationUtilizationOfOperatingLossCarryForwards_fcd4adfc-e764-458c-9b3f-acea021cf7de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_bef57e69-680c-408d-892f-54875140206d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_bef57e69-680c-408d-892f-54875140206d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_IncomeTaxReconciliationEffectOfForeignOperations_7811528a-0e15-4a13-8c9b-9816647f4fa6" xlink:href="fn-20250627.xsd#fn_IncomeTaxReconciliationEffectOfForeignOperations"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:to="loc_fn_IncomeTaxReconciliationEffectOfForeignOperations_7811528a-0e15-4a13-8c9b-9816647f4fa6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_IncomeTaxReconciliationInUndistributedEarnings_332f64fa-eb82-42b0-8837-375b2d59434c" xlink:href="fn-20250627.xsd#fn_IncomeTaxReconciliationInUndistributedEarnings"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:to="loc_fn_IncomeTaxReconciliationInUndistributedEarnings_332f64fa-eb82-42b0-8837-375b2d59434c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_IncomeTaxReconciliationReversalOfValuationAllowance_62a29525-9952-48b7-8db8-923f0ef02efb" xlink:href="fn-20250627.xsd#fn_IncomeTaxReconciliationReversalOfValuationAllowance"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:to="loc_fn_IncomeTaxReconciliationReversalOfValuationAllowance_62a29525-9952-48b7-8db8-923f0ef02efb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_625eb153-8bf1-45c7-a5b7-3ff1871fd5c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_625eb153-8bf1-45c7-a5b7-3ff1871fd5c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_IncomeTaxReconciliationTaxCreditsResearchAndDevelopment_34b1346f-146c-496a-87d4-2822a8890c1b" xlink:href="fn-20250627.xsd#fn_IncomeTaxReconciliationTaxCreditsResearchAndDevelopment"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:to="loc_fn_IncomeTaxReconciliationTaxCreditsResearchAndDevelopment_34b1346f-146c-496a-87d4-2822a8890c1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_5badfe21-d7c6-40a2-a629-a77b7c0ba68d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_5badfe21-d7c6-40a2-a629-a77b7c0ba68d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_b0470c5f-9450-4455-8f55-d1b181422fc0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpense"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_314f3bde-f267-4871-bbe7-dea7de07a520" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpense_b0470c5f-9450-4455-8f55-d1b181422fc0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/IncometaxesScheduleofDeferredTaxAssetsandDeferredTaxLiabilitiesNetofValuationAllowanceDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#IncometaxesScheduleofDeferredTaxAssetsandDeferredTaxLiabilitiesNetofValuationAllowanceDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/IncometaxesScheduleofDeferredTaxAssetsandDeferredTaxLiabilitiesNetofValuationAllowanceDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_9034e163-7c57-42cb-a7d2-1aa0a979d281" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_fdc17a32-2df0-4cb3-b31e-bd08e4f08b8d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_9034e163-7c57-42cb-a7d2-1aa0a979d281" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_fdc17a32-2df0-4cb3-b31e-bd08e4f08b8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_9b7624c5-d62d-4672-ae9b-403821166c7b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_9034e163-7c57-42cb-a7d2-1aa0a979d281" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_9b7624c5-d62d-4672-ae9b-403821166c7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_9d1a493a-08b4-48ff-866e-d090b15addf4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_f3c85dde-abbf-4ac5-8eac-517f246db729" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_9d1a493a-08b4-48ff-866e-d090b15addf4" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_f3c85dde-abbf-4ac5-8eac-517f246db729" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_19ad777e-3fb6-450b-998f-31c3c2cf4620" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_9d1a493a-08b4-48ff-866e-d090b15addf4" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_19ad777e-3fb6-450b-998f-31c3c2cf4620" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_42d68880-5778-4f16-8f25-974bc30f5a90" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsSeverancePayments_6d30e169-a05d-483a-9317-52afba698947" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsSeverancePayments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_42d68880-5778-4f16-8f25-974bc30f5a90" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsSeverancePayments_6d30e169-a05d-483a-9317-52afba698947" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment_3cc19847-aac4-4928-b829-7821ac543016" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_42d68880-5778-4f16-8f25-974bc30f5a90" xlink:to="loc_us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment_3cc19847-aac4-4928-b829-7821ac543016" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_5988d079-f970-48c3-8317-670a14948ab0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_42d68880-5778-4f16-8f25-974bc30f5a90" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_5988d079-f970-48c3-8317-670a14948ab0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_808acdd2-ac68-4e2a-a6d0-df346b2da52f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_42d68880-5778-4f16-8f25-974bc30f5a90" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_808acdd2-ac68-4e2a-a6d0-df346b2da52f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_DeferredTaxAssetsOtherAdjustments_6226f8a2-1e46-4516-9ab3-46a9d856abca" xlink:href="fn-20250627.xsd#fn_DeferredTaxAssetsOtherAdjustments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_42d68880-5778-4f16-8f25-974bc30f5a90" xlink:to="loc_fn_DeferredTaxAssetsOtherAdjustments_6226f8a2-1e46-4516-9ab3-46a9d856abca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_6fb9d463-e7c5-465e-8764-d9c23a9afdb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_DeferredTaxLiabilitiesIntangibleAssetsAndAcquisitionAdjustments_a3fa8ec3-d469-4b2d-801a-e134e4c9996c" xlink:href="fn-20250627.xsd#fn_DeferredTaxLiabilitiesIntangibleAssetsAndAcquisitionAdjustments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_6fb9d463-e7c5-465e-8764-d9c23a9afdb3" xlink:to="loc_fn_DeferredTaxLiabilitiesIntangibleAssetsAndAcquisitionAdjustments_a3fa8ec3-d469-4b2d-801a-e134e4c9996c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesUndistributedForeignEarnings_4c8a344d-f1ae-4758-9d40-22f8993e3656" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesUndistributedForeignEarnings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_6fb9d463-e7c5-465e-8764-d9c23a9afdb3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesUndistributedForeignEarnings_4c8a344d-f1ae-4758-9d40-22f8993e3656" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_fc3b3a1c-e3c9-4db0-9177-770b53d346f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_6fb9d463-e7c5-465e-8764-d9c23a9afdb3" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_fc3b3a1c-e3c9-4db0-9177-770b53d346f4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/EarningsperordinaryshareDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#EarningsperordinaryshareDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/EarningsperordinaryshareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_d05720da-f3dd-4a12-aff2-6e83fca670df" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0bd3f93e-c13c-44e8-9442-3dec117750af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d05720da-f3dd-4a12-aff2-6e83fca670df" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_0bd3f93e-c13c-44e8-9442-3dec117750af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_c290658c-8f7c-4aac-b560-8afc6878d3b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_d05720da-f3dd-4a12-aff2-6e83fca670df" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_c290658c-8f7c-4aac-b560-8afc6878d3b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_49b3b09b-3795-45db-a017-5dba594624e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_d05720da-f3dd-4a12-aff2-6e83fca670df" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_49b3b09b-3795-45db-a017-5dba594624e9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/CashcashequivalentsandshortterminvestmentsScheduleofCashCashEquivalentsandShortTermInvestmentsDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#CashcashequivalentsandshortterminvestmentsScheduleofCashCashEquivalentsandShortTermInvestmentsDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/CashcashequivalentsandshortterminvestmentsScheduleofCashCashEquivalentsandShortTermInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fn_CashAndCashEquivalentsAtCost_4834c1fe-9820-4f57-8a09-7d3014f04efc" xlink:href="fn-20250627.xsd#fn_CashAndCashEquivalentsAtCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_b8145cb3-8227-4686-92e0-3f06e4b47f83" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fn_CashAndCashEquivalentsAtCost_4834c1fe-9820-4f57-8a09-7d3014f04efc" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_b8145cb3-8227-4686-92e0-3f06e4b47f83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_977f6c78-d222-4181-a34f-3a7b0825f774" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax_a0c1fa34-2892-4677-bacf-97aa812beacf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_977f6c78-d222-4181-a34f-3a7b0825f774" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax_a0c1fa34-2892-4677-bacf-97aa812beacf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_738eb097-de93-4176-814e-f96c226630f2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_977f6c78-d222-4181-a34f-3a7b0825f774" xlink:to="loc_us-gaap_ShortTermInvestments_738eb097-de93-4176-814e-f96c226630f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_CashAndCashEquivalentsAndMarketableSecuritiesCarryingCost_37538b35-1db3-497f-b2bc-4839d0fd256f" xlink:href="fn-20250627.xsd#fn_CashAndCashEquivalentsAndMarketableSecuritiesCarryingCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_b40098f2-6d50-423c-b982-19986f97fef6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fn_CashAndCashEquivalentsAndMarketableSecuritiesCarryingCost_37538b35-1db3-497f-b2bc-4839d0fd256f" xlink:to="loc_us-gaap_OtherInvestments_b40098f2-6d50-423c-b982-19986f97fef6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_972a0177-fd4b-4d7c-80dc-9a7c733fe3f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fn_CashAndCashEquivalentsAndMarketableSecuritiesCarryingCost_37538b35-1db3-497f-b2bc-4839d0fd256f" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_972a0177-fd4b-4d7c-80dc-9a7c733fe3f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_e0e94e5f-8e89-405b-8f88-de41f448b2db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fn_CashAndCashEquivalentsAndMarketableSecuritiesCarryingCost_37538b35-1db3-497f-b2bc-4839d0fd256f" xlink:to="loc_us-gaap_ShortTermInvestments_e0e94e5f-8e89-405b-8f88-de41f448b2db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax_e868132d-421c-49c8-a7c5-cff3a7fe7fc5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fn_CashAndCashEquivalentsAndMarketableSecuritiesCarryingCost_37538b35-1db3-497f-b2bc-4839d0fd256f" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax_e868132d-421c-49c8-a7c5-cff3a7fe7fc5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/CashcashequivalentsandshortterminvestmentsSummaryofCostandEstimatedFairValueofShorttermInvestmentsClassifiedasAvailableforSaleSecuritiesDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#CashcashequivalentsandshortterminvestmentsSummaryofCostandEstimatedFairValueofShorttermInvestmentsClassifiedasAvailableforSaleSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/CashcashequivalentsandshortterminvestmentsSummaryofCostandEstimatedFairValueofShorttermInvestmentsClassifiedasAvailableforSaleSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_d1f0e8a4-51cd-4e73-8f7e-79c453c93d23" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_c1ceceda-aea0-4010-8878-d7df447aa0f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_MarketableSecuritiesCurrent_d1f0e8a4-51cd-4e73-8f7e-79c453c93d23" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_c1ceceda-aea0-4010-8878-d7df447aa0f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_21f4a20c-2e3f-4d4d-9e73-c62a03adf32b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_MarketableSecuritiesCurrent_d1f0e8a4-51cd-4e73-8f7e-79c453c93d23" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_21f4a20c-2e3f-4d4d-9e73-c62a03adf32b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_04bb342d-480e-4370-9d4e-994921559e8a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_dca524bc-85bc-4ecb-9fb8-f9245fea2ffa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_04bb342d-480e-4370-9d4e-994921559e8a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_dca524bc-85bc-4ecb-9fb8-f9245fea2ffa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_14e32566-82d2-489f-908a-673550085409" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_04bb342d-480e-4370-9d4e-994921559e8a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_14e32566-82d2-489f-908a-673550085409" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleofFinancialInstrumentsMeasuredatFairValueonRecurringBasisDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#FairvalueoffinancialinstrumentsScheduleofFinancialInstrumentsMeasuredatFairValueonRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleofFinancialInstrumentsMeasuredatFairValueonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_e747c26a-ac2c-4d53-bf60-74b43f6fc1c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_d1ddafc2-d2d6-49ab-9e08-8b6ba4a5d090" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_e747c26a-ac2c-4d53-bf60-74b43f6fc1c9" xlink:to="loc_us-gaap_InvestmentsFairValueDisclosure_d1ddafc2-d2d6-49ab-9e08-8b6ba4a5d090" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_cff7afe4-10b2-4ebf-a190-58e088260795" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_e747c26a-ac2c-4d53-bf60-74b43f6fc1c9" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_cff7afe4-10b2-4ebf-a190-58e088260795" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_d832fa2b-714b-4742-a6e8-e1db70e27223" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_37d7acf2-596b-4da9-b13e-43eaa895b239" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_d832fa2b-714b-4742-a6e8-e1db70e27223" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_37d7acf2-596b-4da9-b13e-43eaa895b239" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleImpactsofDerivativeGainLossofCashFlowHedgesDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#FairvalueoffinancialinstrumentsScheduleImpactsofDerivativeGainLossofCashFlowHedgesDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleImpactsofDerivativeGainLossofCashFlowHedgesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_23e40ac8-086e-41f9-9957-fc1d37f33d0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_3ba3f3b1-d768-4bad-982f-b4417da5624a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_23e40ac8-086e-41f9-9957-fc1d37f33d0b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_3ba3f3b1-d768-4bad-982f-b4417da5624a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_df00482f-2ed8-41c0-8214-c5046f28faa6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_23e40ac8-086e-41f9-9957-fc1d37f33d0b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_df00482f-2ed8-41c0-8214-c5046f28faa6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleofDerivativeFinancialInstrumentsDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#FairvalueoffinancialinstrumentsScheduleofDerivativeFinancialInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleofDerivativeFinancialInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_d2cd9acd-24a2-4bef-b1fe-865cf93bad38" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue_781180d1-c8da-45ab-b0cc-bb7ba620827d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_d2cd9acd-24a2-4bef-b1fe-865cf93bad38" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue_781180d1-c8da-45ab-b0cc-bb7ba620827d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_892d889c-b2f4-47c8-8da1-241b02f864df" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_d2cd9acd-24a2-4bef-b1fe-865cf93bad38" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_892d889c-b2f4-47c8-8da1-241b02f864df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_95c777f8-b587-4c38-b900-fe6b2a81ed5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_1a51e4ae-7c8b-40b1-a8b1-8f69ecc28014" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_95c777f8-b587-4c38-b900-fe6b2a81ed5d" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_1a51e4ae-7c8b-40b1-a8b1-8f69ecc28014" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_9c03c80f-5838-4820-9f2e-9b88ac59eb38" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_95c777f8-b587-4c38-b900-fe6b2a81ed5d" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_9c03c80f-5838-4820-9f2e-9b88ac59eb38" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/TradeaccountsreceivablenetDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#TradeaccountsreceivablenetDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/TradeaccountsreceivablenetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_b78e4036-73b0-4038-a35d-7f9cd2b4ce24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGross_fc319358-3515-44cb-a563-46a6ce281a00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNet_b78e4036-73b0-4038-a35d-7f9cd2b4ce24" xlink:to="loc_us-gaap_AccountsReceivableGross_fc319358-3515-44cb-a563-46a6ce281a00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_6a676eb7-ed16-45d9-bec3-2267007c1e77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNet_b78e4036-73b0-4038-a35d-7f9cd2b4ce24" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_6a676eb7-ed16-45d9-bec3-2267007c1e77" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/InventoriesDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#InventoriesDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/InventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_357a4e61-4998-4630-acae-c6e65124ceb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_bc570a0a-34d4-4d01-bb2c-1fd1e5d4d1f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryRawMaterials"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_357a4e61-4998-4630-acae-c6e65124ceb7" xlink:to="loc_us-gaap_InventoryRawMaterials_bc570a0a-34d4-4d01-bb2c-1fd1e5d4d1f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_9957af5a-7914-4745-8ea4-7a1f002860ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWorkInProcess"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_357a4e61-4998-4630-acae-c6e65124ceb7" xlink:to="loc_us-gaap_InventoryWorkInProcess_9957af5a-7914-4745-8ea4-7a1f002860ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_940c376e-fc31-41a9-a97c-906a2434930a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFinishedGoods"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_357a4e61-4998-4630-acae-c6e65124ceb7" xlink:to="loc_us-gaap_InventoryFinishedGoods_940c376e-fc31-41a9-a97c-906a2434930a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInventoryInTransit_84c232f8-6d2a-4972-a75b-ae3622582cab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInventoryInTransit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_357a4e61-4998-4630-acae-c6e65124ceb7" xlink:to="loc_us-gaap_OtherInventoryInTransit_84c232f8-6d2a-4972-a75b-ae3622582cab" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/LeasesScheduleofOperatingLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#LeasesScheduleofOperatingLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/LeasesScheduleofOperatingLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_210ae1ed-194f-4f76-a2f7-aa8b37a85452" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_052fbed7-cbee-4635-b817-9fdb516baf90" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_210ae1ed-194f-4f76-a2f7-aa8b37a85452" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_052fbed7-cbee-4635-b817-9fdb516baf90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_709ce225-3880-4e76-8164-3beaae850191" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_210ae1ed-194f-4f76-a2f7-aa8b37a85452" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_709ce225-3880-4e76-8164-3beaae850191" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_21c8ee3f-65f9-484e-b218-2ec6f7fcffb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_210ae1ed-194f-4f76-a2f7-aa8b37a85452" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_21c8ee3f-65f9-484e-b218-2ec6f7fcffb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_74bc0377-fdff-4e62-a195-83825e158182" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_210ae1ed-194f-4f76-a2f7-aa8b37a85452" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_74bc0377-fdff-4e62-a195-83825e158182" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_a6d96c16-ca25-4371-89b8-889273a207aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_210ae1ed-194f-4f76-a2f7-aa8b37a85452" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_a6d96c16-ca25-4371-89b8-889273a207aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f8276e1e-1eba-4ef4-ae96-3d32501787b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_210ae1ed-194f-4f76-a2f7-aa8b37a85452" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f8276e1e-1eba-4ef4-ae96-3d32501787b7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/LeasesScheduleofOperatingLeaseLiabilitiesDetails_1" xlink:type="simple" xlink:href="fn-20250627.xsd#LeasesScheduleofOperatingLeaseLiabilitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/LeasesScheduleofOperatingLeaseLiabilitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_fe5d03ae-1713-4e07-bcf8-7c8721a83f5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_19fc4665-8fd9-4470-b627-c28e624ee9b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_fe5d03ae-1713-4e07-bcf8-7c8721a83f5f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_19fc4665-8fd9-4470-b627-c28e624ee9b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_e0aba98b-c205-43df-943c-19fa33f4114d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_fe5d03ae-1713-4e07-bcf8-7c8721a83f5f" xlink:to="loc_us-gaap_OperatingLeaseLiability_e0aba98b-c205-43df-943c-19fa33f4114d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/PropertyplantandequipmentnetScheduleofPropertyPlantandEquipmentDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#PropertyplantandequipmentnetScheduleofPropertyPlantandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/PropertyplantandequipmentnetScheduleofPropertyPlantandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_e0752071-1148-4feb-b83b-8fb72af57bec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_a1b4bdfb-79f4-4cbc-8ebd-9fdf5b3cca41" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e0752071-1148-4feb-b83b-8fb72af57bec" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_a1b4bdfb-79f4-4cbc-8ebd-9fdf5b3cca41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_789586db-b4cf-4653-8d35-9070fd10bf3e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e0752071-1148-4feb-b83b-8fb72af57bec" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_789586db-b4cf-4653-8d35-9070fd10bf3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_AccumulatedImpairmentReserveOfPropertyPlantAndEquipment_3c48e359-1f1e-45b4-9b07-9e6df87f3eb5" xlink:href="fn-20250627.xsd#fn_AccumulatedImpairmentReserveOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_e0752071-1148-4feb-b83b-8fb72af57bec" xlink:to="loc_fn_AccumulatedImpairmentReserveOfPropertyPlantAndEquipment_3c48e359-1f1e-45b4-9b07-9e6df87f3eb5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/IntangiblesScheduleofIntangibleAssetsDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#IntangiblesScheduleofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/IntangiblesScheduleofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_cc60475a-547a-4f48-992f-381c12a39dfa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_ed4027ef-ece8-4dd8-9c4d-2de8bd236e94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_cc60475a-547a-4f48-992f-381c12a39dfa" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_ed4027ef-ece8-4dd8-9c4d-2de8bd236e94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_f5f6953e-4e94-4497-bab2-4bf399881771" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_cc60475a-547a-4f48-992f-381c12a39dfa" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_f5f6953e-4e94-4497-bab2-4bf399881771" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/IntangiblesScheduleofEstimatedFutureAmortizationofIntangiblesAssetsDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#IntangiblesScheduleofEstimatedFutureAmortizationofIntangiblesAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/IntangiblesScheduleofEstimatedFutureAmortizationofIntangiblesAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9ead0204-f257-4763-9467-5f001233511e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_82e6fcb7-021b-45c3-8af9-56e34e6ba9f3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9ead0204-f257-4763-9467-5f001233511e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_82e6fcb7-021b-45c3-8af9-56e34e6ba9f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_d7263a8c-9e17-4761-a262-87001c17cc99" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9ead0204-f257-4763-9467-5f001233511e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_d7263a8c-9e17-4761-a262-87001c17cc99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_f7137b15-696e-4b80-99bb-56888fcdd97c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9ead0204-f257-4763-9467-5f001233511e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_f7137b15-696e-4b80-99bb-56888fcdd97c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_c8ca8beb-0101-455f-bcc5-ae076702977b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9ead0204-f257-4763-9467-5f001233511e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_c8ca8beb-0101-455f-bcc5-ae076702977b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_a2a4220f-78f2-4106-b4de-08f0992ea517" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9ead0204-f257-4763-9467-5f001233511e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_a2a4220f-78f2-4106-b4de-08f0992ea517" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/SeveranceliabilitiesScheduleofFutureMaturitiesofSeveranceLiabilitiesDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#SeveranceliabilitiesScheduleofFutureMaturitiesofSeveranceLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/SeveranceliabilitiesScheduleofFutureMaturitiesofSeveranceLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPensionPlanCurrentAndNoncurrentLiabilities_65adc3b2-838b-46c1-82eb-8cdb7a6f458f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPensionPlanCurrentAndNoncurrentLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_LiabilityDefinedBenefitPensionPlanDueYearFive_4b6cb912-af39-453a-972e-f2c95021a4b0" xlink:href="fn-20250627.xsd#fn_LiabilityDefinedBenefitPensionPlanDueYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPensionPlanCurrentAndNoncurrentLiabilities_65adc3b2-838b-46c1-82eb-8cdb7a6f458f" xlink:to="loc_fn_LiabilityDefinedBenefitPensionPlanDueYearFive_4b6cb912-af39-453a-972e-f2c95021a4b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_LiabilityDefinedBenefitPensionPlanDueYearThree_e5385b4d-98b0-4945-9cfa-dfae27d33b22" xlink:href="fn-20250627.xsd#fn_LiabilityDefinedBenefitPensionPlanDueYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPensionPlanCurrentAndNoncurrentLiabilities_65adc3b2-838b-46c1-82eb-8cdb7a6f458f" xlink:to="loc_fn_LiabilityDefinedBenefitPensionPlanDueYearThree_e5385b4d-98b0-4945-9cfa-dfae27d33b22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_LiabilityDefinedBenefitPensionPlanDueYearOne_c9f5e500-c406-402e-aef5-16f6b41d3cd8" xlink:href="fn-20250627.xsd#fn_LiabilityDefinedBenefitPensionPlanDueYearOne"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPensionPlanCurrentAndNoncurrentLiabilities_65adc3b2-838b-46c1-82eb-8cdb7a6f458f" xlink:to="loc_fn_LiabilityDefinedBenefitPensionPlanDueYearOne_c9f5e500-c406-402e-aef5-16f6b41d3cd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_LiabilityDefinedBenefitPensionPlanDueAfterYearFive_9673d165-9204-46f8-8e23-b28e228b4f31" xlink:href="fn-20250627.xsd#fn_LiabilityDefinedBenefitPensionPlanDueAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPensionPlanCurrentAndNoncurrentLiabilities_65adc3b2-838b-46c1-82eb-8cdb7a6f458f" xlink:to="loc_fn_LiabilityDefinedBenefitPensionPlanDueAfterYearFive_9673d165-9204-46f8-8e23-b28e228b4f31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_LiabilityDefinedBenefitPensionPlanDueYearTwo_6b569444-55e0-4324-869a-830692b2223d" xlink:href="fn-20250627.xsd#fn_LiabilityDefinedBenefitPensionPlanDueYearTwo"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPensionPlanCurrentAndNoncurrentLiabilities_65adc3b2-838b-46c1-82eb-8cdb7a6f458f" xlink:to="loc_fn_LiabilityDefinedBenefitPensionPlanDueYearTwo_6b569444-55e0-4324-869a-830692b2223d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_LiabilityDefinedBenefitPensionPlanDueYearFour_10e4013a-f341-41e2-ae27-e2327ce6288c" xlink:href="fn-20250627.xsd#fn_LiabilityDefinedBenefitPensionPlanDueYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPensionPlanCurrentAndNoncurrentLiabilities_65adc3b2-838b-46c1-82eb-8cdb7a6f458f" xlink:to="loc_fn_LiabilityDefinedBenefitPensionPlanDueYearFour_10e4013a-f341-41e2-ae27-e2327ce6288c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/SharebasedcompensationScheduleofEffectofRecordingShareBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#SharebasedcompensationScheduleofEffectofRecordingShareBasedCompensationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/SharebasedcompensationScheduleofEffectofRecordingShareBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_2739e0fb-4801-4e91-96c6-3afdae167591" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockExpense_47ce607c-48ad-486f-a887-aba3e54ef6c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensation_2739e0fb-4801-4e91-96c6-3afdae167591" xlink:to="loc_us-gaap_RestrictedStockExpense_47ce607c-48ad-486f-a887-aba3e54ef6c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_PerformanceStockUnitsExpense_7c9cecfe-c013-4a4c-a965-12722e65296a" xlink:href="fn-20250627.xsd#fn_PerformanceStockUnitsExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ShareBasedCompensation_2739e0fb-4801-4e91-96c6-3afdae167591" xlink:to="loc_fn_PerformanceStockUnitsExpense_7c9cecfe-c013-4a4c-a965-12722e65296a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_eb8b738b-b590-4439-9668-8a3d657e8669" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_35469490-123f-417a-b19b-b016a93fc6e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_eb8b738b-b590-4439-9668-8a3d657e8669" xlink:to="loc_us-gaap_ShareBasedCompensation_35469490-123f-417a-b19b-b016a93fc6e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_1fdc5b41-5d49-48dc-883e-4a79e4be5837" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_eb8b738b-b590-4439-9668-8a3d657e8669" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_1fdc5b41-5d49-48dc-883e-4a79e4be5837" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/AccumulatedothercomprehensiveincomelossAOCIScheduleofChangesinAOCINetofTaxDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#AccumulatedothercomprehensiveincomelossAOCIScheduleofChangesinAOCINetofTaxDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/AccumulatedothercomprehensiveincomelossAOCIScheduleofChangesinAOCINetofTaxDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0b93209e-0df7-42a7-a649-9542109a918a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_383026ca-f0ea-407e-9a8f-121aacf718ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0b93209e-0df7-42a7-a649-9542109a918a" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_383026ca-f0ea-407e-9a8f-121aacf718ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_f79970d8-61d6-4766-aed5-28092655209c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0b93209e-0df7-42a7-a649-9542109a918a" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_f79970d8-61d6-4766-aed5-28092655209c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_54f3e7a5-f2e6-4d57-9df9-493cc4d533c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0b93209e-0df7-42a7-a649-9542109a918a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_54f3e7a5-f2e6-4d57-9df9-493cc4d533c4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/AccumulatedothercomprehensiveincomelossAOCIScheduleofPreTaxAmountsReclassifiedfromAOCIintoCondensedConsolidatedStatementsofOperationsandComprehensiveIncomeDetails" xlink:type="simple" xlink:href="fn-20250627.xsd#AccumulatedothercomprehensiveincomelossAOCIScheduleofPreTaxAmountsReclassifiedfromAOCIintoCondensedConsolidatedStatementsofOperationsandComprehensiveIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.fabrinet.com/role/AccumulatedothercomprehensiveincomelossAOCIScheduleofPreTaxAmountsReclassifiedfromAOCIintoCondensedConsolidatedStatementsofOperationsandComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_28fd2260-c8b9-480d-ac76-5cfa5b67e798" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_e2228b49-a309-4627-add0-43560b3d66c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_28fd2260-c8b9-480d-ac76-5cfa5b67e798" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_e2228b49-a309-4627-add0-43560b3d66c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_7a0a69f2-0a0e-43a2-b9ff-300c2d49ed00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_28fd2260-c8b9-480d-ac76-5cfa5b67e798" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_7a0a69f2-0a0e-43a2-b9ff-300c2d49ed00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_73eaa4ed-d404-4b1d-b4f6-fb2de0580403" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_28fd2260-c8b9-480d-ac76-5cfa5b67e798" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_73eaa4ed-d404-4b1d-b4f6-fb2de0580403" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
