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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:c2eef7d9-8343-4ddf-89c2-93589aa113b7,g:89cb498e-f5af-472a-b0d6-a92645c9758f-->
<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.hf-wa.com/role/ConsolidatedStatementsofFinancialCondition" xlink:type="simple" xlink:href="hfwa-20211231.xsd#ConsolidatedStatementsofFinancialCondition"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/ConsolidatedStatementsofFinancialCondition" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_2fbe8e90-5a47-4c2c-9c14-2924f7bdee0f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_InterestReceivable_2fbe8e90-5a47-4c2c-9c14-2924f7bdee0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_6eae3a16-7937-4e69-a3d3-b4bebde31acc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_Goodwill_6eae3a16-7937-4e69-a3d3-b4bebde31acc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_4c492d01-29a1-4fa2-8019-b3ad171ae40a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalHomeLoanBankStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_4c492d01-29a1-4fa2-8019-b3ad171ae40a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherRealEstate_72c898f4-9aca-4478-8e4e-fa8a774bad26" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherRealEstate"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_OtherRealEstate_72c898f4-9aca-4478-8e4e-fa8a774bad26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssets_98bbf926-01e2-4bd5-8065-704810704111" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssets_98bbf926-01e2-4bd5-8065-704810704111" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_19e1e022-e462-412c-86e8-798ed05ed106" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BankOwnedLifeInsurance"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_19e1e022-e462-412c-86e8-798ed05ed106" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_2b67f683-6f68-4279-9626-12f073bdcb7d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_2b67f683-6f68-4279-9626-12f073bdcb7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_595ab1bf-6cac-4c30-b971-7362453190bc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_595ab1bf-6cac-4c30-b971-7362453190bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_ef699944-fb6b-43a5-b21d-2f6d68cb674e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_NotesReceivableNet_ef699944-fb6b-43a5-b21d-2f6d68cb674e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_91893af6-6ca1-4474-9bc6-28cc88dfcb4b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_91893af6-6ca1-4474-9bc6-28cc88dfcb4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecurities_2bce7b7c-3498-46c0-b2eb-99e530e8c5ff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecurities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_DebtSecurities_2bce7b7c-3498-46c0-b2eb-99e530e8c5ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_effea21b-e775-48f6-b2b1-806d93de313c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_a7f9b23f-ab9b-4ca3-84f1-bbd9a96c15bd" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_effea21b-e775-48f6-b2b1-806d93de313c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_85098159-4cf9-4005-9247-ba35a83db9d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_a71ce7ac-022d-4fc2-850f-cc9bea7cde97" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_85098159-4cf9-4005-9247-ba35a83db9d1" xlink:to="loc_us-gaap_Liabilities_a71ce7ac-022d-4fc2-850f-cc9bea7cde97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_96ba64f6-ec01-4493-8c3a-a8ded934e8a6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_85098159-4cf9-4005-9247-ba35a83db9d1" xlink:to="loc_us-gaap_StockholdersEquity_96ba64f6-ec01-4493-8c3a-a8ded934e8a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_b722f11d-3d6f-4be7-b2d4-e50b60dfea3d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_5005e63d-b550-4060-9cf9-3ef67b25372a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_b722f11d-3d6f-4be7-b2d4-e50b60dfea3d" xlink:to="loc_us-gaap_Deposits_5005e63d-b550-4060-9cf9-3ef67b25372a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_JuniorSubordinatedNotes_37072c29-a9d0-4099-b3da-25c565b28991" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_JuniorSubordinatedNotes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_b722f11d-3d6f-4be7-b2d4-e50b60dfea3d" xlink:to="loc_us-gaap_JuniorSubordinatedNotes_37072c29-a9d0-4099-b3da-25c565b28991" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_6126ab10-b793-4fda-ba87-021967961885" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_b722f11d-3d6f-4be7-b2d4-e50b60dfea3d" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_6126ab10-b793-4fda-ba87-021967961885" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_ae44dd42-da56-4a45-81bf-9b18d01a0ebb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_b722f11d-3d6f-4be7-b2d4-e50b60dfea3d" xlink:to="loc_us-gaap_OtherLiabilities_ae44dd42-da56-4a45-81bf-9b18d01a0ebb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_1286f572-eb82-46c5-a8b8-a8f518193746" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_e967ef9e-3504-4fda-bb7c-faca8731ebc7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NotesReceivableGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_1286f572-eb82-46c5-a8b8-a8f518193746" xlink:to="loc_us-gaap_NotesReceivableGross_e967ef9e-3504-4fda-bb7c-faca8731ebc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_bd14360b-e147-44d6-a400-af676976a1b3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_1286f572-eb82-46c5-a8b8-a8f518193746" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_bd14360b-e147-44d6-a400-af676976a1b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_fa6f3c42-ef0b-4d42-846a-5d90454e1cb9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_06897f71-b26e-4785-936f-18c4e63d40ac" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_fa6f3c42-ef0b-4d42-846a-5d90454e1cb9" xlink:to="loc_us-gaap_PreferredStockValue_06897f71-b26e-4785-936f-18c4e63d40ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_9498a921-d17d-4931-a3c2-91f2fc0459ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_fa6f3c42-ef0b-4d42-846a-5d90454e1cb9" xlink:to="loc_us-gaap_CommonStockValue_9498a921-d17d-4931-a3c2-91f2fc0459ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_cbd358fb-af69-49f9-a2ab-a9c336d73b2c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_fa6f3c42-ef0b-4d42-846a-5d90454e1cb9" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_cbd358fb-af69-49f9-a2ab-a9c336d73b2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_4621de27-11c2-4325-a76c-a56a576ed0cb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_fa6f3c42-ef0b-4d42-846a-5d90454e1cb9" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_4621de27-11c2-4325-a76c-a56a576ed0cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecurities_2152bb05-df1b-47bb-afd8-39e9c53a2761" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_af4f4b61-ec47-4d88-8b0e-dc9ac5d84b96" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecurities_2152bb05-df1b-47bb-afd8-39e9c53a2761" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_af4f4b61-ec47-4d88-8b0e-dc9ac5d84b96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e4462728-871c-4a00-b23e-77029c5a9923" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecurities_2152bb05-df1b-47bb-afd8-39e9c53a2761" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e4462728-871c-4a00-b23e-77029c5a9923" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9a739783-f9dd-44f2-9914-20944b02efea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_09650033-af93-452d-be44-373727c2f48b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDepositsInBanks"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9a739783-f9dd-44f2-9914-20944b02efea" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_09650033-af93-452d-be44-373727c2f48b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_eb69fd0f-ec1e-4a43-9285-e4231479efb0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndDueFromBanks"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9a739783-f9dd-44f2-9914-20944b02efea" xlink:to="loc_us-gaap_CashAndDueFromBanks_eb69fd0f-ec1e-4a43-9285-e4231479efb0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/ConsolidatedStatementsofIncome" xlink:type="simple" xlink:href="hfwa-20211231.xsd#ConsolidatedStatementsofIncome"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/ConsolidatedStatementsofIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_1516352e-a17c-417b-ae00-bac7af5307ae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_d5647c92-49d1-458f-bc19-d714024b433a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_1516352e-a17c-417b-ae00-bac7af5307ae" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_d5647c92-49d1-458f-bc19-d714024b433a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_1009958d-7bf7-4a9b-95c8-b8d24f8fc9ab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_1516352e-a17c-417b-ae00-bac7af5307ae" xlink:to="loc_us-gaap_NoninterestExpense_1009958d-7bf7-4a9b-95c8-b8d24f8fc9ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_a06cc664-4287-4458-bf2e-8bcb346d569c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_1516352e-a17c-417b-ae00-bac7af5307ae" xlink:to="loc_us-gaap_NoninterestIncome_a06cc664-4287-4458-bf2e-8bcb346d569c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_00a86511-07a8-46a2-a2ef-13500201db5b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_431d4805-1112-4a9f-9d95-ea0fcba478bf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_00a86511-07a8-46a2-a2ef-13500201db5b" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_431d4805-1112-4a9f-9d95-ea0fcba478bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_b6e5f598-c161-4076-ac2c-2187604160a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_00a86511-07a8-46a2-a2ef-13500201db5b" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_b6e5f598-c161-4076-ac2c-2187604160a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_a094f9bd-f817-4ee0-bee9-bea37c0bbf90" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_44d24db5-f117-4f41-b505-c074a33928bf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a094f9bd-f817-4ee0-bee9-bea37c0bbf90" xlink:to="loc_us-gaap_LaborAndRelatedExpense_44d24db5-f117-4f41-b505-c074a33928bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_8ec94618-d209-4fc5-be56-ab99d1d9d416" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OccupancyNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a094f9bd-f817-4ee0-bee9-bea37c0bbf90" xlink:to="loc_us-gaap_OccupancyNet_8ec94618-d209-4fc5-be56-ab99d1d9d416" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommunicationsAndInformationTechnology_ad318fda-23d6-4ff3-bec0-b16faf07f494" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommunicationsAndInformationTechnology"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a094f9bd-f817-4ee0-bee9-bea37c0bbf90" xlink:to="loc_us-gaap_CommunicationsAndInformationTechnology_ad318fda-23d6-4ff3-bec0-b16faf07f494" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketingExpense_115f3940-6feb-4cc9-b64d-f2aa4cbe33ae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MarketingExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a094f9bd-f817-4ee0-bee9-bea37c0bbf90" xlink:to="loc_us-gaap_MarketingExpense_115f3940-6feb-4cc9-b64d-f2aa4cbe33ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_419dee38-cafe-4799-9452-9f70575b731c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a094f9bd-f817-4ee0-bee9-bea37c0bbf90" xlink:to="loc_us-gaap_ProfessionalFees_419dee38-cafe-4799-9452-9f70575b731c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesOther_ee0238dc-5d15-4cde-9d5b-b0b5a89d065d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TaxesOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a094f9bd-f817-4ee0-bee9-bea37c0bbf90" xlink:to="loc_us-gaap_TaxesOther_ee0238dc-5d15-4cde-9d5b-b0b5a89d065d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_ef5fea03-a4c0-4e6f-a894-db8f20d352ed" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a094f9bd-f817-4ee0-bee9-bea37c0bbf90" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_ef5fea03-a4c0-4e6f-a894-db8f20d352ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_ForeclosedRealEstateIncomeExpense_54a782fd-bc33-4a73-9b79-f179d788e781" xlink:href="hfwa-20211231.xsd#hfwa_ForeclosedRealEstateIncomeExpense"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a094f9bd-f817-4ee0-bee9-bea37c0bbf90" xlink:to="loc_hfwa_ForeclosedRealEstateIncomeExpense_54a782fd-bc33-4a73-9b79-f179d788e781" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_f0bbb1be-3688-4a77-8d39-1607e91cd2b8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a094f9bd-f817-4ee0-bee9-bea37c0bbf90" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_f0bbb1be-3688-4a77-8d39-1607e91cd2b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_201b21fe-3ca2-460f-881b-cc1d4dd14ad2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a094f9bd-f817-4ee0-bee9-bea37c0bbf90" xlink:to="loc_us-gaap_OtherNoninterestExpense_201b21fe-3ca2-460f-881b-cc1d4dd14ad2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_6defb988-c9c7-4613-988b-4c1d5abfc045" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_efa9a573-4800-428f-8cd9-c4a226a42326" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_6defb988-c9c7-4613-988b-4c1d5abfc045" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_efa9a573-4800-428f-8cd9-c4a226a42326" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_f823cbb6-c818-46de-96bd-8b4097bfb3e7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_6defb988-c9c7-4613-988b-4c1d5abfc045" xlink:to="loc_us-gaap_InterestExpense_f823cbb6-c818-46de-96bd-8b4097bfb3e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_5db21f20-d0ed-4b0a-9050-d17d9353e1f6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_4c9efcf4-66c6-4a0d-9b4c-ee150eab3370" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_5db21f20-d0ed-4b0a-9050-d17d9353e1f6" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_4c9efcf4-66c6-4a0d-9b4c-ee150eab3370" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_416f6268-48a6-4a0f-877a-aed62dd96219" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_5db21f20-d0ed-4b0a-9050-d17d9353e1f6" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_416f6268-48a6-4a0f-877a-aed62dd96219" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_3026911a-3b6a-4769-81ce-0a264cd907a8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_5db21f20-d0ed-4b0a-9050-d17d9353e1f6" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_3026911a-3b6a-4769-81ce-0a264cd907a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInterestAndDividendIncome_b2b62ecd-0076-4584-87c6-a6b855381279" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherInterestAndDividendIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_5db21f20-d0ed-4b0a-9050-d17d9353e1f6" xlink:to="loc_us-gaap_OtherInterestAndDividendIncome_b2b62ecd-0076-4584-87c6-a6b855381279" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_defd52a2-2422-4c7e-a3f0-97294b5885ae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_071b5e16-1175-44e1-9513-74c0b17ddd88" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_defd52a2-2422-4c7e-a3f0-97294b5885ae" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_071b5e16-1175-44e1-9513-74c0b17ddd88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_4e89eb3d-2912-4fe2-85f9-70274d0a45e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_defd52a2-2422-4c7e-a3f0-97294b5885ae" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_4e89eb3d-2912-4fe2-85f9-70274d0a45e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_ebc4704e-8dc4-4738-8d2c-2932e54f6d72" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseJuniorSubordinatedDebentures_384a69ba-6c31-461e-99fb-35e75d848d83" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseJuniorSubordinatedDebentures"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_ebc4704e-8dc4-4738-8d2c-2932e54f6d72" xlink:to="loc_us-gaap_InterestExpenseJuniorSubordinatedDebentures_384a69ba-6c31-461e-99fb-35e75d848d83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOther_c74b0b2c-b064-47a2-a4a7-70c9d7b63f2d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseOther"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_ebc4704e-8dc4-4738-8d2c-2932e54f6d72" xlink:to="loc_us-gaap_InterestExpenseOther_c74b0b2c-b064-47a2-a4a7-70c9d7b63f2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_8c7ebb96-632b-42e6-99f7-c5b6bab9fe5d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_ebc4704e-8dc4-4738-8d2c-2932e54f6d72" xlink:to="loc_us-gaap_InterestExpenseDeposits_8c7ebb96-632b-42e6-99f7-c5b6bab9fe5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_528f87a0-f6c3-4985-9c0d-59859f7dbb1c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_InterestRateSwapFeeIncome_43ee4b7e-755b-4556-afe1-660e8de8a4ff" xlink:href="hfwa-20211231.xsd#hfwa_InterestRateSwapFeeIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_528f87a0-f6c3-4985-9c0d-59859f7dbb1c" xlink:to="loc_hfwa_InterestRateSwapFeeIncome_43ee4b7e-755b-4556-afe1-660e8de8a4ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfOtherAssets_99a469f5-364f-459b-a51c-963f7833b744" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfOtherAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_528f87a0-f6c3-4985-9c0d-59859f7dbb1c" xlink:to="loc_us-gaap_GainLossOnSaleOfOtherAssets_99a469f5-364f-459b-a51c-963f7833b744" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_7b46f8d7-0967-410d-a501-ea8a50c7ceaa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_528f87a0-f6c3-4985-9c0d-59859f7dbb1c" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_7b46f8d7-0967-410d-a501-ea8a50c7ceaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_3d7807c8-9bf2-4b23-b826-eeadc72b4fbb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_528f87a0-f6c3-4985-9c0d-59859f7dbb1c" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_3d7807c8-9bf2-4b23-b826-eeadc72b4fbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOther_58409022-e5f8-43fe-98da-df69c9a71bd7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncomeOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_528f87a0-f6c3-4985-9c0d-59859f7dbb1c" xlink:to="loc_us-gaap_NoninterestIncomeOther_58409022-e5f8-43fe-98da-df69c9a71bd7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_cc6bf9ce-1b1a-42f1-8d32-65fadc312e1f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_528f87a0-f6c3-4985-9c0d-59859f7dbb1c" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_cc6bf9ce-1b1a-42f1-8d32-65fadc312e1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBankingAdvisoryBrokerageAndUnderwritingFeesAndCommissions_f79190f2-c27f-424c-990a-1d1f8532c796" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentBankingAdvisoryBrokerageAndUnderwritingFeesAndCommissions"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_528f87a0-f6c3-4985-9c0d-59859f7dbb1c" xlink:to="loc_us-gaap_InvestmentBankingAdvisoryBrokerageAndUnderwritingFeesAndCommissions_f79190f2-c27f-424c-990a-1d1f8532c796" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="hfwa-20211231.xsd#ConsolidatedStatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72135b17-4644-4bef-aa79-3b451bf738a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_fadfd563-eca6-4e42-b764-6ed29c31b1c5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72135b17-4644-4bef-aa79-3b451bf738a2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_fadfd563-eca6-4e42-b764-6ed29c31b1c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciDebtSecuritiesAvailableForSaleTransferToHeldToMaturityAdjustmentFromAociForAmortizationOfGainLossAfterTax_aeb6ac3b-1594-4348-b98a-3a7cacb02e9d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OciDebtSecuritiesAvailableForSaleTransferToHeldToMaturityAdjustmentFromAociForAmortizationOfGainLossAfterTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72135b17-4644-4bef-aa79-3b451bf738a2" xlink:to="loc_us-gaap_OciDebtSecuritiesAvailableForSaleTransferToHeldToMaturityAdjustmentFromAociForAmortizationOfGainLossAfterTax_aeb6ac3b-1594-4348-b98a-3a7cacb02e9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_ca35c0dd-a53d-4929-a8ee-4dbb1dfc326d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_72135b17-4644-4bef-aa79-3b451bf738a2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_ca35c0dd-a53d-4929-a8ee-4dbb1dfc326d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_1f01356e-2d63-46cc-92de-5b032257d890" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_7c2e8f8a-505b-469b-9283-9a201c9f1629" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_1f01356e-2d63-46cc-92de-5b032257d890" xlink:to="loc_us-gaap_NetIncomeLoss_7c2e8f8a-505b-469b-9283-9a201c9f1629" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_6606475d-4c14-49a8-b769-c0c6ca2f5e4c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1f01356e-2d63-46cc-92de-5b032257d890" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_6606475d-4c14-49a8-b769-c0c6ca2f5e4c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="hfwa-20211231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_ImpairmentOfAssetsHeldForSale_89fef028-0618-4b8a-8ecc-4c3e17c98eed" xlink:href="hfwa-20211231.xsd#hfwa_ImpairmentOfAssetsHeldForSale"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_hfwa_ImpairmentOfAssetsHeldForSale_89fef028-0618-4b8a-8ecc-4c3e17c98eed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_04f66dc6-d164-4882-9137-a84bcd9b1e66" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_NetIncomeLoss_04f66dc6-d164-4882-9137-a84bcd9b1e66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_GainLossofAssetsHeldforSale_eb53d5b3-fc36-4d9e-b52f-618819aa5008" xlink:href="hfwa-20211231.xsd#hfwa_GainLossofAssetsHeldforSale"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_hfwa_GainLossofAssetsHeldforSale_eb53d5b3-fc36-4d9e-b52f-618819aa5008" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_49d99176-8d7e-4dfe-a256-17e354e6e332" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_49d99176-8d7e-4dfe-a256-17e354e6e332" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_8269d7f7-6e8a-4f2b-969a-f766a6ea5867" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_8269d7f7-6e8a-4f2b-969a-f766a6ea5867" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_854a27e2-06a1-45b6-af9d-b2fe1b16d9f9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_854a27e2-06a1-45b6-af9d-b2fe1b16d9f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_26de7ef9-96a3-4f82-950d-bf90efa01441" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_26de7ef9-96a3-4f82-950d-bf90efa01441" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_abc04611-1a5a-4f14-bb64-3d22de10bf44" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationAmortizationAndAccretionNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_abc04611-1a5a-4f14-bb64-3d22de10bf44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseImpairmentLoss_d269d58f-c964-43d4-b009-c3c2805692f6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseImpairmentLoss"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_OperatingLeaseImpairmentLoss_d269d58f-c964-43d4-b009-c3c2805692f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_886f0909-c4e0-4569-93d0-925bad9c1208" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfLoansAndLeases"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_886f0909-c4e0-4569-93d0-925bad9c1208" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_2213eae0-0c81-4b93-a534-2692eb40e3d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_2213eae0-0c81-4b93-a534-2692eb40e3d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_59617a51-3fe7-41da-b76a-49f9866ac896" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_59617a51-3fe7-41da-b76a-49f9866ac896" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_f6cfc0ac-3caa-4437-8e4d-171bbf7cdbda" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_f6cfc0ac-3caa-4437-8e4d-171bbf7cdbda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_07a06e95-52a2-4650-8cee-14a3852adcce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_07a06e95-52a2-4650-8cee-14a3852adcce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_dc744258-4eb8-4384-85f7-9c9cfda836a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeBenefitsAndShareBasedCompensation"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e322472-90c4-4d17-a14a-8db777f49b66" xlink:to="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_dc744258-4eb8-4384-85f7-9c9cfda836a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_ced20799-3d65-46a1-a3ff-0d1f23b48ae1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_ced20799-3d65-46a1-a3ff-0d1f23b48ae1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_76db2929-37c7-4726-bb80-b8517a64d139" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_76db2929-37c7-4726-bb80-b8517a64d139" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_53318188-5a38-4902-a738-4e7ed32c47c6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromLoansAndLeases"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_53318188-5a38-4902-a738-4e7ed32c47c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_6014ade1-8126-497b-88a3-16724fe1867e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_6014ade1-8126-497b-88a3-16724fe1867e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_8a5b689d-b549-47d4-bc57-8707ff0f7f2a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_8a5b689d-b549-47d4-bc57-8707ff0f7f2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfFederalHomeLoanBankStock_b9ec3934-f4dc-479b-b1d0-7e7ee282b496" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfFederalHomeLoanBankStock"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_ProceedsFromSaleOfFederalHomeLoanBankStock_b9ec3934-f4dc-479b-b1d0-7e7ee282b496" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_Changeinlowincometaxhousingtaxcreditpartnership_3bc17b1f-2f1f-4419-b18f-069f336f128f" xlink:href="hfwa-20211231.xsd#hfwa_Changeinlowincometaxhousingtaxcreditpartnership"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_hfwa_Changeinlowincometaxhousingtaxcreditpartnership_3bc17b1f-2f1f-4419-b18f-069f336f128f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_08d5fe3c-d5b7-474f-888f-6eef35b9605a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_08d5fe3c-d5b7-474f-888f-6eef35b9605a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_3b4bf4e5-e1b9-4dc3-9465-4f80b8a14d9e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_3b4bf4e5-e1b9-4dc3-9465-4f80b8a14d9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSalesOfAssetsInvestingActivities_6363e608-8dc2-4a7e-bef5-afb25ad9c3fe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSalesOfAssetsInvestingActivities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_ProceedsFromSalesOfAssetsInvestingActivities_6363e608-8dc2-4a7e-bef5-afb25ad9c3fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_e9769ef9-8687-432e-b3d7-ef36b748844b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_e9769ef9-8687-432e-b3d7-ef36b748844b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_ReturnOfTaxCreditEquityMethodInvestment_6323338c-69c7-4b3e-a88f-d26ac82fc645" xlink:href="hfwa-20211231.xsd#hfwa_ReturnOfTaxCreditEquityMethodInvestment"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_hfwa_ReturnOfTaxCreditEquityMethodInvestment_6323338c-69c7-4b3e-a88f-d26ac82fc645" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_Purchasebankownedlifeinsurance_bcd98867-d622-43a5-b530-3dbb1e4d1081" xlink:href="hfwa-20211231.xsd#hfwa_Purchasebankownedlifeinsurance"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_hfwa_Purchasebankownedlifeinsurance_bcd98867-d622-43a5-b530-3dbb1e4d1081" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_BankOwnedLifeInsuranceDeathBenefit_7a487510-d0b8-4b6c-aa8e-8c4cddf9d87b" xlink:href="hfwa-20211231.xsd#hfwa_BankOwnedLifeInsuranceDeathBenefit"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_hfwa_BankOwnedLifeInsuranceDeathBenefit_7a487510-d0b8-4b6c-aa8e-8c4cddf9d87b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_ProceedsfromSaleofAssetsHeldforSale_2529a01c-eead-4edd-8fae-49a1af1668cb" xlink:href="hfwa-20211231.xsd#hfwa_ProceedsfromSaleofAssetsHeldforSale"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_hfwa_ProceedsfromSaleofAssetsHeldforSale_2529a01c-eead-4edd-8fae-49a1af1668cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_3deb47be-3e11-4e91-b45a-e0ddf1c377bf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_3deb47be-3e11-4e91-b45a-e0ddf1c377bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireFederalHomeLoanBankStock_01698468-ec30-4fef-9a34-e12653301717" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireFederalHomeLoanBankStock"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5857ac99-6854-47c0-aa3a-35df4ebddeb4" xlink:to="loc_us-gaap_PaymentsToAcquireFederalHomeLoanBankStock_01698468-ec30-4fef-9a34-e12653301717" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_875c39b2-b1aa-4122-8e05-33f5d5d736e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_340d34ed-a8c7-438d-8b3c-fb11a685e118" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_875c39b2-b1aa-4122-8e05-33f5d5d736e2" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_340d34ed-a8c7-438d-8b3c-fb11a685e118" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_d1e48387-3306-4a5a-8230-614c1cfd6fed" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_875c39b2-b1aa-4122-8e05-33f5d5d736e2" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_d1e48387-3306-4a5a-8230-614c1cfd6fed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_ae57a00d-8897-406a-8cfb-2e19f8d728ff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_875c39b2-b1aa-4122-8e05-33f5d5d736e2" xlink:to="loc_us-gaap_RepaymentsOfDebt_ae57a00d-8897-406a-8cfb-2e19f8d728ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_dc70d459-819b-4882-a49e-670d4545b492" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_875c39b2-b1aa-4122-8e05-33f5d5d736e2" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_dc70d459-819b-4882-a49e-670d4545b492" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_33b15f6f-2789-4cce-b3fd-97af69496d53" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_875c39b2-b1aa-4122-8e05-33f5d5d736e2" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_33b15f6f-2789-4cce-b3fd-97af69496d53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInLoansToFederalHomeLoanBanks_fc1c2cfe-40a8-4ec9-bd8f-f0835be874a5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInLoansToFederalHomeLoanBanks"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_875c39b2-b1aa-4122-8e05-33f5d5d736e2" xlink:to="loc_us-gaap_IncreaseDecreaseInLoansToFederalHomeLoanBanks_fc1c2cfe-40a8-4ec9-bd8f-f0835be874a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivablesUnderRepurchaseAgreements_af28c5fd-4b06-4d65-84bb-5b4a176c4b5c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInReceivablesUnderRepurchaseAgreements"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_875c39b2-b1aa-4122-8e05-33f5d5d736e2" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivablesUnderRepurchaseAgreements_af28c5fd-4b06-4d65-84bb-5b4a176c4b5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_69b08747-fb06-46d5-a801-1d79cb93917e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c05f3bcd-4396-4bf7-884c-515f8bd2f560" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_69b08747-fb06-46d5-a801-1d79cb93917e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c05f3bcd-4396-4bf7-884c-515f8bd2f560" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_92b7b034-73ae-44ef-8491-baffb0e7ddbc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_69b08747-fb06-46d5-a801-1d79cb93917e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_92b7b034-73ae-44ef-8491-baffb0e7ddbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2cf12997-9723-4a44-bd2b-a575e6ff235b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_69b08747-fb06-46d5-a801-1d79cb93917e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2cf12997-9723-4a44-bd2b-a575e6ff235b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/InvestmentSecuritiesInvestmentSecuritiesbyClassificationTypeandMaturityDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#InvestmentSecuritiesInvestmentSecuritiesbyClassificationTypeandMaturityDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/InvestmentSecuritiesInvestmentSecuritiesbyClassificationTypeandMaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_b75e54d0-e233-462d-bd3c-1ecbe976ebc0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_0eaa527e-086c-4430-a63b-124c265cc776" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_b75e54d0-e233-462d-bd3c-1ecbe976ebc0" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_0eaa527e-086c-4430-a63b-124c265cc776" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_9b649b7e-6b9d-44b7-beea-d7e30de60a75" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_b75e54d0-e233-462d-bd3c-1ecbe976ebc0" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_9b649b7e-6b9d-44b7-beea-d7e30de60a75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_872711f9-841a-46b9-9474-91693f0b7be3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_b75e54d0-e233-462d-bd3c-1ecbe976ebc0" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_872711f9-841a-46b9-9474-91693f0b7be3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_60e09541-8d84-4cc7-a304-74c4700086b0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_79968ea2-2278-4565-90c9-adb58a3bb659" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_60e09541-8d84-4cc7-a304-74c4700086b0" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_79968ea2-2278-4565-90c9-adb58a3bb659" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_6071ec2d-fd5a-480d-bcc6-b6c019e48f33" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_60e09541-8d84-4cc7-a304-74c4700086b0" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_6071ec2d-fd5a-480d-bcc6-b6c019e48f33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_2783284c-9097-418c-b713-3be98c65943b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_60e09541-8d84-4cc7-a304-74c4700086b0" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_2783284c-9097-418c-b713-3be98c65943b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/InvestmentSecuritiesContractualMaturitiesDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#InvestmentSecuritiesContractualMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/InvestmentSecuritiesContractualMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_822c349f-944d-4142-ad22-f5f41ea7293c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_4db7479d-e063-4994-9abf-62da613ed866" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_822c349f-944d-4142-ad22-f5f41ea7293c" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_4db7479d-e063-4994-9abf-62da613ed866" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_7e7fa886-505d-495f-92e8-feeb04f671c5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_822c349f-944d-4142-ad22-f5f41ea7293c" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_7e7fa886-505d-495f-92e8-feeb04f671c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_b01bd6a2-3f25-4223-8c52-cf78436e5a2a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateNetCarryingAmount_05e4c647-22ff-426c-8fb3-e9e4aa1ec312" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateNetCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_b01bd6a2-3f25-4223-8c52-cf78436e5a2a" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithoutSingleMaturityDateNetCarryingAmount_05e4c647-22ff-426c-8fb3-e9e4aa1ec312" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_52e81904-5e1b-41b1-92be-fc7175f42d6c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_b01bd6a2-3f25-4223-8c52-cf78436e5a2a" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_52e81904-5e1b-41b1-92be-fc7175f42d6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_cef9878c-49fe-44db-bae2-75411fcb286e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_150ffb84-21cc-40ae-b45d-aae390f97980" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_cef9878c-49fe-44db-bae2-75411fcb286e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_150ffb84-21cc-40ae-b45d-aae390f97980" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_8476360e-2dee-4f0d-9e75-5ad3a63a726b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_cef9878c-49fe-44db-bae2-75411fcb286e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_8476360e-2dee-4f0d-9e75-5ad3a63a726b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_bcc505b7-9a39-48a0-a4f7-6d69b7df65f9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_cef9878c-49fe-44db-bae2-75411fcb286e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_bcc505b7-9a39-48a0-a4f7-6d69b7df65f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_bc627193-9efb-44e3-9c1a-21f20a7c5098" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_cef9878c-49fe-44db-bae2-75411fcb286e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_bc627193-9efb-44e3-9c1a-21f20a7c5098" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_62c6299a-04a8-47bb-a592-3f860fc75a0c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_f28abaa3-11b5-4eb5-a87f-182f4d4c0a21" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_62c6299a-04a8-47bb-a592-3f860fc75a0c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_f28abaa3-11b5-4eb5-a87f-182f4d4c0a21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_117b2125-1a9f-4f1d-b223-0ab01df012e1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_62c6299a-04a8-47bb-a592-3f860fc75a0c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_117b2125-1a9f-4f1d-b223-0ab01df012e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_9f60b5a9-91c7-478a-b51e-9845068d33fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_e9e150b6-4948-43a8-b8a8-eb8be8a1e7c7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_9f60b5a9-91c7-478a-b51e-9845068d33fd" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_e9e150b6-4948-43a8-b8a8-eb8be8a1e7c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_72a2bf43-a2aa-4b95-b1cd-10fadb148c53" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_9f60b5a9-91c7-478a-b51e-9845068d33fd" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_72a2bf43-a2aa-4b95-b1cd-10fadb148c53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_da4aad6d-b9ed-4fc4-955e-c2d589ecf3c8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_9f60b5a9-91c7-478a-b51e-9845068d33fd" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_da4aad6d-b9ed-4fc4-955e-c2d589ecf3c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_c81cd957-fa0b-40db-bff1-ae462cf2e6a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValue_9f60b5a9-91c7-478a-b51e-9845068d33fd" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_c81cd957-fa0b-40db-bff1-ae462cf2e6a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_a4ac15ec-bd91-4b0b-8a30-b2b7f34f25dc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_f534ed5a-9a06-401c-94f0-d50cf413c98f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_a4ac15ec-bd91-4b0b-8a30-b2b7f34f25dc" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_f534ed5a-9a06-401c-94f0-d50cf413c98f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_07eab8b0-c118-4834-b739-e9625441b505" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_a4ac15ec-bd91-4b0b-8a30-b2b7f34f25dc" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_07eab8b0-c118-4834-b739-e9625441b505" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_c37c0945-c62e-4727-923f-8f32925706e1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_a41b288b-d785-403f-b358-94a2903ea7a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_c37c0945-c62e-4727-923f-8f32925706e1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_a41b288b-d785-403f-b358-94a2903ea7a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_98a4c4cf-8895-4a53-b4b7-dfe6056b81ee" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_c37c0945-c62e-4727-923f-8f32925706e1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_98a4c4cf-8895-4a53-b4b7-dfe6056b81ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_a42781b4-66d1-4ad9-a112-a5ea6132f096" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_c37c0945-c62e-4727-923f-8f32925706e1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_a42781b4-66d1-4ad9-a112-a5ea6132f096" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_45117dba-a232-42f9-95bf-07071d511526" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_c37c0945-c62e-4727-923f-8f32925706e1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_45117dba-a232-42f9-95bf-07071d511526" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_1251f67f-d77f-47c2-9a7d-1bbdd7d6c8ff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount_c4306f50-7146-4502-9054-85b25bb430aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_1251f67f-d77f-47c2-9a7d-1bbdd7d6c8ff" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount_c4306f50-7146-4502-9054-85b25bb430aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_9dfd77f0-42ab-43d2-bf89-af4cb742c94e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_1251f67f-d77f-47c2-9a7d-1bbdd7d6c8ff" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_9dfd77f0-42ab-43d2-bf89-af4cb742c94e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_cc22e5e4-64b2-46f6-a601-68c0eff1ac41" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_1251f67f-d77f-47c2-9a7d-1bbdd7d6c8ff" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsNetCarryingAmount_cc22e5e4-64b2-46f6-a601-68c0eff1ac41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount_c73103a7-95f5-473b-b0d0-1c12f99ff4de" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_1251f67f-d77f-47c2-9a7d-1bbdd7d6c8ff" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsNetCarryingAmount_c73103a7-95f5-473b-b0d0-1c12f99ff4de" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#InvestmentSecuritiesUnrealizedLossesDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/InvestmentSecuritiesUnrealizedLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_3f850d62-51bc-471c-8acc-5901d85d834d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_a4970c6f-a819-40a4-a3b8-83334b85148f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_3f850d62-51bc-471c-8acc-5901d85d834d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_a4970c6f-a819-40a4-a3b8-83334b85148f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_e65223fc-92ab-4611-8ccc-157bf1483c8b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_3f850d62-51bc-471c-8acc-5901d85d834d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_e65223fc-92ab-4611-8ccc-157bf1483c8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_6e698373-eedb-4a0b-a80e-eb1608b44f01" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_7666a765-c7fd-45ac-a988-a17da1eb04a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_6e698373-eedb-4a0b-a80e-eb1608b44f01" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_7666a765-c7fd-45ac-a988-a17da1eb04a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_c1626466-1a39-498a-b0c2-2ad8c7b11530" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_6e698373-eedb-4a0b-a80e-eb1608b44f01" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_c1626466-1a39-498a-b0c2-2ad8c7b11530" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/InvestmentSecuritiesRealizedGainsandLossesDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#InvestmentSecuritiesRealizedGainsandLossesDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/InvestmentSecuritiesRealizedGainsandLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_7d35e1f3-fe38-46b3-99ab-0b49eb18014b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_3f929874-248c-4b50-89c6-3ce4bf3975a1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_7d35e1f3-fe38-46b3-99ab-0b49eb18014b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_3f929874-248c-4b50-89c6-3ce4bf3975a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_77978d0d-86bf-4269-ab77-bbe3bf6f66b9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_7d35e1f3-fe38-46b3-99ab-0b49eb18014b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_77978d0d-86bf-4269-ab77-bbe3bf6f66b9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/PremisesandEquipmentDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#PremisesandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/PremisesandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_9e205837-50e3-46ba-90f9-995c18aa8eb8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_d5ab99f8-0ce1-4752-875e-e9f4f25bc016" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_9e205837-50e3-46ba-90f9-995c18aa8eb8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_d5ab99f8-0ce1-4752-875e-e9f4f25bc016" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_9b4ef61b-dba4-4a64-8ac6-9fe0be854bba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_9e205837-50e3-46ba-90f9-995c18aa8eb8" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_9b4ef61b-dba4-4a64-8ac6-9fe0be854bba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/GoodwillandOtherIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#GoodwillandOtherIntangibleAssetsFutureAmortizationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/GoodwillandOtherIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5cf77d48-4218-4e16-acdf-ea429edf125c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_2bf03bf4-dc77-4b8a-aae8-fa9c27d5f2a4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5cf77d48-4218-4e16-acdf-ea429edf125c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_2bf03bf4-dc77-4b8a-aae8-fa9c27d5f2a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_7fd9ab52-e7f8-4cc6-866c-7b269b202cb8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5cf77d48-4218-4e16-acdf-ea429edf125c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_7fd9ab52-e7f8-4cc6-866c-7b269b202cb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_cd620002-b082-494a-80e8-b7e9feafe4ab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5cf77d48-4218-4e16-acdf-ea429edf125c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_cd620002-b082-494a-80e8-b7e9feafe4ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_89865e65-5513-4f36-96f9-59dbff2692a5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5cf77d48-4218-4e16-acdf-ea429edf125c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_89865e65-5513-4f36-96f9-59dbff2692a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_1c9cdc6c-5937-4014-b4b7-3b0a2a83f41a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5cf77d48-4218-4e16-acdf-ea429edf125c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_1c9cdc6c-5937-4014-b4b7-3b0a2a83f41a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_d42b9a4d-5e6e-4c04-a0fc-d606956aaa16" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_5cf77d48-4218-4e16-acdf-ea429edf125c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_d42b9a4d-5e6e-4c04-a0fc-d606956aaa16" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/DepositsComponentsofDepositsDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#DepositsComponentsofDepositsDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/DepositsComponentsofDepositsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits_ef9658a1-1857-43d5-ace1-71a4dac30042" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsTimeDeposits_fcba19b1-9b88-4be9-9303-ff3bf91187ee" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsTimeDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits_ef9658a1-1857-43d5-ace1-71a4dac30042" xlink:to="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsTimeDeposits_fcba19b1-9b88-4be9-9303-ff3bf91187ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsCertificatesOfDeposit_060d4561-fab4-411d-91d9-05ded68e5b6b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsCertificatesOfDeposit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDeposits_ef9658a1-1857-43d5-ace1-71a4dac30042" xlink:to="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsCertificatesOfDeposit_060d4561-fab4-411d-91d9-05ded68e5b6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_7d44d691-e3e2-468b-adde-af340d4e78ef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_2bf78531-3c2b-42c5-b68a-1a7515e28b92" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositTimeDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_7d44d691-e3e2-468b-adde-af340d4e78ef" xlink:to="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_2bf78531-3c2b-42c5-b68a-1a7515e28b92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits_a938c38c-9ef4-482e-a75e-b600b0168996" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_7d44d691-e3e2-468b-adde-af340d4e78ef" xlink:to="loc_us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits_a938c38c-9ef4-482e-a75e-b600b0168996" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsTimeDeposits_9f181493-55eb-476e-b5c0-c7fdbbb4b54c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsTimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_PercentageOfNoninterestBearingDomesticDepositDemand_c030dabd-5eac-4427-bf8b-e917c14ab06d" xlink:href="hfwa-20211231.xsd#hfwa_PercentageOfNoninterestBearingDomesticDepositDemand"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsTimeDeposits_9f181493-55eb-476e-b5c0-c7fdbbb4b54c" xlink:to="loc_hfwa_PercentageOfNoninterestBearingDomesticDepositDemand_c030dabd-5eac-4427-bf8b-e917c14ab06d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsDemand_b3dd0726-6e4b-4a51-8ee2-3665f859add1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsDemand"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsTimeDeposits_9f181493-55eb-476e-b5c0-c7fdbbb4b54c" xlink:to="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsDemand_b3dd0726-6e4b-4a51-8ee2-3665f859add1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsMoneyMarket_fd798691-e506-4e03-b434-a5df0bf74481" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsMoneyMarket"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsTimeDeposits_9f181493-55eb-476e-b5c0-c7fdbbb4b54c" xlink:to="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsMoneyMarket_fd798691-e506-4e03-b434-a5df0bf74481" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsSavings_0878c623-948d-4e64-be8b-d50cf2cf5d43" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsSavings"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsTimeDeposits_9f181493-55eb-476e-b5c0-c7fdbbb4b54c" xlink:to="loc_us-gaap_PercentageOfInterestBearingDomesticDepositsToDepositsSavings_0878c623-948d-4e64-be8b-d50cf2cf5d43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_bb6a2335-9584-471a-9733-0ad08d7bd4b6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositTimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDomesticDepositDemand_98f4e6fc-8470-481d-945d-91dbb30e2e9a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestBearingDomesticDepositDemand"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_bb6a2335-9584-471a-9733-0ad08d7bd4b6" xlink:to="loc_us-gaap_NoninterestBearingDomesticDepositDemand_98f4e6fc-8470-481d-945d-91dbb30e2e9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositDemand_3b607561-1da2-4352-8a11-d8d18dd589db" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositDemand"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_bb6a2335-9584-471a-9733-0ad08d7bd4b6" xlink:to="loc_us-gaap_InterestBearingDomesticDepositDemand_3b607561-1da2-4352-8a11-d8d18dd589db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_5d3b46f6-3e29-4ebb-8863-287f35eef845" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositMoneyMarket"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_bb6a2335-9584-471a-9733-0ad08d7bd4b6" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_5d3b46f6-3e29-4ebb-8863-287f35eef845" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositSavings_d779dde9-e8d8-41fb-b23f-83b12281b773" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositSavings"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_bb6a2335-9584-471a-9733-0ad08d7bd4b6" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_d779dde9-e8d8-41fb-b23f-83b12281b773" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/DepositsScheduleofInterestExpensebyCategoryDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#DepositsScheduleofInterestExpensebyCategoryDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/DepositsScheduleofInterestExpensebyCategoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_5894ad51-3ecd-46e9-a9ba-635f0230c71b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDemandDepositAccounts_3fe66b29-1fb4-486a-bcbb-88e60ffd49a4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDemandDepositAccounts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_5894ad51-3ecd-46e9-a9ba-635f0230c71b" xlink:to="loc_us-gaap_InterestExpenseDemandDepositAccounts_3fe66b29-1fb4-486a-bcbb-88e60ffd49a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseMoneyMarketDeposits_0361af43-f253-43dd-b46f-1725d0fb10da" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseMoneyMarketDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_5894ad51-3ecd-46e9-a9ba-635f0230c71b" xlink:to="loc_us-gaap_InterestExpenseMoneyMarketDeposits_0361af43-f253-43dd-b46f-1725d0fb10da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSavingsDeposits_f6134567-d5a3-476a-953d-999f7ea11d9d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseSavingsDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_5894ad51-3ecd-46e9-a9ba-635f0230c71b" xlink:to="loc_us-gaap_InterestExpenseSavingsDeposits_f6134567-d5a3-476a-953d-999f7ea11d9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesCertificatesOfDeposit_385c8aed-f0b3-455f-92da-fe2e38096ba8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDomesticDepositLiabilitiesCertificatesOfDeposit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_5894ad51-3ecd-46e9-a9ba-635f0230c71b" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesCertificatesOfDeposit_385c8aed-f0b3-455f-92da-fe2e38096ba8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/DepositsScheduleofMaturitiesDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#DepositsScheduleofMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/DepositsScheduleofMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits_75bc22a8-611f-426a-bea0-f93e3316e421" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesAfterNextRollingTwelveMonths_d0b0558e-df9e-4e6a-874b-cde4ddbffca2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesAfterNextRollingTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits_75bc22a8-611f-426a-bea0-f93e3316e421" xlink:to="loc_us-gaap_TimeDepositMaturitiesAfterNextRollingTwelveMonths_d0b0558e-df9e-4e6a-874b-cde4ddbffca2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRollingYearTwo_3c9015dc-1306-430a-a4ed-c81dbc5d651c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesRollingYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits_75bc22a8-611f-426a-bea0-f93e3316e421" xlink:to="loc_us-gaap_TimeDepositMaturitiesRollingYearTwo_3c9015dc-1306-430a-a4ed-c81dbc5d651c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRollingYearThree_bb618350-9528-4618-b482-65e24500209d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesRollingYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits_75bc22a8-611f-426a-bea0-f93e3316e421" xlink:to="loc_us-gaap_TimeDepositMaturitiesRollingYearThree_bb618350-9528-4618-b482-65e24500209d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRollingYearFour_de8ba44b-e719-4a48-b03c-6ee6aaf523d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesRollingYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits_75bc22a8-611f-426a-bea0-f93e3316e421" xlink:to="loc_us-gaap_TimeDepositMaturitiesRollingYearFour_de8ba44b-e719-4a48-b03c-6ee6aaf523d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRollingYearFive_4dfc99e0-6685-40e1-b4a7-1dfade66b785" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesRollingYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositCertificatesOfDeposits_75bc22a8-611f-426a-bea0-f93e3316e421" xlink:to="loc_us-gaap_TimeDepositMaturitiesRollingYearFive_4dfc99e0-6685-40e1-b4a7-1dfade66b785" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/LeasesLeaseCostDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#LeasesLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/LeasesLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_5cd03ad7-0b5b-45ab-97db-3562471dc02c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_8aa41772-d218-4d8b-8662-6cded4b8bffe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_5cd03ad7-0b5b-45ab-97db-3562471dc02c" xlink:to="loc_us-gaap_VariableLeaseCost_8aa41772-d218-4d8b-8662-6cded4b8bffe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_e5b14f8b-8450-43a0-ae43-3ae3d7817500" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_5cd03ad7-0b5b-45ab-97db-3562471dc02c" xlink:to="loc_us-gaap_OperatingLeaseCost_e5b14f8b-8450-43a0-ae43-3ae3d7817500" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_2d794fac-5362-4aa9-8591-03441ff5adf7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubleaseIncome"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_5cd03ad7-0b5b-45ab-97db-3562471dc02c" xlink:to="loc_us-gaap_SubleaseIncome_2d794fac-5362-4aa9-8591-03441ff5adf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_479c6fd4-d705-493a-bb47-7433226afc94" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_5cd03ad7-0b5b-45ab-97db-3562471dc02c" xlink:to="loc_us-gaap_ShortTermLeaseCost_479c6fd4-d705-493a-bb47-7433226afc94" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/LeasesLeasePaymentObligationsDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#LeasesLeasePaymentObligationsDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/LeasesLeasePaymentObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_b132b1cc-f26a-4682-985a-014e03bb2c96" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_cefb13d0-9197-4466-bc08-02fc08418163" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_b132b1cc-f26a-4682-985a-014e03bb2c96" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_cefb13d0-9197-4466-bc08-02fc08418163" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_78dfc897-81de-4935-b2a7-3e29c39a21e9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_b132b1cc-f26a-4682-985a-014e03bb2c96" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_78dfc897-81de-4935-b2a7-3e29c39a21e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_f59bc612-ae35-44f8-bbf9-c698cfd8de95" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_b132b1cc-f26a-4682-985a-014e03bb2c96" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_f59bc612-ae35-44f8-bbf9-c698cfd8de95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_782a2136-a45a-4f28-9ef8-469df6a88939" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_b132b1cc-f26a-4682-985a-014e03bb2c96" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_782a2136-a45a-4f28-9ef8-469df6a88939" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_ea823480-b610-4872-b64d-350c2b847880" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_b132b1cc-f26a-4682-985a-014e03bb2c96" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_ea823480-b610-4872-b64d-350c2b847880" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_ea532086-df10-495d-8bbb-73589e5b3a15" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_b132b1cc-f26a-4682-985a-014e03bb2c96" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_ea532086-df10-495d-8bbb-73589e5b3a15" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/LeasesLeasePaymentObligationsDetails_1" xlink:type="simple" xlink:href="hfwa-20211231.xsd#LeasesLeasePaymentObligationsDetails_1"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/LeasesLeasePaymentObligationsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_99d42914-0495-428c-8c38-32c9487d7194" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_b45b4b53-57d7-43b6-b220-11975f536a65" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_99d42914-0495-428c-8c38-32c9487d7194" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_b45b4b53-57d7-43b6-b220-11975f536a65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_04abc44d-4f2f-4842-b4b8-947c9468531a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_99d42914-0495-428c-8c38-32c9487d7194" xlink:to="loc_us-gaap_OperatingLeaseLiability_04abc44d-4f2f-4842-b4b8-947c9468531a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/StockholdersEquityReconciliationofWeightedAverageSharesDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#StockholdersEquityReconciliationofWeightedAverageSharesDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/StockholdersEquityReconciliationofWeightedAverageSharesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e02b8a5a-63a7-44b4-800d-40052bee39f4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_GrossWeightedAverageNumberOfSharesOutstandingBasic_c042e8c7-e133-49e8-b95e-a05d660abb23" xlink:href="hfwa-20211231.xsd#hfwa_GrossWeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e02b8a5a-63a7-44b4-800d-40052bee39f4" xlink:to="loc_hfwa_GrossWeightedAverageNumberOfSharesOutstandingBasic_c042e8c7-e133-49e8-b95e-a05d660abb23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesRestrictedStock_6b26f4c5-c062-4be8-ab2d-5259221695bf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesRestrictedStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e02b8a5a-63a7-44b4-800d-40052bee39f4" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesRestrictedStock_6b26f4c5-c062-4be8-ab2d-5259221695bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsDiluted_2ecc07ac-198b-4522-8bb6-bf58a0c0456c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UndistributedEarningsDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_47df5796-aca0-41c9-a5f5-2bdbd4152fc9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UndistributedEarningsDiluted_2ecc07ac-198b-4522-8bb6-bf58a0c0456c" xlink:to="loc_us-gaap_NetIncomeLoss_47df5796-aca0-41c9-a5f5-2bdbd4152fc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_DividendsAndUndistributedEarnings_67c9e7bd-5aa6-45a7-9ed3-fff5bf9bf968" xlink:href="hfwa-20211231.xsd#hfwa_DividendsAndUndistributedEarnings"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UndistributedEarningsDiluted_2ecc07ac-198b-4522-8bb6-bf58a0c0456c" xlink:to="loc_hfwa_DividendsAndUndistributedEarnings_67c9e7bd-5aa6-45a7-9ed3-fff5bf9bf968" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_72a6f76c-5b94-4a32-8ef9-12d2e97463ca" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_0d498b90-5c04-4151-9f8e-cbd6444c5ae8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_72a6f76c-5b94-4a32-8ef9-12d2e97463ca" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_0d498b90-5c04-4151-9f8e-cbd6444c5ae8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_88fac40d-9df3-4c55-8cba-a2d6a33d6c5b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_72a6f76c-5b94-4a32-8ef9-12d2e97463ca" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_88fac40d-9df3-4c55-8cba-a2d6a33d6c5b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/IncomeTaxesComponentsofIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#IncomeTaxesComponentsofIncomeTaxExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/IncomeTaxesComponentsofIncomeTaxExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_59c9cba7-8f53-4888-82f7-10a465c9b5cc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_990cc235-f2a2-47ef-a8b0-75adc851ffdc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_59c9cba7-8f53-4888-82f7-10a465c9b5cc" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_990cc235-f2a2-47ef-a8b0-75adc851ffdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_ce644218-2a57-4384-aced-f44934b54be7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_59c9cba7-8f53-4888-82f7-10a465c9b5cc" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_ce644218-2a57-4384-aced-f44934b54be7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/IncomeTaxesReconciliationofEffectiveIncomeTaxDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#IncomeTaxesReconciliationofEffectiveIncomeTaxDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/IncomeTaxesReconciliationofEffectiveIncomeTaxDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_362673c7-b08a-4287-8d39-5544c38142b7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCredits_fb17dcd3-c7df-4978-bd29-7a799179e906" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxCredits"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_362673c7-b08a-4287-8d39-5544c38142b7" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCredits_fb17dcd3-c7df-4978-bd29-7a799179e906" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_IncomeTaxReconciliationBankOwnedLifeInsuranceTaxFeeIncome_5b6d558b-4852-4b1c-b9d7-bfbee55f802d" xlink:href="hfwa-20211231.xsd#hfwa_IncomeTaxReconciliationBankOwnedLifeInsuranceTaxFeeIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_362673c7-b08a-4287-8d39-5544c38142b7" xlink:to="loc_hfwa_IncomeTaxReconciliationBankOwnedLifeInsuranceTaxFeeIncome_5b6d558b-4852-4b1c-b9d7-bfbee55f802d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_RecognizedTaxBenefit_894696ea-7717-4c62-974e-cd6ba395c453" xlink:href="hfwa-20211231.xsd#hfwa_RecognizedTaxBenefit"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_362673c7-b08a-4287-8d39-5544c38142b7" xlink:to="loc_hfwa_RecognizedTaxBenefit_894696ea-7717-4c62-974e-cd6ba395c453" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_ef9dd90b-b882-4d54-9010-39e302dc9071" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_362673c7-b08a-4287-8d39-5544c38142b7" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_ef9dd90b-b882-4d54-9010-39e302dc9071" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_1a9d627c-9195-4015-9bbd-3a4a5d28251f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_362673c7-b08a-4287-8d39-5544c38142b7" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_1a9d627c-9195-4015-9bbd-3a4a5d28251f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_378cfeb7-051e-4496-b31d-c0c69777503f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_362673c7-b08a-4287-8d39-5544c38142b7" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_378cfeb7-051e-4496-b31d-c0c69777503f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_ed339290-1f35-4817-b4cc-74aa66bbd0c3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_362673c7-b08a-4287-8d39-5544c38142b7" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_ed339290-1f35-4817-b4cc-74aa66bbd0c3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/IncomeTaxesDeferredIncomeTaxAssetLiabilityDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#IncomeTaxesDeferredIncomeTaxAssetLiabilityDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/IncomeTaxesDeferredIncomeTaxAssetLiabilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_85f06818-dc73-4ddc-acef-6a792dda8153" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_febfbcce-3008-486a-a37d-6414a8c7f704" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_85f06818-dc73-4ddc-acef-6a792dda8153" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_febfbcce-3008-486a-a37d-6414a8c7f704" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_b95e145e-6ee1-4e04-ad2b-3e63770f095f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_85f06818-dc73-4ddc-acef-6a792dda8153" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities_b95e145e-6ee1-4e04-ad2b-3e63770f095f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_ca940ba2-3892-471d-8693-d09a905bb02c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_85f06818-dc73-4ddc-acef-6a792dda8153" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_ca940ba2-3892-471d-8693-d09a905bb02c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_DeferredTaxAssetsMarketDiscountonLoans_cd2799c7-bf40-470b-b7c9-f3a06e05daaf" xlink:href="hfwa-20211231.xsd#hfwa_DeferredTaxAssetsMarketDiscountonLoans"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_85f06818-dc73-4ddc-acef-6a792dda8153" xlink:to="loc_hfwa_DeferredTaxAssetsMarketDiscountonLoans_cd2799c7-bf40-470b-b7c9-f3a06e05daaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_DeferredTaxAssetsForegoneInterestonNonaccrualLoans_ec900ef0-3c44-4211-bdd1-a3d7fe047442" xlink:href="hfwa-20211231.xsd#hfwa_DeferredTaxAssetsForegoneInterestonNonaccrualLoans"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_85f06818-dc73-4ddc-acef-6a792dda8153" xlink:to="loc_hfwa_DeferredTaxAssetsForegoneInterestonNonaccrualLoans_ec900ef0-3c44-4211-bdd1-a3d7fe047442" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_48a0dec0-8fe6-46a7-9024-91bbcec15511" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_85f06818-dc73-4ddc-acef-6a792dda8153" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_48a0dec0-8fe6-46a7-9024-91bbcec15511" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_DeferredTaxAssetsRightofUseLiability_4ad0a467-c0e2-418a-8fe6-3f3550be7d76" xlink:href="hfwa-20211231.xsd#hfwa_DeferredTaxAssetsRightofUseLiability"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_85f06818-dc73-4ddc-acef-6a792dda8153" xlink:to="loc_hfwa_DeferredTaxAssetsRightofUseLiability_4ad0a467-c0e2-418a-8fe6-3f3550be7d76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_e7415144-dc72-429b-8971-affce2a982ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_85f06818-dc73-4ddc-acef-6a792dda8153" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_e7415144-dc72-429b-8971-affce2a982ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_4ad64f03-dc07-4408-b38c-d7ce8e85f40a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_a0bf6f4e-611b-485b-98d5-9d06bae0733c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_4ad64f03-dc07-4408-b38c-d7ce8e85f40a" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_a0bf6f4e-611b-485b-98d5-9d06bae0733c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_6f9e985d-88a3-4592-8936-39b6de72530e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_4ad64f03-dc07-4408-b38c-d7ce8e85f40a" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_6f9e985d-88a3-4592-8936-39b6de72530e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_c978d71d-335f-4361-9bc4-0bb289600084" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_DeferredTaxLiabilitiesDeferredLoanFees_8f0b4f26-bee4-45e5-a224-9fd60040ef84" xlink:href="hfwa-20211231.xsd#hfwa_DeferredTaxLiabilitiesDeferredLoanFees"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c978d71d-335f-4361-9bc4-0bb289600084" xlink:to="loc_hfwa_DeferredTaxLiabilitiesDeferredLoanFees_8f0b4f26-bee4-45e5-a224-9fd60040ef84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_528dd5e9-72bf-40d5-84cc-4c7d94d8b11e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c978d71d-335f-4361-9bc4-0bb289600084" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_528dd5e9-72bf-40d5-84cc-4c7d94d8b11e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_DeferredTaxLiabilitiesFHLBandFRBStock_a9ac5352-1537-42b3-aa0d-1acad15ff8b5" xlink:href="hfwa-20211231.xsd#hfwa_DeferredTaxLiabilitiesFHLBandFRBStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c978d71d-335f-4361-9bc4-0bb289600084" xlink:to="loc_hfwa_DeferredTaxLiabilitiesFHLBandFRBStock_a9ac5352-1537-42b3-aa0d-1acad15ff8b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_7762fce7-42a8-44a3-bb1a-d13f1a86e9a7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c978d71d-335f-4361-9bc4-0bb289600084" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_7762fce7-42a8-44a3-bb1a-d13f1a86e9a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_DeferredTaxLiabilitiesTaxCredits_f78d435f-f105-4a5a-b8f6-e5068382d8ae" xlink:href="hfwa-20211231.xsd#hfwa_DeferredTaxLiabilitiesTaxCredits"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c978d71d-335f-4361-9bc4-0bb289600084" xlink:to="loc_hfwa_DeferredTaxLiabilitiesTaxCredits_f78d435f-f105-4a5a-b8f6-e5068382d8ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_DeferredTaxLiabilitiesBusinessCombinationJuniorSubordinatedDebentures_a802c171-ee30-4a78-85c8-5ca549042a49" xlink:href="hfwa-20211231.xsd#hfwa_DeferredTaxLiabilitiesBusinessCombinationJuniorSubordinatedDebentures"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c978d71d-335f-4361-9bc4-0bb289600084" xlink:to="loc_hfwa_DeferredTaxLiabilitiesBusinessCombinationJuniorSubordinatedDebentures_a802c171-ee30-4a78-85c8-5ca549042a49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_9fcdec0d-8110-4bdc-95d8-6ae58d690f20" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c978d71d-335f-4361-9bc4-0bb289600084" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_9fcdec0d-8110-4bdc-95d8-6ae58d690f20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_DeferredTaxLiabilitiesRightofUseAsset_23afd107-5dc5-429d-9244-6b8e7c346fb1" xlink:href="hfwa-20211231.xsd#hfwa_DeferredTaxLiabilitiesRightofUseAsset"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c978d71d-335f-4361-9bc4-0bb289600084" xlink:to="loc_hfwa_DeferredTaxLiabilitiesRightofUseAsset_23afd107-5dc5-429d-9244-6b8e7c346fb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_DeferredTaxLiabilitiesNetUnrealizedGainsChargedtoOtherComprehensiveIncomeonSecurities_09694e7c-b8b8-4f33-a652-939ed1cc6b1b" xlink:href="hfwa-20211231.xsd#hfwa_DeferredTaxLiabilitiesNetUnrealizedGainsChargedtoOtherComprehensiveIncomeonSecurities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_c978d71d-335f-4361-9bc4-0bb289600084" xlink:to="loc_hfwa_DeferredTaxLiabilitiesNetUnrealizedGainsChargedtoOtherComprehensiveIncomeonSecurities_09694e7c-b8b8-4f33-a652-939ed1cc6b1b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/HeritageFinancialCorporationParentCompanyOnlyCondensedStatementsofFinancialConditionDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#HeritageFinancialCorporationParentCompanyOnlyCondensedStatementsofFinancialConditionDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/HeritageFinancialCorporationParentCompanyOnlyCondensedStatementsofFinancialConditionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_0b24c003-7641-4dac-805e-20aeccf4313e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashEquivalentsAtCarryingValue_2b262612-b67c-43a1-8de4-4b0ed11e2524" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_0b24c003-7641-4dac-805e-20aeccf4313e" xlink:to="loc_us-gaap_CashEquivalentsAtCarryingValue_2b262612-b67c-43a1-8de4-4b0ed11e2524" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_9fbaeb83-0bfe-40d7-8981-f4e2ff68d723" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_0b24c003-7641-4dac-805e-20aeccf4313e" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_9fbaeb83-0bfe-40d7-8981-f4e2ff68d723" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_14e3b624-54d0-4dc1-a3ef-b8d2adb09734" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_0b24c003-7641-4dac-805e-20aeccf4313e" xlink:to="loc_us-gaap_OtherAssets_14e3b624-54d0-4dc1-a3ef-b8d2adb09734" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/HeritageFinancialCorporationParentCompanyOnlyCondensedStatementsofIncomeDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#HeritageFinancialCorporationParentCompanyOnlyCondensedStatementsofIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/HeritageFinancialCorporationParentCompanyOnlyCondensedStatementsofIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_e4cb44ed-fc87-4150-b848-68f05fb2e2bd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperating_38072eca-4164-4103-8a48-18422a4e3430" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_e4cb44ed-fc87-4150-b848-68f05fb2e2bd" xlink:to="loc_us-gaap_DividendIncomeOperating_38072eca-4164-4103-8a48-18422a4e3430" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_EquityinUndistributedIncomeofSubsidiaries_9ed079be-cd7f-4723-b66e-9e74931e5fdd" xlink:href="hfwa-20211231.xsd#hfwa_EquityinUndistributedIncomeofSubsidiaries"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_e4cb44ed-fc87-4150-b848-68f05fb2e2bd" xlink:to="loc_hfwa_EquityinUndistributedIncomeofSubsidiaries_9ed079be-cd7f-4723-b66e-9e74931e5fdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOther_7fac5975-d943-4fe6-b2ed-1a91e5c3af34" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncomeOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_e4cb44ed-fc87-4150-b848-68f05fb2e2bd" xlink:to="loc_us-gaap_NoninterestIncomeOther_7fac5975-d943-4fe6-b2ed-1a91e5c3af34" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.hf-wa.com/role/HeritageFinancialCorporationParentCompanyOnlyCondensedStatementsofCashFlowsDetails" xlink:type="simple" xlink:href="hfwa-20211231.xsd#HeritageFinancialCorporationParentCompanyOnlyCondensedStatementsofCashFlowsDetails"/>
  <link:calculationLink xlink:role="http://www.hf-wa.com/role/HeritageFinancialCorporationParentCompanyOnlyCondensedStatementsofCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cd6a9d46-d792-4ea4-914f-287d0523b6ca" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_4471b4cc-e915-4067-9a72-067bc4b5dadc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cd6a9d46-d792-4ea4-914f-287d0523b6ca" xlink:to="loc_us-gaap_NetIncomeLoss_4471b4cc-e915-4067-9a72-067bc4b5dadc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hfwa_EquityinUndistributedIncomeofSubsidiaries_8ef3fe88-892c-4062-96f4-c0564f528538" xlink:href="hfwa-20211231.xsd#hfwa_EquityinUndistributedIncomeofSubsidiaries"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cd6a9d46-d792-4ea4-914f-287d0523b6ca" xlink:to="loc_hfwa_EquityinUndistributedIncomeofSubsidiaries_8ef3fe88-892c-4062-96f4-c0564f528538" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_ed1bda20-e692-49e7-8bcf-51b7a74946e0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeBenefitsAndShareBasedCompensation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cd6a9d46-d792-4ea4-914f-287d0523b6ca" xlink:to="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_ed1bda20-e692-49e7-8bcf-51b7a74946e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet_8b4f8960-b481-45ae-9f61-a6fcac833943" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cd6a9d46-d792-4ea4-914f-287d0523b6ca" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssetsAndLiabilitiesNet_8b4f8960-b481-45ae-9f61-a6fcac833943" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
