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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:01a000c4-96a5-7cd3-8d17-9c2946a7adc4,g:07d19b6f-33ab-4521-b4fd-2906914dcf89-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="ecarx-20260630.xsd#UNAUDITEDCONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_01a000c4-984c-758a-96aa-d7a4e18a28b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7bf5-86aa-33cdc309fce8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a000c4-984c-758a-96aa-d7a4e18a28b9" xlink:to="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7bf5-86aa-33cdc309fce8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_01a000c4-984c-7e9b-b42a-6191caf957a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a000c4-984c-758a-96aa-d7a4e18a28b9" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_01a000c4-984c-7e9b-b42a-6191caf957a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_01a000c4-984c-773f-a914-76f4e210853e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_01a000c4-984c-737e-832d-a71e6c910d45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_01a000c4-984c-773f-a914-76f4e210853e" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_01a000c4-984c-737e-832d-a71e6c910d45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_01a000c4-984c-78ce-88b9-4ef7cf4e4150" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_01a000c4-984c-773f-a914-76f4e210853e" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_01a000c4-984c-78ce-88b9-4ef7cf4e4150" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLossCurrent_01a000c4-984c-7813-815e-b8a01fb2aded" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLossCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_01a000c4-984c-773f-a914-76f4e210853e" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLossCurrent_01a000c4-984c-7813-815e-b8a01fb2aded" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_01a000c4-984c-7899-bfa0-2aaaf12dc939" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_01a000c4-984c-773f-a914-76f4e210853e" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_01a000c4-984c-7899-bfa0-2aaaf12dc939" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a000c4-984c-78c9-b18a-b728d0712165" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_01a000c4-984c-773f-a914-76f4e210853e" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a000c4-984c-78c9-b18a-b728d0712165" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_01a000c4-984c-776e-bd88-09203f9a6d36" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_01a000c4-984c-773f-a914-76f4e210853e" xlink:to="loc_us-gaap_InventoryNet_01a000c4-984c-776e-bd88-09203f9a6d36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_01a000c4-984c-707c-996d-879cefeb9246" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherReceivablesNetCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_01a000c4-984c-773f-a914-76f4e210853e" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_01a000c4-984c-707c-996d-879cefeb9246" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_01a000c4-984c-7ea4-ac16-a222650167c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_01a000c4-984c-773f-a914-76f4e210853e" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_01a000c4-984c-7ea4-ac16-a222650167c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_01a01003-c905-7829-91bf-48775d22b982" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_01a01003-c905-7f93-9b48-d3f71afeca88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_01a01003-c905-7829-91bf-48775d22b982" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_01a01003-c905-7f93-9b48-d3f71afeca88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_01a000c4-984c-7ee1-8716-96da75ee8ea5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_01a000c4-984c-7a3c-88cf-e358c6222998" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_01a000c4-984c-7ee1-8716-96da75ee8ea5" xlink:to="loc_us-gaap_LongTermInvestments_01a000c4-984c-7a3c-88cf-e358c6222998" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_01a000c4-984c-73ce-9d21-b654c2ad2c2e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_01a000c4-984c-7ee1-8716-96da75ee8ea5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_01a000c4-984c-73ce-9d21-b654c2ad2c2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_01a000c4-984c-7d69-9313-fb2bda0d0ddc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_01a000c4-984c-7ee1-8716-96da75ee8ea5" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_01a000c4-984c-7d69-9313-fb2bda0d0ddc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_01a000c4-984c-7936-afe8-bd92490b9980" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_01a000c4-984c-7ee1-8716-96da75ee8ea5" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_01a000c4-984c-7936-afe8-bd92490b9980" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_01a000c4-984c-7ad2-90da-8a031ecb52cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_01a000c4-984c-7ee1-8716-96da75ee8ea5" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_01a000c4-984c-7ad2-90da-8a031ecb52cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_01a000c4-984c-7c88-a27e-f9277f464d7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNoncurrent_01a000c4-984c-7ee1-8716-96da75ee8ea5" xlink:to="loc_us-gaap_Goodwill_01a000c4-984c-7c88-a27e-f9277f464d7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_01a000c4-984c-7539-9bd9-e38a83d954ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_01a000c4-984c-7c88-ba21-5a0c6e98b846" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a000c4-984c-7539-9bd9-e38a83d954ae" xlink:to="loc_us-gaap_AssetsCurrent_01a000c4-984c-7c88-ba21-5a0c6e98b846" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_01a000c4-984c-7325-9a91-321574259544" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a000c4-984c-7539-9bd9-e38a83d954ae" xlink:to="loc_us-gaap_AssetsNoncurrent_01a000c4-984c-7325-9a91-321574259544" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_01a000c4-984c-7e56-9a69-e76550e69b69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_01a000c4-984c-753e-aa66-877eae0e6c2b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_01a000c4-984c-7e56-9a69-e76550e69b69" xlink:to="loc_us-gaap_CommonStockValue_01a000c4-984c-753e-aa66-877eae0e6c2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_01a000c4-984c-70b4-9564-55755026d09b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_01a000c4-984c-7e56-9a69-e76550e69b69" xlink:to="loc_us-gaap_TreasuryStockValue_01a000c4-984c-70b4-9564-55755026d09b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_01a000c4-984c-7b56-9cbd-36b71eb4da51" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_01a000c4-984c-7e56-9a69-e76550e69b69" xlink:to="loc_us-gaap_AdditionalPaidInCapital_01a000c4-984c-7b56-9cbd-36b71eb4da51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_01a000c4-984c-746b-bdbc-7f7e72832932" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_01a000c4-984c-7e56-9a69-e76550e69b69" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_01a000c4-984c-746b-bdbc-7f7e72832932" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_01a000c4-984c-74c9-b639-a60fb4a02432" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_01a000c4-984c-7e56-9a69-e76550e69b69" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_01a000c4-984c-74c9-b639-a60fb4a02432" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-7a6f-893e-21dc67f9884e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_01a000c4-984c-77cf-bc9d-e0d9e559c865" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-7a6f-893e-21dc67f9884e" xlink:to="loc_us-gaap_MinorityInterest_01a000c4-984c-77cf-bc9d-e0d9e559c865" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_01a000c4-984c-7a3d-abf2-3754f7a54f60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-7a6f-893e-21dc67f9884e" xlink:to="loc_us-gaap_StockholdersEquity_01a000c4-984c-7a3d-abf2-3754f7a54f60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_01a000c4-984c-76ea-b767-348089fbb322" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebt_01a000c4-984c-74fd-96ce-c368c352cf09" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_01a000c4-984c-76ea-b767-348089fbb322" xlink:to="loc_us-gaap_OtherLongTermDebt_01a000c4-984c-74fd-96ce-c368c352cf09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_01a000c4-984c-7ce8-9603-fdab13a4339d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_01a000c4-984c-76ea-b767-348089fbb322" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_01a000c4-984c-7ce8-9603-fdab13a4339d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleLongTermNotesPayable_01a000c4-984c-7fe5-927d-190ebbde88e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleLongTermNotesPayable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_01a000c4-984c-76ea-b767-348089fbb322" xlink:to="loc_us-gaap_ConvertibleLongTermNotesPayable_01a000c4-984c-7fe5-927d-190ebbde88e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_01a000c4-984c-75df-9492-24b358994e1c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_01a000c4-984c-76ea-b767-348089fbb322" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_01a000c4-984c-75df-9492-24b358994e1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantsAndRightsOutstanding_01a000c4-984c-7155-a2ce-ea4d3ce6b012" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WarrantsAndRightsOutstanding"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_01a000c4-984c-76ea-b767-348089fbb322" xlink:to="loc_us-gaap_WarrantsAndRightsOutstanding_01a000c4-984c-7155-a2ce-ea4d3ce6b012" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualNoncurrent_01a000c4-984c-7e06-a649-584ad46bbe47" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProductWarrantyAccrualNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_01a000c4-984c-76ea-b767-348089fbb322" xlink:to="loc_us-gaap_ProductWarrantyAccrualNoncurrent_01a000c4-984c-7e06-a649-584ad46bbe47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_01a0100b-6539-7706-8fe8-42a67958e3d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_01a000c4-984c-76ea-b767-348089fbb322" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_01a0100b-6539-7706-8fe8-42a67958e3d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_01a0100b-6539-741c-8db8-8bc2a2402b85" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesNoncurrent_01a000c4-984c-76ea-b767-348089fbb322" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_01a0100b-6539-741c-8db8-8bc2a2402b85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7906-af7d-dd62c0ac1218" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_01a000c4-984c-7c11-9861-b5d30e2550df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7906-af7d-dd62c0ac1218" xlink:to="loc_us-gaap_ShortTermBorrowings_01a000c4-984c-7c11-9861-b5d30e2550df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_01a000c4-984c-71fa-9f11-209506a63e6e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7906-af7d-dd62c0ac1218" xlink:to="loc_us-gaap_AccountsPayableCurrent_01a000c4-984c-71fa-9f11-209506a63e6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNotesPayableCurrent_01a000c4-984c-75d6-aea1-c35651b108f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNotesPayableCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7906-af7d-dd62c0ac1218" xlink:to="loc_us-gaap_OtherNotesPayableCurrent_01a000c4-984c-75d6-aea1-c35651b108f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_01a000c4-984c-7cb2-943d-85e55ad0f9a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7906-af7d-dd62c0ac1218" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_01a000c4-984c-7cb2-943d-85e55ad0f9a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_01a000c4-984c-71e9-a51e-9fd60dd408a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7906-af7d-dd62c0ac1218" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_01a000c4-984c-71e9-a51e-9fd60dd408a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_01a000c4-984c-75cd-9eb0-c5cd32e3c798" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7906-af7d-dd62c0ac1218" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_01a000c4-984c-75cd-9eb0-c5cd32e3c798" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_01a000c4-984c-74dd-ba56-082a6b0e05d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7906-af7d-dd62c0ac1218" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_01a000c4-984c-74dd-ba56-082a6b0e05d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleNotesPayableCurrent_01a000c4-984c-7ca8-a11a-df27e88da7f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleNotesPayableCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7906-af7d-dd62c0ac1218" xlink:to="loc_us-gaap_ConvertibleNotesPayableCurrent_01a000c4-984c-7ca8-a11a-df27e88da7f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_01a000c4-984c-796b-875f-515774bbd487" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_01a000c4-984c-7906-af7d-dd62c0ac1218" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_01a000c4-984c-796b-875f-515774bbd487" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_01a000c4-984c-7541-9c00-52864bbd370d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-7aac-bc75-2c942b4445f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_01a000c4-984c-7541-9c00-52864bbd370d" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-7aac-bc75-2c942b4445f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_01a000c4-984c-77e4-b441-ab54ece1e073" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_01a000c4-984c-7541-9c00-52864bbd370d" xlink:to="loc_us-gaap_Liabilities_01a000c4-984c-77e4-b441-ab54ece1e073" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_01a000c4-984c-721a-8f2a-4e46a98f921c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_01a000c4-984c-7541-9c00-52864bbd370d" xlink:to="loc_us-gaap_CommitmentsAndContingencies_01a000c4-984c-721a-8f2a-4e46a98f921c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_01a03d88-c373-7135-8ef0-ccfe9b91c76c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_01a000c4-984c-7541-9c00-52864bbd370d" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_01a03d88-c373-7135-8ef0-ccfe9b91c76c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS" xlink:type="simple" xlink:href="ecarx-20260630.xsd#UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_01a000c4-984c-7b30-8914-6e657d95202e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_01a000c4-984c-7c3c-bb1e-27d30639195e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_01a000c4-984c-7b30-8914-6e657d95202e" xlink:to="loc_us-gaap_GrossProfit_01a000c4-984c-7c3c-bb1e-27d30639195e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_01a000c4-984c-766a-ba7c-abc2901ac789" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_01a000c4-984c-7b30-8914-6e657d95202e" xlink:to="loc_us-gaap_OperatingExpenses_01a000c4-984c-766a-ba7c-abc2901ac789" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-7716-b81f-546dd778b67d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a000c4-984c-74bc-9f9c-57dbf235f834" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-7716-b81f-546dd778b67d" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a000c4-984c-74bc-9f9c-57dbf235f834" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_01a000c4-984c-70f5-b467-6dabc7268865" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-7716-b81f-546dd778b67d" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_01a000c4-984c-70f5-b467-6dabc7268865" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a000c4-984c-7107-b33f-3a27b472e133" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-74f9-8e4c-fdedd6b64abd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a000c4-984c-7107-b33f-3a27b472e133" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-74f9-8e4c-fdedd6b64abd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_ComprehensiveIncomeLossNetOfTaxAttributableToNonredeemableNoncontrollingInterest_01a000c4-984c-762b-b572-e66c3f409e40" xlink:href="ecarx-20260630.xsd#ecarx_ComprehensiveIncomeLossNetOfTaxAttributableToNonredeemableNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a000c4-984c-7107-b33f-3a27b472e133" xlink:to="loc_ecarx_ComprehensiveIncomeLossNetOfTaxAttributableToNonredeemableNoncontrollingInterest_01a000c4-984c-762b-b572-e66c3f409e40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_ComprehensiveIncomeLossNetOfTaxAttributableToRedeemableNoncontrollingInterest_01a01054-aed0-7314-afde-221dfdfec526" xlink:href="ecarx-20260630.xsd#ecarx_ComprehensiveIncomeLossNetOfTaxAttributableToRedeemableNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a000c4-984c-7107-b33f-3a27b472e133" xlink:to="loc_ecarx_ComprehensiveIncomeLossNetOfTaxAttributableToRedeemableNoncontrollingInterest_01a01054-aed0-7314-afde-221dfdfec526" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionToRedemptionValueAdjustment_01a01054-aed0-7d0a-8196-86b18afbc6df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TemporaryEquityAccretionToRedemptionValueAdjustment"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_01a000c4-984c-7107-b33f-3a27b472e133" xlink:to="loc_us-gaap_TemporaryEquityAccretionToRedemptionValueAdjustment_01a01054-aed0-7d0a-8196-86b18afbc6df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_01a000c4-984c-7e75-b7ac-7276c80b1567" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_01a000c4-984c-7ae6-be73-c13b886a8a2d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_01a000c4-984c-7e75-b7ac-7276c80b1567" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_01a000c4-984c-7ae6-be73-c13b886a8a2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_01a000c4-984c-760f-b65b-e7e2acb416f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_01a000c4-984c-7e75-b7ac-7276c80b1567" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_01a000c4-984c-760f-b65b-e7e2acb416f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a000c4-984c-79ef-9487-54d7d3934e73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_01a000c4-984c-7826-b962-3071685c1bcc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a000c4-984c-79ef-9487-54d7d3934e73" xlink:to="loc_us-gaap_OperatingIncomeLoss_01a000c4-984c-7826-b962-3071685c1bcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_01a000c4-984c-7082-803c-b6fae23d5471" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a000c4-984c-79ef-9487-54d7d3934e73" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_01a000c4-984c-7082-803c-b6fae23d5471" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_01a000c4-984c-7605-9939-04a6a3d8e2ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a000c4-984c-79ef-9487-54d7d3934e73" xlink:to="loc_us-gaap_InterestExpenseNonoperating_01a000c4-984c-7605-9939-04a6a3d8e2ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_01a000c4-984c-7d58-a60a-4301e31b9941" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a000c4-984c-79ef-9487-54d7d3934e73" xlink:to="loc_us-gaap_InvestmentIncomeInterest_01a000c4-984c-7d58-a60a-4301e31b9941" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_01a000c4-984c-7d94-be1c-c09f4cea4e2c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a000c4-984c-79ef-9487-54d7d3934e73" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_01a000c4-984c-7d94-be1c-c09f4cea4e2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_01a01052-1078-7193-bbbf-8d96c8a0596f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_01a01052-1078-7786-bb80-042de14ed335" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_01a01052-1078-7193-bbbf-8d96c8a0596f" xlink:to="loc_us-gaap_NetIncomeLoss_01a01052-1078-7786-bb80-042de14ed335" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionToRedemptionValueAdjustment_01a01052-1078-725f-89d4-397dd06ad426" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TemporaryEquityAccretionToRedemptionValueAdjustment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_01a01052-1078-7193-bbbf-8d96c8a0596f" xlink:to="loc_us-gaap_TemporaryEquityAccretionToRedemptionValueAdjustment_01a01052-1078-725f-89d4-397dd06ad426" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-712c-a62a-a17d3a52cf15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-766e-8159-13b06c510675" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-712c-a62a-a17d3a52cf15" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-766e-8159-13b06c510675" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_01a000c4-984c-7457-a45a-18d4c62b5f7e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-712c-a62a-a17d3a52cf15" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_01a000c4-984c-7457-a45a-18d4c62b5f7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_01a01053-5d70-75b2-b2a1-ed3cc57f5c50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-712c-a62a-a17d3a52cf15" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_01a01053-5d70-75b2-b2a1-ed3cc57f5c50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_01a000c4-984c-7e7b-bd6a-0cce9825a92a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-752b-ac14-aa8be0713929" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_01a000c4-984c-7e7b-bd6a-0cce9825a92a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_01a000c4-984c-752b-ac14-aa8be0713929" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNonredeemableNoncontrollingInterest_01a000c4-984c-7339-8bd4-3134a295fc5f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToNonredeemableNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_01a000c4-984c-7e7b-bd6a-0cce9825a92a" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNonredeemableNoncontrollingInterest_01a000c4-984c-7339-8bd4-3134a295fc5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest_01a0103b-1f7c-7b77-9e04-7cb7703b3824" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_01a000c4-984c-7e7b-bd6a-0cce9825a92a" xlink:to="loc_us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest_01a0103b-1f7c-7b77-9e04-7cb7703b3824" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_01a000c4-984c-7f88-aa13-c0c63fa01886" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_01a000c4-984c-7bb1-8f11-c8b2e4ce336f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_01a000c4-984c-7f88-aa13-c0c63fa01886" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_01a000c4-984c-7bb1-8f11-c8b2e4ce336f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_01a000c4-984c-7aed-95ee-4c875c0a473a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_01a000c4-984c-7f88-aa13-c0c63fa01886" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_01a000c4-984c-7aed-95ee-4c875c0a473a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_OtherOperatingIncomeExpenseMiscellaneousNet_01a000c4-984c-7dcb-addb-94595c90af04" xlink:href="ecarx-20260630.xsd#ecarx_OtherOperatingIncomeExpenseMiscellaneousNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_01a000c4-984c-7f88-aa13-c0c63fa01886" xlink:to="loc_ecarx_OtherOperatingIncomeExpenseMiscellaneousNet_01a000c4-984c-7dcb-addb-94595c90af04" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="ecarx-20260630.xsd#UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_01a000c4-984c-7496-bca8-ab61ecd72a52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_01a000c4-984c-7ccd-843c-0a3dbe60ae2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_01a000c4-984c-7496-bca8-ab61ecd72a52" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_01a000c4-984c-7ccd-843c-0a3dbe60ae2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-727c-bbc8-65467ff71502" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_01a000c4-984c-7496-bca8-ab61ecd72a52" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-727c-bbc8-65467ff71502" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-78a2-aa43-9c29bda39921" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_01a000c4-984c-7496-bca8-ab61ecd72a52" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-78a2-aa43-9c29bda39921" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a000c4-984c-7f28-b680-ecb88ff5cfa2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_01a000c4-984c-7496-bca8-ab61ecd72a52" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a000c4-984c-7f28-b680-ecb88ff5cfa2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromShortTermDebt_01a000c4-984c-7a61-ba9e-1ea37997dce2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromShortTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_ProceedsFromShortTermDebt_01a000c4-984c-7a61-ba9e-1ea37997dce2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebt_01a000c4-984c-7d6c-a286-9c8bf9093603" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfShortTermDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebt_01a000c4-984c-7d6c-a286-9c8bf9093603" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_01a000c4-984c-70d6-9d76-1c4b7afd8b72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_01a000c4-984c-70d6-9d76-1c4b7afd8b72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_01a000c4-984c-7fcd-a540-624e8b893046" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_01a000c4-984c-7fcd-a540-624e8b893046" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfRelatedPartyDebt_01a000c4-984c-75c9-8d61-90881bbc1051" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromRepaymentsOfRelatedPartyDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfRelatedPartyDebt_01a000c4-984c-75c9-8d61-90881bbc1051" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfRelatedPartyDebt_01a000c4-984c-7d64-acb1-763b5d38c9f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfRelatedPartyDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_RepaymentsOfRelatedPartyDebt_01a000c4-984c-7d64-acb1-763b5d38c9f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_CashPaymentNotSoonAfterPurchaseOfIntangibleAssets_01a000c4-984c-74de-9f29-285f39ae1ed1" xlink:href="ecarx-20260630.xsd#ecarx_CashPaymentNotSoonAfterPurchaseOfIntangibleAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_ecarx_CashPaymentNotSoonAfterPurchaseOfIntangibleAssets_01a000c4-984c-74de-9f29-285f39ae1ed1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_01a000c4-984c-7230-9ec9-ef446136da17" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMinorityShareholders"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_ProceedsFromMinorityShareholders_01a000c4-984c-7230-9ec9-ef446136da17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_PaymentForPostAcquisitionCostsFinancingActivities_01a000c4-984c-7965-8d49-f3ab5bf8f917" xlink:href="ecarx-20260630.xsd#ecarx_PaymentForPostAcquisitionCostsFinancingActivities"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_ecarx_PaymentForPostAcquisitionCostsFinancingActivities_01a000c4-984c-7965-8d49-f3ab5bf8f917" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_01a000c4-984c-7045-b6f8-27ce44397c33" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_01a000c4-984c-7045-b6f8-27ce44397c33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_01a000c4-984c-731c-a5c0-298095f807ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_01a000c4-984c-731c-a5c0-298095f807ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_01a000c4-984c-77b8-b5d8-55a915741cc2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_01a000c4-984c-77b8-b5d8-55a915741cc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfInitialPublicOffering_01a010f2-1b02-77c5-89d0-4623b4c3ad2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfInitialPublicOffering"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfInitialPublicOffering_01a010f2-1b02-77c5-89d0-4623b4c3ad2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfConvertiblePreferredStock_01a010f2-1b02-7be7-a2ce-ae20f9e97cfa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfConvertiblePreferredStock"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfConvertiblePreferredStock_01a010f2-1b02-7be7-a2ce-ae20f9e97cfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_PaymentForIssuanceOfConvertibleNotes_01a010f2-1b02-7cd0-8b1e-f3086b19ae63" xlink:href="ecarx-20260630.xsd#ecarx_PaymentForIssuanceOfConvertibleNotes"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_ecarx_PaymentForIssuanceOfConvertibleNotes_01a010f2-1b02-7cd0-8b1e-f3086b19ae63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_01a010f2-1b02-7c32-960d-2ac895e61667" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfConvertibleDebt"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_01a010f2-1b02-7c32-960d-2ac895e61667" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfMergerRelatedCostsFinancingActivities_01a03a02-05c1-78cc-bab3-1d9854d39b6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfMergerRelatedCostsFinancingActivities"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_us-gaap_PaymentsOfMergerRelatedCostsFinancingActivities_01a03a02-05c1-78cc-bab3-1d9854d39b6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_ProceedsFromConditionalGovernmentGrants_01a0683d-7d61-7e3f-950e-e57ee5038d2b" xlink:href="ecarx-20260630.xsd#ecarx_ProceedsFromConditionalGovernmentGrants"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a000c4-984c-7a30-be9b-13b91036f20e" xlink:to="loc_ecarx_ProceedsFromConditionalGovernmentGrants_01a0683d-7d61-7e3f-950e-e57ee5038d2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-7278-af58-43f0220676bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_01a000c4-984c-7bac-9742-4a7c4e76b94e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-7278-af58-43f0220676bb" xlink:to="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_01a000c4-984c-7bac-9742-4a7c4e76b94e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_01a000c4-984c-784c-a8d4-c2f4e321ad3e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-7278-af58-43f0220676bb" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_01a000c4-984c-784c-a8d4-c2f4e321ad3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_01a000c4-984c-73f8-8671-9d6c777f54f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToFundLongtermLoansToRelatedParties"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-7278-af58-43f0220676bb" xlink:to="loc_us-gaap_PaymentsToFundLongtermLoansToRelatedParties_01a000c4-984c-73f8-8671-9d6c777f54f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties_01a000c4-984c-763f-833f-4c97f47aa6ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-7278-af58-43f0220676bb" xlink:to="loc_us-gaap_ProceedsFromCollectionOfLongtermLoansToRelatedParties_01a000c4-984c-763f-833f-4c97f47aa6ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_01a000c4-984c-71a0-9069-711d2294e2d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-7278-af58-43f0220676bb" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_01a000c4-984c-71a0-9069-711d2294e2d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_01a000c4-984c-72d5-b350-b5046d1cb3af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfEquityMethodInvestments"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-7278-af58-43f0220676bb" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_01a000c4-984c-72d5-b350-b5046d1cb3af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_CashPaidForInvestmentSecurities_01a000c4-984c-7e0b-b068-0d06541103fc" xlink:href="ecarx-20260630.xsd#ecarx_CashPaidForInvestmentSecurities"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-7278-af58-43f0220676bb" xlink:to="loc_ecarx_CashPaidForInvestmentSecurities_01a000c4-984c-7e0b-b068-0d06541103fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_PrepaymentForAcquisitionOfAnEntityUnderCommonControl_01a000c4-984c-7d8e-8c28-758a923e42fc" xlink:href="ecarx-20260630.xsd#ecarx_PrepaymentForAcquisitionOfAnEntityUnderCommonControl"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-7278-af58-43f0220676bb" xlink:to="loc_ecarx_PrepaymentForAcquisitionOfAnEntityUnderCommonControl_01a000c4-984c-7d8e-8c28-758a923e42fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_01a010e1-7c4c-7bbf-b4a2-257f14e4da11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-7278-af58-43f0220676bb" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_01a010e1-7c4c-7bbf-b4a2-257f14e4da11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_01a0ce05-93c7-75b0-9bc8-bb69653d1267" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfProductiveAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a000c4-984c-7278-af58-43f0220676bb" xlink:to="loc_us-gaap_ProceedsFromSaleOfProductiveAssets_01a0ce05-93c7-75b0-9bc8-bb69653d1267" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/SummaryofsignificantaccountingpoliciesDepositsinfinancialinstitutionsDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#SummaryofsignificantaccountingpoliciesDepositsinfinancialinstitutionsDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/SummaryofsignificantaccountingpoliciesDepositsinfinancialinstitutionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_01a0c939-8b4e-7fe4-876d-f10f10d0cec4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_01a0c939-8b4e-707a-a243-c78d45fc85b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_01a0c939-8b4e-7fe4-876d-f10f10d0cec4" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_01a0c939-8b4e-707a-a243-c78d45fc85b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Cash_01a0c939-8b4e-7516-9dda-88ee30e8977f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Cash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_01a0c939-8b4e-7fe4-876d-f10f10d0cec4" xlink:to="loc_us-gaap_Cash_01a0c939-8b4e-7516-9dda-88ee30e8977f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/CashandrestrictedcashReconciliationDetails" xlink:type="simple" xlink:href="ecarx-20260630.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_01a000c4-984c-7ef3-8581-f58cbd7d4d36" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_01a000c4-984c-7dee-b60f-52522099a6dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_01a000c4-984c-7ef3-8581-f58cbd7d4d36" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_01a000c4-984c-7dee-b60f-52522099a6dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_01a000c4-984c-79e2-8941-7b1bac079b80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_01a000c4-984c-7ef3-8581-f58cbd7d4d36" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_01a000c4-984c-79e2-8941-7b1bac079b80" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/AccountsreceivablenetAccountsreceivablenetDetails" xlink:type="simple" xlink:href="ecarx-20260630.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_01a000c4-984c-7202-a617-989b0f697b86" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_01a000c4-984c-76de-8555-245f081862da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_01a000c4-984c-7202-a617-989b0f697b86" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_01a000c4-984c-76de-8555-245f081862da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_01a000c4-984c-706b-bc59-0afd35acca9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableGrossCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_01a000c4-984c-7202-a617-989b0f697b86" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_01a000c4-984c-706b-bc59-0afd35acca9d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/InventoriesInventoryDetails" xlink:type="simple" xlink:href="ecarx-20260630.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_01a000c4-984c-78d6-9040-a05627a90468" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_01a000c4-984c-7ee8-b15d-6ca239bece5f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryRawMaterials"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_01a000c4-984c-78d6-9040-a05627a90468" xlink:to="loc_us-gaap_InventoryRawMaterials_01a000c4-984c-7ee8-b15d-6ca239bece5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_01a000c4-984c-7d5f-9d61-2c9520b8ca14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryWorkInProcess"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_01a000c4-984c-78d6-9040-a05627a90468" xlink:to="loc_us-gaap_InventoryWorkInProcess_01a000c4-984c-7d5f-9d61-2c9520b8ca14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_01a000c4-984c-70db-8717-e7a8c74a9017" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryFinishedGoods"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_01a000c4-984c-78d6-9040-a05627a90468" xlink:to="loc_us-gaap_InventoryFinishedGoods_01a000c4-984c-70db-8717-e7a8c74a9017" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/PrepaymentsandothercurrentassetsnetDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#PrepaymentsandothercurrentassetsnetDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/PrepaymentsandothercurrentassetsnetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_01a000c4-984c-7186-8d8b-71d9f48ca42f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Supplies_01a000c4-984c-7733-839e-38f9fd0fba29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Supplies"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_01a000c4-984c-7186-8d8b-71d9f48ca42f" xlink:to="loc_us-gaap_Supplies_01a000c4-984c-7733-839e-38f9fd0fba29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_DeductibleVATCurrent_01a000c4-984c-780d-ab63-2fcee572496a" xlink:href="ecarx-20260630.xsd#ecarx_DeductibleVATCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_01a000c4-984c-7186-8d8b-71d9f48ca42f" xlink:to="loc_ecarx_DeductibleVATCurrent_01a000c4-984c-780d-ab63-2fcee572496a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostNetCurrent_01a000c4-984c-7bca-acbc-fe6e4de281ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CapitalizedContractCostNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_01a000c4-984c-7186-8d8b-71d9f48ca42f" xlink:to="loc_us-gaap_CapitalizedContractCostNetCurrent_01a000c4-984c-7bca-acbc-fe6e4de281ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_01a000c4-984c-7a88-864b-0e1f3bfa4085" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_01a000c4-984c-7186-8d8b-71d9f48ca42f" xlink:to="loc_us-gaap_OtherAssetsCurrent_01a000c4-984c-7a88-864b-0e1f3bfa4085" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/LongterminvestmentsnetInvestmentsDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#LongterminvestmentsnetInvestmentsDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/LongterminvestmentsnetInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_01a000c4-984c-7d72-8ea0-8f7b9a9af556" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_01a000c4-984c-7966-bd31-b875ba0228da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestments_01a000c4-984c-7d72-8ea0-8f7b9a9af556" xlink:to="loc_us-gaap_EquityMethodInvestments_01a000c4-984c-7966-bd31-b875ba0228da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_01a000c4-984c-7bf0-8517-070fd1b72ed1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestments_01a000c4-984c-7d72-8ea0-8f7b9a9af556" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_01a000c4-984c-7bf0-8517-070fd1b72ed1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_01a01123-09c5-7cd8-8271-f1ae0b924624" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestments_01a000c4-984c-7d72-8ea0-8f7b9a9af556" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_01a01123-09c5-7cd8-8271-f1ae0b924624" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/PropertyandequipmentnetComponentsofpropertyandequipmentDetails" xlink:type="simple" xlink:href="ecarx-20260630.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_01a000c4-984c-7ee2-b89d-a7c62804a766" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_PropertyPlantAndEquipmentImpairmentProvision_01a000c4-984c-78bc-9a74-2a5b989d515f" xlink:href="ecarx-20260630.xsd#ecarx_PropertyPlantAndEquipmentImpairmentProvision"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_01a000c4-984c-7ee2-b89d-a7c62804a766" xlink:to="loc_ecarx_PropertyPlantAndEquipmentImpairmentProvision_01a000c4-984c-78bc-9a74-2a5b989d515f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_01a000c4-984c-755d-9f75-97c092caacf1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_01a000c4-984c-7ee2-b89d-a7c62804a766" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_01a000c4-984c-755d-9f75-97c092caacf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_01a000c4-984c-7d77-a259-7dbfe365973c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_01a000c4-984c-7ee2-b89d-a7c62804a766" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_01a000c4-984c-7d77-a259-7dbfe365973c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/IntangibleassetsnetIntangibleassetsDetails" xlink:type="simple" xlink:href="ecarx-20260630.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_01a000c4-984c-730f-9c41-b2705ad574c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_01a000c4-984c-7857-aeb7-9a4ceb464bae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_01a000c4-984c-730f-9c41-b2705ad574c1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_01a000c4-984c-7857-aeb7-9a4ceb464bae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_01a000c4-984c-7b64-a929-2aca4d79d920" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_01a000c4-984c-730f-9c41-b2705ad574c1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_01a000c4-984c-7b64-a929-2aca4d79d920" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_IntangibleAssetsImpairedAccumulatedImpairmentLoss_01a000c4-984c-7c9b-b63a-f3dcd0969151" xlink:href="ecarx-20260630.xsd#ecarx_IntangibleAssetsImpairedAccumulatedImpairmentLoss"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_01a000c4-984c-730f-9c41-b2705ad574c1" xlink:to="loc_ecarx_IntangibleAssetsImpairedAccumulatedImpairmentLoss_01a000c4-984c-7c9b-b63a-f3dcd0969151" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/OthernoncurrentassetsthirdpartiesDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#OthernoncurrentassetsthirdpartiesDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/OthernoncurrentassetsthirdpartiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_01a0682c-c238-7816-bd16-e678caf72f97" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostNet_01a0682c-c238-7d74-99d6-b7b579e0d110" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CapitalizedContractCostNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_01a0682c-c238-7816-bd16-e678caf72f97" xlink:to="loc_us-gaap_CapitalizedContractCostNet_01a0682c-c238-7d74-99d6-b7b579e0d110" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_OthersCostNet_01a0682c-c238-7076-bee6-d4b4a098a67d" xlink:href="ecarx-20260630.xsd#ecarx_OthersCostNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_01a0682c-c238-7816-bd16-e678caf72f97" xlink:to="loc_ecarx_OthersCostNet_01a0682c-c238-7076-bee6-d4b4a098a67d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/BorrowingsComponentsofshorttermborrowingsDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#BorrowingsComponentsofshorttermborrowingsDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/BorrowingsComponentsofshorttermborrowingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_01a0913f-8b6b-7262-9798-e4e43d1ead72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermBorrowings"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherShortTermBorrowings_01a0913f-8b6b-7439-a7ea-bffdcda4bc12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ShortTermBorrowings_01a0913f-8b6b-7262-9798-e4e43d1ead72" xlink:to="loc_us-gaap_OtherShortTermBorrowings_01a0913f-8b6b-7439-a7ea-bffdcda4bc12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_01a0913f-8b6b-7ad3-900e-b01d766af743" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ShortTermBorrowings_01a0913f-8b6b-7262-9798-e4e43d1ead72" xlink:to="loc_us-gaap_LongTermDebtCurrent_01a0913f-8b6b-7ad3-900e-b01d766af743" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/BorrowingsComponentsoflongtermborrowingsDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#BorrowingsComponentsoflongtermborrowingsDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/BorrowingsComponentsoflongtermborrowingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_01a0c53d-72d9-74c0-866f-5b747c4241ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_01a0c53d-72d9-7784-ade0-98ab02082deb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_01a0c53d-72d9-74c0-866f-5b747c4241ac" xlink:to="loc_us-gaap_LongTermDebtCurrent_01a0c53d-72d9-7784-ade0-98ab02082deb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_01a0c53d-72d9-7516-8826-6a9628499559" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_01a0c53d-72d9-74c0-866f-5b747c4241ac" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_01a0c53d-72d9-7516-8826-6a9628499559" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_01a0c53d-72d9-7a3d-bc66-1e6424d0b1f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_01a0c53d-72d9-74c0-866f-5b747c4241ac" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_01a0c53d-72d9-7a3d-bc66-1e6424d0b1f9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/BorrowingsBorrowingsDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#BorrowingsBorrowingsDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/BorrowingsBorrowingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_01a09120-0138-7595-b6ca-e556ed2acfbe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_01a09120-0138-72fd-b812-0eeb6566bede" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_01a09120-0138-7595-b6ca-e556ed2acfbe" xlink:to="loc_us-gaap_ShortTermBorrowings_01a09120-0138-72fd-b812-0eeb6566bede" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_01a09120-0138-7de1-bdff-103bee8893c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_01a09120-0138-7595-b6ca-e556ed2acfbe" xlink:to="loc_us-gaap_LongTermDebt_01a09120-0138-7de1-bdff-103bee8893c5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/BorrowingsMaturitiesofborrowingsDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#BorrowingsMaturitiesofborrowingsDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/BorrowingsMaturitiesofborrowingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_01a090d2-9ea1-7787-abaf-7a38895194f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_01a090d2-9ea1-7647-a2e9-bebeca1d53c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_01a090d2-9ea1-7787-abaf-7a38895194f5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_01a090d2-9ea1-7647-a2e9-bebeca1d53c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_01a090d2-9ea1-7a55-a22e-a143e3e6c749" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_01a090d2-9ea1-7787-abaf-7a38895194f5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_01a090d2-9ea1-7a55-a22e-a143e3e6c749" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_01a090d2-9ea1-736b-b6b5-d0f09f896684" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_01a090d2-9ea1-7787-abaf-7a38895194f5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_01a090d2-9ea1-736b-b6b5-d0f09f896684" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_01a090d2-9ea1-7786-a1f5-d501aa8ef8ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_01a090d2-9ea1-7787-abaf-7a38895194f5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_01a090d2-9ea1-7786-a1f5-d501aa8ef8ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_01a090d2-9ea1-7f6b-9563-b099b1b437b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_01a090d2-9ea1-7787-abaf-7a38895194f5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_01a090d2-9ea1-7f6b-9563-b099b1b437b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_01a090d2-9ea1-7950-8b1b-2255004e3c40" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_01a090d2-9ea1-7787-abaf-7a38895194f5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_01a090d2-9ea1-7950-8b1b-2255004e3c40" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/LeasesComponentsofleasecostDetails" xlink:type="simple" xlink:href="ecarx-20260630.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_01a000c4-984c-7775-ae4f-c66defe8d96f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_01a000c4-984c-7a35-a445-6820aebdc2e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_01a000c4-984c-7775-ae4f-c66defe8d96f" xlink:to="loc_us-gaap_OperatingLeaseCost_01a000c4-984c-7a35-a445-6820aebdc2e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_01a000c4-984c-730e-bfe0-f1d8d54d083c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_01a000c4-984c-7775-ae4f-c66defe8d96f" xlink:to="loc_us-gaap_ShortTermLeaseCost_01a000c4-984c-730e-bfe0-f1d8d54d083c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/AccruedexpensesandotherliabilitiesAccruedexpensesandothercurrentliabilitiesDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#AccruedexpensesandotherliabilitiesAccruedexpensesandothercurrentliabilitiesDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/AccruedexpensesandotherliabilitiesAccruedexpensesandothercurrentliabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_01a000c4-984d-7a8d-9b21-55d6a7dd1fbb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_01a000c4-984d-7f79-8e38-6f749a9881e2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_01a000c4-984d-7a8d-9b21-55d6a7dd1fbb" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_01a000c4-984d-7f79-8e38-6f749a9881e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesAndExciseTaxPayableCurrentAndNoncurrent_01a000c4-984d-710b-9be6-7f93fd6ae9f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SalesAndExciseTaxPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_01a000c4-984d-7a8d-9b21-55d6a7dd1fbb" xlink:to="loc_us-gaap_SalesAndExciseTaxPayableCurrentAndNoncurrent_01a000c4-984d-710b-9be6-7f93fd6ae9f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_01a000c4-984d-7312-a737-54d170d51527" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_01a000c4-984d-7a8d-9b21-55d6a7dd1fbb" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_01a000c4-984d-7312-a737-54d170d51527" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_AccruedCostsOfMergerCurrent_01a000c4-984d-7e07-959f-23db55c1fc57" xlink:href="ecarx-20260630.xsd#ecarx_AccruedCostsOfMergerCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_01a000c4-984d-7a8d-9b21-55d6a7dd1fbb" xlink:to="loc_ecarx_AccruedCostsOfMergerCurrent_01a000c4-984d-7e07-959f-23db55c1fc57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_01a000c4-984d-74a0-a5e0-8e7a3b2ba144" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_01a000c4-984d-7a8d-9b21-55d6a7dd1fbb" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_01a000c4-984d-74a0-a5e0-8e7a3b2ba144" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/AccruedexpensesandotherliabilitiesProductwarrantiesDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#AccruedexpensesandotherliabilitiesProductwarrantiesDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/AccruedexpensesandotherliabilitiesProductwarrantiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_01a000c4-984d-7d09-a7fe-dcce4c7a6a2b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StandardProductWarrantyAccrual"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualNoncurrent_01a000c4-984d-7abe-b217-8f669a58b14f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProductWarrantyAccrualNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StandardProductWarrantyAccrual_01a000c4-984d-7d09-a7fe-dcce4c7a6a2b" xlink:to="loc_us-gaap_ProductWarrantyAccrualNoncurrent_01a000c4-984d-7abe-b217-8f669a58b14f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_01a000c4-984d-7a21-9575-7e9daab827b1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StandardProductWarrantyAccrual_01a000c4-984d-7d09-a7fe-dcce4c7a6a2b" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_01a000c4-984d-7a21-9575-7e9daab827b1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/RevenueinformationScheduleofcontractliabilitiesDetails" xlink:type="simple" xlink:href="ecarx-20260630.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_01a000c4-9914-78d4-8bca-3924c5834f29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_01a000c4-9914-72ff-a5a5-211864958ed5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ContractWithCustomerLiability_01a000c4-9914-78d4-8bca-3924c5834f29" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_01a000c4-9914-72ff-a5a5-211864958ed5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_01a000c4-9914-78b5-b1a5-301830c7d76d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ContractWithCustomerLiability_01a000c4-9914-78d4-8bca-3924c5834f29" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_01a000c4-9914-78b5-b1a5-301830c7d76d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/OthernonoperatingexpensesincomenetOtherNonoperatingIncomeexpensesNetDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#OthernonoperatingexpensesincomenetOtherNonoperatingIncomeexpensesNetDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/OthernonoperatingexpensesincomenetOtherNonoperatingIncomeexpensesNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_01a000c4-9914-7d09-a547-dfd1a2138459" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_01a000c4-9914-7b98-bccd-faaceca7b0da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_01a000c4-9914-7d09-a547-dfd1a2138459" xlink:to="loc_us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_01a000c4-9914-7b98-bccd-faaceca7b0da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GovernmentAssistanceAmount_01a000c4-9914-7e37-bf83-fff91b457706" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GovernmentAssistanceAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_01a000c4-9914-7d09-a547-dfd1a2138459" xlink:to="loc_us-gaap_GovernmentAssistanceAmount_01a000c4-9914-7e37-bf83-fff91b457706" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_OtherNonoperatingIncomeExpenseOthersNet_01a000c4-9914-795b-892e-776496ac9ce5" xlink:href="ecarx-20260630.xsd#ecarx_OtherNonoperatingIncomeExpenseOthersNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_01a000c4-9914-7d09-a547-dfd1a2138459" xlink:to="loc_ecarx_OtherNonoperatingIncomeExpenseOthersNet_01a000c4-9914-795b-892e-776496ac9ce5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAdjustmentOfWarrants_01a000c4-9914-78a8-963d-a780efd1d85f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAdjustmentOfWarrants"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_01a000c4-9914-7d09-a547-dfd1a2138459" xlink:to="loc_us-gaap_FairValueAdjustmentOfWarrants_01a000c4-9914-78a8-963d-a780efd1d85f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_01a000c4-9914-7645-a89f-54626dc7a242" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_01a000c4-9914-7d09-a547-dfd1a2138459" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_01a000c4-9914-7645-a89f-54626dc7a242" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDerivativeLiabilities_01a03ea4-431c-7109-bd54-33c5acc88cd9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDerivativeLiabilities"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_01a000c4-9914-7d09-a547-dfd1a2138459" xlink:to="loc_us-gaap_IncreaseDecreaseInDerivativeLiabilities_01a03ea4-431c-7109-bd54-33c5acc88cd9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDerivativeAssets_01a03ea4-431c-7b87-ba00-2e2ad21ce816" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDerivativeAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_01a000c4-9914-7d09-a547-dfd1a2138459" xlink:to="loc_us-gaap_IncreaseDecreaseInDerivativeAssets_01a03ea4-431c-7b87-ba00-2e2ad21ce816" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ecarxholdings.com/role/CommitmentsandcontingenciesDetails" xlink:type="simple" xlink:href="ecarx-20260630.xsd#CommitmentsandcontingenciesDetails"/>
  <link:calculationLink xlink:role="http://ecarxholdings.com/role/CommitmentsandcontingenciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_InvestmentObligation_01a06d3f-3be7-7a2a-8416-da9e3ee134ea" xlink:href="ecarx-20260630.xsd#ecarx_InvestmentObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_InvestmentObligationToBePaidYearOne_01a06d3f-3be7-7860-92f3-cbcb68cd223f" xlink:href="ecarx-20260630.xsd#ecarx_InvestmentObligationToBePaidYearOne"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ecarx_InvestmentObligation_01a06d3f-3be7-7a2a-8416-da9e3ee134ea" xlink:to="loc_ecarx_InvestmentObligationToBePaidYearOne_01a06d3f-3be7-7860-92f3-cbcb68cd223f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_InvestmentObligationToBePaidYearTwo_01a06d3f-3be7-7db7-b7c2-a9ea258b0de7" xlink:href="ecarx-20260630.xsd#ecarx_InvestmentObligationToBePaidYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ecarx_InvestmentObligation_01a06d3f-3be7-7a2a-8416-da9e3ee134ea" xlink:to="loc_ecarx_InvestmentObligationToBePaidYearTwo_01a06d3f-3be7-7db7-b7c2-a9ea258b0de7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_InvestmentObligationToBePaidYearThree_01a06d3f-3be7-72b2-ae8c-6e5ce306aa55" xlink:href="ecarx-20260630.xsd#ecarx_InvestmentObligationToBePaidYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ecarx_InvestmentObligation_01a06d3f-3be7-7a2a-8416-da9e3ee134ea" xlink:to="loc_ecarx_InvestmentObligationToBePaidYearThree_01a06d3f-3be7-72b2-ae8c-6e5ce306aa55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_InvestmentObligationToBePaidYearFourAndFive_01a06d3f-3be7-7888-abf5-f4581c2b55f6" xlink:href="ecarx-20260630.xsd#ecarx_InvestmentObligationToBePaidYearFourAndFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ecarx_InvestmentObligation_01a06d3f-3be7-7a2a-8416-da9e3ee134ea" xlink:to="loc_ecarx_InvestmentObligationToBePaidYearFourAndFive_01a06d3f-3be7-7888-abf5-f4581c2b55f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ecarx_InvestmentObligationToBePaidAfterYearFive_01a06d3f-3be7-7736-9b94-ebca5a1caf36" xlink:href="ecarx-20260630.xsd#ecarx_InvestmentObligationToBePaidAfterYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_ecarx_InvestmentObligation_01a06d3f-3be7-7a2a-8416-da9e3ee134ea" xlink:to="loc_ecarx_InvestmentObligationToBePaidAfterYearFive_01a06d3f-3be7-7736-9b94-ebca5a1caf36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligation_01a000c4-9915-7c72-8950-c943fef56424" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PurchaseObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_01a000c4-9915-76e6-8f4e-452b79ad6d6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PurchaseObligationDueInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_01a000c4-9915-7c72-8950-c943fef56424" xlink:to="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_01a000c4-9915-76e6-8f4e-452b79ad6d6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInSecondYear_01a000c4-9915-7f64-9ea7-cf81e84f668d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PurchaseObligationDueInSecondYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_01a000c4-9915-7c72-8950-c943fef56424" xlink:to="loc_us-gaap_PurchaseObligationDueInSecondYear_01a000c4-9915-7f64-9ea7-cf81e84f668d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInThirdYear_01a000c4-9915-709f-a79d-7b7858078fb4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PurchaseObligationDueInThirdYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_01a000c4-9915-7c72-8950-c943fef56424" xlink:to="loc_us-gaap_PurchaseObligationDueInThirdYear_01a000c4-9915-709f-a79d-7b7858078fb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInFourthAndFifthYear_01a000c4-9915-7b58-8ac2-540ddb648d45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PurchaseObligationDueInFourthAndFifthYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_01a000c4-9915-7c72-8950-c943fef56424" xlink:to="loc_us-gaap_PurchaseObligationDueInFourthAndFifthYear_01a000c4-9915-7b58-8ac2-540ddb648d45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueAfterFifthYear_01a000c4-9915-7225-8ff6-e0715662baee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PurchaseObligationDueAfterFifthYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_01a000c4-9915-7c72-8950-c943fef56424" xlink:to="loc_us-gaap_PurchaseObligationDueAfterFifthYear_01a000c4-9915-7225-8ff6-e0715662baee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_01a000c4-9915-7f66-97c6-1c8bb812a87e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractualObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueAfterFifthYear_01a000c4-9915-74c1-92a5-568fb88c7fb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractualObligationDueAfterFifthYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_01a000c4-9915-7f66-97c6-1c8bb812a87e" xlink:to="loc_us-gaap_ContractualObligationDueAfterFifthYear_01a000c4-9915-74c1-92a5-568fb88c7fb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInSecondYear_01a000c4-9915-749d-a814-4f48ae64c325" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractualObligationDueInSecondYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_01a000c4-9915-7f66-97c6-1c8bb812a87e" xlink:to="loc_us-gaap_ContractualObligationDueInSecondYear_01a000c4-9915-749d-a814-4f48ae64c325" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_01a000c4-9915-7f76-a27b-66943471ca69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractualObligationDueInFourthAndFifthYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_01a000c4-9915-7f66-97c6-1c8bb812a87e" xlink:to="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_01a000c4-9915-7f76-a27b-66943471ca69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInThirdYear_01a000c4-9915-77a7-b3a8-3edd8b1f405c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractualObligationDueInThirdYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_01a000c4-9915-7f66-97c6-1c8bb812a87e" xlink:to="loc_us-gaap_ContractualObligationDueInThirdYear_01a000c4-9915-77a7-b3a8-3edd8b1f405c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_01a000c4-9915-7f60-90fa-f60f42e918fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractualObligationDueInNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_01a000c4-9915-7f66-97c6-1c8bb812a87e" xlink:to="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_01a000c4-9915-7f60-90fa-f60f42e918fe" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
