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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:b33a18c9-e45e-4911-90cb-701d9ede4311,g:322957f5-0087-4e96-81d1-ff5a4087bf60-->
<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/BALANCESHEETS" xlink:type="simple" xlink:href="ardx-20211231.xsd#BALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/BALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_5f936d1d-ee8b-4460-a4b5-db89418e9657" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_da370709-68c9-4449-b492-0cc7f36fcd46" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_5f936d1d-ee8b-4460-a4b5-db89418e9657" xlink:to="loc_us-gaap_AssetsCurrent_da370709-68c9-4449-b492-0cc7f36fcd46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_bac4788c-81de-4ea6-bc63-bcaada25da9c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_5f936d1d-ee8b-4460-a4b5-db89418e9657" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_bac4788c-81de-4ea6-bc63-bcaada25da9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_11694d9a-00cf-4b65-a094-a222b0f7f9b3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5f936d1d-ee8b-4460-a4b5-db89418e9657" xlink:to="loc_us-gaap_LongTermInvestments_11694d9a-00cf-4b65-a094-a222b0f7f9b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_fcc2fa59-707c-4113-9110-895fea578dc9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5f936d1d-ee8b-4460-a4b5-db89418e9657" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_fcc2fa59-707c-4113-9110-895fea578dc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_5c713149-cd26-4757-a9dd-e60e1572db0a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_5f936d1d-ee8b-4460-a4b5-db89418e9657" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_5c713149-cd26-4757-a9dd-e60e1572db0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_13fb6052-f2b3-451e-84fb-5338e1acfeaf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_50141459-b4a7-443b-8cfd-942e74bc4c3d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_13fb6052-f2b3-451e-84fb-5338e1acfeaf" xlink:to="loc_us-gaap_PreferredStockValue_50141459-b4a7-443b-8cfd-942e74bc4c3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_18ade0f7-a1af-46ff-b8b0-107e279afa2c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_13fb6052-f2b3-451e-84fb-5338e1acfeaf" xlink:to="loc_us-gaap_CommonStockValue_18ade0f7-a1af-46ff-b8b0-107e279afa2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_32786148-13e0-466f-80f0-c6412f8b5a57" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_13fb6052-f2b3-451e-84fb-5338e1acfeaf" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_32786148-13e0-466f-80f0-c6412f8b5a57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_3678445c-e504-4b81-9973-cd3b0845888b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_13fb6052-f2b3-451e-84fb-5338e1acfeaf" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_3678445c-e504-4b81-9973-cd3b0845888b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9996e285-e791-484b-9276-1e1d737eb259" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_13fb6052-f2b3-451e-84fb-5338e1acfeaf" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9996e285-e791-484b-9276-1e1d737eb259" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_4f759b14-b4ad-40be-8f42-6e3b33173e69" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_82abd791-7763-47e5-8444-ed639428fd7d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_4f759b14-b4ad-40be-8f42-6e3b33173e69" xlink:to="loc_us-gaap_AccountsPayableCurrent_82abd791-7763-47e5-8444-ed639428fd7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e781da19-c55c-421c-8aaf-dab4460a9465" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_4f759b14-b4ad-40be-8f42-6e3b33173e69" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e781da19-c55c-421c-8aaf-dab4460a9465" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_f55494e2-0be0-4219-8e23-0c32c7972efc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_4f759b14-b4ad-40be-8f42-6e3b33173e69" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_f55494e2-0be0-4219-8e23-0c32c7972efc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableCurrent_ec959faf-1ef2-470f-9252-1aa067e74ebc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_4f759b14-b4ad-40be-8f42-6e3b33173e69" xlink:to="loc_us-gaap_LoansPayableCurrent_ec959faf-1ef2-470f-9252-1aa067e74ebc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_c5640a10-bf24-44eb-ad8d-a609408331b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_4f759b14-b4ad-40be-8f42-6e3b33173e69" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_c5640a10-bf24-44eb-ad8d-a609408331b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_097f682c-bcf3-4f49-a993-8ac779f32d39" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_4f759b14-b4ad-40be-8f42-6e3b33173e69" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_097f682c-bcf3-4f49-a993-8ac779f32d39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_46448522-0dce-4954-9185-635ca3993f45" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_35bc2c77-99be-4229-8074-473b32ad1df5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_46448522-0dce-4954-9185-635ca3993f45" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_35bc2c77-99be-4229-8074-473b32ad1df5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_27db4600-b289-4f28-8784-780e40c251ef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_46448522-0dce-4954-9185-635ca3993f45" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_27db4600-b289-4f28-8784-780e40c251ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_6db6d82b-ca09-49ca-b2d3-2568591267af" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_46448522-0dce-4954-9185-635ca3993f45" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_6db6d82b-ca09-49ca-b2d3-2568591267af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_5cc059cb-737a-4ea0-a939-eea29fe153d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_46448522-0dce-4954-9185-635ca3993f45" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_5cc059cb-737a-4ea0-a939-eea29fe153d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_3cbc07a4-35ad-4bf3-a18b-a393049cf14e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_236b46b6-340c-4f4a-b481-f0abbc0e51aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_3cbc07a4-35ad-4bf3-a18b-a393049cf14e" xlink:to="loc_us-gaap_LiabilitiesCurrent_236b46b6-340c-4f4a-b481-f0abbc0e51aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_c7fbaef6-5c95-42e0-9f7f-f4e413133f8a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_3cbc07a4-35ad-4bf3-a18b-a393049cf14e" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_c7fbaef6-5c95-42e0-9f7f-f4e413133f8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermLoansPayable_37ef121e-ac03-4e70-8c44-e698c9a9933f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermLoansPayable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_3cbc07a4-35ad-4bf3-a18b-a393049cf14e" xlink:to="loc_us-gaap_LongTermLoansPayable_37ef121e-ac03-4e70-8c44-e698c9a9933f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_a4156656-d74a-4c93-88fb-3cf0a3951a47" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_3cbc07a4-35ad-4bf3-a18b-a393049cf14e" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_a4156656-d74a-4c93-88fb-3cf0a3951a47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_817c45a7-69ef-474a-9197-606f45eaaf3a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_9b340efb-f248-4d52-a852-3830d7b14f2f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_817c45a7-69ef-474a-9197-606f45eaaf3a" xlink:to="loc_us-gaap_Liabilities_9b340efb-f248-4d52-a852-3830d7b14f2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_b631ca6f-bc09-4764-bfed-b068fa026624" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_817c45a7-69ef-474a-9197-606f45eaaf3a" xlink:to="loc_us-gaap_CommitmentsAndContingencies_b631ca6f-bc09-4764-bfed-b068fa026624" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_05b9fe7c-3d92-4779-92a8-8e1009bad1d0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_817c45a7-69ef-474a-9197-606f45eaaf3a" xlink:to="loc_us-gaap_StockholdersEquity_05b9fe7c-3d92-4779-92a8-8e1009bad1d0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/STATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="simple" xlink:href="ardx-20211231.xsd#STATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/STATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_06079386-2e5e-495c-945f-0d29b08c1f6f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_5a3ec3de-315d-4e9a-9802-17b5dcdc6c03" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_06079386-2e5e-495c-945f-0d29b08c1f6f" xlink:to="loc_us-gaap_CostOfRevenue_5a3ec3de-315d-4e9a-9802-17b5dcdc6c03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_c4652d89-07f9-4624-b21f-4967ad0cac07" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_CostsAndExpenses_06079386-2e5e-495c-945f-0d29b08c1f6f" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_c4652d89-07f9-4624-b21f-4967ad0cac07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_27c18b4a-af24-4982-85a2-789ea4e721ce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_06079386-2e5e-495c-945f-0d29b08c1f6f" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_27c18b4a-af24-4982-85a2-789ea4e721ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d7aa325d-a45a-4d61-9b73-1f8de4c60f07" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_6ee827ac-887f-447a-a652-5ecd751ced16" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_d7aa325d-a45a-4d61-9b73-1f8de4c60f07" xlink:to="loc_us-gaap_OperatingIncomeLoss_6ee827ac-887f-447a-a652-5ecd751ced16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_ca674ee2-f748-4b6d-b805-532de03e7a12" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d7aa325d-a45a-4d61-9b73-1f8de4c60f07" xlink:to="loc_us-gaap_InterestExpense_ca674ee2-f748-4b6d-b805-532de03e7a12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_85bacb24-415b-4319-8329-99bdf95bb7c2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d7aa325d-a45a-4d61-9b73-1f8de4c60f07" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_85bacb24-415b-4319-8329-99bdf95bb7c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1b3554ff-fa8e-4ddc-a934-d2b645e75940" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4a7d0e98-941f-45d6-9734-464ee51c3f67" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_1b3554ff-fa8e-4ddc-a934-d2b645e75940" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4a7d0e98-941f-45d6-9734-464ee51c3f67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_c41fe4d3-3368-48f4-9855-405d9b3759a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_1b3554ff-fa8e-4ddc-a934-d2b645e75940" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_c41fe4d3-3368-48f4-9855-405d9b3759a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_9a34759b-ea5d-4765-b6bb-833ee362512e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_72a0bfe1-c60a-483c-9cc7-25bd23f72998" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_OperatingIncomeLoss_9a34759b-ea5d-4765-b6bb-833ee362512e" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_72a0bfe1-c60a-483c-9cc7-25bd23f72998" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_649b1c6e-8879-4e01-a8fc-e52933f2df48" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9a34759b-ea5d-4765-b6bb-833ee362512e" xlink:to="loc_us-gaap_CostsAndExpenses_649b1c6e-8879-4e01-a8fc-e52933f2df48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_736c47a7-6678-44c3-8d5b-b0d594b3b710" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_a035c04c-6149-4c93-9cea-35e71ba3405a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_736c47a7-6678-44c3-8d5b-b0d594b3b710" xlink:to="loc_us-gaap_NetIncomeLoss_a035c04c-6149-4c93-9cea-35e71ba3405a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_63b0fa84-993b-4475-8960-b2f5fe0402c6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_736c47a7-6678-44c3-8d5b-b0d594b3b710" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_63b0fa84-993b-4475-8960-b2f5fe0402c6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/STATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="ardx-20211231.xsd#STATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/STATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_b52efc36-ed6f-4bfa-8734-8c88545f9cd5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8f5976be-9981-4c83-abc4-dc686ace7a33" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_b52efc36-ed6f-4bfa-8734-8c88545f9cd5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8f5976be-9981-4c83-abc4-dc686ace7a33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4c1c3a8e-2de3-464c-89ac-326099bdc808" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_b52efc36-ed6f-4bfa-8734-8c88545f9cd5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4c1c3a8e-2de3-464c-89ac-326099bdc808" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cda460a1-dfd8-4b96-871a-a1e7e7227032" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_b52efc36-ed6f-4bfa-8734-8c88545f9cd5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_cda460a1-dfd8-4b96-871a-a1e7e7227032" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c786180f-2db2-4af6-9554-0a56a83ffc84" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_NetIncomeLoss_c786180f-2db2-4af6-9554-0a56a83ffc84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_b35f637a-46a4-451f-be86-d716cb422aa9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_Depreciation_b35f637a-46a4-451f-be86-d716cb422aa9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_6243cfbe-b8a6-4f39-a2ac-b57384f346a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_6243cfbe-b8a6-4f39-a2ac-b57384f346a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredCharges_93abebed-ab67-4f3e-af23-01a3f4e62dfa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfDeferredCharges"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_AmortizationOfDeferredCharges_93abebed-ab67-4f3e-af23-01a3f4e62dfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_01912b06-3169-4227-9e0a-c806cd5e64f2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_01912b06-3169-4227-9e0a-c806cd5e64f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_453463cb-f08f-4b2e-9375-887a578a3808" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_453463cb-f08f-4b2e-9375-887a578a3808" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_bc80f923-4c8c-4dfb-8289-26fda47ceb43" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_ShareBasedCompensation_bc80f923-4c8c-4dfb-8289-26fda47ceb43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDerivativeLiabilities_fb88c93c-f36e-4b5f-b414-33ebbd25ba94" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInDerivativeLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_IncreaseDecreaseInDerivativeLiabilities_fb88c93c-f36e-4b5f-b414-33ebbd25ba94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_5fd0e169-0a38-4786-aad0-40123647f54d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_5fd0e169-0a38-4786-aad0-40123647f54d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_IncreaseDecreaseInUnbilledRevenue_8e485fbb-9c83-4f1b-8c9d-0ef497b86cab" xlink:href="ardx-20211231.xsd#ardx_IncreaseDecreaseInUnbilledRevenue"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_ardx_IncreaseDecreaseInUnbilledRevenue_8e485fbb-9c83-4f1b-8c9d-0ef497b86cab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_3be18cb6-f4f0-48f6-9424-4b68bac1bc68" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_3be18cb6-f4f0-48f6-9424-4b68bac1bc68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_ad13e9e4-906a-4979-83e8-0df05c658348" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_ad13e9e4-906a-4979-83e8-0df05c658348" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_135c1c55-c675-4207-a339-d79c6757a5e3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_135c1c55-c675-4207-a339-d79c6757a5e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_d4efa99a-d85c-483e-b134-2497b7c336fc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_d4efa99a-d85c-483e-b134-2497b7c336fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_c6097507-1fd9-4a73-a9cd-964ab66e2725" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_c6097507-1fd9-4a73-a9cd-964ab66e2725" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_d0de8d34-7ef2-41a7-8ea7-4fae1d3ca868" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_d0de8d34-7ef2-41a7-8ea7-4fae1d3ca868" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_259e0032-f10b-4cbb-8fbb-f1926a463ebd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredRevenue"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120f18fa-fda0-443c-be0e-9bd29643d951" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_259e0032-f10b-4cbb-8fbb-f1926a463ebd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5fcddb7a-8ada-46c9-83fd-61f19fecd81c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_12197e36-a114-488d-ac48-de714cee646d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5fcddb7a-8ada-46c9-83fd-61f19fecd81c" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_12197e36-a114-488d-ac48-de714cee646d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfPrivatePlacement_b29e2ff8-dfef-451b-b58b-a25c0ade29e9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfPrivatePlacement"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5fcddb7a-8ada-46c9-83fd-61f19fecd81c" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfPrivatePlacement_b29e2ff8-dfef-451b-b58b-a25c0ade29e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_a08a1b8d-576d-480d-9ec6-d5bdde4f8a1a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5fcddb7a-8ada-46c9-83fd-61f19fecd81c" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_a08a1b8d-576d-480d-9ec6-d5bdde4f8a1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_b7a20042-7240-410b-a5a5-50b4b5da06e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5fcddb7a-8ada-46c9-83fd-61f19fecd81c" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_b7a20042-7240-410b-a5a5-50b4b5da06e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_8616fd93-8799-45e2-97db-d529b238c44e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5fcddb7a-8ada-46c9-83fd-61f19fecd81c" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_8616fd93-8799-45e2-97db-d529b238c44e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_59675c54-f95b-41d2-98c4-ea136e33885b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfOtherLongTermDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5fcddb7a-8ada-46c9-83fd-61f19fecd81c" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_59675c54-f95b-41d2-98c4-ea136e33885b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_dbbcf291-ed9c-4cea-8642-18ed26ea11b2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5fcddb7a-8ada-46c9-83fd-61f19fecd81c" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_dbbcf291-ed9c-4cea-8642-18ed26ea11b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2a33c366-ec3e-467d-a169-87a550945c00" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_44db65fa-1232-4619-87d3-7aa20b085f69" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2a33c366-ec3e-467d-a169-87a550945c00" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_44db65fa-1232-4619-87d3-7aa20b085f69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireShortTermInvestments_64a7dad5-0408-4aa2-8cca-62ffea614c51" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2a33c366-ec3e-467d-a169-87a550945c00" xlink:to="loc_us-gaap_PaymentsToAcquireShortTermInvestments_64a7dad5-0408-4aa2-8cca-62ffea614c51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_b6979595-435d-488d-903f-454ae716ae9e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2a33c366-ec3e-467d-a169-87a550945c00" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_b6979595-435d-488d-903f-454ae716ae9e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/CashandInvestmentsSecuritiesClassifiedasCashandInvestmentsDetails" xlink:type="simple" xlink:href="ardx-20211231.xsd#CashandInvestmentsSecuritiesClassifiedasCashandInvestmentsDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/CashandInvestmentsSecuritiesClassifiedasCashandInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ardx_InvestmentsAndCashAmortizedCost_a7aed2a0-f231-47ff-bd27-66147079dc2c" xlink:href="ardx-20211231.xsd#ardx_InvestmentsAndCashAmortizedCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_CashCashEquivalentsAndInvestmentsGrossUnrealizedGains_b4aabc49-f9bd-46a5-8b60-1c21ed9e562e" xlink:href="ardx-20211231.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_a7aed2a0-f231-47ff-bd27-66147079dc2c" xlink:to="loc_ardx_CashCashEquivalentsAndInvestmentsGrossUnrealizedGains_b4aabc49-f9bd-46a5-8b60-1c21ed9e562e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_CashCashEquivalentsAndInvestmentsGrossUnrealizedLosses_5e6f0332-685f-4548-9d44-9cf5b7d2363a" xlink:href="ardx-20211231.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_a7aed2a0-f231-47ff-bd27-66147079dc2c" xlink:to="loc_ardx_CashCashEquivalentsAndInvestmentsGrossUnrealizedLosses_5e6f0332-685f-4548-9d44-9cf5b7d2363a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsAndCash_ba149dfa-5ba8-47c8-beb1-9e3f6053d12a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a7aed2a0-f231-47ff-bd27-66147079dc2c" xlink:to="loc_us-gaap_InvestmentsAndCash_ba149dfa-5ba8-47c8-beb1-9e3f6053d12a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_8e71b803-e642-4458-828b-25f1e9d5fbb7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_7e727504-8210-4df9-8d4b-122cf153bacb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_8e71b803-e642-4458-828b-25f1e9d5fbb7" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_7e727504-8210-4df9-8d4b-122cf153bacb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_07b6dee7-a93e-4542-b223-c3ddc704b684" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_8e71b803-e642-4458-828b-25f1e9d5fbb7" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_07b6dee7-a93e-4542-b223-c3ddc704b684" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_8ec531ab-85ac-4fc2-a290-0d19eb033a90" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8e71b803-e642-4458-828b-25f1e9d5fbb7" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_8ec531ab-85ac-4fc2-a290-0d19eb033a90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_LongTermInvestmentsAmortizedCost_35e38de2-32a6-4a18-8acd-e549ce059ed1" xlink:href="ardx-20211231.xsd#ardx_LongTermInvestmentsAmortizedCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_LongTermInvestmentsAccumulatedGrossUnrealizedGain_81861c56-e677-4351-813a-b30a16437669" xlink:href="ardx-20211231.xsd#ardx_LongTermInvestmentsAccumulatedGrossUnrealizedGain"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ardx_LongTermInvestmentsAmortizedCost_35e38de2-32a6-4a18-8acd-e549ce059ed1" xlink:to="loc_ardx_LongTermInvestmentsAccumulatedGrossUnrealizedGain_81861c56-e677-4351-813a-b30a16437669" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_LongTermInvestmentsAccumulatedGrossUnrealizedLoss_e00c0a9f-8208-4b9c-bb60-7990b4b8e10a" xlink:href="ardx-20211231.xsd#ardx_LongTermInvestmentsAccumulatedGrossUnrealizedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ardx_LongTermInvestmentsAmortizedCost_35e38de2-32a6-4a18-8acd-e549ce059ed1" xlink:to="loc_ardx_LongTermInvestmentsAccumulatedGrossUnrealizedLoss_e00c0a9f-8208-4b9c-bb60-7990b4b8e10a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_LongTermInvestmentsFairValue_e42965a8-66a5-4ee1-b8d6-12edb00a347a" xlink:href="ardx-20211231.xsd#ardx_LongTermInvestmentsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ardx_LongTermInvestmentsAmortizedCost_35e38de2-32a6-4a18-8acd-e549ce059ed1" xlink:to="loc_ardx_LongTermInvestmentsFairValue_e42965a8-66a5-4ee1-b8d6-12edb00a347a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/BorrowingsFuturePaymentObligationsDetails" xlink:type="simple" xlink:href="ardx-20211231.xsd#BorrowingsFuturePaymentObligationsDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/BorrowingsFuturePaymentObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_9525ba60-9020-4912-bfd0-cfb00ee94b0b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_b58c1e91-f5b5-4738-a77a-ac7a11bf16a4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9525ba60-9020-4912-bfd0-cfb00ee94b0b" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_b58c1e91-f5b5-4738-a77a-ac7a11bf16a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_6f08dcbc-d784-40cc-b2ec-78e922e6bd2c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9525ba60-9020-4912-bfd0-cfb00ee94b0b" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_6f08dcbc-d784-40cc-b2ec-78e922e6bd2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFeeAmount_762a944a-575a-4de3-8ce8-2cb2cc055557" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9525ba60-9020-4912-bfd0-cfb00ee94b0b" xlink:to="loc_us-gaap_DebtInstrumentFeeAmount_762a944a-575a-4de3-8ce8-2cb2cc055557" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_3fb165f4-3549-4520-b342-9fb93de9331f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_3baa26e3-2ef3-457d-bd54-2e6d8a442d6d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_3fb165f4-3549-4520-b342-9fb93de9331f" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_3baa26e3-2ef3-457d-bd54-2e6d8a442d6d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/BorrowingsFuturePaymentObligationsDetails_1" xlink:type="simple" xlink:href="ardx-20211231.xsd#BorrowingsFuturePaymentObligationsDetails_1"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/BorrowingsFuturePaymentObligationsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_4412749e-ba08-4a21-ab61-e0bd60067cfc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableCurrent_42ce44ec-e14b-4cc4-88cc-a94e44088f1f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_4412749e-ba08-4a21-ab61-e0bd60067cfc" xlink:to="loc_us-gaap_LoansPayableCurrent_42ce44ec-e14b-4cc4-88cc-a94e44088f1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermLoansPayable_69b11812-1bbf-47ae-8af3-ec1970331451" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_4412749e-ba08-4a21-ab61-e0bd60067cfc" xlink:to="loc_us-gaap_LongTermLoansPayable_69b11812-1bbf-47ae-8af3-ec1970331451" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/LeasesUndiscountedCashPaymentObligationsDetails" xlink:type="simple" xlink:href="ardx-20211231.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_OperatingLeaseLiability_34790d4a-c9b0-480e-a480-509ea9523aa5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_f71f909c-2a23-48a1-8e8d-eabd2b2ce123" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_34790d4a-c9b0-480e-a480-509ea9523aa5" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_f71f909c-2a23-48a1-8e8d-eabd2b2ce123" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_f434450f-06e2-45c2-b25f-f9ad321e03cb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_OperatingLeaseLiability_34790d4a-c9b0-480e-a480-509ea9523aa5" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_f434450f-06e2-45c2-b25f-f9ad321e03cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_39517f0a-3b22-43ed-81a6-4cde7504b724" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_37c491bd-ba10-4b54-a111-0395f52ac752" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_39517f0a-3b22-43ed-81a6-4cde7504b724" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_37c491bd-ba10-4b54-a111-0395f52ac752" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_0a5cabf1-ef94-4e62-ac65-32102d7e1b58" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_39517f0a-3b22-43ed-81a6-4cde7504b724" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_0a5cabf1-ef94-4e62-ac65-32102d7e1b58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_9f8b3989-2438-454a-9a71-0fd4782b865d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_39517f0a-3b22-43ed-81a6-4cde7504b724" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_9f8b3989-2438-454a-9a71-0fd4782b865d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_983bbb81-206a-4766-946b-1ae91e75d883" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_39517f0a-3b22-43ed-81a6-4cde7504b724" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_983bbb81-206a-4766-946b-1ae91e75d883" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_8158c6db-5211-4fff-8169-15090c5aee22" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_39517f0a-3b22-43ed-81a6-4cde7504b724" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_8158c6db-5211-4fff-8169-15090c5aee22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_dd825145-1311-45d1-a2a3-fbdc1ddf1a9e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_39517f0a-3b22-43ed-81a6-4cde7504b724" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_dd825145-1311-45d1-a2a3-fbdc1ddf1a9e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/LeasesUndiscountedCashPaymentObligationsDetails_1" xlink:type="simple" xlink:href="ardx-20211231.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_015e0e0f-ce9e-45af-b57d-d572d0b398a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_160228b7-c5f8-46df-a9d3-4e4d3e1d49ae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_015e0e0f-ce9e-45af-b57d-d572d0b398a0" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_160228b7-c5f8-46df-a9d3-4e4d3e1d49ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_77f4ec30-876a-483e-9c82-ee3ef6e5e01e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_015e0e0f-ce9e-45af-b57d-d572d0b398a0" xlink:to="loc_us-gaap_OperatingLeaseLiability_77f4ec30-876a-483e-9c82-ee3ef6e5e01e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/PropertyandEquipmentNetBalancesDetails" xlink:type="simple" xlink:href="ardx-20211231.xsd#PropertyandEquipmentNetBalancesDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/PropertyandEquipmentNetBalancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_66b63860-2c8c-4da0-bace-a573215afdf8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_92a2875b-7d92-43f8-920c-fb7e534e3a1c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_66b63860-2c8c-4da0-bace-a573215afdf8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_92a2875b-7d92-43f8-920c-fb7e534e3a1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_df3b6c93-d460-44de-9acd-6f4c40e189b1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_66b63860-2c8c-4da0-bace-a573215afdf8" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_df3b6c93-d460-44de-9acd-6f4c40e189b1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="ardx-20211231.xsd#AccruedExpensesandOtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/AccruedExpensesandOtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_0fcae715-52d4-48b3-a031-645e1d26bd5c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_AccruedClinicalExpenses_70145afe-1f77-4a29-98ad-7a43e0dae15a" xlink:href="ardx-20211231.xsd#ardx_AccruedClinicalExpenses"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_0fcae715-52d4-48b3-a031-645e1d26bd5c" xlink:to="loc_ardx_AccruedClinicalExpenses_70145afe-1f77-4a29-98ad-7a43e0dae15a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_AccruedContractManufacturingCosts_2a16ad9e-566c-4e18-b8fa-be476667f9b2" xlink:href="ardx-20211231.xsd#ardx_AccruedContractManufacturingCosts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_0fcae715-52d4-48b3-a031-645e1d26bd5c" xlink:to="loc_ardx_AccruedContractManufacturingCosts_2a16ad9e-566c-4e18-b8fa-be476667f9b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_DerivativeLiabilityForExitFee_47130bfb-360f-46ee-be76-d24d5f413417" xlink:href="ardx-20211231.xsd#ardx_DerivativeLiabilityForExitFee"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_0fcae715-52d4-48b3-a031-645e1d26bd5c" xlink:to="loc_ardx_DerivativeLiabilityForExitFee_47130bfb-360f-46ee-be76-d24d5f413417" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_AccruedProfessionalAndConsultantFeesCurrent_01c6573e-daf4-4456-86c0-9bd2b39fecae" xlink:href="ardx-20211231.xsd#ardx_AccruedProfessionalAndConsultantFeesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_0fcae715-52d4-48b3-a031-645e1d26bd5c" xlink:to="loc_ardx_AccruedProfessionalAndConsultantFeesCurrent_01c6573e-daf4-4456-86c0-9bd2b39fecae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_AccruedSalesAndMarketingExpenses_a0127b18-120d-4172-a897-8aa53b9b55b9" xlink:href="ardx-20211231.xsd#ardx_AccruedSalesAndMarketingExpenses"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_0fcae715-52d4-48b3-a031-645e1d26bd5c" xlink:to="loc_ardx_AccruedSalesAndMarketingExpenses_a0127b18-120d-4172-a897-8aa53b9b55b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_a0ee50c0-9ab2-4410-810d-baf42b0ae1c0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestPayableCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_0fcae715-52d4-48b3-a031-645e1d26bd5c" xlink:to="loc_us-gaap_InterestPayableCurrent_a0ee50c0-9ab2-4410-810d-baf42b0ae1c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_e00d06bf-ca60-4084-9457-4eb4b23e377a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_AccruedLiabilitiesAndOtherLiabilities_0fcae715-52d4-48b3-a031-645e1d26bd5c" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_e00d06bf-ca60-4084-9457-4eb4b23e377a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/IncomeTaxesComponentsofProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="ardx-20211231.xsd#IncomeTaxesComponentsofProvisionforIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/IncomeTaxesComponentsofProvisionforIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_f6881c96-19a4-468d-8c8e-cdf7f483dffd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_6187e237-cc1a-424f-a4c3-8b5519d0ecea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_f6881c96-19a4-468d-8c8e-cdf7f483dffd" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_6187e237-cc1a-424f-a4c3-8b5519d0ecea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_b6445da4-b891-446a-9c65-059b837e22a6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_b8ffc382-cb3a-4da3-bbbf-b74c4b4205d0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_b6445da4-b891-446a-9c65-059b837e22a6" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_b8ffc382-cb3a-4da3-bbbf-b74c4b4205d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_5e396999-6f63-4917-a6d6-9870c37c1613" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_b6445da4-b891-446a-9c65-059b837e22a6" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_5e396999-6f63-4917-a6d6-9870c37c1613" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_d37b4c11-5617-4834-b0ae-5e0b0b0b3a0a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_8c15a881-2a9b-4db4-aeab-db9711f50005" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_d37b4c11-5617-4834-b0ae-5e0b0b0b3a0a" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_8c15a881-2a9b-4db4-aeab-db9711f50005" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_c6bddee3-2bd3-446b-acde-e85520eb3bd0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_d37b4c11-5617-4834-b0ae-5e0b0b0b3a0a" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_c6bddee3-2bd3-446b-acde-e85520eb3bd0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/IncomeTaxesReconciliationofEffectiveTaxRateDetails" xlink:type="simple" xlink:href="ardx-20211231.xsd#IncomeTaxesReconciliationofEffectiveTaxRateDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/IncomeTaxesReconciliationofEffectiveTaxRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f21caab0-fdec-4c30-ac61-9095e7e9eb13" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_c1274919-830c-424f-bc58-0b1797f0709f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f21caab0-fdec-4c30-ac61-9095e7e9eb13" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_c1274919-830c-424f-bc58-0b1797f0709f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_961e2e1f-3558-48f5-9ce2-0b850901ac6a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f21caab0-fdec-4c30-ac61-9095e7e9eb13" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_961e2e1f-3558-48f5-9ce2-0b850901ac6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_162fc2fa-c195-452b-ab81-4c79a6b00ead" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f21caab0-fdec-4c30-ac61-9095e7e9eb13" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_162fc2fa-c195-452b-ab81-4c79a6b00ead" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_6b238381-b055-485c-be07-cbebe027f864" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f21caab0-fdec-4c30-ac61-9095e7e9eb13" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_6b238381-b055-485c-be07-cbebe027f864" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_b16c8ef3-e25f-4521-a762-328733b3d4fb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f21caab0-fdec-4c30-ac61-9095e7e9eb13" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_b16c8ef3-e25f-4521-a762-328733b3d4fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_EffectiveIncomeTaxRateReconciliationTaxExpenseBenefitExecutiveCompensationDisallowedIRCSec162mPercent_60377317-454e-43ae-93e2-a33fca5cc668" xlink:href="ardx-20211231.xsd#ardx_EffectiveIncomeTaxRateReconciliationTaxExpenseBenefitExecutiveCompensationDisallowedIRCSec162mPercent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f21caab0-fdec-4c30-ac61-9095e7e9eb13" xlink:to="loc_ardx_EffectiveIncomeTaxRateReconciliationTaxExpenseBenefitExecutiveCompensationDisallowedIRCSec162mPercent_60377317-454e-43ae-93e2-a33fca5cc668" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_92fb0595-d7bd-466c-8441-c190190d05ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f21caab0-fdec-4c30-ac61-9095e7e9eb13" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_92fb0595-d7bd-466c-8441-c190190d05ea" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.ardelyx.com/role/IncomeTaxesComponentsofDeferredTaxAssetsDetails" xlink:type="simple" xlink:href="ardx-20211231.xsd#IncomeTaxesComponentsofDeferredTaxAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.ardelyx.com/role/IncomeTaxesComponentsofDeferredTaxAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_e91616a9-9ba6-4f09-b4ce-185576219c46" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_DeferredTaxAssetsAmortizationAndDepreciation_a89cb6c4-aecb-417f-bd4d-c0f4a4e7c096" xlink:href="ardx-20211231.xsd#ardx_DeferredTaxAssetsAmortizationAndDepreciation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e91616a9-9ba6-4f09-b4ce-185576219c46" xlink:to="loc_ardx_DeferredTaxAssetsAmortizationAndDepreciation_a89cb6c4-aecb-417f-bd4d-c0f4a4e7c096" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_88fc3bf7-d586-4090-8194-1da17f764f3a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e91616a9-9ba6-4f09-b4ce-185576219c46" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_88fc3bf7-d586-4090-8194-1da17f764f3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_ca002c83-e8b3-4b85-92ac-aabb5aa08f22" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e91616a9-9ba6-4f09-b4ce-185576219c46" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_ca002c83-e8b3-4b85-92ac-aabb5aa08f22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_bcb68616-e548-41f2-b295-8df598016d70" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e91616a9-9ba6-4f09-b4ce-185576219c46" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_bcb68616-e548-41f2-b295-8df598016d70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_c4302131-89d8-41dc-9dce-dc1b283f2d6f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_e91616a9-9ba6-4f09-b4ce-185576219c46" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_c4302131-89d8-41dc-9dce-dc1b283f2d6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_75cca8da-0ae7-499e-8a79-1676a64c62f8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_f47e3d58-76d2-45f1-ac90-2dbbc9ec8a8f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_75cca8da-0ae7-499e-8a79-1676a64c62f8" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_f47e3d58-76d2-45f1-ac90-2dbbc9ec8a8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_661c39cb-a742-4ec1-9807-4dacb3d656e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_75cca8da-0ae7-499e-8a79-1676a64c62f8" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_661c39cb-a742-4ec1-9807-4dacb3d656e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_88d46253-9633-4799-a331-844e8b1c7021" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_d13d728a-ce02-4b16-b435-8a4604ca43f9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_88d46253-9633-4799-a331-844e8b1c7021" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_d13d728a-ce02-4b16-b435-8a4604ca43f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ardx_DeferredTaxLiabilitiesRightOfUseAsset_bfcd1b0f-8d19-4aea-9c0b-4057d64cf1af" xlink:href="ardx-20211231.xsd#ardx_DeferredTaxLiabilitiesRightOfUseAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_88d46253-9633-4799-a331-844e8b1c7021" xlink:to="loc_ardx_DeferredTaxLiabilitiesRightOfUseAsset_bfcd1b0f-8d19-4aea-9c0b-4057d64cf1af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_b0a06f50-9165-4435-935d-f15974b9ae50" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-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_DeferredTaxAssetsLiabilitiesNet_88d46253-9633-4799-a331-844e8b1c7021" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_b0a06f50-9165-4435-935d-f15974b9ae50" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
