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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e8838-6368-78ad-a2b1-76cbb7a8a5a9,g:aaf8f411-fe3d-4985-80b6-ded706f2d4cb-->
<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:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="erii-20260630.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e8838-6850-7856-ba6d-edb5dacbd447" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019e8838-6850-7f8d-9289-7a65dd9a0ace" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e8838-6850-7856-ba6d-edb5dacbd447" xlink:to="loc_us-gaap_AccountsPayableCurrent_019e8838-6850-7f8d-9289-7a65dd9a0ace" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_019e8838-6850-7d3a-b618-ccd7d62279b0" xlink:href="erii-20260630.xsd#erii_AccruedExpensesAndOtherCurrentLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e8838-6850-7856-ba6d-edb5dacbd447" xlink:to="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_019e8838-6850-7d3a-b618-ccd7d62279b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e8838-6850-782f-9bf3-11800e351dbf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e8838-6850-7856-ba6d-edb5dacbd447" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e8838-6850-782f-9bf3-11800e351dbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e8838-6850-7d25-a7c8-68575a2b1ef5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e8838-6850-7856-ba6d-edb5dacbd447" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e8838-6850-7d25-a7c8-68575a2b1ef5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e8838-6850-732f-b570-55b57d43a821" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e8838-6850-79b3-bf6b-15bf681c140f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8838-6850-732f-b570-55b57d43a821" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e8838-6850-79b3-bf6b-15bf681c140f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e8838-6850-7eca-be40-d75f85e296ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8838-6850-732f-b570-55b57d43a821" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e8838-6850-7eca-be40-d75f85e296ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_019e8838-6850-7c37-b22f-e876d3f7928d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8838-6850-732f-b570-55b57d43a821" xlink:to="loc_us-gaap_TreasuryStockCommonValue_019e8838-6850-7c37-b22f-e876d3f7928d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e8838-6850-779e-a262-b282f15345a0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8838-6850-732f-b570-55b57d43a821" xlink:to="loc_us-gaap_CommonStockValue_019e8838-6850-779e-a262-b282f15345a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019e8838-6850-7291-a80c-74044597d4a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e8838-6850-732f-b570-55b57d43a821" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019e8838-6850-7291-a80c-74044597d4a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e8838-6850-708c-8ec3-f015a8515b3b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e8838-6850-7a5c-803f-950bc51758f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8838-6850-708c-8ec3-f015a8515b3b" xlink:to="loc_us-gaap_LiabilitiesCurrent_019e8838-6850-7a5c-803f-950bc51758f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019e8838-6850-731f-98be-10076994c52a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8838-6850-708c-8ec3-f015a8515b3b" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019e8838-6850-731f-98be-10076994c52a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e8838-6850-7592-870e-a72a92e439c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e8838-6850-708c-8ec3-f015a8515b3b" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e8838-6850-7592-870e-a72a92e439c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e8838-6850-7ceb-a6a6-6338690616eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e8838-6850-7f0a-b25a-093efca57197" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e8838-6850-7ceb-a6a6-6338690616eb" xlink:to="loc_us-gaap_Liabilities_019e8838-6850-7f0a-b25a-093efca57197" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e8838-6850-7078-a194-9c11d15b49b1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e8838-6850-7ceb-a6a6-6338690616eb" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e8838-6850-7078-a194-9c11d15b49b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e8838-6850-7dd0-ac59-d97d3b1f3e5b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e8838-6850-7ceb-a6a6-6338690616eb" xlink:to="loc_us-gaap_StockholdersEquity_019e8838-6850-7dd0-ac59-d97d3b1f3e5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e8838-6850-75b2-8c2a-577962f4433e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019e8838-6850-7b4d-913e-eddc784d4085" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e8838-6850-75b2-8c2a-577962f4433e" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019e8838-6850-7b4d-913e-eddc784d4085" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e8838-6850-7101-9a92-f0c13cfdc80e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e8838-6850-75b2-8c2a-577962f4433e" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e8838-6850-7101-9a92-f0c13cfdc80e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_019e8838-6850-721a-8d87-18167107de2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e8838-6850-75b2-8c2a-577962f4433e" xlink:to="loc_us-gaap_ShortTermInvestments_019e8838-6850-721a-8d87-18167107de2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019e8838-6850-7d29-b0f9-e7a1db2bdf96" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e8838-6850-75b2-8c2a-577962f4433e" xlink:to="loc_us-gaap_InventoryNet_019e8838-6850-7d29-b0f9-e7a1db2bdf96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019e8838-6850-7708-8314-df331529c2e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e8838-6850-75b2-8c2a-577962f4433e" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019e8838-6850-7708-8314-df331529c2e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e8838-6850-730b-8ec6-d7285c296cda" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e8838-6850-7f85-b42a-e1c6be1466b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8838-6850-730b-8ec6-d7285c296cda" xlink:to="loc_us-gaap_AssetsCurrent_019e8838-6850-7f85-b42a-e1c6be1466b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_019e8838-6850-7e14-85a0-38e867d1128f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8838-6850-730b-8ec6-d7285c296cda" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_019e8838-6850-7e14-85a0-38e867d1128f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019e8838-6850-728d-a1b1-026c6c214bb6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8838-6850-730b-8ec6-d7285c296cda" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019e8838-6850-728d-a1b1-026c6c214bb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e8838-6850-7a8b-a938-9f0092b90733" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8838-6850-730b-8ec6-d7285c296cda" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e8838-6850-7a8b-a938-9f0092b90733" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019e8838-6850-7aaf-a633-f7961379832d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8838-6850-730b-8ec6-d7285c296cda" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019e8838-6850-7aaf-a633-f7961379832d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_019e8838-6850-744f-bdff-dfbe180b27aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermInvestments"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8838-6850-730b-8ec6-d7285c296cda" xlink:to="loc_us-gaap_LongTermInvestments_019e8838-6850-744f-bdff-dfbe180b27aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019e8838-6850-759b-82d5-0d909435ab97" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e8838-6850-730b-8ec6-d7285c296cda" xlink:to="loc_us-gaap_Goodwill_019e8838-6850-759b-82d5-0d909435ab97" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="erii-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019e8838-6850-7455-bd87-b29b539cab30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e8838-6850-796e-8f7a-762bb28a037f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019e8838-6850-7455-bd87-b29b539cab30" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e8838-6850-796e-8f7a-762bb28a037f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_CostOfRevenueExcludingInventoryWriteDown_019e8838-6850-7db7-9400-26952ebe35b9" xlink:href="erii-20260630.xsd#erii_CostOfRevenueExcludingInventoryWriteDown"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019e8838-6850-7455-bd87-b29b539cab30" xlink:to="loc_erii_CostOfRevenueExcludingInventoryWriteDown_019e8838-6850-7db7-9400-26952ebe35b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWriteDown_019e8838-6850-755f-b210-7cb0085133ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryWriteDown"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019e8838-6850-7455-bd87-b29b539cab30" xlink:to="loc_us-gaap_InventoryWriteDown_019e8838-6850-755f-b210-7cb0085133ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e8838-6850-79cf-be2d-18de16e4383f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019e8838-6850-7192-9625-dca8c191ca37" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e8838-6850-79cf-be2d-18de16e4383f" xlink:to="loc_us-gaap_GrossProfit_019e8838-6850-7192-9625-dca8c191ca37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e8838-6850-760a-bbe6-71db0752ece3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e8838-6850-79cf-be2d-18de16e4383f" xlink:to="loc_us-gaap_OperatingExpenses_019e8838-6850-760a-bbe6-71db0752ece3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8838-6850-72c5-ba39-c9c28224b9e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e8838-6850-795e-9d0e-b817aec20fdb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8838-6850-72c5-ba39-c9c28224b9e7" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e8838-6850-795e-9d0e-b817aec20fdb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019e8838-6850-7446-9b77-111d157c60cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8838-6850-72c5-ba39-c9c28224b9e7" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019e8838-6850-7446-9b77-111d157c60cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e8838-6850-7178-876b-8f76f29ad52f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e8838-6850-7bbc-b55e-1e04b5e1685a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e8838-6850-7178-876b-8f76f29ad52f" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e8838-6850-7bbc-b55e-1e04b5e1685a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_019e8838-6850-7099-b2f6-b7b5cc744c14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e8838-6850-7178-876b-8f76f29ad52f" xlink:to="loc_us-gaap_SellingAndMarketingExpense_019e8838-6850-7099-b2f6-b7b5cc744c14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019e8838-6850-7fba-b849-4b04cd1e080d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e8838-6850-7178-876b-8f76f29ad52f" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019e8838-6850-7fba-b849-4b04cd1e080d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_019e8838-6850-73b3-980d-922cc4d386c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e8838-6850-7178-876b-8f76f29ad52f" xlink:to="loc_us-gaap_RestructuringCharges_019e8838-6850-73b3-980d-922cc4d386c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_019e8838-6850-7d51-91a5-51971d76d67f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e8838-6850-7178-876b-8f76f29ad52f" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_019e8838-6850-7d51-91a5-51971d76d67f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e8838-6850-77d9-b73a-c403601d697c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8838-6850-783f-ae9a-f3a092fbc033" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e8838-6850-77d9-b73a-c403601d697c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e8838-6850-783f-ae9a-f3a092fbc033" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e8838-6850-758b-b7a2-55578d020819" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e8838-6850-77d9-b73a-c403601d697c" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e8838-6850-758b-b7a2-55578d020819" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019e8838-6850-7bf0-a7eb-2dedbf3f161d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_019e8838-6850-7117-bbe3-3549afbf9b1d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019e8838-6850-7bf0-a7eb-2dedbf3f161d" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_019e8838-6850-7117-bbe3-3549afbf9b1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019e8838-6850-7ce8-b205-66c6c879eeff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019e8838-6850-7bf0-a7eb-2dedbf3f161d" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019e8838-6850-7ce8-b205-66c6c879eeff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="erii-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e8838-6850-7b6e-830e-8285b51a01d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e8838-6850-79b3-a671-f53695984da1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e8838-6850-7b6e-830e-8285b51a01d9" xlink:to="loc_us-gaap_NetIncomeLoss_019e8838-6850-79b3-a671-f53695984da1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e8838-6850-76db-aabd-934b12cc3882" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e8838-6850-7b6e-830e-8285b51a01d9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e8838-6850-76db-aabd-934b12cc3882" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e8838-6850-7864-bd4a-f8b99ddaae40" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019e8838-6850-78cd-b0a7-0ef0fec87177" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e8838-6850-7864-bd4a-f8b99ddaae40" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019e8838-6850-78cd-b0a7-0ef0fec87177" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019e8838-6850-77a2-abe9-d9f2168812f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e8838-6850-7864-bd4a-f8b99ddaae40" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019e8838-6850-77a2-abe9-d9f2168812f1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="erii-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e8838-6850-700b-9b22-cac5724a50cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_019e8838-6850-77d0-ac5e-fab7cdf28c79" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e8838-6850-700b-9b22-cac5724a50cb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_019e8838-6850-77d0-ac5e-fab7cdf28c79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019e8838-6850-7540-bf41-76686c0afeea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e8838-6850-700b-9b22-cac5724a50cb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019e8838-6850-7540-bf41-76686c0afeea" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="erii-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8838-6850-7be6-bcf5-c3ff9af67778" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e8838-6850-7649-9499-cc263b04b218" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8838-6850-7be6-bcf5-c3ff9af67778" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e8838-6850-7649-9499-cc263b04b218" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019e8838-6850-7745-a023-491077d9aa33" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8838-6850-7be6-bcf5-c3ff9af67778" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019e8838-6850-7745-a023-491077d9aa33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e8838-6850-7570-aeba-6fe30cc8f96d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8838-6850-7be6-bcf5-c3ff9af67778" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e8838-6850-7570-aeba-6fe30cc8f96d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_PaymentsForRepurchaseOfCommonStockExciseTax_019e8838-6850-7834-a6fd-cf92ef255cbb" xlink:href="erii-20260630.xsd#erii_PaymentsForRepurchaseOfCommonStockExciseTax"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8838-6850-7be6-bcf5-c3ff9af67778" xlink:to="loc_erii_PaymentsForRepurchaseOfCommonStockExciseTax_019e8838-6850-7834-a6fd-cf92ef255cbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8838-6850-7e00-948d-10d210a285c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_019e8838-6850-75e6-9197-cf220a891caf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8838-6850-7e00-948d-10d210a285c6" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_019e8838-6850-75e6-9197-cf220a891caf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_019e8838-6850-72f5-a895-272c6ce2cb67" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8838-6850-7e00-948d-10d210a285c6" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_019e8838-6850-72f5-a895-272c6ce2cb67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e8838-6850-793e-9b84-06163dd31c6e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8838-6850-7e00-948d-10d210a285c6" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019e8838-6850-793e-9b84-06163dd31c6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019e8838-6850-76a9-ae68-c522e4393b8a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8838-6850-7e00-948d-10d210a285c6" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019e8838-6850-76a9-ae68-c522e4393b8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e8838-6850-7fc3-b340-fc0497fe10a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-7db9-8e47-1d13ab743b35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e8838-6850-7fc3-b340-fc0497fe10a2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-7db9-8e47-1d13ab743b35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8838-6850-7afe-92ec-57fcf8b5adb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e8838-6850-7fc3-b340-fc0497fe10a2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e8838-6850-7afe-92ec-57fcf8b5adb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8838-6850-7c0c-8c14-acf8a6a5d85d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e8838-6850-7fc3-b340-fc0497fe10a2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e8838-6850-7c0c-8c14-acf8a6a5d85d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e8838-6850-74ab-995e-9cf4143b6708" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e8838-6850-7fc3-b340-fc0497fe10a2" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e8838-6850-74ab-995e-9cf4143b6708" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e8838-6850-742d-b5bd-a34a36c9dd15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_NetIncomeLoss_019e8838-6850-742d-b5bd-a34a36c9dd15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019e8838-6850-70f5-a19e-ba904a674227" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_ShareBasedCompensation_019e8838-6850-70f5-a19e-ba904a674227" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e8838-6850-7981-a370-8a427d004bb9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e8838-6850-7981-a370-8a427d004bb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019e8838-6850-77aa-a3b0-58622bdc2471" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019e8838-6850-77aa-a3b0-58622bdc2471" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_019e8838-6850-7f16-98b1-3015e92528b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_019e8838-6850-7f16-98b1-3015e92528b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfLongLivedAssetsHeldForUse_019e8838-6850-7388-8035-574d5a9c03de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ImpairmentOfLongLivedAssetsHeldForUse"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_ImpairmentOfLongLivedAssetsHeldForUse_019e8838-6850-7388-8035-574d5a9c03de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_019e8838-6850-78a9-ae66-2ff654752f34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_019e8838-6850-78a9-ae66-2ff654752f34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWriteDown_019e8838-6850-735a-a65e-ccdc6007efb9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryWriteDown"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_InventoryWriteDown_019e8838-6850-735a-a65e-ccdc6007efb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019e8838-6850-7e55-b056-30b246995f6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019e8838-6850-7e55-b056-30b246995f6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e8838-6850-7c51-8266-c5a6e4aae66f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019e8838-6850-7c51-8266-c5a6e4aae66f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_IncreaseDecreaseInCostsInExcessOfBillingsOnUncompletedContractsOrPrograms1_019e8838-6850-7a0b-99b1-9197150c38ff" xlink:href="erii-20260630.xsd#erii_IncreaseDecreaseInCostsInExcessOfBillingsOnUncompletedContractsOrPrograms1"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_erii_IncreaseDecreaseInCostsInExcessOfBillingsOnUncompletedContractsOrPrograms1_019e8838-6850-7a0b-99b1-9197150c38ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019e8838-6850-7093-8342-12383beffe9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019e8838-6850-7093-8342-12383beffe9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e8838-6850-7eac-b974-6ca895999df8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e8838-6850-7eac-b974-6ca895999df8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019e8838-6850-750a-9693-63996413d812" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019e8838-6850-750a-9693-63996413d812" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_019e8838-6850-7bab-9b8a-16dddb3b2c22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_019e8838-6850-7bab-9b8a-16dddb3b2c22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_IncreaseDecreaseInContractLiabilities_019e8838-6850-7fd1-b306-11b90be574ce" xlink:href="erii-20260630.xsd#erii_IncreaseDecreaseInContractLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_erii_IncreaseDecreaseInContractLiabilities_019e8838-6850-7fd1-b306-11b90be574ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019f885e-3f93-70a2-8cf3-b80b8e938858" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e8838-6850-709d-a8e1-3915a0c71596" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019f885e-3f93-70a2-8cf3-b80b8e938858" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/RevenueScheduleofContractwithCustomerAssetandLiabilityDetails" xlink:type="simple" xlink:href="erii-20260630.xsd#RevenueScheduleofContractwithCustomerAssetandLiabilityDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/RevenueScheduleofContractwithCustomerAssetandLiabilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_019e8838-6850-7b99-a5f6-f6ba22431949" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e8838-6850-72b1-a018-3a83885c2a5b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ContractWithCustomerLiability_019e8838-6850-7b99-a5f6-f6ba22431949" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019e8838-6850-72b1-a018-3a83885c2a5b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/IncomeLossPerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerCommonShareDetails" xlink:type="simple" xlink:href="erii-20260630.xsd#IncomeLossPerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerCommonShareDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/IncomeLossPerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerCommonShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e8838-6850-77a9-9e02-852027aa26b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019efe68-4031-73a7-bacc-2f39968e0319" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e8838-6850-77a9-9e02-852027aa26b8" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019efe68-4031-73a7-bacc-2f39968e0319" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e8838-6850-78a3-8715-901542819f21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e8838-6850-77a9-9e02-852027aa26b8" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e8838-6850-78a3-8715-901542819f21" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofCashCashEquivalentsandRestrictedCashDetails" xlink:type="simple" xlink:href="erii-20260630.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_019e8838-6850-7234-81b2-775e268f7aef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e8838-6850-7db1-bdfc-6de196d2c3c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e8838-6850-7234-81b2-775e268f7aef" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e8838-6850-7db1-bdfc-6de196d2c3c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashNoncurrent_019e8838-6850-728b-b022-cd94380a7061" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e8838-6850-7234-81b2-775e268f7aef" xlink:to="loc_us-gaap_RestrictedCashNoncurrent_019e8838-6850-728b-b022-cd94380a7061" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofInventoriesNetDetails" xlink:type="simple" xlink:href="erii-20260630.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_019e8838-6850-7432-95d1-b348e0e3caba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryValuationReserves_019e8838-6850-7f0f-947b-f5cd57ecf205" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryValuationReserves"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019e8838-6850-7432-95d1-b348e0e3caba" xlink:to="loc_us-gaap_InventoryValuationReserves_019e8838-6850-7f0f-947b-f5cd57ecf205" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_019e8838-6850-71f3-838a-b41a736cbead" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019e8838-6850-7432-95d1-b348e0e3caba" xlink:to="loc_us-gaap_InventoryGross_019e8838-6850-71f3-838a-b41a736cbead" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_019e8838-6850-701b-af22-5106bde11c46" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_019e8838-6850-7503-b67b-a87c39c84b3a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryFinishedGoods"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_019e8838-6850-701b-af22-5106bde11c46" xlink:to="loc_us-gaap_InventoryFinishedGoods_019e8838-6850-7503-b67b-a87c39c84b3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_019e8838-6850-71df-abde-3c0820585160" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryWorkInProcess"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_019e8838-6850-701b-af22-5106bde11c46" xlink:to="loc_us-gaap_InventoryWorkInProcess_019e8838-6850-71df-abde-3c0820585160" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_019e8838-6850-7fe1-90f5-f23557af0b34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryRawMaterials"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryGross_019e8838-6850-701b-af22-5106bde11c46" xlink:to="loc_us-gaap_InventoryRawMaterials_019e8838-6850-7fe1-90f5-f23557af0b34" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofAccruedExpensesandOtherLiabilitiesDetails" xlink:type="simple" xlink:href="erii-20260630.xsd#OtherFinancialInformationScheduleofAccruedExpensesandOtherLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/OtherFinancialInformationScheduleofAccruedExpensesandOtherLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_019e8838-6850-7b2a-8f40-67736daaab81" xlink:href="erii-20260630.xsd#erii_AccruedExpensesAndOtherCurrentLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e8838-6850-700f-b305-a700269351f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_019e8838-6850-7b2a-8f40-67736daaab81" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019e8838-6850-700f-b305-a700269351f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_019e8838-6850-77b0-a963-4e1de4e195d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProductWarrantyAccrualClassifiedCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_019e8838-6850-7b2a-8f40-67736daaab81" xlink:to="loc_us-gaap_ProductWarrantyAccrualClassifiedCurrent_019e8838-6850-77b0-a963-4e1de4e195d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_RestructuringAccrualAmount_019e8838-6850-77b3-a45c-3938e1a50e2f" xlink:href="erii-20260630.xsd#erii_RestructuringAccrualAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_019e8838-6850-7b2a-8f40-67736daaab81" xlink:to="loc_erii_RestructuringAccrualAmount_019e8838-6850-77b3-a45c-3938e1a50e2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_019e8838-6850-7808-802a-75168fda51ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_019e8838-6850-7b2a-8f40-67736daaab81" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_019e8838-6850-7808-802a-75168fda51ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_OtherAccruedExpensesAndCurrentLiabilities_019efe80-63fe-7924-8cdb-2b70fa937f34" xlink:href="erii-20260630.xsd#erii_OtherAccruedExpensesAndCurrentLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_019e8838-6850-7b2a-8f40-67736daaab81" xlink:to="loc_erii_OtherAccruedExpensesAndCurrentLiabilities_019efe80-63fe-7924-8cdb-2b70fa937f34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019e8838-6850-775d-882f-bbc3a3dd4d4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019e8838-6850-7689-af17-b5603ff634e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019e8838-6850-775d-882f-bbc3a3dd4d4a" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019e8838-6850-7689-af17-b5603ff634e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_019e8838-6850-705c-8468-4969db3d70f3" xlink:href="erii-20260630.xsd#erii_AccruedExpensesAndOtherCurrentLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019e8838-6850-775d-882f-bbc3a3dd4d4a" xlink:to="loc_erii_AccruedExpensesAndOtherCurrentLiabilities_019e8838-6850-705c-8468-4969db3d70f3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.energyrecovery.com/role/IncomeTaxesDetails" xlink:type="simple" xlink:href="erii-20260630.xsd#IncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.energyrecovery.com/role/IncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_erii_IncomeTaxExpenseBenefitExcludingDiscreteItems_019e8838-691f-7ea1-bead-3a4c0217b44f" xlink:href="erii-20260630.xsd#erii_IncomeTaxExpenseBenefitExcludingDiscreteItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e8838-691f-7083-9c41-76dfcc667143" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erii_IncomeTaxExpenseBenefitExcludingDiscreteItems_019e8838-691f-7ea1-bead-3a4c0217b44f" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e8838-691f-7083-9c41-76dfcc667143" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount_019e8838-691f-74e1-9e5e-801fa6bccabc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_erii_IncomeTaxExpenseBenefitExcludingDiscreteItems_019e8838-691f-7ea1-bead-3a4c0217b44f" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount_019e8838-691f-74e1-9e5e-801fa6bccabc" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
