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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:8ee10226-5e5c-449a-b349-813ecc22ce71,g:98964830-dd0c-4d9b-bd8a-7816f387bb8e-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="rwt-20240930.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_0985d1b0-5e44-4fcf-8088-5218ba712164" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_6cafa35f-412d-462a-bb70-e80952d69c10" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_0985d1b0-5e44-4fcf-8088-5218ba712164" xlink:to="loc_us-gaap_Liabilities_6cafa35f-412d-462a-bb70-e80952d69c10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_79f9ba56-3a98-4c15-ae67-0de411e9edbe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_0985d1b0-5e44-4fcf-8088-5218ba712164" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_79f9ba56-3a98-4c15-ae67-0de411e9edbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_96070b63-8961-4008-80e5-cdb84d8e0c2a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_0985d1b0-5e44-4fcf-8088-5218ba712164" xlink:to="loc_us-gaap_CommitmentsAndContingencies_96070b63-8961-4008-80e5-cdb84d8e0c2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_f9589e08-f18a-4eec-882e-9f2ede78ab59" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebt_0e0d278e-ec75-4cb3-8e6c-45877be9d18d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f9589e08-f18a-4eec-882e-9f2ede78ab59" xlink:to="loc_us-gaap_OtherLongTermDebt_0e0d278e-ec75-4cb3-8e6c-45877be9d18d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_6f2d40d0-2751-4b64-aa18-a5b667722bb8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f9589e08-f18a-4eec-882e-9f2ede78ab59" xlink:to="loc_us-gaap_SecuredDebt_6f2d40d0-2751-4b64-aa18-a5b667722bb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_8965d59c-9b68-4a41-a3c6-211252cfef1e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f9589e08-f18a-4eec-882e-9f2ede78ab59" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_8965d59c-9b68-4a41-a3c6-211252cfef1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_8a43351a-460d-41f6-9408-520f7a72230e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_f9589e08-f18a-4eec-882e-9f2ede78ab59" xlink:to="loc_us-gaap_DerivativeLiabilities_8a43351a-460d-41f6-9408-520f7a72230e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c24ca3d3-84d7-48c9-92e8-b910ce0df94d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_faab1710-e4f0-42bb-b6ff-4de8b59219a6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c24ca3d3-84d7-48c9-92e8-b910ce0df94d" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_faab1710-e4f0-42bb-b6ff-4de8b59219a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_21714692-f9ed-42c3-9e9f-67f384950169" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c24ca3d3-84d7-48c9-92e8-b910ce0df94d" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_21714692-f9ed-42c3-9e9f-67f384950169" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_f9b455cb-ad95-4baf-92c4-ea59a12bdb37" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c24ca3d3-84d7-48c9-92e8-b910ce0df94d" xlink:to="loc_us-gaap_PreferredStockValue_f9b455cb-ad95-4baf-92c4-ea59a12bdb37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_72a6c5f6-4a6a-4a44-a275-d1730b3ac674" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c24ca3d3-84d7-48c9-92e8-b910ce0df94d" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_72a6c5f6-4a6a-4a44-a275-d1730b3ac674" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_d1a3b8ea-88d0-4864-9ee6-58c7d2177608" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c24ca3d3-84d7-48c9-92e8-b910ce0df94d" xlink:to="loc_us-gaap_CommonStockValue_d1a3b8ea-88d0-4864-9ee6-58c7d2177608" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CumulativeDividends_d89efed0-2644-4bb4-a585-0ce5d26741bb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CumulativeDividends"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_c24ca3d3-84d7-48c9-92e8-b910ce0df94d" xlink:to="loc_us-gaap_CumulativeDividends_d89efed0-2644-4bb4-a585-0ce5d26741bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_ca6e9a20-60d1-45c1-8a04-ffad18fe12a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_9aa6733b-aab7-4b8f-a7e0-14990c3ce5b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ca6e9a20-60d1-45c1-8a04-ffad18fe12a2" xlink:to="loc_us-gaap_OtherInvestments_9aa6733b-aab7-4b8f-a7e0-14990c3ce5b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_14798cb8-4fde-4464-844c-8309f71db855" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ca6e9a20-60d1-45c1-8a04-ffad18fe12a2" xlink:to="loc_us-gaap_NotesReceivableNet_14798cb8-4fde-4464-844c-8309f71db855" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_328d731d-649f-412b-88fa-a81b00cb6205" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ca6e9a20-60d1-45c1-8a04-ffad18fe12a2" xlink:to="loc_us-gaap_RestrictedCash_328d731d-649f-412b-88fa-a81b00cb6205" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_59eda371-eed8-4d66-969a-ce31bab564a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ca6e9a20-60d1-45c1-8a04-ffad18fe12a2" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_59eda371-eed8-4d66-969a-ce31bab564a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_48ea302d-9af8-46f2-81bc-ba02c4dbc5cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ca6e9a20-60d1-45c1-8a04-ffad18fe12a2" xlink:to="loc_us-gaap_OtherAssets_48ea302d-9af8-46f2-81bc-ba02c4dbc5cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_0ce179a8-e4a8-439c-bfe4-043e00abf2d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ca6e9a20-60d1-45c1-8a04-ffad18fe12a2" xlink:to="loc_us-gaap_DerivativeAssets_0ce179a8-e4a8-439c-bfe4-043e00abf2d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeEquityInvestments_ac824440-4556-4696-bd2d-0a3255e14a47" xlink:href="rwt-20240930.xsd#rwt_HomeEquityInvestments"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ca6e9a20-60d1-45c1-8a04-ffad18fe12a2" xlink:to="loc_rwt_HomeEquityInvestments_ac824440-4556-4696-bd2d-0a3255e14a47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_d47de5e7-6bad-4284-a0e9-c0e1b5520682" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MarketableSecurities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ca6e9a20-60d1-45c1-8a04-ffad18fe12a2" xlink:to="loc_us-gaap_MarketableSecurities_d47de5e7-6bad-4284-a0e9-c0e1b5520682" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/CONSOLIDATEDSTATEMENTSOFINCOMELOSS" xlink:type="simple" xlink:href="rwt-20240930.xsd#CONSOLIDATEDSTATEMENTSOFINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/CONSOLIDATEDSTATEMENTSOFINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_a337cfba-330f-49cb-afde-f8d79d789c91" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_fb75b091-4577-4a35-afe0-d2f363181f6d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_a337cfba-330f-49cb-afde-f8d79d789c91" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_fb75b091-4577-4a35-afe0-d2f363181f6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_97573b0b-1e80-4b7b-be2e-efa36855102d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_a337cfba-330f-49cb-afde-f8d79d789c91" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_97573b0b-1e80-4b7b-be2e-efa36855102d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PortfolioManagementFees_aacd5e41-aaf8-43ed-8e15-a6e8f6647302" xlink:href="rwt-20240930.xsd#rwt_PortfolioManagementFees"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_a337cfba-330f-49cb-afde-f8d79d789c91" xlink:to="loc_rwt_PortfolioManagementFees_aacd5e41-aaf8-43ed-8e15-a6e8f6647302" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NoninterestIncomeNet_84856bc7-137e-48c4-8f51-93b3c9d27d5d" xlink:href="rwt-20240930.xsd#rwt_NoninterestIncomeNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_a337cfba-330f-49cb-afde-f8d79d789c91" xlink:to="loc_rwt_NoninterestIncomeNet_84856bc7-137e-48c4-8f51-93b3c9d27d5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoanAcquisitionCosts_d57499a4-eb50-4030-81ab-543287b312a3" xlink:href="rwt-20240930.xsd#rwt_LoanAcquisitionCosts"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_a337cfba-330f-49cb-afde-f8d79d789c91" xlink:to="loc_rwt_LoanAcquisitionCosts_d57499a4-eb50-4030-81ab-543287b312a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_c066fda4-83de-4b95-89d7-7d4bd69b2127" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherExpenses"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_a337cfba-330f-49cb-afde-f8d79d789c91" xlink:to="loc_us-gaap_OtherExpenses_c066fda4-83de-4b95-89d7-7d4bd69b2127" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_beb4a263-ccad-46eb-affb-2b5bea10af6e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_54dab76f-1b88-4e18-bb2a-40c7924c717c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_beb4a263-ccad-46eb-affb-2b5bea10af6e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_54dab76f-1b88-4e18-bb2a-40c7924c717c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_409437f4-8428-4861-a0f3-b741088d1c24" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_beb4a263-ccad-46eb-affb-2b5bea10af6e" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_409437f4-8428-4861-a0f3-b741088d1c24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_7b9d80aa-0fca-49d1-bdc5-76bdec723aa1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseBeneficialInterestsIssuedByConsolidatedVariableInterestEntities_c116b457-52c5-49c8-b046-285ddcb01116" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseBeneficialInterestsIssuedByConsolidatedVariableInterestEntities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_7b9d80aa-0fca-49d1-bdc5-76bdec723aa1" xlink:to="loc_us-gaap_InterestExpenseBeneficialInterestsIssuedByConsolidatedVariableInterestEntities_c116b457-52c5-49c8-b046-285ddcb01116" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseLongTermDebt_049f24e4-9234-4871-a8fb-1d96706e1502" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseLongTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_7b9d80aa-0fca-49d1-bdc5-76bdec723aa1" xlink:to="loc_us-gaap_InterestExpenseLongTermDebt_049f24e4-9234-4871-a8fb-1d96706e1502" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_b971ed59-3b7a-4ac9-b34c-939743b9d32b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_fd21359e-8684-4283-965e-b1e5593773bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_b971ed59-3b7a-4ac9-b34c-939743b9d32b" xlink:to="loc_us-gaap_NetIncomeLoss_fd21359e-8684-4283-965e-b1e5593773bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockDividends_9f2549fa-e9ec-4811-9c21-e754923a00af" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RedeemablePreferredStockDividends"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_b971ed59-3b7a-4ac9-b34c-939743b9d32b" xlink:to="loc_us-gaap_RedeemablePreferredStockDividends_9f2549fa-e9ec-4811-9c21-e754923a00af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_acde589c-fef7-41f0-9703-420fcd218e7e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansConsumerRealEstate_fd6c9ad9-1be4-4614-9f68-b780086568d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndFeeIncomeLoansConsumerRealEstate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_acde589c-fef7-41f0-9703-420fcd218e7e" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansConsumerRealEstate_fd6c9ad9-1be4-4614-9f68-b780086568d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansCommercialAndResidentialRealEstate_82c5baa2-215f-42da-8886-2f0a9dc7865e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndFeeIncomeLoansCommercialAndResidentialRealEstate"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_acde589c-fef7-41f0-9703-420fcd218e7e" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansCommercialAndResidentialRealEstate_82c5baa2-215f-42da-8886-2f0a9dc7865e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansHeldForSaleMortgages_a878f8b7-843b-4e75-8a13-5dec9f96e6ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndFeeIncomeLoansHeldForSaleMortgages"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_acde589c-fef7-41f0-9703-420fcd218e7e" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansHeldForSaleMortgages_a878f8b7-843b-4e75-8a13-5dec9f96e6ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesMortgageBacked_a044d207-5784-43c4-8fe9-5fde2db8878a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeSecuritiesMortgageBacked"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_acde589c-fef7-41f0-9703-420fcd218e7e" xlink:to="loc_us-gaap_InterestIncomeSecuritiesMortgageBacked_a044d207-5784-43c4-8fe9-5fde2db8878a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOther_7d0be4cd-ed08-49e9-af7d-099f519d6c13" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_acde589c-fef7-41f0-9703-420fcd218e7e" xlink:to="loc_us-gaap_InterestIncomeOther_7d0be4cd-ed08-49e9-af7d-099f519d6c13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NoninterestIncomeNet_2f20945f-e2dc-45cb-9f4e-7f6d31244e86" xlink:href="rwt-20240930.xsd#rwt_NoninterestIncomeNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MortgageBankingActivitiesNet_1ee18d45-1cb4-44a3-acac-9eff74147de3" xlink:href="rwt-20240930.xsd#rwt_MortgageBankingActivitiesNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_NoninterestIncomeNet_2f20945f-e2dc-45cb-9f4e-7f6d31244e86" xlink:to="loc_rwt_MortgageBankingActivitiesNet_1ee18d45-1cb4-44a3-acac-9eff74147de3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_dcf41da5-67c3-4182-93e7-500f98d777b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_NoninterestIncomeNet_2f20945f-e2dc-45cb-9f4e-7f6d31244e86" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_dcf41da5-67c3-4182-93e7-500f98d777b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_de63e994-a0d6-4eca-b830-1e4777d39904" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_NoninterestIncomeNet_2f20945f-e2dc-45cb-9f4e-7f6d31244e86" xlink:to="loc_us-gaap_OtherIncome_de63e994-a0d6-4eca-b830-1e4777d39904" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_ba7193d7-a4a4-436a-b893-60b6c922653e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealizedInvestmentGainsLosses"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_NoninterestIncomeNet_2f20945f-e2dc-45cb-9f4e-7f6d31244e86" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_ba7193d7-a4a4-436a-b893-60b6c922653e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeEquityInvestmentsIncomeNet_2b6e7350-cba4-47dd-b8c2-76a679d5c090" xlink:href="rwt-20240930.xsd#rwt_HomeEquityInvestmentsIncomeNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_NoninterestIncomeNet_2f20945f-e2dc-45cb-9f4e-7f6d31244e86" xlink:to="loc_rwt_HomeEquityInvestmentsIncomeNet_2b6e7350-cba4-47dd-b8c2-76a679d5c090" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="rwt-20240930.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_9679f81b-da7d-4b12-8a3f-71944a1d77d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_629a6502-3d26-4e04-a122-b74722448a9d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_9679f81b-da7d-4b12-8a3f-71944a1d77d2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_629a6502-3d26-4e04-a122-b74722448a9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_584e8f31-8065-472b-8291-a9eaaa92a667" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_9679f81b-da7d-4b12-8a3f-71944a1d77d2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_584e8f31-8065-472b-8291-a9eaaa92a667" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_88003a39-befe-4fd5-82d6-dec61a8fc298" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_9679f81b-da7d-4b12-8a3f-71944a1d77d2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_88003a39-befe-4fd5-82d6-dec61a8fc298" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_35e6b1ea-0481-4818-980b-cd73b2a044d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c7d4d846-8200-4654-8fd2-969772a9df0a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_35e6b1ea-0481-4818-980b-cd73b2a044d1" xlink:to="loc_us-gaap_NetIncomeLoss_c7d4d846-8200-4654-8fd2-969772a9df0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_d2659488-9e3f-4897-b433-8c3ed2c44d17" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_35e6b1ea-0481-4818-980b-cd73b2a044d1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_d2659488-9e3f-4897-b433-8c3ed2c44d17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_bfeea1e5-e5b5-4fcf-8dc2-170aef0c77d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_45ae956b-bbe6-450f-8f13-7d2c779b2fce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_bfeea1e5-e5b5-4fcf-8dc2-170aef0c77d8" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_45ae956b-bbe6-450f-8f13-7d2c779b2fce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockDividends_b8f5c181-4989-4b4e-8016-8677df160cb0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RedeemablePreferredStockDividends"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_bfeea1e5-e5b5-4fcf-8dc2-170aef0c77d8" xlink:to="loc_us-gaap_RedeemablePreferredStockDividends_b8f5c181-4989-4b4e-8016-8677df160cb0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="rwt-20240930.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_aec787f9-cacd-4dda-b98b-362df1228db7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77b3f9ef-e1b3-426b-85f8-b5d6e8d5741a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_aec787f9-cacd-4dda-b98b-362df1228db7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_77b3f9ef-e1b3-426b-85f8-b5d6e8d5741a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c9d61465-213d-45e9-b4f3-2b0538d4e4d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_aec787f9-cacd-4dda-b98b-362df1228db7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c9d61465-213d-45e9-b4f3-2b0538d4e4d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d10b146b-a78a-452b-bb1f-1aada6e8ca8d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_aec787f9-cacd-4dda-b98b-362df1228db7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d10b146b-a78a-452b-bb1f-1aada6e8ca8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_3116725c-97eb-4378-80f6-7501d3a25472" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_3116725c-97eb-4378-80f6-7501d3a25472" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_5c6fbf14-af6d-4bf2-9c74-71f156642e4f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_5c6fbf14-af6d-4bf2-9c74-71f156642e4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebt_11aff8a3-e313-4687-8a87-93104a464775" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfShortTermDebt"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebt_11aff8a3-e313-4687-8a87-93104a464775" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_0e022e06-99e6-4ea3-8355-743a9f74be96" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_0e022e06-99e6-4ea3-8355-743a9f74be96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_01ae6638-ee0e-4fc6-80e0-428ed3fa4aed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfSecuredDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_01ae6638-ee0e-4fc6-80e0-428ed3fa4aed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_de6973e5-df2d-47d3-a0ba-99cc7948ddae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_de6973e5-df2d-47d3-a0ba-99cc7948ddae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_fc098dae-0591-4f66-bf58-9fad07481b32" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_fc098dae-0591-4f66-bf58-9fad07481b32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromShortTermDebt_012c5f1c-a659-47d3-bacb-1b2457179875" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromShortTermDebt"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:to="loc_us-gaap_ProceedsFromShortTermDebt_012c5f1c-a659-47d3-bacb-1b2457179875" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_7debf609-5841-4f87-80b3-3fbb5671c244" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_7debf609-5841-4f87-80b3-3fbb5671c244" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_55c25a55-eb66-4cd1-b0b4-27e0deab4109" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:to="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_55c25a55-eb66-4cd1-b0b4-27e0deab4109" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_39d3e585-095d-40a1-bc26-246339977699" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a4694d8-8a42-4d9a-996f-d20bac9a2d9f" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_39d3e585-095d-40a1-bc26-246339977699" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_feb3a49d-eba1-4dee-aafa-a8f041ece3b1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_835d1341-4c40-4c08-897f-f74a2954cdc2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_feb3a49d-eba1-4dee-aafa-a8f041ece3b1" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_835d1341-4c40-4c08-897f-f74a2954cdc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_df3a7834-cf2f-4887-b783-0462e8cb579e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_feb3a49d-eba1-4dee-aafa-a8f041ece3b1" xlink:to="loc_us-gaap_RestrictedCash_df3a7834-cf2f-4887-b783-0462e8cb579e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_b574ae77-d906-4cb1-8d95-7470f7c6f6e7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_us-gaap_NetIncomeLoss_b574ae77-d906-4cb1-8d95-7470f7c6f6e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_00ff11e5-de23-4230-a199-e183f9702865" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_00ff11e5-de23-4230-a199-e183f9702865" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_fab17ff5-57d3-4db4-a2bb-c02754e60f23" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_us-gaap_DepreciationAndAmortization_fab17ff5-57d3-4db4-a2bb-c02754e60f23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_1ddfc29c-b268-41db-ba92-fb2a4e858dc8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_1ddfc29c-b268-41db-ba92-fb2a4e858dc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToPurchaseLoansHeldForSale_915ff99a-0948-4c71-b9f8-be8cab57b122" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToPurchaseLoansHeldForSale"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_us-gaap_PaymentsToPurchaseLoansHeldForSale_915ff99a-0948-4c71-b9f8-be8cab57b122" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_94507565-39c5-468f-bc7f-04202e070da7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_94507565-39c5-468f-bc7f-04202e070da7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfLoansHeldForSale_87a82e86-faeb-4337-9a9b-010fd371bc72" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromCollectionOfLoansHeldForSale"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_us-gaap_ProceedsFromCollectionOfLoansHeldForSale_87a82e86-faeb-4337-9a9b-010fd371bc72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PaymentsForProceedsFromDerivativeInstrumentOperatingActivities_73b4e6cf-5d7b-4b29-a397-f07e502a9a7e" xlink:href="rwt-20240930.xsd#rwt_PaymentsForProceedsFromDerivativeInstrumentOperatingActivities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_rwt_PaymentsForProceedsFromDerivativeInstrumentOperatingActivities_73b4e6cf-5d7b-4b29-a397-f07e502a9a7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MarketValuationAdjustmentsNet_40dde352-c0d6-4d6e-b072-6580730a3074" xlink:href="rwt-20240930.xsd#rwt_MarketValuationAdjustmentsNet"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_rwt_MarketValuationAdjustmentsNet_40dde352-c0d6-4d6e-b072-6580730a3074" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_4f28164c-7f80-43bd-9cb2-98c38d4de2f5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_4f28164c-7f80-43bd-9cb2-98c38d4de2f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_f76fec87-03e3-45f0-90d3-72219902f49c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_f76fec87-03e3-45f0-90d3-72219902f49c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLiabilities_d234f2ca-3894-47ef-9a0e-d83db919cc5f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOperatingLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLiabilities_d234f2ca-3894-47ef-9a0e-d83db919cc5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ShareBasedPaymentArrangementNoncashExpenseAndOther_911d03fa-b542-41d7-ad7a-e090eed7e600" xlink:href="rwt-20240930.xsd#rwt_ShareBasedPaymentArrangementNoncashExpenseAndOther"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_d8a8a076-b23d-4496-8d3f-57f911229f8a" xlink:to="loc_rwt_ShareBasedPaymentArrangementNoncashExpenseAndOther_911d03fa-b542-41d7-ad7a-e090eed7e600" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_731249d3-8f86-4a3a-83e2-7d9e60c0b8d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_8a56bc63-556b-4dfc-ac30-a67628d54f1a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_731249d3-8f86-4a3a-83e2-7d9e60c0b8d9" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_8a56bc63-556b-4dfc-ac30-a67628d54f1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PaymentsToAcquireRealEstateSecurities_18a27a2c-f194-4d1f-a99c-a6e5b14abefa" xlink:href="rwt-20240930.xsd#rwt_PaymentsToAcquireRealEstateSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_731249d3-8f86-4a3a-83e2-7d9e60c0b8d9" xlink:to="loc_rwt_PaymentsToAcquireRealEstateSecurities_18a27a2c-f194-4d1f-a99c-a6e5b14abefa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PaymentsToAcquireHomeEquityInvestmentContracts_c7f13eb8-4297-49ff-9d29-15c8c67ff5d6" xlink:href="rwt-20240930.xsd#rwt_PaymentsToAcquireHomeEquityInvestmentContracts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_731249d3-8f86-4a3a-83e2-7d9e60c0b8d9" xlink:to="loc_rwt_PaymentsToAcquireHomeEquityInvestmentContracts_c7f13eb8-4297-49ff-9d29-15c8c67ff5d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_7c35cf74-2a18-44f6-93ea-6c30c8e83921" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_731249d3-8f86-4a3a-83e2-7d9e60c0b8d9" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_7c35cf74-2a18-44f6-93ea-6c30c8e83921" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ProceedsFromPaymentsForHomeEquityContractsNet_277a8ab3-392c-4cf1-bce6-8d7f724a7001" xlink:href="rwt-20240930.xsd#rwt_ProceedsFromPaymentsForHomeEquityContractsNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_731249d3-8f86-4a3a-83e2-7d9e60c0b8d9" xlink:to="loc_rwt_ProceedsFromPaymentsForHomeEquityContractsNet_277a8ab3-392c-4cf1-bce6-8d7f724a7001" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ProceedsFromPrincipalRepaymentsOnSecurities_a58cc79a-8856-49d7-8cb7-b340eb1a88f1" xlink:href="rwt-20240930.xsd#rwt_ProceedsFromPrincipalRepaymentsOnSecurities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_731249d3-8f86-4a3a-83e2-7d9e60c0b8d9" xlink:to="loc_rwt_ProceedsFromPrincipalRepaymentsOnSecurities_a58cc79a-8856-49d7-8cb7-b340eb1a88f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PaymentsForOriginationOfLoansHeldForInvestment_63b700eb-d55f-4a3c-aa32-0c066935efce" xlink:href="rwt-20240930.xsd#rwt_PaymentsForOriginationOfLoansHeldForInvestment"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_731249d3-8f86-4a3a-83e2-7d9e60c0b8d9" xlink:to="loc_rwt_PaymentsForOriginationOfLoansHeldForInvestment_63b700eb-d55f-4a3c-aa32-0c066935efce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfFinanceReceivables_c90f7acf-c4cb-4869-88c6-5e2bdac46bfd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromCollectionOfFinanceReceivables"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_731249d3-8f86-4a3a-83e2-7d9e60c0b8d9" xlink:to="loc_us-gaap_ProceedsFromCollectionOfFinanceReceivables_c90f7acf-c4cb-4869-88c6-5e2bdac46bfd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RepaymentsOfServicingAdvanceInvestments_2182ec27-56e9-4c16-b489-955dd2caefeb" xlink:href="rwt-20240930.xsd#rwt_RepaymentsOfServicingAdvanceInvestments"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_731249d3-8f86-4a3a-83e2-7d9e60c0b8d9" xlink:to="loc_rwt_RepaymentsOfServicingAdvanceInvestments_2182ec27-56e9-4c16-b489-955dd2caefeb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_f4fb06f2-05c5-4f14-bbd8-43ce1a5b5ae9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfFinanceReceivables"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_731249d3-8f86-4a3a-83e2-7d9e60c0b8d9" xlink:to="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_f4fb06f2-05c5-4f14-bbd8-43ce1a5b5ae9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/SegmentInformationScheduleofBusinessSegmentFinancialInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#SegmentInformationScheduleofBusinessSegmentFinancialInformationDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/SegmentInformationScheduleofBusinessSegmentFinancialInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_47f4e902-0108-4228-a9d7-d195f6b4dadf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_f1ddcc3f-cd0b-4f14-b7c4-9ca5e42ca4f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_47f4e902-0108-4228-a9d7-d195f6b4dadf" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_f1ddcc3f-cd0b-4f14-b7c4-9ca5e42ca4f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_266b6e47-2cbb-4507-b836-bd873f04eac7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_47f4e902-0108-4228-a9d7-d195f6b4dadf" xlink:to="loc_us-gaap_OtherExpenses_266b6e47-2cbb-4507-b836-bd873f04eac7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_1b550f09-80a3-4e80-a529-f32ad75b0e19" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_47f4e902-0108-4228-a9d7-d195f6b4dadf" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_1b550f09-80a3-4e80-a529-f32ad75b0e19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PortfolioManagementCosts_7ab6f6d4-0001-4f4f-944a-3b63fc518897" xlink:href="rwt-20240930.xsd#rwt_PortfolioManagementCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_47f4e902-0108-4228-a9d7-d195f6b4dadf" xlink:to="loc_rwt_PortfolioManagementCosts_7ab6f6d4-0001-4f4f-944a-3b63fc518897" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoanAcquisitionCosts_e70e9f11-279e-4a94-a350-8d8a1ea44b32" xlink:href="rwt-20240930.xsd#rwt_LoanAcquisitionCosts"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_47f4e902-0108-4228-a9d7-d195f6b4dadf" xlink:to="loc_rwt_LoanAcquisitionCosts_e70e9f11-279e-4a94-a350-8d8a1ea44b32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_60ea9cb3-9c4c-4de3-b020-7ecf2f1c6fe1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_47f4e902-0108-4228-a9d7-d195f6b4dadf" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_60ea9cb3-9c4c-4de3-b020-7ecf2f1c6fe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NoninterestIncomeNet_b3d01639-5633-433d-b222-34fe38c9901e" xlink:href="rwt-20240930.xsd#rwt_NoninterestIncomeNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_47f4e902-0108-4228-a9d7-d195f6b4dadf" xlink:to="loc_rwt_NoninterestIncomeNet_b3d01639-5633-433d-b222-34fe38c9901e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/MortgageBankingActivitiesNetDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#MortgageBankingActivitiesNetDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/MortgageBankingActivitiesNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MortgageBankingActivitiesNet_6acf954f-a1ab-4751-a359-28b50bee86f5" xlink:href="rwt-20240930.xsd#rwt_MortgageBankingActivitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInFairValueOfPriceRiskFairValueHedgingInstruments1_4c1e98a8-0a9f-4b74-9f54-38d522908b83" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInFairValueOfPriceRiskFairValueHedgingInstruments1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_MortgageBankingActivitiesNet_6acf954f-a1ab-4751-a359-28b50bee86f5" xlink:to="loc_us-gaap_IncreaseDecreaseInFairValueOfPriceRiskFairValueHedgingInstruments1_4c1e98a8-0a9f-4b74-9f54-38d522908b83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_IncreaseDecreaseinFairValueAdjustmentsonAssets_dec72808-02b8-410e-99b3-e9bb4e8b0a8c" xlink:href="rwt-20240930.xsd#rwt_IncreaseDecreaseinFairValueAdjustmentsonAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_MortgageBankingActivitiesNet_6acf954f-a1ab-4751-a359-28b50bee86f5" xlink:to="loc_rwt_IncreaseDecreaseinFairValueAdjustmentsonAssets_dec72808-02b8-410e-99b3-e9bb4e8b0a8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_1e6ec657-7895-420b-ba8d-b3f34ad5f70b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_MortgageBankingActivitiesNet_6acf954f-a1ab-4751-a359-28b50bee86f5" xlink:to="loc_us-gaap_OtherIncome_1e6ec657-7895-420b-ba8d-b3f34ad5f70b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#FairValueofFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_3ef0d86d-2a02-443d-a06e-d009bce5169c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_3ef0d86d-2a02-443d-a06e-d009bce5169c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StrategicInvestmentsAtFairValueAmount_ce778e0e-9ee3-4b6d-8d28-afc2f4c17245" xlink:href="rwt-20240930.xsd#rwt_StrategicInvestmentsAtFairValueAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_rwt_StrategicInvestmentsAtFairValueAmount_ce778e0e-9ee3-4b6d-8d28-afc2f4c17245" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_5dde7feb-2f29-40fa-aa48-1bc81188e98e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_us-gaap_OtherInvestments_5dde7feb-2f29-40fa-aa48-1bc81188e98e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ExcessMortgageServicingRightsIOs_d4fe6583-fd79-4a79-ac36-a835921e3e19" xlink:href="rwt-20240930.xsd#rwt_ExcessMortgageServicingRightsIOs"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_rwt_ExcessMortgageServicingRightsIOs_d4fe6583-fd79-4a79-ac36-a835921e3e19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeAppreciationOptionsFairvalueDisclosure_8511e081-75f1-4041-8ce7-df67bac34465" xlink:href="rwt-20240930.xsd#rwt_HomeAppreciationOptionsFairvalueDisclosure"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_rwt_HomeAppreciationOptionsFairvalueDisclosure_8511e081-75f1-4041-8ce7-df67bac34465" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_b79ff344-21d5-43df-9306-1b3b1e505337" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_us-gaap_DerivativeAssets_b79ff344-21d5-43df-9306-1b3b1e505337" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MultifamilyLoansFairValueDisclosure_c2d8d4d1-0997-43fd-bfd2-a1a88a79d6b5" xlink:href="rwt-20240930.xsd#rwt_MultifamilyLoansFairValueDisclosure"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_rwt_MultifamilyLoansFairValueDisclosure_c2d8d4d1-0997-43fd-bfd2-a1a88a79d6b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecuritiesDebt_43c74227-dabd-4441-b6af-3a7b2f8df980" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TradingSecuritiesDebt"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_us-gaap_TradingSecuritiesDebt_43c74227-dabd-4441-b6af-3a7b2f8df980" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ServicerAdvanceInvestments_df6ab997-e61f-41ad-88ba-f832535f0bb4" xlink:href="rwt-20240930.xsd#rwt_ServicerAdvanceInvestments"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_rwt_ServicerAdvanceInvestments_df6ab997-e61f-41ad-88ba-f832535f0bb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLoansFairValueDisclosure_a68b2e06-c96b-488c-ba2b-870e68a73c84" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLoansFairValueDisclosure"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_rwt_ResidentialInvestorLoansFairValueDisclosure_a68b2e06-c96b-488c-ba2b-870e68a73c84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetAtFairValueAmount_63d5f581-ded3-46ec-919e-c81140a013d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAssetAtFairValueAmount"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_us-gaap_ServicingAssetAtFairValueAmount_63d5f581-ded3-46ec-919e-c81140a013d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesFairValueDisclosure_da2347ad-0105-4341-a70e-74dcaa0bafcd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReceivablesFairValueDisclosure"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_8439f2ca-9892-43d1-a82c-6b23f9ac71d5" xlink:to="loc_us-gaap_ReceivablesFairValueDisclosure_da2347ad-0105-4341-a70e-74dcaa0bafcd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_974ef38b-7107-4894-bf0e-73a109d22ecd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_2a22e9ce-2dfd-4ff1-b459-57994771e10e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_974ef38b-7107-4894-bf0e-73a109d22ecd" xlink:to="loc_us-gaap_DerivativeLiabilities_2a22e9ce-2dfd-4ff1-b459-57994771e10e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NoncontrollingInterestFairValueDisclosure_d64725d4-96d2-476f-900f-5e953ddab4f5" xlink:href="rwt-20240930.xsd#rwt_NoncontrollingInterestFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_974ef38b-7107-4894-bf0e-73a109d22ecd" xlink:to="loc_rwt_NoncontrollingInterestFairValueDisclosure_d64725d4-96d2-476f-900f-5e953ddab4f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFairValue_d82b4573-e7c8-41d2-88f2-ae98e2234bd0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_974ef38b-7107-4894-bf0e-73a109d22ecd" xlink:to="loc_us-gaap_DebtInstrumentFairValue_d82b4573-e7c8-41d2-88f2-ae98e2234bd0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsQuantitativeInformationaboutSignificantUnobservableInputsUsedinValuationofLevel3AssetsandLiabilitiesMeasuredatFairValueDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#FairValueofFinancialInstrumentsQuantitativeInformationaboutSignificantUnobservableInputsUsedinValuationofLevel3AssetsandLiabilitiesMeasuredatFairValueDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsQuantitativeInformationaboutSignificantUnobservableInputsUsedinValuationofLevel3AssetsandLiabilitiesMeasuredatFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_8a52c1fe-e375-4ae8-b724-ab2810607357" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingLiabilityAtFairValueAmount_52959dd6-3641-4408-bfaf-8b6e690efe49" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingLiabilityAtFairValueAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_8a52c1fe-e375-4ae8-b724-ab2810607357" xlink:to="loc_us-gaap_ServicingLiabilityAtFairValueAmount_52959dd6-3641-4408-bfaf-8b6e690efe49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_567fe0a5-69b3-48e7-ae2e-8623a84aa900" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_8a52c1fe-e375-4ae8-b724-ab2810607357" xlink:to="loc_us-gaap_OtherLiabilities_567fe0a5-69b3-48e7-ae2e-8623a84aa900" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_cfe33603-f3ce-4c67-88c0-c5d69fa80ccf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_f867106d-d301-4b7b-8bbf-49be273ed1c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LoansReceivableFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_cfe33603-f3ce-4c67-88c0-c5d69fa80ccf" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_f867106d-d301-4b7b-8bbf-49be273ed1c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFairValue_4c0e072b-73cb-4994-895a-a5cfd0e70dd5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentFairValue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_cfe33603-f3ce-4c67-88c0-c5d69fa80ccf" xlink:to="loc_us-gaap_DebtInstrumentFairValue_4c0e072b-73cb-4994-895a-a5cfd0e70dd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_3453127b-5a69-40e2-b04c-9c3033560397" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_cfe33603-f3ce-4c67-88c0-c5d69fa80ccf" xlink:to="loc_us-gaap_OtherAssets_3453127b-5a69-40e2-b04c-9c3033560397" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_DebtSecuritiesTradingAndAvailableforsaleFairValueDisclosure_234aa03a-6cfc-4962-ae7e-745a595c0a47" xlink:href="rwt-20240930.xsd#rwt_DebtSecuritiesTradingAndAvailableforsaleFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_cfe33603-f3ce-4c67-88c0-c5d69fa80ccf" xlink:to="loc_rwt_DebtSecuritiesTradingAndAvailableforsaleFairValueDisclosure_234aa03a-6cfc-4962-ae7e-745a595c0a47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeAppreciationOptionsFairvalueDisclosure_b94b1361-ebdb-4f93-9322-4d672869e3e5" xlink:href="rwt-20240930.xsd#rwt_HomeAppreciationOptionsFairvalueDisclosure"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_cfe33603-f3ce-4c67-88c0-c5d69fa80ccf" xlink:to="loc_rwt_HomeAppreciationOptionsFairvalueDisclosure_b94b1361-ebdb-4f93-9322-4d672869e3e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAsset_a1114f9c-4006-40fe-b47a-d6daee79a896" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAsset"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_cfe33603-f3ce-4c67-88c0-c5d69fa80ccf" xlink:to="loc_us-gaap_ServicingAsset_a1114f9c-4006-40fe-b47a-d6daee79a896" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/RealEstateSecuritiesScheduleofFairValuesofRealEstateSecuritiesDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#RealEstateSecuritiesScheduleofFairValuesofRealEstateSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/RealEstateSecuritiesScheduleofFairValuesofRealEstateSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_2b9341bd-1e0b-4e01-93df-ff25e7af9d7a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MarketableSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecurities_8a5f27cd-ab82-4e08-af4e-db3779c06269" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TradingSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_MarketableSecurities_2b9341bd-1e0b-4e01-93df-ff25e7af9d7a" xlink:to="loc_us-gaap_TradingSecurities_8a5f27cd-ab82-4e08-af4e-db3779c06269" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_17dcc8e5-17be-4fd6-b8a6-b2848cf10ffb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_MarketableSecurities_2b9341bd-1e0b-4e01-93df-ff25e7af9d7a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_17dcc8e5-17be-4fd6-b8a6-b2848cf10ffb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OtherInvestmentsScheduleofOtherInvestmentsDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#OtherInvestmentsScheduleofOtherInvestmentsDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/OtherInvestmentsScheduleofOtherInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_e15f5a94-f0a9-40e5-b08b-f200027a4c80" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetAtFairValueAmount_1bd39a54-dda1-43cf-bc58-2f840f5e3bdb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAssetAtFairValueAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherInvestments_e15f5a94-f0a9-40e5-b08b-f200027a4c80" xlink:to="loc_us-gaap_ServicingAssetAtFairValueAmount_1bd39a54-dda1-43cf-bc58-2f840f5e3bdb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoanHeldForInvestmentAmount_ee74a043-965d-4eac-84eb-8494e66b591e" xlink:href="rwt-20240930.xsd#rwt_LoanHeldForInvestmentAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherInvestments_e15f5a94-f0a9-40e5-b08b-f200027a4c80" xlink:to="loc_rwt_LoanHeldForInvestmentAmount_ee74a043-965d-4eac-84eb-8494e66b591e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StrategicInvestmentsAtCarryingValue_9ff4fd67-d4dc-4cf8-9a68-58ed44cc8fc8" xlink:href="rwt-20240930.xsd#rwt_StrategicInvestmentsAtCarryingValue"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherInvestments_e15f5a94-f0a9-40e5-b08b-f200027a4c80" xlink:to="loc_rwt_StrategicInvestmentsAtCarryingValue_9ff4fd67-d4dc-4cf8-9a68-58ed44cc8fc8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OtherInvestmentsScheduleofOtherInvestmentIncomeNetDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#OtherInvestmentsScheduleofOtherInvestmentIncomeNetDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/OtherInvestmentsScheduleofOtherInvestmentIncomeNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rwt_TotalOtherInvestmentsIncomeNet_4e8c95be-a06d-4641-add0-9b5c63b63130" xlink:href="rwt-20240930.xsd#rwt_TotalOtherInvestmentsIncomeNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StrategicInvestmentsIncomeLossNet_58cdd6f7-c248-4c5b-94d7-94cd847a5f6a" xlink:href="rwt-20240930.xsd#rwt_StrategicInvestmentsIncomeLossNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_TotalOtherInvestmentsIncomeNet_4e8c95be-a06d-4641-add0-9b5c63b63130" xlink:to="loc_rwt_StrategicInvestmentsIncomeLossNet_58cdd6f7-c248-4c5b-94d7-94cd847a5f6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_42f18b58-0b0f-4611-9b78-a74a67926c2b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_TotalOtherInvestmentsIncomeNet_4e8c95be-a06d-4641-add0-9b5c63b63130" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_42f18b58-0b0f-4611-9b78-a74a67926c2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_f5bea694-0531-4751-aed3-e669375fdb03" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_TotalOtherInvestmentsIncomeNet_4e8c95be-a06d-4641-add0-9b5c63b63130" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_f5bea694-0531-4751-aed3-e669375fdb03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MortgageServicingRightsIncomeLossNet_25b446f7-932e-495a-ab0e-61fefc3bcc18" xlink:href="rwt-20240930.xsd#rwt_MortgageServicingRightsIncomeLossNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_TotalOtherInvestmentsIncomeNet_4e8c95be-a06d-4641-add0-9b5c63b63130" xlink:to="loc_rwt_MortgageServicingRightsIncomeLossNet_25b446f7-932e-495a-ab0e-61fefc3bcc18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_fccb8d26-a300-4fa1-bef5-2af6d1d3ee0d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_rwt_TotalOtherInvestmentsIncomeNet_4e8c95be-a06d-4641-add0-9b5c63b63130" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_fccb8d26-a300-4fa1-bef5-2af6d1d3ee0d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OffsettingAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#OffsettingAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/OffsettingAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_d5646f16-808f-449a-ae4b-8ee305d173e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_4ada9d28-b6b8-40d7-ba15-6f56778a2001" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_d5646f16-808f-449a-ae4b-8ee305d173e3" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_4ada9d28-b6b8-40d7-ba15-6f56778a2001" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_c09aaf0a-6f48-402f-af76-af6658645b3c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_d5646f16-808f-449a-ae4b-8ee305d173e3" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_c09aaf0a-6f48-402f-af76-af6658645b3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_0262ddec-0909-48bc-9d27-eb65de11157d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_774820a5-086f-446c-92e3-b01f8cc57413" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_0262ddec-0909-48bc-9d27-eb65de11157d" xlink:to="loc_us-gaap_DerivativeAssets_774820a5-086f-446c-92e3-b01f8cc57413" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnCash_af3b14a8-1f18-47ec-8d57-1a9d4223279c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeCollateralObligationToReturnCash"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_0262ddec-0909-48bc-9d27-eb65de11157d" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnCash_af3b14a8-1f18-47ec-8d57-1a9d4223279c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_8473513f-9449-479b-bbf8-411e0d78fca8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeCollateralObligationToReturnSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_0262ddec-0909-48bc-9d27-eb65de11157d" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_8473513f-9449-479b-bbf8-411e0d78fca8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_ca0597a3-f469-4024-9aaa-51eb94b63aee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_0aa053bd-b5a0-4d23-b8ea-81f8538fc044" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_ca0597a3-f469-4024-9aaa-51eb94b63aee" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_0aa053bd-b5a0-4d23-b8ea-81f8538fc044" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_2d4779ce-d82f-4880-a4f2-ef974046e374" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_ca0597a3-f469-4024-9aaa-51eb94b63aee" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_2d4779ce-d82f-4880-a4f2-ef974046e374" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_df6c3fd0-7a70-45f1-9332-b46ac3f8438c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_ca0597a3-f469-4024-9aaa-51eb94b63aee" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_df6c3fd0-7a70-45f1-9332-b46ac3f8438c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_3258aef1-b4b7-4778-b842-0a0767efe887" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_16ba8093-d209-45a6-b8fd-7b1584053c09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_3258aef1-b4b7-4778-b842-0a0767efe887" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_16ba8093-d209-45a6-b8fd-7b1584053c09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_1c4dc536-537e-4c15-b395-1ed9c0a73312" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_3258aef1-b4b7-4778-b842-0a0767efe887" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_1c4dc536-537e-4c15-b395-1ed9c0a73312" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash_8a419ab1-96c7-43c0-8c7e-198881fac76e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_3d192c8f-c8e2-4061-a09b-26d84df54c41" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash_8a419ab1-96c7-43c0-8c7e-198881fac76e" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_3d192c8f-c8e2-4061-a09b-26d84df54c41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimCash_686e42a5-c440-4f80-b71c-d4cd6b0a8dcc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeCollateralRightToReclaimCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash_8a419ab1-96c7-43c0-8c7e-198881fac76e" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimCash_686e42a5-c440-4f80-b71c-d4cd6b0a8dcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_4b6fda33-245a-4e83-b09e-8a90f9b8dd46" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_487c4787-e85a-4e91-8656-60f628ec7b73" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_4b6fda33-245a-4e83-b09e-8a90f9b8dd46" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_487c4787-e85a-4e91-8656-60f628ec7b73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_8b175f64-734e-4576-919a-4bc062ff936a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_4b6fda33-245a-4e83-b09e-8a90f9b8dd46" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_8b175f64-734e-4576-919a-4bc062ff936a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned_f4973edd-8a99-487b-9349-72bd8f7f6ea0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_f67af6fc-97f5-4e62-b784-0ba1b18cf149" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned_f4973edd-8a99-487b-9349-72bd8f7f6ea0" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_f67af6fc-97f5-4e62-b784-0ba1b18cf149" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_55216764-93de-435a-b408-8b56ee6f9387" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned_f4973edd-8a99-487b-9349-72bd8f7f6ea0" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_55216764-93de-435a-b408-8b56ee6f9387" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_610d047e-6510-45cb-b6dd-cca4f2674c70" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_45fa5f2b-172e-449f-8dea-5159ab692660" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_610d047e-6510-45cb-b6dd-cca4f2674c70" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_45fa5f2b-172e-449f-8dea-5159ab692660" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_1232c2e9-035a-4b50-bf4e-2158c6cb6ac8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_610d047e-6510-45cb-b6dd-cca4f2674c70" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_1232c2e9-035a-4b50-bf4e-2158c6cb6ac8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_0a013b51-357d-4f59-a4be-c734a95f9615" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_19d6f9cb-622c-4fda-b9c9-78d9fa3ab47a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_0a013b51-357d-4f59-a4be-c734a95f9615" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_19d6f9cb-622c-4fda-b9c9-78d9fa3ab47a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimCash_0061092c-8590-41a6-852e-e3abd9b3fdd8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeCollateralRightToReclaimCash"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_0a013b51-357d-4f59-a4be-c734a95f9615" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimCash_0061092c-8590-41a6-852e-e3abd9b3fdd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_9c7d5678-5680-478d-9469-2701ab58bf31" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_0a013b51-357d-4f59-a4be-c734a95f9615" xlink:to="loc_us-gaap_DerivativeLiabilities_9c7d5678-5680-478d-9469-2701ab58bf31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_a16cfb26-7429-4387-a859-518d763a027b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_1307ccdd-8e1d-47e5-8f70-27a147f9fa61" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_a16cfb26-7429-4387-a859-518d763a027b" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_1307ccdd-8e1d-47e5-8f70-27a147f9fa61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_9a3b92d7-e6f5-4f09-8091-1ad7e41bfdae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_a16cfb26-7429-4387-a859-518d763a027b" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_9a3b92d7-e6f5-4f09-8091-1ad7e41bfdae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_21e3e426-b1fb-4659-bd81-5ecbdaf611e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_167e5618-30c9-42d5-90f8-d98131f893a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_21e3e426-b1fb-4659-bd81-5ecbdaf611e2" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_167e5618-30c9-42d5-90f8-d98131f893a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_ca889391-5370-4e7c-a78a-a93433e6c7fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_21e3e426-b1fb-4659-bd81-5ecbdaf611e2" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_ca889391-5370-4e7c-a78a-a93433e6c7fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_3cb5779f-f46d-4248-a6e4-a8f31f52c82f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_658afc03-b318-469b-a4ce-39bf3f5ff5d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_3cb5779f-f46d-4248-a6e4-a8f31f52c82f" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_658afc03-b318-469b-a4ce-39bf3f5ff5d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_d63d73b0-1164-4346-8612-22006c8c4c83" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_3cb5779f-f46d-4248-a6e4-a8f31f52c82f" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_d63d73b0-1164-4346-8612-22006c8c4c83" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OffsettingAssetsandLiabilitiesDetails_1" xlink:type="simple" xlink:href="rwt-20240930.xsd#OffsettingAssetsandLiabilitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/OffsettingAssetsandLiabilitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_b9d1502a-e415-47cc-8edb-c64d9f929794" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned_6e57805e-93e8-412a-88ad-d2ae24d83b91" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_b9d1502a-e415-47cc-8edb-c64d9f929794" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned_6e57805e-93e8-412a-88ad-d2ae24d83b91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash_58b56f36-20d3-414d-827a-41b3cfe081a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_b9d1502a-e415-47cc-8edb-c64d9f929794" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash_58b56f36-20d3-414d-827a-41b3cfe081a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_5b2322d4-b8ba-48e8-821a-68710e2f5d30" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_b9d1502a-e415-47cc-8edb-c64d9f929794" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_5b2322d4-b8ba-48e8-821a-68710e2f5d30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned_ac8d3739-ea69-40f4-a38f-3550ed1d551c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_5778bf06-e285-4257-85b8-37ee909710a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned_ac8d3739-ea69-40f4-a38f-3550ed1d551c" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_5778bf06-e285-4257-85b8-37ee909710a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_4b69480b-9749-40ef-920c-255eb8a6af05" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned_ac8d3739-ea69-40f4-a38f-3550ed1d551c" xlink:to="loc_us-gaap_DerivativeLiabilities_4b69480b-9749-40ef-920c-255eb8a6af05" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OtherAssetsandLiabilitiesScheduleofComponentsofOtherAssetsDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#OtherAssetsandLiabilitiesScheduleofComponentsofOtherAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/OtherAssetsandLiabilitiesScheduleofComponentsofOtherAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_f03c38c0-5a6c-44df-9c1b-7e6bb1dab957" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_c5899985-290f-44af-a697-4c6d79d6a2ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealEstateAcquiredThroughForeclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_f03c38c0-5a6c-44df-9c1b-7e6bb1dab957" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_c5899985-290f-44af-a697-4c6d79d6a2ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneous_1cc77f7e-6604-47ff-9e71-8affdb171289" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsMiscellaneous"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_f03c38c0-5a6c-44df-9c1b-7e6bb1dab957" xlink:to="loc_us-gaap_OtherAssetsMiscellaneous_1cc77f7e-6604-47ff-9e71-8affdb171289" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_87db9402-21c6-43a7-bb6c-6a5fa89dc7a3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_f03c38c0-5a6c-44df-9c1b-7e6bb1dab957" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_87db9402-21c6-43a7-bb6c-6a5fa89dc7a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_4848347f-6444-4c94-85a1-222e57a7601b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_f03c38c0-5a6c-44df-9c1b-7e6bb1dab957" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_4848347f-6444-4c94-85a1-222e57a7601b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarginDepositAssets_4bfd5827-8444-4718-b01b-df02465908d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MarginDepositAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_f03c38c0-5a6c-44df-9c1b-7e6bb1dab957" xlink:to="loc_us-gaap_MarginDepositAssets_4bfd5827-8444-4718-b01b-df02465908d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_7b10c36a-8f39-4f00-b2df-b63d706081bb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedInvestmentIncomeReceivable"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_f03c38c0-5a6c-44df-9c1b-7e6bb1dab957" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_7b10c36a-8f39-4f00-b2df-b63d706081bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_57538b6b-428a-47ac-a517-fa28bd740beb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_f03c38c0-5a6c-44df-9c1b-7e6bb1dab957" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_57538b6b-428a-47ac-a517-fa28bd740beb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_55b35c8a-3783-433e-ab88-66740236b8d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_f03c38c0-5a6c-44df-9c1b-7e6bb1dab957" xlink:to="loc_us-gaap_Goodwill_55b35c8a-3783-433e-ab88-66740236b8d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_64e9b4ab-e148-438a-8660-cb5319a5759b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_f03c38c0-5a6c-44df-9c1b-7e6bb1dab957" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_64e9b4ab-e148-438a-8660-cb5319a5759b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_7efa0ed7-0a1d-4fc5-afbb-dcb150dd8a09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_f03c38c0-5a6c-44df-9c1b-7e6bb1dab957" xlink:to="loc_us-gaap_InterestReceivable_7efa0ed7-0a1d-4fc5-afbb-dcb150dd8a09" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OtherAssetsandLiabilitiesScheduleofAccruedExpensesandOtherLiabilitiesDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#OtherAssetsandLiabilitiesScheduleofAccruedExpensesandOtherLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/OtherAssetsandLiabilitiesScheduleofAccruedExpensesandOtherLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuarantyLiabilities_e656470d-3254-45c9-b8f0-9906e441aedd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GuarantyLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_us-gaap_GuarantyLiabilities_e656470d-3254-45c9-b8f0-9906e441aedd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BridgeLoanHoldback_000605d3-d108-43fa-915b-daf6e6351f38" xlink:href="rwt-20240930.xsd#rwt_BridgeLoanHoldback"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_rwt_BridgeLoanHoldback_000605d3-d108-43fa-915b-daf6e6351f38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_4e55aaa3-5033-483b-aaa6-423dff09189d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_us-gaap_OperatingLeaseLiability_4e55aaa3-5033-483b-aaa6-423dff09189d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MortgageLoanOnRealEstateRepurchaseReserve_080dbc2f-e72a-4382-94f6-b864e8ea550f" xlink:href="rwt-20240930.xsd#rwt_MortgageLoanOnRealEstateRepurchaseReserve"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_rwt_MortgageLoanOnRealEstateRepurchaseReserve_080dbc2f-e72a-4382-94f6-b864e8ea550f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_AccruedOperatingExpenses_a2186457-3272-453b-b467-a8d9c8eabea0" xlink:href="rwt-20240930.xsd#rwt_AccruedOperatingExpenses"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_rwt_AccruedOperatingExpenses_a2186457-3272-453b-b467-a8d9c8eabea0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_d17a9b46-69e1-43b0-b1c7-4ce69d153aec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_us-gaap_AccountsPayableCurrent_d17a9b46-69e1-43b0-b1c7-4ce69d153aec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestInLimitedPartnerships_2428b901-0b1d-4c06-a8f7-ab90c1668ceb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestInLimitedPartnerships"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_us-gaap_MinorityInterestInLimitedPartnerships_2428b901-0b1d-4c06-a8f7-ab90c1668ceb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MarginPayable_f0e182bb-50dc-44be-aa7d-52e09753d70b" xlink:href="rwt-20240930.xsd#rwt_MarginPayable"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_rwt_MarginPayable_f0e182bb-50dc-44be-aa7d-52e09753d70b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxes_180beab9-4e7d-4328-ab0d-eab379ae8511" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedIncomeTaxes"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_us-gaap_AccruedIncomeTaxes_180beab9-4e7d-4328-ab0d-eab379ae8511" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrentAndNoncurrent_5cd46c08-55f0-4982-a456-0ee2d7b94c9c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrentAndNoncurrent_5cd46c08-55f0-4982-a456-0ee2d7b94c9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_6cc60a9d-0a08-4a69-9d0c-6fc99766180c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_6cc60a9d-0a08-4a69-9d0c-6fc99766180c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_7601c7bb-e914-4d8a-a6b2-b203533726d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_7601c7bb-e914-4d8a-a6b2-b203533726d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_UnsettledTradeLiabilitiesCurrent_5221327b-ff8b-49ae-9314-53275378d7dc" xlink:href="rwt-20240930.xsd#rwt_UnsettledTradeLiabilitiesCurrent"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_rwt_UnsettledTradeLiabilitiesCurrent_5221327b-ff8b-49ae-9314-53275378d7dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OtherLiabilitiesMiscellaneous_76bd98a3-31d4-4e85-837f-81416b671613" xlink:href="rwt-20240930.xsd#rwt_OtherLiabilitiesMiscellaneous"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_0b84b3d8-ee17-4307-97c5-3e2b1b3b7721" xlink:to="loc_rwt_OtherLiabilitiesMiscellaneous_76bd98a3-31d4-4e85-837f-81416b671613" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/PrinciplesofConsolidationScheduleofAssetsandLiabilitiesofConsolidatedVIEsDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#PrinciplesofConsolidationScheduleofAssetsandLiabilitiesofConsolidatedVIEsDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/PrinciplesofConsolidationScheduleofAssetsandLiabilitiesofConsolidatedVIEsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_dc12cac1-bd5c-43ca-8a97-a7aaa055bef3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_a4d97fdd-685a-4bd2-8b33-69427b6f249e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dc12cac1-bd5c-43ca-8a97-a7aaa055bef3" xlink:to="loc_us-gaap_OtherAssets_a4d97fdd-685a-4bd2-8b33-69427b6f249e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_67b7164a-612e-4c7d-aa63-3d6f9dd83bce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dc12cac1-bd5c-43ca-8a97-a7aaa055bef3" xlink:to="loc_us-gaap_NotesReceivableNet_67b7164a-612e-4c7d-aa63-3d6f9dd83bce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_0bafa5db-3031-4283-b76b-b11c04254c79" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dc12cac1-bd5c-43ca-8a97-a7aaa055bef3" xlink:to="loc_us-gaap_OtherInvestments_0bafa5db-3031-4283-b76b-b11c04254c79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeEquityInvestments_18dedb19-cd56-4d59-a742-9579fdfd9733" xlink:href="rwt-20240930.xsd#rwt_HomeEquityInvestments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dc12cac1-bd5c-43ca-8a97-a7aaa055bef3" xlink:to="loc_rwt_HomeEquityInvestments_18dedb19-cd56-4d59-a742-9579fdfd9733" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_9bd5c8e7-6627-49b8-b998-c45dca031aa0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dc12cac1-bd5c-43ca-8a97-a7aaa055bef3" xlink:to="loc_us-gaap_InterestReceivable_9bd5c8e7-6627-49b8-b998-c45dca031aa0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_adb0c745-3039-4c60-9c3c-3b41e2ce79ba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dc12cac1-bd5c-43ca-8a97-a7aaa055bef3" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_adb0c745-3039-4c60-9c3c-3b41e2ce79ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_77c68274-c393-40f3-9f1e-a8d8ac7ef0c2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_dc12cac1-bd5c-43ca-8a97-a7aaa055bef3" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_77c68274-c393-40f3-9f1e-a8d8ac7ef0c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_80f873b6-5b2d-46f4-8e31-14cb96a908dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_0726bda8-2f1b-4514-93e7-719c0020db84" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_80f873b6-5b2d-46f4-8e31-14cb96a908dd" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_0726bda8-2f1b-4514-93e7-719c0020db84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_fe749e53-2bd8-449b-a4ee-cafafcf4e6ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermBorrowings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_80f873b6-5b2d-46f4-8e31-14cb96a908dd" xlink:to="loc_us-gaap_ShortTermBorrowings_fe749e53-2bd8-449b-a4ee-cafafcf4e6ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_61f6a86a-b0e9-421a-ac93-519d3e088e69" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_80f873b6-5b2d-46f4-8e31-14cb96a908dd" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_61f6a86a-b0e9-421a-ac93-519d3e088e69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_e4555a34-1379-43b6-944b-a4116b8332d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_80f873b6-5b2d-46f4-8e31-14cb96a908dd" xlink:to="loc_us-gaap_SecuredDebt_e4555a34-1379-43b6-944b-a4116b8332d2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/PrinciplesofConsolidationScheduleofUnconsolidatedVariableInterestEntitysSponsoredbyRedwoodDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#PrinciplesofConsolidationScheduleofUnconsolidatedVariableInterestEntitysSponsoredbyRedwoodDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/PrinciplesofConsolidationScheduleofUnconsolidatedVariableInterestEntitysSponsoredbyRedwoodDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_6ed8dd71-2860-43f0-ace6-a8fe0da7b622" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecuritiesDebt_d4bfd534-33a4-4bcb-b39a-79a38fdb8f54" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TradingSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_6ed8dd71-2860-43f0-ace6-a8fe0da7b622" xlink:to="loc_us-gaap_TradingSecuritiesDebt_d4bfd534-33a4-4bcb-b39a-79a38fdb8f54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_763a7389-e20e-4b77-bf55-a93625147a4f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_6ed8dd71-2860-43f0-ace6-a8fe0da7b622" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_763a7389-e20e-4b77-bf55-a93625147a4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetAtFairValueAmount_73f44a59-ec35-4f18-bc3e-4ead59e2d638" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAssetAtFairValueAmount"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_6ed8dd71-2860-43f0-ace6-a8fe0da7b622" xlink:to="loc_us-gaap_ServicingAssetAtFairValueAmount_73f44a59-ec35-4f18-bc3e-4ead59e2d638" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/EquityScheduleofChangestoAccumulatedOtherComprehensiveIncomebyComponentDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#EquityScheduleofChangestoAccumulatedOtherComprehensiveIncomebyComponentDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/EquityScheduleofChangestoAccumulatedOtherComprehensiveIncomebyComponentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_94058645-faa0-4920-a8e3-92334373bc65" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_5da1884f-2e35-4ff3-9fdd-2857edfb34ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_94058645-faa0-4920-a8e3-92334373bc65" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_5da1884f-2e35-4ff3-9fdd-2857edfb34ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_422c9d38-1288-4c2b-a819-626d87ca3b3f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_94058645-faa0-4920-a8e3-92334373bc65" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_422c9d38-1288-4c2b-a819-626d87ca3b3f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/GeneralandAdministrativeExpensesDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#GeneralandAdministrativeExpensesDetails"/>
  <link:calculationLink xlink:role="http://www.redwoodtrust.com/role/GeneralandAdministrativeExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_1f53f422-355c-45fd-85ad-18856769e7fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FixedCompensationExpense_96eff7ad-8c4e-4ad3-8d87-e0e624665a9e" xlink:href="rwt-20240930.xsd#rwt_FixedCompensationExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_1f53f422-355c-45fd-85ad-18856769e7fb" xlink:to="loc_rwt_FixedCompensationExpense_96eff7ad-8c4e-4ad3-8d87-e0e624665a9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_VariableCompensationExpense_2db40c1d-af11-438f-8a70-2394969909fb" xlink:href="rwt-20240930.xsd#rwt_VariableCompensationExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_1f53f422-355c-45fd-85ad-18856769e7fb" xlink:to="loc_rwt_VariableCompensationExpense_2db40c1d-af11-438f-8a70-2394969909fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_c10f3ec6-4edd-46da-8e49-6f95f8e5a020" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_1f53f422-355c-45fd-85ad-18856769e7fb" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_c10f3ec6-4edd-46da-8e49-6f95f8e5a020" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommunicationsAndInformationTechnology_70c93517-4869-40c4-9672-675a7e8b9aee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommunicationsAndInformationTechnology"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_1f53f422-355c-45fd-85ad-18856769e7fb" xlink:to="loc_us-gaap_CommunicationsAndInformationTechnology_70c93517-4869-40c4-9672-675a7e8b9aee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OfficeCosts_444b5667-cb3c-453d-9a35-e2b62e7bb149" xlink:href="rwt-20240930.xsd#rwt_OfficeCosts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_1f53f422-355c-45fd-85ad-18856769e7fb" xlink:to="loc_rwt_OfficeCosts_444b5667-cb3c-453d-9a35-e2b62e7bb149" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_aaaa6b3f-df79-4787-bfff-da547d5abb17" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_1f53f422-355c-45fd-85ad-18856769e7fb" xlink:to="loc_us-gaap_ProfessionalFees_aaaa6b3f-df79-4787-bfff-da547d5abb17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralExpense_bd1fb276-3b7e-477a-92b3-784ec483728a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherGeneralExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_1f53f422-355c-45fd-85ad-18856769e7fb" xlink:to="loc_us-gaap_OtherGeneralExpense_bd1fb276-3b7e-477a-92b3-784ec483728a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_9f22e8c8-4497-4673-842a-2ffcbbb301f9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_1f53f422-355c-45fd-85ad-18856769e7fb" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_9f22e8c8-4497-4673-842a-2ffcbbb301f9" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
