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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:148c89cd-dce9-448f-aea5-4c5921a2c686,g:dd7031f9-6cc5-4260-bcf8-378d7c07d8dc-->
<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:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.telefonica.com/role/Estadosdesituacinfinancieraconsolidadosal31dediciembre" xlink:type="simple" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#Estadosdesituacinfinancieraconsolidadosal31dediciembre"/>
  <link:calculationLink xlink:role="http://www.telefonica.com/role/Estadosdesituacinfinancieraconsolidadosal31dediciembre" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Assets_2b6b500b-af99-4839-b03d-ed6d36df456c" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentAssets_5b8a233c-91a4-49c0-8e35-87d4c0ecb22f" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_NoncurrentAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_Assets_2b6b500b-af99-4839-b03d-ed6d36df456c" xlink:to="loc_ifrs-full_NoncurrentAssets_5b8a233c-91a4-49c0-8e35-87d4c0ecb22f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentAssets_9d51774a-bcd5-4306-8e29-e207709afe7f" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CurrentAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_Assets_2b6b500b-af99-4839-b03d-ed6d36df456c" xlink:to="loc_ifrs-full_CurrentAssets_9d51774a-bcd5-4306-8e29-e207709afe7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentAssets_62a7b93f-46ea-4eda-af23-1b1968f2a046" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CurrentAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Inventories_088126e5-0271-4a77-88ac-803cdec0c73f" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_Inventories"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentAssets_62a7b93f-46ea-4eda-af23-1b1968f2a046" xlink:to="loc_ifrs-full_Inventories_088126e5-0271-4a77-88ac-803cdec0c73f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CuentasPorCobrarYOtrosActivosCorrientes_e11d213b-c89c-46f1-95b4-96b5cbdcb01a" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_CuentasPorCobrarYOtrosActivosCorrientes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentAssets_62a7b93f-46ea-4eda-af23-1b1968f2a046" xlink:to="loc_tef_CuentasPorCobrarYOtrosActivosCorrientes_e11d213b-c89c-46f1-95b4-96b5cbdcb01a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentTaxAssetsCurrent_c04e134d-5db9-4418-891d-2e22774c52a9" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CurrentTaxAssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentAssets_62a7b93f-46ea-4eda-af23-1b1968f2a046" xlink:to="loc_ifrs-full_CurrentTaxAssetsCurrent_c04e134d-5db9-4418-891d-2e22774c52a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentFinancialAssets_66ec09f7-5fb1-4a29-9642-768683740417" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CurrentFinancialAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentAssets_62a7b93f-46ea-4eda-af23-1b1968f2a046" xlink:to="loc_ifrs-full_CurrentFinancialAssets_66ec09f7-5fb1-4a29-9642-768683740417" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashAndCashEquivalents_ea1a6d79-270b-43b4-8ec4-ca0913dc5b2d" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashAndCashEquivalents"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentAssets_62a7b93f-46ea-4eda-af23-1b1968f2a046" xlink:to="loc_ifrs-full_CashAndCashEquivalents_ea1a6d79-270b-43b4-8ec4-ca0913dc5b2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners_717dc194-0ffc-4b45-8953-f48ad85f6072" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentAssets_62a7b93f-46ea-4eda-af23-1b1968f2a046" xlink:to="loc_ifrs-full_NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners_717dc194-0ffc-4b45-8953-f48ad85f6072" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentLiabilities_6ab2d3bf-160c-49bc-9372-3d563baac6c6" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_NoncurrentLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentFinancialLiabilities_51f1ebb1-c3b2-42ce-910a-32fc953fb4fd" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_NoncurrentFinancialLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentLiabilities_6ab2d3bf-160c-49bc-9372-3d563baac6c6" xlink:to="loc_ifrs-full_NoncurrentFinancialLiabilities_51f1ebb1-c3b2-42ce-910a-32fc953fb4fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CuentasAPagarYOtrosPasivosNoCorrientes_16d39e52-92ad-4104-a965-460f2519508a" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_CuentasAPagarYOtrosPasivosNoCorrientes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentLiabilities_6ab2d3bf-160c-49bc-9372-3d563baac6c6" xlink:to="loc_tef_CuentasAPagarYOtrosPasivosNoCorrientes_16d39e52-92ad-4104-a965-460f2519508a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DeferredTaxLiabilities_7b17d0ca-46f9-43e5-b6f9-904243270064" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_DeferredTaxLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentLiabilities_6ab2d3bf-160c-49bc-9372-3d563baac6c6" xlink:to="loc_ifrs-full_DeferredTaxLiabilities_7b17d0ca-46f9-43e5-b6f9-904243270064" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentProvisions_35cd9a55-365e-4012-bf67-3555e319a6b9" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_NoncurrentProvisions"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentLiabilities_6ab2d3bf-160c-49bc-9372-3d563baac6c6" xlink:to="loc_ifrs-full_NoncurrentProvisions_35cd9a55-365e-4012-bf67-3555e319a6b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentLeaseLiabilities_b61c0a29-e4b4-423e-89de-bb3588023d4e" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_NoncurrentLeaseLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentLiabilities_6ab2d3bf-160c-49bc-9372-3d563baac6c6" xlink:to="loc_ifrs-full_NoncurrentLeaseLiabilities_b61c0a29-e4b4-423e-89de-bb3588023d4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Equity_88b05456-9ea7-4f3d-8983-9d6b4a627865" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_Equity"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityAttributableToOwnersOfParent_00af202e-8915-4588-96d3-37083b4a0e6a" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_EquityAttributableToOwnersOfParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_Equity_88b05456-9ea7-4f3d-8983-9d6b4a627865" xlink:to="loc_ifrs-full_EquityAttributableToOwnersOfParent_00af202e-8915-4588-96d3-37083b4a0e6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncontrollingInterests_1050b276-fd7e-4629-a3bd-8d696f53a83f" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_NoncontrollingInterests"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_Equity_88b05456-9ea7-4f3d-8983-9d6b4a627865" xlink:to="loc_ifrs-full_NoncontrollingInterests_1050b276-fd7e-4629-a3bd-8d696f53a83f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentAssets_ea92f3b6-fcda-4a35-847f-b1d893f4d283" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_NoncurrentAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IntangibleAssetsOtherThanGoodwill_1b253d9c-4a5c-4723-a3ba-9642b22a4f9b" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_IntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentAssets_ea92f3b6-fcda-4a35-847f-b1d893f4d283" xlink:to="loc_ifrs-full_IntangibleAssetsOtherThanGoodwill_1b253d9c-4a5c-4723-a3ba-9642b22a4f9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Goodwill_48151050-f2ab-42e2-a9e6-c61ca20ed41f" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_Goodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentAssets_ea92f3b6-fcda-4a35-847f-b1d893f4d283" xlink:to="loc_ifrs-full_Goodwill_48151050-f2ab-42e2-a9e6-c61ca20ed41f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PropertyPlantAndEquipment_6deff815-330f-4337-a16d-7ec6677c54a5" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_PropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentAssets_ea92f3b6-fcda-4a35-847f-b1d893f4d283" xlink:to="loc_ifrs-full_PropertyPlantAndEquipment_6deff815-330f-4337-a16d-7ec6677c54a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InvestmentAccountedForUsingEquityMethod_4cff06b1-56b7-48a7-8c00-ed9acca7fe66" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_InvestmentAccountedForUsingEquityMethod"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentAssets_ea92f3b6-fcda-4a35-847f-b1d893f4d283" xlink:to="loc_ifrs-full_InvestmentAccountedForUsingEquityMethod_4cff06b1-56b7-48a7-8c00-ed9acca7fe66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ActivosFinancierosYOtrosActivosNoCorrientes_056b32c1-56e8-471e-bbf4-88f183d9b187" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_ActivosFinancierosYOtrosActivosNoCorrientes"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentAssets_ea92f3b6-fcda-4a35-847f-b1d893f4d283" xlink:to="loc_tef_ActivosFinancierosYOtrosActivosNoCorrientes_056b32c1-56e8-471e-bbf4-88f183d9b187" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DeferredTaxAssets_55f67239-afc2-4cc7-97bb-b51de00180ab" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_DeferredTaxAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentAssets_ea92f3b6-fcda-4a35-847f-b1d893f4d283" xlink:to="loc_ifrs-full_DeferredTaxAssets_55f67239-afc2-4cc7-97bb-b51de00180ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RightofuseAssets_f294665c-0220-48e1-8435-87793777f2b3" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_RightofuseAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_NoncurrentAssets_ea92f3b6-fcda-4a35-847f-b1d893f4d283" xlink:to="loc_ifrs-full_RightofuseAssets_f294665c-0220-48e1-8435-87793777f2b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityAndLiabilities_aa8c42a4-64a2-4f49-bc66-eacc7da19417" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_EquityAndLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Equity_ec419ce9-b46f-4ebb-ba4a-631c3ae4181f" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_Equity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_EquityAndLiabilities_aa8c42a4-64a2-4f49-bc66-eacc7da19417" xlink:to="loc_ifrs-full_Equity_ec419ce9-b46f-4ebb-ba4a-631c3ae4181f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentLiabilities_2cf3f0a0-1cce-4333-b4a5-6c723b6f6272" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_NoncurrentLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_EquityAndLiabilities_aa8c42a4-64a2-4f49-bc66-eacc7da19417" xlink:to="loc_ifrs-full_NoncurrentLiabilities_2cf3f0a0-1cce-4333-b4a5-6c723b6f6272" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentLiabilities_495a4a23-700e-4df8-ab10-d40485c602bf" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CurrentLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_EquityAndLiabilities_aa8c42a4-64a2-4f49-bc66-eacc7da19417" xlink:to="loc_ifrs-full_CurrentLiabilities_495a4a23-700e-4df8-ab10-d40485c602bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentLiabilities_e5976a6b-bfba-4fb9-8f92-b3386ef1c683" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CurrentLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentFinancialLiabilities_39a29350-485c-46aa-8276-848462e1ef86" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CurrentFinancialLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentLiabilities_e5976a6b-bfba-4fb9-8f92-b3386ef1c683" xlink:to="loc_ifrs-full_CurrentFinancialLiabilities_39a29350-485c-46aa-8276-848462e1ef86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_CuentasAPagarYOtrosPasivosCorrientes_2e4cc7bf-c8ec-49eb-b901-aef10f59a2f6" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_CuentasAPagarYOtrosPasivosCorrientes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentLiabilities_e5976a6b-bfba-4fb9-8f92-b3386ef1c683" xlink:to="loc_tef_CuentasAPagarYOtrosPasivosCorrientes_2e4cc7bf-c8ec-49eb-b901-aef10f59a2f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentTaxLiabilitiesCurrent_c8e3c8ce-b58c-4666-bfd1-5d159496681d" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CurrentTaxLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentLiabilities_e5976a6b-bfba-4fb9-8f92-b3386ef1c683" xlink:to="loc_ifrs-full_CurrentTaxLiabilitiesCurrent_c8e3c8ce-b58c-4666-bfd1-5d159496681d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentProvisions_0bca01c8-f04e-460f-a406-0c6c43888a85" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CurrentProvisions"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentLiabilities_e5976a6b-bfba-4fb9-8f92-b3386ef1c683" xlink:to="loc_ifrs-full_CurrentProvisions_0bca01c8-f04e-460f-a406-0c6c43888a85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale_aa8aed38-1009-41bb-a76a-5463276ca545" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentLiabilities_e5976a6b-bfba-4fb9-8f92-b3386ef1c683" xlink:to="loc_ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale_aa8aed38-1009-41bb-a76a-5463276ca545" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentLeaseLiabilities_aaf05798-a399-4b88-99c5-0d2562ae3012" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CurrentLeaseLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CurrentLiabilities_e5976a6b-bfba-4fb9-8f92-b3386ef1c683" xlink:to="loc_ifrs-full_CurrentLeaseLiabilities_aaf05798-a399-4b88-99c5-0d2562ae3012" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.telefonica.com/role/Cuentasderesultadosconsolidadasdelosejerciciosanualesterminadosel31dediciembre" xlink:type="simple" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#Cuentasderesultadosconsolidadasdelosejerciciosanualesterminadosel31dediciembre"/>
  <link:calculationLink xlink:role="http://www.telefonica.com/role/Cuentasderesultadosconsolidadasdelosejerciciosanualesterminadosel31dediciembre" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossAttributableToOwnersOfParent_019b9d4c-fc1d-7d21-987f-84636f6369ff" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossAttributableToOwnersOfParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntity_019b9d4c-fc1d-7ccb-b523-c5d637f7c409" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossAttributableToOwnersOfParent_019b9d4c-fc1d-7d21-987f-84636f6369ff" xlink:to="loc_ifrs-full_ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntity_019b9d4c-fc1d-7ccb-b523-c5d637f7c409" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromDiscontinuedOperationsAttributableToOrdinaryEquityHoldersOfParentEntity_019b9d4c-fc1d-7857-a124-cf85ef50cd4b" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossFromDiscontinuedOperationsAttributableToOrdinaryEquityHoldersOfParentEntity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossAttributableToOwnersOfParent_019b9d4c-fc1d-7d21-987f-84636f6369ff" xlink:to="loc_ifrs-full_ProfitLossFromDiscontinuedOperationsAttributableToOrdinaryEquityHoldersOfParentEntity_019b9d4c-fc1d-7857-a124-cf85ef50cd4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinanceIncomeCost_d30de1e5-a1b0-46c3-a854-b350e78b1567" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_FinanceIncomeCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinanceIncome_847fd090-d90d-4000-9b26-fe0e6c1f1f5f" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_FinanceIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_FinanceIncomeCost_d30de1e5-a1b0-46c3-a854-b350e78b1567" xlink:to="loc_ifrs-full_FinanceIncome_847fd090-d90d-4000-9b26-fe0e6c1f1f5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinanceCosts_cb9c6ff6-b649-4532-9bf6-bb53379a99a7" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_FinanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_FinanceIncomeCost_d30de1e5-a1b0-46c3-a854-b350e78b1567" xlink:to="loc_ifrs-full_FinanceCosts_cb9c6ff6-b649-4532-9bf6-bb53379a99a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss_64528ddc-f8c4-4110-9395-7dab7bd44952" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_FinanceIncomeCost_d30de1e5-a1b0-46c3-a854-b350e78b1567" xlink:to="loc_ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss_64528ddc-f8c4-4110-9395-7dab7bd44952" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BasicEarningsLossPerShare_019b9d4d-51f9-71e8-a9bc-4a76068c7c78" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_BasicEarningsLossPerShare"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BasicEarningsLossPerShareFromContinuingOperations_019b9d4d-51f9-7b4f-9779-61755671eb5d" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_BasicEarningsLossPerShareFromContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_BasicEarningsLossPerShare_019b9d4d-51f9-71e8-a9bc-4a76068c7c78" xlink:to="loc_ifrs-full_BasicEarningsLossPerShareFromContinuingOperations_019b9d4d-51f9-7b4f-9779-61755671eb5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BasicEarningsLossPerShareFromDiscontinuedOperations_019b9d4d-51f9-7d61-bb99-6c2914585eb4" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_BasicEarningsLossPerShareFromDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_BasicEarningsLossPerShare_019b9d4d-51f9-71e8-a9bc-4a76068c7c78" xlink:to="loc_ifrs-full_BasicEarningsLossPerShareFromDiscontinuedOperations_019b9d4d-51f9-7d61-bb99-6c2914585eb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossBeforeTax_e3a428df-b826-4c4b-8c6d-3a1ced3f53e1" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromOperatingActivities_79acee45-8fb9-4489-90c1-64b677628d58" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossFromOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossBeforeTax_e3a428df-b826-4c4b-8c6d-3a1ced3f53e1" xlink:to="loc_ifrs-full_ProfitLossFromOperatingActivities_79acee45-8fb9-4489-90c1-64b677628d58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinanceIncomeCost_4494d918-8224-4793-bc10-29131751f63e" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_FinanceIncomeCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossBeforeTax_e3a428df-b826-4c4b-8c6d-3a1ced3f53e1" xlink:to="loc_ifrs-full_FinanceIncomeCost_4494d918-8224-4793-bc10-29131751f63e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod_23777b9d-523b-48e2-ab3d-3e251dc145ca" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossBeforeTax_e3a428df-b826-4c4b-8c6d-3a1ced3f53e1" xlink:to="loc_ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod_23777b9d-523b-48e2-ab3d-3e251dc145ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DilutedEarningsLossPerShare_019b9d4d-6c89-7b5f-b222-ea6f2a00feb7" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_DilutedEarningsLossPerShare"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DilutedEarningsLossPerShareFromContinuingOperations_019b9d4d-6c89-7e5e-9bd8-a8bde468c273" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_DilutedEarningsLossPerShareFromContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_DilutedEarningsLossPerShare_019b9d4d-6c89-7b5f-b222-ea6f2a00feb7" xlink:to="loc_ifrs-full_DilutedEarningsLossPerShareFromContinuingOperations_019b9d4d-6c89-7e5e-9bd8-a8bde468c273" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DilutedEarningsLossPerShareFromDiscontinuedOperations_019b9d4d-6c89-7852-8d49-655ecefaaf91" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_DilutedEarningsLossPerShareFromDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_DilutedEarningsLossPerShare_019b9d4d-6c89-7b5f-b222-ea6f2a00feb7" xlink:to="loc_ifrs-full_DilutedEarningsLossPerShareFromDiscontinuedOperations_019b9d4d-6c89-7852-8d49-655ecefaaf91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromContinuingOperations_019b9d39-5286-767d-a5ab-e954b035c2b0" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossFromContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossBeforeTax_019b9d39-5286-7279-898f-4db887cde4ba" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossFromContinuingOperations_019b9d39-5286-767d-a5ab-e954b035c2b0" xlink:to="loc_ifrs-full_ProfitLossBeforeTax_019b9d39-5286-7279-898f-4db887cde4ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxExpenseContinuingOperations_019b9d39-5286-757c-b737-8e30e031c081" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_IncomeTaxExpenseContinuingOperations"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossFromContinuingOperations_019b9d39-5286-767d-a5ab-e954b035c2b0" xlink:to="loc_ifrs-full_IncomeTaxExpenseContinuingOperations_019b9d39-5286-757c-b737-8e30e031c081" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromOperatingActivities_79fc1463-f1a7-4a27-a493-888b930e7cd4" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossFromOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherExpenseByNature_907791e3-0ed7-4f8a-a7bd-467d982a4879" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherExpenseByNature"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossFromOperatingActivities_79fc1463-f1a7-4a27-a493-888b930e7cd4" xlink:to="loc_ifrs-full_OtherExpenseByNature_907791e3-0ed7-4f8a-a7bd-467d982a4879" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Revenue_343a29fc-cbb7-4969-9b9e-f2cc700da469" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_Revenue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossFromOperatingActivities_79fc1463-f1a7-4a27-a493-888b930e7cd4" xlink:to="loc_ifrs-full_Revenue_343a29fc-cbb7-4969-9b9e-f2cc700da469" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EmployeeBenefitsExpense_d2462ac7-5d3e-4656-a738-dfcc9fefbb6e" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_EmployeeBenefitsExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossFromOperatingActivities_79fc1463-f1a7-4a27-a493-888b930e7cd4" xlink:to="loc_ifrs-full_EmployeeBenefitsExpense_d2462ac7-5d3e-4656-a738-dfcc9fefbb6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RawMaterialsAndConsumablesUsed_67b97fc6-6fb0-44dd-9f9e-f059afa9ff60" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_RawMaterialsAndConsumablesUsed"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossFromOperatingActivities_79fc1463-f1a7-4a27-a493-888b930e7cd4" xlink:to="loc_ifrs-full_RawMaterialsAndConsumablesUsed_67b97fc6-6fb0-44dd-9f9e-f059afa9ff60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherIncome_fd6e90ba-b419-41f6-9fb1-81c02af78457" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherIncome"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossFromOperatingActivities_79fc1463-f1a7-4a27-a493-888b930e7cd4" xlink:to="loc_ifrs-full_OtherIncome_fd6e90ba-b419-41f6-9fb1-81c02af78457" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DepreciationAndAmortisationExpense_c607c469-c879-4ece-a94c-bc160249cea7" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_DepreciationAndAmortisationExpense"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossFromOperatingActivities_79fc1463-f1a7-4a27-a493-888b930e7cd4" xlink:to="loc_ifrs-full_DepreciationAndAmortisationExpense_c607c469-c879-4ece-a94c-bc160249cea7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLoss_af297434-aa49-4978-bc50-8c07bb26d836" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossAttributableToOwnersOfParent_f4262e16-ce7e-4d75-99e3-bfb9ba6fe0f6" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossAttributableToOwnersOfParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLoss_af297434-aa49-4978-bc50-8c07bb26d836" xlink:to="loc_ifrs-full_ProfitLossAttributableToOwnersOfParent_f4262e16-ce7e-4d75-99e3-bfb9ba6fe0f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossAttributableToNoncontrollingInterests_1617ad3a-a15f-4abe-9930-1465173bf42d" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossAttributableToNoncontrollingInterests"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLoss_af297434-aa49-4978-bc50-8c07bb26d836" xlink:to="loc_ifrs-full_ProfitLossAttributableToNoncontrollingInterests_1617ad3a-a15f-4abe-9930-1465173bf42d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossAttributableToNoncontrollingInterests_019b9d4d-19ed-7fe1-96ed-a2b71c3e6dde" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossAttributableToNoncontrollingInterests"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromContinuingOperationsAttributableToNoncontrollingInterests_019b9d4d-19ed-77e7-8c71-fa101cf18148" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossFromContinuingOperationsAttributableToNoncontrollingInterests"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossAttributableToNoncontrollingInterests_019b9d4d-19ed-7fe1-96ed-a2b71c3e6dde" xlink:to="loc_ifrs-full_ProfitLossFromContinuingOperationsAttributableToNoncontrollingInterests_019b9d4d-19ed-77e7-8c71-fa101cf18148" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromDiscontinuedOperationsAttributableToNoncontrollingInterests_019b9d4d-19ed-7085-9627-c8c898160559" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossFromDiscontinuedOperationsAttributableToNoncontrollingInterests"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLossAttributableToNoncontrollingInterests_019b9d4d-19ed-7fe1-96ed-a2b71c3e6dde" xlink:to="loc_ifrs-full_ProfitLossFromDiscontinuedOperationsAttributableToNoncontrollingInterests_019b9d4d-19ed-7085-9627-c8c898160559" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.telefonica.com/role/Cuentasderesultadosconsolidadasdelosejerciciosanualesterminadosel31dediciembre_1" xlink:type="simple" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#Cuentasderesultadosconsolidadasdelosejerciciosanualesterminadosel31dediciembre_1"/>
  <link:calculationLink xlink:role="http://www.telefonica.com/role/Cuentasderesultadosconsolidadasdelosejerciciosanualesterminadosel31dediciembre_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLoss_f59b4e37-196d-4954-bee6-7860c95b3081" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromContinuingOperations_b2c45a48-2a7c-4f4b-b396-19cac5bc85c2" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossFromContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLoss_f59b4e37-196d-4954-bee6-7860c95b3081" xlink:to="loc_ifrs-full_ProfitLossFromContinuingOperations_b2c45a48-2a7c-4f4b-b396-19cac5bc85c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromDiscontinuedOperations_1539af9d-cafd-44bd-818c-e15e0f2ce866" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLossFromDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ProfitLoss_f59b4e37-196d-4954-bee6-7860c95b3081" xlink:to="loc_ifrs-full_ProfitLossFromDiscontinuedOperations_1539af9d-cafd-44bd-818c-e15e0f2ce866" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.telefonica.com/role/Estadosderesultadosglobalesconsolidadosdelosejerciciosanualesterminadosel31dediciembre" xlink:type="simple" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#Estadosderesultadosglobalesconsolidadosdelosejerciciosanualesterminadosel31dediciembre"/>
  <link:calculationLink xlink:role="http://www.telefonica.com/role/Estadosderesultadosglobalesconsolidadosdelosejerciciosanualesterminadosel31dediciembre" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges_b148a725-dd0f-4ad7-adb2-3d924081f14e" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax_3de4b474-2135-4e58-9bbb-c7ec93c43e53" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges_b148a725-dd0f-4ad7-adb2-3d924081f14e" xlink:to="loc_ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax_3de4b474-2135-4e58-9bbb-c7ec93c43e53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectoImpositivoSobreLasGananciasPerdidasProcedentesDeCobertura_0124032f-cfe3-414a-b702-ed5adead467d" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_EfectoImpositivoSobreLasGananciasPerdidasProcedentesDeCobertura"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges_b148a725-dd0f-4ad7-adb2-3d924081f14e" xlink:to="loc_tef_EfectoImpositivoSobreLasGananciasPerdidasProcedentesDeCobertura_0124032f-cfe3-414a-b702-ed5adead467d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax_5e4fa670-8ef7-46db-9d5f-8cac9dca3c5b" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges_b148a725-dd0f-4ad7-adb2-3d924081f14e" xlink:to="loc_ifrs-full_ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax_5e4fa670-8ef7-46db-9d5f-8cac9dca3c5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasEnLaCoberturaDeFlujoDeEfectivo_78a5f7fa-6d63-4ae6-9dca-7398473b28d5" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasEnLaCoberturaDeFlujoDeEfectivo"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges_b148a725-dd0f-4ad7-adb2-3d924081f14e" xlink:to="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasEnLaCoberturaDeFlujoDeEfectivo_78a5f7fa-6d63-4ae6-9dca-7398473b28d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncome_2a221f36-61c7-449a-a8f3-0139e4248d75" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ComprehensiveIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncome_99897430-d17f-4363-9698-3a46e99b1e5c" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherComprehensiveIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ComprehensiveIncome_2a221f36-61c7-449a-a8f3-0139e4248d75" xlink:to="loc_ifrs-full_OtherComprehensiveIncome_99897430-d17f-4363-9698-3a46e99b1e5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLoss_7e5691a2-61b6-489f-9be7-60e7092fba51" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ComprehensiveIncome_2a221f36-61c7-449a-a8f3-0139e4248d75" xlink:to="loc_ifrs-full_ProfitLoss_7e5691a2-61b6-489f-9be7-60e7092fba51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax_e07984c6-fe3e-4051-a564-556258db3305" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans_0430f7fa-a007-4933-a9ac-017f7e4f5fcb" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax_e07984c6-fe3e-4051-a564-556258db3305" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans_0430f7fa-a007-4933-a9ac-017f7e4f5fcb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossNetOfTax_fb0467a2-d997-4b8e-bff9-070f9d752e76" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax_e07984c6-fe3e-4051-a564-556258db3305" xlink:to="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossNetOfTax_fb0467a2-d997-4b8e-bff9-070f9d752e76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_GananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodoNetoDeImpuestos_ec6e0408-0978-4df4-abc7-e19d7dbd4990" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_GananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodoNetoDeImpuestos"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax_e07984c6-fe3e-4051-a564-556258db3305" xlink:to="loc_tef_GananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodoNetoDeImpuestos_ec6e0408-0978-4df4-abc7-e19d7dbd4990" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax_1e5c9627-cc1b-4149-95c9-9d26cfb17cf7" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax_32924da7-8269-4b2a-9a33-3ae31b02109c" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax_1e5c9627-cc1b-4149-95c9-9d26cfb17cf7" xlink:to="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax_32924da7-8269-4b2a-9a33-3ae31b02109c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo_09e59ecf-2adc-4fcc-a9d8-f5e7bcb73efd" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_GananciasPerdidasPorCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_22cb097b-476b-45a3-8e56-eb612c11bd80" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_GananciasPerdidasPorCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo_09e59ecf-2adc-4fcc-a9d8-f5e7bcb73efd" xlink:to="loc_tef_GananciasPerdidasPorCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_22cb097b-476b-45a3-8e56-eb612c11bd80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoALasGananciasRelacionadoConLosCostosDeCoberturaDeFlujosDeEfectivoIncluidosEnOtroResultadoIntegral_df3dd581-92d7-4eff-9ee6-75719be99390" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_ImpuestoALasGananciasRelacionadoConLosCostosDeCoberturaDeFlujosDeEfectivoIncluidosEnOtroResultadoIntegral"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo_09e59ecf-2adc-4fcc-a9d8-f5e7bcb73efd" xlink:to="loc_tef_ImpuestoALasGananciasRelacionadoConLosCostosDeCoberturaDeFlujosDeEfectivoIncluidosEnOtroResultadoIntegral_df3dd581-92d7-4eff-9ee6-75719be99390" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_AjustesPorReclasificacionDeLosCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_a8ae63d2-1eb8-415c-8d47-9755432424cc" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_AjustesPorReclasificacionDeLosCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo_09e59ecf-2adc-4fcc-a9d8-f5e7bcb73efd" xlink:to="loc_tef_AjustesPorReclasificacionDeLosCostosDeCoberturaDeFlujosDeEfectivoAntesDeImpuestos_a8ae63d2-1eb8-415c-8d47-9755432424cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasSobreCostosDeCoberturaDeFlujosDeEfectivo_107353bd-338f-4aaa-96c7-532918add885" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasSobreCostosDeCoberturaDeFlujosDeEfectivo"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo_09e59ecf-2adc-4fcc-a9d8-f5e7bcb73efd" xlink:to="loc_tef_ImpuestoSobreLaRentaRelacionadoConLaReclasificacionDeGananciasPerdidasSobreCostosDeCoberturaDeFlujosDeEfectivo_107353bd-338f-4aaa-96c7-532918add885" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax_cdd7c4c0-b126-4377-b82c-fd9e7f5a6d63" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome_d5216ece-1702-48f4-87ae-509ce251a7d5" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax_cdd7c4c0-b126-4377-b82c-fd9e7f5a6d63" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome_d5216ece-1702-48f4-87ae-509ce251a7d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges_ae16725a-ca22-432b-8055-5e396a6bd4e6" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax_cdd7c4c0-b126-4377-b82c-fd9e7f5a6d63" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxCashFlowHedges_ae16725a-ca22-432b-8055-5e396a6bd4e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo_5f778fce-ea1e-49cf-845a-bae8fbf058d2" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax_cdd7c4c0-b126-4377-b82c-fd9e7f5a6d63" xlink:to="loc_tef_OtrosResultadosIntegralesNetoDeImpuestosCostosDeCoberturaDeFlujosDeEfectivo_5f778fce-ea1e-49cf-845a-bae8fbf058d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax_b21191cf-b1d8-49e4-8158-517dfed25f22" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax_cdd7c4c0-b126-4377-b82c-fd9e7f5a6d63" xlink:to="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax_b21191cf-b1d8-49e4-8158-517dfed25f22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation_01b2063f-bc94-4380-8593-6d5d6036d59d" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax_cdd7c4c0-b126-4377-b82c-fd9e7f5a6d63" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation_01b2063f-bc94-4380-8593-6d5d6036d59d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_GananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodoNetoDeImpuestos_e2ea249a-c0b7-4d1f-a602-9e00fc972fd3" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_GananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodoNetoDeImpuestos"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReclassificationAdjustmentsOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeBeforeTax_a3973edc-faa2-44e4-88bf-325e6ab4ea7f" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ReclassificationAdjustmentsOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_tef_GananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodoNetoDeImpuestos_e2ea249a-c0b7-4d1f-a602-9e00fc972fd3" xlink:to="loc_ifrs-full_ReclassificationAdjustmentsOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeBeforeTax_a3973edc-faa2-44e4-88bf-325e6ab4ea7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_GananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodoAntesDeImpuestos_2d9b30f3-7abe-4180-93ca-96a0613a7187" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_GananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodoAntesDeImpuestos"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_tef_GananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodoNetoDeImpuestos_e2ea249a-c0b7-4d1f-a602-9e00fc972fd3" xlink:to="loc_tef_GananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodoAntesDeImpuestos_2d9b30f3-7abe-4180-93ca-96a0613a7187" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLasGananciasRelativoAGananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodo_1a70f6bf-3d1a-49fc-8a98-11dd220423f8" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_ImpuestoSobreLasGananciasRelativoAGananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodo"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_tef_GananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodoNetoDeImpuestos_e2ea249a-c0b7-4d1f-a602-9e00fc972fd3" xlink:to="loc_tef_ImpuestoSobreLasGananciasRelativoAGananciasPerdidasEnLaValoracionDeActivosFinancierosAValorRazonableConCambiosEnOtroResultadoGlobalDelPeriodo_1a70f6bf-3d1a-49fc-8a98-11dd220423f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome_d0e5b136-4e47-4a90-830f-6d17672f1b1c" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainsLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeBeforeTax_e6c727f0-a760-4bb8-b059-f2f44b3a019d" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_GainsLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome_d0e5b136-4e47-4a90-830f-6d17672f1b1c" xlink:to="loc_ifrs-full_GainsLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeBeforeTax_e6c727f0-a760-4bb8-b059-f2f44b3a019d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectoImpositivoSobreGananciasRelativoAActivosFinancierosValoradosAlValorRazonableConCambiosEnOtroResultadoGlobal_b3df616d-9aa3-4349-8ad7-c6184f5184aa" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_EfectoImpositivoSobreGananciasRelativoAActivosFinancierosValoradosAlValorRazonableConCambiosEnOtroResultadoGlobal"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome_d0e5b136-4e47-4a90-830f-6d17672f1b1c" xlink:to="loc_tef_EfectoImpositivoSobreGananciasRelativoAActivosFinancierosValoradosAlValorRazonableConCambiosEnOtroResultadoGlobal_b3df616d-9aa3-4349-8ad7-c6184f5184aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_AjustesPorReclasificacionRelativosAActivosFinancierosValoradosAlValorRazonableConCambiosEnOtroResultadoGlobalAntesDeImpuestos_019c5772-68d6-70fc-a461-4303c3fff591" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_AjustesPorReclasificacionRelativosAActivosFinancierosValoradosAlValorRazonableConCambiosEnOtroResultadoGlobalAntesDeImpuestos"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome_d0e5b136-4e47-4a90-830f-6d17672f1b1c" xlink:to="loc_tef_AjustesPorReclasificacionRelativosAActivosFinancierosValoradosAlValorRazonableConCambiosEnOtroResultadoGlobalAntesDeImpuestos_019c5772-68d6-70fc-a461-4303c3fff591" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ImpuestoSobreLasGanaciasAjustesPorReclasificacionRelativosAActivosFinancierosValoradosAlValorRazonableConCambiosEnOtroResultadoGlobal_019c5778-1c6a-7bd2-bed9-e832cf993fac" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_ImpuestoSobreLasGanaciasAjustesPorReclasificacionRelativosAActivosFinancierosValoradosAlValorRazonableConCambiosEnOtroResultadoGlobal"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome_d0e5b136-4e47-4a90-830f-6d17672f1b1c" xlink:to="loc_tef_ImpuestoSobreLasGanaciasAjustesPorReclasificacionRelativosAActivosFinancierosValoradosAlValorRazonableConCambiosEnOtroResultadoGlobal_019c5778-1c6a-7bd2-bed9-e832cf993fac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans_8d913170-b54a-4c3a-9000-8f4933c624cb" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans_b2cb9ff6-d5e6-4037-ae93-e43a53f5f7f5" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans_8d913170-b54a-4c3a-9000-8f4933c624cb" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans_b2cb9ff6-d5e6-4037-ae93-e43a53f5f7f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxRelatingToRemeasurementsOfDefinedBenefitPlansOfOtherComprehensiveIncome_b40f7bf0-89ef-43b1-8223-108ec78fb527" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_IncomeTaxRelatingToRemeasurementsOfDefinedBenefitPlansOfOtherComprehensiveIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans_8d913170-b54a-4c3a-9000-8f4933c624cb" xlink:to="loc_ifrs-full_IncomeTaxRelatingToRemeasurementsOfDefinedBenefitPlansOfOtherComprehensiveIncome_b40f7bf0-89ef-43b1-8223-108ec78fb527" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.telefonica.com/role/Estadosderesultadosglobalesconsolidadosdelosejerciciosanualesterminadosel31dediciembre_1" xlink:type="simple" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#Estadosderesultadosglobalesconsolidadosdelosejerciciosanualesterminadosel31dediciembre_1"/>
  <link:calculationLink xlink:role="http://www.telefonica.com/role/Estadosderesultadosglobalesconsolidadosdelosejerciciosanualesterminadosel31dediciembre_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncome_308fd139-d45a-421e-a9b4-c0f4038d0b73" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ComprehensiveIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent_250f201c-b42d-4e5d-81fa-3c5a07bc8e54" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ComprehensiveIncome_308fd139-d45a-421e-a9b4-c0f4038d0b73" xlink:to="loc_ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent_250f201c-b42d-4e5d-81fa-3c5a07bc8e54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests_e57dce2c-f844-45ea-845e-72eabe8eac86" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ComprehensiveIncome_308fd139-d45a-421e-a9b4-c0f4038d0b73" xlink:to="loc_ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests_e57dce2c-f844-45ea-845e-72eabe8eac86" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.telefonica.com/role/Estadosderesultadosglobalesconsolidadosdelosejerciciosanualesterminadosel31dediciembre_2" xlink:type="simple" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#Estadosderesultadosglobalesconsolidadosdelosejerciciosanualesterminadosel31dediciembre_2"/>
  <link:calculationLink xlink:role="http://www.telefonica.com/role/Estadosderesultadosglobalesconsolidadosdelosejerciciosanualesterminadosel31dediciembre_2" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncome_019c5148-c31b-730a-b605-2686c5b15a1d" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ComprehensiveIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncomeFromContinuingOperations_019c5148-c31b-78b8-bf44-d002c86fcf91" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ComprehensiveIncomeFromContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ComprehensiveIncome_019c5148-c31b-730a-b605-2686c5b15a1d" xlink:to="loc_ifrs-full_ComprehensiveIncomeFromContinuingOperations_019c5148-c31b-78b8-bf44-d002c86fcf91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncomeFromDiscontinuedOperations_019c5148-c31b-7d89-817a-e7fb619285f6" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ComprehensiveIncomeFromDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_ComprehensiveIncome_019c5148-c31b-730a-b605-2686c5b15a1d" xlink:to="loc_ifrs-full_ComprehensiveIncomeFromDiscontinuedOperations_019c5148-c31b-7d89-817a-e7fb619285f6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.telefonica.com/role/Estadosdeflujosdeefectivoconsolidadosdelosejerciciosanualesterminadosel31dediciembre" xlink:type="simple" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#Estadosdeflujosdeefectivoconsolidadosdelosejerciciosanualesterminadosel31dediciembre"/>
  <link:calculationLink xlink:role="http://www.telefonica.com/role/Estadosdeflujosdeefectivoconsolidadosdelosejerciciosanualesterminadosel31dediciembre" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities_81c4d48d-aa0b-443b-9445-49cb7368f182" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations_d1b28453-e3e7-4ff8-b5ee-3b81cb1c6309" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities_81c4d48d-aa0b-443b-9445-49cb7368f182" xlink:to="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations_d1b28453-e3e7-4ff8-b5ee-3b81cb1c6309" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesDiscontinuedOperations_78151f45-2036-47bb-b9fe-1e1a2a0c3533" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities_81c4d48d-aa0b-443b-9445-49cb7368f182" xlink:to="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesDiscontinuedOperations_78151f45-2036-47bb-b9fe-1e1a2a0c3533" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashAndCashEquivalents_42101b24-c009-4e9e-9ca4-73c4d2ffcecd" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashAndCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Cash_ec29868e-43d0-44fe-ac1e-af0d8b55c5f4" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_Cash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashAndCashEquivalents_42101b24-c009-4e9e-9ca4-73c4d2ffcecd" xlink:to="loc_ifrs-full_Cash_ec29868e-43d0-44fe-ac1e-af0d8b55c5f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashEquivalents_a6a67b5d-6169-4876-8ab2-e6486d20ebca" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashEquivalents"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashAndCashEquivalents_42101b24-c009-4e9e-9ca4-73c4d2ffcecd" xlink:to="loc_ifrs-full_CashEquivalents_a6a67b5d-6169-4876-8ab2-e6486d20ebca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities_9d907c2e-5b78-4b0c-8f13-2c4a0b87c8d3" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_c04d3bd0-2cc2-4d82-bec0-988292e541a6" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities_9d907c2e-5b78-4b0c-8f13-2c4a0b87c8d3" xlink:to="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_c04d3bd0-2cc2-4d82-bec0-988292e541a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesDiscontinuedOperations_1afdb14f-aeed-4089-ab0a-f26619fd29f0" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities_9d907c2e-5b78-4b0c-8f13-2c4a0b87c8d3" xlink:to="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesDiscontinuedOperations_1afdb14f-aeed-4089-ab0a-f26619fd29f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_019b9d47-be6c-7660-8fde-daab14dca2c5" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsPaidClassifiedAsFinancingActivities_019b9d47-be6d-7186-8db5-93d5b32b10a4" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_DividendsPaidClassifiedAsFinancingActivities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_019b9d47-be6c-7660-8fde-daab14dca2c5" xlink:to="loc_ifrs-full_DividendsPaidClassifiedAsFinancingActivities_019b9d47-be6d-7186-8db5-93d5b32b10a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PagoscobrosPorReduccionampliacionDeCapitalDeInteresesMinoritarios_019b9d47-be6d-70f8-b413-ef96f217d223" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_PagoscobrosPorReduccionampliacionDeCapitalDeInteresesMinoritarios"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_019b9d47-be6c-7660-8fde-daab14dca2c5" xlink:to="loc_tef_PagoscobrosPorReduccionampliacionDeCapitalDeInteresesMinoritarios_019b9d47-be6d-70f8-b413-ef96f217d223" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas_019b9d47-be6d-7b41-b878-cdc91246162c" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_019b9d47-be6c-7660-8fde-daab14dca2c5" xlink:to="loc_tef_IngresosDePagosPorAccionesEnTesoreriaYOtrasActividadesDeLosAccionistas_019b9d47-be6d-7b41-b878-cdc91246162c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_OperacionesConOtrosTenedoresDeInstrumentosDePatrimonio_019b9d47-be6d-74e6-a495-dd35b12f8708" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_OperacionesConOtrosTenedoresDeInstrumentosDePatrimonio"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_019b9d47-be6c-7660-8fde-daab14dca2c5" xlink:to="loc_tef_OperacionesConOtrosTenedoresDeInstrumentosDePatrimonio_019b9d47-be6d-74e6-a495-dd35b12f8708" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromIssueOfBondsNotesAndDebentures_019b9d47-be6d-729f-87da-580e7d22af2c" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProceedsFromIssueOfBondsNotesAndDebentures"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_019b9d47-be6c-7660-8fde-daab14dca2c5" xlink:to="loc_ifrs-full_ProceedsFromIssueOfBondsNotesAndDebentures_019b9d47-be6d-729f-87da-580e7d22af2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities_019b9d47-be6d-757b-9703-c69c59d2c736" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_019b9d47-be6c-7660-8fde-daab14dca2c5" xlink:to="loc_ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities_019b9d47-be6d-757b-9703-c69c59d2c736" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RepaymentsOfBondsNotesAndDebentures_019b9d47-be6d-7a40-b211-2b07f2a25b7d" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_RepaymentsOfBondsNotesAndDebentures"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_019b9d47-be6c-7660-8fde-daab14dca2c5" xlink:to="loc_ifrs-full_RepaymentsOfBondsNotesAndDebentures_019b9d47-be6d-7a40-b211-2b07f2a25b7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities_019b9d47-be6d-7c33-8c27-2b2cf625d86e" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_019b9d47-be6c-7660-8fde-daab14dca2c5" xlink:to="loc_ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities_019b9d47-be6d-7c33-8c27-2b2cf625d86e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities_019b9d47-be6d-7849-9c69-0546d9cef3bc" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_019b9d47-be6c-7660-8fde-daab14dca2c5" xlink:to="loc_ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities_019b9d47-be6d-7849-9c69-0546d9cef3bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PagosDeExplotacionEInversionesMaterialesEIntangiblesFinanciados_019b9d47-be6d-7824-b81a-d64ad80a75e7" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_PagosDeExplotacionEInversionesMaterialesEIntangiblesFinanciados"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations_019b9d47-be6c-7660-8fde-daab14dca2c5" xlink:to="loc_tef_PagosDeExplotacionEInversionesMaterialesEIntangiblesFinanciados_019b9d47-be6d-7824-b81a-d64ad80a75e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations_019b9d44-317f-7a47-bf82-be6ab919a11b" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion_019b9d44-317f-75e6-8ca4-c43b5c74eb85" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations_019b9d44-317f-7a47-bf82-be6ab919a11b" xlink:to="loc_tef_ProductoDeCompraPropiedadPlantaYEquipoYActivosIntangiblesClasificadosComoActividadesDeInversion_019b9d44-317f-75e6-8ca4-c43b5c74eb85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities_019b9d44-317f-733c-bf0d-b5e30f60c2da" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations_019b9d44-317f-7a47-bf82-be6ab919a11b" xlink:to="loc_ifrs-full_CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities_019b9d44-317f-733c-bf0d-b5e30f60c2da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities_019b9d44-317f-7b22-8ea3-c02556db3ed7" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations_019b9d44-317f-7a47-bf82-be6ab919a11b" xlink:to="loc_ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities_019b9d44-317f-7b22-8ea3-c02556db3ed7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherCashReceiptsFromSalesOfEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities_019b9d44-317f-77a8-983c-724b7e4b236a" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherCashReceiptsFromSalesOfEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations_019b9d44-317f-7a47-bf82-be6ab919a11b" xlink:to="loc_ifrs-full_OtherCashReceiptsFromSalesOfEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities_019b9d44-317f-77a8-983c-724b7e4b236a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherCashPaymentsToAcquireEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities_019b9d44-317f-717f-8cb3-a811d1f9b075" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_OtherCashPaymentsToAcquireEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations_019b9d44-317f-7a47-bf82-be6ab919a11b" xlink:to="loc_ifrs-full_OtherCashPaymentsToAcquireEquityOrDebtInstrumentsOfOtherEntitiesClassifiedAsInvestingActivities_019b9d44-317f-717f-8cb3-a811d1f9b075" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_IngresosDePagosPorColocacionesDeExcedentesDeEfectivoNoIncluidosEnEquivalentesDeEfectivo_019b9d44-317f-75f7-8fb4-79a92da8ba36" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_IngresosDePagosPorColocacionesDeExcedentesDeEfectivoNoIncluidosEnEquivalentesDeEfectivo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations_019b9d44-317f-7a47-bf82-be6ab919a11b" xlink:to="loc_tef_IngresosDePagosPorColocacionesDeExcedentesDeEfectivoNoIncluidosEnEquivalentesDeEfectivo_019b9d44-317f-75f7-8fb4-79a92da8ba36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_56c11189-e354-4645-884b-53ae40f7812b" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_IncreaseDecreaseInCashAndCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities_3417db19-7036-4ff9-bc30-e2b27e3a2512" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_56c11189-e354-4645-884b-53ae40f7812b" xlink:to="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities_3417db19-7036-4ff9-bc30-e2b27e3a2512" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities_78ed9e3e-01c5-4bd7-a537-08b36ec6e091" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_56c11189-e354-4645-884b-53ae40f7812b" xlink:to="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities_78ed9e3e-01c5-4bd7-a537-08b36ec6e091" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities_0eae6ac3-2121-4b48-b88a-61e00cebd6f0" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_56c11189-e354-4645-884b-53ae40f7812b" xlink:to="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities_0eae6ac3-2121-4b48-b88a-61e00cebd6f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents_3fd9c45c-c770-44e1-8d71-5150a643c305" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_56c11189-e354-4645-884b-53ae40f7812b" xlink:to="loc_ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents_3fd9c45c-c770-44e1-8d71-5150a643c305" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectivoReclasificadoAActivosMantenidosParaLaVenta_9809d109-d648-4bf0-bcd7-0102e3a43565" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_EfectivoReclasificadoAActivosMantenidosParaLaVenta"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_56c11189-e354-4645-884b-53ae40f7812b" xlink:to="loc_tef_EfectivoReclasificadoAActivosMantenidosParaLaVenta_9809d109-d648-4bf0-bcd7-0102e3a43565" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_EfectoDeLosCambiosEnLosMetodosDeConsolidacionYOtrosSobreElEfectivoYEquivalentes_a50fa328-b87e-43f1-bf90-2e5907523306" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_EfectoDeLosCambiosEnLosMetodosDeConsolidacionYOtrosSobreElEfectivoYEquivalentes"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_56c11189-e354-4645-884b-53ae40f7812b" xlink:to="loc_tef_EfectoDeLosCambiosEnLosMetodosDeConsolidacionYOtrosSobreElEfectivoYEquivalentes_a50fa328-b87e-43f1-bf90-2e5907523306" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities_899bafe4-b673-4c28-8d6c-88b943383d15" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations_b6f16244-5fe2-43a3-80dd-7a4ae196017e" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities_899bafe4-b673-4c28-8d6c-88b943383d15" xlink:to="loc_ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations_b6f16244-5fe2-43a3-80dd-7a4ae196017e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperatingActivitiesDiscontinuedOperations_c531541f-ed5c-4b38-9c26-01faa9792af1" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities_899bafe4-b673-4c28-8d6c-88b943383d15" xlink:to="loc_ifrs-full_CashFlowsFromUsedInOperatingActivitiesDiscontinuedOperations_c531541f-ed5c-4b38-9c26-01faa9792af1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations_019b9d42-ba18-7285-9c3a-6302309e4e89" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_FlujosDeEfectivoDeLasOperaciones_019b9d42-ba18-7a5e-b2fa-c297fd960e6c" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_FlujosDeEfectivoDeLasOperaciones"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations_019b9d42-ba18-7285-9c3a-6302309e4e89" xlink:to="loc_tef_FlujosDeEfectivoDeLasOperaciones_019b9d42-ba18-7a5e-b2fa-c297fd960e6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_FlujosDeEfectivoUtilizadosEnOperaciones_019b9d42-ba18-7bfe-a215-1ea7aa464cb8" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_FlujosDeEfectivoUtilizadosEnOperaciones"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations_019b9d42-ba18-7285-9c3a-6302309e4e89" xlink:to="loc_tef_FlujosDeEfectivoUtilizadosEnOperaciones_019b9d42-ba18-7bfe-a215-1ea7aa464cb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos_019b9d42-ba18-70fc-9387-2152d16a1334" xlink:href="549300EEJH4FEPDBBR25-2025-12-31.xsd#tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations_019b9d42-ba18-7285-9c3a-6302309e4e89" xlink:to="loc_tef_PagoDeInteresesYOtrosGastosFinancierosNetoDeDividendosRecibidos_019b9d42-ba18-70fc-9387-2152d16a1334" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxesPaidRefundClassifiedAsOperatingActivities_019b9d42-ba18-7a9c-b855-92d441d42278" xlink:href="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd#ifrs-full_IncomeTaxesPaidRefundClassifiedAsOperatingActivities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations_019b9d42-ba18-7285-9c3a-6302309e4e89" xlink:to="loc_ifrs-full_IncomeTaxesPaidRefundClassifiedAsOperatingActivities_019b9d42-ba18-7a9c-b855-92d441d42278" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
