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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:f9f27bce-1e8a-4666-9b07-3bcdaed32b46,g:190f1ce9-a562-493a-bebe-177e8276c535-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://pubmatic.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="pubm-20251231.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_9ec9bd13-7e53-40a8-9b64-a273012d1dd1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_00adcb96-c164-4bed-98ab-a3fbb80eb885" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9ec9bd13-7e53-40a8-9b64-a273012d1dd1" xlink:to="loc_us-gaap_LiabilitiesCurrent_00adcb96-c164-4bed-98ab-a3fbb80eb885" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_4ddb1acd-c88b-4599-a57f-d89d0236e334" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9ec9bd13-7e53-40a8-9b64-a273012d1dd1" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_4ddb1acd-c88b-4599-a57f-d89d0236e334" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_3c685ac0-26e3-4631-b24a-2e44e30e8bcd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9ec9bd13-7e53-40a8-9b64-a273012d1dd1" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_3c685ac0-26e3-4631-b24a-2e44e30e8bcd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_bbdc704b-40e0-4b4e-91c7-a42b889595d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_434b4ce4-54e0-4617-8147-a35939b16093" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_bbdc704b-40e0-4b4e-91c7-a42b889595d4" xlink:to="loc_us-gaap_PreferredStockValue_434b4ce4-54e0-4617-8147-a35939b16093" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_3e5137ef-12da-4e01-adf9-903ae0b1ae3c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_bbdc704b-40e0-4b4e-91c7-a42b889595d4" xlink:to="loc_us-gaap_CommonStockValue_3e5137ef-12da-4e01-adf9-903ae0b1ae3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_b007a42f-ca6e-4b4e-8b22-abb86a6f0cc0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockValue"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_bbdc704b-40e0-4b4e-91c7-a42b889595d4" xlink:to="loc_us-gaap_TreasuryStockValue_b007a42f-ca6e-4b4e-8b22-abb86a6f0cc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_7ad87272-3165-46d5-abb5-51e5fc423d9d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_bbdc704b-40e0-4b4e-91c7-a42b889595d4" xlink:to="loc_us-gaap_AdditionalPaidInCapital_7ad87272-3165-46d5-abb5-51e5fc423d9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_48644c1d-6381-43d2-872b-a1f912b6216c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_bbdc704b-40e0-4b4e-91c7-a42b889595d4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_48644c1d-6381-43d2-872b-a1f912b6216c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_9fd109ae-71f4-49c3-b8d1-79f0ae00d884" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_bbdc704b-40e0-4b4e-91c7-a42b889595d4" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_9fd109ae-71f4-49c3-b8d1-79f0ae00d884" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_8d61381e-a069-48ef-bd95-6d8150765763" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_cd5af4ef-1f3a-4e16-84a0-83f8d8eaaf35" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8d61381e-a069-48ef-bd95-6d8150765763" xlink:to="loc_us-gaap_AssetsCurrent_cd5af4ef-1f3a-4e16-84a0-83f8d8eaaf35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_739ad9b7-582e-4617-9374-2c72e615a9c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8d61381e-a069-48ef-bd95-6d8150765763" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_739ad9b7-582e-4617-9374-2c72e615a9c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_c875012e-8e8d-4eb8-af23-1c8bd7c70bcf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8d61381e-a069-48ef-bd95-6d8150765763" xlink:to="loc_us-gaap_Goodwill_c875012e-8e8d-4eb8-af23-1c8bd7c70bcf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_d0ce15c9-ec80-464a-918c-96c982f1d333" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8d61381e-a069-48ef-bd95-6d8150765763" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_d0ce15c9-ec80-464a-918c-96c982f1d333" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_7d615d59-2161-4f15-9ec4-ac5d796438fa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8d61381e-a069-48ef-bd95-6d8150765763" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_7d615d59-2161-4f15-9ec4-ac5d796438fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_45c6706d-0a0a-4763-b699-285b59f3da02" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8d61381e-a069-48ef-bd95-6d8150765763" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_45c6706d-0a0a-4763-b699-285b59f3da02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_6ec115e0-bbb6-4941-9e07-b2635866268a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8d61381e-a069-48ef-bd95-6d8150765763" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_6ec115e0-bbb6-4941-9e07-b2635866268a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_946a1e3a-c928-40e7-b654-3b704c592138" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_4058206f-2722-48f8-8a51-b9e4f18fd722" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_946a1e3a-c928-40e7-b654-3b704c592138" xlink:to="loc_us-gaap_AccountsPayableCurrent_4058206f-2722-48f8-8a51-b9e4f18fd722" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_851ccc5a-859d-45d4-a3ab-2973798904bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_946a1e3a-c928-40e7-b654-3b704c592138" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_851ccc5a-859d-45d4-a3ab-2973798904bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_e6dcfbbb-27b2-40af-b61c-681919b268b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_946a1e3a-c928-40e7-b654-3b704c592138" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_e6dcfbbb-27b2-40af-b61c-681919b268b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_87a5a0cb-9c51-48e1-847c-07e5a8c7a1bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_d7aaace7-3f8d-412b-a11c-9a7c27fef2ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_87a5a0cb-9c51-48e1-847c-07e5a8c7a1bf" xlink:to="loc_us-gaap_Liabilities_d7aaace7-3f8d-412b-a11c-9a7c27fef2ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_fb4bc55b-cdab-40d8-9cd7-4418d456a921" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_87a5a0cb-9c51-48e1-847c-07e5a8c7a1bf" xlink:to="loc_us-gaap_CommitmentsAndContingencies_fb4bc55b-cdab-40d8-9cd7-4418d456a921" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_7e5fe3e1-4be4-4e6d-b22d-9fa481f77ec3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_87a5a0cb-9c51-48e1-847c-07e5a8c7a1bf" xlink:to="loc_us-gaap_StockholdersEquity_7e5fe3e1-4be4-4e6d-b22d-9fa481f77ec3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_90b0f1d6-a51f-45f5-b125-74abb3a1d85d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_186ff48d-1af8-4b74-867c-8edcc4a27c85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_90b0f1d6-a51f-45f5-b125-74abb3a1d85d" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_186ff48d-1af8-4b74-867c-8edcc4a27c85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_384c4279-a969-4250-987d-4a6d414b510b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_90b0f1d6-a51f-45f5-b125-74abb3a1d85d" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_384c4279-a969-4250-987d-4a6d414b510b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_4cae311e-0774-4a94-849d-9979f3d77bf9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_90b0f1d6-a51f-45f5-b125-74abb3a1d85d" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_4cae311e-0774-4a94-849d-9979f3d77bf9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_8afe9b57-9167-4bdc-be7c-58eb25d242bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_90b0f1d6-a51f-45f5-b125-74abb3a1d85d" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_8afe9b57-9167-4bdc-be7c-58eb25d242bc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="pubm-20251231.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_0d37518d-afd6-4744-a6d4-b1f6e41508ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_89c7cae5-4d7c-4f27-be21-5409ff4e8975" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_0d37518d-afd6-4744-a6d4-b1f6e41508ab" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_89c7cae5-4d7c-4f27-be21-5409ff4e8975" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_3922f5b3-90fa-4736-80a1-fd7afa68e22d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_0d37518d-afd6-4744-a6d4-b1f6e41508ab" xlink:to="loc_us-gaap_SellingAndMarketingExpense_3922f5b3-90fa-4736-80a1-fd7afa68e22d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_99ee71d5-c2f9-4c13-be63-ad51c5031c56" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_0d37518d-afd6-4744-a6d4-b1f6e41508ab" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_99ee71d5-c2f9-4c13-be63-ad51c5031c56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_9aa09d88-9b26-46ed-bf08-11e3f4554a00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_f88e343a-ed69-4d08-b103-a82d6817dc12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_9aa09d88-9b26-46ed-bf08-11e3f4554a00" xlink:to="loc_us-gaap_OperatingExpenses_f88e343a-ed69-4d08-b103-a82d6817dc12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_eb405855-b252-4d80-a846-ed7f5f421da1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_9aa09d88-9b26-46ed-bf08-11e3f4554a00" xlink:to="loc_us-gaap_GrossProfit_eb405855-b252-4d80-a846-ed7f5f421da1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_98789b70-c04d-437c-87b4-97b06cb2d39f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_7a1594a6-b8dc-4fbc-9f08-bdcea27812c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_98789b70-c04d-437c-87b4-97b06cb2d39f" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_7a1594a6-b8dc-4fbc-9f08-bdcea27812c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_6aee0a73-9797-49c5-ad36-baf9c77bf42c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_98789b70-c04d-437c-87b4-97b06cb2d39f" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_6aee0a73-9797-49c5-ad36-baf9c77bf42c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e59aedfa-d339-494c-937a-ddb0e7d733ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_5747d3fa-1e20-43b2-8cda-6d99fe17aa29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e59aedfa-d339-494c-937a-ddb0e7d733ea" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_5747d3fa-1e20-43b2-8cda-6d99fe17aa29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_01e00db0-4267-490e-a568-5f30ffd65483" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e59aedfa-d339-494c-937a-ddb0e7d733ea" xlink:to="loc_us-gaap_OperatingIncomeLoss_01e00db0-4267-490e-a568-5f30ffd65483" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_e51398ae-c5cb-42b8-84cc-f983f53651ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_3745cc34-b9b9-48ba-abaa-415e6dcb2d46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_e51398ae-c5cb-42b8-84cc-f983f53651ae" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_3745cc34-b9b9-48ba-abaa-415e6dcb2d46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_2af054c6-e6ed-4e03-95a3-70fb820f1c2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_e51398ae-c5cb-42b8-84cc-f983f53651ae" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_2af054c6-e6ed-4e03-95a3-70fb820f1c2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_7af7664c-8c4b-4503-a4f0-139c169974d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_fb8fe5ae-e390-4b10-838a-008f1450ec29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_7af7664c-8c4b-4503-a4f0-139c169974d7" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_fb8fe5ae-e390-4b10-838a-008f1450ec29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_8f3a8230-fcff-4c1c-abe0-74e4590a3d36" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_7af7664c-8c4b-4503-a4f0-139c169974d7" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_8f3a8230-fcff-4c1c-abe0-74e4590a3d36" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="pubm-20251231.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_95943683-bfbc-4d66-8269-dc66e54ab82f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_f14af114-2761-44e8-9aac-507d9b6589b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_95943683-bfbc-4d66-8269-dc66e54ab82f" xlink:to="loc_us-gaap_NetIncomeLoss_f14af114-2761-44e8-9aac-507d9b6589b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_15689493-e521-41fc-bfa5-9019b23af38b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_95943683-bfbc-4d66-8269-dc66e54ab82f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_15689493-e521-41fc-bfa5-9019b23af38b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_8738b051-3110-4295-8400-832c71814a56" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_95943683-bfbc-4d66-8269-dc66e54ab82f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_8738b051-3110-4295-8400-832c71814a56" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="pubm-20251231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6f2a798e-576c-4682-9ea0-c4dbe3064758" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockPlans_3b7cb0ad-2bb3-48be-bf8e-9887e77c4661" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromStockPlans"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6f2a798e-576c-4682-9ea0-c4dbe3064758" xlink:to="loc_us-gaap_ProceedsFromStockPlans_3b7cb0ad-2bb3-48be-bf8e-9887e77c4661" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_656e78f9-8e4f-49db-918b-432527e239d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6f2a798e-576c-4682-9ea0-c4dbe3064758" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_656e78f9-8e4f-49db-918b-432527e239d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_47c3bee5-0614-4f3a-bfc1-d36fec50aee6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6f2a798e-576c-4682-9ea0-c4dbe3064758" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_47c3bee5-0614-4f3a-bfc1-d36fec50aee6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_e684d669-2cd4-46de-83e9-3193c38503d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6f2a798e-576c-4682-9ea0-c4dbe3064758" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_e684d669-2cd4-46de-83e9-3193c38503d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_6ab036ef-76a6-45b4-939f-ae9eaa886265" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6f2a798e-576c-4682-9ea0-c4dbe3064758" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_6ab036ef-76a6-45b4-939f-ae9eaa886265" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aa488e76-9e61-4e3d-916a-5265ec90e0d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_e71830fd-361f-4f29-8e9c-ab858cf396cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aa488e76-9e61-4e3d-916a-5265ec90e0d5" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_e71830fd-361f-4f29-8e9c-ab858cf396cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_941f8496-05e3-4f91-862a-65583eac7f5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aa488e76-9e61-4e3d-916a-5265ec90e0d5" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_941f8496-05e3-4f91-862a-65583eac7f5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_34cccfff-c250-464f-a2d4-ddc33d5c693b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aa488e76-9e61-4e3d-916a-5265ec90e0d5" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_34cccfff-c250-464f-a2d4-ddc33d5c693b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToDevelopSoftware_13a8553d-53d1-460d-96b9-6ff99d351476" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToDevelopSoftware"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aa488e76-9e61-4e3d-916a-5265ec90e0d5" xlink:to="loc_us-gaap_PaymentsToDevelopSoftware_13a8553d-53d1-460d-96b9-6ff99d351476" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_9fa57b43-af83-4f0b-9b23-64f67c563d1f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aa488e76-9e61-4e3d-916a-5265ec90e0d5" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_9fa57b43-af83-4f0b-9b23-64f67c563d1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_7cc7e792-75db-4607-bf32-42c673551e8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_7cc7e792-75db-4607-bf32-42c673551e8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_cdc9f6c0-ef5b-406c-aa82-c35148a35fa9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_cdc9f6c0-ef5b-406c-aa82-c35148a35fa9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_4cce804d-51ef-4d40-abc1-f0598faa7fbc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_4cce804d-51ef-4d40-abc1-f0598faa7fbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_208c9d68-24fa-4d03-982e-32584a6e6fbf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_208c9d68-24fa-4d03-982e-32584a6e6fbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_ef4fc1e9-d398-44c0-99b4-1d6f519a2f73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_NetIncomeLoss_ef4fc1e9-d398-44c0-99b4-1d6f519a2f73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_19c212aa-3b64-4449-8d67-49632425e27f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_19c212aa-3b64-4449-8d67-49632425e27f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherDepreciationAndAmortization_b21989be-b153-4841-982d-a9a8d6faa088" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherDepreciationAndAmortization"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_OtherDepreciationAndAmortization_b21989be-b153-4841-982d-a9a8d6faa088" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_a20cd8f0-495f-48d8-ba87-f9783ebbb68c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_a20cd8f0-495f-48d8-ba87-f9783ebbb68c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_3221a414-a7e5-4557-81a9-e6f87cb86b16" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_3221a414-a7e5-4557-81a9-e6f87cb86b16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_20ed1977-fe4d-4945-8b70-bb1609df33d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_20ed1977-fe4d-4945-8b70-bb1609df33d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_e19da564-6984-4bc1-8b5d-48fc148d94ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_e19da564-6984-4bc1-8b5d-48fc148d94ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_c270197c-e1d0-47c8-a6ef-1bb4eebd2f5e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_c270197c-e1d0-47c8-a6ef-1bb4eebd2f5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_NonCashLeaseExpense_52246871-bb86-4d66-95bd-884ce4679f01" xlink:href="pubm-20251231.xsd#pubm_NonCashLeaseExpense"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_pubm_NonCashLeaseExpense_52246871-bb86-4d66-95bd-884ce4679f01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_4a95dd18-15ec-42ba-ba14-0bffae034cb1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_2aa134f1-807d-4e12-b3fe-66aab929f264" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_4a95dd18-15ec-42ba-ba14-0bffae034cb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_13bb3692-f65d-4fb4-91a3-996233e84d87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_049cfceb-8b5d-4e45-b234-97bdd4668f31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_13bb3692-f65d-4fb4-91a3-996233e84d87" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_049cfceb-8b5d-4e45-b234-97bdd4668f31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_359d8763-87cf-401c-898f-80ae36f093e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_13bb3692-f65d-4fb4-91a3-996233e84d87" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_359d8763-87cf-401c-898f-80ae36f093e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8ce76db8-8da5-4409-9dd3-532aa6e0a6ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_13bb3692-f65d-4fb4-91a3-996233e84d87" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8ce76db8-8da5-4409-9dd3-532aa6e0a6ae" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/FairValueMeasurementsDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#FairValueMeasurementsDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/FairValueMeasurementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_584546b8-0363-41d9-8bc6-a4676ee1d807" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_d64a3f39-6ea5-45b2-b961-e5d1b57860fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_584546b8-0363-41d9-8bc6-a4676ee1d807" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_d64a3f39-6ea5-45b2-b961-e5d1b57860fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_cd322904-5edf-4633-ba32-64c102ce415e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_584546b8-0363-41d9-8bc6-a4676ee1d807" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_cd322904-5edf-4633-ba32-64c102ce415e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/BalanceSheetComponentsScheduleofMarketableSecuritiesDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#BalanceSheetComponentsScheduleofMarketableSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BalanceSheetComponentsScheduleofMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostCurrent_3f2617da-da85-4e2b-b06c-8192e3e698af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_aef8988c-e93d-47d6-be74-09e1134f7713" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostCurrent_3f2617da-da85-4e2b-b06c-8192e3e698af" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_aef8988c-e93d-47d6-be74-09e1134f7713" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_4c3c335c-5d89-4213-959a-a3565d245f6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostCurrent_3f2617da-da85-4e2b-b06c-8192e3e698af" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_4c3c335c-5d89-4213-959a-a3565d245f6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_813329e2-ee84-41d9-a830-c79a0a9c4848" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostCurrent_3f2617da-da85-4e2b-b06c-8192e3e698af" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_813329e2-ee84-41d9-a830-c79a0a9c4848" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/BalanceSheetComponentsScheduleofPropertyEquipmentandSoftwareNetDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#BalanceSheetComponentsScheduleofPropertyEquipmentandSoftwareNetDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BalanceSheetComponentsScheduleofPropertyEquipmentandSoftwareNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_9f664804-574c-4275-9330-c5d4fc2359a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_eba6083b-d8ea-402c-b91e-1f3868f1b211" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_9f664804-574c-4275-9330-c5d4fc2359a6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_eba6083b-d8ea-402c-b91e-1f3868f1b211" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_dce82d8d-26d9-45f0-aeac-947624bf46d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_9f664804-574c-4275-9330-c5d4fc2359a6" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_dce82d8d-26d9-45f0-aeac-947624bf46d9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/BalanceSheetComponentsScheduleofAccountsPayableDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#BalanceSheetComponentsScheduleofAccountsPayableDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BalanceSheetComponentsScheduleofAccountsPayableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_cb184800-cf3e-4910-bada-f2832df0df6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableTradeCurrent_7c7974e4-32b7-418c-96e5-59212396feee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableCurrent_cb184800-cf3e-4910-bada-f2832df0df6d" xlink:to="loc_us-gaap_AccountsPayableTradeCurrent_7c7974e4-32b7-418c-96e5-59212396feee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableOtherCurrent_bf39396e-89dd-4499-8d29-66b386959955" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableOtherCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableCurrent_cb184800-cf3e-4910-bada-f2832df0df6d" xlink:to="loc_us-gaap_AccountsPayableOtherCurrent_bf39396e-89dd-4499-8d29-66b386959955" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/BalanceSheetComponentsScheduleofAccruedLiabilitiesDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#BalanceSheetComponentsScheduleofAccruedLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BalanceSheetComponentsScheduleofAccruedLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_228216fd-2081-40a0-9239-1069184af935" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_0e19cca7-be75-41bf-b702-2aa63cd9105f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_228216fd-2081-40a0-9239-1069184af935" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_0e19cca7-be75-41bf-b702-2aa63cd9105f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_5b72c72b-d2b0-4320-a848-28fb0e84c296" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_228216fd-2081-40a0-9239-1069184af935" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_5b72c72b-d2b0-4320-a848-28fb0e84c296" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/LeasesScheduleofOperatingandFinanceLeaseCostDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#LeasesScheduleofOperatingandFinanceLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/LeasesScheduleofOperatingandFinanceLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_1073f1ec-f48e-4c4b-a33d-124c73a9c1a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_79f401d1-c489-4983-aebf-fe85adceb471" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_1073f1ec-f48e-4c4b-a33d-124c73a9c1a7" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_79f401d1-c489-4983-aebf-fe85adceb471" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_7560ad14-6650-43df-be1f-118dfca139ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_1073f1ec-f48e-4c4b-a33d-124c73a9c1a7" xlink:to="loc_us-gaap_OperatingLeaseCost_7560ad14-6650-43df-be1f-118dfca139ff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/LeasesScheduleofLeaseMaturityDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#LeasesScheduleofLeaseMaturityDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/LeasesScheduleofLeaseMaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_fe01e1f8-c86b-4dba-b37b-e641f7606676" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree_d5eb6ebb-5c80-4b58-ab36-23a134997654" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_fe01e1f8-c86b-4dba-b37b-e641f7606676" xlink:to="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree_d5eb6ebb-5c80-4b58-ab36-23a134997654" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive_4f96751b-db9a-4ec0-85b0-dc2c670a9d11" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_fe01e1f8-c86b-4dba-b37b-e641f7606676" xlink:to="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive_4f96751b-db9a-4ec0-85b0-dc2c670a9d11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo_e1467339-ecd8-4032-bb6c-6c5a52c04547" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_fe01e1f8-c86b-4dba-b37b-e641f7606676" xlink:to="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo_e1467339-ecd8-4032-bb6c-6c5a52c04547" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_0c5a16f0-e4ac-41dd-a069-2cb44a9cba18" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_fe01e1f8-c86b-4dba-b37b-e641f7606676" xlink:to="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidAfterYearFive_0c5a16f0-e4ac-41dd-a069-2cb44a9cba18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour_4ca63379-b10a-4db1-8b62-051a797cbee0" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_fe01e1f8-c86b-4dba-b37b-e641f7606676" xlink:to="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour_4ca63379-b10a-4db1-8b62-051a797cbee0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne_994fb062-26b4-4114-9d02-7bc727ebb1b9" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_fe01e1f8-c86b-4dba-b37b-e641f7606676" xlink:to="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne_994fb062-26b4-4114-9d02-7bc727ebb1b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_bc3d2bfa-b75b-4897-ae58-4601bc719b2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_48b6a05e-9605-4cb0-83bd-e530efa6312a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_bc3d2bfa-b75b-4897-ae58-4601bc719b2c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_48b6a05e-9605-4cb0-83bd-e530efa6312a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_1c018b3a-dcd3-4f59-8cbe-e512aecdd676" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_bc3d2bfa-b75b-4897-ae58-4601bc719b2c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_1c018b3a-dcd3-4f59-8cbe-e512aecdd676" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_c62b02e0-7c45-448d-b459-84e285ae39ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_bc3d2bfa-b75b-4897-ae58-4601bc719b2c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_c62b02e0-7c45-448d-b459-84e285ae39ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_2785165f-ae32-454e-a2f4-6a2586ab720c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_bc3d2bfa-b75b-4897-ae58-4601bc719b2c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_2785165f-ae32-454e-a2f4-6a2586ab720c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_351927d1-0d08-4dc5-a7a8-9c9c282fedef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_bc3d2bfa-b75b-4897-ae58-4601bc719b2c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_351927d1-0d08-4dc5-a7a8-9c9c282fedef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_d9552df6-ea63-4886-930b-d8b98698def3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_bc3d2bfa-b75b-4897-ae58-4601bc719b2c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_d9552df6-ea63-4886-930b-d8b98698def3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne_34a1448e-fdfd-499c-bbbb-3adb7312397d" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_d7cd08b3-622d-40bb-95bc-a3d9226d47cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne_34a1448e-fdfd-499c-bbbb-3adb7312397d" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_d7cd08b3-622d-40bb-95bc-a3d9226d47cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_74ab3146-1593-40a3-b1cf-b6aa56ac901b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearOne_34a1448e-fdfd-499c-bbbb-3adb7312397d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_74ab3146-1593-40a3-b1cf-b6aa56ac901b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1413007f-e8c5-45f5-818e-811429e36eaa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_e10d08a8-c34a-4f57-84ce-043c5ba76209" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1413007f-e8c5-45f5-818e-811429e36eaa" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_e10d08a8-c34a-4f57-84ce-043c5ba76209" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_2eca4a92-c092-4e27-9a22-3743e02e09e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1413007f-e8c5-45f5-818e-811429e36eaa" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_2eca4a92-c092-4e27-9a22-3743e02e09e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_dcf5b17b-a59f-401c-a8c4-494a3ca728ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1413007f-e8c5-45f5-818e-811429e36eaa" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_dcf5b17b-a59f-401c-a8c4-494a3ca728ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_aabd9740-2b8e-48c2-afd2-38e52ebc53fa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1413007f-e8c5-45f5-818e-811429e36eaa" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_aabd9740-2b8e-48c2-afd2-38e52ebc53fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_57bcac43-2324-47b3-999a-0f7c76309e01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1413007f-e8c5-45f5-818e-811429e36eaa" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_57bcac43-2324-47b3-999a-0f7c76309e01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_7f7b1e1d-d337-4261-b539-18a989b577c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1413007f-e8c5-45f5-818e-811429e36eaa" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_7f7b1e1d-d337-4261-b539-18a989b577c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo_29ada799-6e2a-4559-bcb3-0cdeadebef81" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_e80ae26a-898f-4397-a94f-0b9682c0910d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo_29ada799-6e2a-4559-bcb3-0cdeadebef81" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_e80ae26a-898f-4397-a94f-0b9682c0910d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_8f3b9d38-91c6-40b8-abb0-7d2cf598d957" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearTwo_29ada799-6e2a-4559-bcb3-0cdeadebef81" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_8f3b9d38-91c6-40b8-abb0-7d2cf598d957" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_OperatingAndFinanceLeaseLiability_72c324fc-494f-4d2a-b3bb-06093edbbc37" xlink:href="pubm-20251231.xsd#pubm_OperatingAndFinanceLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_6dba9053-6a84-4e17-b3f1-c987861c83de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_OperatingAndFinanceLeaseLiability_72c324fc-494f-4d2a-b3bb-06093edbbc37" xlink:to="loc_us-gaap_OperatingLeaseLiability_6dba9053-6a84-4e17-b3f1-c987861c83de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_ee00579b-b708-4845-b4cc-653fbcf64053" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_OperatingAndFinanceLeaseLiability_72c324fc-494f-4d2a-b3bb-06093edbbc37" xlink:to="loc_us-gaap_FinanceLeaseLiability_ee00579b-b708-4845-b4cc-653fbcf64053" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_eaf58aea-e7e4-4d8f-bce3-d0c8f2b392a6" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_36462fd1-99a5-4f95-99eb-cec5567d5b89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_eaf58aea-e7e4-4d8f-bce3-d0c8f2b392a6" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_36462fd1-99a5-4f95-99eb-cec5567d5b89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_edd4caff-14b6-420f-8472-44e806d6c2c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_eaf58aea-e7e4-4d8f-bce3-d0c8f2b392a6" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_edd4caff-14b6-420f-8472-44e806d6c2c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour_9ff84661-8c0f-4f6c-a1ff-a6ada61dab16" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_43d9582f-194b-4ae3-a35a-dcee7fddf95a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour_9ff84661-8c0f-4f6c-a1ff-a6ada61dab16" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_43d9582f-194b-4ae3-a35a-dcee7fddf95a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_942aa27f-f7b1-47fc-a73d-250c2a31aac6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFour_9ff84661-8c0f-4f6c-a1ff-a6ada61dab16" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_942aa27f-f7b1-47fc-a73d-250c2a31aac6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree_3fa59428-3e38-4239-a11a-8d23d9b2a303" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_ddb7cb38-a62d-4479-a581-12c4a086d9ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree_3fa59428-3e38-4239-a11a-8d23d9b2a303" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_ddb7cb38-a62d-4479-a581-12c4a086d9ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_132bfcd1-8755-4829-9d89-3c97aaa11a35" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearThree_3fa59428-3e38-4239-a11a-8d23d9b2a303" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_132bfcd1-8755-4829-9d89-3c97aaa11a35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive_0e35bc96-b832-4522-8dbe-5769310f9aac" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_fa437906-c278-4af7-a899-53ae52a79826" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive_0e35bc96-b832-4522-8dbe-5769310f9aac" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_fa437906-c278-4af7-a899-53ae52a79826" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_5b5802ad-cd3b-4551-89eb-7a812d4f5b89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaidYearFive_0e35bc96-b832-4522-8dbe-5769310f9aac" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_5b5802ad-cd3b-4551-89eb-7a812d4f5b89" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/LeasesScheduleofLeaseMaturityDetails_1" xlink:type="simple" xlink:href="pubm-20251231.xsd#LeasesScheduleofLeaseMaturityDetails_1"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/LeasesScheduleofLeaseMaturityDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_22ae3f6a-ee73-4920-a4ce-7f843dd0a643" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_OperatingAndFinanceLeaseLiability_609ed54f-168d-42ec-ae6d-0eb6a92ff4fe" xlink:href="pubm-20251231.xsd#pubm_OperatingAndFinanceLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_22ae3f6a-ee73-4920-a4ce-7f843dd0a643" xlink:to="loc_pubm_OperatingAndFinanceLeaseLiability_609ed54f-168d-42ec-ae6d-0eb6a92ff4fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_c09d4521-c62c-451c-8b4f-24ce7327d39c" xlink:href="pubm-20251231.xsd#pubm_LesseeOperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityToBePaid_22ae3f6a-ee73-4920-a4ce-7f843dd0a643" xlink:to="loc_pubm_LesseeOperatingAndFinanceLeaseLiabilityUndiscountedExcessAmount_c09d4521-c62c-451c-8b4f-24ce7327d39c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_43ece81e-0ff2-41df-a0a8-375663a23797" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_5fd6d045-c708-4890-8837-d1e16754f24d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_43ece81e-0ff2-41df-a0a8-375663a23797" xlink:to="loc_us-gaap_OperatingLeaseLiability_5fd6d045-c708-4890-8837-d1e16754f24d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_c5549dee-8c17-4ae5-8c97-503ef34f0200" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_43ece81e-0ff2-41df-a0a8-375663a23797" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_c5549dee-8c17-4ae5-8c97-503ef34f0200" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_c19ae4e8-29dd-4b7a-a05e-110d241d0582" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_beff536c-5e13-4eac-b4cb-c310d57e0cab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_c19ae4e8-29dd-4b7a-a05e-110d241d0582" xlink:to="loc_us-gaap_FinanceLeaseLiability_beff536c-5e13-4eac-b4cb-c310d57e0cab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_965fd7b8-c65c-40bf-8582-98360955f832" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_c19ae4e8-29dd-4b7a-a05e-110d241d0582" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_965fd7b8-c65c-40bf-8582-98360955f832" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/GoodwillandAcquisitionrelatedIntangibleAssetsNetScheduleofEstimatedFutureAmortizationDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#GoodwillandAcquisitionrelatedIntangibleAssetsNetScheduleofEstimatedFutureAmortizationDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/GoodwillandAcquisitionrelatedIntangibleAssetsNetScheduleofEstimatedFutureAmortizationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_bdd71073-e827-42bb-a087-d6d447b860f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_0639eb9c-7aad-43a8-a61f-49ab4728e879" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_bdd71073-e827-42bb-a087-d6d447b860f0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_0639eb9c-7aad-43a8-a61f-49ab4728e879" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_1d7b3ee8-dc41-4af4-a0a4-1fc2a578512a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_bdd71073-e827-42bb-a087-d6d447b860f0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_1d7b3ee8-dc41-4af4-a0a4-1fc2a578512a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/CommitmentsandContingenciesScheduleofFutureMinimumCommitmentsDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#CommitmentsandContingenciesScheduleofFutureMinimumCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CommitmentsandContingenciesScheduleofFutureMinimumCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_fa1ffe99-5df7-475f-802e-8de6eded5797" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_fbe584ff-d855-4a84-9d42-9cdca1761a4c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_fa1ffe99-5df7-475f-802e-8de6eded5797" xlink:to="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_fbe584ff-d855-4a84-9d42-9cdca1761a4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInSecondYear_6bd7a439-b3d1-4e1b-9bc9-5e144cb8e68c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueInSecondYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_fa1ffe99-5df7-475f-802e-8de6eded5797" xlink:to="loc_us-gaap_ContractualObligationDueInSecondYear_6bd7a439-b3d1-4e1b-9bc9-5e144cb8e68c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInThirdYear_c9e2c6c3-2baf-473c-932c-c85dcac50a55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueInThirdYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_fa1ffe99-5df7-475f-802e-8de6eded5797" xlink:to="loc_us-gaap_ContractualObligationDueInThirdYear_c9e2c6c3-2baf-473c-932c-c85dcac50a55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInFourthYear_019c984c-2feb-717b-bc8e-62a56c0d43b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligationDueInFourthYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_fa1ffe99-5df7-475f-802e-8de6eded5797" xlink:to="loc_us-gaap_ContractualObligationDueInFourthYear_019c984c-2feb-717b-bc8e-62a56c0d43b7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/StockholdersEquityandEquityIncentivePlansScheduleofStockbasedCompensationExpenseDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#StockholdersEquityandEquityIncentivePlansScheduleofStockbasedCompensationExpenseDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/StockholdersEquityandEquityIncentivePlansScheduleofStockbasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pubm_ShareBasedPaymentArrangementExpenseNet_12e52410-58cd-44a1-bf57-86f01da08d15" xlink:href="pubm-20251231.xsd#pubm_ShareBasedPaymentArrangementExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_ShareBasedPaymentArrangementTaxBenefit_34624c59-49c3-4981-baa2-eb9b79e020d9" xlink:href="pubm-20251231.xsd#pubm_ShareBasedPaymentArrangementTaxBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_ShareBasedPaymentArrangementExpenseNet_12e52410-58cd-44a1-bf57-86f01da08d15" xlink:to="loc_pubm_ShareBasedPaymentArrangementTaxBenefit_34624c59-49c3-4981-baa2-eb9b79e020d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_c90d0446-3e6b-4b27-959f-7ad325922c1f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_ShareBasedPaymentArrangementExpenseNet_12e52410-58cd-44a1-bf57-86f01da08d15" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_c90d0446-3e6b-4b27-959f-7ad325922c1f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/NetIncomeLossPerShareAttributabletoCommonStockholdersScheduleofBasicandDilutedNetIncomeperShareDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#NetIncomeLossPerShareAttributabletoCommonStockholdersScheduleofBasicandDilutedNetIncomeperShareDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/NetIncomeLossPerShareAttributabletoCommonStockholdersScheduleofBasicandDilutedNetIncomeperShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7c1dc9b9-74b2-410a-bf5b-b26d24b7748a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_c7adcb59-e127-44d8-9975-a3975049f153" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7c1dc9b9-74b2-410a-bf5b-b26d24b7748a" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_c7adcb59-e127-44d8-9975-a3975049f153" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_IncrementalCommonSharesAttributableToDilutiveEffectOfCallOptions_87d825a5-e392-4b25-b11a-7ad2124ad303" xlink:href="pubm-20251231.xsd#pubm_IncrementalCommonSharesAttributableToDilutiveEffectOfCallOptions"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7c1dc9b9-74b2-410a-bf5b-b26d24b7748a" xlink:to="loc_pubm_IncrementalCommonSharesAttributableToDilutiveEffectOfCallOptions_87d825a5-e392-4b25-b11a-7ad2124ad303" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_IncrementalCommonSharesAttributableToRestrictedStock_ea51a48c-d6d0-4075-9d59-452923ca4530" xlink:href="pubm-20251231.xsd#pubm_IncrementalCommonSharesAttributableToRestrictedStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7c1dc9b9-74b2-410a-bf5b-b26d24b7748a" xlink:to="loc_pubm_IncrementalCommonSharesAttributableToRestrictedStock_ea51a48c-d6d0-4075-9d59-452923ca4530" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_IncrementalCommonSharesAttributableToEmployeeStockPurchasePlan_19f99ed9-7707-40d7-9280-8653308f5e90" xlink:href="pubm-20251231.xsd#pubm_IncrementalCommonSharesAttributableToEmployeeStockPurchasePlan"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7c1dc9b9-74b2-410a-bf5b-b26d24b7748a" xlink:to="loc_pubm_IncrementalCommonSharesAttributableToEmployeeStockPurchasePlan_19f99ed9-7707-40d7-9280-8653308f5e90" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/IncomeTaxesScheduleofIncomeBeforeProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#IncomeTaxesScheduleofIncomeBeforeProvisionforIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/IncomeTaxesScheduleofIncomeBeforeProvisionforIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_bb4f1f8a-47c1-4466-b0bd-0c387ffc17b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_67857b35-5679-4f58-9f4e-2c8bbc373071" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_bb4f1f8a-47c1-4466-b0bd-0c387ffc17b7" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_67857b35-5679-4f58-9f4e-2c8bbc373071" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_39ec97a1-f124-44ca-b640-4d7aadca793a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_bb4f1f8a-47c1-4466-b0bd-0c387ffc17b7" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_39ec97a1-f124-44ca-b640-4d7aadca793a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/IncomeTaxesScheduleofProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#IncomeTaxesScheduleofProvisionforIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/IncomeTaxesScheduleofProvisionforIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_82b0eb31-6167-4b3b-90a2-df3207916b5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_fe4ebda5-cf89-42c3-ab02-2cbf4f93f566" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_82b0eb31-6167-4b3b-90a2-df3207916b5c" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_fe4ebda5-cf89-42c3-ab02-2cbf4f93f566" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_DeferredIncomeTaxExpenseBenefitExcludingNetDeferredTaxLiabilityFromAcquisition_62e30d4b-73a6-4e82-a038-469f37eac5fe" xlink:href="pubm-20251231.xsd#pubm_DeferredIncomeTaxExpenseBenefitExcludingNetDeferredTaxLiabilityFromAcquisition"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_82b0eb31-6167-4b3b-90a2-df3207916b5c" xlink:to="loc_pubm_DeferredIncomeTaxExpenseBenefitExcludingNetDeferredTaxLiabilityFromAcquisition_62e30d4b-73a6-4e82-a038-469f37eac5fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_DeferredIncomeTaxExpenseBenefitExcludingNetDeferredTaxLiabilityFromAcquisition_f7d77e08-04e2-48f8-b893-f91ca30e41cb" xlink:href="pubm-20251231.xsd#pubm_DeferredIncomeTaxExpenseBenefitExcludingNetDeferredTaxLiabilityFromAcquisition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_1ce4274d-134b-4513-b611-40525754ad0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_DeferredIncomeTaxExpenseBenefitExcludingNetDeferredTaxLiabilityFromAcquisition_f7d77e08-04e2-48f8-b893-f91ca30e41cb" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_1ce4274d-134b-4513-b611-40525754ad0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_a1d989c1-0d92-4046-be73-7f249b87582d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_DeferredIncomeTaxExpenseBenefitExcludingNetDeferredTaxLiabilityFromAcquisition_f7d77e08-04e2-48f8-b893-f91ca30e41cb" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_a1d989c1-0d92-4046-be73-7f249b87582d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_5aa2f6f5-baa2-43a2-be46-43533742e7fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_DeferredIncomeTaxExpenseBenefitExcludingNetDeferredTaxLiabilityFromAcquisition_f7d77e08-04e2-48f8-b893-f91ca30e41cb" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_5aa2f6f5-baa2-43a2-be46-43533742e7fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_8319262b-26e1-4e10-9705-19bcd55a0d0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_3803b900-bf09-4cda-b987-e1b270692252" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_8319262b-26e1-4e10-9705-19bcd55a0d0e" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_3803b900-bf09-4cda-b987-e1b270692252" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_b61be2ee-24aa-4952-b154-500d14806287" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_8319262b-26e1-4e10-9705-19bcd55a0d0e" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_b61be2ee-24aa-4952-b154-500d14806287" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_a8b50070-0efc-4f12-b6fc-d7c479d16952" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_8319262b-26e1-4e10-9705-19bcd55a0d0e" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_a8b50070-0efc-4f12-b6fc-d7c479d16952" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/IncomeTaxesScheduleofReconciliationoftheUSFederalStatutoryIncomeTaxRateDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#IncomeTaxesScheduleofReconciliationoftheUSFederalStatutoryIncomeTaxRateDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/IncomeTaxesScheduleofReconciliationoftheUSFederalStatutoryIncomeTaxRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019b222e-6b16-7f2f-8201-a96b2de67557" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019b222e-6b16-7f2f-8201-a96b2de67557" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019b222e-6b16-72fc-b97c-344ea9ef2fc1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019b222e-6b16-72fc-b97c-344ea9ef2fc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_019b222e-6b16-7241-9791-8645fc7a31fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_019b222e-6b16-7241-9791-8645fc7a31fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_019b222e-6b16-7050-af71-fa6d9b52c418" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_019b222e-6b16-7050-af71-fa6d9b52c418" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount_019b222e-6b16-7eb5-8fcf-42711322ea73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount_019b222e-6b16-7eb5-8fcf-42711322ea73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_019b222e-6b16-7001-8961-8be2725fa38a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_019b222e-6b16-7001-8961-8be2725fa38a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019b222e-6b16-7e76-b4db-731016ddccb4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019b222e-6b16-7e76-b4db-731016ddccb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019b222e-6b16-7e54-a7af-87f6fc87e654" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019b222e-6b16-7e54-a7af-87f6fc87e654" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseCompensationAmount_019c8ada-6726-7395-a72a-3736ec3fabb6" xlink:href="pubm-20251231.xsd#pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseCompensationAmount"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseCompensationAmount_019c8ada-6726-7395-a72a-3736ec3fabb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostAmount_019b222e-6b16-769a-bca5-5d0363a97e25" xlink:href="pubm-20251231.xsd#pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostAmount"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostAmount_019b222e-6b16-769a-bca5-5d0363a97e25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_019b222e-6b16-7b32-8de3-0bc35537009b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_019b222e-6b16-7b32-8de3-0bc35537009b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019b222e-6b16-775f-9539-5a0c89755f97" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxContingencies"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b222e-6b16-745c-84ec-4f0e4d82a0e2" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019b222e-6b16-775f-9539-5a0c89755f97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019b2230-51c2-7060-9771-80a0f77ecc43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019b2230-51c2-7060-9771-80a0f77ecc43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019b2230-51c2-74d6-a178-9897e74bbe34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019b2230-51c2-74d6-a178-9897e74bbe34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_019b2230-51c2-7e5b-8a53-b50dca68581a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_019b2230-51c2-7e5b-8a53-b50dca68581a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_019b2230-51c2-79e5-9e77-ad97712d8320" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_019b2230-51c2-79e5-9e77-ad97712d8320" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_019b2230-51c2-7b24-a347-542303883ec7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_019b2230-51c2-7b24-a347-542303883ec7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_019b2230-51c2-7988-ae4c-a56f16e85bbd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_019b2230-51c2-7988-ae4c-a56f16e85bbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019b2230-51c2-7601-ae43-6bd896d16fd4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019b2230-51c2-7601-ae43-6bd896d16fd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_019b2230-51c2-7a83-b7b1-7269084fb7e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_019b2230-51c2-7a83-b7b1-7269084fb7e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseCompensationPercent_019b2230-51c2-7520-ba4f-cfd9d962e02e" xlink:href="pubm-20251231.xsd#pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseCompensationPercent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseCompensationPercent_019b2230-51c2-7520-ba4f-cfd9d962e02e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostPercent_019b2230-51c2-7e3a-add0-48d9c303fd0f" xlink:href="pubm-20251231.xsd#pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostPercent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_pubm_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostPercent_019b2230-51c2-7e3a-add0-48d9c303fd0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_019b2230-51c2-7304-b2b5-18c49dd1fce1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_019b2230-51c2-7304-b2b5-18c49dd1fce1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019b2230-51c2-7232-9367-17d0cc12f2da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019b2230-51c2-7232-9367-17d0cc12f2da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019b2230-51c2-77af-9ae1-0c0dc9a1817d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019b2230-51c2-7235-8a3a-b5a6fba908d6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019b2230-51c2-77af-9ae1-0c0dc9a1817d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/IncomeTaxesScheduleofEffectiveIncomeAfterTaxRateDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#IncomeTaxesScheduleofEffectiveIncomeAfterTaxRateDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/IncomeTaxesScheduleofEffectiveIncomeAfterTaxRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_eddf1c8f-19f9-4eb9-9660-eb1e42822e1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_eddf1c8f-19f9-4eb9-9660-eb1e42822e1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_03e8ff54-4357-42d4-83a6-1684029f74bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_03e8ff54-4357-42d4-83a6-1684029f74bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_e0614b7c-ed45-4201-8159-ecfb04e46748" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_e0614b7c-ed45-4201-8159-ecfb04e46748" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_414f23e5-0ab0-42b0-a121-beb4a48449b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_414f23e5-0ab0-42b0-a121-beb4a48449b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_98c04d32-d54d-4de1-b53e-d024e33bf8fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_98c04d32-d54d-4de1-b53e-d024e33bf8fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_44995159-ad65-4ea5-be20-77751bfb00bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_44995159-ad65-4ea5-be20-77751bfb00bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_EffectiveIncomeTaxRateReconciliationTransferPricingReservePercent_2225911d-0949-4eeb-9127-a5dbe14c244a" xlink:href="pubm-20251231.xsd#pubm_EffectiveIncomeTaxRateReconciliationTransferPricingReservePercent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_pubm_EffectiveIncomeTaxRateReconciliationTransferPricingReservePercent_2225911d-0949-4eeb-9127-a5dbe14c244a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_b33f5322-8dd4-4583-8bc5-20a8c98f312d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_b33f5322-8dd4-4583-8bc5-20a8c98f312d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_67942a79-1517-49f1-a276-543cfbf53fdf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_67942a79-1517-49f1-a276-543cfbf53fdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_EffectiveIncomeTaxRateReconciliationDeductionCoverEmployeesPercent_171c2e2e-b5b5-4aa2-9a22-c5955bda64fd" xlink:href="pubm-20251231.xsd#pubm_EffectiveIncomeTaxRateReconciliationDeductionCoverEmployeesPercent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_pubm_EffectiveIncomeTaxRateReconciliationDeductionCoverEmployeesPercent_171c2e2e-b5b5-4aa2-9a22-c5955bda64fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_EffectiveIncomeTaxRateReconciliationAcquisitionRelatedCosts_4054afa5-369b-4f8b-bf18-1a53faf69d4b" xlink:href="pubm-20251231.xsd#pubm_EffectiveIncomeTaxRateReconciliationAcquisitionRelatedCosts"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_pubm_EffectiveIncomeTaxRateReconciliationAcquisitionRelatedCosts_4054afa5-369b-4f8b-bf18-1a53faf69d4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationGiltiPercent_ea3b72d9-b14e-4cdd-95a3-138ede60ea33" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationGiltiPercent"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_69a51feb-6006-42fb-a99d-3702a0423936" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationGiltiPercent_ea3b72d9-b14e-4cdd-95a3-138ede60ea33" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/IncomeTaxesScheduleofDeferredIncomeTaxAssetsLiabilitiesDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#IncomeTaxesScheduleofDeferredIncomeTaxAssetsLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/IncomeTaxesScheduleofDeferredIncomeTaxAssetsLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_e9c7f862-804f-46d2-b5ae-b66daf1a700e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_4b514245-0508-47ac-9513-b53283039369" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_e9c7f862-804f-46d2-b5ae-b66daf1a700e" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_4b514245-0508-47ac-9513-b53283039369" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_31282010-491f-4247-b53c-b594efd0801e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_e9c7f862-804f-46d2-b5ae-b66daf1a700e" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_31282010-491f-4247-b53c-b594efd0801e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_2b03e335-30d5-4544-b746-b447296bd33e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_0e51b409-7ff9-490d-b60b-0da1087d7ac7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_2b03e335-30d5-4544-b746-b447296bd33e" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_0e51b409-7ff9-490d-b60b-0da1087d7ac7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_85f23d7a-164d-4bcc-b477-8f458324e6c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_2b03e335-30d5-4544-b746-b447296bd33e" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_85f23d7a-164d-4bcc-b477-8f458324e6c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_08289abd-53d3-4aa6-b194-e54ed0db0384" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_2b03e335-30d5-4544-b746-b447296bd33e" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_08289abd-53d3-4aa6-b194-e54ed0db0384" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_3fa8c9e9-a514-4982-81de-62e6b4eb511e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_2b03e335-30d5-4544-b746-b447296bd33e" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_3fa8c9e9-a514-4982-81de-62e6b4eb511e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_93c64d4b-ae52-497a-a276-b40dc00d8b67" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_2b03e335-30d5-4544-b746-b447296bd33e" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_93c64d4b-ae52-497a-a276-b40dc00d8b67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_DeferredTaxAssetsLeaseObligation_7b6d0311-298b-4352-8b62-1ba2df88c619" xlink:href="pubm-20251231.xsd#pubm_DeferredTaxAssetsLeaseObligation"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_2b03e335-30d5-4544-b746-b447296bd33e" xlink:to="loc_pubm_DeferredTaxAssetsLeaseObligation_7b6d0311-298b-4352-8b62-1ba2df88c619" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_4fa3a2e9-fc45-4d19-9bda-1c7a793ab17f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_2b03e335-30d5-4544-b746-b447296bd33e" xlink:to="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_4fa3a2e9-fc45-4d19-9bda-1c7a793ab17f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c7af3e04-8415-4086-bd67-7ffbebd974d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_6f505e31-0a7b-4e8a-a526-e6bf632b5b45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c7af3e04-8415-4086-bd67-7ffbebd974d0" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_6f505e31-0a7b-4e8a-a526-e6bf632b5b45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_4d6c8693-5fd3-4936-861a-dfc53f47382e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c7af3e04-8415-4086-bd67-7ffbebd974d0" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_4d6c8693-5fd3-4936-861a-dfc53f47382e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_2814706e-5118-429a-be5b-b4f45d5cf201" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_35066d60-c350-4ed8-8f40-68bb177e8564" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesPrepaidExpenses"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_2814706e-5118-429a-be5b-b4f45d5cf201" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_35066d60-c350-4ed8-8f40-68bb177e8564" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_a04d679e-27ab-4ca8-bc0f-4463fbb02558" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_2814706e-5118-429a-be5b-b4f45d5cf201" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_a04d679e-27ab-4ca8-bc0f-4463fbb02558" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_e0a2a201-845b-442a-a633-d8a6a0113b06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_2814706e-5118-429a-be5b-b4f45d5cf201" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_e0a2a201-845b-442a-a633-d8a6a0113b06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_DeferredTaxLiabilitiesRightOfUseAsset_19fbf3d6-7e3f-496b-88b2-6d2c7f9ddc05" xlink:href="pubm-20251231.xsd#pubm_DeferredTaxLiabilitiesRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_2814706e-5118-429a-be5b-b4f45d5cf201" xlink:to="loc_pubm_DeferredTaxLiabilitiesRightOfUseAsset_19fbf3d6-7e3f-496b-88b2-6d2c7f9ddc05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_866ce454-f369-41fa-a5dd-9683af6cb802" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_2814706e-5118-429a-be5b-b4f45d5cf201" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_866ce454-f369-41fa-a5dd-9683af6cb802" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/IncomeTaxesScheduleofIncomeTaxesPaidNetOfRefundsDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#IncomeTaxesScheduleofIncomeTaxesPaidNetOfRefundsDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/IncomeTaxesScheduleofIncomeTaxesPaidNetOfRefundsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_019bd46d-72da-76bb-8eb4-806090a959b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019bd46d-72da-7f21-98f8-0b3eedfe2153" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidFederalAfterRefundReceived"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019bd46d-72da-76bb-8eb4-806090a959b9" xlink:to="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019bd46d-72da-7f21-98f8-0b3eedfe2153" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019bd46d-72da-76fa-ab35-f61e67f2a0ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019bd46d-72da-76bb-8eb4-806090a959b9" xlink:to="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019bd46d-72da-76fa-ab35-f61e67f2a0ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019bd46d-72da-7278-a5c3-bd6e59663f31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidForeignAfterRefundReceived"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019bd46d-72da-76bb-8eb4-806090a959b9" xlink:to="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019bd46d-72da-7278-a5c3-bd6e59663f31" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/SegmentandGeographicalInformationScheduleofSegmentReportingInformationDetails" xlink:type="simple" xlink:href="pubm-20251231.xsd#SegmentandGeographicalInformationScheduleofSegmentReportingInformationDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/SegmentandGeographicalInformationScheduleofSegmentReportingInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_5824e52d-7641-4d15-83d2-d943d8bd096f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherItemAmount_ad6aef19-41f5-4b07-83e0-73d43838b123" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingOtherItemAmount"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5824e52d-7641-4d15-83d2-d943d8bd096f" xlink:to="loc_us-gaap_SegmentReportingOtherItemAmount_ad6aef19-41f5-4b07-83e0-73d43838b123" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_d904d8b7-d058-4f35-b64e-dccaba2d0b7c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5824e52d-7641-4d15-83d2-d943d8bd096f" xlink:to="loc_us-gaap_DepreciationAndAmortization_d904d8b7-d058-4f35-b64e-dccaba2d0b7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_6310f62e-4880-464a-86fa-ed885a91580b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5824e52d-7641-4d15-83d2-d943d8bd096f" xlink:to="loc_us-gaap_LaborAndRelatedExpense_6310f62e-4880-464a-86fa-ed885a91580b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_0ba6a3d5-12e2-4090-bb02-11ef64a3d790" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5824e52d-7641-4d15-83d2-d943d8bd096f" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_0ba6a3d5-12e2-4090-bb02-11ef64a3d790" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
