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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:f4ddc512-4d88-4f36-a1eb-13b14ffb6e39,g:ecc065ce-0306-43ee-8bbf-ba623b5a299b-->
<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.energyrecovery.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="erii-20251231.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_814c1b97-3626-4ac1-85fd-08b622237626" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_e7e24d2b-7e2e-4833-9e6d-1e04e3341319" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_814c1b97-3626-4ac1-85fd-08b622237626" xlink:to="loc_us-gaap_LiabilitiesCurrent_e7e24d2b-7e2e-4833-9e6d-1e04e3341319" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_7ebad8a1-93d3-4369-9876-aa1ed5b0672e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_814c1b97-3626-4ac1-85fd-08b622237626" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_7ebad8a1-93d3-4369-9876-aa1ed5b0672e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_4bec451e-05f9-4cf1-ac5e-fd37bff28965" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_814c1b97-3626-4ac1-85fd-08b622237626" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_4bec451e-05f9-4cf1-ac5e-fd37bff28965" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_6dbb3bc9-f0c0-4bcb-9ade-704a769404b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_974af9bd-c5e4-44ab-b6b9-fd1379546967" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_6dbb3bc9-f0c0-4bcb-9ade-704a769404b3" xlink:to="loc_us-gaap_AccountsPayableCurrent_974af9bd-c5e4-44ab-b6b9-fd1379546967" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_002c00cc-f557-4a33-9bc7-bb6295b89967" xlink:href="erii-20251231.xsd#erii_AccruedExpensesAndOtherCurrentLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_6dbb3bc9-f0c0-4bcb-9ade-704a769404b3" xlink:to="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_002c00cc-f557-4a33-9bc7-bb6295b89967" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_fe9146e9-6f82-48f0-bcb8-32a290377671" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_6dbb3bc9-f0c0-4bcb-9ade-704a769404b3" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_fe9146e9-6f82-48f0-bcb8-32a290377671" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_c9ec63d6-888b-4dd9-b848-1b5a6303e65e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_6dbb3bc9-f0c0-4bcb-9ade-704a769404b3" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_c9ec63d6-888b-4dd9-b848-1b5a6303e65e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_623f5b86-5f84-4d04-9c5c-a81a5a0a4b43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_fb459b05-5d34-4044-8021-15c76200d46e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_623f5b86-5f84-4d04-9c5c-a81a5a0a4b43" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_fb459b05-5d34-4044-8021-15c76200d46e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_48b4135c-8cf9-4017-b813-ed4ee76161dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_623f5b86-5f84-4d04-9c5c-a81a5a0a4b43" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_48b4135c-8cf9-4017-b813-ed4ee76161dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_9c03a652-2261-4676-875b-ec6917411b19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_623f5b86-5f84-4d04-9c5c-a81a5a0a4b43" xlink:to="loc_us-gaap_TreasuryStockCommonValue_9c03a652-2261-4676-875b-ec6917411b19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_5cf8b969-94fe-4a79-b11e-55823f2d0a04" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_623f5b86-5f84-4d04-9c5c-a81a5a0a4b43" xlink:to="loc_us-gaap_CommonStockValue_5cf8b969-94fe-4a79-b11e-55823f2d0a04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_a286491a-aabe-42b2-9539-c34e42ae8e4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_623f5b86-5f84-4d04-9c5c-a81a5a0a4b43" xlink:to="loc_us-gaap_AdditionalPaidInCapital_a286491a-aabe-42b2-9539-c34e42ae8e4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_3792a8b3-7faa-4994-bd04-f1920dc7ffef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_03992a5b-a610-441e-954a-f69f6cb8bca9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3792a8b3-7faa-4994-bd04-f1920dc7ffef" xlink:to="loc_us-gaap_AssetsCurrent_03992a5b-a610-441e-954a-f69f6cb8bca9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_8689f150-2a4c-499e-b497-e3fb361e296b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3792a8b3-7faa-4994-bd04-f1920dc7ffef" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_8689f150-2a4c-499e-b497-e3fb361e296b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_714c9fa9-a14c-4764-a6c8-2557d42bb34a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3792a8b3-7faa-4994-bd04-f1920dc7ffef" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_714c9fa9-a14c-4764-a6c8-2557d42bb34a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_2c8230c7-d566-487c-bb7c-42560f63a525" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3792a8b3-7faa-4994-bd04-f1920dc7ffef" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_2c8230c7-d566-487c-bb7c-42560f63a525" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_90fbf38a-a642-4a96-837c-d21b89261015" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3792a8b3-7faa-4994-bd04-f1920dc7ffef" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_90fbf38a-a642-4a96-837c-d21b89261015" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_b06e9a1d-2031-4b3a-8f2b-b46d95574065" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3792a8b3-7faa-4994-bd04-f1920dc7ffef" xlink:to="loc_us-gaap_LongTermInvestments_b06e9a1d-2031-4b3a-8f2b-b46d95574065" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_8677b767-c42f-44aa-9834-51e8f5aeefd2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3792a8b3-7faa-4994-bd04-f1920dc7ffef" xlink:to="loc_us-gaap_Goodwill_8677b767-c42f-44aa-9834-51e8f5aeefd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_f9c98e96-fb04-4326-bc1c-13bf2e8972ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_c5ff3b3a-60b1-42f8-84bd-8d113b36325f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f9c98e96-fb04-4326-bc1c-13bf2e8972ee" xlink:to="loc_us-gaap_Liabilities_c5ff3b3a-60b1-42f8-84bd-8d113b36325f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_5da7af21-0bd3-41ea-b97f-37d401f9ca73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f9c98e96-fb04-4326-bc1c-13bf2e8972ee" xlink:to="loc_us-gaap_CommitmentsAndContingencies_5da7af21-0bd3-41ea-b97f-37d401f9ca73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_9c116681-a034-4e87-8d08-45404572fe15" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_f9c98e96-fb04-4326-bc1c-13bf2e8972ee" xlink:to="loc_us-gaap_StockholdersEquity_9c116681-a034-4e87-8d08-45404572fe15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_0161fd06-4221-4a38-8174-a4d2ab892287" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_59ad1cec-1265-4efb-819c-caf5a1fc1440" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0161fd06-4221-4a38-8174-a4d2ab892287" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_59ad1cec-1265-4efb-819c-caf5a1fc1440" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_79acb382-5531-4953-a584-3bfa02ea36a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0161fd06-4221-4a38-8174-a4d2ab892287" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_79acb382-5531-4953-a584-3bfa02ea36a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_6046b384-8524-4cf4-8cfe-8333c6e0a17c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0161fd06-4221-4a38-8174-a4d2ab892287" xlink:to="loc_us-gaap_ShortTermInvestments_6046b384-8524-4cf4-8cfe-8333c6e0a17c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_ccbe2b95-08b1-4b21-82bd-a4a597d284e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0161fd06-4221-4a38-8174-a4d2ab892287" xlink:to="loc_us-gaap_InventoryNet_ccbe2b95-08b1-4b21-82bd-a4a597d284e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_05355963-9ec7-431b-9cb7-30e14a220edf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_0161fd06-4221-4a38-8174-a4d2ab892287" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_05355963-9ec7-431b-9cb7-30e14a220edf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="erii-20251231.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_f2327455-e2d5-4fcf-8463-516bc97ff2ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_9ffbfcdf-55e1-4899-af86-fcd15fe693c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeSecuritiesTaxable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_f2327455-e2d5-4fcf-8463-516bc97ff2ec" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_9ffbfcdf-55e1-4899-af86-fcd15fe693c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_b887d9e7-0c10-4e79-958f-a09ca1735bc2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_f2327455-e2d5-4fcf-8463-516bc97ff2ec" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_b887d9e7-0c10-4e79-958f-a09ca1735bc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_487993bf-b108-4bab-b4bf-1bdaa1a1ed80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_c8cb3dbd-4cfc-403b-937c-215a765855f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_GrossProfit_487993bf-b108-4bab-b4bf-1bdaa1a1ed80" xlink:to="loc_us-gaap_CostOfRevenue_c8cb3dbd-4cfc-403b-937c-215a765855f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_53924651-7c41-42aa-847d-b3029b3e82fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_487993bf-b108-4bab-b4bf-1bdaa1a1ed80" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_53924651-7c41-42aa-847d-b3029b3e82fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_7d7617d2-093c-4097-9533-4426e690823d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_1a2b8c04-c9e8-4d2d-a4ec-66572b90efeb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_7d7617d2-093c-4097-9533-4426e690823d" xlink:to="loc_us-gaap_GrossProfit_1a2b8c04-c9e8-4d2d-a4ec-66572b90efeb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_76cb53fa-a561-469c-867e-875ced64c38d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_7d7617d2-093c-4097-9533-4426e690823d" xlink:to="loc_us-gaap_OperatingExpenses_76cb53fa-a561-469c-867e-875ced64c38d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_330d7e5f-b6fa-47a7-835d-7eb00eaed2d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e51e0cab-70c3-4592-a394-c9fed77478fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_330d7e5f-b6fa-47a7-835d-7eb00eaed2d4" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e51e0cab-70c3-4592-a394-c9fed77478fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_fb78622e-f9d5-4c43-bd4a-75062d66af6a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_330d7e5f-b6fa-47a7-835d-7eb00eaed2d4" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_fb78622e-f9d5-4c43-bd4a-75062d66af6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e71cd841-b324-42dd-9b48-2c168cadb5c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_a16f00c5-c851-4837-8e84-ea817267c5e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e71cd841-b324-42dd-9b48-2c168cadb5c3" xlink:to="loc_us-gaap_OperatingIncomeLoss_a16f00c5-c851-4837-8e84-ea817267c5e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_29bfab05-a0e4-4e7a-9e1c-d691998b9088" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e71cd841-b324-42dd-9b48-2c168cadb5c3" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_29bfab05-a0e4-4e7a-9e1c-d691998b9088" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_3cabc0cb-1795-4e91-b539-01342e81192d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_b0ec65a8-426d-434e-9eac-94836cd97e2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_3cabc0cb-1795-4e91-b539-01342e81192d" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_b0ec65a8-426d-434e-9eac-94836cd97e2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_ab21176e-e3de-4fbf-bbf0-5d3f15a5d92d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_3cabc0cb-1795-4e91-b539-01342e81192d" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_ab21176e-e3de-4fbf-bbf0-5d3f15a5d92d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_9feaa200-6ecf-491b-af5c-49beaeaaffc0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_3cabc0cb-1795-4e91-b539-01342e81192d" xlink:to="loc_us-gaap_SellingAndMarketingExpense_9feaa200-6ecf-491b-af5c-49beaeaaffc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_156b1d73-213c-4b55-a1de-859a824f72c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_3cabc0cb-1795-4e91-b539-01342e81192d" xlink:to="loc_us-gaap_RestructuringCharges_156b1d73-213c-4b55-a1de-859a824f72c3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="erii-20251231.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_13d3e218-acce-4728-a84f-4e5b873b1cc4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_a024e364-5537-412a-afa2-57e2a0308d8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_13d3e218-acce-4728-a84f-4e5b873b1cc4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_a024e364-5537-412a-afa2-57e2a0308d8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_4fb7d020-595a-43f6-99b3-5c673438cadc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_13d3e218-acce-4728-a84f-4e5b873b1cc4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_4fb7d020-595a-43f6-99b3-5c673438cadc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_47dbd883-07d7-4348-af3d-c8707600874b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_444a1923-6aea-46b5-8e4f-fbb070f97f21" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_47dbd883-07d7-4348-af3d-c8707600874b" xlink:to="loc_us-gaap_NetIncomeLoss_444a1923-6aea-46b5-8e4f-fbb070f97f21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_880dd1c6-2e11-41c7-ba13-9b44f9b1f2dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_47dbd883-07d7-4348-af3d-c8707600874b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_880dd1c6-2e11-41c7-ba13-9b44f9b1f2dd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="erii-20251231.xsd#CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_9e0d8878-8508-4396-93fa-d613b41ae91c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_6af1461f-88be-45b1-b56a-722917eaf78b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_9e0d8878-8508-4396-93fa-d613b41ae91c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_6af1461f-88be-45b1-b56a-722917eaf78b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_d8e45ead-bdf3-4b16-8702-66b7de3c6fbc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_9e0d8878-8508-4396-93fa-d613b41ae91c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_d8e45ead-bdf3-4b16-8702-66b7de3c6fbc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="erii-20251231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_dd99903e-3cba-4ab5-af11-efe41ec60a90" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_7ed505f5-fd6e-42e4-a2e7-4201d2af61d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_dd99903e-3cba-4ab5-af11-efe41ec60a90" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_7ed505f5-fd6e-42e4-a2e7-4201d2af61d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_b8be8451-a2eb-4067-b41b-49b52b263cc0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_dd99903e-3cba-4ab5-af11-efe41ec60a90" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_b8be8451-a2eb-4067-b41b-49b52b263cc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_PaymentsForRepurchaseOfCommonStockExciseTax_9fa73ca0-2e34-42d2-be9c-991774cc1ed5" xlink:href="erii-20251231.xsd#erii_PaymentsForRepurchaseOfCommonStockExciseTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_dd99903e-3cba-4ab5-af11-efe41ec60a90" xlink:to="loc_erii_PaymentsForRepurchaseOfCommonStockExciseTax_9fa73ca0-2e34-42d2-be9c-991774cc1ed5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_12498795-7ab9-4977-8cec-4b3530946af4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_12498795-7ab9-4977-8cec-4b3530946af4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_c5acba29-7259-4ff1-8375-f92dc21dec4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_ShareBasedCompensation_c5acba29-7259-4ff1-8375-f92dc21dec4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_fc9ef687-9b8f-49bc-8af4-08c235abb58c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_fc9ef687-9b8f-49bc-8af4-08c235abb58c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_IncreaseDecreaseInContractLiabilities_2e1214a7-5ee0-4118-9117-61039e0b0f18" xlink:href="erii-20251231.xsd#erii_IncreaseDecreaseInContractLiabilities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_erii_IncreaseDecreaseInContractLiabilities_2e1214a7-5ee0-4118-9117-61039e0b0f18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_e0f5d752-e381-4ae7-8bd9-57ecfd3427b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_e0f5d752-e381-4ae7-8bd9-57ecfd3427b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_50e7f107-b9a9-46ff-9d43-ac1ba36c78e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_50e7f107-b9a9-46ff-9d43-ac1ba36c78e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_983f1b62-e31b-4f51-a158-1c7d7cc6495b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_983f1b62-e31b-4f51-a158-1c7d7cc6495b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_571f0213-4e69-4632-b994-389a20eb4191" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_NetIncomeLoss_571f0213-4e69-4632-b994-389a20eb4191" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_078105ca-b14f-448e-96e8-a84c1822fe72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_078105ca-b14f-448e-96e8-a84c1822fe72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_8729b7da-d3a5-4f86-bced-ea47af59524a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_8729b7da-d3a5-4f86-bced-ea47af59524a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_62f8aadf-bbf8-45dc-a4fc-bb6298055ac7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_62f8aadf-bbf8-45dc-a4fc-bb6298055ac7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_83da6245-9740-4904-b482-d53aa0d9bfa1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_83da6245-9740-4904-b482-d53aa0d9bfa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfLongLivedAssetsHeldForUse_5ee774cf-1c03-4d92-bec3-edd75d45fb33" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfLongLivedAssetsHeldForUse"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_ImpairmentOfLongLivedAssetsHeldForUse_5ee774cf-1c03-4d92-bec3-edd75d45fb33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_IncreaseDecreaseInCostsInExcessOfBillingsOnUncompletedContractsOrPrograms1_111b1e6a-fd72-4e97-b22a-5f522a240359" xlink:href="erii-20251231.xsd#erii_IncreaseDecreaseInCostsInExcessOfBillingsOnUncompletedContractsOrPrograms1"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_erii_IncreaseDecreaseInCostsInExcessOfBillingsOnUncompletedContractsOrPrograms1_111b1e6a-fd72-4e97-b22a-5f522a240359" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryLIFOReservePeriodCharge_2d91d769-3be1-4fc7-86ff-a8de08b0bed2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryLIFOReservePeriodCharge"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_us-gaap_InventoryLIFOReservePeriodCharge_2d91d769-3be1-4fc7-86ff-a8de08b0bed2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_WarrantyAccrualAdjustmentForExpiredWarranties_019c27fb-9571-7c00-8594-2d0373b9a55c" xlink:href="erii-20251231.xsd#erii_WarrantyAccrualAdjustmentForExpiredWarranties"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8a648528-0904-4f49-b301-a6ebf6f46bd8" xlink:to="loc_erii_WarrantyAccrualAdjustmentForExpiredWarranties_019c27fb-9571-7c00-8594-2d0373b9a55c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c6666534-e67b-4388-a228-872c319d77ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_bf0d4564-f078-42e0-8ecc-691a2110168e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c6666534-e67b-4388-a228-872c319d77ad" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_bf0d4564-f078-42e0-8ecc-691a2110168e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_95df7fe9-270a-4abe-8ecf-a8fd34e1c26c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c6666534-e67b-4388-a228-872c319d77ad" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_95df7fe9-270a-4abe-8ecf-a8fd34e1c26c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_bf57e5b3-7838-4647-8051-964c242193f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c6666534-e67b-4388-a228-872c319d77ad" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_bf57e5b3-7838-4647-8051-964c242193f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_9ff360c4-bc4b-4005-8d40-b5468093fc05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c6666534-e67b-4388-a228-872c319d77ad" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_9ff360c4-bc4b-4005-8d40-b5468093fc05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_019c0ff9-d2b9-7a96-86f0-2bdd038d5ab8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c6666534-e67b-4388-a228-872c319d77ad" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_019c0ff9-d2b9-7a96-86f0-2bdd038d5ab8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_28bf13b5-7bfb-4d10-a6ec-603778f2adf0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_dfaa7d77-5b1f-4ee5-88cd-b519e3f91f13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_28bf13b5-7bfb-4d10-a6ec-603778f2adf0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_dfaa7d77-5b1f-4ee5-88cd-b519e3f91f13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_88f4db5a-10c8-47d4-9945-fd4a6e55e78a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_28bf13b5-7bfb-4d10-a6ec-603778f2adf0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_88f4db5a-10c8-47d4-9945-fd4a6e55e78a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3068175c-a607-4f2e-9c27-d5f1c1defdc1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_28bf13b5-7bfb-4d10-a6ec-603778f2adf0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3068175c-a607-4f2e-9c27-d5f1c1defdc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_bc3c0e10-2b78-4ebd-98a5-bf9d2e450e14" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_28bf13b5-7bfb-4d10-a6ec-603778f2adf0" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_bc3c0e10-2b78-4ebd-98a5-bf9d2e450e14" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/NetIncomePerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerCommonShareDetails" xlink:type="simple" xlink:href="erii-20251231.xsd#NetIncomePerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerCommonShareDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/NetIncomePerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerCommonShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_99e41b63-7d42-4c11-903d-8e41d208b25e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_9d04afd8-f1fa-46a1-842e-84e5dc0c0ef6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_99e41b63-7d42-4c11-903d-8e41d208b25e" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_9d04afd8-f1fa-46a1-842e-84e5dc0c0ef6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_a818d505-98ee-4ed3-bef7-efe43a50e2c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_99e41b63-7d42-4c11-903d-8e41d208b25e" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_a818d505-98ee-4ed3-bef7-efe43a50e2c0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofCashCashEquivalentsandRestrictedCashDetails" xlink:type="simple" xlink:href="erii-20251231.xsd#OtherFinancialInformationScheduleofCashCashEquivalentsandRestrictedCashDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofCashCashEquivalentsandRestrictedCashDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_f7a461ef-5b5c-4f6e-b09e-216971de3be7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e3ee01d4-180b-42bd-baef-054c89eaac9f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_f7a461ef-5b5c-4f6e-b09e-216971de3be7" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e3ee01d4-180b-42bd-baef-054c89eaac9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashNoncurrent_fb1a6112-469a-4f83-a3bb-ab93536883a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_f7a461ef-5b5c-4f6e-b09e-216971de3be7" xlink:to="loc_us-gaap_RestrictedCashNoncurrent_fb1a6112-469a-4f83-a3bb-ab93536883a5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofInventoriesNetDetails" xlink:type="simple" xlink:href="erii-20251231.xsd#OtherFinancialInformationScheduleofInventoriesNetDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofInventoriesNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_0906e406-e418-4472-948c-515b510029d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryValuationReserves_b6bbdc01-6547-4550-b27e-31cafb629c9b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryValuationReserves"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_0906e406-e418-4472-948c-515b510029d1" xlink:to="loc_us-gaap_InventoryValuationReserves_b6bbdc01-6547-4550-b27e-31cafb629c9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_7d275975-75ef-41b5-9aab-5f57e1c73369" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_0906e406-e418-4472-948c-515b510029d1" xlink:to="loc_us-gaap_InventoryGross_7d275975-75ef-41b5-9aab-5f57e1c73369" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_82c23b5e-0b8e-4a4d-ad1a-6e9348b59973" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_1839d3e0-1637-43d3-958e-5b97f79a539a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_InventoryGross_82c23b5e-0b8e-4a4d-ad1a-6e9348b59973" xlink:to="loc_us-gaap_InventoryFinishedGoods_1839d3e0-1637-43d3-958e-5b97f79a539a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_127425a0-7cc2-4f0a-a38b-60ad4d9b176b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWorkInProcess"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_82c23b5e-0b8e-4a4d-ad1a-6e9348b59973" xlink:to="loc_us-gaap_InventoryWorkInProcess_127425a0-7cc2-4f0a-a38b-60ad4d9b176b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_132f3d55-a0df-468d-bc91-1c0989ebfb18" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryRawMaterials"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_82c23b5e-0b8e-4a4d-ad1a-6e9348b59973" xlink:to="loc_us-gaap_InventoryRawMaterials_132f3d55-a0df-468d-bc91-1c0989ebfb18" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofPropertyandEquipmentDetails" xlink:type="simple" xlink:href="erii-20251231.xsd#OtherFinancialInformationScheduleofPropertyandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofPropertyandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_b5219382-9ecb-4d1a-8bb6-d1b760b1a7f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_56f9f9be-d060-46cc-b5c1-af439b27a529" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_b5219382-9ecb-4d1a-8bb6-d1b760b1a7f7" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_56f9f9be-d060-46cc-b5c1-af439b27a529" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_3b7d7a37-a47b-406f-8804-51637522495b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_b5219382-9ecb-4d1a-8bb6-d1b760b1a7f7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_3b7d7a37-a47b-406f-8804-51637522495b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofAccruedExpensesandOtherLiabilitiesDetails" xlink:type="simple" xlink:href="erii-20251231.xsd#OtherFinancialInformationScheduleofAccruedExpensesandOtherLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofAccruedExpensesandOtherLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_a4c3f9ad-afff-427a-b3f6-3b3b560f466f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_491a81e3-da81-4ad9-b0e8-8c978c9df9ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_a4c3f9ad-afff-427a-b3f6-3b3b560f466f" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_491a81e3-da81-4ad9-b0e8-8c978c9df9ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_ffbfb945-083c-4a15-9472-2321724698dc" xlink:href="erii-20251231.xsd#erii_AccruedExpensesAndOtherCurrentLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_a4c3f9ad-afff-427a-b3f6-3b3b560f466f" xlink:to="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_ffbfb945-083c-4a15-9472-2321724698dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_ea09a2bb-06d1-416a-a0b5-0f785f0f81c8" xlink:href="erii-20251231.xsd#erii_AccruedExpensesAndOtherCurrentLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_3580e049-fb52-4044-8773-4dc1249fc596" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_ea09a2bb-06d1-416a-a0b5-0f785f0f81c8" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_3580e049-fb52-4044-8773-4dc1249fc596" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_817d1d99-46fc-40c6-9b23-9e8f866d2d64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_ea09a2bb-06d1-416a-a0b5-0f785f0f81c8" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_817d1d99-46fc-40c6-9b23-9e8f866d2d64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_RestructuringAccrualAmount_1586e2bb-c836-4de9-8b27-ee6361f95093" xlink:href="erii-20251231.xsd#erii_RestructuringAccrualAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_ea09a2bb-06d1-416a-a0b5-0f785f0f81c8" xlink:to="loc_erii_RestructuringAccrualAmount_1586e2bb-c836-4de9-8b27-ee6361f95093" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_070b03de-a117-4e1d-96b8-4e2244f0961f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_ea09a2bb-06d1-416a-a0b5-0f785f0f81c8" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_070b03de-a117-4e1d-96b8-4e2244f0961f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_OtherAccruedExpensesAndCurrentLiabilities_cce1d4f2-885d-4b85-b798-3268fe7a9650" xlink:href="erii-20251231.xsd#erii_OtherAccruedExpensesAndCurrentLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_ea09a2bb-06d1-416a-a0b5-0f785f0f81c8" xlink:to="loc_erii_OtherAccruedExpensesAndCurrentLiabilities_cce1d4f2-885d-4b85-b798-3268fe7a9650" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/CommitmentsandContingenciesScheduleofMaturitiesofLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="erii-20251231.xsd#CommitmentsandContingenciesScheduleofMaturitiesofLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CommitmentsandContingenciesScheduleofMaturitiesofLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_519982a2-7b89-4910-87ea-c16dd68d3e94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_705e00a7-3f96-4bc2-abd9-5c96f36f9db9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_519982a2-7b89-4910-87ea-c16dd68d3e94" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_705e00a7-3f96-4bc2-abd9-5c96f36f9db9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_9297c901-8a0e-4f9f-bfec-a20ea31c2796" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_519982a2-7b89-4910-87ea-c16dd68d3e94" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_9297c901-8a0e-4f9f-bfec-a20ea31c2796" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_7aa9b17f-814a-4e56-a2b5-f3542a6394ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_519982a2-7b89-4910-87ea-c16dd68d3e94" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_7aa9b17f-814a-4e56-a2b5-f3542a6394ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_77460083-7272-48fd-a9a8-fdf3514c5eb8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_519982a2-7b89-4910-87ea-c16dd68d3e94" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_77460083-7272-48fd-a9a8-fdf3514c5eb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019b22cb-d214-76dc-8de4-12af1f5fc9e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_519982a2-7b89-4910-87ea-c16dd68d3e94" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019b22cb-d214-76dc-8de4-12af1f5fc9e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_LesseeOperatingLeaseLiabilityToBePaidAfterYearFive_019b22cb-d214-758d-82ca-b23f56ddf941" xlink:href="erii-20251231.xsd#erii_LesseeOperatingLeaseLiabilityToBePaidAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_519982a2-7b89-4910-87ea-c16dd68d3e94" xlink:to="loc_erii_LesseeOperatingLeaseLiabilityToBePaidAfterYearFive_019b22cb-d214-758d-82ca-b23f56ddf941" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/CommitmentsandContingenciesScheduleofMaturitiesofLeaseLiabilitiesDetails_1" xlink:type="simple" xlink:href="erii-20251231.xsd#CommitmentsandContingenciesScheduleofMaturitiesofLeaseLiabilitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CommitmentsandContingenciesScheduleofMaturitiesofLeaseLiabilitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_8f52314b-2134-4353-aeec-777820045054" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_7ff7d5d9-17c4-4219-9e59-b76669bc53cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_8f52314b-2134-4353-aeec-777820045054" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_7ff7d5d9-17c4-4219-9e59-b76669bc53cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_a9b776a4-05e3-427d-b801-32c8c5c3ad2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_8f52314b-2134-4353-aeec-777820045054" xlink:to="loc_us-gaap_OperatingLeaseLiability_a9b776a4-05e3-427d-b801-32c8c5c3ad2b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/IncomeTaxesScheduleofComponentsofIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="erii-20251231.xsd#IncomeTaxesScheduleofComponentsofIncomeTaxExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/IncomeTaxesScheduleofComponentsofIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_97fce8a9-7f69-4909-a38c-ed8889c01a34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_dd71b30f-5773-485d-acb7-045079fe69f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_97fce8a9-7f69-4909-a38c-ed8889c01a34" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_dd71b30f-5773-485d-acb7-045079fe69f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_b3258a93-064a-4d97-a638-141f502575ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_97fce8a9-7f69-4909-a38c-ed8889c01a34" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_b3258a93-064a-4d97-a638-141f502575ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_e2b0cc38-040b-4127-bf20-842c7fa881a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_97fce8a9-7f69-4909-a38c-ed8889c01a34" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_e2b0cc38-040b-4127-bf20-842c7fa881a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_dc2fa953-1107-425d-b82e-66ff66a22a4a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_3a17b840-3e4c-49d8-865e-aa7c1df2e1d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_dc2fa953-1107-425d-b82e-66ff66a22a4a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_3a17b840-3e4c-49d8-865e-aa7c1df2e1d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_6d2917f4-288c-44f4-9f98-bd47593d06de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_dc2fa953-1107-425d-b82e-66ff66a22a4a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_6d2917f4-288c-44f4-9f98-bd47593d06de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_0c4fdc86-4c68-4ce7-97ed-d6f6c0bcc4a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_7d97d71f-eac3-490f-b80f-4d47357b865f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0c4fdc86-4c68-4ce7-97ed-d6f6c0bcc4a2" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_7d97d71f-eac3-490f-b80f-4d47357b865f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_f70fb0bb-a40b-44d3-b50c-302e012c7ead" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_0c4fdc86-4c68-4ce7-97ed-d6f6c0bcc4a2" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_f70fb0bb-a40b-44d3-b50c-302e012c7ead" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_23ccce20-f108-4976-af14-2179c83273e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_beec220c-d8eb-4e2f-ab0d-340e60efce6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_23ccce20-f108-4976-af14-2179c83273e6" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_beec220c-d8eb-4e2f-ab0d-340e60efce6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_6d596ef5-6ea0-459e-bb23-1625966fea03" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_23ccce20-f108-4976-af14-2179c83273e6" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_6d596ef5-6ea0-459e-bb23-1625966fea03" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/IncomeTaxesScheduleofEffectiveIncomeTaxRateReconciliationDetails" xlink:type="simple" xlink:href="erii-20251231.xsd#IncomeTaxesScheduleofEffectiveIncomeTaxRateReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/IncomeTaxesScheduleofEffectiveIncomeTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019c7102-f840-7a70-9157-5cc033e95f1f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019c7102-f840-7adc-9a47-1edc368f235e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c7102-f840-7a70-9157-5cc033e95f1f" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019c7102-f840-7adc-9a47-1edc368f235e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019c7102-f840-7b5b-9eef-02c1b8a23dfe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c7102-f840-7a70-9157-5cc033e95f1f" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019c7102-f840-7b5b-9eef-02c1b8a23dfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_019c7102-f840-721a-b876-bc3d7a1a7936" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c7102-f840-7a70-9157-5cc033e95f1f" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_019c7102-f840-721a-b876-bc3d7a1a7936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount_019c7102-f840-7a17-b7a3-8fca01e6c337" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c7102-f840-7a70-9157-5cc033e95f1f" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiAmount_019c7102-f840-7a17-b7a3-8fca01e6c337" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_019c7102-f840-79fc-bdff-eea0bfbcdbbb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c7102-f840-7a70-9157-5cc033e95f1f" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_019c7102-f840-79fc-bdff-eea0bfbcdbbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019c7102-f840-7f72-8da7-431bdccb057a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c7102-f840-7a70-9157-5cc033e95f1f" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019c7102-f840-7f72-8da7-431bdccb057a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_EffectiveIncomeTaxRateReconciliationNonDeductibleCompensationAmount_019c7102-f840-7e03-bf5d-3ef519dad302" xlink:href="erii-20251231.xsd#erii_EffectiveIncomeTaxRateReconciliationNonDeductibleCompensationAmount"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c7102-f840-7a70-9157-5cc033e95f1f" xlink:to="loc_erii_EffectiveIncomeTaxRateReconciliationNonDeductibleCompensationAmount_019c7102-f840-7e03-bf5d-3ef519dad302" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_019c7102-f840-7630-944c-d67a4d21cfb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c7102-f840-7a70-9157-5cc033e95f1f" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_019c7102-f840-7630-944c-d67a4d21cfb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019c7102-f840-7131-90a3-a7434c4ad01a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxContingencies"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019c7102-f840-7a70-9157-5cc033e95f1f" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019c7102-f840-7131-90a3-a7434c4ad01a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_da3db64a-0d7f-432b-b338-98c6da40f38e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_da3db64a-0d7f-432b-b338-98c6da40f38e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_20999faf-c961-4bed-a9d4-ad0e21ba9dc4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_20999faf-c961-4bed-a9d4-ad0e21ba9dc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_b65dbd99-f82f-4a12-8f7e-b4f9f398858a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_b65dbd99-f82f-4a12-8f7e-b4f9f398858a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_2d066b42-ba35-4a5d-8289-369cc6858c5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationFdiiPercent_2d066b42-ba35-4a5d-8289-369cc6858c5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_019b2296-8ba5-7046-ad5e-04dbfcd6fa98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_019b2296-8ba5-7046-ad5e-04dbfcd6fa98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_019c2844-5752-7b4b-9acb-1e1ff57dac2f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_019c2844-5752-7b4b-9acb-1e1ff57dac2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_EffectiveIncomeTaxRateReconciliationNonDeductibleCompensationPercent_019c2844-e0e2-7757-92df-61cdafa87527" xlink:href="erii-20251231.xsd#erii_EffectiveIncomeTaxRateReconciliationNonDeductibleCompensationPercent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:to="loc_erii_EffectiveIncomeTaxRateReconciliationNonDeductibleCompensationPercent_019c2844-e0e2-7757-92df-61cdafa87527" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_019c7105-a499-7320-854d-738880b660dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_019c7105-a499-7320-854d-738880b660dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019c7105-a499-737b-a619-bcfcc239a205" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019c7105-a499-737b-a619-bcfcc239a205" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_90f1f72a-4562-438e-8283-5d951c468dbb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_90f1f72a-4562-438e-8283-5d951c468dbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019c7105-a499-7e2b-905f-65ccb54e1a47" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_2a0d9684-6069-4e4b-9f8d-ed61a8fe20c6" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_019c7105-a499-7e2b-905f-65ccb54e1a47" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="erii-20251231.xsd#IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_485e7048-d0d6-436d-88c2-c2ca8de05b51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_019b229b-abe0-7bf0-abc9-6dfc76d33074" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_485e7048-d0d6-436d-88c2-c2ca8de05b51" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_019b229b-abe0-7bf0-abc9-6dfc76d33074" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_019b229b-abe0-79fb-872e-67443c8ffb34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_485e7048-d0d6-436d-88c2-c2ca8de05b51" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_019b229b-abe0-79fb-872e-67443c8ffb34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_019b229b-abe0-7e99-bf99-3b0972e443a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_485e7048-d0d6-436d-88c2-c2ca8de05b51" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsGoodwill_019b229b-abe0-7e99-bf99-3b0972e443a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_DeferredTaxLiabilitiesRightOfUseAsset_66709035-f537-423f-873b-9b79d6dffdcc" xlink:href="erii-20251231.xsd#erii_DeferredTaxLiabilitiesRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_485e7048-d0d6-436d-88c2-c2ca8de05b51" xlink:to="loc_erii_DeferredTaxLiabilitiesRightOfUseAsset_66709035-f537-423f-873b-9b79d6dffdcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_4db553f7-ca53-4302-a34c-5bc8ca8772af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_b72419e1-0bb3-4197-847e-f7fbff5d8f9b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_4db553f7-ca53-4302-a34c-5bc8ca8772af" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_b72419e1-0bb3-4197-847e-f7fbff5d8f9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_50ebd41e-fe65-4bcd-8f45-7ae13a1a3b44" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_4db553f7-ca53-4302-a34c-5bc8ca8772af" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_50ebd41e-fe65-4bcd-8f45-7ae13a1a3b44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_0684370d-2a5d-41bc-bc9c-4d378715ca68" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_019b229b-3ee7-7eff-9c66-eed9db9f15dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_0684370d-2a5d-41bc-bc9c-4d378715ca68" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_019b229b-3ee7-7eff-9c66-eed9db9f15dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_DeferredTaxAssetsAmortizationOfResearchAndExperimentalExpenditures_019b229b-3ee7-7079-9b25-f4b1b8ef2fde" xlink:href="erii-20251231.xsd#erii_DeferredTaxAssetsAmortizationOfResearchAndExperimentalExpenditures"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_0684370d-2a5d-41bc-bc9c-4d378715ca68" xlink:to="loc_erii_DeferredTaxAssetsAmortizationOfResearchAndExperimentalExpenditures_019b229b-3ee7-7079-9b25-f4b1b8ef2fde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_019b229b-3ee7-740b-9424-96393988b5a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_0684370d-2a5d-41bc-bc9c-4d378715ca68" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccruals_019b229b-3ee7-740b-9424-96393988b5a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_DeferredTaxAssetsTaxCreditCarryforwardsResearchAndForeign_019b229b-3ee7-7af0-b315-263bc7b15331" xlink:href="erii-20251231.xsd#erii_DeferredTaxAssetsTaxCreditCarryforwardsResearchAndForeign"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_0684370d-2a5d-41bc-bc9c-4d378715ca68" xlink:to="loc_erii_DeferredTaxAssetsTaxCreditCarryforwardsResearchAndForeign_019b229b-3ee7-7af0-b315-263bc7b15331" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_DeferredTaxAssetsOperatingLeaseLiabilities_ebef530c-354d-423f-99d0-e90fa0511055" xlink:href="erii-20251231.xsd#erii_DeferredTaxAssetsOperatingLeaseLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_0684370d-2a5d-41bc-bc9c-4d378715ca68" xlink:to="loc_erii_DeferredTaxAssetsOperatingLeaseLiabilities_ebef530c-354d-423f-99d0-e90fa0511055" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_877e9b96-a03d-4f10-b9f0-162782ccfba2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019c90b9-7464-73be-9fec-7a4a68426b96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_877e9b96-a03d-4f10-b9f0-162782ccfba2" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019c90b9-7464-73be-9fec-7a4a68426b96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_b482c82b-ffbc-4587-8bc8-7f619988ad09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_877e9b96-a03d-4f10-b9f0-162782ccfba2" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_b482c82b-ffbc-4587-8bc8-7f619988ad09" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/IncomeTaxesScheduleofNetCashPaidDetails" xlink:type="simple" xlink:href="erii-20251231.xsd#IncomeTaxesScheduleofNetCashPaidDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/IncomeTaxesScheduleofNetCashPaidDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_019c7125-4df2-7be6-a940-ec79c10ed6bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019c7125-4df2-7f66-8d5a-0fa6b478a409" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidFederalAfterRefundReceived"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019c7125-4df2-7be6-a940-ec79c10ed6bb" xlink:to="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019c7125-4df2-7f66-8d5a-0fa6b478a409" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019c7125-4df2-791f-ad1e-87f47e568994" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019c7125-4df2-7be6-a940-ec79c10ed6bb" xlink:to="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019c7125-4df2-791f-ad1e-87f47e568994" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019c7125-4df2-7040-b4b6-21576111016a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidForeignAfterRefundReceived"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019c7125-4df2-7be6-a940-ec79c10ed6bb" xlink:to="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019c7125-4df2-7040-b4b6-21576111016a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/StockbasedCompensationScheduleofVestedEquityAwardsDetails" xlink:type="simple" xlink:href="erii-20251231.xsd#StockbasedCompensationScheduleofVestedEquityAwardsDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/StockbasedCompensationScheduleofVestedEquityAwardsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_erii_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsVestedInPeriodFairValue_019c7195-29ef-74cc-bb6a-4d05391540fe" xlink:href="erii-20251231.xsd#erii_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsVestedInPeriodFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAndStockAppreciationRightsVestedInPeriodFairValue_019c7195-29ef-79c7-85c5-3a2467a7212e" xlink:href="erii-20251231.xsd#erii_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAndStockAppreciationRightsVestedInPeriodFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erii_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsVestedInPeriodFairValue_019c7195-29ef-74cc-bb6a-4d05391540fe" xlink:to="loc_erii_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAndStockAppreciationRightsVestedInPeriodFairValue_019c7195-29ef-79c7-85c5-3a2467a7212e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_019c7195-29ef-73a0-86a3-94064bc8ad8d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_erii_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsVestedInPeriodFairValue_019c7195-29ef-74cc-bb6a-4d05391540fe" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_019c7195-29ef-73a0-86a3-94064bc8ad8d" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
