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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:5e53bfed-5618-4e24-885d-bb49c3b2394c,g:e63de3a8-8715-46e5-89c4-d16db17c8afb-->
<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.ardelyx.com/role/CONDENSEDBALANCESHEETS" xlink:type="simple" xlink:href="ardx-20230331.xsd#CONDENSEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/CONDENSEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_18a8322d-c9a7-47b0-833d-2cc23fbbced9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_7546fcff-5fea-4114-994b-5da9adcbd916" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_18a8322d-c9a7-47b0-833d-2cc23fbbced9" xlink:to="loc_us-gaap_InventoryGross_7546fcff-5fea-4114-994b-5da9adcbd916" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_PrepaidCommercialManufacturingCurrent_27e67aeb-1f2e-480f-b6d4-da56654848cb" xlink:href="ardx-20230331.xsd#ardx_PrepaidCommercialManufacturingCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_18a8322d-c9a7-47b0-833d-2cc23fbbced9" xlink:to="loc_ardx_PrepaidCommercialManufacturingCurrent_27e67aeb-1f2e-480f-b6d4-da56654848cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_09700d93-0587-4d9c-9e77-3d4b4de3e03e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_18a8322d-c9a7-47b0-833d-2cc23fbbced9" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_09700d93-0587-4d9c-9e77-3d4b4de3e03e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_148c4d17-8247-4cfd-980b-36d346a76df6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_18a8322d-c9a7-47b0-833d-2cc23fbbced9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_148c4d17-8247-4cfd-980b-36d346a76df6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_f9b8c1a2-9bc2-4e15-b3f1-079042a22aa4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_18a8322d-c9a7-47b0-833d-2cc23fbbced9" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_f9b8c1a2-9bc2-4e15-b3f1-079042a22aa4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5cf31d18-0a93-4664-b0af-08c1baed8502" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_18a8322d-c9a7-47b0-833d-2cc23fbbced9" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_5cf31d18-0a93-4664-b0af-08c1baed8502" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_42d7a2e1-bf4a-4ce2-87dc-7058dd2a6fdd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e4bd278b-a8c8-4d51-a218-5380c6b5cfd4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_42d7a2e1-bf4a-4ce2-87dc-7058dd2a6fdd" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e4bd278b-a8c8-4d51-a218-5380c6b5cfd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_f7623e95-f0e5-4049-a159-d1edbec47473" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_42d7a2e1-bf4a-4ce2-87dc-7058dd2a6fdd" xlink:to="loc_us-gaap_AccountsPayableCurrent_f7623e95-f0e5-4049-a159-d1edbec47473" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_5d80853a-ae7e-4850-b96b-1826b459be7b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_42d7a2e1-bf4a-4ce2-87dc-7058dd2a6fdd" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_5d80853a-ae7e-4850-b96b-1826b459be7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableCurrent_cb93e8b4-f079-4894-b32a-dd2c51525e9f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LoansPayableCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_42d7a2e1-bf4a-4ce2-87dc-7058dd2a6fdd" xlink:to="loc_us-gaap_LoansPayableCurrent_cb93e8b4-f079-4894-b32a-dd2c51525e9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_6919137d-d69b-4aac-bb86-d21f4b10514c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_42d7a2e1-bf4a-4ce2-87dc-7058dd2a6fdd" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_6919137d-d69b-4aac-bb86-d21f4b10514c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_1a7954f0-a167-47e2-9ceb-fac13d08416b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_42d7a2e1-bf4a-4ce2-87dc-7058dd2a6fdd" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_1a7954f0-a167-47e2-9ceb-fac13d08416b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_d2511264-dab5-4eff-a69a-20d0d2b4064e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_fc1a5df3-61d5-4f59-85cc-f49b85e6b9bf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d2511264-dab5-4eff-a69a-20d0d2b4064e" xlink:to="loc_us-gaap_PreferredStockValue_fc1a5df3-61d5-4f59-85cc-f49b85e6b9bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_07324b2f-04e4-4541-8d59-2d6fc4f7f72f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d2511264-dab5-4eff-a69a-20d0d2b4064e" xlink:to="loc_us-gaap_CommonStockValue_07324b2f-04e4-4541-8d59-2d6fc4f7f72f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_8bded6a9-1956-4b3d-92c3-2c53b411ede7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d2511264-dab5-4eff-a69a-20d0d2b4064e" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_8bded6a9-1956-4b3d-92c3-2c53b411ede7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_220b82f8-cc2d-4926-aaff-a9f8d518ce42" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d2511264-dab5-4eff-a69a-20d0d2b4064e" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_220b82f8-cc2d-4926-aaff-a9f8d518ce42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_eb993ddb-7952-428d-b4e4-2a5c249584aa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d2511264-dab5-4eff-a69a-20d0d2b4064e" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_eb993ddb-7952-428d-b4e4-2a5c249584aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_d3f6f0da-41c2-4ff9-b3fb-44c74dd2fa50" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_c93b6cfc-9adc-4775-8d6e-b7d8213c91a3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d3f6f0da-41c2-4ff9-b3fb-44c74dd2fa50" xlink:to="loc_us-gaap_AssetsCurrent_c93b6cfc-9adc-4775-8d6e-b7d8213c91a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_96b390b3-6dd2-4c0b-9c2f-dfeeb32565a5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d3f6f0da-41c2-4ff9-b3fb-44c74dd2fa50" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_96b390b3-6dd2-4c0b-9c2f-dfeeb32565a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_12b6f896-fbba-498e-a2fe-facfda689b5e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d3f6f0da-41c2-4ff9-b3fb-44c74dd2fa50" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_12b6f896-fbba-498e-a2fe-facfda689b5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_c6ee38a8-41c5-4dc1-bcb2-0c251d16b0cc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d3f6f0da-41c2-4ff9-b3fb-44c74dd2fa50" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_c6ee38a8-41c5-4dc1-bcb2-0c251d16b0cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNoncurrent_3dd6e748-0794-424a-b385-0e6d69156e5d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d3f6f0da-41c2-4ff9-b3fb-44c74dd2fa50" xlink:to="loc_us-gaap_InventoryNoncurrent_3dd6e748-0794-424a-b385-0e6d69156e5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_cb1ee1f4-97e1-4bff-a4cb-ce6f336913eb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_fe8b7ef7-92de-4775-b312-6af6d8be8a61" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_cb1ee1f4-97e1-4bff-a4cb-ce6f336913eb" xlink:to="loc_us-gaap_Liabilities_fe8b7ef7-92de-4775-b312-6af6d8be8a61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_6506d690-4bca-46d2-a298-d5242418f807" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_cb1ee1f4-97e1-4bff-a4cb-ce6f336913eb" xlink:to="loc_us-gaap_CommitmentsAndContingencies_6506d690-4bca-46d2-a298-d5242418f807" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_16d96740-b45e-4bfa-b620-32e703e35a55" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_cb1ee1f4-97e1-4bff-a4cb-ce6f336913eb" xlink:to="loc_us-gaap_StockholdersEquity_16d96740-b45e-4bfa-b620-32e703e35a55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_7657efea-7de5-443f-aa41-4ee4f0699f2e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_e3689898-2417-4b1f-9f7d-715c747bdea5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7657efea-7de5-443f-aa41-4ee4f0699f2e" xlink:to="loc_us-gaap_LiabilitiesCurrent_e3689898-2417-4b1f-9f7d-715c747bdea5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_3bde78e2-b4d0-4e50-9052-eed653084378" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7657efea-7de5-443f-aa41-4ee4f0699f2e" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_3bde78e2-b4d0-4e50-9052-eed653084378" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_50392fe9-1f68-4110-bf39-854c6fec79c1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_7657efea-7de5-443f-aa41-4ee4f0699f2e" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_50392fe9-1f68-4110-bf39-854c6fec79c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_DeferredRoyaltyObligationNoncurrent_c4f777fb-8465-446d-9256-2b64716ac809" xlink:href="ardx-20230331.xsd#ardx_DeferredRoyaltyObligationNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_7657efea-7de5-443f-aa41-4ee4f0699f2e" xlink:to="loc_ardx_DeferredRoyaltyObligationNoncurrent_c4f777fb-8465-446d-9256-2b64716ac809" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/CONDENSEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="simple" xlink:href="ardx-20230331.xsd#CONDENSEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/CONDENSEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe04fc63-087c-4ee9-aee5-8e37a499cc98" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_1a87a9ee-f7e0-4cb5-87b0-1d023f7c348b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe04fc63-087c-4ee9-aee5-8e37a499cc98" xlink:to="loc_us-gaap_InterestExpense_1a87a9ee-f7e0-4cb5-87b0-1d023f7c348b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_df01d6d3-985d-4001-8ac0-94e67e12655b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe04fc63-087c-4ee9-aee5-8e37a499cc98" xlink:to="loc_us-gaap_OperatingIncomeLoss_df01d6d3-985d-4001-8ac0-94e67e12655b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfAdvanceRoyalty_8bb2fb67-318f-437e-9c5a-f206f4c098f0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfAdvanceRoyalty"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe04fc63-087c-4ee9-aee5-8e37a499cc98" xlink:to="loc_us-gaap_AmortizationOfAdvanceRoyalty_8bb2fb67-318f-437e-9c5a-f206f4c098f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_aa9a75a8-1e8a-4ab0-b98f-6f441a7dc630" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fe04fc63-087c-4ee9-aee5-8e37a499cc98" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_aa9a75a8-1e8a-4ab0-b98f-6f441a7dc630" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_9ee6a3fe-8f6f-47e2-be39-3c76236d8890" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_2c31aba9-429a-4193-9ae8-4bddbe91f0dc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_OperatingIncomeLoss_9ee6a3fe-8f6f-47e2-be39-3c76236d8890" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_2c31aba9-429a-4193-9ae8-4bddbe91f0dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_8ec9ca80-f717-4d35-abff-feb05044713b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_9ee6a3fe-8f6f-47e2-be39-3c76236d8890" xlink:to="loc_us-gaap_CostsAndExpenses_8ec9ca80-f717-4d35-abff-feb05044713b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_d5891d6e-5e14-4ec2-88c2-d6e99c7de00b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d79e3ffb-a15f-42c3-9fdf-1b6fedf4040f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d5891d6e-5e14-4ec2-88c2-d6e99c7de00b" xlink:to="loc_us-gaap_NetIncomeLoss_d79e3ffb-a15f-42c3-9fdf-1b6fedf4040f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_bec4a69a-27c9-4f67-9a4e-0b778325e79f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_d5891d6e-5e14-4ec2-88c2-d6e99c7de00b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_bec4a69a-27c9-4f67-9a4e-0b778325e79f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_0aeae43d-3522-44e0-990b-605dcca0136a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d32dd7df-5bd4-4671-a3e5-f715c5656297" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_0aeae43d-3522-44e0-990b-605dcca0136a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d32dd7df-5bd4-4671-a3e5-f715c5656297" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_61f8e0ac-e2ea-48e8-85f6-c020c04b5fd2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_0aeae43d-3522-44e0-990b-605dcca0136a" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_61f8e0ac-e2ea-48e8-85f6-c020c04b5fd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_46de74c5-a21c-418e-9d16-ba0f587b5e43" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_ca0fb9fb-9890-4484-9a14-627b080f5fe2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_46de74c5-a21c-418e-9d16-ba0f587b5e43" xlink:to="loc_us-gaap_CostOfRevenue_ca0fb9fb-9890-4484-9a14-627b080f5fe2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_a460fecd-b192-40e0-881d-41a068e39161" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_CostsAndExpenses_46de74c5-a21c-418e-9d16-ba0f587b5e43" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_a460fecd-b192-40e0-881d-41a068e39161" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_9f35496a-d361-4dc0-8587-514d0da3dfe4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_46de74c5-a21c-418e-9d16-ba0f587b5e43" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_9f35496a-d361-4dc0-8587-514d0da3dfe4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/CONDENSEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="ardx-20230331.xsd#CONDENSEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/CONDENSEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_501840f2-be8f-4ec6-a9f7-da4e3808dd74" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_5a431976-a0b0-436a-9fc9-16096d31fc27" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_501840f2-be8f-4ec6-a9f7-da4e3808dd74" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_5a431976-a0b0-436a-9fc9-16096d31fc27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_31e93974-2a8e-45bb-84c4-8e2a64dc9259" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_501840f2-be8f-4ec6-a9f7-da4e3808dd74" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_31e93974-2a8e-45bb-84c4-8e2a64dc9259" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireShortTermInvestments_180222ca-af1d-4f76-8cca-a881c0086844" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_501840f2-be8f-4ec6-a9f7-da4e3808dd74" xlink:to="loc_us-gaap_PaymentsToAcquireShortTermInvestments_180222ca-af1d-4f76-8cca-a881c0086844" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_f347dad7-271e-434e-8a02-87c4949ba4fd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_501840f2-be8f-4ec6-a9f7-da4e3808dd74" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_f347dad7-271e-434e-8a02-87c4949ba4fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_602d7bd0-c0c4-4b49-a859-73ed403e32e7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_602d7bd0-c0c4-4b49-a859-73ed403e32e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_0050b5a4-5656-4a91-94af-4f1bff250711" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_0050b5a4-5656-4a91-94af-4f1bff250711" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TangibleAssetImpairmentCharges_71523424-20d5-49fa-a61f-003abfceadab" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TangibleAssetImpairmentCharges"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_TangibleAssetImpairmentCharges_71523424-20d5-49fa-a61f-003abfceadab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_2db0868d-0180-4093-a41d-e3a684e706d9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_ShareBasedCompensation_2db0868d-0180-4093-a41d-e3a684e706d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_548916c6-e9ac-416d-a6b2-65f7ae9b19e6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_NetIncomeLoss_548916c6-e9ac-416d-a6b2-65f7ae9b19e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_79a3f751-9d67-4069-be45-132bf2bd2083" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInDeferredRevenue"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_79a3f751-9d67-4069-be45-132bf2bd2083" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_7bbfab23-159d-4df9-8bf6-fd103b47760a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_7bbfab23-159d-4df9-8bf6-fd103b47760a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_8bcb32d9-931a-4c7d-85bd-529b3a066e7f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_8bcb32d9-931a-4c7d-85bd-529b3a066e7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnRestructuringOfDebt_e63a8056-a055-4bbf-94d7-e2faef9a0b6b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainsLossesOnRestructuringOfDebt"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_GainsLossesOnRestructuringOfDebt_e63a8056-a055-4bbf-94d7-e2faef9a0b6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_7a036187-c20f-414b-b9f3-cf6914d09ad0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_7a036187-c20f-414b-b9f3-cf6914d09ad0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_76f7ef11-ddde-45b5-a123-5a54b838da56" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_76f7ef11-ddde-45b5-a123-5a54b838da56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_4b404572-b570-41fd-a34d-2372b3a56666" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnDispositionOfAssets"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_4b404572-b570-41fd-a34d-2372b3a56666" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_IncreaseDecreaseInPrepaidCommercialManufacturingExpense_c3d15517-4e96-4be4-9fff-1277c78569fd" xlink:href="ardx-20230331.xsd#ardx_IncreaseDecreaseInPrepaidCommercialManufacturingExpense"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_ardx_IncreaseDecreaseInPrepaidCommercialManufacturingExpense_c3d15517-4e96-4be4-9fff-1277c78569fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDerivativeLiabilities_9bd16cf6-6e1c-473a-997f-7425f162d42b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInDerivativeLiabilities"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_IncreaseDecreaseInDerivativeLiabilities_9bd16cf6-6e1c-473a-997f-7425f162d42b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_c390e7c4-0288-4c6e-add9-c1b6953c7569" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_c390e7c4-0288-4c6e-add9-c1b6953c7569" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_f38f8e49-7933-4299-8625-be2d5eacb97a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_f38f8e49-7933-4299-8625-be2d5eacb97a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_609d2993-1ec7-4576-b315-716973c4b8ef" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_609d2993-1ec7-4576-b315-716973c4b8ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_3de9488f-0596-4447-929a-3748bdb46c9b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4beac262-5a94-450e-a89e-acf29bf64509" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_3de9488f-0596-4447-929a-3748bdb46c9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a1777c64-b37a-448e-b8df-7e1625c27ebc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_832d4164-a878-4c8d-93db-ebb458dea3c5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfSecuredDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a1777c64-b37a-448e-b8df-7e1625c27ebc" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_832d4164-a878-4c8d-93db-ebb458dea3c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_ad9c192a-3d3c-4b3b-ac64-250e46cebedf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a1777c64-b37a-448e-b8df-7e1625c27ebc" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_ad9c192a-3d3c-4b3b-ac64-250e46cebedf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_c508c5be-0802-4659-9a51-8a65b437ce36" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a1777c64-b37a-448e-b8df-7e1625c27ebc" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_c508c5be-0802-4659-9a51-8a65b437ce36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_ae78be0c-f3f8-472d-97af-ee69ae7c3414" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a1777c64-b37a-448e-b8df-7e1625c27ebc" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_ae78be0c-f3f8-472d-97af-ee69ae7c3414" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_7a36a2cf-166b-4ad3-bb3a-6c43863414fb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e2b418ea-e418-48e0-abf3-22717a8e5b5a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7a36a2cf-166b-4ad3-bb3a-6c43863414fb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e2b418ea-e418-48e0-abf3-22717a8e5b5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ec0b0e57-5ca2-4f3d-8334-22dd1930dbaf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7a36a2cf-166b-4ad3-bb3a-6c43863414fb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ec0b0e57-5ca2-4f3d-8334-22dd1930dbaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f8017aae-4758-47b2-96b7-ae7b38bd0ec1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7a36a2cf-166b-4ad3-bb3a-6c43863414fb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f8017aae-4758-47b2-96b7-ae7b38bd0ec1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/CashCashEquivalentsandInvestmentsSecuritiesClassifiedasCashCashEquivalentsandInvestmentsDetails" xlink:type="simple" xlink:href="ardx-20230331.xsd#CashCashEquivalentsandInvestmentsSecuritiesClassifiedasCashCashEquivalentsandInvestmentsDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/CashCashEquivalentsandInvestmentsSecuritiesClassifiedasCashCashEquivalentsandInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ardx_InvestmentsAndCashAmortizedCost_19cb47b3-fdf6-4805-9046-3544936d6405" xlink:href="ardx-20230331.xsd#ardx_InvestmentsAndCashAmortizedCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_CashCashEquivalentsAndInvestmentsGrossUnrealizedGains_ef93eb22-a4ed-4c1e-bd11-ef08eb6bc452" xlink:href="ardx-20230331.xsd#ardx_CashCashEquivalentsAndInvestmentsGrossUnrealizedGains"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ardx_InvestmentsAndCashAmortizedCost_19cb47b3-fdf6-4805-9046-3544936d6405" xlink:to="loc_ardx_CashCashEquivalentsAndInvestmentsGrossUnrealizedGains_ef93eb22-a4ed-4c1e-bd11-ef08eb6bc452" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_CashCashEquivalentsAndInvestmentsGrossUnrealizedLosses_4962c3ab-5955-4ad1-85e2-e805c46764e9" xlink:href="ardx-20230331.xsd#ardx_CashCashEquivalentsAndInvestmentsGrossUnrealizedLosses"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ardx_InvestmentsAndCashAmortizedCost_19cb47b3-fdf6-4805-9046-3544936d6405" xlink:to="loc_ardx_CashCashEquivalentsAndInvestmentsGrossUnrealizedLosses_4962c3ab-5955-4ad1-85e2-e805c46764e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsAndCash_aa08844d-7261-45b6-9b92-2402732b204c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentsAndCash"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ardx_InvestmentsAndCashAmortizedCost_19cb47b3-fdf6-4805-9046-3544936d6405" xlink:to="loc_us-gaap_InvestmentsAndCash_aa08844d-7261-45b6-9b92-2402732b204c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_cf3e61b6-49e2-4acd-a1df-0f889e13f1fd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_30dc8837-ae20-4235-b748-b537fb7863c5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_cf3e61b6-49e2-4acd-a1df-0f889e13f1fd" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_30dc8837-ae20-4235-b748-b537fb7863c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_6dec540f-b8fd-470f-a056-68906e527e51" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_cf3e61b6-49e2-4acd-a1df-0f889e13f1fd" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_6dec540f-b8fd-470f-a056-68906e527e51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_713c064f-39fa-426a-b1f9-a4e51d6ed83d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_cf3e61b6-49e2-4acd-a1df-0f889e13f1fd" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_713c064f-39fa-426a-b1f9-a4e51d6ed83d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/CashCashEquivalentsandInvestmentsSecuritiesClassifiedasCashCashEquivalentsandInvestmentsDetails_1" xlink:type="simple" xlink:href="ardx-20230331.xsd#CashCashEquivalentsandInvestmentsSecuritiesClassifiedasCashCashEquivalentsandInvestmentsDetails_1"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/CashCashEquivalentsandInvestmentsSecuritiesClassifiedasCashCashEquivalentsandInvestmentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ardx_InvestmentsAndCashAmortizedCost_bbfd8fdd-bca7-42d0-91ba-222e87b4caef" xlink:href="ardx-20230331.xsd#ardx_InvestmentsAndCashAmortizedCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_47ab0962-4773-46dc-8fc4-f507155c2a9a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ardx_InvestmentsAndCashAmortizedCost_bbfd8fdd-bca7-42d0-91ba-222e87b4caef" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_47ab0962-4773-46dc-8fc4-f507155c2a9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_5f56a72e-176b-4d31-860c-8c29ba2968ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ardx_InvestmentsAndCashAmortizedCost_bbfd8fdd-bca7-42d0-91ba-222e87b4caef" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_5f56a72e-176b-4d31-860c-8c29ba2968ff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/InventoryScheduleDetails" xlink:type="simple" xlink:href="ardx-20230331.xsd#InventoryScheduleDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/InventoryScheduleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_f91138c8-341f-48d0-a8f7-6dc1a465f361" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_b6576651-be6f-4c98-bcc7-3f26bbdaeb89" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryFinishedGoods"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_f91138c8-341f-48d0-a8f7-6dc1a465f361" xlink:to="loc_us-gaap_InventoryFinishedGoods_b6576651-be6f-4c98-bcc7-3f26bbdaeb89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_70211c71-15f1-4611-8326-b2b16ff73299" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryRawMaterials"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_f91138c8-341f-48d0-a8f7-6dc1a465f361" xlink:to="loc_us-gaap_InventoryRawMaterials_70211c71-15f1-4611-8326-b2b16ff73299" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_0a7164f3-6d2f-4d4a-8768-7afd7c5b51cd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryWorkInProcess"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_f91138c8-341f-48d0-a8f7-6dc1a465f361" xlink:to="loc_us-gaap_InventoryWorkInProcess_0a7164f3-6d2f-4d4a-8768-7afd7c5b51cd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/InventoryScheduleDetails_1" xlink:type="simple" xlink:href="ardx-20230331.xsd#InventoryScheduleDetails_1"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/InventoryScheduleDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_f5dca029-2452-455d-a097-172bad235ef4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_073ab84d-d815-4147-9adf-a038650634dc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_f5dca029-2452-455d-a097-172bad235ef4" xlink:to="loc_us-gaap_InventoryGross_073ab84d-d815-4147-9adf-a038650634dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNoncurrent_36da28e1-4c69-41f0-8495-6e62bcec5347" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InventoryNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_f5dca029-2452-455d-a097-172bad235ef4" xlink:to="loc_us-gaap_InventoryNoncurrent_36da28e1-4c69-41f0-8495-6e62bcec5347" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/BorrowingFuturePaymentObligationsDetails" xlink:type="simple" xlink:href="ardx-20230331.xsd#BorrowingFuturePaymentObligationsDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/BorrowingFuturePaymentObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_6f97299c-7e7d-4816-b904-d7141e3efcfd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableCurrent_3ee947a1-afa7-4a29-a211-f08c23ef37f7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LoansPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_6f97299c-7e7d-4816-b904-d7141e3efcfd" xlink:to="loc_us-gaap_LoansPayableCurrent_3ee947a1-afa7-4a29-a211-f08c23ef37f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermLoansPayable_f1d5f85d-f105-4103-847d-eeacf5f5c04d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermLoansPayable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_6f97299c-7e7d-4816-b904-d7141e3efcfd" xlink:to="loc_us-gaap_LongTermLoansPayable_f1d5f85d-f105-4103-847d-eeacf5f5c04d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/BorrowingFuturePaymentObligationsDetails_1" xlink:type="simple" xlink:href="ardx-20230331.xsd#BorrowingFuturePaymentObligationsDetails_1"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/BorrowingFuturePaymentObligationsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_300f2e7c-44a6-46ad-80be-c8416ccb196e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_e3c0dd7a-36af-4104-bf4d-56d62f610d46" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_300f2e7c-44a6-46ad-80be-c8416ccb196e" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_e3c0dd7a-36af-4104-bf4d-56d62f610d46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_d3216f48-b95d-45a2-b92a-1f035dd224d7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_300f2e7c-44a6-46ad-80be-c8416ccb196e" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_d3216f48-b95d-45a2-b92a-1f035dd224d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFeeAmount_be5a74b2-f95d-48d7-a4e6-a26443f77c7b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentFeeAmount"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_300f2e7c-44a6-46ad-80be-c8416ccb196e" xlink:to="loc_us-gaap_DebtInstrumentFeeAmount_be5a74b2-f95d-48d7-a4e6-a26443f77c7b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/LeasesAdditionalDetailsofLeasesDetails" xlink:type="simple" xlink:href="ardx-20230331.xsd#LeasesAdditionalDetailsofLeasesDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/LeasesAdditionalDetailsofLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_3dabcae0-a67d-4df4-a300-709ce53dd682" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_3228dbab-a072-4d67-804c-eb912179eebf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeaseLiability_3dabcae0-a67d-4df4-a300-709ce53dd682" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_3228dbab-a072-4d67-804c-eb912179eebf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_224b7428-1e3e-4aa9-ad7f-f03d451606e2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_OperatingLeaseLiability_3dabcae0-a67d-4df4-a300-709ce53dd682" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_224b7428-1e3e-4aa9-ad7f-f03d451606e2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/LeasesUndiscountedCashPaymentObligationsDetails" xlink:type="simple" xlink:href="ardx-20230331.xsd#LeasesUndiscountedCashPaymentObligationsDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/LeasesUndiscountedCashPaymentObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9641d004-c4b6-4a8a-99c3-1eb409c42d0b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_6177cbd5-a43e-4890-862c-4f66667c3d02" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9641d004-c4b6-4a8a-99c3-1eb409c42d0b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_6177cbd5-a43e-4890-862c-4f66667c3d02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_4d48609d-0a49-4969-aa44-370007599820" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9641d004-c4b6-4a8a-99c3-1eb409c42d0b" xlink:to="loc_us-gaap_OperatingLeaseLiability_4d48609d-0a49-4969-aa44-370007599820" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/LeasesUndiscountedCashPaymentObligationsDetails_1" xlink:type="simple" xlink:href="ardx-20230331.xsd#LeasesUndiscountedCashPaymentObligationsDetails_1"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/LeasesUndiscountedCashPaymentObligationsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_89a6cf42-87e0-4939-bf46-8a24c1048db2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_e96b683a-ee57-4d72-a01f-744260a50ba0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_89a6cf42-87e0-4939-bf46-8a24c1048db2" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_e96b683a-ee57-4d72-a01f-744260a50ba0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_35609a24-1d78-4b57-b15e-83984eb4b0a4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_89a6cf42-87e0-4939-bf46-8a24c1048db2" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_35609a24-1d78-4b57-b15e-83984eb4b0a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_cfe15d51-c1c3-4624-9c56-533bd3a5d94e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_89a6cf42-87e0-4939-bf46-8a24c1048db2" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_cfe15d51-c1c3-4624-9c56-533bd3a5d94e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_7a19a355-2d11-42bf-88d1-05a73fc6ec3a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_89a6cf42-87e0-4939-bf46-8a24c1048db2" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_7a19a355-2d11-42bf-88d1-05a73fc6ec3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_LesseeOperatingLeaseLiabilityToBePaidAfterYearThree_2d22f72d-1edf-426f-9018-8842c63fb886" xlink:href="ardx-20230331.xsd#ardx_LesseeOperatingLeaseLiabilityToBePaidAfterYearThree"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_89a6cf42-87e0-4939-bf46-8a24c1048db2" xlink:to="loc_ardx_LesseeOperatingLeaseLiabilityToBePaidAfterYearThree_2d22f72d-1edf-426f-9018-8842c63fb886" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
