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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019d195b-5ab0-7577-ab3f-4d5a426dfd41,g:d525fe8a-07f8-4d0b-8e20-b105d9351a1e-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.sunrun.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="run-20260331.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019d195b-5c1b-7f0e-b03a-3e9af84bb3fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019d195b-5c1b-740e-9542-efe5b4edb934" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019d195b-5c1b-7f0e-b03a-3e9af84bb3fc" xlink:to="loc_us-gaap_AccountsPayableCurrent_019d195b-5c1b-740e-9542-efe5b4edb934" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_DistributionsPayableToNoncontrollingInterestsAndRedeemableNoncontrollingInterests_019d195b-5c1b-7191-b840-1d129c26ce48" xlink:href="run-20260331.xsd#run_DistributionsPayableToNoncontrollingInterestsAndRedeemableNoncontrollingInterests"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019d195b-5c1b-7f0e-b03a-3e9af84bb3fc" xlink:to="loc_run_DistributionsPayableToNoncontrollingInterestsAndRedeemableNoncontrollingInterests_019d195b-5c1b-7191-b840-1d129c26ce48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019d195b-5c1b-7d99-92df-41d0feae829f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019d195b-5c1b-7f0e-b03a-3e9af84bb3fc" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019d195b-5c1b-7d99-92df-41d0feae829f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019d195b-5c1b-7856-bee1-6e685f7fe779" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019d195b-5c1b-7f0e-b03a-3e9af84bb3fc" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019d195b-5c1b-7856-bee1-6e685f7fe779" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_DeferredGrantCurrentPortion_019d195b-5c1b-7535-acc9-90e0406efc41" xlink:href="run-20260331.xsd#run_DeferredGrantCurrentPortion"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019d195b-5c1b-7f0e-b03a-3e9af84bb3fc" xlink:to="loc_run_DeferredGrantCurrentPortion_019d195b-5c1b-7535-acc9-90e0406efc41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_019d195b-5c1b-7ac7-82a1-fe1bd12f8482" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019d195b-5c1b-7f0e-b03a-3e9af84bb3fc" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_019d195b-5c1b-7ac7-82a1-fe1bd12f8482" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_NonRecourseDebtCurrent_019d195b-5c1b-7e51-b2d6-0696b3d54e90" xlink:href="run-20260331.xsd#run_NonRecourseDebtCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019d195b-5c1b-7f0e-b03a-3e9af84bb3fc" xlink:to="loc_run_NonRecourseDebtCurrent_019d195b-5c1b-7e51-b2d6-0696b3d54e90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019d195b-5c1b-747f-ad61-d3cec50986ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019d195b-5c1b-710a-96de-1a3fdc9dfbe7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_StockholdersEquity_019d195b-5c1b-747f-ad61-d3cec50986ad" xlink:to="loc_us-gaap_PreferredStockValue_019d195b-5c1b-710a-96de-1a3fdc9dfbe7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019d195b-5c1b-79ad-be4d-3428127bf820" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_StockholdersEquity_019d195b-5c1b-747f-ad61-d3cec50986ad" xlink:to="loc_us-gaap_CommonStockValue_019d195b-5c1b-79ad-be4d-3428127bf820" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019d195b-5c1b-70eb-bd88-a4e6da673829" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019d195b-5c1b-747f-ad61-d3cec50986ad" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019d195b-5c1b-70eb-bd88-a4e6da673829" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019d195b-5c1b-78b5-aa79-64396e109e4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019d195b-5c1b-747f-ad61-d3cec50986ad" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019d195b-5c1b-78b5-aa79-64396e109e4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019d195b-5c1b-7ff4-a31e-533a0ecd48f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019d195b-5c1b-747f-ad61-d3cec50986ad" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019d195b-5c1b-7ff4-a31e-533a0ecd48f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019d195b-5c1b-7ad4-9d40-d20b575ae8a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019d195b-5c1b-7f6f-ae58-103667186763" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019d195b-5c1b-7ad4-9d40-d20b575ae8a5" xlink:to="loc_us-gaap_AssetsCurrent_019d195b-5c1b-7f6f-ae58-103667186763" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashNoncurrent_019d195b-5c1b-79cd-88e6-0dd01e10e956" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019d195b-5c1b-7ad4-9d40-d20b575ae8a5" xlink:to="loc_us-gaap_RestrictedCashNoncurrent_019d195b-5c1b-79cd-88e6-0dd01e10e956" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet_019d195b-5c1b-7a2c-8eb9-22bb531a516d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019d195b-5c1b-7ad4-9d40-d20b575ae8a5" xlink:to="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet_019d195b-5c1b-7a2c-8eb9-22bb531a516d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019d195b-5c1b-7cc4-b3c5-a99df1813dac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019d195b-5c1b-7ad4-9d40-d20b575ae8a5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019d195b-5c1b-7cc4-b3c5-a99df1813dac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019d195b-5c1b-714f-a3ad-ade97770ac96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019d195b-5c1b-7ad4-9d40-d20b575ae8a5" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019d195b-5c1b-714f-a3ad-ade97770ac96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019d195b-5c1b-7ae5-821b-62c90081531e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019d195b-5c1b-718a-9087-a66396a8d476" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019d195b-5c1b-7ae5-821b-62c90081531e" xlink:to="loc_us-gaap_StockholdersEquity_019d195b-5c1b-718a-9087-a66396a8d476" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019d195b-5c1b-7597-9fcd-015b7b159597" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019d195b-5c1b-7ae5-821b-62c90081531e" xlink:to="loc_us-gaap_MinorityInterest_019d195b-5c1b-7597-9fcd-015b7b159597" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019d195b-5c1b-7f0f-ba39-646a1da687e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Cash_019d195b-5c1b-7d0e-ab98-a3dfe9ff0e1f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Cash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019d195b-5c1b-7f0f-ba39-646a1da687e1" xlink:to="loc_us-gaap_Cash_019d195b-5c1b-7d0e-ab98-a3dfe9ff0e1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashCurrent_019d195b-5c1b-7119-b121-0f9f6f3a280a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019d195b-5c1b-7f0f-ba39-646a1da687e1" xlink:to="loc_us-gaap_RestrictedCashCurrent_019d195b-5c1b-7119-b121-0f9f6f3a280a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019d195b-5c1b-73da-b633-bd6ea02935d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019d195b-5c1b-7f0f-ba39-646a1da687e1" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019d195b-5c1b-73da-b633-bd6ea02935d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019d195b-5c1b-76ed-9f38-dc8d3aefd645" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019d195b-5c1b-7f0f-ba39-646a1da687e1" xlink:to="loc_us-gaap_InventoryNet_019d195b-5c1b-76ed-9f38-dc8d3aefd645" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019d195b-5c1b-7fad-8ddc-8f57d399ce39" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019d195b-5c1b-7f0f-ba39-646a1da687e1" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019d195b-5c1b-7fad-8ddc-8f57d399ce39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019d195b-5c1b-7732-b7df-2a098d940c5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019d195b-5c1b-70b9-bc9b-472e6e7c87c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d195b-5c1b-7732-b7df-2a098d940c5f" xlink:to="loc_us-gaap_LiabilitiesCurrent_019d195b-5c1b-70b9-bc9b-472e6e7c87c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019d195b-5c1b-791c-b54f-19c8a12ad7d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d195b-5c1b-7732-b7df-2a098d940c5f" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_019d195b-5c1b-791c-b54f-19c8a12ad7d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_DeferredGrantIncomeNoncurrent_019d195b-5c1b-778f-883d-26dc8456c46b" xlink:href="run-20260331.xsd#run_DeferredGrantIncomeNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d195b-5c1b-7732-b7df-2a098d940c5f" xlink:to="loc_run_DeferredGrantIncomeNoncurrent_019d195b-5c1b-778f-883d-26dc8456c46b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019d195b-5c1b-756a-92e5-aa661c79605d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d195b-5c1b-7732-b7df-2a098d940c5f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019d195b-5c1b-756a-92e5-aa661c79605d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtNoncurrent_019d195b-5c1b-7c62-9861-0ffb1db75343" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertibleDebtNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d195b-5c1b-7732-b7df-2a098d940c5f" xlink:to="loc_us-gaap_ConvertibleDebtNoncurrent_019d195b-5c1b-7c62-9861-0ffb1db75343" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermLineOfCredit_019d195b-5c1b-7d26-a0d4-5c98a26c190b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermLineOfCredit"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d195b-5c1b-7732-b7df-2a098d940c5f" xlink:to="loc_us-gaap_LongTermLineOfCredit_019d195b-5c1b-7d26-a0d4-5c98a26c190b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_NonRecourseDebtNoncurrent_019d195b-5c1b-7d85-849a-3b6de65438f4" xlink:href="run-20260331.xsd#run_NonRecourseDebtNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d195b-5c1b-7732-b7df-2a098d940c5f" xlink:to="loc_run_NonRecourseDebtNoncurrent_019d195b-5c1b-7d85-849a-3b6de65438f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019d195b-5c1b-7e09-844e-944b86d468bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d195b-5c1b-7732-b7df-2a098d940c5f" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019d195b-5c1b-7e09-844e-944b86d468bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019d195b-5c1b-7069-97ba-1e60f2397f05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019d195b-5c1b-7732-b7df-2a098d940c5f" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019d195b-5c1b-7069-97ba-1e60f2397f05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019d195b-5c1b-7a88-9048-cf53194f9e78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019d195b-5c1b-727e-82c6-56d1d5f5e9a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019d195b-5c1b-7a88-9048-cf53194f9e78" xlink:to="loc_us-gaap_Liabilities_019d195b-5c1b-727e-82c6-56d1d5f5e9a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019d195b-5c1b-7d8d-aceb-a894c5960853" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019d195b-5c1b-7a88-9048-cf53194f9e78" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019d195b-5c1b-7d8d-aceb-a894c5960853" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_019d195b-5c1b-763c-8bcb-8300b417fee5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019d195b-5c1b-7a88-9048-cf53194f9e78" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_019d195b-5c1b-763c-8bcb-8300b417fee5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019d195b-5c1b-7745-9be1-aefd9629265d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019d195b-5c1b-7a88-9048-cf53194f9e78" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019d195b-5c1b-7745-9be1-aefd9629265d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="run-20260331.xsd#ConsolidatedStatementsofOperations"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/ConsolidatedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019d195b-5c1b-70ec-99cd-bd3394d2de17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019d195b-5c1b-7698-bf3e-a7c3550b43fa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019d195b-5c1b-70ec-99cd-bd3394d2de17" xlink:to="loc_us-gaap_ProfitLoss_019d195b-5c1b-7698-bf3e-a7c3550b43fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019d195b-5c1b-791f-9e8a-6d9a13594904" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019d195b-5c1b-70ec-99cd-bd3394d2de17" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019d195b-5c1b-791f-9e8a-6d9a13594904" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019d195b-5c1b-71f8-bf6d-f69b2040a9f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019d195b-5c1b-72f5-bdeb-ad905979f690" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019d195b-5c1b-71f8-bf6d-f69b2040a9f7" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019d195b-5c1b-72f5-bdeb-ad905979f690" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019d195b-5c1b-72ec-9f19-39321f120ff1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019d195b-5c1b-71f8-bf6d-f69b2040a9f7" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019d195b-5c1b-72ec-9f19-39321f120ff1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019d195b-5c1b-71ab-8def-6eea532ff595" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019d195b-5c1b-7583-a7c0-19a944d04088" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019d195b-5c1b-71ab-8def-6eea532ff595" xlink:to="loc_us-gaap_OperatingIncomeLoss_019d195b-5c1b-7583-a7c0-19a944d04088" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_019d195b-5c1b-7e06-88a8-0b4600c24d16" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019d195b-5c1b-71ab-8def-6eea532ff595" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_019d195b-5c1b-7e06-88a8-0b4600c24d16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019d195b-5c1b-7794-be8a-83b7d3c6fd11" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019d195b-5c1b-71ab-8def-6eea532ff595" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019d195b-5c1b-7794-be8a-83b7d3c6fd11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019d195b-5c1b-7def-9b7f-54d4e6d01aab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019d195b-5c1b-7640-bd48-66a6c772f107" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019d195b-5c1b-7def-9b7f-54d4e6d01aab" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019d195b-5c1b-7640-bd48-66a6c772f107" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019d195b-5c1b-7e1d-9f4d-07cb7c344615" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019d195b-5c1b-7def-9b7f-54d4e6d01aab" xlink:to="loc_us-gaap_CostsAndExpenses_019d195b-5c1b-7e1d-9f4d-07cb7c344615" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019d195b-5c1b-7737-a45e-32ba7ac747db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019d195b-5c1b-7468-b736-79a7fa53e8a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019d195b-5c1b-7737-a45e-32ba7ac747db" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019d195b-5c1b-7468-b736-79a7fa53e8a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_019d195b-5c1b-753c-974f-b7fed85a86ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019d195b-5c1b-7737-a45e-32ba7ac747db" xlink:to="loc_us-gaap_SellingAndMarketingExpense_019d195b-5c1b-753c-974f-b7fed85a86ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019d195b-5c1b-7a22-90d5-e9a63327eb91" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019d195b-5c1b-7737-a45e-32ba7ac747db" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019d195b-5c1b-7a22-90d5-e9a63327eb91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019d195b-5c1b-7df8-b47b-dfaba613b449" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019d195b-5c1b-7737-a45e-32ba7ac747db" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019d195b-5c1b-7df8-b47b-dfaba613b449" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="run-20260331.xsd#ConsolidatedStatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019dfd50-c898-738e-b437-a21bce8c6660" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019dfd50-c898-76ae-a236-0a179dd3d0a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019dfd50-c898-738e-b437-a21bce8c6660" xlink:to="loc_us-gaap_ProfitLoss_019dfd50-c898-76ae-a236-0a179dd3d0a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019dfd50-c898-74b4-98f4-d1e6bba9fac7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019dfd50-c898-738e-b437-a21bce8c6660" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019dfd50-c898-74b4-98f4-d1e6bba9fac7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019d195b-5c1b-7fbe-bee2-de7462109606" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019d195b-5c1b-72c3-b58d-99904b31ced5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019d195b-5c1b-7fbe-bee2-de7462109606" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019d195b-5c1b-72c3-b58d-99904b31ced5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019d195b-5c1b-7ed8-b314-5334e6c3a0eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ComprehensiveIncomeNetOfTax_019d195b-5c1b-7fbe-bee2-de7462109606" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019d195b-5c1b-7ed8-b314-5334e6c3a0eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019d195b-5c1b-77fa-acf7-78c630184cc8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019d195b-5c1b-71c6-b1b3-2f6bc98b06b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019d195b-5c1b-77fa-acf7-78c630184cc8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019d195b-5c1b-71c6-b1b3-2f6bc98b06b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019d195b-5c1b-7b45-a243-541cf57d355a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019d195b-5c1b-77fa-acf7-78c630184cc8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019d195b-5c1b-7b45-a243-541cf57d355a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="run-20260331.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019d195b-5c1b-7577-a6a8-b2ebeff7fdb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-711c-9175-d759fa3062b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019d195b-5c1b-7577-a6a8-b2ebeff7fdb7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-711c-9175-d759fa3062b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019d195b-5c1b-7f4a-ba5f-eda96c36c485" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019d195b-5c1b-7577-a6a8-b2ebeff7fdb7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019d195b-5c1b-7f4a-ba5f-eda96c36c485" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-71ac-9e8b-fe5c62cdb1c8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019d195b-5c1b-7577-a6a8-b2ebeff7fdb7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-71ac-9e8b-fe5c62cdb1c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_ProceedsFromStateTaxCreditsNetOfRecapture_019d195b-5c1b-7f64-9fac-3451aa5fed03" xlink:href="run-20260331.xsd#run_ProceedsFromStateTaxCreditsNetOfRecapture"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_run_ProceedsFromStateTaxCreditsNetOfRecapture_019d195b-5c1b-7f64-9fac-3451aa5fed03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_RepaymentOfTradeReceivableFinancing_019d195b-5c1b-72c3-a975-5949c725adb9" xlink:href="run-20260331.xsd#run_RepaymentOfTradeReceivableFinancing"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_run_RepaymentOfTradeReceivableFinancing_019d195b-5c1b-72c3-a975-5949c725adb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_019d195b-5c1b-732c-9bc5-9d76b068ae01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_019d195b-5c1b-732c-9bc5-9d76b068ae01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_019d195b-5c1b-7e20-b10c-150a82154c19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_019d195b-5c1b-7e20-b10c-150a82154c19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_019d195b-5c1b-759f-9567-198c8c744139" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromConvertibleDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_019d195b-5c1b-759f-9567-198c8c744139" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfConvertiblePreferredStock_019d195b-5c1b-7545-ab09-d8fbb650443b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfConvertiblePreferredStock"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfConvertiblePreferredStock_019d195b-5c1b-7545-ab09-d8fbb650443b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_019d195b-5c1b-7461-89e4-333abedd723b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_019d195b-5c1b-7461-89e4-333abedd723b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_019d195b-5c1b-70b3-9ae3-367128a46c98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_us-gaap_RepaymentsOfDebt_019d195b-5c1b-70b3-9ae3-367128a46c98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019d195b-5c1b-7cb9-ad4f-44ee465bc3d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019d195b-5c1b-7cb9-ad4f-44ee465bc3d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_ProceedsFromLeasePassThroughFinancingObligations_019d195b-5c1b-7960-b4bc-271b8fd47716" xlink:href="run-20260331.xsd#run_ProceedsFromLeasePassThroughFinancingObligations"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_run_ProceedsFromLeasePassThroughFinancingObligations_019d195b-5c1b-7960-b4bc-271b8fd47716" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_RepaymentsOfLeasePassThroughFinancingandOtherObligations_019d195b-5c1b-7135-82db-1a7f2bf0af3f" xlink:href="run-20260331.xsd#run_RepaymentsOfLeasePassThroughFinancingandOtherObligations"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_run_RepaymentsOfLeasePassThroughFinancingandOtherObligations_019d195b-5c1b-7135-82db-1a7f2bf0af3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_019d195b-5c1b-7d70-a69f-9f817661893e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_019d195b-5c1b-7d70-a69f-9f817661893e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_019d195b-5c1b-7dbb-b509-f41356f0e25b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMinorityShareholders"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_us-gaap_ProceedsFromMinorityShareholders_019d195b-5c1b-7dbb-b509-f41356f0e25b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_019d195b-5c1b-7eff-9646-09dbf54c5845" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_019d195b-5c1b-7eff-9646-09dbf54c5845" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_PaymentsToAcquireNonControllingInterest_019d195b-5c1b-7e15-9bdb-2aa677167ec4" xlink:href="run-20260331.xsd#run_PaymentsToAcquireNonControllingInterest"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_run_PaymentsToAcquireNonControllingInterest_019d195b-5c1b-7e15-9bdb-2aa677167ec4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_ProceedsFromTransferOfInvestmentTaxCredits_019d195b-5c1b-752b-a2d7-0d83f23229c1" xlink:href="run-20260331.xsd#run_ProceedsFromTransferOfInvestmentTaxCredits"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_run_ProceedsFromTransferOfInvestmentTaxCredits_019d195b-5c1b-752b-a2d7-0d83f23229c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_PaymentsToNoncontrollingInterestOfInvestmentTaxCredits_019d195b-5c1b-7726-9b74-772a6582e3d0" xlink:href="run-20260331.xsd#run_PaymentsToNoncontrollingInterestOfInvestmentTaxCredits"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_run_PaymentsToNoncontrollingInterestOfInvestmentTaxCredits_019d195b-5c1b-7726-9b74-772a6582e3d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_019dcdc3-8d33-75f3-aefe-d58409845796" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019d195b-5c1b-7f15-8b63-7f2fef3ca18e" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_019dcdc3-8d33-75f3-aefe-d58409845796" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019d195b-5c1b-79b7-ac0a-8ed92b7ebd67" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_PaymentsForCostOfSolarEnergySystemsToBeLeased_019d195b-5c1b-7706-ad63-5ea244ccffee" xlink:href="run-20260331.xsd#run_PaymentsForCostOfSolarEnergySystemsToBeLeased"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019d195b-5c1b-79b7-ac0a-8ed92b7ebd67" xlink:to="loc_run_PaymentsForCostOfSolarEnergySystemsToBeLeased_019d195b-5c1b-7706-ad63-5ea244ccffee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019d195b-5c1b-70ac-8a79-7573328c9ffa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019d195b-5c1b-79b7-ac0a-8ed92b7ebd67" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019d195b-5c1b-70ac-8a79-7573328c9ffa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_019dcdc3-4fdb-72f3-a4c3-4514ab03e017" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromProductiveAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019d195b-5c1b-79b7-ac0a-8ed92b7ebd67" xlink:to="loc_us-gaap_PaymentsForProceedsFromProductiveAssets_019dcdc3-4fdb-72f3-a4c3-4514ab03e017" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019d195b-5c1b-7249-9f16-5fc8830af145" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_ProfitLoss_019d195b-5c1b-7249-9f16-5fc8830af145" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019d195b-5c1b-7978-90fa-829d203036d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_DepreciationAndAmortization_019d195b-5c1b-7978-90fa-829d203036d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_DeferredIncomeTaxExpenseBenefitNoncash_019d195b-5c1b-78d3-b742-fcef76e8c28b" xlink:href="run-20260331.xsd#run_DeferredIncomeTaxExpenseBenefitNoncash"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_run_DeferredIncomeTaxExpenseBenefitNoncash_019d195b-5c1b-78d3-b742-fcef76e8c28b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019d195b-5c1b-7b45-8541-d16a44380e04" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_ShareBasedCompensation_019d195b-5c1b-7b45-8541-d16a44380e04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_019d195b-5c1b-7933-b40a-df9d2d768a12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_019d195b-5c1b-7933-b40a-df9d2d768a12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019d195b-5c1b-772d-9cba-a995fb6a7077" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019d195b-5c1b-772d-9cba-a995fb6a7077" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019d195b-5c1b-7fcb-bc33-bf7777ea61da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019d195b-5c1b-7fcb-bc33-bf7777ea61da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019d195b-5c1b-71b7-b45a-c97e5d68deda" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019d195b-5c1b-71b7-b45a-c97e5d68deda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019d195b-5c1b-7315-b471-bd0d27a7d5f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019d195b-5c1b-7315-b471-bd0d27a7d5f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019d195b-5c1b-78f1-a995-7f730425428c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019d195b-5c1b-78f1-a995-7f730425428c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_019d195b-5c1b-7756-b29a-2d2b7978e031" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_019d195b-5c1b-7756-b29a-2d2b7978e031" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019d195b-5c1b-7f74-aa27-79376e45d55f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019d195b-5c1b-7f74-aa27-79376e45d55f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredLiabilities_019dcdc1-9123-7a46-afd8-64659fbb0172" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredLiabilities"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019d195b-5c1b-7ae1-9b6c-4d58d42c7c1c" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredLiabilities_019dcdc1-9123-7a46-afd8-64659fbb0172" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryofSignificantAccountingPoliciesScheduleofCashandRestrictedCashDetails" xlink:type="simple" xlink:href="run-20260331.xsd#SummaryofSignificantAccountingPoliciesScheduleofCashandRestrictedCashDetails"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryofSignificantAccountingPoliciesScheduleofCashandRestrictedCashDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019d195b-5c1b-742b-880a-37d312eb9404" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Cash_019d195b-5c1b-7564-b15c-aa34158d7892" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Cash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019d195b-5c1b-742b-880a-37d312eb9404" xlink:to="loc_us-gaap_Cash_019d195b-5c1b-7564-b15c-aa34158d7892" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019d195b-5c1b-7626-a3d2-5439b1702422" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019d195b-5c1b-742b-880a-37d312eb9404" xlink:to="loc_us-gaap_RestrictedCash_019d195b-5c1b-7626-a3d2-5439b1702422" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/SummaryofSignificantAccountingPoliciesScheduleofAccountsReceivableDetails" xlink:type="simple" xlink:href="run-20260331.xsd#SummaryofSignificantAccountingPoliciesScheduleofAccountsReceivableDetails"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/SummaryofSignificantAccountingPoliciesScheduleofAccountsReceivableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019d195b-5c1b-758c-9184-db6b9c475e5a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_019d195b-5c1b-7193-8eec-db9386c435c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerAssetGrossCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019d195b-5c1b-758c-9184-db6b9c475e5a" xlink:to="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_019d195b-5c1b-7193-8eec-db9386c435c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_ThirdPartySystemSalesReceivablesCurrent_019d195b-5c1b-73bd-9823-0379e92bb337" xlink:href="run-20260331.xsd#run_ThirdPartySystemSalesReceivablesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019d195b-5c1b-758c-9184-db6b9c475e5a" xlink:to="loc_run_ThirdPartySystemSalesReceivablesCurrent_019d195b-5c1b-73bd-9823-0379e92bb337" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_run_GridServicesReceivablesCurrent_019d195b-5c1b-7d11-9796-b2456aa14e2e" xlink:href="run-20260331.xsd#run_GridServicesReceivablesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019d195b-5c1b-758c-9184-db6b9c475e5a" xlink:to="loc_run_GridServicesReceivablesCurrent_019d195b-5c1b-7d11-9796-b2456aa14e2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesGrossCurrent_019d7001-ba4d-7d63-a89c-ee1ddf63e840" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivablesGrossCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019d195b-5c1b-758c-9184-db6b9c475e5a" xlink:to="loc_us-gaap_OtherReceivablesGrossCurrent_019d7001-ba4d-7d63-a89c-ee1ddf63e840" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_019d7001-ba4d-798d-a495-eeb398b0ff1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_019d195b-5c1b-758c-9184-db6b9c475e5a" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_019d7001-ba4d-798d-a495-eeb398b0ff1a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/FairValueMeasurementScheduleofFinancialInstrumentsMeasuredatFairValueonaRecurringBasisDetails" xlink:type="simple" xlink:href="run-20260331.xsd#FairValueMeasurementScheduleofFinancialInstrumentsMeasuredatFairValueonaRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/FairValueMeasurementScheduleofFinancialInstrumentsMeasuredatFairValueonaRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019d700a-33a2-7db1-acda-63943287e6ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019d700a-33a2-7e9e-941a-aba9c86ec757" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_019d700a-33a2-7db1-acda-63943287e6ce" xlink:to="loc_us-gaap_DerivativeLiabilities_019d700a-33a2-7e9e-941a-aba9c86ec757" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019d700a-33a2-7180-a909-c90a325ed3ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019d700a-33a2-7628-a3e3-3e714eb77c60" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019d700a-33a2-7180-a909-c90a325ed3ef" xlink:to="loc_us-gaap_DerivativeAssets_019d700a-33a2-7628-a3e3-3e714eb77c60" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/InventoriesScheduleofInventoriesDetails" xlink:type="simple" xlink:href="run-20260331.xsd#InventoriesScheduleofInventoriesDetails"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/InventoriesScheduleofInventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019d195b-5c1b-73df-bc1c-3d7326bf9572" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019d195b-5c1b-71ae-9b0c-2841e4ac98f3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019d195b-5c1b-73df-bc1c-3d7326bf9572" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019d195b-5c1b-71ae-9b0c-2841e4ac98f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019d195b-5c1b-701e-8f90-062d40edacb5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019d195b-5c1b-73df-bc1c-3d7326bf9572" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019d195b-5c1b-701e-8f90-062d40edacb5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/EnergySystemsnetScheduleofSolarEnergySystemsNetDetails" xlink:type="simple" xlink:href="run-20260331.xsd#EnergySystemsnetScheduleofSolarEnergySystemsNetDetails"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/EnergySystemsnetScheduleofSolarEnergySystemsNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet_019d195b-5c1b-72fc-99e6-e6f949e27d06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseGross_019d195b-5c1b-7880-8b87-f007e8c96d1c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet_019d195b-5c1b-72fc-99e6-e6f949e27d06" xlink:to="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseGross_019d195b-5c1b-7880-8b87-f007e8c96d1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAccumulatedDepreciation_019d195b-5c1b-7678-98fb-88b4c85eece3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAccumulatedDepreciation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet_019d195b-5c1b-72fc-99e6-e6f949e27d06" xlink:to="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAccumulatedDepreciation_019d195b-5c1b-7678-98fb-88b4c85eece3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressGross_019d195b-5c1b-7a08-bb54-1177f988b023" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConstructionInProgressGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet_019d195b-5c1b-72fc-99e6-e6f949e27d06" xlink:to="loc_us-gaap_ConstructionInProgressGross_019d195b-5c1b-7a08-bb54-1177f988b023" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/OtherAssetsScheduleofOtherAssetsDetails" xlink:type="simple" xlink:href="run-20260331.xsd#OtherAssetsScheduleofOtherAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/OtherAssetsScheduleofOtherAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019d195b-5c1c-716b-8c22-c32d70c3f77a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostGross_019d195b-5c1c-7d32-9810-7219bf9c0d80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalizedContractCostGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019d195b-5c1c-716b-8c22-c32d70c3f77a" xlink:to="loc_us-gaap_CapitalizedContractCostGross_019d195b-5c1c-7d32-9810-7219bf9c0d80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostAccumulatedAmortization_019d195b-5c1c-7431-98be-c44e72142877" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalizedContractCostAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019d195b-5c1c-716b-8c22-c32d70c3f77a" xlink:to="loc_us-gaap_CapitalizedContractCostAccumulatedAmortization_019d195b-5c1c-7431-98be-c44e72142877" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnbilledReceivablesCurrent_019d195b-5c1c-73ea-9327-4a8834c059a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnbilledReceivablesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019d195b-5c1c-716b-8c22-c32d70c3f77a" xlink:to="loc_us-gaap_UnbilledReceivablesCurrent_019d195b-5c1c-73ea-9327-4a8834c059a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_019d195b-5c1c-75bc-aa05-04f84831f135" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivable"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019d195b-5c1c-716b-8c22-c32d70c3f77a" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivable_019d195b-5c1c-75bc-aa05-04f84831f135" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019d195b-5c1c-7d36-989d-cb964adcb9f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019d195b-5c1c-716b-8c22-c32d70c3f77a" xlink:to="loc_us-gaap_EquityMethodInvestments_019d195b-5c1c-7d36-989d-cb964adcb9f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019d195b-5c1c-79be-8fb6-021a76e1b97d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019d195b-5c1c-716b-8c22-c32d70c3f77a" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019d195b-5c1c-79be-8fb6-021a76e1b97d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_019d195b-5c1c-7628-ad7f-a1348e633df7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019d195b-5c1c-716b-8c22-c32d70c3f77a" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_019d195b-5c1c-7628-ad7f-a1348e633df7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/AccruedExpensesandOtherLiabilitiesScheduleofAccruedExpensesandOtherLiabilitiesDetails" xlink:type="simple" xlink:href="run-20260331.xsd#AccruedExpensesandOtherLiabilitiesScheduleofAccruedExpensesandOtherLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/AccruedExpensesandOtherLiabilitiesScheduleofAccruedExpensesandOtherLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019d195b-5c1c-75bc-bace-7d4db49a2cc6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedEmployeeBenefitsCurrent_019d195b-5c1c-7a5a-8a79-d4657a3416b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedEmployeeBenefitsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019d195b-5c1c-75bc-bace-7d4db49a2cc6" xlink:to="loc_us-gaap_AccruedEmployeeBenefitsCurrent_019d195b-5c1c-7a5a-8a79-d4657a3416b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositLiabilitiesAccruedInterest_019d195b-5c1c-7f01-961c-6fcec939930d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositLiabilitiesAccruedInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019d195b-5c1c-75bc-bace-7d4db49a2cc6" xlink:to="loc_us-gaap_DepositLiabilitiesAccruedInterest_019d195b-5c1c-7f01-961c-6fcec939930d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019d195b-5c1c-7fb4-978f-9a9960671c07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019d195b-5c1c-75bc-bace-7d4db49a2cc6" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019d195b-5c1c-7fb4-978f-9a9960671c07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019d195b-5c1c-72e1-8bed-a0eaec84a34f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_019d195b-5c1c-75bc-bace-7d4db49a2cc6" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019d195b-5c1c-72e1-8bed-a0eaec84a34f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/IndebtednessScheduleofDebtDetails" xlink:type="simple" xlink:href="run-20260331.xsd#IndebtednessScheduleofDebtDetails"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/IndebtednessScheduleofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019d7051-cb7b-77b1-80d5-b7e50f04e9c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019d7051-cb7b-7125-a16e-574c7f6a9108" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019d7051-cb7b-77b1-80d5-b7e50f04e9c6" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019d7051-cb7b-7125-a16e-574c7f6a9108" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_019d7051-cb7b-7f04-aac3-20de79160b59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019d7051-cb7b-77b1-80d5-b7e50f04e9c6" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_019d7051-cb7b-7f04-aac3-20de79160b59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_019d7051-cb7b-7446-8975-5fab4458d067" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_019d7051-cb7b-77b1-80d5-b7e50f04e9c6" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_019d7051-cb7b-7446-8975-5fab4458d067" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/DerivativesScheduleofOffsettingArrangementsDetails" xlink:type="simple" xlink:href="run-20260331.xsd#DerivativesScheduleofOffsettingArrangementsDetails"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/DerivativesScheduleofOffsettingArrangementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_run_DerivativeAssetLiabilitiesFairValueNet_019d706c-eab2-7690-9a30-ffbbc39d88e9" xlink:href="run-20260331.xsd#run_DerivativeAssetLiabilitiesFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019d706c-eab2-7f8b-b12a-228922b959ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_run_DerivativeAssetLiabilitiesFairValueNet_019d706c-eab2-7690-9a30-ffbbc39d88e9" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019d706c-eab2-7f8b-b12a-228922b959ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019d706c-eab2-7751-8295-6fe953b15008" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_run_DerivativeAssetLiabilitiesFairValueNet_019d706c-eab2-7690-9a30-ffbbc39d88e9" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019d706c-eab2-7751-8295-6fe953b15008" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019d195b-5c1c-78ed-86c6-469ac1995aca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019d195b-5c1c-7da8-ad7e-ca5d936de2ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019d195b-5c1c-78ed-86c6-469ac1995aca" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019d195b-5c1c-7da8-ad7e-ca5d936de2ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019d195b-5c1c-7269-8dc7-2d4accb139b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019d195b-5c1c-78ed-86c6-469ac1995aca" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019d195b-5c1c-7269-8dc7-2d4accb139b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeNet_019d195b-5c1c-7ad2-8512-7323d08f2079" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019d195b-5c1c-762c-8cf1-a88eebd21320" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeNet_019d195b-5c1c-7ad2-8512-7323d08f2079" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019d195b-5c1c-762c-8cf1-a88eebd21320" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019d195b-5c1c-76c1-a3ae-121778544438" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeNet_019d195b-5c1c-7ad2-8512-7323d08f2079" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019d195b-5c1c-76c1-a3ae-121778544438" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019d195b-5c1c-73d7-be59-e54afa291e9e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019d195b-5c1c-77df-aed3-6165ac450342" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019d195b-5c1c-73d7-be59-e54afa291e9e" xlink:to="loc_us-gaap_DerivativeAssets_019d195b-5c1c-77df-aed3-6165ac450342" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019d195b-5c1c-7ad4-8d06-ed03dcb2c786" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019d195b-5c1c-73d7-be59-e54afa291e9e" xlink:to="loc_us-gaap_DerivativeLiabilities_019d195b-5c1c-7ad4-8d06-ed03dcb2c786" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019d195b-5c1c-7e60-937d-d0a93afe39c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019d195b-5c1c-7695-99a5-8a4a2caa58e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019d195b-5c1c-7e60-937d-d0a93afe39c9" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019d195b-5c1c-7695-99a5-8a4a2caa58e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019d195b-5c1c-70dc-9f9a-5bd826f62dac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019d195b-5c1c-7e60-937d-d0a93afe39c9" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019d195b-5c1c-70dc-9f9a-5bd826f62dac" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.sunrun.com/role/NetIncomePerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerShareDetails" xlink:type="simple" xlink:href="run-20260331.xsd#NetIncomePerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.sunrun.com/role/NetIncomePerShareScheduleofComputationofBasicandDilutedNetIncomeLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019d195b-5cdc-710d-a92b-b0108d691e05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019d195b-5cdc-7643-b876-8127476714be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019d195b-5cdc-710d-a92b-b0108d691e05" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_019d195b-5cdc-7643-b876-8127476714be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019d195b-5cdc-7995-ad13-b19d6412f456" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019d195b-5cdc-710d-a92b-b0108d691e05" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019d195b-5cdc-7995-ad13-b19d6412f456" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
