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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:8e75290e-0420-4e10-b1c9-27ec365e4d78,g:80a94a65-e060-46a3-b9cc-bcbd4dee383c-->
<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://www.tandemdiabetes.com/role/CoverPage" xlink:type="simple" xlink:href="tndm-20201231.xsd#CoverPage"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/CoverPage" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="tndm-20201231.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_52f30000-c1b4-4237-89f0-4e6e0e8a5f99" 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_7fd2d657-56cf-41ca-a035-ae0c05e96ef1" 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_52f30000-c1b4-4237-89f0-4e6e0e8a5f99" xlink:to="loc_us-gaap_AccountsPayableCurrent_7fd2d657-56cf-41ca-a035-ae0c05e96ef1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_9d0bd273-2183-4fc5-92c0-ee3895efd165" 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_52f30000-c1b4-4237-89f0-4e6e0e8a5f99" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_9d0bd273-2183-4fc5-92c0-ee3895efd165" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e736f2d0-e4ea-47ac-9e2b-252c4d92f35c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_52f30000-c1b4-4237-89f0-4e6e0e8a5f99" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e736f2d0-e4ea-47ac-9e2b-252c4d92f35c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_a68962e3-c38d-46d0-bf38-fbeb2538f258" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_52f30000-c1b4-4237-89f0-4e6e0e8a5f99" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_a68962e3-c38d-46d0-bf38-fbeb2538f258" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tndm_CommonStockWarrants_0e8fb826-19e6-4504-9f6f-c6986cf8b915" xlink:href="tndm-20201231.xsd#tndm_CommonStockWarrants"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_52f30000-c1b4-4237-89f0-4e6e0e8a5f99" xlink:to="loc_tndm_CommonStockWarrants_0e8fb826-19e6-4504-9f6f-c6986cf8b915" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_3fc4fbe7-ca99-40af-962c-f30347bbfd87" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_52f30000-c1b4-4237-89f0-4e6e0e8a5f99" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_3fc4fbe7-ca99-40af-962c-f30347bbfd87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_b006b0ed-5c11-41c7-91ac-d858e71924ed" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_52f30000-c1b4-4237-89f0-4e6e0e8a5f99" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_b006b0ed-5c11-41c7-91ac-d858e71924ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_1dfb8d87-ceb1-443f-94ae-9dacbc825914" 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_2a843f3c-b353-4e76-b436-3d281e52bd93" 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_1dfb8d87-ceb1-443f-94ae-9dacbc825914" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_2a843f3c-b353-4e76-b436-3d281e52bd93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_04ad8784-2eb7-4312-8641-8d9e2610846e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1dfb8d87-ceb1-443f-94ae-9dacbc825914" xlink:to="loc_us-gaap_ShortTermInvestments_04ad8784-2eb7-4312-8641-8d9e2610846e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_c6b3102f-9402-49b5-8103-bc04a186c828" 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_1dfb8d87-ceb1-443f-94ae-9dacbc825914" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_c6b3102f-9402-49b5-8103-bc04a186c828" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_e733c16e-3aa4-431b-b20f-08a9a6ae315b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1dfb8d87-ceb1-443f-94ae-9dacbc825914" xlink:to="loc_us-gaap_InventoryNet_e733c16e-3aa4-431b-b20f-08a9a6ae315b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_61cf359f-8234-4fa7-ba42-9b45033a1936" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_1dfb8d87-ceb1-443f-94ae-9dacbc825914" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_61cf359f-8234-4fa7-ba42-9b45033a1936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_0036021d-b79f-4ec6-89f8-f0715700da10" 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_fced4ce8-ab53-42c7-90a8-3cef5ca0e98a" 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_0036021d-b79f-4ec6-89f8-f0715700da10" xlink:to="loc_us-gaap_Liabilities_fced4ce8-ab53-42c7-90a8-3cef5ca0e98a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_11ef3a11-82ff-41f7-b060-472646ffa56d" 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_0036021d-b79f-4ec6-89f8-f0715700da10" xlink:to="loc_us-gaap_CommitmentsAndContingencies_11ef3a11-82ff-41f7-b060-472646ffa56d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_b4b26452-aafb-49c3-a36d-13f4558dfde3" 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_0036021d-b79f-4ec6-89f8-f0715700da10" xlink:to="loc_us-gaap_StockholdersEquity_b4b26452-aafb-49c3-a36d-13f4558dfde3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_f9b42901-b665-44ce-a3a0-3009a0f7cc39" 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_2b770e25-9d77-4d00-bf03-c8eed46dfe30" 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_f9b42901-b665-44ce-a3a0-3009a0f7cc39" xlink:to="loc_us-gaap_LiabilitiesCurrent_2b770e25-9d77-4d00-bf03-c8eed46dfe30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_f3718254-7416-4dd9-b0b9-9db63ee01d22" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f9b42901-b665-44ce-a3a0-3009a0f7cc39" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_f3718254-7416-4dd9-b0b9-9db63ee01d22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_97711290-14d6-4fd0-a274-280d49d24946" 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_f9b42901-b665-44ce-a3a0-3009a0f7cc39" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_97711290-14d6-4fd0-a274-280d49d24946" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtNoncurrent_f368af1b-9530-4deb-b8cc-7bc424c533a1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConvertibleDebtNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f9b42901-b665-44ce-a3a0-3009a0f7cc39" xlink:to="loc_us-gaap_ConvertibleDebtNoncurrent_f368af1b-9530-4deb-b8cc-7bc424c533a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_9e2e8131-a843-4a4c-bc7b-1074f68c098a" 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_CommonStockValue_a9fe0636-16df-4f04-9d4b-a39d8200544b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_9e2e8131-a843-4a4c-bc7b-1074f68c098a" xlink:to="loc_us-gaap_CommonStockValue_a9fe0636-16df-4f04-9d4b-a39d8200544b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_c2f343c9-1468-4b7a-b378-d55e952ed30b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_9e2e8131-a843-4a4c-bc7b-1074f68c098a" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_c2f343c9-1468-4b7a-b378-d55e952ed30b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_a9ba2613-2d2a-4faa-a7bc-2ef9123092d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_9e2e8131-a843-4a4c-bc7b-1074f68c098a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_a9ba2613-2d2a-4faa-a7bc-2ef9123092d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_7894ed5b-fe3a-46a2-99be-66db456f986b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_9e2e8131-a843-4a4c-bc7b-1074f68c098a" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_7894ed5b-fe3a-46a2-99be-66db456f986b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_a9fcab50-f3ff-47ee-acba-7ac6e8579ee9" 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_70354028-4fa6-4a08-98e7-72efb35a6ad1" 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_a9fcab50-f3ff-47ee-acba-7ac6e8579ee9" xlink:to="loc_us-gaap_AssetsCurrent_70354028-4fa6-4a08-98e7-72efb35a6ad1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1bea61fa-bad6-482d-bde4-4aed7d354f54" 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_a9fcab50-f3ff-47ee-acba-7ac6e8579ee9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_1bea61fa-bad6-482d-bde4-4aed7d354f54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_ec6d5d2f-06ac-4673-aceb-f89368423c9c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a9fcab50-f3ff-47ee-acba-7ac6e8579ee9" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_ec6d5d2f-06ac-4673-aceb-f89368423c9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_ac5de83c-d5a3-474b-a8cd-4782c8633de6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a9fcab50-f3ff-47ee-acba-7ac6e8579ee9" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_ac5de83c-d5a3-474b-a8cd-4782c8633de6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="tndm-20201231.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="simple" xlink:href="tndm-20201231.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_b6409deb-5ae8-4f37-ae02-e0719bc1aa8b" 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_RevenueFromContractWithCustomerExcludingAssessedTax_9b0d38a7-570d-4d7c-bb45-9b6405bde94d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_b6409deb-5ae8-4f37-ae02-e0719bc1aa8b" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_9b0d38a7-570d-4d7c-bb45-9b6405bde94d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_a5705258-9bcd-4177-bfd4-db84c74f7459" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_b6409deb-5ae8-4f37-ae02-e0719bc1aa8b" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_a5705258-9bcd-4177-bfd4-db84c74f7459" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_bf71fb52-14bf-40e2-a0c4-86419789f44c" 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_OperatingIncomeLoss_276b6390-d199-41e1-babe-ea9a5b412fc8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_bf71fb52-14bf-40e2-a0c4-86419789f44c" xlink:to="loc_us-gaap_OperatingIncomeLoss_276b6390-d199-41e1-babe-ea9a5b412fc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_6f86c363-4ab7-4b24-8ec0-62ba17a825be" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_bf71fb52-14bf-40e2-a0c4-86419789f44c" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_6f86c363-4ab7-4b24-8ec0-62ba17a825be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_7bfa9c66-00f3-4391-ae64-fa9d67c366a1" 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_GrossProfit_fc64af4f-0020-4751-9ff7-3210848edd3d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_7bfa9c66-00f3-4391-ae64-fa9d67c366a1" xlink:to="loc_us-gaap_GrossProfit_fc64af4f-0020-4751-9ff7-3210848edd3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_ca8b9e94-cc40-4b93-aa65-bb17da482dbf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_7bfa9c66-00f3-4391-ae64-fa9d67c366a1" xlink:to="loc_us-gaap_OperatingExpenses_ca8b9e94-cc40-4b93-aa65-bb17da482dbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_2eba5867-1aaa-43d5-b4a2-75d256db8837" 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_74419699-d468-457c-9e01-ccdecd191c85" 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_2eba5867-1aaa-43d5-b4a2-75d256db8837" xlink:to="loc_us-gaap_NetIncomeLoss_74419699-d468-457c-9e01-ccdecd191c85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_0ce311e4-3130-40ac-b7b1-7f5c42d3d7ad" 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_2eba5867-1aaa-43d5-b4a2-75d256db8837" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_0ce311e4-3130-40ac-b7b1-7f5c42d3d7ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_4430e457-d4e5-4554-b5d6-5660fa2ce731" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_2eba5867-1aaa-43d5-b4a2-75d256db8837" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_4430e457-d4e5-4554-b5d6-5660fa2ce731" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_bf78b941-6bcd-4dde-81b0-23628b1ccb84" 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_SellingGeneralAndAdministrativeExpense_33543767-38aa-44b0-a9dc-9670f07862a5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_bf78b941-6bcd-4dde-81b0-23628b1ccb84" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_33543767-38aa-44b0-a9dc-9670f07862a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_ff1a4a0f-b0a3-491f-ac21-baf48b30cc38" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_bf78b941-6bcd-4dde-81b0-23628b1ccb84" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_ff1a4a0f-b0a3-491f-ac21-baf48b30cc38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_4ee482f9-d3ce-4319-99fc-7c02675a8d58" 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_058a8a8d-d8b1-4af6-8b84-51f64e258af7" 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_4ee482f9-d3ce-4319-99fc-7c02675a8d58" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_058a8a8d-d8b1-4af6-8b84-51f64e258af7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_f380f55c-733b-4309-b89f-93127d878b00" 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_4ee482f9-d3ce-4319-99fc-7c02675a8d58" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_f380f55c-733b-4309-b89f-93127d878b00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_ccab9dc1-80ad-4b2c-a47a-eeb320a8c976" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndOtherIncome_5afc501f-5336-48b5-9c49-9ea9b580552c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_ccab9dc1-80ad-4b2c-a47a-eeb320a8c976" xlink:to="loc_us-gaap_InterestAndOtherIncome_5afc501f-5336-48b5-9c49-9ea9b580552c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOther_b19ed37a-6eb5-49d7-9cd9-7aaf90c1110f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpenseOther"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_ccab9dc1-80ad-4b2c-a47a-eeb320a8c976" xlink:to="loc_us-gaap_InterestExpenseOther_b19ed37a-6eb5-49d7-9cd9-7aaf90c1110f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_64314a62-ae9f-47cb-9c70-83d3955e8454" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_ccab9dc1-80ad-4b2c-a47a-eeb320a8c976" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_64314a62-ae9f-47cb-9c70-83d3955e8454" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAdjustmentOfWarrants_7f52f21e-73d3-4acf-9b65-e2824c7023a3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAdjustmentOfWarrants"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_ccab9dc1-80ad-4b2c-a47a-eeb320a8c976" xlink:to="loc_us-gaap_FairValueAdjustmentOfWarrants_7f52f21e-73d3-4acf-9b65-e2824c7023a3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYDEFICIT" xlink:type="simple" xlink:href="tndm-20201231.xsd#CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYDEFICIT"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYDEFICIT" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="tndm-20201231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8947fc54-0543-488f-b58a-4b9434901bdf" 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_ProceedsFromIssuanceOfCommonStock_e5fa370c-fef2-4b38-ad7d-46007b880621" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8947fc54-0543-488f-b58a-4b9434901bdf" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_e5fa370c-fef2-4b38-ad7d-46007b880621" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfNotesPayable_ed2e5a86-172e-437a-8030-41cb15c4767f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RepaymentsOfNotesPayable"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8947fc54-0543-488f-b58a-4b9434901bdf" xlink:to="loc_us-gaap_RepaymentsOfNotesPayable_ed2e5a86-172e-437a-8030-41cb15c4767f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromWarrantExercises_1057e55e-35ec-4e3b-89d8-5bf71261dff2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromWarrantExercises"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8947fc54-0543-488f-b58a-4b9434901bdf" xlink:to="loc_us-gaap_ProceedsFromWarrantExercises_1057e55e-35ec-4e3b-89d8-5bf71261dff2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_d907e234-0c7e-413e-9e62-2d457da9521d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromConvertibleDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8947fc54-0543-488f-b58a-4b9434901bdf" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_d907e234-0c7e-413e-9e62-2d457da9521d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tndm_ProceedsFromPublicOfferingNetOfOfferingCosts_a334c759-e286-45b1-9bc7-d64ada95ac18" xlink:href="tndm-20201231.xsd#tndm_ProceedsFromPublicOfferingNetOfOfferingCosts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8947fc54-0543-488f-b58a-4b9434901bdf" xlink:to="loc_tndm_ProceedsFromPublicOfferingNetOfOfferingCosts_a334c759-e286-45b1-9bc7-d64ada95ac18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tndm_PaymentsForCappedCallOptions_8d341d61-78ee-4f9b-ae87-279af53c0df4" xlink:href="tndm-20201231.xsd#tndm_PaymentsForCappedCallOptions"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8947fc54-0543-488f-b58a-4b9434901bdf" xlink:to="loc_tndm_PaymentsForCappedCallOptions_8d341d61-78ee-4f9b-ae87-279af53c0df4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_23eff456-c0d5-40ed-8311-a1cb10488b13" 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_PaymentsToAcquireShortTermInvestments_4cc9d4e9-d31c-40e0-aa19-3f9dccb3fbdd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_23eff456-c0d5-40ed-8311-a1cb10488b13" xlink:to="loc_us-gaap_PaymentsToAcquireShortTermInvestments_4cc9d4e9-d31c-40e0-aa19-3f9dccb3fbdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_b60d6ea0-0815-4dd5-bf89-63dbbf03c697" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_23eff456-c0d5-40ed-8311-a1cb10488b13" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_b60d6ea0-0815-4dd5-bf89-63dbbf03c697" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_7934e4b9-b8fa-4f60-b225-b588d4bb1774" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquireIntangibleAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_23eff456-c0d5-40ed-8311-a1cb10488b13" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_7934e4b9-b8fa-4f60-b225-b588d4bb1774" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfShortTermInvestments_894f1a8d-937b-40bc-9885-72a790f3ae73" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfShortTermInvestments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_23eff456-c0d5-40ed-8311-a1cb10488b13" xlink:to="loc_us-gaap_ProceedsFromSaleOfShortTermInvestments_894f1a8d-937b-40bc-9885-72a790f3ae73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfShorttermInvestments_6de1d1d0-1ccd-4466-bd14-6af17ecc8b1e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfShorttermInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_23eff456-c0d5-40ed-8311-a1cb10488b13" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfShorttermInvestments_6de1d1d0-1ccd-4466-bd14-6af17ecc8b1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" 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_ProfitLoss_b52eb145-870a-4826-a5f6-ca5f282de025" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_ProfitLoss_b52eb145-870a-4826-a5f6-ca5f282de025" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_4330bc83-16c6-42ed-a91f-ba5bc9e78bf1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_4330bc83-16c6-42ed-a91f-ba5bc9e78bf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_27e67af9-44eb-4091-9e6f-c312f35a3ae9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_27e67af9-44eb-4091-9e6f-c312f35a3ae9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_f99e28dd-29a1-4e72-8b14-d811834d9555" 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_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_f99e28dd-29a1-4e72-8b14-d811834d9555" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWriteDown_4f93c4e8-0f99-4506-87b5-8851def14cb1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryWriteDown"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_InventoryWriteDown_4f93c4e8-0f99-4506-87b5-8851def14cb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAdjustmentOfWarrants_4c404b2f-3b1f-44f7-a751-daa076a0d8d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FairValueAdjustmentOfWarrants"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_FairValueAdjustmentOfWarrants_4c404b2f-3b1f-44f7-a751-daa076a0d8d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNetAmortizationOfDiscountAndPremium_26b00bfa-3d22-4f20-8e53-bfc4ab538fec" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InvestmentIncomeNetAmortizationOfDiscountAndPremium"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_InvestmentIncomeNetAmortizationOfDiscountAndPremium_26b00bfa-3d22-4f20-8e53-bfc4ab538fec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_e89debf8-92e2-499f-b988-6df4ca5aa98a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_ShareBasedCompensation_e89debf8-92e2-499f-b988-6df4ca5aa98a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_9b4625c3-d29b-482d-90f1-718ba550b2f2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_9b4625c3-d29b-482d-90f1-718ba550b2f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_91538d6a-2bde-4982-8ad3-6b097547e015" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_91538d6a-2bde-4982-8ad3-6b097547e015" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_0e9ff066-79c2-48f6-ac2f-b235a6f87b54" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_0e9ff066-79c2-48f6-ac2f-b235a6f87b54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_b3c12fdf-46c1-44da-a5c6-81440ac669ac" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_b3c12fdf-46c1-44da-a5c6-81440ac669ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_5eac6146-bfeb-4a7e-b8ff-441b63f61816" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_5eac6146-bfeb-4a7e-b8ff-441b63f61816" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_1dafd375-9ef1-4b64-83e0-baf7c739af1a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_1dafd375-9ef1-4b64-83e0-baf7c739af1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_dc3f7ff1-96b1-4f1c-98ae-d4c2cf78a59a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_dc3f7ff1-96b1-4f1c-98ae-d4c2cf78a59a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_f2f4e732-9aaa-4dc0-9846-5f30c6c8e710" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_f2f4e732-9aaa-4dc0-9846-5f30c6c8e710" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_262068fa-7276-4be8-8b8d-b682ac0e54f1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_262068fa-7276-4be8-8b8d-b682ac0e54f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_a750b310-a2dd-405b-8aac-f330aecb4155" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_a750b310-a2dd-405b-8aac-f330aecb4155" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_7e34f96a-a37c-42bd-b8e3-b8f64fb339a1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherCurrentLiabilities"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_7e34f96a-a37c-42bd-b8e3-b8f64fb339a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_f609c67b-3458-42ee-a885-00e49895e207" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities"/>
    <link:calculationArc order="20" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_f609c67b-3458-42ee-a885-00e49895e207" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_49c31ceb-6036-425d-b36c-492acac8cfb1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="21" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a4d4f68d-7181-4935-8c7f-180beba6fb02" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_49c31ceb-6036-425d-b36c-492acac8cfb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_dff5654d-7bca-4a71-92c7-d9fc9894d0e4" 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_1c28b8c8-551f-4d3f-a2b9-f66f9deb4ddf" 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_dff5654d-7bca-4a71-92c7-d9fc9894d0e4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1c28b8c8-551f-4d3f-a2b9-f66f9deb4ddf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_73b43f81-1998-4926-8347-e4804b281daf" 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_dff5654d-7bca-4a71-92c7-d9fc9894d0e4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_73b43f81-1998-4926-8347-e4804b281daf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_71606c5d-404d-46ce-8d6c-4e7ad019629b" 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_dff5654d-7bca-4a71-92c7-d9fc9894d0e4" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_71606c5d-404d-46ce-8d6c-4e7ad019629b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_867bf4f7-212b-4582-b99e-0a2db13a3552" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_dff5654d-7bca-4a71-92c7-d9fc9894d0e4" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_867bf4f7-212b-4582-b99e-0a2db13a3552" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical" xlink:type="simple" xlink:href="tndm-20201231.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/OrganizationandBasisofPresentation" xlink:type="simple" xlink:href="tndm-20201231.xsd#OrganizationandBasisofPresentation"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/OrganizationandBasisofPresentation" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/OrganizationandBasisofPresentationPolicies" xlink:type="simple" xlink:href="tndm-20201231.xsd#OrganizationandBasisofPresentationPolicies"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/OrganizationandBasisofPresentationPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/OrganizationandBasisofPresentationDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#OrganizationandBasisofPresentationDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/OrganizationandBasisofPresentationDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPolicies" xlink:type="simple" xlink:href="tndm-20201231.xsd#SummaryofSignificantAccountingPolicies"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPolicies" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesTables" xlink:type="simple" xlink:href="tndm-20201231.xsd#SummaryofSignificantAccountingPoliciesTables"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#SummaryofSignificantAccountingPoliciesAdditionalInformationDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesSummaryofCustomersAccountedfor10orMoreDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#SummaryofSignificantAccountingPoliciesSummaryofCustomersAccountedfor10orMoreDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesSummaryofCustomersAccountedfor10orMoreDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesDeferredRevenueRelatedtoPerformanceObligationsDetails" xlink:type="simple" xlink:href="tndm-20201231.xsd#SummaryofSignificantAccountingPoliciesDeferredRevenueRelatedtoPerformanceObligationsDetails"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesDeferredRevenueRelatedtoPerformanceObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_46995a9a-cd94-4968-aa7f-3423a5d6cb68" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_58a23d86-b431-4332-b745-bfe95b4ad322" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractWithCustomerLiability_46995a9a-cd94-4968-aa7f-3423a5d6cb68" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_58a23d86-b431-4332-b745-bfe95b4ad322" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_b5cb0533-40b6-420d-85b1-80b8392b3a4a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractWithCustomerLiability_46995a9a-cd94-4968-aa7f-3423a5d6cb68" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_b5cb0533-40b6-420d-85b1-80b8392b3a4a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesSummaryofReconciliationofChangeinEstimatedWarrantyLiabilitiesDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#SummaryofSignificantAccountingPoliciesSummaryofReconciliationofChangeinEstimatedWarrantyLiabilitiesDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesSummaryofReconciliationofChangeinEstimatedWarrantyLiabilitiesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrual_ffd1a969-d022-47a0-b03a-0194d1791872" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProductWarrantyAccrual"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualNoncurrent_1f6bedcb-8029-45d3-951c-8fb44aaf45b5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProductWarrantyAccrualNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProductWarrantyAccrual_ffd1a969-d022-47a0-b03a-0194d1791872" xlink:to="loc_us-gaap_ProductWarrantyAccrualNoncurrent_1f6bedcb-8029-45d3-951c-8fb44aaf45b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_f5f5d704-bd6d-4ae1-bccb-8515f897bf8c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProductWarrantyAccrual_ffd1a969-d022-47a0-b03a-0194d1791872" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_f5f5d704-bd6d-4ae1-bccb-8515f897bf8c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesScheduleofAntiDilutiveSecuritiesDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#SummaryofSignificantAccountingPoliciesScheduleofAntiDilutiveSecuritiesDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/SummaryofSignificantAccountingPoliciesScheduleofAntiDilutiveSecuritiesDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FinancialStatementInformation" xlink:type="simple" xlink:href="tndm-20201231.xsd#FinancialStatementInformation"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FinancialStatementInformation" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FinancialStatementInformationTables" xlink:type="simple" xlink:href="tndm-20201231.xsd#FinancialStatementInformationTables"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FinancialStatementInformationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FinancialStatementInformationSummaryofEstimatedFairValueofShortTermInvestmentsDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#FinancialStatementInformationSummaryofEstimatedFairValueofShortTermInvestmentsDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FinancialStatementInformationSummaryofEstimatedFairValueofShortTermInvestmentsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_32fb26a9-31ab-4a95-8340-c39a9eca27a4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_35441867-b0ed-4991-af20-555c4e1fba9b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_32fb26a9-31ab-4a95-8340-c39a9eca27a4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_35441867-b0ed-4991-af20-555c4e1fba9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_6b5c6d1e-0b60-4658-9085-883ae0cbe098" 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_AvailableForSaleDebtSecuritiesAmortizedCostBasis_32fb26a9-31ab-4a95-8340-c39a9eca27a4" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_6b5c6d1e-0b60-4658-9085-883ae0cbe098" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_b00f4cef-5e56-42d7-8d3f-52c21d0be381" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_32fb26a9-31ab-4a95-8340-c39a9eca27a4" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_b00f4cef-5e56-42d7-8d3f-52c21d0be381" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FinancialStatementInformationSummaryofAccountsReceivableDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#FinancialStatementInformationSummaryofAccountsReceivableDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FinancialStatementInformationSummaryofAccountsReceivableDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_49e8ddaf-d365-48b9-a400-09f2e8982d31" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_600722e5-a0ad-46a9-b32e-de7cf8731a5d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNet_49e8ddaf-d365-48b9-a400-09f2e8982d31" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_600722e5-a0ad-46a9-b32e-de7cf8731a5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGross_d7ae84de-746b-4539-ab7f-44aa7048f2b2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNet_49e8ddaf-d365-48b9-a400-09f2e8982d31" xlink:to="loc_us-gaap_AccountsReceivableGross_d7ae84de-746b-4539-ab7f-44aa7048f2b2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FinancialStatementInformationReconciliationofChangeinEstimatedAllowanceforDoubtfulAccountsDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#FinancialStatementInformationReconciliationofChangeinEstimatedAllowanceforDoubtfulAccountsDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FinancialStatementInformationReconciliationofChangeinEstimatedAllowanceforDoubtfulAccountsDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FinancialStatementInformationSummaryofInventoryDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#FinancialStatementInformationSummaryofInventoryDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FinancialStatementInformationSummaryofInventoryDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_a8c31ce7-7f14-4625-96f6-f9c37f7f6cdd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_ccc0a00d-5ecd-49e1-8557-71783d8f72c9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryRawMaterials"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_a8c31ce7-7f14-4625-96f6-f9c37f7f6cdd" xlink:to="loc_us-gaap_InventoryRawMaterials_ccc0a00d-5ecd-49e1-8557-71783d8f72c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_42aa633c-9912-4fdc-8fb8-be1f578fa5f5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryWorkInProcess"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_a8c31ce7-7f14-4625-96f6-f9c37f7f6cdd" xlink:to="loc_us-gaap_InventoryWorkInProcess_42aa633c-9912-4fdc-8fb8-be1f578fa5f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_8eee91ac-c2a5-4b48-a210-abf53d44c488" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryFinishedGoods"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_a8c31ce7-7f14-4625-96f6-f9c37f7f6cdd" xlink:to="loc_us-gaap_InventoryFinishedGoods_8eee91ac-c2a5-4b48-a210-abf53d44c488" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FinancialStatementInformationSummaryofPropertyandEquipmentDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#FinancialStatementInformationSummaryofPropertyandEquipmentDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FinancialStatementInformationSummaryofPropertyandEquipmentDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f6678acb-6a17-41b4-b480-60a766dc483a" 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_265233f8-c106-47ef-a4b0-0ecf6f631eaa" 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_f6678acb-6a17-41b4-b480-60a766dc483a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_265233f8-c106-47ef-a4b0-0ecf6f631eaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_ed4e46dc-e62c-4709-85a9-d7599f5c25a2" 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_f6678acb-6a17-41b4-b480-60a766dc483a" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_ed4e46dc-e62c-4709-85a9-d7599f5c25a2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FinancialStatementInformationAdditionalInformationDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#FinancialStatementInformationAdditionalInformationDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FinancialStatementInformationAdditionalInformationDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FinancialStatementInformationSummaryofCapitalizedPatentsDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#FinancialStatementInformationSummaryofCapitalizedPatentsDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FinancialStatementInformationSummaryofCapitalizedPatentsDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FairValueMeasurements" xlink:type="simple" xlink:href="tndm-20201231.xsd#FairValueMeasurements"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FairValueMeasurements" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FairValueMeasurementsTables" xlink:type="simple" xlink:href="tndm-20201231.xsd#FairValueMeasurementsTables"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FairValueMeasurementsTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FairValueMeasurementsScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#FairValueMeasurementsScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FairValueMeasurementsScheduleofFinancialAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_43e43568-2e9a-41d5-a435-c59a588e0fe8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantsAndRightsOutstanding_56a05f14-5cd3-4332-8494-70834aec43df" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WarrantsAndRightsOutstanding"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_43e43568-2e9a-41d5-a435-c59a588e0fe8" xlink:to="loc_us-gaap_WarrantsAndRightsOutstanding_56a05f14-5cd3-4332-8494-70834aec43df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_0e1a90e3-a313-4a9a-b324-d1c4de48412f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_1535d795-0edf-40ee-a801-b59c41dab78c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_0e1a90e3-a313-4a9a-b324-d1c4de48412f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_1535d795-0edf-40ee-a801-b59c41dab78c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_77a885b1-7d77-466f-aefb-d415e4a6d120" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_0e1a90e3-a313-4a9a-b324-d1c4de48412f" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_77a885b1-7d77-466f-aefb-d415e4a6d120" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FairValueMeasurementsAdditionalInformationDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#FairValueMeasurementsAdditionalInformationDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FairValueMeasurementsAdditionalInformationDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FairValueMeasurementsScheduleofAssumptionsUsedtoEstimateFairValuesofCommonStockWarrantsDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#FairValueMeasurementsScheduleofAssumptionsUsedtoEstimateFairValuesofCommonStockWarrantsDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FairValueMeasurementsScheduleofAssumptionsUsedtoEstimateFairValuesofCommonStockWarrantsDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/FairValueMeasurementsSummaryofChangesinFairValueofTotalLevel3FinancialAssetsDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#FairValueMeasurementsSummaryofChangesinFairValueofTotalLevel3FinancialAssetsDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/FairValueMeasurementsSummaryofChangesinFairValueofTotalLevel3FinancialAssetsDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/Leases" xlink:type="simple" xlink:href="tndm-20201231.xsd#Leases"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/Leases" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/LeasesTables" xlink:type="simple" xlink:href="tndm-20201231.xsd#LeasesTables"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/LeasesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/LeasesAdditionalInformationDetails" xlink:type="simple" xlink:href="tndm-20201231.xsd#LeasesAdditionalInformationDetails"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/LeasesAdditionalInformationDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/LeasesScheduleofLeaseCostLeaseTermDiscountRateOperatingLeasesDetails" xlink:type="simple" xlink:href="tndm-20201231.xsd#LeasesScheduleofLeaseCostLeaseTermDiscountRateOperatingLeasesDetails"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/LeasesScheduleofLeaseCostLeaseTermDiscountRateOperatingLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_924ed99f-048c-4ee9-9141-def17fe5c589" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_1b5216b0-4db9-4445-aa88-3bb0f2e34b65" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_924ed99f-048c-4ee9-9141-def17fe5c589" xlink:to="loc_us-gaap_ShortTermLeaseCost_1b5216b0-4db9-4445-aa88-3bb0f2e34b65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_6d067f65-e5c9-4a91-9ebe-e103a70930c3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_924ed99f-048c-4ee9-9141-def17fe5c589" xlink:to="loc_us-gaap_OperatingLeaseCost_6d067f65-e5c9-4a91-9ebe-e103a70930c3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/LeasesScheduleofFutureMinimumPaymentsUnderNoncancellableOperatingLeasesDetails" xlink:type="simple" xlink:href="tndm-20201231.xsd#LeasesScheduleofFutureMinimumPaymentsUnderNoncancellableOperatingLeasesDetails"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/LeasesScheduleofFutureMinimumPaymentsUnderNoncancellableOperatingLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_5cff121c-09cd-48cb-a74f-a3ac837c4f54" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_e9f0c10d-e171-4a92-b4d8-a650f532fd67" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_5cff121c-09cd-48cb-a74f-a3ac837c4f54" xlink:to="loc_us-gaap_OperatingLeaseLiability_e9f0c10d-e171-4a92-b4d8-a650f532fd67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_06418370-58f4-4077-ac7b-816a5af9f4dd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_5cff121c-09cd-48cb-a74f-a3ac837c4f54" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_06418370-58f4-4077-ac7b-816a5af9f4dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_3b98cf57-4c5b-4ca1-bfe8-085abde26062" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_548c5513-4f17-4682-99cc-af23f7c4d162" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_3b98cf57-4c5b-4ca1-bfe8-085abde26062" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_548c5513-4f17-4682-99cc-af23f7c4d162" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_bd3f6bc1-b1d1-451d-b080-045d2ea0a557" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_3b98cf57-4c5b-4ca1-bfe8-085abde26062" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_bd3f6bc1-b1d1-451d-b080-045d2ea0a557" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/LeasesScheduleofFutureMinimumPaymentsUnderNoncancellableOperatingLeasesDetails_1" xlink:type="simple" xlink:href="tndm-20201231.xsd#LeasesScheduleofFutureMinimumPaymentsUnderNoncancellableOperatingLeasesDetails_1"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/LeasesScheduleofFutureMinimumPaymentsUnderNoncancellableOperatingLeasesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_561ef2ab-0af8-4536-b5e5-ee9dc3e95b6a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_5632b75a-7fba-4750-a045-a6859bacd8eb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_561ef2ab-0af8-4536-b5e5-ee9dc3e95b6a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_5632b75a-7fba-4750-a045-a6859bacd8eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_b3433e17-1225-4cfa-9741-b2809f12a600" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_561ef2ab-0af8-4536-b5e5-ee9dc3e95b6a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_b3433e17-1225-4cfa-9741-b2809f12a600" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_48bcecdf-41fb-4e36-a780-a6c872f8a920" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_561ef2ab-0af8-4536-b5e5-ee9dc3e95b6a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_48bcecdf-41fb-4e36-a780-a6c872f8a920" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_445bd0e6-d5a1-47a9-b63f-bec0772ae2b4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_561ef2ab-0af8-4536-b5e5-ee9dc3e95b6a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_445bd0e6-d5a1-47a9-b63f-bec0772ae2b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_33c28103-f9ca-42c7-b05e-51ae26a24761" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_561ef2ab-0af8-4536-b5e5-ee9dc3e95b6a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_33c28103-f9ca-42c7-b05e-51ae26a24761" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_fb1b29f1-e5e7-41f3-b317-3bc9b720a97f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_561ef2ab-0af8-4536-b5e5-ee9dc3e95b6a" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_fb1b29f1-e5e7-41f3-b317-3bc9b720a97f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/Debt" xlink:type="simple" xlink:href="tndm-20201231.xsd#Debt"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/Debt" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/DebtTables" xlink:type="simple" xlink:href="tndm-20201231.xsd#DebtTables"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/DebtTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/DebtConvertibleSeniorNotesAdditionalInformationDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#DebtConvertibleSeniorNotesAdditionalInformationDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/DebtConvertibleSeniorNotesAdditionalInformationDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/DebtTermLoanAgreementAdditionalInformationDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#DebtTermLoanAgreementAdditionalInformationDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/DebtTermLoanAgreementAdditionalInformationDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/DebtComponentsofConvertibleNoteDetails" xlink:type="simple" xlink:href="tndm-20201231.xsd#DebtComponentsofConvertibleNoteDetails"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/DebtComponentsofConvertibleNoteDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/DebtInterestExpenseRecognizedDetails" xlink:type="simple" xlink:href="tndm-20201231.xsd#DebtInterestExpenseRecognizedDetails"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/DebtInterestExpenseRecognizedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_73f48f6c-4840-440f-b505-505863b832e2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpenseDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_6fe30cfc-9286-4025-9e84-cb3d7ac7bcaa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_73f48f6c-4840-440f-b505-505863b832e2" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_6fe30cfc-9286-4025-9e84-cb3d7ac7bcaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_11488045-077e-44c6-9004-4e3f733b9b04" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_73f48f6c-4840-440f-b505-505863b832e2" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_11488045-077e-44c6-9004-4e3f733b9b04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebtExcludingAmortization_5a178d6f-760a-41dd-887f-50ea201af77e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpenseDebtExcludingAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_73f48f6c-4840-440f-b505-505863b832e2" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_5a178d6f-760a-41dd-887f-50ea201af77e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/StockholdersEquityDeficit" xlink:type="simple" xlink:href="tndm-20201231.xsd#StockholdersEquityDeficit"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/StockholdersEquityDeficit" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitTables" xlink:type="simple" xlink:href="tndm-20201231.xsd#StockholdersEquityDeficitTables"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitAdditionalInformationDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#StockholdersEquityDeficitAdditionalInformationDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitAdditionalInformationDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitScheduleofSharesofCommonStockReservedforFutureIssuanceDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#StockholdersEquityDeficitScheduleofSharesofCommonStockReservedforFutureIssuanceDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitScheduleofSharesofCommonStockReservedforFutureIssuanceDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitScheduleofCommonStockWarrantsDetails" xlink:type="simple" xlink:href="tndm-20201231.xsd#StockholdersEquityDeficitScheduleofCommonStockWarrantsDetails"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitScheduleofCommonStockWarrantsDetails" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitSummaryofStockOptionActivitiesfor2006Planand2013PlanDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#StockholdersEquityDeficitSummaryofStockOptionActivitiesfor2006Planand2013PlanDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitSummaryofStockOptionActivitiesfor2006Planand2013PlanDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitRestrictedStockUnitsRSUsDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#StockholdersEquityDeficitRestrictedStockUnitsRSUsDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitRestrictedStockUnitsRSUsDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitSummaryforAllocationofStockBasedCompensationExpenseDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#StockholdersEquityDeficitSummaryforAllocationofStockBasedCompensationExpenseDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitSummaryforAllocationofStockBasedCompensationExpenseDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitScheduleofAssumptionsUsedinBlackScholesOptionPricingModelDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#StockholdersEquityDeficitScheduleofAssumptionsUsedinBlackScholesOptionPricingModelDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/StockholdersEquityDeficitScheduleofAssumptionsUsedinBlackScholesOptionPricingModelDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/IncomeTaxes" xlink:type="simple" xlink:href="tndm-20201231.xsd#IncomeTaxes"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/IncomeTaxes" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="tndm-20201231.xsd#IncomeTaxesTables"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/IncomeTaxesTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/IncomeTaxesLossBeforeProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="tndm-20201231.xsd#IncomeTaxesLossBeforeProvisionforIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/IncomeTaxesLossBeforeProvisionforIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9d555da2-6488-43ae-bb3f-e58ba578d172" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_26703002-a7e3-4de5-941f-d2bcec914b27" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9d555da2-6488-43ae-bb3f-e58ba578d172" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_26703002-a7e3-4de5-941f-d2bcec914b27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_d83db5d9-5eaf-4c2b-845c-a27a7cb83172" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9d555da2-6488-43ae-bb3f-e58ba578d172" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_d83db5d9-5eaf-4c2b-845c-a27a7cb83172" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/IncomeTaxesScheduleofComponentsofIncomeTaxDetails" xlink:type="simple" xlink:href="tndm-20201231.xsd#IncomeTaxesScheduleofComponentsofIncomeTaxDetails"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/IncomeTaxesScheduleofComponentsofIncomeTaxDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_1bc50671-fdfc-448a-b001-a34484b612fb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_97eeba62-bf8e-4f07-87e2-e47a5ad03ac0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_1bc50671-fdfc-448a-b001-a34484b612fb" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_97eeba62-bf8e-4f07-87e2-e47a5ad03ac0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_6bbd2864-bfcf-4e62-b802-95dfc664ccbf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_1bc50671-fdfc-448a-b001-a34484b612fb" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_6bbd2864-bfcf-4e62-b802-95dfc664ccbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_90dff160-a90d-4224-9f1d-9e17cb29f02e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_1bc50671-fdfc-448a-b001-a34484b612fb" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_90dff160-a90d-4224-9f1d-9e17cb29f02e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_9c53c0fd-65db-4732-901d-25b0f41161af" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_9aa2188f-079f-4a02-92aa-c6b73c639566" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_9c53c0fd-65db-4732-901d-25b0f41161af" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_9aa2188f-079f-4a02-92aa-c6b73c639566" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_7a6ac028-e2af-4eee-ab76-9638303cd65a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_9c53c0fd-65db-4732-901d-25b0f41161af" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_7a6ac028-e2af-4eee-ab76-9638303cd65a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_853d269c-718a-4661-a69a-677115abfd7f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_9c53c0fd-65db-4732-901d-25b0f41161af" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_853d269c-718a-4661-a69a-677115abfd7f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/IncomeTaxesIncomeTaxExpenseBenefitDetails" xlink:type="simple" xlink:href="tndm-20201231.xsd#IncomeTaxesIncomeTaxExpenseBenefitDetails"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/IncomeTaxesIncomeTaxExpenseBenefitDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_0852bbfe-c096-4f09-a1ed-5dc94efedc3c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_29bd86ff-1926-471f-b7e5-bc9e96bdcef4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0852bbfe-c096-4f09-a1ed-5dc94efedc3c" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_29bd86ff-1926-471f-b7e5-bc9e96bdcef4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_f1aa412c-bc35-431f-9793-335ff9f3dbde" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0852bbfe-c096-4f09-a1ed-5dc94efedc3c" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_f1aa412c-bc35-431f-9793-335ff9f3dbde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_4799b47d-b853-4375-9eb1-fe5bd27039d8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0852bbfe-c096-4f09-a1ed-5dc94efedc3c" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_4799b47d-b853-4375-9eb1-fe5bd27039d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_37bf9d80-b30c-418d-928c-7e47b16ecd4d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0852bbfe-c096-4f09-a1ed-5dc94efedc3c" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_37bf9d80-b30c-418d-928c-7e47b16ecd4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_29b7fe9b-3f21-4443-80a4-bb85f8966506" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0852bbfe-c096-4f09-a1ed-5dc94efedc3c" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_29b7fe9b-3f21-4443-80a4-bb85f8966506" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_97dadedb-2e08-4ac9-ae66-85f55cc8a7d9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0852bbfe-c096-4f09-a1ed-5dc94efedc3c" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_97dadedb-2e08-4ac9-ae66-85f55cc8a7d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tndm_IncomeTaxReconciliationWarrantsRevaluation_02fa348c-242b-47e9-b291-a68e7182b55b" xlink:href="tndm-20201231.xsd#tndm_IncomeTaxReconciliationWarrantsRevaluation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0852bbfe-c096-4f09-a1ed-5dc94efedc3c" xlink:to="loc_tndm_IncomeTaxReconciliationWarrantsRevaluation_02fa348c-242b-47e9-b291-a68e7182b55b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tndm_EffectiveIncomeTaxRateReconciliationNetOperatingLossCarryforward_46e5016f-0f66-4bd7-9d07-1e075aa752eb" xlink:href="tndm-20201231.xsd#tndm_EffectiveIncomeTaxRateReconciliationNetOperatingLossCarryforward"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0852bbfe-c096-4f09-a1ed-5dc94efedc3c" xlink:to="loc_tndm_EffectiveIncomeTaxRateReconciliationNetOperatingLossCarryforward_46e5016f-0f66-4bd7-9d07-1e075aa752eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tndm_EffectiveIncomeTaxRateReconciliationOfficersCompensation_8e28f47f-1aed-4b30-90a9-5f153ab44a5b" xlink:href="tndm-20201231.xsd#tndm_EffectiveIncomeTaxRateReconciliationOfficersCompensation"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0852bbfe-c096-4f09-a1ed-5dc94efedc3c" xlink:to="loc_tndm_EffectiveIncomeTaxRateReconciliationOfficersCompensation_8e28f47f-1aed-4b30-90a9-5f153ab44a5b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/IncomeTaxesAdditionalInformationDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#IncomeTaxesAdditionalInformationDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/IncomeTaxesAdditionalInformationDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="tndm-20201231.xsd#IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_266d8285-98b0-4fe3-a440-aff05377b0f5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesFinancingArrangements_4e117d8f-9968-4bd1-a00f-4a75d03b4090" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxLiabilitiesFinancingArrangements"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_266d8285-98b0-4fe3-a440-aff05377b0f5" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesFinancingArrangements_4e117d8f-9968-4bd1-a00f-4a75d03b4090" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_5315f693-9e88-4f7a-a002-90248d26ee5d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_266d8285-98b0-4fe3-a440-aff05377b0f5" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_5315f693-9e88-4f7a-a002-90248d26ee5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_5f15a0a1-8e2f-4aba-befe-e154472ee56e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_266d8285-98b0-4fe3-a440-aff05377b0f5" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_5f15a0a1-8e2f-4aba-befe-e154472ee56e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_39b4dcbc-e996-4c8a-991c-945c30cabbe9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_ba15e26a-870e-4a64-ae46-63072354a0ee" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.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_DeferredTaxAssetsNet_39b4dcbc-e996-4c8a-991c-945c30cabbe9" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_ba15e26a-870e-4a64-ae46-63072354a0ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_021fccbe-3ffc-4241-9b48-148f93a8f1b2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_39b4dcbc-e996-4c8a-991c-945c30cabbe9" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_021fccbe-3ffc-4241-9b48-148f93a8f1b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_86c429f9-87f8-4b4e-a9c8-9223cc6272ff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_39b4dcbc-e996-4c8a-991c-945c30cabbe9" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_86c429f9-87f8-4b4e-a9c8-9223cc6272ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_99689895-619e-4c44-8fa3-ba46bd13a47c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_cd31d2f8-26f0-4b1f-92ae-37ff11872c6f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_99689895-619e-4c44-8fa3-ba46bd13a47c" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_cd31d2f8-26f0-4b1f-92ae-37ff11872c6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_2087577b-6abf-4534-8486-2b678ef9149f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_99689895-619e-4c44-8fa3-ba46bd13a47c" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_2087577b-6abf-4534-8486-2b678ef9149f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_79b39565-c833-4443-a346-1e12590b56d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_99689895-619e-4c44-8fa3-ba46bd13a47c" xlink:to="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_79b39565-c833-4443-a346-1e12590b56d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_415edea5-83cd-4253-a84a-d71b5eb74bb2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_99689895-619e-4c44-8fa3-ba46bd13a47c" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_415edea5-83cd-4253-a84a-d71b5eb74bb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_tndm_DeferredTaxAssetsLeaseLiabilities_bdead286-410e-45a7-8260-f80cf090b6ca" xlink:href="tndm-20201231.xsd#tndm_DeferredTaxAssetsLeaseLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_99689895-619e-4c44-8fa3-ba46bd13a47c" xlink:to="loc_tndm_DeferredTaxAssetsLeaseLiabilities_bdead286-410e-45a7-8260-f80cf090b6ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_534e4528-af58-4626-87d7-b9a3a0ad690c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_99689895-619e-4c44-8fa3-ba46bd13a47c" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_534e4528-af58-4626-87d7-b9a3a0ad690c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/IncomeTaxesScheduleofUnrecognizedTaxBenefitsDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#IncomeTaxesScheduleofUnrecognizedTaxBenefitsDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/IncomeTaxesScheduleofUnrecognizedTaxBenefitsDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/EmployeeBenefits" xlink:type="simple" xlink:href="tndm-20201231.xsd#EmployeeBenefits"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/EmployeeBenefits" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/EmployeeBenefitsAdditionalInformationDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#EmployeeBenefitsAdditionalInformationDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/EmployeeBenefitsAdditionalInformationDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/CommitmentsandContingencies" xlink:type="simple" xlink:href="tndm-20201231.xsd#CommitmentsandContingencies"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/CommitmentsandContingencies" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/CommitmentsandContingenciesDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#CommitmentsandContingenciesDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/CommitmentsandContingenciesDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/BusinessSegmentandGeographicInformation" xlink:type="simple" xlink:href="tndm-20201231.xsd#BusinessSegmentandGeographicInformation"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/BusinessSegmentandGeographicInformation" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/BusinessSegmentandGeographicInformationTables" xlink:type="simple" xlink:href="tndm-20201231.xsd#BusinessSegmentandGeographicInformationTables"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/BusinessSegmentandGeographicInformationTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/BusinessSegmentandGeographicInformationAdditionalInformationDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#BusinessSegmentandGeographicInformationAdditionalInformationDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/BusinessSegmentandGeographicInformationAdditionalInformationDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/BusinessSegmentandGeographicInformationGeographicalMarketsDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#BusinessSegmentandGeographicInformationGeographicalMarketsDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/BusinessSegmentandGeographicInformationGeographicalMarketsDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/SelectedQuarterlyFinancialDataUnaudited" xlink:type="simple" xlink:href="tndm-20201231.xsd#SelectedQuarterlyFinancialDataUnaudited"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/SelectedQuarterlyFinancialDataUnaudited" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/SelectedQuarterlyFinancialDataUnauditedTables" xlink:type="simple" xlink:href="tndm-20201231.xsd#SelectedQuarterlyFinancialDataUnauditedTables"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/SelectedQuarterlyFinancialDataUnauditedTables" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/SelectedQuarterlyFinancialDataUnauditedDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#SelectedQuarterlyFinancialDataUnauditedDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/SelectedQuarterlyFinancialDataUnauditedDetail" xlink:type="extended"/>
  <link:roleRef roleURI="http://www.tandemdiabetes.com/role/SelectedQuarterlyFinancialDataUnauditedBasicandDilutedNetIncomeLossPerShareDetail" xlink:type="simple" xlink:href="tndm-20201231.xsd#SelectedQuarterlyFinancialDataUnauditedBasicandDilutedNetIncomeLossPerShareDetail"/>
  <link:calculationLink xlink:role="http://www.tandemdiabetes.com/role/SelectedQuarterlyFinancialDataUnauditedBasicandDilutedNetIncomeLossPerShareDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_b5e1b43f-30d2-4518-8c46-a97256ca889d" 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_53e5e8ab-ce1b-4264-a0bb-ae0a3b9f41a8" 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_b5e1b43f-30d2-4518-8c46-a97256ca889d" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_53e5e8ab-ce1b-4264-a0bb-ae0a3b9f41a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_09165db1-b980-4c58-8a77-c2b1d686ef32" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_b5e1b43f-30d2-4518-8c46-a97256ca889d" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_09165db1-b980-4c58-8a77-c2b1d686ef32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_2b328a82-ea1b-43e4-99eb-08fd2b599197" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_b5e1b43f-30d2-4518-8c46-a97256ca889d" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_2b328a82-ea1b-43e4-99eb-08fd2b599197" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_9c594435-e9f7-429d-9302-d0b16f311572" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_b5e1b43f-30d2-4518-8c46-a97256ca889d" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_9c594435-e9f7-429d-9302-d0b16f311572" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_a0e39c01-0553-42d0-ba62-0ef1b2ce34b4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecurities_5bd870d6-5ede-4324-a087-6c5f2f3caaf5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DilutiveSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_a0e39c01-0553-42d0-ba62-0ef1b2ce34b4" xlink:to="loc_us-gaap_DilutiveSecurities_5bd870d6-5ede-4324-a087-6c5f2f3caaf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_59260186-3cd1-4b83-a18b-486044a08dc1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_a0e39c01-0553-42d0-ba62-0ef1b2ce34b4" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_59260186-3cd1-4b83-a18b-486044a08dc1" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
