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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:4fb883ed-426f-4784-9a66-de8e878a5b5d,g:1df02844-82d9-433f-8323-abb5971f3c7b-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="ecarx-20250630.xsd#UNAUDITEDCONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_24323eb4-ffc9-4ae1-92df-0c2b38866593" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_78aa3f27-d6b0-4d1f-b289-82e1d7cc218b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_24323eb4-ffc9-4ae1-92df-0c2b38866593" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_78aa3f27-d6b0-4d1f-b289-82e1d7cc218b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_fbbee17e-9a8e-4ec5-b054-05fb698fc5c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_24323eb4-ffc9-4ae1-92df-0c2b38866593" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_fbbee17e-9a8e-4ec5-b054-05fb698fc5c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_e30062ec-a3ce-4e39-b855-53242f321282" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_24323eb4-ffc9-4ae1-92df-0c2b38866593" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_e30062ec-a3ce-4e39-b855-53242f321282" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantsAndRightsOutstanding_cc5b388d-460a-43ea-8edf-044de6a55d1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WarrantsAndRightsOutstanding"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_24323eb4-ffc9-4ae1-92df-0c2b38866593" xlink:to="loc_us-gaap_WarrantsAndRightsOutstanding_cc5b388d-460a-43ea-8edf-044de6a55d1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualNoncurrent_c8cb9f13-c9ec-4d15-877c-7a13eb4993a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductWarrantyAccrualNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_24323eb4-ffc9-4ae1-92df-0c2b38866593" xlink:to="loc_us-gaap_ProductWarrantyAccrualNoncurrent_c8cb9f13-c9ec-4d15-877c-7a13eb4993a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_0c816af2-7658-45b9-811c-8785f2a4a573" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_24323eb4-ffc9-4ae1-92df-0c2b38866593" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_0c816af2-7658-45b9-811c-8785f2a4a573" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_4071a2a9-bb0c-4235-b3b8-2bb551d5a620" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_f731dce0-15d1-4844-97e0-65449fc639b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4071a2a9-bb0c-4235-b3b8-2bb551d5a620" xlink:to="loc_us-gaap_LiabilitiesCurrent_f731dce0-15d1-4844-97e0-65449fc639b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_d601bc6c-33ac-45e8-8b91-24f39cc656cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_4071a2a9-bb0c-4235-b3b8-2bb551d5a620" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_d601bc6c-33ac-45e8-8b91-24f39cc656cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_52bb61de-a1e6-433f-b196-505e09015dfc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_a86a77aa-d38c-4aa0-a5da-334d7c3c811b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_52bb61de-a1e6-433f-b196-505e09015dfc" xlink:to="loc_us-gaap_MinorityInterest_a86a77aa-d38c-4aa0-a5da-334d7c3c811b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_15d77b3e-258e-45ab-b9aa-4efbd3c92e51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_52bb61de-a1e6-433f-b196-505e09015dfc" xlink:to="loc_us-gaap_StockholdersEquity_15d77b3e-258e-45ab-b9aa-4efbd3c92e51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_af47375b-a07e-436f-a8ab-bbe542335b85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_566e3673-7bd6-4a85-b5c9-eda7221d0228" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_af47375b-a07e-436f-a8ab-bbe542335b85" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_566e3673-7bd6-4a85-b5c9-eda7221d0228" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_87be5f3c-db0e-4df2-98f5-cb7f687afec2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_af47375b-a07e-436f-a8ab-bbe542335b85" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_87be5f3c-db0e-4df2-98f5-cb7f687afec2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLossCurrent_a218cfca-8f87-4deb-922e-4ec1a359d646" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLossCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_af47375b-a07e-436f-a8ab-bbe542335b85" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLossCurrent_a218cfca-8f87-4deb-922e-4ec1a359d646" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_88fb6378-da64-44c5-8258-a3b56b021f56" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_af47375b-a07e-436f-a8ab-bbe542335b85" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_88fb6378-da64-44c5-8258-a3b56b021f56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_58a90f13-33ee-4cb9-b754-019c49d77a2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_af47375b-a07e-436f-a8ab-bbe542335b85" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_58a90f13-33ee-4cb9-b754-019c49d77a2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_5752d579-ab68-4dde-a80e-5ba090b33baf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_af47375b-a07e-436f-a8ab-bbe542335b85" xlink:to="loc_us-gaap_InventoryNet_5752d579-ab68-4dde-a80e-5ba090b33baf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_949dfae5-dfa8-4501-a405-c0c37bda219a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivablesNetCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_af47375b-a07e-436f-a8ab-bbe542335b85" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_949dfae5-dfa8-4501-a405-c0c37bda219a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_67e047c0-6d99-4004-b4ae-c5c1501ccc13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_af47375b-a07e-436f-a8ab-bbe542335b85" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_67e047c0-6d99-4004-b4ae-c5c1501ccc13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_53b1a848-e292-47da-9403-c6491228ada6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_a0d001e8-6f56-41bc-bfaf-caabd16f95f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_53b1a848-e292-47da-9403-c6491228ada6" xlink:to="loc_us-gaap_ShortTermBorrowings_a0d001e8-6f56-41bc-bfaf-caabd16f95f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_52843c79-33f6-4af8-b82d-b1a12c91725d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_53b1a848-e292-47da-9403-c6491228ada6" xlink:to="loc_us-gaap_AccountsPayableCurrent_52843c79-33f6-4af8-b82d-b1a12c91725d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNotesPayableCurrent_1c64d1ab-a74f-45ab-985e-12869c793b3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNotesPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_53b1a848-e292-47da-9403-c6491228ada6" xlink:to="loc_us-gaap_OtherNotesPayableCurrent_1c64d1ab-a74f-45ab-985e-12869c793b3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_4664d008-d31f-47b2-add0-25edb2fcd485" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_53b1a848-e292-47da-9403-c6491228ada6" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_4664d008-d31f-47b2-add0-25edb2fcd485" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_126b31d7-824e-46fe-bb66-9d9b8b78d700" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_53b1a848-e292-47da-9403-c6491228ada6" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_126b31d7-824e-46fe-bb66-9d9b8b78d700" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_c99ce9f1-b0e4-42e9-a2fd-ac96de2e41fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_53b1a848-e292-47da-9403-c6491228ada6" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_c99ce9f1-b0e4-42e9-a2fd-ac96de2e41fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_7b53693c-0b37-4e93-8cc9-46f0ddc2a66b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_53b1a848-e292-47da-9403-c6491228ada6" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_7b53693c-0b37-4e93-8cc9-46f0ddc2a66b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleNotesPayableCurrent_091a6df3-54ac-4fec-ad53-3d6182f37ce3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertibleNotesPayableCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_53b1a848-e292-47da-9403-c6491228ada6" xlink:to="loc_us-gaap_ConvertibleNotesPayableCurrent_091a6df3-54ac-4fec-ad53-3d6182f37ce3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_abcf53f4-23d1-4976-bfa7-a2d7a66f08ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_53b1a848-e292-47da-9403-c6491228ada6" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_abcf53f4-23d1-4976-bfa7-a2d7a66f08ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_71de26d5-ad33-4d0d-b27b-cf289a6f1945" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_8efd26b5-188a-4dd7-a15c-74836f0a902c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_71de26d5-ad33-4d0d-b27b-cf289a6f1945" xlink:to="loc_us-gaap_CommonStockValue_8efd26b5-188a-4dd7-a15c-74836f0a902c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_43375dd6-9456-422a-8289-e7a62590c7a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_71de26d5-ad33-4d0d-b27b-cf289a6f1945" xlink:to="loc_us-gaap_TreasuryStockValue_43375dd6-9456-422a-8289-e7a62590c7a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_d816db74-6885-41c3-93a5-7c36eac7c067" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_71de26d5-ad33-4d0d-b27b-cf289a6f1945" xlink:to="loc_us-gaap_AdditionalPaidInCapital_d816db74-6885-41c3-93a5-7c36eac7c067" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_faf3ec39-f2c6-4997-bb4e-49bc52d73b59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_71de26d5-ad33-4d0d-b27b-cf289a6f1945" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_faf3ec39-f2c6-4997-bb4e-49bc52d73b59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_74251b8b-57d1-47d8-bbf3-69d7334c08fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_71de26d5-ad33-4d0d-b27b-cf289a6f1945" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_74251b8b-57d1-47d8-bbf3-69d7334c08fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_6509fe58-4c55-40ca-a24e-94580c3b58b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_5b805a1c-81c0-438c-9afa-618c29066caf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_6509fe58-4c55-40ca-a24e-94580c3b58b5" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_5b805a1c-81c0-438c-9afa-618c29066caf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_ac71f730-973c-42e8-8815-ff534e725d3e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_6509fe58-4c55-40ca-a24e-94580c3b58b5" xlink:to="loc_us-gaap_Liabilities_ac71f730-973c-42e8-8815-ff534e725d3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_373a90a4-b126-4a04-973d-18f49ccd4842" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_6509fe58-4c55-40ca-a24e-94580c3b58b5" xlink:to="loc_us-gaap_CommitmentsAndContingencies_373a90a4-b126-4a04-973d-18f49ccd4842" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_d34cf32e-dca2-4ed2-b2aa-903dae4794a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_9a28fbb8-0e35-4c87-8eed-c6be72c9d2dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_d34cf32e-dca2-4ed2-b2aa-903dae4794a0" xlink:to="loc_us-gaap_LongTermInvestments_9a28fbb8-0e35-4c87-8eed-c6be72c9d2dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_6f19fdb6-129e-4462-897c-efb193a8a6c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_d34cf32e-dca2-4ed2-b2aa-903dae4794a0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_6f19fdb6-129e-4462-897c-efb193a8a6c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_6c610d5c-831e-40b6-a503-ee95a60bf028" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_d34cf32e-dca2-4ed2-b2aa-903dae4794a0" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_6c610d5c-831e-40b6-a503-ee95a60bf028" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_e0303970-79eb-4de9-8214-689e76e62606" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_d34cf32e-dca2-4ed2-b2aa-903dae4794a0" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_e0303970-79eb-4de9-8214-689e76e62606" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9fd76820-9133-432f-a3aa-ea469f1c2663" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_d34cf32e-dca2-4ed2-b2aa-903dae4794a0" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_9fd76820-9133-432f-a3aa-ea469f1c2663" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_b9477b59-d681-48d5-b121-0ae90e96af3f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_d34cf32e-dca2-4ed2-b2aa-903dae4794a0" xlink:to="loc_us-gaap_Goodwill_b9477b59-d681-48d5-b121-0ae90e96af3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_88f94c5b-2643-4940-8fb0-d32981144158" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_3b457bce-7082-423a-8651-11c618488764" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_88f94c5b-2643-4940-8fb0-d32981144158" xlink:to="loc_us-gaap_AssetsCurrent_3b457bce-7082-423a-8651-11c618488764" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_b150bbf3-6c37-4f62-9f4f-b3840d9726b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_88f94c5b-2643-4940-8fb0-d32981144158" xlink:to="loc_us-gaap_AssetsNoncurrent_b150bbf3-6c37-4f62-9f4f-b3840d9726b7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS" xlink:type="simple" xlink:href="ecarx-20250630.xsd#UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_1f5b07c1-506f-4db2-9c6c-0f3c3ca7fa8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_ddc838b6-65dc-4195-9c21-bcb2e5bf1b5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_1f5b07c1-506f-4db2-9c6c-0f3c3ca7fa8e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_ddc838b6-65dc-4195-9c21-bcb2e5bf1b5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_181434e5-9f21-4ef8-a87a-dcda4cf1e79f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_1f5b07c1-506f-4db2-9c6c-0f3c3ca7fa8e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_181434e5-9f21-4ef8-a87a-dcda4cf1e79f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_15f912ea-6921-4b2a-908a-819f3aff93b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_a01dd789-c040-4022-ac30-5284edd8a740" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_15f912ea-6921-4b2a-908a-819f3aff93b6" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_a01dd789-c040-4022-ac30-5284edd8a740" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_2860b075-4c5b-41d2-ae27-a0307491c685" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_15f912ea-6921-4b2a-908a-819f3aff93b6" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_2860b075-4c5b-41d2-ae27-a0307491c685" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_0e0f57c1-595d-4889-85cf-48f10d4e79b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_99882cac-2706-4291-9a41-f064dc4f0c49" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_0e0f57c1-595d-4889-85cf-48f10d4e79b9" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_99882cac-2706-4291-9a41-f064dc4f0c49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_92631dbc-4fee-4e39-ba78-35fd947f7ab7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_0e0f57c1-595d-4889-85cf-48f10d4e79b9" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_92631dbc-4fee-4e39-ba78-35fd947f7ab7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_OtherOperatingIncomeExpenseMiscellaneousNet_3c76c4bc-39bd-462a-b38e-b57a74cbc822" xlink:href="ecarx-20250630.xsd#ecarx_OtherOperatingIncomeExpenseMiscellaneousNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_0e0f57c1-595d-4889-85cf-48f10d4e79b9" xlink:to="loc_ecarx_OtherOperatingIncomeExpenseMiscellaneousNet_3c76c4bc-39bd-462a-b38e-b57a74cbc822" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_c88af970-f971-47ef-95cf-1d96e22458bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_d156e564-24f4-47ae-b347-b2a0baaef192" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_c88af970-f971-47ef-95cf-1d96e22458bc" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_d156e564-24f4-47ae-b347-b2a0baaef192" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_10cd87cd-394c-4dc9-9ae0-6b4ff9488b85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_c88af970-f971-47ef-95cf-1d96e22458bc" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_10cd87cd-394c-4dc9-9ae0-6b4ff9488b85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_9fef3f22-04b6-4682-a11a-593df80fa15c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_d953aa8f-3a70-4051-903b-275ef1814f8f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_9fef3f22-04b6-4682-a11a-593df80fa15c" xlink:to="loc_us-gaap_GrossProfit_d953aa8f-3a70-4051-903b-275ef1814f8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_b4974724-8036-4d70-a6ce-b6da93068cab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_9fef3f22-04b6-4682-a11a-593df80fa15c" xlink:to="loc_us-gaap_OperatingExpenses_b4974724-8036-4d70-a6ce-b6da93068cab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ea4f3bf1-5f0e-44ca-a6e8-5a1de1308536" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_f6b844ea-b4a5-4fb2-aaf7-91defb1a8f44" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ea4f3bf1-5f0e-44ca-a6e8-5a1de1308536" xlink:to="loc_us-gaap_OperatingIncomeLoss_f6b844ea-b4a5-4fb2-aaf7-91defb1a8f44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_06110856-6459-4e94-b78f-04781f98df21" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ea4f3bf1-5f0e-44ca-a6e8-5a1de1308536" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_06110856-6459-4e94-b78f-04781f98df21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_322e06db-7ffa-47e3-9c28-43d97ec39010" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ea4f3bf1-5f0e-44ca-a6e8-5a1de1308536" xlink:to="loc_us-gaap_InterestExpenseNonoperating_322e06db-7ffa-47e3-9c28-43d97ec39010" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_67a4b44d-da6e-4ed2-a05a-23a916d3a0a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ea4f3bf1-5f0e-44ca-a6e8-5a1de1308536" xlink:to="loc_us-gaap_InvestmentIncomeInterest_67a4b44d-da6e-4ed2-a05a-23a916d3a0a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_db040ed3-90c5-4567-a336-a262f95b4017" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ea4f3bf1-5f0e-44ca-a6e8-5a1de1308536" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_db040ed3-90c5-4567-a336-a262f95b4017" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_4892b757-8ab4-49e7-b49f-1b62b03e8f65" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_80c64da2-3178-4065-8c50-616a0aa2c093" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_4892b757-8ab4-49e7-b49f-1b62b03e8f65" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_80c64da2-3178-4065-8c50-616a0aa2c093" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_7dacaf4b-bd7d-49d4-bcfd-67785aade12e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_4892b757-8ab4-49e7-b49f-1b62b03e8f65" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_7dacaf4b-bd7d-49d4-bcfd-67785aade12e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_5eda34d0-2668-49f6-9929-9513573a485f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_d0566617-9962-4f3b-b735-aa187f24577c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_5eda34d0-2668-49f6-9929-9513573a485f" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_d0566617-9962-4f3b-b735-aa187f24577c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_6b62c204-e07c-461b-9846-7fd3db822e63" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_5eda34d0-2668-49f6-9929-9513573a485f" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_6b62c204-e07c-461b-9846-7fd3db822e63" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="ecarx-20250630.xsd#UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromShortTermDebt_86d4e01c-40ee-4f4d-91c2-391961944d1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromShortTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_us-gaap_ProceedsFromShortTermDebt_86d4e01c-40ee-4f4d-91c2-391961944d1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebt_cf11d106-90d4-4405-a843-ffe0af4de347" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfShortTermDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebt_cf11d106-90d4-4405-a843-ffe0af4de347" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRelatedPartyDebt_65d5df1b-a9fe-4ae0-9ed8-eadfc8136a53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromRelatedPartyDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_us-gaap_ProceedsFromRelatedPartyDebt_65d5df1b-a9fe-4ae0-9ed8-eadfc8136a53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfRelatedPartyDebt_3e036b90-7172-4099-827f-42305c3ae9c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfRelatedPartyDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_us-gaap_RepaymentsOfRelatedPartyDebt_3e036b90-7172-4099-827f-42305c3ae9c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_CashPaymentNotSoonAfterBusinessAcquisition_604e204b-4742-420a-b193-c1c3e9e422c9" xlink:href="ecarx-20250630.xsd#ecarx_CashPaymentNotSoonAfterBusinessAcquisition"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_ecarx_CashPaymentNotSoonAfterBusinessAcquisition_604e204b-4742-420a-b193-c1c3e9e422c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_CashPaymentNotSoonAfterPurchaseOfIntangibleAssets_8d5f2693-17d2-4811-a34f-fb96fe14594e" xlink:href="ecarx-20250630.xsd#ecarx_CashPaymentNotSoonAfterPurchaseOfIntangibleAssets"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_ecarx_CashPaymentNotSoonAfterPurchaseOfIntangibleAssets_8d5f2693-17d2-4811-a34f-fb96fe14594e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfInitialPublicOffering_3e604db8-c88f-472e-950a-6ca21afbece7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfInitialPublicOffering"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfInitialPublicOffering_3e604db8-c88f-472e-950a-6ca21afbece7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_b5b89b34-3213-4ab4-913e-7bbc7ed6a5bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_b5b89b34-3213-4ab4-913e-7bbc7ed6a5bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_aaadb8c4-18fa-4d8f-b392-0ab06be8d270" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_aaadb8c4-18fa-4d8f-b392-0ab06be8d270" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_11a762a9-cc88-4ad2-934a-1749aee0052a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_11a762a9-cc88-4ad2-934a-1749aee0052a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfMergerRelatedCostsFinancingActivities_2aa29195-a610-409c-9632-2b9df02b82a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfMergerRelatedCostsFinancingActivities"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_us-gaap_PaymentsOfMergerRelatedCostsFinancingActivities_2aa29195-a610-409c-9632-2b9df02b82a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_ProceedsFromConditionalGovernmentGrants_64190260-0e68-4836-bd7f-781b1353872b" xlink:href="ecarx-20250630.xsd#ecarx_ProceedsFromConditionalGovernmentGrants"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e8cd16d3-4ab1-4668-91f6-4dc313aadd37" xlink:to="loc_ecarx_ProceedsFromConditionalGovernmentGrants_64190260-0e68-4836-bd7f-781b1353872b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a865e6d7-4025-4e3f-801f-1f0c2737ac8a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_1b18ff27-ea37-43e8-9a9c-8ad012991aa8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a865e6d7-4025-4e3f-801f-1f0c2737ac8a" xlink:to="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_1b18ff27-ea37-43e8-9a9c-8ad012991aa8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_34504880-715a-4af1-859f-f8ff9e45c464" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a865e6d7-4025-4e3f-801f-1f0c2737ac8a" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_34504880-715a-4af1-859f-f8ff9e45c464" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_3bc2bc71-ff78-4e92-99b6-e86b085d2424" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToFundLongtermLoansToRelatedParties"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a865e6d7-4025-4e3f-801f-1f0c2737ac8a" xlink:to="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_3bc2bc71-ff78-4e92-99b6-e86b085d2424" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties_64e2f942-9dd3-4ee3-b4ea-9379526f69b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a865e6d7-4025-4e3f-801f-1f0c2737ac8a" xlink:to="loc_us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties_64e2f942-9dd3-4ee3-b4ea-9379526f69b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_4f893942-e2ec-412d-bba7-18c11035ab15" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a865e6d7-4025-4e3f-801f-1f0c2737ac8a" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_4f893942-e2ec-412d-bba7-18c11035ab15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_ReceivablesFromPartialSaleOfEquityInterestInSubsidiary_ffa0ed60-98ca-4973-bef6-3eee8803faae" xlink:href="ecarx-20250630.xsd#ecarx_ReceivablesFromPartialSaleOfEquityInterestInSubsidiary"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a865e6d7-4025-4e3f-801f-1f0c2737ac8a" xlink:to="loc_ecarx_ReceivablesFromPartialSaleOfEquityInterestInSubsidiary_ffa0ed60-98ca-4973-bef6-3eee8803faae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_a481b009-f120-4e72-8e29-11ea6d5d00ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a865e6d7-4025-4e3f-801f-1f0c2737ac8a" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_a481b009-f120-4e72-8e29-11ea6d5d00ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_701293cb-8f6e-4c5d-9d2a-30a7b28fbd18" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a865e6d7-4025-4e3f-801f-1f0c2737ac8a" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_701293cb-8f6e-4c5d-9d2a-30a7b28fbd18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_12cc8bac-f2cb-4edb-a8aa-b5015e9dd8d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfProductiveAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a865e6d7-4025-4e3f-801f-1f0c2737ac8a" xlink:to="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_12cc8bac-f2cb-4edb-a8aa-b5015e9dd8d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2cc76238-4986-4fd5-8be7-40c3613495ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_c0c90ba1-6740-4c08-ba2c-bb92f27737fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2cc76238-4986-4fd5-8be7-40c3613495ea" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_c0c90ba1-6740-4c08-ba2c-bb92f27737fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_160238d7-9f3b-40e5-a596-f8288c4218b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2cc76238-4986-4fd5-8be7-40c3613495ea" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_160238d7-9f3b-40e5-a596-f8288c4218b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4399dede-1a50-4823-ad31-251a1a8c62eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2cc76238-4986-4fd5-8be7-40c3613495ea" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4399dede-1a50-4823-ad31-251a1a8c62eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_388fdd67-c275-4a20-894d-53942521c2fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2cc76238-4986-4fd5-8be7-40c3613495ea" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_388fdd67-c275-4a20-894d-53942521c2fb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/CashandrestrictedcashReconciliationDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#CashandrestrictedcashReconciliationDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/CashandrestrictedcashReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_e1fdf2ff-f06b-4fdd-9b3a-a6e603f3f3d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_0a7342e7-eac2-4f87-bf64-3cbbe9ea3164" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_e1fdf2ff-f06b-4fdd-9b3a-a6e603f3f3d0" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_0a7342e7-eac2-4f87-bf64-3cbbe9ea3164" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_737fcfc7-4b05-4a49-868b-ff9c47e44358" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_e1fdf2ff-f06b-4fdd-9b3a-a6e603f3f3d0" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_737fcfc7-4b05-4a49-868b-ff9c47e44358" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/AccountsreceivablenetAccountsreceivablenetDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#AccountsreceivablenetAccountsreceivablenetDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/AccountsreceivablenetAccountsreceivablenetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_d067fd0e-4692-4be9-bd95-9a3f7eed06cd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_3cfd2d01-b611-4400-8e56-7fbffb3f1783" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_d067fd0e-4692-4be9-bd95-9a3f7eed06cd" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_3cfd2d01-b611-4400-8e56-7fbffb3f1783" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_aeef219d-c63e-4e26-b50a-53399baa9f4a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableGrossCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_d067fd0e-4692-4be9-bd95-9a3f7eed06cd" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_aeef219d-c63e-4e26-b50a-53399baa9f4a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/InventoriesInventoryDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#InventoriesInventoryDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/InventoriesInventoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_e5a29606-3873-419b-97df-c77e02976ca5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_7231316c-898a-4ead-8941-4661f3cf3282" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryRawMaterials"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_e5a29606-3873-419b-97df-c77e02976ca5" xlink:to="loc_us-gaap_InventoryRawMaterials_7231316c-898a-4ead-8941-4661f3cf3282" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_c8e28f39-9046-4fe2-b8b5-2bf4ea7743fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWorkInProcess"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_e5a29606-3873-419b-97df-c77e02976ca5" xlink:to="loc_us-gaap_InventoryWorkInProcess_c8e28f39-9046-4fe2-b8b5-2bf4ea7743fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_7d09d280-4b31-4d80-a0d9-3d8906f62e70" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFinishedGoods"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_e5a29606-3873-419b-97df-c77e02976ca5" xlink:to="loc_us-gaap_InventoryFinishedGoods_7d09d280-4b31-4d80-a0d9-3d8906f62e70" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/PrepaymentsandothercurrentassetsDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#PrepaymentsandothercurrentassetsDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/PrepaymentsandothercurrentassetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_79cd6418-c18e-4f12-b2e8-ec9b0d069ad4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Supplies_778a76dd-6074-4015-8ff2-84d15ff10d90" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Supplies"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_79cd6418-c18e-4f12-b2e8-ec9b0d069ad4" xlink:to="loc_us-gaap_Supplies_778a76dd-6074-4015-8ff2-84d15ff10d90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NontradeReceivablesCurrent_a4207ab2-d7e3-401d-a8f3-8b932b6d24db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NontradeReceivablesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_79cd6418-c18e-4f12-b2e8-ec9b0d069ad4" xlink:to="loc_us-gaap_NontradeReceivablesCurrent_a4207ab2-d7e3-401d-a8f3-8b932b6d24db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostNetCurrent_57d95017-46c1-4ad6-98b7-2c946d5924ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalizedContractCostNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_79cd6418-c18e-4f12-b2e8-ec9b0d069ad4" xlink:to="loc_us-gaap_CapitalizedContractCostNetCurrent_57d95017-46c1-4ad6-98b7-2c946d5924ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_623aaa02-5186-446a-9303-804a35e3ecda" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_79cd6418-c18e-4f12-b2e8-ec9b0d069ad4" xlink:to="loc_us-gaap_OtherAssetsCurrent_623aaa02-5186-446a-9303-804a35e3ecda" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/LongterminvestmentsDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#LongterminvestmentsDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/LongterminvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_f1911189-ae78-43f4-8f74-7dcc841d872a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_7f227bac-de61-4d6e-a122-00d0828a5fef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestments_f1911189-ae78-43f4-8f74-7dcc841d872a" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_7f227bac-de61-4d6e-a122-00d0828a5fef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_e3bbc47f-90f0-4fd1-bd86-8c4dc31a9d5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestments_f1911189-ae78-43f4-8f74-7dcc841d872a" xlink:to="loc_us-gaap_EquityMethodInvestments_e3bbc47f-90f0-4fd1-bd86-8c4dc31a9d5b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/PropertyandequipmentnetComponentsofpropertyandequipmentDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#PropertyandequipmentnetComponentsofpropertyandequipmentDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/PropertyandequipmentnetComponentsofpropertyandequipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_8144928b-cdb8-48c1-8a0b-7aae72acc998" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_PropertyPlantAndEquipmentImpairmentProvision_4a38dea1-2396-450e-915f-3bf0837daf84" xlink:href="ecarx-20250630.xsd#ecarx_PropertyPlantAndEquipmentImpairmentProvision"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_8144928b-cdb8-48c1-8a0b-7aae72acc998" xlink:to="loc_ecarx_PropertyPlantAndEquipmentImpairmentProvision_4a38dea1-2396-450e-915f-3bf0837daf84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_25a121e5-56bb-428b-9bfa-2126dcb37822" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_8144928b-cdb8-48c1-8a0b-7aae72acc998" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_25a121e5-56bb-428b-9bfa-2126dcb37822" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_1cde9773-bffb-4a62-87aa-3a56498e24d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_8144928b-cdb8-48c1-8a0b-7aae72acc998" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_1cde9773-bffb-4a62-87aa-3a56498e24d2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/IntangibleassetsnetIntangibleassetsDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#IntangibleassetsnetIntangibleassetsDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/IntangibleassetsnetIntangibleassetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_62779c0f-139f-40f6-ae41-5ab5644a7118" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_31711d93-87b8-4325-900c-2ea9de6ed837" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_62779c0f-139f-40f6-ae41-5ab5644a7118" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_31711d93-87b8-4325-900c-2ea9de6ed837" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_cfafff46-432c-48a9-a465-a97f79dfc48d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_62779c0f-139f-40f6-ae41-5ab5644a7118" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_cfafff46-432c-48a9-a465-a97f79dfc48d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_IntangibleAssetsImpairedAccumulatedImpairmentLoss_0ea5eac6-9369-4439-903e-6202897220a7" xlink:href="ecarx-20250630.xsd#ecarx_IntangibleAssetsImpairedAccumulatedImpairmentLoss"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_62779c0f-139f-40f6-ae41-5ab5644a7118" xlink:to="loc_ecarx_IntangibleAssetsImpairedAccumulatedImpairmentLoss_0ea5eac6-9369-4439-903e-6202897220a7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/LeasesComponentsofleasecostDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#LeasesComponentsofleasecostDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/LeasesComponentsofleasecostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_74dac396-44e0-47c5-b51d-fe73571c2410" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_bd7dc78b-4b14-4570-85ab-967f4e8c80fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_74dac396-44e0-47c5-b51d-fe73571c2410" xlink:to="loc_us-gaap_OperatingLeaseCost_bd7dc78b-4b14-4570-85ab-967f4e8c80fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_b04447db-4718-4216-a960-b446a732146a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_74dac396-44e0-47c5-b51d-fe73571c2410" xlink:to="loc_us-gaap_ShortTermLeaseCost_b04447db-4718-4216-a960-b446a732146a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/LeasesOperatingleaserightofuseassetsandtheamortizationDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#LeasesOperatingleaserightofuseassetsandtheamortizationDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/LeasesOperatingleaserightofuseassetsandtheamortizationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_3821dc04-d954-4a4f-8490-4fe3e237d734" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_OperatingLeaseRightOfUseAssetBeforeAccumulatedDepreciation_952a723b-e5ea-487c-807b-f1e578e24596" xlink:href="ecarx-20250630.xsd#ecarx_OperatingLeaseRightOfUseAssetBeforeAccumulatedDepreciation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseRightOfUseAsset_3821dc04-d954-4a4f-8490-4fe3e237d734" xlink:to="loc_ecarx_OperatingLeaseRightOfUseAssetBeforeAccumulatedDepreciation_952a723b-e5ea-487c-807b-f1e578e24596" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_OperatingLeaseRightOfUseAssetAccumulatedAmortization_7e837ebd-cfb2-46eb-8cca-b2168bd0da3b" xlink:href="ecarx-20250630.xsd#ecarx_OperatingLeaseRightOfUseAssetAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseRightOfUseAsset_3821dc04-d954-4a4f-8490-4fe3e237d734" xlink:to="loc_ecarx_OperatingLeaseRightOfUseAssetAccumulatedAmortization_7e837ebd-cfb2-46eb-8cca-b2168bd0da3b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/AccruedexpensesandothercurrentliabilitiesandProvisionAccruedexpensesandothercurrentliabilitiesDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#AccruedexpensesandothercurrentliabilitiesandProvisionAccruedexpensesandothercurrentliabilitiesDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/AccruedexpensesandothercurrentliabilitiesandProvisionAccruedexpensesandothercurrentliabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_03124baa-6937-4b4c-933d-c09aef4051de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_ee5d5df7-f01f-469d-8df0-a267536017a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_03124baa-6937-4b4c-933d-c09aef4051de" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_ee5d5df7-f01f-469d-8df0-a267536017a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesAndExciseTaxPayableCurrentAndNoncurrent_0392561f-106c-486f-aa7c-8ac409ded0ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesAndExciseTaxPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_03124baa-6937-4b4c-933d-c09aef4051de" xlink:to="loc_us-gaap_SalesAndExciseTaxPayableCurrentAndNoncurrent_0392561f-106c-486f-aa7c-8ac409ded0ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_3b7bd373-2b71-4768-9260-4195578febd5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_03124baa-6937-4b4c-933d-c09aef4051de" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_3b7bd373-2b71-4768-9260-4195578febd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_AccruedCostsOfMergerCurrent_68fedbc0-c337-4040-953f-489c3d4f8af0" xlink:href="ecarx-20250630.xsd#ecarx_AccruedCostsOfMergerCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_03124baa-6937-4b4c-933d-c09aef4051de" xlink:to="loc_ecarx_AccruedCostsOfMergerCurrent_68fedbc0-c337-4040-953f-489c3d4f8af0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_b18bd49c-ade5-4ce0-a429-6517aa4a28c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_03124baa-6937-4b4c-933d-c09aef4051de" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_b18bd49c-ade5-4ce0-a429-6517aa4a28c9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/AccruedexpensesandothercurrentliabilitiesandProvisionProductwarrantiesDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#AccruedexpensesandothercurrentliabilitiesandProvisionProductwarrantiesDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/AccruedexpensesandothercurrentliabilitiesandProvisionProductwarrantiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_b1d57ee9-d733-4340-b08b-9bd61b9f241a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StandardProductWarrantyAccrual"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualNoncurrent_7130640f-6812-40b2-85c5-7239a58781c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductWarrantyAccrualNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StandardProductWarrantyAccrual_b1d57ee9-d733-4340-b08b-9bd61b9f241a" xlink:to="loc_us-gaap_ProductWarrantyAccrualNoncurrent_7130640f-6812-40b2-85c5-7239a58781c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_04ea0da2-88e8-4f62-8c89-dda8e38d77bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StandardProductWarrantyAccrual_b1d57ee9-d733-4340-b08b-9bd61b9f241a" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_04ea0da2-88e8-4f62-8c89-dda8e38d77bf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/ConvertiblenotespayableDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#ConvertiblenotespayableDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/ConvertiblenotespayableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleLongTermNotesPayable_f6059ff9-5695-4537-9432-093a934f5e00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertibleLongTermNotesPayable"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_8dea7e20-6714-4209-bd19-d5e81563321a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ConvertibleLongTermNotesPayable_f6059ff9-5695-4537-9432-093a934f5e00" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_8dea7e20-6714-4209-bd19-d5e81563321a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_e8f519d8-f41b-4c67-a4d6-b36a9e56d9c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ConvertibleLongTermNotesPayable_f6059ff9-5695-4537-9432-093a934f5e00" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_e8f519d8-f41b-4c67-a4d6-b36a9e56d9c5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/RevenueinformationScheduleofcontractliabilitiesDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#RevenueinformationScheduleofcontractliabilitiesDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/RevenueinformationScheduleofcontractliabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_44349fa7-e6e9-4b40-91ea-8ec1faad0099" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_5eac4ee3-cf4e-4b05-a260-e22ed9b979b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractWithCustomerLiability_44349fa7-e6e9-4b40-91ea-8ec1faad0099" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_5eac4ee3-cf4e-4b05-a260-e22ed9b979b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_98b5ce23-6c13-4b32-b3ee-532ca85050d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractWithCustomerLiability_44349fa7-e6e9-4b40-91ea-8ec1faad0099" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_98b5ce23-6c13-4b32-b3ee-532ca85050d8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/OthernonoperatingexpensesincomenetDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#OthernonoperatingexpensesincomenetDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/OthernonoperatingexpensesincomenetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_9983fd85-cc17-4ecf-a902-f106c1c7a340" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_f4a83962-88c8-4199-93f1-c8baceaa1abd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_9983fd85-cc17-4ecf-a902-f106c1c7a340" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_f4a83962-88c8-4199-93f1-c8baceaa1abd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAdjustmentOfWarrants_5c981290-20ac-4246-a400-ba37cbd9bb41" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAdjustmentOfWarrants"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_9983fd85-cc17-4ecf-a902-f106c1c7a340" xlink:to="loc_us-gaap_FairValueAdjustmentOfWarrants_5c981290-20ac-4246-a400-ba37cbd9bb41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GovernmentAssistanceAmount_70507d1d-f3ed-4ec7-a810-7af38a6ed4ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GovernmentAssistanceAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_9983fd85-cc17-4ecf-a902-f106c1c7a340" xlink:to="loc_us-gaap_GovernmentAssistanceAmount_70507d1d-f3ed-4ec7-a810-7af38a6ed4ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_ead883d9-4625-4c10-9de9-f461eed4b012" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_9983fd85-cc17-4ecf-a902-f106c1c7a340" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_ead883d9-4625-4c10-9de9-f461eed4b012" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_OtherNonoperatingIncomeExpenseOthersNet_9acc9622-ad64-421b-ab98-4bf1c5492baf" xlink:href="ecarx-20250630.xsd#ecarx_OtherNonoperatingIncomeExpenseOthersNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_9983fd85-cc17-4ecf-a902-f106c1c7a340" xlink:to="loc_ecarx_OtherNonoperatingIncomeExpenseOthersNet_9acc9622-ad64-421b-ab98-4bf1c5492baf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/CommitmentsandcontingenciesDetails" xlink:type="simple" xlink:href="ecarx-20250630.xsd#CommitmentsandcontingenciesDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/CommitmentsandcontingenciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligation_729de333-ca39-407a-adb0-a57f5af256e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_5220d6d5-ae69-46b8-931e-e9c9d6bb5f79" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_729de333-ca39-407a-adb0-a57f5af256e6" xlink:to="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_5220d6d5-ae69-46b8-931e-e9c9d6bb5f79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInSecondYear_49cb6efa-43bc-4085-935d-789777e770a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInSecondYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_729de333-ca39-407a-adb0-a57f5af256e6" xlink:to="loc_us-gaap_PurchaseObligationDueInSecondYear_49cb6efa-43bc-4085-935d-789777e770a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInThirdYear_9a8ef034-c087-4b93-8cec-f11698390a11" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInThirdYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_729de333-ca39-407a-adb0-a57f5af256e6" xlink:to="loc_us-gaap_PurchaseObligationDueInThirdYear_9a8ef034-c087-4b93-8cec-f11698390a11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInFourthAndFifthYear_97e63cad-31f9-4adf-8573-a8b42e70d3c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInFourthAndFifthYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_729de333-ca39-407a-adb0-a57f5af256e6" xlink:to="loc_us-gaap_PurchaseObligationDueInFourthAndFifthYear_97e63cad-31f9-4adf-8573-a8b42e70d3c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueAfterFifthYear_e30e6d54-4dfe-44e7-a15e-01670ca41012" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueAfterFifthYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_729de333-ca39-407a-adb0-a57f5af256e6" xlink:to="loc_us-gaap_PurchaseObligationDueAfterFifthYear_e30e6d54-4dfe-44e7-a15e-01670ca41012" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_489ad60a-1766-45e1-bd75-1d1c76695740" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueAfterFifthYear_4987ac9a-42b2-4803-bd39-4f6e4957613d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueAfterFifthYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_489ad60a-1766-45e1-bd75-1d1c76695740" xlink:to="loc_us-gaap_ContractualObligationDueAfterFifthYear_4987ac9a-42b2-4803-bd39-4f6e4957613d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInSecondYear_c73016c9-23c7-4b84-9aba-10c618fabfb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueInSecondYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_489ad60a-1766-45e1-bd75-1d1c76695740" xlink:to="loc_us-gaap_ContractualObligationDueInSecondYear_c73016c9-23c7-4b84-9aba-10c618fabfb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_94267ecb-dd46-425e-8e4a-afc4e3136735" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueInFourthAndFifthYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_489ad60a-1766-45e1-bd75-1d1c76695740" xlink:to="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_94267ecb-dd46-425e-8e4a-afc4e3136735" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInThirdYear_eb89e4b8-efbc-4b85-8703-a01e2b287e50" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueInThirdYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_489ad60a-1766-45e1-bd75-1d1c76695740" xlink:to="loc_us-gaap_ContractualObligationDueInThirdYear_eb89e4b8-efbc-4b85-8703-a01e2b287e50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_3d38b9f4-d89a-446a-94f5-8e4185efc9a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueInNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_489ad60a-1766-45e1-bd75-1d1c76695740" xlink:to="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_3d38b9f4-d89a-446a-94f5-8e4185efc9a8" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
