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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019edbeb-7d9f-755a-8cf2-945f91e8791f,g:b1e1ef0e-e163-4aa3-8281-b3b8a16047ca-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="hasi-20260630.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-794c-a85b-7a533eaa0c66" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019edbeb-8042-741b-a49f-8b14d7a0b58a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-794c-a85b-7a533eaa0c66" xlink:to="loc_us-gaap_PreferredStockValue_019edbeb-8042-741b-a49f-8b14d7a0b58a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019edbeb-8042-7893-a866-2b78441889f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-794c-a85b-7a533eaa0c66" xlink:to="loc_us-gaap_CommonStockValue_019edbeb-8042-7893-a866-2b78441889f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019edbeb-8042-768a-9fd1-70a16f8f63a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-794c-a85b-7a533eaa0c66" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019edbeb-8042-768a-9fd1-70a16f8f63a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019edbeb-8042-75f7-bafa-745dbdd54947" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-794c-a85b-7a533eaa0c66" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019edbeb-8042-75f7-bafa-745dbdd54947" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019edbeb-8042-7a80-b9ba-fb319641c5c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-794c-a85b-7a533eaa0c66" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019edbeb-8042-7a80-b9ba-fb319641c5c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019edbeb-8042-7379-8b40-69122a4ef7f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-794c-a85b-7a533eaa0c66" xlink:to="loc_us-gaap_MinorityInterest_019edbeb-8042-7379-8b40-69122a4ef7f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019edbeb-8042-7246-850f-aa0c1640a1bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_019edbeb-8042-7389-948e-315278798c16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019edbeb-8042-7246-850f-aa0c1640a1bf" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_019edbeb-8042-7389-948e-315278798c16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019edbeb-8042-7404-8443-8124bad60ae7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCredit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019edbeb-8042-7246-850f-aa0c1640a1bf" xlink:to="loc_us-gaap_LineOfCredit_019edbeb-8042-7404-8443-8124bad60ae7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPaper_019edbeb-8042-756a-9c3b-6f6efe23d754" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPaper"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019edbeb-8042-7246-850f-aa0c1640a1bf" xlink:to="loc_us-gaap_CommercialPaper_019edbeb-8042-756a-9c3b-6f6efe23d754" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayable_019edbeb-8042-7060-92a6-fd6467aa87cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansPayable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019edbeb-8042-7246-850f-aa0c1640a1bf" xlink:to="loc_us-gaap_LoansPayable_019edbeb-8042-7060-92a6-fd6467aa87cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_019edbeb-8042-7a0e-8a5d-930a6c77a75a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019edbeb-8042-7246-850f-aa0c1640a1bf" xlink:to="loc_us-gaap_SecuredDebt_019edbeb-8042-7a0e-8a5d-930a6c77a75a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleNotesPayable_019edbeb-8042-74a0-8e3c-ea98edadf19d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConvertibleNotesPayable"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019edbeb-8042-7246-850f-aa0c1640a1bf" xlink:to="loc_us-gaap_ConvertibleNotesPayable_019edbeb-8042-74a0-8e3c-ea98edadf19d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotes_019edbeb-8042-734b-9e55-9bea07cb5f12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotes"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019edbeb-8042-7246-850f-aa0c1640a1bf" xlink:to="loc_us-gaap_SeniorNotes_019edbeb-8042-734b-9e55-9bea07cb5f12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_JuniorSubordinatedNotes_019edbeb-8042-7847-86c4-00f57421352e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_JuniorSubordinatedNotes"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019edbeb-8042-7246-850f-aa0c1640a1bf" xlink:to="loc_us-gaap_JuniorSubordinatedNotes_019edbeb-8042-7847-86c4-00f57421352e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019edbeb-8042-7894-b96a-65b1d5bbefaf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019edbeb-8042-7954-866c-cd3d4e5a8017" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019edbeb-8042-7894-b96a-65b1d5bbefaf" xlink:to="loc_us-gaap_Liabilities_019edbeb-8042-7954-866c-cd3d4e5a8017" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-7855-b6ac-fbe90057465c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019edbeb-8042-7894-b96a-65b1d5bbefaf" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-7855-b6ac-fbe90057465c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019edbeb-8042-7adf-a372-cd13277f5c80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019edbeb-8042-73c8-a059-ef7da044454a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019edbeb-8042-7adf-a372-cd13277f5c80" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019edbeb-8042-73c8-a059-ef7da044454a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019edbeb-8042-7c93-af01-d16667c8dd29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019edbeb-8042-7adf-a372-cd13277f5c80" xlink:to="loc_us-gaap_EquityMethodInvestments_019edbeb-8042-7c93-af01-d16667c8dd29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_019edbeb-8042-776e-9a00-b2fdbc486467" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019edbeb-8042-7adf-a372-cd13277f5c80" xlink:to="loc_us-gaap_NotesReceivableNet_019edbeb-8042-776e-9a00-b2fdbc486467" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeReceivablesHeldForSaleNetNotPartOfDisposalGroup_019edbeb-8042-7d36-ab2c-fd6aee55b6c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TradeReceivablesHeldForSaleNetNotPartOfDisposalGroup"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019edbeb-8042-7adf-a372-cd13277f5c80" xlink:to="loc_us-gaap_TradeReceivablesHeldForSaleNetNotPartOfDisposalGroup_019edbeb-8042-7d36-ab2c-fd6aee55b6c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_RealEstateAndDebtSecurities_019edbeb-8042-75dd-add1-58fd25a34573" xlink:href="hasi-20260630.xsd#hasi_RealEstateAndDebtSecurities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019edbeb-8042-7adf-a372-cd13277f5c80" xlink:to="loc_hasi_RealEstateAndDebtSecurities_019edbeb-8042-75dd-add1-58fd25a34573" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableFromSecuritization_019edbeb-8042-72bc-ad98-337ec8095647" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableFromSecuritization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019edbeb-8042-7adf-a372-cd13277f5c80" xlink:to="loc_us-gaap_AccountsReceivableFromSecuritization_019edbeb-8042-72bc-ad98-337ec8095647" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019edbeb-8042-7210-bf19-6d47a9c1edd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019edbeb-8042-7adf-a372-cd13277f5c80" xlink:to="loc_us-gaap_OtherAssets_019edbeb-8042-7210-bf19-6d47a9c1edd7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="hasi-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019edbeb-8042-77e2-a230-100f1e6e6b05" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Revenues"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_InterestAndRentalIncome_019edbeb-8042-7e14-b6fb-26d158946147" xlink:href="hasi-20260630.xsd#hasi_InterestAndRentalIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_019edbeb-8042-77e2-a230-100f1e6e6b05" xlink:to="loc_hasi_InterestAndRentalIncome_019edbeb-8042-7e14-b6fb-26d158946147" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_019edbeb-8042-7343-ad2d-e19c4502b7dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_019edbeb-8042-77e2-a230-100f1e6e6b05" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_019edbeb-8042-7343-ad2d-e19c4502b7dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_ManagementFeesAndRetainedInterestIncome_019edbeb-8042-7abc-8c23-4a1f1721c1cd" xlink:href="hasi-20260630.xsd#hasi_ManagementFeesAndRetainedInterestIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_019edbeb-8042-77e2-a230-100f1e6e6b05" xlink:to="loc_hasi_ManagementFeesAndRetainedInterestIncome_019edbeb-8042-7abc-8c23-4a1f1721c1cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_OriginationFeeAndOtherIncome_019edbeb-8042-7061-a7e8-008e2344e2f2" xlink:href="hasi-20260630.xsd#hasi_OriginationFeeAndOtherIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_019edbeb-8042-77e2-a230-100f1e6e6b05" xlink:to="loc_hasi_OriginationFeeAndOtherIncome_019edbeb-8042-7061-a7e8-008e2344e2f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019edbeb-8042-715c-ba50-8a6ce79f3644" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019edbeb-8042-7cc5-a2e7-a8444d341c7a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019edbeb-8042-715c-ba50-8a6ce79f3644" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019edbeb-8042-7cc5-a2e7-a8444d341c7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019edbeb-8042-7caf-b3e7-45d070b109ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019edbeb-8042-715c-ba50-8a6ce79f3644" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019edbeb-8042-7caf-b3e7-45d070b109ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019edbeb-8042-7472-8994-01ba6a4c8f22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019edbeb-8042-7021-bd2f-f31880540622" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019edbeb-8042-7472-8994-01ba6a4c8f22" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019edbeb-8042-7021-bd2f-f31880540622" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019edbeb-8042-7739-88b4-414a9b4592d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019edbeb-8042-7472-8994-01ba6a4c8f22" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019edbeb-8042-7739-88b4-414a9b4592d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_OperatingAndNonOperatingExpenses_019edbeb-8042-7de0-9afb-8577d9e17c5f" xlink:href="hasi-20260630.xsd#hasi_OperatingAndNonOperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_019edbeb-8042-7999-ad32-bffaf65c4201" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_hasi_OperatingAndNonOperatingExpenses_019edbeb-8042-7de0-9afb-8577d9e17c5f" xlink:to="loc_us-gaap_InterestExpense_019edbeb-8042-7999-ad32-bffaf65c4201" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_ProvisionBenefitForLossOnReceivablesAndRetainedInterestsInSecuritizationTrusts_019edbeb-8042-7bbe-91f7-b0a598ecb539" xlink:href="hasi-20260630.xsd#hasi_ProvisionBenefitForLossOnReceivablesAndRetainedInterestsInSecuritizationTrusts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_hasi_OperatingAndNonOperatingExpenses_019edbeb-8042-7de0-9afb-8577d9e17c5f" xlink:to="loc_hasi_ProvisionBenefitForLossOnReceivablesAndRetainedInterestsInSecuritizationTrusts_019edbeb-8042-7bbe-91f7-b0a598ecb539" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_019edbeb-8042-7385-8646-12bce2432fcd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_hasi_OperatingAndNonOperatingExpenses_019edbeb-8042-7de0-9afb-8577d9e17c5f" xlink:to="loc_us-gaap_LaborAndRelatedExpense_019edbeb-8042-7385-8646-12bce2432fcd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019edbeb-8042-7ce5-87e8-9f8e3da505e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_hasi_OperatingAndNonOperatingExpenses_019edbeb-8042-7de0-9afb-8577d9e17c5f" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019edbeb-8042-7ce5-87e8-9f8e3da505e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019edbeb-8042-75a3-9e40-46506585275c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019edbeb-8042-7966-8fae-5cee77f0db9f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019edbeb-8042-75a3-9e40-46506585275c" xlink:to="loc_us-gaap_Revenues_019edbeb-8042-7966-8fae-5cee77f0db9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_OperatingAndNonOperatingExpenses_019edbeb-8042-7166-8e70-b53fa56a6422" xlink:href="hasi-20260630.xsd#hasi_OperatingAndNonOperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019edbeb-8042-75a3-9e40-46506585275c" xlink:to="loc_hasi_OperatingAndNonOperatingExpenses_019edbeb-8042-7166-8e70-b53fa56a6422" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019edbeb-8042-7474-948b-31d92bb6ecd0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019edbeb-8042-76e3-a733-aecda5deca0c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019edbeb-8042-7474-948b-31d92bb6ecd0" xlink:to="loc_us-gaap_ProfitLoss_019edbeb-8042-76e3-a733-aecda5deca0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019edbeb-8042-7132-9124-27326ed82030" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019edbeb-8042-7474-948b-31d92bb6ecd0" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019edbeb-8042-7132-9124-27326ed82030" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="hasi-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019edbeb-8042-7deb-9a76-0a368ff0421d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-7698-a7a4-b61f8c9e27e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019edbeb-8042-7deb-9a76-0a368ff0421d" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-7698-a7a4-b61f8c9e27e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019edbeb-8042-72df-aacf-a4e0a35b5e66" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019edbeb-8042-7deb-9a76-0a368ff0421d" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019edbeb-8042-72df-aacf-a4e0a35b5e66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-7378-bd6b-ea61e17a04f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019edbeb-8042-7d0a-b007-7d72a8b1a1f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-7378-bd6b-ea61e17a04f0" xlink:to="loc_us-gaap_ProfitLoss_019edbeb-8042-7d0a-b007-7d72a8b1a1f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAndRetainedInterestsInSecuritizationTrustsGainLossAfterReclassificationAndTax_019edbeb-8042-77e7-8e6b-bf9a188b3879" xlink:href="hasi-20260630.xsd#hasi_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAndRetainedInterestsInSecuritizationTrustsGainLossAfterReclassificationAndTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-7378-bd6b-ea61e17a04f0" xlink:to="loc_hasi_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAndRetainedInterestsInSecuritizationTrustsGainLossAfterReclassificationAndTax_019edbeb-8042-77e7-8e6b-bf9a188b3879" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_019edbeb-8042-71dd-9356-d02f225ba6fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019edbeb-8042-7378-bd6b-ea61e17a04f0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_019edbeb-8042-71dd-9356-d02f225ba6fe" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="hasi-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_019edbeb-8042-7da4-99a2-d493df444bc5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_019edbeb-8042-7da4-99a2-d493df444bc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_019edbeb-8042-72db-9b60-00d8c7e20753" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_019edbeb-8042-72db-9b60-00d8c7e20753" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_019edbeb-8042-76f3-8f80-32cf7d593105" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_019edbeb-8042-76f3-8f80-32cf7d593105" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_019edbeb-8042-7f23-9477-e63a6d11afcd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfOtherLongTermDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_019edbeb-8042-7f23-9477-e63a6d11afcd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfCommercialPaper_019edbeb-8042-765b-aefb-c7d65d1f3077" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromRepaymentsOfCommercialPaper"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfCommercialPaper_019edbeb-8042-765b-aefb-c7d65d1f3077" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_019edbeb-8042-7e23-bd42-5108a14d44a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfUnsecuredDebt"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_019edbeb-8042-7e23-bd42-5108a14d44a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfUnsecuredDebt_019edbeb-8042-7af7-93c7-9215507a7d35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfUnsecuredDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_RepaymentsOfUnsecuredDebt_019edbeb-8042-7af7-93c7-9215507a7d35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019edbeb-8042-7507-b6c9-1a76cbe1b9ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019edbeb-8042-7507-b6c9-1a76cbe1b9ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_019edbeb-8042-7493-a4fc-4962c540348c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_PaymentsOfDividends_019edbeb-8042-7493-a4fc-4962c540348c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtExtinguishmentCosts_019edbeb-8042-7eff-8f3f-c11c37e1b1d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtExtinguishmentCosts"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_PaymentsOfDebtExtinguishmentCosts_019edbeb-8042-7eff-8f3f-c11c37e1b1d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019edbeb-8042-7598-be93-63c191af3cb7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019edbeb-8042-7598-be93-63c191af3cb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForHedgeFinancingActivities_019edbeb-8042-7ed2-82e0-7df863583ff8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForHedgeFinancingActivities"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_PaymentsForHedgeFinancingActivities_019edbeb-8042-7ed2-82e0-7df863583ff8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromHedgeFinancingActivities_019edbeb-8042-72ac-9e8a-d46034bf7341" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromHedgeFinancingActivities"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_ProceedsFromHedgeFinancingActivities_019edbeb-8042-72ac-9e8a-d46034bf7341" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019edbeb-8042-783b-b53c-32aa0958b8d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019edbeb-8042-783b-b53c-32aa0958b8d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_019f5f15-aca9-79c6-a8fc-297fa8da74fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfConvertibleDebt"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_019f5f15-aca9-79c6-a8fc-297fa8da74fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_019f89e1-273c-7f44-830d-d92efcb96eea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfSecuredDebt"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_019f89e1-273c-7f44-830d-d92efcb96eea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSubordinatedLongTermDebt_019f89e1-c649-75d0-9e8d-2fcb872c880b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfSubordinatedLongTermDebt"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-758b-baf2-5d292953b767" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSubordinatedLongTermDebt_019f89e1-c649-75d0-9e8d-2fcb872c880b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7001-a7fc-5195dd42c6b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019edbeb-8042-77dc-b0d6-464a41d92ab7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7001-a7fc-5195dd42c6b6" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019edbeb-8042-77dc-b0d6-464a41d92ab7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_019edbeb-8042-75fe-9fa0-cc681fa63067" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7001-a7fc-5195dd42c6b6" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_019edbeb-8042-75fe-9fa0-cc681fa63067" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireFinanceReceivables_019edbeb-8042-74e7-bbdc-751232281ae4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireFinanceReceivables"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7001-a7fc-5195dd42c6b6" xlink:to="loc_us-gaap_PaymentsToAcquireFinanceReceivables_019edbeb-8042-74e7-bbdc-751232281ae4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfFinanceReceivables_019edbeb-8042-7956-80c0-62f8c5d251eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromCollectionOfFinanceReceivables"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7001-a7fc-5195dd42c6b6" xlink:to="loc_us-gaap_ProceedsFromCollectionOfFinanceReceivables_019edbeb-8042-7956-80c0-62f8c5d251eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_019edbeb-8042-7708-b92a-88221f890777" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfFinanceReceivables"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7001-a7fc-5195dd42c6b6" xlink:to="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_019edbeb-8042-7708-b92a-88221f890777" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForHedgeInvestingActivities_019edbeb-8042-7349-b78d-a99dbec14923" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForHedgeInvestingActivities"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7001-a7fc-5195dd42c6b6" xlink:to="loc_us-gaap_PaymentsForHedgeInvestingActivities_019edbeb-8042-7349-b78d-a99dbec14923" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromHedgeInvestingActivities_019edbeb-8042-7180-a1c1-09dc8f6a7604" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromHedgeInvestingActivities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7001-a7fc-5195dd42c6b6" xlink:to="loc_us-gaap_ProceedsFromHedgeInvestingActivities_019edbeb-8042-7180-a1c1-09dc8f6a7604" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019edbeb-8042-73e3-867e-b8f0fbfb721a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7001-a7fc-5195dd42c6b6" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019edbeb-8042-73e3-867e-b8f0fbfb721a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_PurchasesOfInvestmentsAndSecuritizationAssets_019edbeb-8042-737b-8ef9-1d5215595976" xlink:href="hasi-20260630.xsd#hasi_PurchasesOfInvestmentsAndSecuritizationAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7001-a7fc-5195dd42c6b6" xlink:to="loc_hasi_PurchasesOfInvestmentsAndSecuritizationAssets_019edbeb-8042-737b-8ef9-1d5215595976" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019edbeb-8042-7996-98fe-765be659b73c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_ProfitLoss_019edbeb-8042-7996-98fe-765be659b73c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_019edbeb-8042-7fe6-8dec-b306fcbfcd11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_019edbeb-8042-7fe6-8dec-b306fcbfcd11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019edbeb-8042-7491-9ffd-b3a78b8047a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019edbeb-8042-7491-9ffd-b3a78b8047a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019edbeb-8042-7b04-a082-4ca5c6db3d95" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019edbeb-8042-7b04-a082-4ca5c6db3d95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019edbeb-8042-77b5-bd3b-8a4119d9c3ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_ShareBasedCompensation_019edbeb-8042-77b5-bd3b-8a4119d9c3ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_019edbeb-8042-7856-9d4b-81db36054a93" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_019edbeb-8042-7856-9d4b-81db36054a93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSecuritizationOfFinancialAssets_019edbeb-8042-76fb-85b2-b17439d9a1a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSecuritizationOfFinancialAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_GainLossOnSecuritizationOfFinancialAssets_019edbeb-8042-76fb-85b2-b17439d9a1a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019edbeb-8042-7031-b065-538de8138262" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019edbeb-8042-7031-b065-538de8138262" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAssetsHeldForSale_019edbeb-8042-72a8-83e5-3fa5feb515cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAssetsHeldForSale"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_IncreaseDecreaseInAssetsHeldForSale_019edbeb-8042-72a8-83e5-3fa5feb515cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019edbeb-8042-73e6-b85f-0a534a2f8ae3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019edbeb-8042-73e6-b85f-0a534a2f8ae3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_019edbeb-8042-790d-ac2a-32c6ab52a8c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_019edbeb-8042-790d-ac2a-32c6ab52a8c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDerivativeAssetsAndLiabilities_019edbeb-8042-78b6-9924-3a54b2bc9a19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDerivativeAssetsAndLiabilities"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_IncreaseDecreaseInDerivativeAssetsAndLiabilities_019edbeb-8042-78b6-9924-3a54b2bc9a19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019edbeb-8042-7731-a18e-558df91bfa36" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7ce1-925f-dc723686c8cb" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019edbeb-8042-7731-a18e-558df91bfa36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019edbeb-8042-78e2-875e-225f79958419" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7af0-a20a-0c227297645f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019edbeb-8042-78e2-875e-225f79958419" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019edbeb-8042-7af0-a20a-0c227297645f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7f1e-bc6e-4fb68d78d5ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019edbeb-8042-78e2-875e-225f79958419" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019edbeb-8042-7f1e-bc6e-4fb68d78d5ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-7655-8b02-baf4603ff2c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019edbeb-8042-78e2-875e-225f79958419" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019edbeb-8042-7655-8b02-baf4603ff2c0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/FairValueMeasurementsScheduleofCashDepositsSubjecttoCreditRiskDetails" xlink:type="simple" xlink:href="hasi-20260630.xsd#FairValueMeasurementsScheduleofCashDepositsSubjecttoCreditRiskDetails"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/FairValueMeasurementsScheduleofCashDepositsSubjecttoCreditRiskDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019edbeb-8042-7225-bf55-53e0d24574b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019edbeb-8042-7cb5-a002-1cbbfebb0d1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019edbeb-8042-7225-bf55-53e0d24574b0" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019edbeb-8042-7cb5-a002-1cbbfebb0d1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_019edbeb-8042-7db0-ae2d-413130a1d410" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019edbeb-8042-7225-bf55-53e0d24574b0" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_019edbeb-8042-7db0-ae2d-413130a1d410" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/OurPortfolioScheduleofAnalysisofPortfolioPerformanceRatingsDetails" xlink:type="simple" xlink:href="hasi-20260630.xsd#OurPortfolioScheduleofAnalysisofPortfolioPerformanceRatingsDetails"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/OurPortfolioScheduleofAnalysisofPortfolioPerformanceRatingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestmentsAndReceivablesNet_019edbeb-8042-7f45-87bb-db4e680a8d02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermInvestmentsAndReceivablesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_019edbeb-8042-71e5-8584-890e45bcc0f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestmentsAndReceivablesNet_019edbeb-8042-7f45-87bb-db4e680a8d02" xlink:to="loc_us-gaap_NotesReceivableNet_019edbeb-8042-71e5-8584-890e45bcc0f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleAmount_019edbeb-8042-72f1-8cf5-710a7356df73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestmentsAndReceivablesNet_019edbeb-8042-7f45-87bb-db4e680a8d02" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleAmount_019edbeb-8042-72f1-8cf5-710a7356df73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestments_019edbeb-8042-7064-a9b9-36793cd997f6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestmentsAndReceivablesNet_019edbeb-8042-7f45-87bb-db4e680a8d02" xlink:to="loc_us-gaap_RealEstateInvestments_019edbeb-8042-7064-a9b9-36793cd997f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019edbeb-8042-741e-b276-cc12dd17a6a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestmentsAndReceivablesNet_019edbeb-8042-7f45-87bb-db4e680a8d02" xlink:to="loc_us-gaap_EquityMethodInvestments_019edbeb-8042-741e-b276-cc12dd17a6a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_019f7f1f-d2d9-7120-83dd-f9ed808b294e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestmentsAndReceivablesNet_019edbeb-8042-7f45-87bb-db4e680a8d02" xlink:to="loc_us-gaap_OtherInvestments_019f7f1f-d2d9-7120-83dd-f9ed808b294e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7733-98bd-f1a3ee2ea54f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_019edbeb-8042-7f61-bdae-fb28b2536c5c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7733-98bd-f1a3ee2ea54f" xlink:to="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_019edbeb-8042-7f61-bdae-fb28b2536c5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_FinancingReceivableOriginatedFiveYearsBeforeLatestFiscalYear_019edbeb-8042-7229-a0e2-8ae9dec0f9b2" xlink:href="hasi-20260630.xsd#hasi_FinancingReceivableOriginatedFiveYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7733-98bd-f1a3ee2ea54f" xlink:to="loc_hasi_FinancingReceivableOriginatedFiveYearsBeforeLatestFiscalYear_019edbeb-8042-7229-a0e2-8ae9dec0f9b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_019edbeb-8042-7439-b7a2-d3c9174faf91" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7733-98bd-f1a3ee2ea54f" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_019edbeb-8042-7439-b7a2-d3c9174faf91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_FinancingReceivableOriginatedMoreThanSixYearsBeforeCurrentFiscalYear_019edbeb-8042-79a3-b384-05056f997378" xlink:href="hasi-20260630.xsd#hasi_FinancingReceivableOriginatedMoreThanSixYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7733-98bd-f1a3ee2ea54f" xlink:to="loc_hasi_FinancingReceivableOriginatedMoreThanSixYearsBeforeCurrentFiscalYear_019edbeb-8042-79a3-b384-05056f997378" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_019edbeb-8042-7976-8b83-b8f3c90bcc0e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7733-98bd-f1a3ee2ea54f" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_019edbeb-8042-7976-8b83-b8f3c90bcc0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_019edbeb-8042-745c-b2ff-cfed4e180366" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7733-98bd-f1a3ee2ea54f" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_019edbeb-8042-745c-b2ff-cfed4e180366" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_019edbeb-8042-7018-9508-a98359132b81" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7733-98bd-f1a3ee2ea54f" xlink:to="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_019edbeb-8042-7018-9508-a98359132b81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_019edbeb-8042-7998-9db4-6f556f024d5d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7733-98bd-f1a3ee2ea54f" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_019edbeb-8042-7998-9db4-6f556f024d5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_019edbeb-8042-71f8-bb15-50db0f797644" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_019edbeb-8042-75ce-96dc-2d8e1aac39e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_019edbeb-8042-71f8-bb15-50db0f797644" xlink:to="loc_us-gaap_NotesReceivableGross_019edbeb-8042-75ce-96dc-2d8e1aac39e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_019edbeb-8042-7dd3-a819-d0de35b5c0b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_019edbeb-8042-71f8-bb15-50db0f797644" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_019edbeb-8042-7dd3-a819-d0de35b5c0b7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/OurPortfolioScheduleofAnticipatedMaturityDatesofReceivablesandInvestmentsandWeightedAverageYieldDetails" xlink:type="simple" xlink:href="hasi-20260630.xsd#OurPortfolioScheduleofAnticipatedMaturityDatesofReceivablesandInvestmentsandWeightedAverageYieldDetails"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/OurPortfolioScheduleofAnticipatedMaturityDatesofReceivablesandInvestmentsandWeightedAverageYieldDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7ab8-938d-47bfbe5719c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossMaturityYearOne_019edbeb-8042-7e80-b45d-729278d168e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableBeforeAllowanceForCreditLossMaturityYearOne"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7ab8-938d-47bfbe5719c6" xlink:to="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossMaturityYearOne_019edbeb-8042-7e80-b45d-729278d168e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossMaturityAfterYearOneThroughFive_019edbeb-8042-7a65-ba5b-0bf2e7d5043f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableBeforeAllowanceForCreditLossMaturityAfterYearOneThroughFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7ab8-938d-47bfbe5719c6" xlink:to="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossMaturityAfterYearOneThroughFive_019edbeb-8042-7a65-ba5b-0bf2e7d5043f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_FinancingReceivableBeforeAllowanceForCreditLossMaturityAfterYear5Through10_019edbeb-8042-70ef-98d8-3c63ee94a107" xlink:href="hasi-20260630.xsd#hasi_FinancingReceivableBeforeAllowanceForCreditLossMaturityAfterYear5Through10"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7ab8-938d-47bfbe5719c6" xlink:to="loc_hasi_FinancingReceivableBeforeAllowanceForCreditLossMaturityAfterYear5Through10_019edbeb-8042-70ef-98d8-3c63ee94a107" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_FinancingReceivableBeforeAllowanceForCreditLossMaturityAfterYear10_019edbeb-8042-7731-ad08-4dbb8867d470" xlink:href="hasi-20260630.xsd#hasi_FinancingReceivableBeforeAllowanceForCreditLossMaturityAfterYear10"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_019edbeb-8042-7ab8-938d-47bfbe5719c6" xlink:to="loc_hasi_FinancingReceivableBeforeAllowanceForCreditLossMaturityAfterYear10_019edbeb-8042-7731-ad08-4dbb8867d470" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/OurPortfolioScheduleofAnticipatedMaturityDatesofOurDebtSecuritiesandWeightedAverageYieldDetails" xlink:type="simple" xlink:href="hasi-20260630.xsd#OurPortfolioScheduleofAnticipatedMaturityDatesofOurDebtSecuritiesandWeightedAverageYieldDetails"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/OurPortfolioScheduleofAnticipatedMaturityDatesofOurDebtSecuritiesandWeightedAverageYieldDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_019edbeb-8042-75f6-88b3-7046ada1101e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_019edbeb-8042-7537-8cae-f4dff2d00603" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_019edbeb-8042-75f6-88b3-7046ada1101e" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_019edbeb-8042-7537-8cae-f4dff2d00603" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019edbeb-8042-764a-a464-aa90b68a7575" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_019edbeb-8042-75f6-88b3-7046ada1101e" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019edbeb-8042-764a-a464-aa90b68a7575" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_019edbeb-8042-780a-95be-bc4aeb5deec0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_019edbeb-8042-75f6-88b3-7046ada1101e" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_019edbeb-8042-780a-95be-bc4aeb5deec0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_019edbeb-8042-7e03-a839-381427ccca34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_019edbeb-8042-75f6-88b3-7046ada1101e" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_019edbeb-8042-7e03-a839-381427ccca34" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/LongtermDebtScheduleofComponentsofSeniorUnsecuredNotesDetails" xlink:type="simple" xlink:href="hasi-20260630.xsd#LongtermDebtScheduleofComponentsofSeniorUnsecuredNotesDetails"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/LongtermDebtScheduleofComponentsofSeniorUnsecuredNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019edbeb-8101-7230-8376-46438d159282" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7ada-a0b7-878b807e6f02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019edbeb-8101-7230-8376-46438d159282" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7ada-a0b7-878b807e6f02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_DebtInstrumentAccruedInterest_019edbeb-8101-7e87-acfb-33aab4163f64" xlink:href="hasi-20260630.xsd#hasi_DebtInstrumentAccruedInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019edbeb-8101-7230-8376-46438d159282" xlink:to="loc_hasi_DebtInstrumentAccruedInterest_019edbeb-8101-7e87-acfb-33aab4163f64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_019edbeb-8101-7780-8b91-96e5fc22cffb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019edbeb-8101-7230-8376-46438d159282" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_019edbeb-8101-7780-8b91-96e5fc22cffb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019edbeb-8101-7fe0-9115-9b960ab4a4bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019edbeb-8101-7230-8376-46438d159282" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019edbeb-8101-7fe0-9115-9b960ab4a4bf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/LongtermDebtScheduleofOutstandingNonRecourseAssetBackedDebtandBankLoansDetails" xlink:type="simple" xlink:href="hasi-20260630.xsd#LongtermDebtScheduleofOutstandingNonRecourseAssetBackedDebtandBankLoansDetails"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/LongtermDebtScheduleofOutstandingNonRecourseAssetBackedDebtandBankLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019edbeb-8101-730d-959d-96ffc6693d2b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7be7-b9fa-b514aa744440" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019edbeb-8101-730d-959d-96ffc6693d2b" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7be7-b9fa-b514aa744440" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019edbeb-8101-7377-8559-ef2fb0f5ac27" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019edbeb-8101-730d-959d-96ffc6693d2b" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019edbeb-8101-7377-8559-ef2fb0f5ac27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_OtherNonRecourseDebt_019edbeb-8101-7f6d-8dda-77998e40b2c0" xlink:href="hasi-20260630.xsd#hasi_OtherNonRecourseDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019edbeb-8101-730d-959d-96ffc6693d2b" xlink:to="loc_hasi_OtherNonRecourseDebt_019edbeb-8101-7f6d-8dda-77998e40b2c0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/LongtermDebtScheduleofMaturitiesofDebtDetails" xlink:type="simple" xlink:href="hasi-20260630.xsd#LongtermDebtScheduleofMaturitiesofDebtDetails"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/LongtermDebtScheduleofMaturitiesofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7239-b68b-45eb1daf4381" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_019edbeb-8101-738d-91ef-683b7085bed5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7239-b68b-45eb1daf4381" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_019edbeb-8101-738d-91ef-683b7085bed5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019edbeb-8101-76b7-a52d-28fafa8bc994" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7239-b68b-45eb1daf4381" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019edbeb-8101-76b7-a52d-28fafa8bc994" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019edbeb-8101-70fd-991c-e8bc4fa59bca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7239-b68b-45eb1daf4381" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019edbeb-8101-70fd-991c-e8bc4fa59bca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019edbeb-8101-742e-8449-64faa24911ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7239-b68b-45eb1daf4381" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019edbeb-8101-742e-8449-64faa24911ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019edbeb-8101-70e0-afa7-37b63cc7a50b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7239-b68b-45eb1daf4381" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019edbeb-8101-70e0-afa7-37b63cc7a50b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_019edbeb-8101-7bf4-9c0b-56436e50cf7e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7239-b68b-45eb1daf4381" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_019edbeb-8101-7bf4-9c0b-56436e50cf7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_019edbeb-8101-76bc-bf1f-c6850cc70dbd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019edbeb-8101-7239-b68b-45eb1daf4381" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_019edbeb-8101-76bc-bf1f-c6850cc70dbd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://hannonarmstrong.com/role/EarningsperShareofCommonStockDetails" xlink:type="simple" xlink:href="hasi-20260630.xsd#EarningsperShareofCommonStockDetails"/>
  <link:calculationLink xlink:role="http://hannonarmstrong.com/role/EarningsperShareofCommonStockDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019edbeb-8102-78ce-98be-3dfba77543eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019edbeb-8102-7524-abc3-1c956f35359a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019edbeb-8102-78ce-98be-3dfba77543eb" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019edbeb-8102-7524-abc3-1c956f35359a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestOnConvertibleDebtNetOfTax_019edbeb-8102-716b-9d7e-496c30a544ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestOnConvertibleDebtNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019edbeb-8102-78ce-98be-3dfba77543eb" xlink:to="loc_us-gaap_InterestOnConvertibleDebtNetOfTax_019edbeb-8102-716b-9d7e-496c30a544ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_019edbeb-8102-7a8d-9d3d-10d0fff5f810" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019edbeb-8102-78ce-98be-3dfba77543eb" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_019edbeb-8102-7a8d-9d3d-10d0fff5f810" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019edbeb-8102-752d-a5e5-db1515cf6f3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019edbeb-8102-7a06-ab80-5ac879c4d5ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019edbeb-8102-752d-a5e5-db1515cf6f3c" xlink:to="loc_us-gaap_NetIncomeLoss_019edbeb-8102-7a06-ab80-5ac879c4d5ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_hasi_DividendPaidOnParticipatingSecurities_019edbeb-8102-7188-9289-43f976d567d6" xlink:href="hasi-20260630.xsd#hasi_DividendPaidOnParticipatingSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019edbeb-8102-752d-a5e5-db1515cf6f3c" xlink:to="loc_hasi_DividendPaidOnParticipatingSecurities_019edbeb-8102-7188-9289-43f976d567d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019edbeb-8102-7350-a37e-741ce95f62f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019edbeb-8102-752d-a5e5-db1515cf6f3c" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019edbeb-8102-7350-a37e-741ce95f62f8" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
