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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019f004d-ff35-7f6c-ba73-60e2efc72ab3,g:fe659cb4-c4ad-4605-ba53-1531e760500a-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.palantir.com/role/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="pltr-20260630.xsd#CondensedConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.palantir.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019f004d-ffea-7cce-aa6c-c0d832f9c215" 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_Liabilities_019f004d-ffea-7fb4-b522-7e5858427e1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019f004d-ffea-7cce-aa6c-c0d832f9c215" xlink:to="loc_us-gaap_Liabilities_019f004d-ffea-7fb4-b522-7e5858427e1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019f004d-ffea-775d-a23d-3a7b69ff24f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019f004d-ffea-7cce-aa6c-c0d832f9c215" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019f004d-ffea-775d-a23d-3a7b69ff24f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019f004d-ffea-7b3a-a9f6-7cce20c19131" 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_019f004d-ffea-7905-b2b2-ca6552fd4300" 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_019f004d-ffea-7b3a-a9f6-7cce20c19131" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019f004d-ffea-7905-b2b2-ca6552fd4300" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_019f004d-ffea-716a-b2de-a2aeeea2542e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MarketableSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019f004d-ffea-7b3a-a9f6-7cce20c19131" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_019f004d-ffea-716a-b2de-a2aeeea2542e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019f004d-ffea-7b46-97ab-39259a60df6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019f004d-ffea-7b3a-a9f6-7cce20c19131" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019f004d-ffea-7b46-97ab-39259a60df6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019f004d-ffea-7d4b-8005-59096b82b2f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019f004d-ffea-7b3a-a9f6-7cce20c19131" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019f004d-ffea-7d4b-8005-59096b82b2f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019f004d-ffea-7d92-875e-b122ecd05c26" 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_AccountsPayableAndAccruedLiabilitiesCurrent_019f004d-ffea-797b-b1b8-546a29c99299" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019f004d-ffea-7d92-875e-b122ecd05c26" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019f004d-ffea-797b-b1b8-546a29c99299" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueCurrent_019f004d-ffea-7ce0-95a7-143dc4f1d4c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredRevenueCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019f004d-ffea-7d92-875e-b122ecd05c26" xlink:to="loc_us-gaap_DeferredRevenueCurrent_019f004d-ffea-7ce0-95a7-143dc4f1d4c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pltr_CustomerDepositCurrent_019f004d-ffea-7a9f-a22d-bdf3cebcd04c" xlink:href="pltr-20260630.xsd#pltr_CustomerDepositCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019f004d-ffea-7d92-875e-b122ecd05c26" xlink:to="loc_pltr_CustomerDepositCurrent_019f004d-ffea-7a9f-a22d-bdf3cebcd04c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019f004d-ffea-749f-bcf3-c7814dfaec46" 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_RetainedEarningsAccumulatedDeficit_019f004d-ffea-7b20-b88e-ded1474123b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019f004d-ffea-749f-bcf3-c7814dfaec46" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019f004d-ffea-7b20-b88e-ded1474123b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019f004d-ffea-7faf-b4e2-a0c48aa0a9a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019f004d-ffea-749f-bcf3-c7814dfaec46" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019f004d-ffea-7faf-b4e2-a0c48aa0a9a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019f004d-ffea-7adb-86f3-a4d6f86c22d8" 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_019f004d-ffea-749f-bcf3-c7814dfaec46" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019f004d-ffea-7adb-86f3-a4d6f86c22d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019f004d-ffea-7b4d-adb1-694105ff0ee2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019f004d-ffea-749f-bcf3-c7814dfaec46" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019f004d-ffea-7b4d-adb1-694105ff0ee2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019f004d-ffea-7279-bd82-a5b71f265768" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019f004d-ffea-749f-bcf3-c7814dfaec46" xlink:to="loc_us-gaap_CommonStockValue_019f004d-ffea-7279-bd82-a5b71f265768" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019f004d-ffea-7bf4-9c1c-d083fa0a4920" 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_019f004d-ffea-71e9-853a-55ec3ebbb34b" 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_019f004d-ffea-7bf4-9c1c-d083fa0a4920" xlink:to="loc_us-gaap_LiabilitiesCurrent_019f004d-ffea-71e9-853a-55ec3ebbb34b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_019f004d-ffea-75a9-99f1-06d1603d1985" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredRevenueNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019f004d-ffea-7bf4-9c1c-d083fa0a4920" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_019f004d-ffea-75a9-99f1-06d1603d1985" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pltr_CustomerDepositNoncurrent_019f004d-ffea-7b0d-9a9c-916963b8a0d0" xlink:href="pltr-20260630.xsd#pltr_CustomerDepositNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019f004d-ffea-7bf4-9c1c-d083fa0a4920" xlink:to="loc_pltr_CustomerDepositNoncurrent_019f004d-ffea-7b0d-9a9c-916963b8a0d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019f004d-ffea-71b7-91f9-b2dc11219b3a" 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_Liabilities_019f004d-ffea-7bf4-9c1c-d083fa0a4920" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019f004d-ffea-71b7-91f9-b2dc11219b3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019f004d-ffea-7249-b12d-8293464ab84d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019f004d-ffea-7bf4-9c1c-d083fa0a4920" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019f004d-ffea-7249-b12d-8293464ab84d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019f004d-ffea-7bdd-8684-87e5adaf748a" 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_StockholdersEquity_019f004d-ffea-7803-92f1-2b3dfd308b39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019f004d-ffea-7bdd-8684-87e5adaf748a" xlink:to="loc_us-gaap_StockholdersEquity_019f004d-ffea-7803-92f1-2b3dfd308b39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019f004d-ffea-7cf9-900f-bc27813db270" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019f004d-ffea-7bdd-8684-87e5adaf748a" xlink:to="loc_us-gaap_MinorityInterest_019f004d-ffea-7cf9-900f-bc27813db270" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019f004d-ffea-73fd-b478-1a3297681fcf" 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_019f004d-ffea-772b-932b-54ab69aba844" 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_019f004d-ffea-73fd-b478-1a3297681fcf" xlink:to="loc_us-gaap_AssetsCurrent_019f004d-ffea-772b-932b-54ab69aba844" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019f004d-ffea-7f19-a786-357ab043e999" 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_Assets_019f004d-ffea-73fd-b478-1a3297681fcf" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019f004d-ffea-7f19-a786-357ab043e999" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019f004d-ffea-7308-88b9-72f5a30181b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019f004d-ffea-73fd-b478-1a3297681fcf" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019f004d-ffea-7308-88b9-72f5a30181b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019f004d-ffea-7745-9199-580b2f6c44cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019f004d-ffea-73fd-b478-1a3297681fcf" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019f004d-ffea-7745-9199-580b2f6c44cf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.palantir.com/role/CondensedConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="pltr-20260630.xsd#CondensedConsolidatedStatementsofOperations"/>
  <link:calculationLink xlink:role="http://www.palantir.com/role/CondensedConsolidatedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019f004d-ffea-7d59-9959-8f1ab5af79d5" 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_RevenueFromContractWithCustomerExcludingAssessedTax_019f004d-ffea-70e6-ac7d-38f10af4c7d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019f004d-ffea-7d59-9959-8f1ab5af79d5" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019f004d-ffea-70e6-ac7d-38f10af4c7d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_019f004d-ffea-7363-b83e-6889faac8d9f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019f004d-ffea-7d59-9959-8f1ab5af79d5" xlink:to="loc_us-gaap_CostOfRevenue_019f004d-ffea-7363-b83e-6889faac8d9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019f004d-ffea-72dc-8411-3720e21d99e1" 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_SellingAndMarketingExpense_019f004d-ffea-734c-927a-b2b7d3764262" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019f004d-ffea-72dc-8411-3720e21d99e1" xlink:to="loc_us-gaap_SellingAndMarketingExpense_019f004d-ffea-734c-927a-b2b7d3764262" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019f004d-ffea-7aa0-945e-de2e0abcb14a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019f004d-ffea-72dc-8411-3720e21d99e1" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019f004d-ffea-7aa0-945e-de2e0abcb14a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019f004d-ffea-7045-b0ae-7a5b8a18d93d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019f004d-ffea-72dc-8411-3720e21d99e1" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019f004d-ffea-7045-b0ae-7a5b8a18d93d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019f004d-ffea-7636-9342-111a763cef2d" 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_ProfitLoss_019f004d-ffea-718d-9c5c-ad4d34782066" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019f004d-ffea-7636-9342-111a763cef2d" xlink:to="loc_us-gaap_ProfitLoss_019f004d-ffea-718d-9c5c-ad4d34782066" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019f004d-ffea-7ef1-b5fa-622c14c9fee0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019f004d-ffea-7636-9342-111a763cef2d" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019f004d-ffea-7ef1-b5fa-622c14c9fee0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019f004d-ffea-7143-9173-700ab9726e73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019f004d-ffea-759a-833b-b4ae2a6bea01" 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_ProfitLoss_019f004d-ffea-7143-9173-700ab9726e73" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019f004d-ffea-759a-833b-b4ae2a6bea01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019f004d-ffea-7956-a486-f01f8e2acce6" 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_ProfitLoss_019f004d-ffea-7143-9173-700ab9726e73" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019f004d-ffea-7956-a486-f01f8e2acce6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019f004d-ffea-7232-9078-2a985af99e83" 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_019f004d-ffea-7bfe-be69-1e99c222e26e" 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_019f004d-ffea-7232-9078-2a985af99e83" xlink:to="loc_us-gaap_OperatingIncomeLoss_019f004d-ffea-7bfe-be69-1e99c222e26e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_019f004d-ffea-733c-8ea4-940498f34f6c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019f004d-ffea-7232-9078-2a985af99e83" xlink:to="loc_us-gaap_InvestmentIncomeInterest_019f004d-ffea-733c-8ea4-940498f34f6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019f004d-ffea-77b2-867a-48029e097807" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019f004d-ffea-7232-9078-2a985af99e83" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019f004d-ffea-77b2-867a-48029e097807" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019f004d-ffea-799b-9547-614b5a8dbfae" 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_019f004d-ffea-7e8c-82b2-e858824254cb" 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_019f004d-ffea-799b-9547-614b5a8dbfae" xlink:to="loc_us-gaap_GrossProfit_019f004d-ffea-7e8c-82b2-e858824254cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019f004d-ffea-7629-a5b5-4a8850d6765d" 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_019f004d-ffea-799b-9547-614b5a8dbfae" xlink:to="loc_us-gaap_OperatingExpenses_019f004d-ffea-7629-a5b5-4a8850d6765d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.palantir.com/role/CondensedConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="pltr-20260630.xsd#CondensedConsolidatedStatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.palantir.com/role/CondensedConsolidatedStatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019f004d-ffea-77bb-8108-e639709c7a90" 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_ProfitLoss_019f004d-ffea-7984-af3a-ce632204ad65" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019f004d-ffea-77bb-8108-e639709c7a90" xlink:to="loc_us-gaap_ProfitLoss_019f004d-ffea-7984-af3a-ce632204ad65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019f004d-ffea-73ed-903f-14463a8b5763" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019f004d-ffea-77bb-8108-e639709c7a90" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019f004d-ffea-73ed-903f-14463a8b5763" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019f004d-ffea-7e15-a413-107d74de6f7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019f004d-ffea-77bb-8108-e639709c7a90" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019f004d-ffea-7e15-a413-107d74de6f7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019f004d-ffea-7232-aed1-e4467546af28" 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_019f004d-ffea-773d-be48-0feb9c9043fc" 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_019f004d-ffea-7232-aed1-e4467546af28" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019f004d-ffea-773d-be48-0feb9c9043fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019f004d-ffea-7562-98e9-b73aeb1cd50a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019f004d-ffea-7232-aed1-e4467546af28" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019f004d-ffea-7562-98e9-b73aeb1cd50a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.palantir.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="pltr-20260630.xsd#CondensedConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.palantir.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7921-831e-d841195fd41d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019f004d-ffea-7af8-a05a-43ca07ad24e9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7921-831e-d841195fd41d" xlink:to="loc_us-gaap_ProfitLoss_019f004d-ffea-7af8-a05a-43ca07ad24e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019f004d-ffea-7b7b-bd2d-868716164d15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7921-831e-d841195fd41d" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019f004d-ffea-7b7b-bd2d-868716164d15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019f004d-ffea-7ec0-b672-9bbdf377cc4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7921-831e-d841195fd41d" xlink:to="loc_us-gaap_ShareBasedCompensation_019f004d-ffea-7ec0-b672-9bbdf377cc4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019fa612-9d61-79fb-839a-58454adc80dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7921-831e-d841195fd41d" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019fa612-9d61-79fb-839a-58454adc80dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019f004d-ffea-7ef2-9a0e-8cbb9c3110e0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7921-831e-d841195fd41d" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019f004d-ffea-7ef2-9a0e-8cbb9c3110e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019f004d-ffea-7aed-88a7-a616d7c4e00e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7921-831e-d841195fd41d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019f004d-ffea-7aed-88a7-a616d7c4e00e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019f004d-ffea-7d38-96c1-e235aaf2b564" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7921-831e-d841195fd41d" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019f004d-ffea-7d38-96c1-e235aaf2b564" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019f004d-ffea-75c9-b169-a5eb68ae78c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7921-831e-d841195fd41d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019f004d-ffea-75c9-b169-a5eb68ae78c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019f004d-ffea-7ecf-9f23-8f985425bfbc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7921-831e-d841195fd41d" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019f004d-ffea-7ecf-9f23-8f985425bfbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019f004d-ffea-7494-88b4-6b46a8264bd5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7921-831e-d841195fd41d" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019f004d-ffea-7494-88b4-6b46a8264bd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f004d-ffea-708b-9fe1-9178fb5a3f2e" 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_PaymentsToAcquirePropertyPlantAndEquipment_019f004d-ffea-71fe-8748-a6c55a1e4902" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f004d-ffea-708b-9fe1-9178fb5a3f2e" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019f004d-ffea-71fe-8748-a6c55a1e4902" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_019f004d-ffea-72e7-849c-d82e23df6b15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f004d-ffea-708b-9fe1-9178fb5a3f2e" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_019f004d-ffea-72e7-849c-d82e23df6b15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_019f004d-ffea-7b13-aaf1-422c35bb8bb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f004d-ffea-708b-9fe1-9178fb5a3f2e" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_019f004d-ffea-7b13-aaf1-422c35bb8bb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019f004d-ffea-7403-ae21-b8ae7139d91b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f004d-ffea-708b-9fe1-9178fb5a3f2e" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019f004d-ffea-7403-ae21-b8ae7139d91b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019f004d-ffea-7448-b87e-ff56d24d659f" 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_019f004d-ffea-7749-84a3-ddf972f437ec" 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_019f004d-ffea-7448-b87e-ff56d24d659f" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019f004d-ffea-7749-84a3-ddf972f437ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f004d-ffea-7773-86e5-c93c8ec07f0c" 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_019f004d-ffea-7448-b87e-ff56d24d659f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f004d-ffea-7773-86e5-c93c8ec07f0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7619-8cdd-f13269b9d9fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019f004d-ffea-7448-b87e-ff56d24d659f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019f004d-ffea-7619-8cdd-f13269b9d9fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f004d-ffea-79af-b139-de638d63657f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019f004d-ffea-7448-b87e-ff56d24d659f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019f004d-ffea-79af-b139-de638d63657f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f004d-ffea-7947-aa96-9bbdb286b983" 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_ProceedsFromStockOptionsExercised_019f004d-ffea-76dc-aa84-de0cefea935b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f004d-ffea-7947-aa96-9bbdb286b983" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_019f004d-ffea-76dc-aa84-de0cefea935b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019f004d-ffea-7254-a47c-3b77e6cc0daf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019f004d-ffea-7947-aa96-9bbdb286b983" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019f004d-ffea-7254-a47c-3b77e6cc0daf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.palantir.com/role/InvestmentsandFairValueMeasurementsSummaryOfAssetsAndLiabilitiesThatAreMeasuredAtFairValueOnARecurringAndNonrecurringBasisDetail" xlink:type="simple" xlink:href="pltr-20260630.xsd#InvestmentsandFairValueMeasurementsSummaryOfAssetsAndLiabilitiesThatAreMeasuredAtFairValueOnARecurringAndNonrecurringBasisDetail"/>
  <link:calculationLink xlink:role="http://www.palantir.com/role/InvestmentsandFairValueMeasurementsSummaryOfAssetsAndLiabilitiesThatAreMeasuredAtFairValueOnARecurringAndNonrecurringBasisDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019f004e-0098-72e9-bcfa-a9690c27a86b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019f004e-0098-7294-a7a9-ef748028349a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019f004e-0098-72e9-bcfa-a9690c27a86b" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019f004e-0098-7294-a7a9-ef748028349a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019f004e-0098-7889-a536-360f744b1044" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019f004e-0098-72e9-bcfa-a9690c27a86b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019f004e-0098-7889-a536-360f744b1044" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_019f004e-0098-7651-a39c-6f7a2828571c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019f004e-0098-72e9-bcfa-a9690c27a86b" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_019f004e-0098-7651-a39c-6f7a2828571c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsFairValueDisclosure_019f004e-0098-7ef1-b1e6-bf433234f48e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019f004e-0098-72e9-bcfa-a9690c27a86b" xlink:to="loc_us-gaap_OtherAssetsFairValueDisclosure_019f004e-0098-7ef1-b1e6-bf433234f48e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.palantir.com/role/InvestmentsandFairValueMeasurementsAvailableForSaleDebtSecuritiesDetails" xlink:type="simple" xlink:href="pltr-20260630.xsd#InvestmentsandFairValueMeasurementsAvailableForSaleDebtSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.palantir.com/role/InvestmentsandFairValueMeasurementsAvailableForSaleDebtSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019f004e-0098-731e-a43c-25d39d4c25e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019f004e-0098-7cd0-8a02-b7265f1ce04b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019f004e-0098-731e-a43c-25d39d4c25e5" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019f004e-0098-7cd0-8a02-b7265f1ce04b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019f004e-0098-7099-ba90-ecf19405603b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019f004e-0098-731e-a43c-25d39d4c25e5" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019f004e-0098-7099-ba90-ecf19405603b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019f004e-0098-7c9e-82ca-2584dceb8ae2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019f004e-0098-731e-a43c-25d39d4c25e5" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019f004e-0098-7c9e-82ca-2584dceb8ae2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.palantir.com/role/SupplementalFinancialStatementInformationCashCashEquivalentsandRestrictedCashDetails" xlink:type="simple" xlink:href="pltr-20260630.xsd#SupplementalFinancialStatementInformationCashCashEquivalentsandRestrictedCashDetails"/>
  <link:calculationLink xlink:role="http://www.palantir.com/role/SupplementalFinancialStatementInformationCashCashEquivalentsandRestrictedCashDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019f1b0c-1a76-79ab-aa79-5069dd388bc7" 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_019f1b0c-7ccd-78ac-9408-86ae02c786e3" 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_019f1b0c-1a76-79ab-aa79-5069dd388bc7" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019f1b0c-7ccd-78ac-9408-86ae02c786e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_019f1b0d-563f-7207-937a-197497a4ab5c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019f1b0c-1a76-79ab-aa79-5069dd388bc7" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_019f1b0d-563f-7207-937a-197497a4ab5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_019f1b0c-fc32-7bc9-b7c5-c182ec687b28" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019f1b0c-1a76-79ab-aa79-5069dd388bc7" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_019f1b0c-fc32-7bc9-b7c5-c182ec687b28" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.palantir.com/role/BalanceSheetComponentsScheduleofAccruedLiabilitiesDetail" xlink:type="simple" xlink:href="pltr-20260630.xsd#BalanceSheetComponentsScheduleofAccruedLiabilitiesDetail"/>
  <link:calculationLink xlink:role="http://www.palantir.com/role/BalanceSheetComponentsScheduleofAccruedLiabilitiesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019f004e-0098-7915-8285-4eabe78bcb4d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019f2001-ccce-7a39-bd6a-9d6c1b951a81" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019f004e-0098-7915-8285-4eabe78bcb4d" xlink:to="loc_us-gaap_AccountsPayableCurrent_019f2001-ccce-7a39-bd6a-9d6c1b951a81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019f004e-0098-76cd-b1e0-df01d30811c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019f004e-0098-7915-8285-4eabe78bcb4d" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019f004e-0098-76cd-b1e0-df01d30811c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_019f004e-0098-7dcb-a798-2e8b87868a25" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019f004e-0098-7915-8285-4eabe78bcb4d" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_019f004e-0098-7dcb-a798-2e8b87868a25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019f004e-0098-7eac-b3f1-c34a4e5e7881" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019f004e-0098-7915-8285-4eabe78bcb4d" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019f004e-0098-7eac-b3f1-c34a4e5e7881" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.palantir.com/role/EarningsPerShareAttributabletoCommonStockholdersSummaryofCalculationofBasicandDilutedNetLossPerShareDetail" xlink:type="simple" xlink:href="pltr-20260630.xsd#EarningsPerShareAttributabletoCommonStockholdersSummaryofCalculationofBasicandDilutedNetLossPerShareDetail"/>
  <link:calculationLink xlink:role="http://www.palantir.com/role/EarningsPerShareAttributabletoCommonStockholdersSummaryofCalculationofBasicandDilutedNetLossPerShareDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019f004e-0098-7d5e-bbad-8141bf79d1d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019f004e-0098-7744-a218-eb786bbd29ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019f004e-0098-7d5e-bbad-8141bf79d1d9" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019f004e-0098-7744-a218-eb786bbd29ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019f004e-0098-7471-9b08-6835c76374df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019f004e-0098-7d5e-bbad-8141bf79d1d9" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019f004e-0098-7471-9b08-6835c76374df" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.palantir.com/role/SegmentandGeographicInformationSummaryofReconciliationofSegmentFinancialInformationtoLossfromOperationsDetail" xlink:type="simple" xlink:href="pltr-20260630.xsd#SegmentandGeographicInformationSummaryofReconciliationofSegmentFinancialInformationtoLossfromOperationsDetail"/>
  <link:calculationLink xlink:role="http://www.palantir.com/role/SegmentandGeographicInformationSummaryofReconciliationofSegmentFinancialInformationtoLossfromOperationsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pltr_Contribution_019f004e-0098-738f-aaf8-8f56b1b8cf69" xlink:href="pltr-20260630.xsd#pltr_Contribution"/>
    <link:loc xlink:type="locator" xlink:label="loc_pltr_ResearchAndDevelopmentExpenseExcludingStockbasedCompensationExpense_019f004e-0098-7283-84d7-a3948bf1dc82" xlink:href="pltr-20260630.xsd#pltr_ResearchAndDevelopmentExpenseExcludingStockbasedCompensationExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_pltr_Contribution_019f004e-0098-738f-aaf8-8f56b1b8cf69" xlink:to="loc_pltr_ResearchAndDevelopmentExpenseExcludingStockbasedCompensationExpense_019f004e-0098-7283-84d7-a3948bf1dc82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pltr_GeneralAndAdministrativeExpenseExcludingStockbasedCompensationExpense_019f004e-0098-7bc3-a3b1-c48e8f74a74d" xlink:href="pltr-20260630.xsd#pltr_GeneralAndAdministrativeExpenseExcludingStockbasedCompensationExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_pltr_Contribution_019f004e-0098-738f-aaf8-8f56b1b8cf69" xlink:to="loc_pltr_GeneralAndAdministrativeExpenseExcludingStockbasedCompensationExpense_019f004e-0098-7bc3-a3b1-c48e8f74a74d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019f004e-0098-7b43-903d-1c1ef7f81cf3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_pltr_Contribution_019f004e-0098-738f-aaf8-8f56b1b8cf69" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019f004e-0098-7b43-903d-1c1ef7f81cf3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019f004e-0098-77ae-834a-047a370ee72f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_pltr_Contribution_019f004e-0098-738f-aaf8-8f56b1b8cf69" xlink:to="loc_us-gaap_OperatingIncomeLoss_019f004e-0098-77ae-834a-047a370ee72f" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
