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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:95eaad3e-055a-485b-afca-b2bf1c93e6ac,g:ed96853a-9dd8-44c3-8a9d-1d61f9264926-->
<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/Cover" xlink:type="simple" xlink:href="pubm-20210331.xsd#Cover"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/Cover" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="pubm-20210331.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_5b3d01ac-319f-489c-8bfd-8fdf5f4e88a8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_7b685862-93b2-45ea-9a4b-05a5e10d2f21" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_5b3d01ac-319f-489c-8bfd-8fdf5f4e88a8" xlink:to="loc_us-gaap_AssetsCurrent_7b685862-93b2-45ea-9a4b-05a5e10d2f21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_4578c5f7-b647-4392-b09e-28444e8d8093" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5b3d01ac-319f-489c-8bfd-8fdf5f4e88a8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_4578c5f7-b647-4392-b09e-28444e8d8093" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_6c977be3-5c67-4552-bf3d-363e2bd9a572" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_5b3d01ac-319f-489c-8bfd-8fdf5f4e88a8" xlink:to="loc_us-gaap_Goodwill_6c977be3-5c67-4552-bf3d-363e2bd9a572" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_565806c1-7350-4932-bd3c-560adf8ca885" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_5b3d01ac-319f-489c-8bfd-8fdf5f4e88a8" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_565806c1-7350-4932-bd3c-560adf8ca885" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_17311a1b-fad1-427f-809f-039b66747569" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_5b3d01ac-319f-489c-8bfd-8fdf5f4e88a8" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_17311a1b-fad1-427f-809f-039b66747569" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_eaa1f0db-b74c-4189-9cc2-95fae9c047c1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_8fc346dd-9aa8-454d-b1d4-613a612c51fb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_eaa1f0db-b74c-4189-9cc2-95fae9c047c1" xlink:to="loc_us-gaap_LiabilitiesCurrent_8fc346dd-9aa8-454d-b1d4-613a612c51fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_cea42173-d1f8-42f4-9264-f2a75cf03f47" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_eaa1f0db-b74c-4189-9cc2-95fae9c047c1" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_cea42173-d1f8-42f4-9264-f2a75cf03f47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_571a255d-040d-4b93-a745-4d98963b3f06" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_eaa1f0db-b74c-4189-9cc2-95fae9c047c1" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_571a255d-040d-4b93-a745-4d98963b3f06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_b154a442-b6ab-46a4-9def-084756a6573e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_f413da44-ee0e-4b9a-b967-dc04472033b0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_b154a442-b6ab-46a4-9def-084756a6573e" xlink:to="loc_us-gaap_Liabilities_f413da44-ee0e-4b9a-b967-dc04472033b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_3cf07d60-84ce-49cd-96cb-05cc3bc455e0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_b154a442-b6ab-46a4-9def-084756a6573e" xlink:to="loc_us-gaap_CommitmentsAndContingencies_3cf07d60-84ce-49cd-96cb-05cc3bc455e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_ab959777-fb88-4c7f-8001-21a37318f762" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_b154a442-b6ab-46a4-9def-084756a6573e" xlink:to="loc_us-gaap_StockholdersEquity_ab959777-fb88-4c7f-8001-21a37318f762" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_cf9dcafc-8b54-40d6-b269-aa4e4943b52b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_e446599a-3292-4c85-87ba-d78f7300b51f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_cf9dcafc-8b54-40d6-b269-aa4e4943b52b" xlink:to="loc_us-gaap_AccountsPayableCurrent_e446599a-3292-4c85-87ba-d78f7300b51f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_a1923ddf-575c-4e65-88eb-e64b959369ce" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_cf9dcafc-8b54-40d6-b269-aa4e4943b52b" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_a1923ddf-575c-4e65-88eb-e64b959369ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_e0d940ce-a91f-4220-9c99-84e5dc317b68" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6b3610de-329a-4cbf-9422-8f7809949288" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_e0d940ce-a91f-4220-9c99-84e5dc317b68" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6b3610de-329a-4cbf-9422-8f7809949288" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_cabd68e4-b148-4597-9d25-d092dd368df1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_e0d940ce-a91f-4220-9c99-84e5dc317b68" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_cabd68e4-b148-4597-9d25-d092dd368df1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_e2bc6fab-9a56-4258-8e4d-7cf8a8c48ebe" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_e0d940ce-a91f-4220-9c99-84e5dc317b68" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_e2bc6fab-9a56-4258-8e4d-7cf8a8c48ebe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_ace917cd-afca-442e-9254-b4c799aa510a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_e0d940ce-a91f-4220-9c99-84e5dc317b68" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_ace917cd-afca-442e-9254-b4c799aa510a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_0e5bb9b3-0fb2-4461-8d1b-8d9a2365c774" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_b7b26768-7dba-43c9-9a54-379ac5b85797" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_0e5bb9b3-0fb2-4461-8d1b-8d9a2365c774" xlink:to="loc_us-gaap_PreferredStockValue_b7b26768-7dba-43c9-9a54-379ac5b85797" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_54a1aead-01a6-44fc-9ce9-5cfb71b9611f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_0e5bb9b3-0fb2-4461-8d1b-8d9a2365c774" xlink:to="loc_us-gaap_CommonStockValue_54a1aead-01a6-44fc-9ce9-5cfb71b9611f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue_79578d40-8456-47ee-b62d-03fbdbfad155" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_0e5bb9b3-0fb2-4461-8d1b-8d9a2365c774" xlink:to="loc_us-gaap_TreasuryStockValue_79578d40-8456-47ee-b62d-03fbdbfad155" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_0f1b9c3d-8f5e-4016-80ca-80a1914fda01" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_0e5bb9b3-0fb2-4461-8d1b-8d9a2365c774" xlink:to="loc_us-gaap_AdditionalPaidInCapital_0f1b9c3d-8f5e-4016-80ca-80a1914fda01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_a5950be3-a9b5-4423-9bc4-a68ff7a959e4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_0e5bb9b3-0fb2-4461-8d1b-8d9a2365c774" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_a5950be3-a9b5-4423-9bc4-a68ff7a959e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_243fa5a5-b73a-4939-9689-eca2a35ecd49" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_0e5bb9b3-0fb2-4461-8d1b-8d9a2365c774" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_243fa5a5-b73a-4939-9689-eca2a35ecd49" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="pubm-20210331.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="pubm-20210331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_d94ca7fe-31df-422b-86c9-7c8373da21c8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_bbc7c0d2-2993-45ca-859d-0ddca02e71b2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_d94ca7fe-31df-422b-86c9-7c8373da21c8" xlink:to="loc_us-gaap_OperatingExpenses_bbc7c0d2-2993-45ca-859d-0ddca02e71b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_4201789d-ca7c-4097-96e2-ae86d6bc4f60" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_d94ca7fe-31df-422b-86c9-7c8373da21c8" xlink:to="loc_us-gaap_GrossProfit_4201789d-ca7c-4097-96e2-ae86d6bc4f60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_a87554e6-15af-4e76-b121-95461dc2ed37" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9e91e5af-37ae-45ff-943e-50e03e87afc9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_a87554e6-15af-4e76-b121-95461dc2ed37" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9e91e5af-37ae-45ff-943e-50e03e87afc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_e7f6ebde-80f6-49c2-8567-4f1c65b538e9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_a87554e6-15af-4e76-b121-95461dc2ed37" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_e7f6ebde-80f6-49c2-8567-4f1c65b538e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_05fdf87f-9a64-4ea9-ab02-b747a3c369c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_ca7a432f-7897-4fa0-9a61-0c261e6f2fef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_05fdf87f-9a64-4ea9-ab02-b747a3c369c7" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_ca7a432f-7897-4fa0-9a61-0c261e6f2fef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_1a0d207e-1cd0-44a3-a886-7f6f75d33af7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_05fdf87f-9a64-4ea9-ab02-b747a3c369c7" xlink:to="loc_us-gaap_SellingAndMarketingExpense_1a0d207e-1cd0-44a3-a886-7f6f75d33af7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_584c5425-571d-4ca2-a321-5c039b0925a9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_05fdf87f-9a64-4ea9-ab02-b747a3c369c7" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_584c5425-571d-4ca2-a321-5c039b0925a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_0a31cd15-40e1-492d-823a-197829cb888c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_219a8647-d30f-4b5d-aae6-d79191750b70" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_0a31cd15-40e1-492d-823a-197829cb888c" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_219a8647-d30f-4b5d-aae6-d79191750b70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7ea4ea28-0389-4819-a379-0b88a8a5ee1e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_0a31cd15-40e1-492d-823a-197829cb888c" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_7ea4ea28-0389-4819-a379-0b88a8a5ee1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_58fc3361-cc88-4f5d-862d-69e3d23be1c6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_1e462029-749a-4875-9f58-724a7f024e16" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_58fc3361-cc88-4f5d-862d-69e3d23be1c6" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_1e462029-749a-4875-9f58-724a7f024e16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_af874d5f-126b-42a0-8195-b26721068777" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_58fc3361-cc88-4f5d-862d-69e3d23be1c6" xlink:to="loc_us-gaap_OperatingIncomeLoss_af874d5f-126b-42a0-8195-b26721068777" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_e95c93f4-8e78-4943-b3c1-43615f99db73" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_a2488856-4ee9-497e-9b2c-5718cc6a3ce5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_e95c93f4-8e78-4943-b3c1-43615f99db73" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_a2488856-4ee9-497e-9b2c-5718cc6a3ce5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_60bdd29c-1f99-4345-b69d-409e25dae3d7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_e95c93f4-8e78-4943-b3c1-43615f99db73" xlink:to="loc_us-gaap_InvestmentIncomeInterest_60bdd29c-1f99-4345-b69d-409e25dae3d7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="pubm-20210331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_be1b4aa0-d909-4cd7-81f2-de4178304f61" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_3ffbb064-8b05-4914-a235-95151a61172d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_be1b4aa0-d909-4cd7-81f2-de4178304f61" xlink:to="loc_us-gaap_NetIncomeLoss_3ffbb064-8b05-4914-a235-95151a61172d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_c895c4b1-fa4f-4275-b646-b41f30b08470" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_be1b4aa0-d909-4cd7-81f2-de4178304f61" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_c895c4b1-fa4f-4275-b646-b41f30b08470" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="pubm-20210331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="pubm-20210331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_df9b1e14-41a8-4017-b17e-965b1f42be71" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_ad681a4e-ce79-4d51-a7b4-1ba30b62cfd9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_df9b1e14-41a8-4017-b17e-965b1f42be71" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_ad681a4e-ce79-4d51-a7b4-1ba30b62cfd9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_61840512-c6e3-4fad-801f-651f019fa9f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_df9b1e14-41a8-4017-b17e-965b1f42be71" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_61840512-c6e3-4fad-801f-651f019fa9f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_609b0c59-48ba-433f-9f5b-4f2dfa551a96" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_df9b1e14-41a8-4017-b17e-965b1f42be71" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_609b0c59-48ba-433f-9f5b-4f2dfa551a96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8d06d3e4-b691-4ad1-ad18-0858cda54132" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6c8b898b-aa88-4e73-a0b2-24cc0e15f634" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_8d06d3e4-b691-4ad1-ad18-0858cda54132" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6c8b898b-aa88-4e73-a0b2-24cc0e15f634" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToDevelopSoftware_ceb65883-db24-4fe5-bd14-54fc3f87af1d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToDevelopSoftware"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8d06d3e4-b691-4ad1-ad18-0858cda54132" xlink:to="loc_us-gaap_PaymentsToDevelopSoftware_ceb65883-db24-4fe5-bd14-54fc3f87af1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_7698acb6-670a-4239-bb0b-e2320545c5d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8d06d3e4-b691-4ad1-ad18-0858cda54132" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_7698acb6-670a-4239-bb0b-e2320545c5d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_de0b09bf-5d6e-483f-bd6a-c0e47653654d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8d06d3e4-b691-4ad1-ad18-0858cda54132" xlink:to="loc_us-gaap_ProceedsFromSaleOfHeldToMaturitySecurities_de0b09bf-5d6e-483f-bd6a-c0e47653654d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_18f9d261-af94-4718-bcc6-cce4a901bcd2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8d06d3e4-b691-4ad1-ad18-0858cda54132" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_18f9d261-af94-4718-bcc6-cce4a901bcd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_38d1a00f-f8bf-45ae-bfa1-fb7ebbd1e16b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a603d1ac-849b-4228-bd8d-07b0c3b4f2bc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_38d1a00f-f8bf-45ae-bfa1-fb7ebbd1e16b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a603d1ac-849b-4228-bd8d-07b0c3b4f2bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_677c29eb-8e66-4d30-9056-41f3620956e3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_38d1a00f-f8bf-45ae-bfa1-fb7ebbd1e16b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_677c29eb-8e66-4d30-9056-41f3620956e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a88e0927-c92b-4536-89f7-3e1b098f81d4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_38d1a00f-f8bf-45ae-bfa1-fb7ebbd1e16b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a88e0927-c92b-4536-89f7-3e1b098f81d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_e1945f46-d892-4bba-9a49-e2ae7957a7c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_NetIncomeLoss_e1945f46-d892-4bba-9a49-e2ae7957a7c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherDepreciationAndAmortization_4b6ed94c-8edf-42b2-b18c-e18b89394880" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_OtherDepreciationAndAmortization_4b6ed94c-8edf-42b2-b18c-e18b89394880" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_0dfd95e8-ac7f-443e-b102-e55cceb8fce2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_0dfd95e8-ac7f-443e-b102-e55cceb8fce2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_754adbd7-ba12-415c-8b32-16bbd6d21c75" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_754adbd7-ba12-415c-8b32-16bbd6d21c75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_6b2f3ba2-86c4-401b-be96-19dd84a634c8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_6b2f3ba2-86c4-401b-be96-19dd84a634c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_cecb78ba-0263-4f3f-90ea-f99faf44a4e7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_cecb78ba-0263-4f3f-90ea-f99faf44a4e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_57b6e1a5-93fe-46ed-b49f-ea153528fbfb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_57b6e1a5-93fe-46ed-b49f-ea153528fbfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_dc948c9f-c2f4-4074-b9e4-883026cc2aff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_dc948c9f-c2f4-4074-b9e4-883026cc2aff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_7a83e60a-8bc9-433d-bd31-9827104504b7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_7a83e60a-8bc9-433d-bd31-9827104504b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_fcf93687-f579-4922-9b22-1997d6cf47a8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_fcf93687-f579-4922-9b22-1997d6cf47a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_319c0233-abda-4922-b275-100b23ebf6a9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_319c0233-abda-4922-b275-100b23ebf6a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_89c8ef98-c860-4bf1-8ed0-05a0149826c9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_9bb7a12d-b4aa-4384-a9c7-dd520673b293" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_89c8ef98-c860-4bf1-8ed0-05a0149826c9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/OrganizationandDescriptionofBusiness" xlink:type="simple" xlink:href="pubm-20210331.xsd#OrganizationandDescriptionofBusiness"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/OrganizationandDescriptionofBusiness" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies" xlink:type="simple" xlink:href="pubm-20210331.xsd#BasisofPresentationandSummaryofSignificantAccountingPolicies"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="pubm-20210331.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicies"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesInitialPublicOfferingDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesInitialPublicOfferingDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesInitialPublicOfferingDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesConcentrationRiskPercentageDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesConcentrationRiskPercentageDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesConcentrationRiskPercentageDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/FairValueMeasurements" xlink:type="simple" xlink:href="pubm-20210331.xsd#FairValueMeasurements"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/FairValueMeasurements" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/FairValueMeasurementsTables" xlink:type="simple" xlink:href="pubm-20210331.xsd#FairValueMeasurementsTables"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/FairValueMeasurementsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/FairValueMeasurementsDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#FairValueMeasurementsDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/FairValueMeasurementsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/BalanceSheetComponents" xlink:type="simple" xlink:href="pubm-20210331.xsd#BalanceSheetComponents"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BalanceSheetComponents" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/BalanceSheetComponentsTables" xlink:type="simple" xlink:href="pubm-20210331.xsd#BalanceSheetComponentsTables"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BalanceSheetComponentsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/BalanceSheetComponentsSummaryofMarketableSecuritiesDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#BalanceSheetComponentsSummaryofMarketableSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BalanceSheetComponentsSummaryofMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostCurrent_681655c6-c880-4e9e-b976-1db0130974f3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_76a7f097-97d4-453f-836b-dd768cccf66f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_681655c6-c880-4e9e-b976-1db0130974f3" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_76a7f097-97d4-453f-836b-dd768cccf66f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e3579072-53b8-4a82-92ba-d02e18f477ea" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_681655c6-c880-4e9e-b976-1db0130974f3" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e3579072-53b8-4a82-92ba-d02e18f477ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_4e764a46-d441-4f9f-95b4-d1b8b7cb0155" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_681655c6-c880-4e9e-b976-1db0130974f3" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_4e764a46-d441-4f9f-95b4-d1b8b7cb0155" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/BalanceSheetComponentsScheduleofPropertyEquipmentandSoftwareNetDetails" xlink:type="simple" xlink:href="pubm-20210331.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_170a99d1-c8f3-4743-b317-22ac02fc62f6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_5a84d5dc-f4b0-4397-93ef-bc56ceda5d4a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_170a99d1-c8f3-4743-b317-22ac02fc62f6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_5a84d5dc-f4b0-4397-93ef-bc56ceda5d4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_de7d7239-f416-4990-8443-080bb0b6ee24" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_170a99d1-c8f3-4743-b317-22ac02fc62f6" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_de7d7239-f416-4990-8443-080bb0b6ee24" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/BalanceSheetComponentsNarrativeDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#BalanceSheetComponentsNarrativeDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BalanceSheetComponentsNarrativeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/BalanceSheetComponentsScheduleofAccountsPayableDetails" xlink:type="simple" xlink:href="pubm-20210331.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_7fcf6122-a140-45a2-a55c-6d4969c98e94" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableTradeCurrent_38986e9a-da62-4068-8026-30328a7fdc48" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_7fcf6122-a140-45a2-a55c-6d4969c98e94" xlink:to="loc_us-gaap_AccountsPayableTradeCurrent_38986e9a-da62-4068-8026-30328a7fdc48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableOtherCurrent_63cd897c-3916-4675-8619-6d5224a1def2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_7fcf6122-a140-45a2-a55c-6d4969c98e94" xlink:to="loc_us-gaap_AccountsPayableOtherCurrent_63cd897c-3916-4675-8619-6d5224a1def2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/BalanceSheetComponentsScheduleofAccruedExpensesDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#BalanceSheetComponentsScheduleofAccruedExpensesDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/BalanceSheetComponentsScheduleofAccruedExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_d194a97f-74a9-4c50-aa31-beff6548795b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_912be7a0-74e2-4db7-9904-0db6362e1e76" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_d194a97f-74a9-4c50-aa31-beff6548795b" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_912be7a0-74e2-4db7-9904-0db6362e1e76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_b28cc720-535c-495f-afa0-93115cbafb7c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_d194a97f-74a9-4c50-aa31-beff6548795b" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_b28cc720-535c-495f-afa0-93115cbafb7c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/LoanandSecurityAgreement" xlink:type="simple" xlink:href="pubm-20210331.xsd#LoanandSecurityAgreement"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/LoanandSecurityAgreement" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/LoanandSecurityAgreementDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#LoanandSecurityAgreementDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/LoanandSecurityAgreementDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/CommitmentsandContingencies" xlink:type="simple" xlink:href="pubm-20210331.xsd#CommitmentsandContingencies"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CommitmentsandContingencies" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/CommitmentsandContingenciesTables" xlink:type="simple" xlink:href="pubm-20210331.xsd#CommitmentsandContingenciesTables"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CommitmentsandContingenciesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/CommitmentsandContingenciesFutureMinimumCommitmentsDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#CommitmentsandContingenciesFutureMinimumCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CommitmentsandContingenciesFutureMinimumCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_c8c8584c-a181-4517-b3dc-abeb241073e1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_93bbe002-7cbe-4dad-8fe6-f30d06f8c890" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_c8c8584c-a181-4517-b3dc-abeb241073e1" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_93bbe002-7cbe-4dad-8fe6-f30d06f8c890" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_39b13f9e-d338-40a9-92b5-9976c403927f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_c8c8584c-a181-4517-b3dc-abeb241073e1" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_39b13f9e-d338-40a9-92b5-9976c403927f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_df5beebd-3cac-48f9-bc71-7ad0abc54b96" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_c8c8584c-a181-4517-b3dc-abeb241073e1" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_df5beebd-3cac-48f9-bc71-7ad0abc54b96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_ddbfabb4-976e-4afd-944c-f481e2cb6733" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractualObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationFutureMinimumPaymentsDueRemainderOfFiscalYear_751bcfe1-ede1-4b80-9c7a-7c43d946e0ed" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractualObligationFutureMinimumPaymentsDueRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_ddbfabb4-976e-4afd-944c-f481e2cb6733" xlink:to="loc_us-gaap_ContractualObligationFutureMinimumPaymentsDueRemainderOfFiscalYear_751bcfe1-ede1-4b80-9c7a-7c43d946e0ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_90b7e35f-72dd-4a40-aea1-580305a510e7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractualObligationDueInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_ddbfabb4-976e-4afd-944c-f481e2cb6733" xlink:to="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_90b7e35f-72dd-4a40-aea1-580305a510e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInSecondYear_db4348d5-bbfa-4ddc-9fe7-ed0562171e2d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractualObligationDueInSecondYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_ddbfabb4-976e-4afd-944c-f481e2cb6733" xlink:to="loc_us-gaap_ContractualObligationDueInSecondYear_db4348d5-bbfa-4ddc-9fe7-ed0562171e2d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#CommitmentsandContingenciesNarrativeDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/ConvertiblePreferredStock" xlink:type="simple" xlink:href="pubm-20210331.xsd#ConvertiblePreferredStock"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/ConvertiblePreferredStock" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/ConvertiblePreferredStockDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#ConvertiblePreferredStockDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/ConvertiblePreferredStockDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/StockholdersNotesReceivableandRedeemableCommonStock" xlink:type="simple" xlink:href="pubm-20210331.xsd#StockholdersNotesReceivableandRedeemableCommonStock"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/StockholdersNotesReceivableandRedeemableCommonStock" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/StockholdersNotesReceivableandRedeemableCommonStockDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#StockholdersNotesReceivableandRedeemableCommonStockDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/StockholdersNotesReceivableandRedeemableCommonStockDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/StockholdersEquityandStockOptionPlans" xlink:type="simple" xlink:href="pubm-20210331.xsd#StockholdersEquityandStockOptionPlans"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/StockholdersEquityandStockOptionPlans" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/StockholdersEquityandStockOptionPlansTables" xlink:type="simple" xlink:href="pubm-20210331.xsd#StockholdersEquityandStockOptionPlansTables"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/StockholdersEquityandStockOptionPlansTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/StockholdersEquityandStockOptionPlansNarrativeDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#StockholdersEquityandStockOptionPlansNarrativeDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/StockholdersEquityandStockOptionPlansNarrativeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/StockholdersEquityandStockOptionPlansSummaryofStockOptionActivityandRelatedInformationDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#StockholdersEquityandStockOptionPlansSummaryofStockOptionActivityandRelatedInformationDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/StockholdersEquityandStockOptionPlansSummaryofStockOptionActivityandRelatedInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/StockholdersEquityandStockOptionPlansSummaryofRestrictedStockUnitsandRelatedInformationDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#StockholdersEquityandStockOptionPlansSummaryofRestrictedStockUnitsandRelatedInformationDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/StockholdersEquityandStockOptionPlansSummaryofRestrictedStockUnitsandRelatedInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/StockholdersEquityandStockOptionPlansStockbasedCompensationExpenseDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#StockholdersEquityandStockOptionPlansStockbasedCompensationExpenseDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/StockholdersEquityandStockOptionPlansStockbasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pubm_ShareBasedPaymentArrangementExpenseNet_0d275d28-68f9-48fe-b647-96380fbddc5d" xlink:href="pubm-20210331.xsd#pubm_ShareBasedPaymentArrangementExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_139b3c92-5714-46d5-bc99-eb2089498bc7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_ShareBasedPaymentArrangementExpenseNet_0d275d28-68f9-48fe-b647-96380fbddc5d" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_139b3c92-5714-46d5-bc99-eb2089498bc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_ShareBasedPaymentArrangementTaxBenefit_47057ad7-6065-4bae-bb09-2673c900a5ea" xlink:href="pubm-20210331.xsd#pubm_ShareBasedPaymentArrangementTaxBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_pubm_ShareBasedPaymentArrangementExpenseNet_0d275d28-68f9-48fe-b647-96380fbddc5d" xlink:to="loc_pubm_ShareBasedPaymentArrangementTaxBenefit_47057ad7-6065-4bae-bb09-2673c900a5ea" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/NetIncomePerShareAttributabletoCommonStockholders" xlink:type="simple" xlink:href="pubm-20210331.xsd#NetIncomePerShareAttributabletoCommonStockholders"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/NetIncomePerShareAttributabletoCommonStockholders" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/NetIncomePerShareAttributabletoCommonStockholdersTables" xlink:type="simple" xlink:href="pubm-20210331.xsd#NetIncomePerShareAttributabletoCommonStockholdersTables"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/NetIncomePerShareAttributabletoCommonStockholdersTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/NetIncomePerShareAttributabletoCommonStockholdersBasicandDilutedNetIncomeperShareDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#NetIncomePerShareAttributabletoCommonStockholdersBasicandDilutedNetIncomeperShareDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/NetIncomePerShareAttributabletoCommonStockholdersBasicandDilutedNetIncomeperShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_954c8440-85c2-4e1b-998b-68b7f6d05006" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_91b6acc3-b23c-42b0-a4c1-df1c075acdef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_954c8440-85c2-4e1b-998b-68b7f6d05006" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_91b6acc3-b23c-42b0-a4c1-df1c075acdef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_IncrementalCommonSharesAttributableToDilutiveEffectOfCallOptions_e1ff2607-5c42-4946-9841-28b9ef0a753c" xlink:href="pubm-20210331.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_954c8440-85c2-4e1b-998b-68b7f6d05006" xlink:to="loc_pubm_IncrementalCommonSharesAttributableToDilutiveEffectOfCallOptions_e1ff2607-5c42-4946-9841-28b9ef0a753c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_IncrementalCommonSharesAttributableToDilutiveEffectOfWarrants_ea696328-e860-4450-9563-4b120bae09c3" xlink:href="pubm-20210331.xsd#pubm_IncrementalCommonSharesAttributableToDilutiveEffectOfWarrants"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_954c8440-85c2-4e1b-998b-68b7f6d05006" xlink:to="loc_pubm_IncrementalCommonSharesAttributableToDilutiveEffectOfWarrants_ea696328-e860-4450-9563-4b120bae09c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_4d25874d-492c-44b7-af4d-c5712a557a90" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_472d81db-b536-406b-a156-22315f55691e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_NetIncomeLossAvailableToCommonStockholdersBasic_4d25874d-492c-44b7-af4d-c5712a557a90" xlink:to="loc_us-gaap_NetIncomeLoss_472d81db-b536-406b-a156-22315f55691e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_379e5883-dd03-49e1-b78f-edac856dbc42" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_4d25874d-492c-44b7-af4d-c5712a557a90" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_379e5883-dd03-49e1-b78f-edac856dbc42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pubm_ReallocationOfNetIncomeAttributableToCommonStockholders_0fd1c1e2-ce43-4c54-a927-595bc7570cd7" xlink:href="pubm-20210331.xsd#pubm_ReallocationOfNetIncomeAttributableToCommonStockholders"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_4d25874d-492c-44b7-af4d-c5712a557a90" xlink:to="loc_pubm_ReallocationOfNetIncomeAttributableToCommonStockholders_0fd1c1e2-ce43-4c54-a927-595bc7570cd7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://pubmatic.com/role/NetIncomePerShareAttributabletoCommonStockholdersScheduleofAntidilutiveSecuritiesExcludedfromComputationofEarningsperShareDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#NetIncomePerShareAttributabletoCommonStockholdersScheduleofAntidilutiveSecuritiesExcludedfromComputationofEarningsperShareDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/NetIncomePerShareAttributabletoCommonStockholdersScheduleofAntidilutiveSecuritiesExcludedfromComputationofEarningsperShareDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/IncomeTaxes" xlink:type="simple" xlink:href="pubm-20210331.xsd#IncomeTaxes"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/IncomeTaxes" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#IncomeTaxesNarrativeDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/SegmentInformation" xlink:type="simple" xlink:href="pubm-20210331.xsd#SegmentInformation"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/SegmentInformation" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/SegmentReportingTables" xlink:type="simple" xlink:href="pubm-20210331.xsd#SegmentReportingTables"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/SegmentReportingTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/SegmentReportingDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#SegmentReportingDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/SegmentReportingDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/A401kPlan" xlink:type="simple" xlink:href="pubm-20210331.xsd#A401kPlan"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/A401kPlan" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/A401kPlanNarrativeDetails" xlink:type="simple" xlink:href="pubm-20210331.xsd#A401kPlanNarrativeDetails"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/A401kPlanNarrativeDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://pubmatic.com/role/SubsequentEvents" xlink:type="simple" xlink:href="pubm-20210331.xsd#SubsequentEvents"/>
  <link:calculationLink xlink:role="http://pubmatic.com/role/SubsequentEvents" xlink:type="extended"/>
</link:linkbase>
