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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:725a639b-eb6d-499a-b37d-6fee6d6ad7d6,g:d9eab514-c39e-4278-b4b1-ac014075d465-->
<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.starwoodpropertytrust.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple" xlink:href="stwd-20240331.xsd#CondensedConsolidatedBalanceSheetsUnaudited"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_7919ceab-7ccd-42d2-a545-fe20ca6f7739" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_372d412d-c9a0-45c9-ba40-b8348ed620fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7919ceab-7ccd-42d2-a545-fe20ca6f7739" xlink:to="loc_us-gaap_PreferredStockValue_372d412d-c9a0-45c9-ba40-b8348ed620fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_bbb816e6-1246-49fd-88d8-5b72c3cb05ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7919ceab-7ccd-42d2-a545-fe20ca6f7739" xlink:to="loc_us-gaap_CommonStockValue_bbb816e6-1246-49fd-88d8-5b72c3cb05ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_8a1b6c90-eb78-4dca-a836-b3ae0cc6ee3c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7919ceab-7ccd-42d2-a545-fe20ca6f7739" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_8a1b6c90-eb78-4dca-a836-b3ae0cc6ee3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_4c66a79c-5504-4c37-a85a-07d578611779" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7919ceab-7ccd-42d2-a545-fe20ca6f7739" xlink:to="loc_us-gaap_TreasuryStockCommonValue_4c66a79c-5504-4c37-a85a-07d578611779" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_edbc40c1-c188-43ca-b4d5-0e00a9070851" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7919ceab-7ccd-42d2-a545-fe20ca6f7739" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_edbc40c1-c188-43ca-b4d5-0e00a9070851" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_3126e4a0-501d-4071-8725-47e9ced11c25" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7919ceab-7ccd-42d2-a545-fe20ca6f7739" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_3126e4a0-501d-4071-8725-47e9ced11c25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_7a7cbfd1-4d06-422b-9f19-e9241943c8e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_InvestmentsFairValueDisclosure_7a7cbfd1-4d06-422b-9f19-e9241943c8e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_2aec6ea0-7178-4e38-8c90-5e11062d1997" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_Goodwill_2aec6ea0-7178-4e38-8c90-5e11062d1997" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_0f72e63e-4682-45e1-b96f-688db5c6905f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_DerivativeAssets_0f72e63e-4682-45e1-b96f-688db5c6905f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_VariableInterestEntityAssets_6f153d6b-1bfa-424e-bf9f-ef5892860f57" xlink:href="stwd-20240331.xsd#stwd_VariableInterestEntityAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_stwd_VariableInterestEntityAssets_6f153d6b-1bfa-424e-bf9f-ef5892860f57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_InvestmentsExcludingUnconsolidatedEntities_0447a8c2-4cb9-42bc-9584-347a56c0b70e" xlink:href="stwd-20240331.xsd#stwd_InvestmentsExcludingUnconsolidatedEntities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_stwd_InvestmentsExcludingUnconsolidatedEntities_0447a8c2-4cb9-42bc-9584-347a56c0b70e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_5dbf5b25-9129-4914-91bf-ad4dcbd6e3b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_NotesReceivableNet_5dbf5b25-9129-4914-91bf-ad4dcbd6e3b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_660bcd1b-ec9a-4e95-aa21-d9a1ed463ba9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_660bcd1b-ec9a-4e95-aa21-d9a1ed463ba9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_423b8ba3-aab3-4b0f-9626-2c4b94f6f068" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_423b8ba3-aab3-4b0f-9626-2c4b94f6f068" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_1716e8eb-d1f2-4479-a945-34f4482cc731" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_OtherAssets_1716e8eb-d1f2-4479-a945-34f4482cc731" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_3912b77f-25f2-4cc4-b784-99f81d4303e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_3912b77f-25f2-4cc4-b784-99f81d4303e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_c2b48674-1eef-4fa6-aba1-d785a63d7d2e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyNet_c2b48674-1eef-4fa6-aba1-d785a63d7d2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ed670a5f-a635-497b-8ea9-e61d96f22cfa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ed670a5f-a635-497b-8ea9-e61d96f22cfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_6e800141-f4c2-4080-a69d-b626b38982cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_InterestReceivable_6e800141-f4c2-4080-a69d-b626b38982cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_cd120f02-8599-4eac-8dc4-e7f0314e2847" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_cd120f02-8599-4eac-8dc4-e7f0314e2847" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateHeldforsale_889f1435-ff40-442e-bf4f-c66186c72d19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealEstateHeldforsale"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_51a928d9-a2e9-4b03-a2dc-e8cd3ca98a6c" xlink:to="loc_us-gaap_RealEstateHeldforsale_889f1435-ff40-442e-bf4f-c66186c72d19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_42beaf7f-8f23-4db9-a910-c1e773a7fc88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_20d15ee4-843b-41a1-b7c8-17762c69ddff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_42beaf7f-8f23-4db9-a910-c1e773a7fc88" xlink:to="loc_us-gaap_Liabilities_20d15ee4-843b-41a1-b7c8-17762c69ddff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_b5ed6b74-7ba9-4fd0-88b4-96bc62438e97" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_42beaf7f-8f23-4db9-a910-c1e773a7fc88" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_b5ed6b74-7ba9-4fd0-88b4-96bc62438e97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_c5748b2b-8ce7-4a44-be6c-cf4a3a73dd2e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_42beaf7f-8f23-4db9-a910-c1e773a7fc88" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_c5748b2b-8ce7-4a44-be6c-cf4a3a73dd2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_bd064bf4-9d20-4063-804a-70b8c3d71b70" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_42beaf7f-8f23-4db9-a910-c1e773a7fc88" xlink:to="loc_us-gaap_CommitmentsAndContingencies_bd064bf4-9d20-4063-804a-70b8c3d71b70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_87f27799-290f-4de2-ac9c-9e67d90fe2dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_d070e0a8-c271-4d92-95a5-91c6a2841889" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_87f27799-290f-4de2-ac9c-9e67d90fe2dd" xlink:to="loc_us-gaap_StockholdersEquity_d070e0a8-c271-4d92-95a5-91c6a2841889" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_797ed278-ca73-45d5-8bf8-baf643a55dad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_87f27799-290f-4de2-ac9c-9e67d90fe2dd" xlink:to="loc_us-gaap_MinorityInterest_797ed278-ca73-45d5-8bf8-baf643a55dad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_c59e6ea4-127b-4bd2-b18c-f43d32edccb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_DebtRelatedToPropertiesHeldForSale_0d03c58b-1dd8-4fa5-8729-89de99a0f810" xlink:href="stwd-20240331.xsd#stwd_DebtRelatedToPropertiesHeldForSale"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c59e6ea4-127b-4bd2-b18c-f43d32edccb7" xlink:to="loc_stwd_DebtRelatedToPropertiesHeldForSale_0d03c58b-1dd8-4fa5-8729-89de99a0f810" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebt_87828e98-01e7-4c21-8e1c-121757bf1028" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnsecuredDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c59e6ea4-127b-4bd2-b18c-f43d32edccb7" xlink:to="loc_us-gaap_UnsecuredDebt_87828e98-01e7-4c21-8e1c-121757bf1028" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralizedFinancings_771e0c96-f120-4c55-a796-747b7dc88efa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CollateralizedFinancings"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c59e6ea4-127b-4bd2-b18c-f43d32edccb7" xlink:to="loc_us-gaap_CollateralizedFinancings_771e0c96-f120-4c55-a796-747b7dc88efa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_7a0da3e3-c159-4fbe-8fca-515722c744c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c59e6ea4-127b-4bd2-b18c-f43d32edccb7" xlink:to="loc_us-gaap_DerivativeLiabilities_7a0da3e3-c159-4fbe-8fca-515722c744c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_f52122aa-4282-492a-8814-6196cc640cd9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c59e6ea4-127b-4bd2-b18c-f43d32edccb7" xlink:to="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_f52122aa-4282-492a-8814-6196cc640cd9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_6850bd0f-e133-495e-a435-43fae30c95ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c59e6ea4-127b-4bd2-b18c-f43d32edccb7" xlink:to="loc_us-gaap_SecuredDebt_6850bd0f-e133-495e-a435-43fae30c95ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_4dfafb79-07a6-4a4e-8243-8f6e1456bf16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c59e6ea4-127b-4bd2-b18c-f43d32edccb7" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_4dfafb79-07a6-4a4e-8243-8f6e1456bf16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_VariableInterestEntityLiabilities_af780a97-86ff-4c79-a7b4-ebac6ac98a0e" xlink:href="stwd-20240331.xsd#stwd_VariableInterestEntityLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c59e6ea4-127b-4bd2-b18c-f43d32edccb7" xlink:to="loc_stwd_VariableInterestEntityLiabilities_af780a97-86ff-4c79-a7b4-ebac6ac98a0e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/CondensedConsolidatedStatementsofOperationsUnaudited" xlink:type="simple" xlink:href="stwd-20240331.xsd#CondensedConsolidatedStatementsofOperationsUnaudited"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/CondensedConsolidatedStatementsofOperationsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_fa64bcdb-c36f-460c-9acd-2ed5b91ffcb2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_3592725b-e185-425b-859e-cc19a7751810" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_fa64bcdb-c36f-460c-9acd-2ed5b91ffcb2" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_3592725b-e185-425b-859e-cc19a7751810" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_92b4ca26-1976-43e6-8f6e-d8bfb1fb7fbd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_fa64bcdb-c36f-460c-9acd-2ed5b91ffcb2" xlink:to="loc_us-gaap_ProfitLoss_92b4ca26-1976-43e6-8f6e-d8bfb1fb7fbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_c685fcfc-3da2-4dec-bbeb-80e541c6ea4e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ManagementFees_19cf0238-cf5a-4667-980e-f94b557668dc" xlink:href="stwd-20240331.xsd#stwd_ManagementFees"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_c685fcfc-3da2-4dec-bbeb-80e541c6ea4e" xlink:to="loc_stwd_ManagementFees_19cf0238-cf5a-4667-980e-f94b557668dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_4f0dfee5-f00b-4a09-aefa-2fb66b80df69" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_c685fcfc-3da2-4dec-bbeb-80e541c6ea4e" xlink:to="loc_us-gaap_InterestExpense_4f0dfee5-f00b-4a09-aefa-2fb66b80df69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_bed68a37-c79e-4071-b301-3e29c1a254d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_c685fcfc-3da2-4dec-bbeb-80e541c6ea4e" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_bed68a37-c79e-4071-b301-3e29c1a254d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DirectCostsOfLeasedAndRentedPropertyOrEquipment_9348ff1d-7872-4563-986f-7f3843b9936c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DirectCostsOfLeasedAndRentedPropertyOrEquipment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_c685fcfc-3da2-4dec-bbeb-80e541c6ea4e" xlink:to="loc_us-gaap_DirectCostsOfLeasedAndRentedPropertyOrEquipment_9348ff1d-7872-4563-986f-7f3843b9936c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_32a2555b-e7d8-4432-8551-ecf809f0fcb2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_c685fcfc-3da2-4dec-bbeb-80e541c6ea4e" xlink:to="loc_us-gaap_DepreciationAndAmortization_32a2555b-e7d8-4432-8551-ecf809f0fcb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ProvisionForLoanLossesNet_052a3cc6-d90e-409b-b74d-c22756b68d3c" xlink:href="stwd-20240331.xsd#stwd_ProvisionForLoanLossesNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_c685fcfc-3da2-4dec-bbeb-80e541c6ea4e" xlink:to="loc_stwd_ProvisionForLoanLossesNet_052a3cc6-d90e-409b-b74d-c22756b68d3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_ff97b208-6f89-49c7-84aa-fd26b7f3f5b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherOperatingIncomeExpenseNet"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_c685fcfc-3da2-4dec-bbeb-80e541c6ea4e" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_ff97b208-6f89-49c7-84aa-fd26b7f3f5b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_53761a81-8058-4dbf-8c5b-efc232c64b24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansCommercial_e9fce37c-212f-4d00-9e35-559382e827eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestAndFeeIncomeLoansCommercial"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_53761a81-8058-4dbf-8c5b-efc232c64b24" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansCommercial_e9fce37c-212f-4d00-9e35-559382e827eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesMortgageBacked_66088809-4c7b-4b8f-9d4b-906c3eb05753" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeSecuritiesMortgageBacked"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_53761a81-8058-4dbf-8c5b-efc232c64b24" xlink:to="loc_us-gaap_InterestIncomeSecuritiesMortgageBacked_66088809-4c7b-4b8f-9d4b-906c3eb05753" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeesAndCommissionsMortgageBankingAndServicing_9bd86846-188c-4ca1-aad9-724f268c9c59" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FeesAndCommissionsMortgageBankingAndServicing"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_53761a81-8058-4dbf-8c5b-efc232c64b24" xlink:to="loc_us-gaap_FeesAndCommissionsMortgageBankingAndServicing_9bd86846-188c-4ca1-aad9-724f268c9c59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLeaseIncome_2d4bf222-5a5c-48e5-848c-14edfe05d547" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLeaseIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_53761a81-8058-4dbf-8c5b-efc232c64b24" xlink:to="loc_us-gaap_OperatingLeaseLeaseIncome_2d4bf222-5a5c-48e5-848c-14edfe05d547" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_8fb06e1b-0a04-48f7-a43d-0eed4264ddb6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_53761a81-8058-4dbf-8c5b-efc232c64b24" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_8fb06e1b-0a04-48f7-a43d-0eed4264ddb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d180cbfe-12bc-44ae-87aa-887b726d789f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_a73f9481-1f66-485a-8802-ee699c0fc0dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d180cbfe-12bc-44ae-87aa-887b726d789f" xlink:to="loc_us-gaap_Revenues_a73f9481-1f66-485a-8802-ee699c0fc0dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_1e1fc198-258e-4a6f-87d3-77ce70944ec5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d180cbfe-12bc-44ae-87aa-887b726d789f" xlink:to="loc_us-gaap_CostsAndExpenses_1e1fc198-258e-4a6f-87d3-77ce70944ec5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_8bcb93a0-ac5f-4c02-abd0-8f36a3bbdc07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d180cbfe-12bc-44ae-87aa-887b726d789f" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_8bcb93a0-ac5f-4c02-abd0-8f36a3bbdc07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_2279b579-3a90-482b-92a9-3978b5c2dc19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_d2d2b2d4-1118-4df5-a86d-e8bcc9d9b743" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ProfitLoss_2279b579-3a90-482b-92a9-3978b5c2dc19" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_d2d2b2d4-1118-4df5-a86d-e8bcc9d9b743" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d2c82201-7b24-462a-aa77-d63592e41213" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_2279b579-3a90-482b-92a9-3978b5c2dc19" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d2c82201-7b24-462a-aa77-d63592e41213" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNet_cfb5bbda-de1f-4b2a-a5df-13bfe1bcf099" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:to="loc_us-gaap_InvestmentIncomeNet_cfb5bbda-de1f-4b2a-a5df-13bfe1bcf099" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_GainLossOnMortgageLoansHeldForSale_446db296-27e4-4831-8036-fe4a484503be" xlink:href="stwd-20240331.xsd#stwd_GainLossOnMortgageLoansHeldForSale"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:to="loc_stwd_GainLossOnMortgageLoansHeldForSale_446db296-27e4-4831-8036-fe4a484503be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesUnrealizedGainLoss_d5696d62-8c6a-44f8-8dce-379c290cc888" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:to="loc_us-gaap_MarketableSecuritiesUnrealizedGainLoss_d5696d62-8c6a-44f8-8dce-379c290cc888" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_5e41ffdd-452a-4787-888e-b8a183ff3620" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_5e41ffdd-452a-4787-888e-b8a183ff3620" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_30e30d4c-1f64-4e94-8cd8-647ebc46522f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_30e30d4c-1f64-4e94-8cd8-647ebc46522f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_0c715b55-340c-45c1-bb7d-99d9da7a2df7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_0c715b55-340c-45c1-bb7d-99d9da7a2df7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_3ad55c28-bc28-4572-899c-9f2776e0556d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_3ad55c28-bc28-4572-899c-9f2776e0556d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_b1a9704a-75f0-475b-94b7-ca43dab30a89" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_b1a9704a-75f0-475b-94b7-ca43dab30a89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_FairValueOfServiceRightsGainLoss_8ff36ffe-8545-48e3-9fad-1f116e3925d7" xlink:href="stwd-20240331.xsd#stwd_FairValueOfServiceRightsGainLoss"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:to="loc_stwd_FairValueOfServiceRightsGainLoss_8ff36ffe-8545-48e3-9fad-1f116e3925d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_GainLossOnSaleOfInvestmentsNet_4ee14c3e-5b61-416e-8783-bddf494183ab" xlink:href="stwd-20240331.xsd#stwd_GainLossOnSaleOfInvestmentsNet"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:to="loc_stwd_GainLossOnSaleOfInvestmentsNet_4ee14c3e-5b61-416e-8783-bddf494183ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityActivityBetweenVIEAndEntityIncomeOrLossBeforeTax_18bdf471-7916-403f-8b46-fe82f2daf39b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableInterestEntityActivityBetweenVIEAndEntityIncomeOrLossBeforeTax"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_dda649ca-b025-4ee2-8e71-04694b0f49cb" xlink:to="loc_us-gaap_VariableInterestEntityActivityBetweenVIEAndEntityIncomeOrLossBeforeTax_18bdf471-7916-403f-8b46-fe82f2daf39b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeUnaudited" xlink:type="simple" xlink:href="stwd-20240331.xsd#CondensedConsolidatedStatementsofComprehensiveIncomeUnaudited"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_a387947f-30c8-4837-89d2-d1b42262357f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_14de8f30-d5b2-434a-8704-dec801171e9a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a387947f-30c8-4837-89d2-d1b42262357f" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_14de8f30-d5b2-434a-8704-dec801171e9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_53c765b6-6246-4e86-9c20-a0e35d9acedb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_a387947f-30c8-4837-89d2-d1b42262357f" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_53c765b6-6246-4e86-9c20-a0e35d9acedb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_546246ff-b0b6-48d1-87ad-143b0344eaba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_8b490ae7-0de9-4e6d-a49a-ebd2569cdde7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_546246ff-b0b6-48d1-87ad-143b0344eaba" xlink:to="loc_us-gaap_ProfitLoss_8b490ae7-0de9-4e6d-a49a-ebd2569cdde7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_8c41140c-0267-4392-9b0a-7e5c51e3cd42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_546246ff-b0b6-48d1-87ad-143b0344eaba" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_8c41140c-0267-4392-9b0a-7e5c51e3cd42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_f5219461-fd2d-4422-9f88-7aaf3afd54fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_a604cb43-7dba-4594-a7c7-f8d7f8ef087b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_f5219461-fd2d-4422-9f88-7aaf3afd54fd" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_a604cb43-7dba-4594-a7c7-f8d7f8ef087b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="stwd-20240331.xsd#CondensedConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_efe50789-0eb0-4a95-8b67-48e91f64b2ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_efe50789-0eb0-4a95-8b67-48e91f64b2ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_4c92b8f4-f247-421e-8e56-ab6456ecef44" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_4c92b8f4-f247-421e-8e56-ab6456ecef44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_AccretionOfNetDeferredLoanFeesAndDiscounts_9ecc7f16-4808-4e65-9831-95e955eeb60e" xlink:href="stwd-20240331.xsd#stwd_AccretionOfNetDeferredLoanFeesAndDiscounts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_AccretionOfNetDeferredLoanFeesAndDiscounts_9ecc7f16-4808-4e65-9831-95e955eeb60e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_GainOnSaleOfInvestmentsCashFlow_acab1dbe-5ccf-4c85-b31b-f64de06ba3f7" xlink:href="stwd-20240331.xsd#stwd_GainOnSaleOfInvestmentsCashFlow"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_GainOnSaleOfInvestmentsCashFlow_acab1dbe-5ccf-4c85-b31b-f64de06ba3f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_7dcc064c-09e2-4fce-8b39-46e96275cb95" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_7dcc064c-09e2-4fce-8b39-46e96275cb95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_bf9e190a-876a-40aa-9b46-2f11f108310f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_bf9e190a-876a-40aa-9b46-2f11f108310f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_GainLossOnExtinguishmentOfDebtIncludingNonCashFees_bf67acf3-c68e-43d6-9b45-6276bae5e51b" xlink:href="stwd-20240331.xsd#stwd_GainLossOnExtinguishmentOfDebtIncludingNonCashFees"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_GainLossOnExtinguishmentOfDebtIncludingNonCashFees_bf67acf3-c68e-43d6-9b45-6276bae5e51b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_23ef8072-1f0d-489a-91d4-80d93f451a7b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_23ef8072-1f0d-489a-91d4-80d93f451a7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_IncentiveFeeCompensation_1d4f6eb1-6914-45e6-b0c9-da01e45b68a0" xlink:href="stwd-20240331.xsd#stwd_IncentiveFeeCompensation"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_IncentiveFeeCompensation_1d4f6eb1-6914-45e6-b0c9-da01e45b68a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesUnrealizedGainLoss_2697f55a-bb63-4ac3-8acf-95853f8c2198" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_MarketableSecuritiesUnrealizedGainLoss_2697f55a-bb63-4ac3-8acf-95853f8c2198" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_1505fa11-d4cc-4786-b89a-483fad4658c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_ProfitLoss_1505fa11-d4cc-4786-b89a-483fad4658c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_1d659668-bb60-4387-b676-d7283b77191a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_1d659668-bb60-4387-b676-d7283b77191a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndOtherOperatingLiabilities_45b5f79f-0382-4daa-b256-d8cc4a2641be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndOtherOperatingLiabilities"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndOtherOperatingLiabilities_45b5f79f-0382-4daa-b256-d8cc4a2641be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_aee95b85-c6c6-4a2a-bbc6-7f9d5a0cdcdc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_aee95b85-c6c6-4a2a-bbc6-7f9d5a0cdcdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_DepreciationAndAmortizationExcludingAmortizationOfAboveBelowMarketLeases_a294bf79-2744-4e16-b6fc-b29d12d7dc40" xlink:href="stwd-20240331.xsd#stwd_DepreciationAndAmortizationExcludingAmortizationOfAboveBelowMarketLeases"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_DepreciationAndAmortizationExcludingAmortizationOfAboveBelowMarketLeases_a294bf79-2744-4e16-b6fc-b29d12d7dc40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ChangeInFairValueOfConsolidatedVariableInterestEntity_980b56c1-1e67-42f9-86d0-e7329299a66c" xlink:href="stwd-20240331.xsd#stwd_ChangeInFairValueOfConsolidatedVariableInterestEntity"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_ChangeInFairValueOfConsolidatedVariableInterestEntity_980b56c1-1e67-42f9-86d0-e7329299a66c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ChangeInFairValueOfServicingRights_929c291f-e37f-45dd-8588-93cf5eb69214" xlink:href="stwd-20240331.xsd#stwd_ChangeInFairValueOfServicingRights"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_ChangeInFairValueOfServicingRights_929c291f-e37f-45dd-8588-93cf5eb69214" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_f25bc01b-8e6d-4fe3-a1e3-89549b3253fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_f25bc01b-8e6d-4fe3-a1e3-89549b3253fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_GainLossOnMortgageLoansHeldForSale_e15d4c56-e4e8-4f57-baf1-86575b15a6df" xlink:href="stwd-20240331.xsd#stwd_GainLossOnMortgageLoansHeldForSale"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_GainLossOnMortgageLoansHeldForSale_e15d4c56-e4e8-4f57-baf1-86575b15a6df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_9ebbc8c3-8c73-44db-9d5d-0df96883b8b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="20" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_9ebbc8c3-8c73-44db-9d5d-0df96883b8b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ChangeInFairValueOfAffordableHousingFundInvestments_dbc36489-c1e0-453d-a34a-5fe2309fb317" xlink:href="stwd-20240331.xsd#stwd_ChangeInFairValueOfAffordableHousingFundInvestments"/>
    <link:calculationArc order="21" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_ChangeInFairValueOfAffordableHousingFundInvestments_dbc36489-c1e0-453d-a34a-5fe2309fb317" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ForeignCurrencyTransactionGainLossBeforeTaxCashFlowImpact_9c5c357f-d620-45db-8350-21bb17084418" xlink:href="stwd-20240331.xsd#stwd_ForeignCurrencyTransactionGainLossBeforeTaxCashFlowImpact"/>
    <link:calculationArc order="22" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_ForeignCurrencyTransactionGainLossBeforeTaxCashFlowImpact_9c5c357f-d620-45db-8350-21bb17084418" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_cd4170eb-d9b0-48c5-a074-5764860dd942" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="23" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_cd4170eb-d9b0-48c5-a074-5764860dd942" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ProvisionForLoanLossesNet_e2a4e073-1c56-4648-98fd-daa5617c4801" xlink:href="stwd-20240331.xsd#stwd_ProvisionForLoanLossesNet"/>
    <link:calculationArc order="24" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_ProvisionForLoanLossesNet_e2a4e073-1c56-4648-98fd-daa5617c4801" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ShareBasedCompensationAndNonemployeeServicesTransactionExpense_0fd6b130-9a76-46b5-81f3-abcfdf5e5bd9" xlink:href="stwd-20240331.xsd#stwd_ShareBasedCompensationAndNonemployeeServicesTransactionExpense"/>
    <link:calculationArc order="25" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_stwd_ShareBasedCompensationAndNonemployeeServicesTransactionExpense_0fd6b130-9a76-46b5-81f3-abcfdf5e5bd9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredCharges_c512278d-b5ef-49ab-bf05-86f9ce70014d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfDeferredCharges"/>
    <link:calculationArc order="26" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1e8bf291-41d2-41b8-80ca-d9c62eb33bec" xlink:to="loc_us-gaap_AmortizationOfDeferredCharges_c512278d-b5ef-49ab-bf05-86f9ce70014d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a3e916e-b302-45cb-848e-025ffb37dd2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_71dd6cd1-5970-472c-a031-c5179b8f05f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a3e916e-b302-45cb-848e-025ffb37dd2d" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_71dd6cd1-5970-472c-a031-c5179b8f05f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_23cc8ee1-03e8-4272-83e8-2eea3bbd3267" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfFinancingCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a3e916e-b302-45cb-848e-025ffb37dd2d" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_23cc8ee1-03e8-4272-83e8-2eea3bbd3267" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromContributionsFromAffiliates_c4360a1a-acc3-4e59-a23e-c9dc7c738284" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a3e916e-b302-45cb-848e-025ffb37dd2d" xlink:to="loc_us-gaap_ProceedsFromContributionsFromAffiliates_c4360a1a-acc3-4e59-a23e-c9dc7c738284" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_5fca49d4-b3c7-44b8-af0e-0031db7e50b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a3e916e-b302-45cb-848e-025ffb37dd2d" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_5fca49d4-b3c7-44b8-af0e-0031db7e50b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_34be99b6-2600-4d91-9cbe-7ae9c12ddacf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a3e916e-b302-45cb-848e-025ffb37dd2d" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_34be99b6-2600-4d91-9cbe-7ae9c12ddacf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_7711427a-7c65-490c-951a-1e8048c5a600" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a3e916e-b302-45cb-848e-025ffb37dd2d" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_7711427a-7c65-490c-951a-1e8048c5a600" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_RepaymentsOfDebtOfConsolidatedVariableInterestEntities_280d0f8e-e5cf-4959-835e-b9918a686c59" xlink:href="stwd-20240331.xsd#stwd_RepaymentsOfDebtOfConsolidatedVariableInterestEntities"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a3e916e-b302-45cb-848e-025ffb37dd2d" xlink:to="loc_stwd_RepaymentsOfDebtOfConsolidatedVariableInterestEntities_280d0f8e-e5cf-4959-835e-b9918a686c59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ProceedsFromIssuanceOfDebtOfConsolidatedVariableInterestEntities_d14f08a9-6f37-4fcb-bb92-96dd656b1c1a" xlink:href="stwd-20240331.xsd#stwd_ProceedsFromIssuanceOfDebtOfConsolidatedVariableInterestEntities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a3e916e-b302-45cb-848e-025ffb37dd2d" xlink:to="loc_stwd_ProceedsFromIssuanceOfDebtOfConsolidatedVariableInterestEntities_d14f08a9-6f37-4fcb-bb92-96dd656b1c1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_1271b12d-7866-4751-8bae-da4a03c0be6f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8a3e916e-b302-45cb-848e-025ffb37dd2d" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_1271b12d-7866-4751-8bae-da4a03c0be6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_9346fdd4-8475-43db-8c5d-5f4aa568da15" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120790d7-e617-4837-b544-e364836d9084" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_9346fdd4-8475-43db-8c5d-5f4aa568da15" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_120790d7-e617-4837-b544-e364836d9084" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8f19e454-e121-4385-9d8d-f4cf694f899b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_9346fdd4-8475-43db-8c5d-5f4aa568da15" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8f19e454-e121-4385-9d8d-f4cf694f899b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_40d31c5c-eafd-4d7c-8c3b-7d47ec0b7b1a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_9346fdd4-8475-43db-8c5d-5f4aa568da15" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_40d31c5c-eafd-4d7c-8c3b-7d47ec0b7b1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4f903ec3-9761-434b-b3c6-40a0ee0fe6bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_PaymentsForPurchaseOrTerminationOfDerivatives_d90ce5f1-4db8-478a-b739-dc4d8d645153" xlink:href="stwd-20240331.xsd#stwd_PaymentsForPurchaseOrTerminationOfDerivatives"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4f903ec3-9761-434b-b3c6-40a0ee0fe6bd" xlink:to="loc_stwd_PaymentsForPurchaseOrTerminationOfDerivatives_d90ce5f1-4db8-478a-b739-dc4d8d645153" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_4b7c5061-d499-4298-9080-26409b35c10e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4f903ec3-9761-434b-b3c6-40a0ee0fe6bd" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_4b7c5061-d499-4298-9080-26409b35c10e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ProceedsFromSalesOfRealEstateNetOfDebtAssumedByPurchaser_91ed2e27-9fc8-40f7-b6b3-30cd526d3057" xlink:href="stwd-20240331.xsd#stwd_ProceedsFromSalesOfRealEstateNetOfDebtAssumedByPurchaser"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4f903ec3-9761-434b-b3c6-40a0ee0fe6bd" xlink:to="loc_stwd_ProceedsFromSalesOfRealEstateNetOfDebtAssumedByPurchaser_91ed2e27-9fc8-40f7-b6b3-30cd526d3057" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDerivativeInstrumentInvestingActivities_27e3147e-cf93-47bb-9591-ada4863da200" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromDerivativeInstrumentInvestingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4f903ec3-9761-434b-b3c6-40a0ee0fe6bd" xlink:to="loc_us-gaap_ProceedsFromDerivativeInstrumentInvestingActivities_27e3147e-cf93-47bb-9591-ada4863da200" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ProceedsFromSalesAndRedemptionsOfInvestmentSecurities_38933cc9-6bb8-443b-a5bf-fecbe1bd40dd" xlink:href="stwd-20240331.xsd#stwd_ProceedsFromSalesAndRedemptionsOfInvestmentSecurities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4f903ec3-9761-434b-b3c6-40a0ee0fe6bd" xlink:to="loc_stwd_ProceedsFromSalesAndRedemptionsOfInvestmentSecurities_38933cc9-6bb8-443b-a5bf-fecbe1bd40dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_b9732214-b36e-4d20-9652-79822ed506e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireLoansHeldForInvestment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4f903ec3-9761-434b-b3c6-40a0ee0fe6bd" xlink:to="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_b9732214-b36e-4d20-9652-79822ed506e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_c173e7a2-f306-4f6f-a257-dcc036f48f7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4f903ec3-9761-434b-b3c6-40a0ee0fe6bd" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_c173e7a2-f306-4f6f-a257-dcc036f48f7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLoanAndLeaseOriginationsAndPrincipalCollections1_f1271879-899b-44b2-8539-157548d014c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromLoanAndLeaseOriginationsAndPrincipalCollections1"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4f903ec3-9761-434b-b3c6-40a0ee0fe6bd" xlink:to="loc_us-gaap_ProceedsFromLoanAndLeaseOriginationsAndPrincipalCollections1_f1271879-899b-44b2-8539-157548d014c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherProductiveAssets_61a7a631-4d47-431f-b515-ffeb8bbef077" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireOtherProductiveAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4f903ec3-9761-434b-b3c6-40a0ee0fe6bd" xlink:to="loc_us-gaap_PaymentsToAcquireOtherProductiveAssets_61a7a631-4d47-431f-b515-ffeb8bbef077" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_ProceedsFromPrincipalCollectionsOnInvestmentSecurities_0b4fef70-6ad8-4c70-8093-a0b67e120048" xlink:href="stwd-20240331.xsd#stwd_ProceedsFromPrincipalCollectionsOnInvestmentSecurities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_4f903ec3-9761-434b-b3c6-40a0ee0fe6bd" xlink:to="loc_stwd_ProceedsFromPrincipalCollectionsOnInvestmentSecurities_0b4fef70-6ad8-4c70-8093-a0b67e120048" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/LoansHeldforInvestmentDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#LoansHeldforInvestmentDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/LoansHeldforInvestmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageLoansOnRealEstate_0fef9568-a5a0-4092-bd1a-acb2c15ae451" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MortgageLoansOnRealEstate"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages_2056b32c-3eac-4f9d-a7a0-7356e64dca73" xlink:href="stwd-20240331.xsd#stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_MortgageLoansOnRealEstate_0fef9568-a5a0-4092-bd1a-acb2c15ae451" xlink:to="loc_stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages_2056b32c-3eac-4f9d-a7a0-7356e64dca73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_fbb6d58d-7729-4078-a388-92bfe5a3d396" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_MortgageLoansOnRealEstate_0fef9568-a5a0-4092-bd1a-acb2c15ae451" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_fbb6d58d-7729-4078-a388-92bfe5a3d396" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/LoansRiskRatingsbyClassofLoanDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#LoansRiskRatingsbyClassofLoanDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/LoansRiskRatingsbyClassofLoanDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages_d251fb80-e7a4-43d4-9293-88ea1444be15" xlink:href="stwd-20240331.xsd#stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_0b3243f3-98ae-46dd-bb95-ae1057f22515" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages_d251fb80-e7a4-43d4-9293-88ea1444be15" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_0b3243f3-98ae-46dd-bb95-ae1057f22515" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_3f06e61c-e1a2-4042-ad53-635c3a499413" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages_d251fb80-e7a4-43d4-9293-88ea1444be15" xlink:to="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_3f06e61c-e1a2-4042-ad53-635c3a499413" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolving_d388924f-d973-4b03-b290-51b08cd68569" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableRevolving"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages_d251fb80-e7a4-43d4-9293-88ea1444be15" xlink:to="loc_us-gaap_FinancingReceivableRevolving_d388924f-d973-4b03-b290-51b08cd68569" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_4216cd94-f001-4bd9-a4cc-ddc2120b3df8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages_d251fb80-e7a4-43d4-9293-88ea1444be15" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_4216cd94-f001-4bd9-a4cc-ddc2120b3df8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_e088b237-879b-470e-bc5f-cd52e327305a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages_d251fb80-e7a4-43d4-9293-88ea1444be15" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_e088b237-879b-470e-bc5f-cd52e327305a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_e7bf196e-067c-434e-8dbe-c6480346a3c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages_d251fb80-e7a4-43d4-9293-88ea1444be15" xlink:to="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_e7bf196e-067c-434e-8dbe-c6480346a3c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_f419d389-0c23-4d60-b85d-675f4003301f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_MortgageLoansOnRealEstateGrossCarryingAmountOfMortgages_d251fb80-e7a4-43d4-9293-88ea1444be15" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_f419d389-0c23-4d60-b85d-675f4003301f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/InvestmentSecuritiesInvestmentSecuritiesDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#InvestmentSecuritiesInvestmentSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/InvestmentSecuritiesInvestmentSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_stwd_InvestmentsExcludingUnconsolidatedEntities_55ad5839-1ab7-4bf2-8340-7e6df3a05564" xlink:href="stwd-20240331.xsd#stwd_InvestmentsExcludingUnconsolidatedEntities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_d324e849-d33e-450c-a3c7-00b6eb639930" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_InvestmentsExcludingUnconsolidatedEntities_55ad5839-1ab7-4bf2-8340-7e6df3a05564" xlink:to="loc_us-gaap_HeldToMaturitySecurities_d324e849-d33e-450c-a3c7-00b6eb639930" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_31a4f3db-863d-44c3-8a97-4fb075260916" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_InvestmentsExcludingUnconsolidatedEntities_55ad5839-1ab7-4bf2-8340-7e6df3a05564" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_31a4f3db-863d-44c3-8a97-4fb075260916" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_1e1d257b-8198-44db-9f6e-f19517c5b194" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_InvestmentsExcludingUnconsolidatedEntities_55ad5839-1ab7-4bf2-8340-7e6df3a05564" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_1e1d257b-8198-44db-9f6e-f19517c5b194" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_572ebe62-3ada-4a67-81b9-5b9c85b3bfd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_InvestmentsExcludingUnconsolidatedEntities_55ad5839-1ab7-4bf2-8340-7e6df3a05564" xlink:to="loc_us-gaap_MarketableSecurities_572ebe62-3ada-4a67-81b9-5b9c85b3bfd7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/InvestmentSecuritiesAvailableforSaleRMBSDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#InvestmentSecuritiesAvailableforSaleRMBSDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/InvestmentSecuritiesAvailableforSaleRMBSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_stwd_AvailableForSaleSecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_a40a4116-4c22-4ea4-908a-c82415cc7b5d" xlink:href="stwd-20240331.xsd#stwd_AvailableForSaleSecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_33ef1af6-0701-42e7-ada3-150c3c84fb14" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_AvailableForSaleSecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_a40a4116-4c22-4ea4-908a-c82415cc7b5d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_33ef1af6-0701-42e7-ada3-150c3c84fb14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_7ea0cec4-c994-45a4-acff-e15d4390aa1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_AvailableForSaleSecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_a40a4116-4c22-4ea4-908a-c82415cc7b5d" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_7ea0cec4-c994-45a4-acff-e15d4390aa1c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/InvestmentSecuritiesHTMDebtSecuritiesAmortizedCostDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#InvestmentSecuritiesHTMDebtSecuritiesAmortizedCostDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/InvestmentSecuritiesHTMDebtSecuritiesAmortizedCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_stwd_DebtSecuritiesHeldToMaturityNet_863c2443-5d11-41b2-9c80-eac95045991b" xlink:href="stwd-20240331.xsd#stwd_DebtSecuritiesHeldToMaturityNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_0e9681c6-35dd-4c74-afd7-a40d1b870065" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_DebtSecuritiesHeldToMaturityNet_863c2443-5d11-41b2-9c80-eac95045991b" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_0e9681c6-35dd-4c74-afd7-a40d1b870065" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_54b8a4d0-0809-45ea-abd6-010fce704e6a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_DebtSecuritiesHeldToMaturityNet_863c2443-5d11-41b2-9c80-eac95045991b" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_54b8a4d0-0809-45ea-abd6-010fce704e6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_4d969bd5-7a00-4b1c-8ca8-78846c48fc91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_DebtSecuritiesHeldToMaturityNet_863c2443-5d11-41b2-9c80-eac95045991b" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_4d969bd5-7a00-4b1c-8ca8-78846c48fc91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_af235caa-5805-4d5c-bd8d-11b91041360a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_4bd166a9-e678-4e7f-8ede-d48105925ce1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_af235caa-5805-4d5c-bd8d-11b91041360a" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_4bd166a9-e678-4e7f-8ede-d48105925ce1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughThreeYearsNetCarryingAmount_47ccc5bd-44d5-49cd-9dff-474247012f04" xlink:href="stwd-20240331.xsd#stwd_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughThreeYearsNetCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_af235caa-5805-4d5c-bd8d-11b91041360a" xlink:to="loc_stwd_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughThreeYearsNetCarryingAmount_47ccc5bd-44d5-49cd-9dff-474247012f04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_DebtSecuritiesHeldToMaturityAmortizedCostMaturityAllocatedAndSingleMaturityDateAfterYearThreeThroughYearFive_76a7cfc7-f161-4a9e-9c84-3c1f8ee69371" xlink:href="stwd-20240331.xsd#stwd_DebtSecuritiesHeldToMaturityAmortizedCostMaturityAllocatedAndSingleMaturityDateAfterYearThreeThroughYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_af235caa-5805-4d5c-bd8d-11b91041360a" xlink:to="loc_stwd_DebtSecuritiesHeldToMaturityAmortizedCostMaturityAllocatedAndSingleMaturityDateAfterYearThreeThroughYearFive_76a7cfc7-f161-4a9e-9c84-3c1f8ee69371" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveYearsNetCarryingAmount_8d2bed76-6b5e-4ae9-99b0-166927e1fbae" xlink:href="stwd-20240331.xsd#stwd_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveYearsNetCarryingAmount"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_af235caa-5805-4d5c-bd8d-11b91041360a" xlink:to="loc_stwd_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveYearsNetCarryingAmount_8d2bed76-6b5e-4ae9-99b0-166927e1fbae" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/InvestmentSecuritiesHTMDebtSecuritiesAmortizedCostDetails_1" xlink:type="simple" xlink:href="stwd-20240331.xsd#InvestmentSecuritiesHTMDebtSecuritiesAmortizedCostDetails_1"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/InvestmentSecuritiesHTMDebtSecuritiesAmortizedCostDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_stwd_DebtSecuritiesHeldToMaturityNet_4aa0a5ae-3402-4e99-8b8b-2948db611ad2" xlink:href="stwd-20240331.xsd#stwd_DebtSecuritiesHeldToMaturityNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss_5983782b-71bd-4dbb-bc26-f9f40b0bf2e4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_DebtSecuritiesHeldToMaturityNet_4aa0a5ae-3402-4e99-8b8b-2948db611ad2" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss_5983782b-71bd-4dbb-bc26-f9f40b0bf2e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_d4497679-791a-4d20-8a88-9e095ca73a36" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_DebtSecuritiesHeldToMaturityNet_4aa0a5ae-3402-4e99-8b8b-2948db611ad2" xlink:to="loc_us-gaap_HeldToMaturitySecurities_d4497679-791a-4d20-8a88-9e095ca73a36" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/PropertiesPropertiesHeldDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#PropertiesPropertiesHeldDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/PropertiesPropertiesHeldDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_184620a1-2da9-4fc9-9d13-28deaf347765" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_ba665ba0-9ed5-442c-81d3-bd90949142ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_184620a1-2da9-4fc9-9d13-28deaf347765" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_ba665ba0-9ed5-442c-81d3-bd90949142ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAtCost_d6408851-7732-49e2-a3d5-e1990c4d6a20" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealEstateInvestmentPropertyAtCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_184620a1-2da9-4fc9-9d13-28deaf347765" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAtCost_d6408851-7732-49e2-a3d5-e1990c4d6a20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAtCost_8bb33f30-11cd-48e1-964b-2c05cd449c55" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealEstateInvestmentPropertyAtCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandAndLandImprovements_0d519d0c-7e00-4554-8703-db5a8285f83a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LandAndLandImprovements"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyAtCost_8bb33f30-11cd-48e1-964b-2c05cd449c55" xlink:to="loc_us-gaap_LandAndLandImprovements_0d519d0c-7e00-4554-8703-db5a8285f83a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingsAndImprovementsGross_556a43e5-8c37-43df-8e24-e37cb9fb9462" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyAtCost_8bb33f30-11cd-48e1-964b-2c05cd449c55" xlink:to="loc_us-gaap_BuildingsAndImprovementsGross_556a43e5-8c37-43df-8e24-e37cb9fb9462" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesGross_c937f3ec-bfc0-45d9-a448-cfbba0db6bf6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FurnitureAndFixturesGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyAtCost_8bb33f30-11cd-48e1-964b-2c05cd449c55" xlink:to="loc_us-gaap_FurnitureAndFixturesGross_c937f3ec-bfc0-45d9-a448-cfbba0db6bf6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressGross_43fd7bb9-343b-4cb3-8ede-b45c08f1e9db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConstructionInProgressGross"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyAtCost_8bb33f30-11cd-48e1-964b-2c05cd449c55" xlink:to="loc_us-gaap_ConstructionInProgressGross_43fd7bb9-343b-4cb3-8ede-b45c08f1e9db" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/InvestmentsofConsolidatedAffordableHousingFundScheduleofInvestmentIncomeDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#InvestmentsofConsolidatedAffordableHousingFundScheduleofInvestmentIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/InvestmentsofConsolidatedAffordableHousingFundScheduleofInvestmentIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNet_92674b19-b29b-47a3-98af-b64ce7227a9b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_DistributionsFromInvestment_22bf5aa5-761e-42b8-bbee-437d9254478e" xlink:href="stwd-20240331.xsd#stwd_DistributionsFromInvestment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNet_92674b19-b29b-47a3-98af-b64ce7227a9b" xlink:to="loc_stwd_DistributionsFromInvestment_22bf5aa5-761e-42b8-bbee-437d9254478e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_d19775b3-06ce-4708-bd88-4d90960997e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNet_92674b19-b29b-47a3-98af-b64ce7227a9b" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_d19775b3-06ce-4708-bd88-4d90960997e8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/InvestmentsinUnconsolidatedEntitiesDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#InvestmentsinUnconsolidatedEntitiesDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/InvestmentsinUnconsolidatedEntitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_2aee305c-f746-429e-be7c-eeb6202fed48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_142945ed-7844-48bb-b2c8-89e9ca7c2669" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_2aee305c-f746-429e-be7c-eeb6202fed48" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_142945ed-7844-48bb-b2c8-89e9ca7c2669" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_7e08709a-cada-49e3-9ba5-a7cc37c4cb01" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_2aee305c-f746-429e-be7c-eeb6202fed48" xlink:to="loc_us-gaap_EquityMethodInvestments_7e08709a-cada-49e3-9ba5-a7cc37c4cb01" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/GoodwillandIntangiblesScheduleofIntangiblesAssetsDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#GoodwillandIntangiblesScheduleofIntangiblesAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/GoodwillandIntangiblesScheduleofIntangiblesAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c42d4da8-9fa0-45c3-a00e-1748b661a668" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_cbef8af8-4a83-404d-b2e5-37fd77f0f1e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c42d4da8-9fa0-45c3-a00e-1748b661a668" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_cbef8af8-4a83-404d-b2e5-37fd77f0f1e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c2dceef6-9392-4c3f-8a5f-ed1e9bca3f04" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c42d4da8-9fa0-45c3-a00e-1748b661a668" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c2dceef6-9392-4c3f-8a5f-ed1e9bca3f04" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/GoodwillandIntangiblesScheduleofFutureAmortizationExpenseDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#GoodwillandIntangiblesScheduleofFutureAmortizationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/GoodwillandIntangiblesScheduleofFutureAmortizationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c417394b-c5ff-4294-bfcf-e354cd7755ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_3b72436c-e055-45ac-b439-8b6d94fb75e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c417394b-c5ff-4294-bfcf-e354cd7755ed" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_3b72436c-e055-45ac-b439-8b6d94fb75e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_1d0c73ef-e8fa-4f05-8323-fde99c5da47d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c417394b-c5ff-4294-bfcf-e354cd7755ed" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_1d0c73ef-e8fa-4f05-8323-fde99c5da47d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_8cba5151-2b4d-4bc9-84ae-aa2b8328eb9a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c417394b-c5ff-4294-bfcf-e354cd7755ed" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_8cba5151-2b4d-4bc9-84ae-aa2b8328eb9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_d92e4b9c-8267-4292-b074-edd250095027" xlink:href="stwd-20240331.xsd#stwd_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c417394b-c5ff-4294-bfcf-e354cd7755ed" xlink:to="loc_stwd_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_d92e4b9c-8267-4292-b074-edd250095027" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_b7e571cc-f154-48df-bbd2-57cf96a02efe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c417394b-c5ff-4294-bfcf-e354cd7755ed" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_b7e571cc-f154-48df-bbd2-57cf96a02efe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_6d3d1d1a-cb2d-4355-bfaf-26ec59167ad4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_c417394b-c5ff-4294-bfcf-e354cd7755ed" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_6d3d1d1a-cb2d-4355-bfaf-26ec59167ad4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/SecuredBorrowingsSecuredFinancingAgreementsDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#SecuredBorrowingsSecuredFinancingAgreementsDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/SecuredBorrowingsSecuredFinancingAgreementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_f66f892c-73d5-426d-a783-9b63a1f1cef4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuredDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_32b3b9f3-1db4-4002-b206-174ff037d3cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SecuredDebt_f66f892c-73d5-426d-a783-9b63a1f1cef4" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_32b3b9f3-1db4-4002-b206-174ff037d3cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNoncurrentGross_ec352a5a-be66-4f35-bd40-c404e5f256f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFinanceCostsNoncurrentGross"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SecuredDebt_f66f892c-73d5-426d-a783-9b63a1f1cef4" xlink:to="loc_us-gaap_DeferredFinanceCostsNoncurrentGross_ec352a5a-be66-4f35-bd40-c404e5f256f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_059a2103-e1fe-48d2-bf74-b75a0ae44319" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SecuredDebt_f66f892c-73d5-426d-a783-9b63a1f1cef4" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_059a2103-e1fe-48d2-bf74-b75a0ae44319" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/SecuredBorrowingsPrincipalRepaymentsDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#SecuredBorrowingsPrincipalRepaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/SecuredBorrowingsPrincipalRepaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_stwd_DebtInstrumentCarryingAmountIncludingCollateralizedLoanObligations_72ca4073-e45a-42a5-8eaf-ea27b5fbbfc1" xlink:href="stwd-20240331.xsd#stwd_DebtInstrumentCarryingAmountIncludingCollateralizedLoanObligations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_b1f9872f-3ca4-4090-9cbb-b4070bd3f9c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_DebtInstrumentCarryingAmountIncludingCollateralizedLoanObligations_72ca4073-e45a-42a5-8eaf-ea27b5fbbfc1" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_b1f9872f-3ca4-4090-9cbb-b4070bd3f9c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_e0e72174-e4b4-485c-9320-15c66e9976bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_DebtInstrumentCarryingAmountIncludingCollateralizedLoanObligations_72ca4073-e45a-42a5-8eaf-ea27b5fbbfc1" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_e0e72174-e4b4-485c-9320-15c66e9976bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_87f310a3-26d8-4109-9561-b879c667013f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_DebtInstrumentCarryingAmountIncludingCollateralizedLoanObligations_72ca4073-e45a-42a5-8eaf-ea27b5fbbfc1" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_87f310a3-26d8-4109-9561-b879c667013f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_03d2e070-6f5d-4795-98c0-197b30dfa4d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_DebtInstrumentCarryingAmountIncludingCollateralizedLoanObligations_72ca4073-e45a-42a5-8eaf-ea27b5fbbfc1" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_03d2e070-6f5d-4795-98c0-197b30dfa4d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_LongTermDebtMaturityAfterYearFour_810c1841-5dd7-484c-808e-099769458c02" xlink:href="stwd-20240331.xsd#stwd_LongTermDebtMaturityAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_DebtInstrumentCarryingAmountIncludingCollateralizedLoanObligations_72ca4073-e45a-42a5-8eaf-ea27b5fbbfc1" xlink:to="loc_stwd_LongTermDebtMaturityAfterYearFour_810c1841-5dd7-484c-808e-099769458c02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_e78ae8d9-9e5f-48d2-aa94-da9d7113d88f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_DebtInstrumentCarryingAmountIncludingCollateralizedLoanObligations_72ca4073-e45a-42a5-8eaf-ea27b5fbbfc1" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_e78ae8d9-9e5f-48d2-aa94-da9d7113d88f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/UnsecuredSeniorNotesScheduleofUnsecuredConvertibleSeniorNotesOutstandingDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#UnsecuredSeniorNotesScheduleofUnsecuredConvertibleSeniorNotesOutstandingDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/UnsecuredSeniorNotesScheduleofUnsecuredConvertibleSeniorNotesOutstandingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_898cd00d-acdb-4168-8af2-4246d1a0393c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_c40df4ed-d349-42cf-9824-f5d23fe01c54" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_898cd00d-acdb-4168-8af2-4246d1a0393c" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_c40df4ed-d349-42cf-9824-f5d23fe01c54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_77bdbae7-fc38-47ae-9ae1-e6e7b6075f61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_898cd00d-acdb-4168-8af2-4246d1a0393c" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_77bdbae7-fc38-47ae-9ae1-e6e7b6075f61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_9ec65c4a-82b7-4a86-a43c-99c402b6a079" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_898cd00d-acdb-4168-8af2-4246d1a0393c" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_9ec65c4a-82b7-4a86-a43c-99c402b6a079" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/OffsettingAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#OffsettingAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/OffsettingAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_ef6d63f3-0e2e-4885-91a2-04a32a485013" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_9b12a2f3-cfc7-4654-8534-54382db56861" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_ef6d63f3-0e2e-4885-91a2-04a32a485013" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_9b12a2f3-cfc7-4654-8534-54382db56861" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_fff12855-6817-498c-9589-982544ba719e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_ef6d63f3-0e2e-4885-91a2-04a32a485013" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_fff12855-6817-498c-9589-982544ba719e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash_c1d32e58-0d60-4814-99a2-ae177ce29d29" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_0baf26cd-eda6-4f23-a40b-2c1d71132d9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c1d32e58-0d60-4814-99a2-ae177ce29d29" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_0baf26cd-eda6-4f23-a40b-2c1d71132d9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimCash_97fa7971-835a-45b7-a50c-94100cfdb9ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c1d32e58-0d60-4814-99a2-ae177ce29d29" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimCash_97fa7971-835a-45b7-a50c-94100cfdb9ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned_b6dcb96e-1d8e-4644-9e9a-b53f236a204a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_94fb6115-06ea-4c2c-9da7-f56d5d5585ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b6dcb96e-1d8e-4644-9e9a-b53f236a204a" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_94fb6115-06ea-4c2c-9da7-f56d5d5585ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_9681c77a-614b-4397-bac7-85158b41fac9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b6dcb96e-1d8e-4644-9e9a-b53f236a204a" xlink:to="loc_us-gaap_DerivativeLiabilities_9681c77a-614b-4397-bac7-85158b41fac9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_21d562a1-dee3-48d7-aafc-c0cab72f8bf7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_3aae984e-2856-43ec-86f3-f074e40fa719" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_21d562a1-dee3-48d7-aafc-c0cab72f8bf7" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_3aae984e-2856-43ec-86f3-f074e40fa719" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_42184c46-1e45-4c20-b331-4b9930cb0563" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_21d562a1-dee3-48d7-aafc-c0cab72f8bf7" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_42184c46-1e45-4c20-b331-4b9930cb0563" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_50ea9eeb-d063-479c-ab1f-9b0e943f9969" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_278549be-1b07-47a6-a2de-59394600e0f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_50ea9eeb-d063-479c-ab1f-9b0e943f9969" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_278549be-1b07-47a6-a2de-59394600e0f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_e44e7fef-ba63-4e70-8cf9-29de284c569c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_50ea9eeb-d063-479c-ab1f-9b0e943f9969" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_e44e7fef-ba63-4e70-8cf9-29de284c569c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_a419d3fb-99e0-4678-9759-84989558a6bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_fe9cc1b2-95bf-459d-a2b5-3b6e3539fdc5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_a419d3fb-99e0-4678-9759-84989558a6bd" xlink:to="loc_us-gaap_DerivativeAssets_fe9cc1b2-95bf-459d-a2b5-3b6e3539fdc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnCash_4973f2c0-e8f4-473c-8f08-93b4983b73d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_a419d3fb-99e0-4678-9759-84989558a6bd" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnCash_4973f2c0-e8f4-473c-8f08-93b4983b73d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_d10d1c5b-b335-4711-b11f-3288c35ca4b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_a419d3fb-99e0-4678-9759-84989558a6bd" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_d10d1c5b-b335-4711-b11f-3288c35ca4b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_1625f7ee-d600-446a-9c79-2d9a536224e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_aba8dbc4-98b0-4a00-81fc-dc5e86840892" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_1625f7ee-d600-446a-9c79-2d9a536224e0" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_aba8dbc4-98b0-4a00-81fc-dc5e86840892" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_b6317332-5822-4b55-8d8a-5e0d03dc0567" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1625f7ee-d600-446a-9c79-2d9a536224e0" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_b6317332-5822-4b55-8d8a-5e0d03dc0567" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_c10faa16-13be-4866-b77e-fe45f9229b7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_1625f7ee-d600-446a-9c79-2d9a536224e0" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_c10faa16-13be-4866-b77e-fe45f9229b7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_20b92fe9-9c22-4752-ab2c-a7405f793f7b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimCash_b4310ec8-3690-4149-9d4c-504761b0365b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeCollateralRightToReclaimCash"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_20b92fe9-9c22-4752-ab2c-a7405f793f7b" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimCash_b4310ec8-3690-4149-9d4c-504761b0365b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_9e05636a-7673-4422-9f20-7569fc7241d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_20b92fe9-9c22-4752-ab2c-a7405f793f7b" xlink:to="loc_us-gaap_DerivativeLiabilities_9e05636a-7673-4422-9f20-7569fc7241d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_9eb475cd-36a7-4454-ac9a-187ee4358153" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_20b92fe9-9c22-4752-ab2c-a7405f793f7b" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_9eb475cd-36a7-4454-ac9a-187ee4358153" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_ec7b2fef-19ba-4e5c-8fbc-fb908aaccfd0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_c363dd36-98cd-4e39-aed7-b7e5c960c2ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_ec7b2fef-19ba-4e5c-8fbc-fb908aaccfd0" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_c363dd36-98cd-4e39-aed7-b7e5c960c2ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_2d6e68ab-fdd4-42e3-989d-133acce460ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_ec7b2fef-19ba-4e5c-8fbc-fb908aaccfd0" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_2d6e68ab-fdd4-42e3-989d-133acce460ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_02e1dfc9-cc58-4eb3-a9db-4c3151313cb0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_bd576aca-fe4d-4ff8-9908-b7ed1abdcfc3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_02e1dfc9-cc58-4eb3-a9db-4c3151313cb0" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_bd576aca-fe4d-4ff8-9908-b7ed1abdcfc3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_0388e54d-fcee-4aef-8827-4e73d105bb69" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_02e1dfc9-cc58-4eb3-a9db-4c3151313cb0" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_0388e54d-fcee-4aef-8827-4e73d105bb69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_8a43539f-ddda-4772-bc9f-23dd137e2218" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_7be6814a-622b-4c9f-afc9-7a69f0783c4f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_8a43539f-ddda-4772-bc9f-23dd137e2218" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_7be6814a-622b-4c9f-afc9-7a69f0783c4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_f41068f2-097d-4cc1-a506-20a0641b7f48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_8a43539f-ddda-4772-bc9f-23dd137e2218" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_f41068f2-097d-4cc1-a506-20a0641b7f48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_80038bae-e195-451a-a4b8-c53595407da7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_678a94fa-1c78-42f3-85a5-16676c112851" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_80038bae-e195-451a-a4b8-c53595407da7" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_678a94fa-1c78-42f3-85a5-16676c112851" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_25846646-98c0-4c6d-9699-7ab07e58566f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_80038bae-e195-451a-a4b8-c53595407da7" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_25846646-98c0-4c6d-9699-7ab07e58566f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/EarningsperShareScheduleofReconciliationofNetIncomeandNumberofSharesusedinComputationofEarningsPerShareDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#EarningsperShareScheduleofReconciliationofNetIncomeandNumberofSharesusedinComputationofEarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/EarningsperShareScheduleofReconciliationofNetIncomeandNumberofSharesusedinComputationofEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_fc7fc05d-bc79-431c-adf8-3a9493b93163" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_cb36c569-8157-407a-8228-b5242636e764" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_fc7fc05d-bc79-431c-adf8-3a9493b93163" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_cb36c569-8157-407a-8228-b5242636e764" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_00fb82f6-4918-4000-9125-388cf880b1de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_fc7fc05d-bc79-431c-adf8-3a9493b93163" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_00fb82f6-4918-4000-9125-388cf880b1de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares_cd9adec5-d745-4de6-81cc-520dcb1d6158" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_fc7fc05d-bc79-431c-adf8-3a9493b93163" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares_cd9adec5-d745-4de6-81cc-520dcb1d6158" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_IncrementalCommonSharesAttributableToNonParticipatingNonvestedShares_edda2696-d540-4d73-aa04-e0214ff3d968" xlink:href="stwd-20240331.xsd#stwd_IncrementalCommonSharesAttributableToNonParticipatingNonvestedShares"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_fc7fc05d-bc79-431c-adf8-3a9493b93163" xlink:to="loc_stwd_IncrementalCommonSharesAttributableToNonParticipatingNonvestedShares_edda2696-d540-4d73-aa04-e0214ff3d968" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_IncomeLossFromContinuingOperationsBasic_875f54c1-90a7-495f-9909-0edffffc6409" xlink:href="stwd-20240331.xsd#stwd_IncomeLossFromContinuingOperationsBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_0ab03c37-16ee-4e15-99f5-68e29cc69ff2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_IncomeLossFromContinuingOperationsBasic_875f54c1-90a7-495f-9909-0edffffc6409" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_0ab03c37-16ee-4e15-99f5-68e29cc69ff2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_7351bdbf-ce05-4206-8d70-9c1ab30c2697" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_IncomeLossFromContinuingOperationsBasic_875f54c1-90a7-495f-9909-0edffffc6409" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_7351bdbf-ce05-4206-8d70-9c1ab30c2697" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_IncomeLossFromContinuingOperationsDiluted_e75cc856-20ea-48ca-abc6-21525d1a47b7" xlink:href="stwd-20240331.xsd#stwd_IncomeLossFromContinuingOperationsDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecurities_b1c2eefe-00ac-4e72-827f-cd5e106c0004" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DilutiveSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_IncomeLossFromContinuingOperationsDiluted_e75cc856-20ea-48ca-abc6-21525d1a47b7" xlink:to="loc_us-gaap_DilutiveSecurities_b1c2eefe-00ac-4e72-827f-cd5e106c0004" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_637d6dec-7ee6-44be-a59e-7e3253db085b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_IncomeLossFromContinuingOperationsDiluted_e75cc856-20ea-48ca-abc6-21525d1a47b7" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_637d6dec-7ee6-44be-a59e-7e3253db085b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_96f3dd60-31cc-49b3-915a-c8c282914ae6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_IncomeLossFromContinuingOperationsDiluted_e75cc856-20ea-48ca-abc6-21525d1a47b7" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_96f3dd60-31cc-49b3-915a-c8c282914ae6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_88b90f93-8688-4440-9d84-91e19e355d2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_IncomeLossFromContinuingOperationsDiluted_e75cc856-20ea-48ca-abc6-21525d1a47b7" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_88b90f93-8688-4440-9d84-91e19e355d2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestOnConvertibleDebtNetOfTax_2a16ede0-1de7-4c41-8939-8f3021e5e5d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestOnConvertibleDebtNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_stwd_IncomeLossFromContinuingOperationsDiluted_e75cc856-20ea-48ca-abc6-21525d1a47b7" xlink:to="loc_us-gaap_InterestOnConvertibleDebtNetOfTax_2a16ede0-1de7-4c41-8939-8f3021e5e5d0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/AccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#AccumulatedOtherComprehensiveIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/AccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d56c716b-466f-4635-9e90-d35383229aeb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_8aa16b49-38fb-489d-8ce9-96d3d6e929d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d56c716b-466f-4635-9e90-d35383229aeb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_8aa16b49-38fb-489d-8ce9-96d3d6e929d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_81b4cc69-92c2-45a0-90ed-c1d7e86e1467" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d56c716b-466f-4635-9e90-d35383229aeb" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_81b4cc69-92c2-45a0-90ed-c1d7e86e1467" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/FairValueScheduleofFinancialAssetsandLiabilitiesCarriedatFairValueonaRecurringBasisDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#FairValueScheduleofFinancialAssetsandLiabilitiesCarriedatFairValueonaRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/FairValueScheduleofFinancialAssetsandLiabilitiesCarriedatFairValueonaRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_b537ffc1-13f4-4f00-9206-47b71270e6ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_53a08e09-8aeb-40f8-843e-68361ba59fa7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_LiabilitiesFairValueDisclosure_b537ffc1-13f4-4f00-9206-47b71270e6ef" xlink:to="loc_us-gaap_Liabilities_53a08e09-8aeb-40f8-843e-68361ba59fa7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_4703083e-be4d-43f6-bfd8-4c39fe54498b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_LiabilitiesFairValueDisclosure_b537ffc1-13f4-4f00-9206-47b71270e6ef" xlink:to="loc_us-gaap_DerivativeLiabilities_4703083e-be4d-43f6-bfd8-4c39fe54498b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_3a264d17-4506-4a46-852d-e80aac44923b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_93d6cefd-356d-4d63-938c-bdbee9694e49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_3a264d17-4506-4a46-852d-e80aac44923b" xlink:to="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_93d6cefd-356d-4d63-938c-bdbee9694e49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_4d23dda0-3125-4613-872e-d7a238e3db97" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_AssetsFairValueDisclosure_3a264d17-4506-4a46-852d-e80aac44923b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_4d23dda0-3125-4613-872e-d7a238e3db97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_cfb22586-3d97-437e-b3e1-06973eb49c51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_3a264d17-4506-4a46-852d-e80aac44923b" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_cfb22586-3d97-437e-b3e1-06973eb49c51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetAtFairValueAmount_368fd382-3be2-44a3-82be-ce2be0c22cda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ServicingAssetAtFairValueAmount"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_3a264d17-4506-4a46-852d-e80aac44923b" xlink:to="loc_us-gaap_ServicingAssetAtFairValueAmount_368fd382-3be2-44a3-82be-ce2be0c22cda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_a65bafda-767c-4b0d-949b-65e63ce7ea28" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_3a264d17-4506-4a46-852d-e80aac44923b" xlink:to="loc_us-gaap_DerivativeAssets_a65bafda-767c-4b0d-949b-65e63ce7ea28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_0f15c866-85b1-49b3-b2e9-0761f5485f86" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_3a264d17-4506-4a46-852d-e80aac44923b" xlink:to="loc_us-gaap_Assets_0f15c866-85b1-49b3-b2e9-0761f5485f86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_f80b831e-a253-4c09-b252-4bd6266518e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_3a264d17-4506-4a46-852d-e80aac44923b" xlink:to="loc_us-gaap_InvestmentsFairValueDisclosure_f80b831e-a253-4c09-b252-4bd6266518e6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.starwoodpropertytrust.com/role/IncomeTaxesScheduleofIncomeTaxRateReconciliationDetails" xlink:type="simple" xlink:href="stwd-20240331.xsd#IncomeTaxesScheduleofIncomeTaxRateReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.starwoodpropertytrust.com/role/IncomeTaxesScheduleofIncomeTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7d166173-d976-4f9b-a2eb-da62dd817342" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_be995e9c-8d4f-4afd-a555-b84e9e57324b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7d166173-d976-4f9b-a2eb-da62dd817342" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_be995e9c-8d4f-4afd-a555-b84e9e57324b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_dcfa6b10-05a6-46a1-9b1e-e575189bc340" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7d166173-d976-4f9b-a2eb-da62dd817342" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_dcfa6b10-05a6-46a1-9b1e-e575189bc340" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_ce7fad0a-1ec7-4cc2-a164-60acdb8b9422" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7d166173-d976-4f9b-a2eb-da62dd817342" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_ce7fad0a-1ec7-4cc2-a164-60acdb8b9422" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_EffectiveIncomeTaxRateReconciliationDeductionFederalBenefitOfStateTaxPercent_5dc1a7d5-607b-4ce4-9ee9-28965d2642a8" xlink:href="stwd-20240331.xsd#stwd_EffectiveIncomeTaxRateReconciliationDeductionFederalBenefitOfStateTaxPercent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7d166173-d976-4f9b-a2eb-da62dd817342" xlink:to="loc_stwd_EffectiveIncomeTaxRateReconciliationDeductionFederalBenefitOfStateTaxPercent_5dc1a7d5-607b-4ce4-9ee9-28965d2642a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_b66471dc-c33f-46d5-ad7c-63eb380155cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_7d166173-d976-4f9b-a2eb-da62dd817342" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_b66471dc-c33f-46d5-ad7c-63eb380155cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_24e7cf07-91ae-4413-b7bc-ac27150a7e44" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_9303619f-a533-4c8b-8d69-7eccc38fb422" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_24e7cf07-91ae-4413-b7bc-ac27150a7e44" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_9303619f-a533-4c8b-8d69-7eccc38fb422" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_fa37c95d-0772-43bf-8f64-97a2f80e6c02" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_24e7cf07-91ae-4413-b7bc-ac27150a7e44" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_fa37c95d-0772-43bf-8f64-97a2f80e6c02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_ad21b364-4561-41a2-91ac-a859e6ce1a60" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_24e7cf07-91ae-4413-b7bc-ac27150a7e44" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_ad21b364-4561-41a2-91ac-a859e6ce1a60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_849f8148-2479-464e-acdc-174fe31fc18b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_24e7cf07-91ae-4413-b7bc-ac27150a7e44" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_849f8148-2479-464e-acdc-174fe31fc18b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stwd_IncomeTaxReconciliationFederalBenefitOfStateTaxDeduction_29191a4d-0606-4312-b054-5bc297d16cfd" xlink:href="stwd-20240331.xsd#stwd_IncomeTaxReconciliationFederalBenefitOfStateTaxDeduction"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_24e7cf07-91ae-4413-b7bc-ac27150a7e44" xlink:to="loc_stwd_IncomeTaxReconciliationFederalBenefitOfStateTaxDeduction_29191a4d-0606-4312-b054-5bc297d16cfd" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
