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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e46bf-2fd5-795c-b0e9-a0cf02f1d7ee,g:c4355699-796f-4a58-8fbe-4b0e903693b6-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.reitmr.com/role/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="rmr-20260630.xsd#CondensedConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.reitmr.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e46bf-3245-796e-a67f-b3dfd1184194" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e46bf-3245-7ae1-af12-bebbcd084b45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e46bf-3245-796e-a67f-b3dfd1184194" xlink:to="loc_us-gaap_AssetsCurrent_019e46bf-3245-7ae1-af12-bebbcd084b45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivableAfterAllowanceForCreditLossNoncurrent_019e46bf-3245-714d-9256-dd293fbd8943" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherReceivableAfterAllowanceForCreditLossNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e46bf-3245-796e-a67f-b3dfd1184194" xlink:to="loc_us-gaap_OtherReceivableAfterAllowanceForCreditLossNoncurrent_019e46bf-3245-714d-9256-dd293fbd8943" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_019e46bf-3245-7161-8fa2-e0dd60327109" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e46bf-3245-796e-a67f-b3dfd1184194" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_019e46bf-3245-7161-8fa2-e0dd60327109" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019e46bf-3245-79d4-bd1a-305e8b1c9023" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e46bf-3245-796e-a67f-b3dfd1184194" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019e46bf-3245-79d4-bd1a-305e8b1c9023" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e46bf-3245-7f34-b8ee-d908a6d512ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e46bf-3245-796e-a67f-b3dfd1184194" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e46bf-3245-7f34-b8ee-d908a6d512ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019e46bf-3245-7928-8417-788322a7baf1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e46bf-3245-796e-a67f-b3dfd1184194" xlink:to="loc_us-gaap_EquityMethodInvestments_019e46bf-3245-7928-8417-788322a7baf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019e46bf-3245-7eff-94bc-e49b858ae508" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e46bf-3245-796e-a67f-b3dfd1184194" xlink:to="loc_us-gaap_Goodwill_019e46bf-3245-7eff-94bc-e49b858ae508" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019e46bf-3245-74dc-8b9d-d91ea9f97a03" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e46bf-3245-796e-a67f-b3dfd1184194" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019e46bf-3245-74dc-8b9d-d91ea9f97a03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e46bf-3245-755a-8d80-309b16f351b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e46bf-3245-796e-a67f-b3dfd1184194" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e46bf-3245-755a-8d80-309b16f351b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesAndLoansReceivableNetNoncurrent_019e46bf-3245-724c-beb0-61b5c0cbb040" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesAndLoansReceivableNetNoncurrent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e46bf-3245-796e-a67f-b3dfd1184194" xlink:to="loc_us-gaap_NotesAndLoansReceivableNetNoncurrent_019e46bf-3245-724c-beb0-61b5c0cbb040" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e46bf-3245-7632-b54d-587c4fed1db4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e46bf-3245-7e33-9d7e-ae58a6af22b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e46bf-3245-7632-b54d-587c4fed1db4" xlink:to="loc_us-gaap_Liabilities_019e46bf-3245-7e33-9d7e-ae58a6af22b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e46bf-3245-76d8-a3be-eb24ec02e3b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e46bf-3245-7632-b54d-587c4fed1db4" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e46bf-3245-76d8-a3be-eb24ec02e3b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e46bf-3245-7c4b-8ac9-a3bc810ac150" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e46bf-3245-7632-b54d-587c4fed1db4" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e46bf-3245-7c4b-8ac9-a3bc810ac150" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e46bf-3245-702a-a681-151e48f816f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayable_019e46bf-3245-7eb0-b264-1067f37f319c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesPayable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e46bf-3245-702a-a681-151e48f816f2" xlink:to="loc_us-gaap_NotesPayable_019e46bf-3245-7eb0-b264-1067f37f319c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_019e46bf-3245-7494-9b5d-2a88126616bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e46bf-3245-702a-a681-151e48f816f2" xlink:to="loc_us-gaap_DeferredCompensationLiabilityClassifiedNoncurrent_019e46bf-3245-7494-9b5d-2a88126616bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredLongTermDebt_019e46bf-3245-7d75-b720-75ca50ee911d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredLongTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e46bf-3245-702a-a681-151e48f816f2" xlink:to="loc_us-gaap_SecuredLongTermDebt_019e46bf-3245-7d75-b720-75ca50ee911d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e46bf-3245-74ca-b4ff-395f28dff264" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e46bf-3245-702a-a681-151e48f816f2" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019e46bf-3245-74ca-b4ff-395f28dff264" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e46bf-3245-775b-a5d5-73cab1f7b810" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e46bf-3245-702a-a681-151e48f816f2" xlink:to="loc_us-gaap_LiabilitiesCurrent_019e46bf-3245-775b-a5d5-73cab1f7b810" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_TaxReceivableAgreementObligationsNoncurrent_019e46bf-3245-7966-b8a4-f8269f57cfc5" xlink:href="rmr-20260630.xsd#rmr_TaxReceivableAgreementObligationsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e46bf-3245-702a-a681-151e48f816f2" xlink:to="loc_rmr_TaxReceivableAgreementObligationsNoncurrent_019e46bf-3245-7966-b8a4-f8269f57cfc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019f6926-146e-75de-8fe0-ae2f54521f9b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCredit"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e46bf-3245-702a-a681-151e48f816f2" xlink:to="loc_us-gaap_LineOfCredit_019f6926-146e-75de-8fe0-ae2f54521f9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019e46bf-3245-717c-a13c-0810b812b3f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019e46bf-3245-75ce-8516-000d1b50a214" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e46bf-3245-717c-a13c-0810b812b3f3" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_019e46bf-3245-75ce-8516-000d1b50a214" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e46bf-3245-789a-bdf0-b1de07eb598b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e46bf-3245-717c-a13c-0810b812b3f3" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019e46bf-3245-789a-bdf0-b1de07eb598b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019e46bf-3245-7d11-92a3-6b26cb077729" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e46bf-3245-717c-a13c-0810b812b3f3" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019e46bf-3245-7d11-92a3-6b26cb077729" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e46bf-3245-78a8-9a10-b501c1472ac9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e46bf-3245-717c-a13c-0810b812b3f3" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019e46bf-3245-78a8-9a10-b501c1472ac9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtCurrent_019e46bf-3245-7452-a9e7-5fb5471965b4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredDebtCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019e46bf-3245-717c-a13c-0810b812b3f3" xlink:to="loc_us-gaap_SecuredDebtCurrent_019e46bf-3245-7452-a9e7-5fb5471965b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019e46bf-3245-742b-bdeb-1a228109027e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_019e46bf-3245-7d89-80df-35c85a7b3055" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_MinorityInterest_019e46bf-3245-742b-bdeb-1a228109027e" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_019e46bf-3245-7d89-80df-35c85a7b3055" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestInVariableInterestEntity_019e46bf-3245-79d6-90bc-12d5a4320047" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncontrollingInterestInVariableInterestEntity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_MinorityInterest_019e46bf-3245-742b-bdeb-1a228109027e" xlink:to="loc_us-gaap_NoncontrollingInterestInVariableInterestEntity_019e46bf-3245-79d6-90bc-12d5a4320047" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e46bf-3245-76ff-8900-8f8249864c22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e46bf-3245-7258-85e6-d7882c4319fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e46bf-3245-76ff-8900-8f8249864c22" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e46bf-3245-7258-85e6-d7882c4319fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e46bf-3245-75b8-a201-de80634d4a8e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e46bf-3245-76ff-8900-8f8249864c22" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e46bf-3245-75b8-a201-de80634d4a8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CumulativeDividends_019e46bf-3245-7e4b-9955-7a542aa6585f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CumulativeDividends"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e46bf-3245-76ff-8900-8f8249864c22" xlink:to="loc_us-gaap_CumulativeDividends_019e46bf-3245-7e4b-9955-7a542aa6585f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e46bf-3245-7943-9f69-5cd67883c5b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e46bf-3245-76ff-8900-8f8249864c22" xlink:to="loc_us-gaap_CommonStockValue_019e46bf-3245-7943-9f69-5cd67883c5b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e46bf-3245-7a29-b807-f28b27997fc7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e46bf-3245-76ff-8900-8f8249864c22" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e46bf-3245-7a29-b807-f28b27997fc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e46bf-3245-78a4-9af1-40e39a48933e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e46bf-3245-7557-843f-dc08c4d6688c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e46bf-3245-78a4-9af1-40e39a48933e" xlink:to="loc_us-gaap_StockholdersEquity_019e46bf-3245-7557-843f-dc08c4d6688c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019e46bf-3245-7e92-83a9-b7ff5181c62b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e46bf-3245-78a4-9af1-40e39a48933e" xlink:to="loc_us-gaap_MinorityInterest_019e46bf-3245-7e92-83a9-b7ff5181c62b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019e46bf-3245-75c2-a618-0f3e3598b4cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e46bf-3245-76bd-957a-4077af70de29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e46bf-3245-75c2-a618-0f3e3598b4cc" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e46bf-3245-76bd-957a-4077af70de29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_019e46bf-3245-7757-9eb0-fb40ec5035b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherReceivablesNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e46bf-3245-75c2-a618-0f3e3598b4cc" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_019e46bf-3245-7757-9eb0-fb40ec5035b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019e46bf-3245-7645-bcb9-b3eadc477554" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e46bf-3245-75c2-a618-0f3e3598b4cc" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019e46bf-3245-7645-bcb9-b3eadc477554" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesAndLoansReceivableNetCurrent_019e46bf-3245-7e7c-b27b-33dca5ddd5e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesAndLoansReceivableNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019e46bf-3245-75c2-a618-0f3e3598b4cc" xlink:to="loc_us-gaap_NotesAndLoansReceivableNetCurrent_019e46bf-3245-7e7c-b27b-33dca5ddd5e4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.reitmr.com/role/CondensedConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="rmr-20260630.xsd#CondensedConsolidatedStatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.reitmr.com/role/CondensedConsolidatedStatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e46bf-3245-7594-892b-07366f3f7539" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e46bf-3245-74fc-b477-fd7f86b65af5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e46bf-3245-7594-892b-07366f3f7539" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e46bf-3245-74fc-b477-fd7f86b65af5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndOtherIncome_019e46bf-3245-746f-a724-ca873afc517a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndOtherIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e46bf-3245-7594-892b-07366f3f7539" xlink:to="loc_us-gaap_InterestAndOtherIncome_019e46bf-3245-746f-a724-ca873afc517a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019e46bf-3245-7ef9-ba20-4b98f403590c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e46bf-3245-7594-892b-07366f3f7539" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019e46bf-3245-7ef9-ba20-4b98f403590c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_019e46bf-3245-7cbc-9ace-738c654b28c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e46bf-3245-7594-892b-07366f3f7539" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_019e46bf-3245-7cbc-9ace-738c654b28c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e46bf-3245-785d-97ab-9ebff99d4fca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e46bf-3245-7594-892b-07366f3f7539" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e46bf-3245-785d-97ab-9ebff99d4fca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e46bf-3245-7679-8e1a-c53e4df2533b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e46bf-3245-7594-892b-07366f3f7539" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e46bf-3245-7679-8e1a-c53e4df2533b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnSalesOfInvestmentRealEstate_019f4487-d5f3-737b-a132-22d89d6a2865" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnSalesOfInvestmentRealEstate"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e46bf-3245-7594-892b-07366f3f7539" xlink:to="loc_us-gaap_GainsLossesOnSalesOfInvestmentRealEstate_019f4487-d5f3-737b-a132-22d89d6a2865" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e46bf-3245-768f-9efb-f4d079feee3f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_019e46bf-3245-7205-90a1-505b60015e26" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeBenefitsAndShareBasedCompensation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e46bf-3245-768f-9efb-f4d079feee3f" xlink:to="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_019e46bf-3245-7205-90a1-505b60015e26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e46bf-3245-7159-9eaf-343a07f5c8b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e46bf-3245-768f-9efb-f4d079feee3f" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e46bf-3245-7159-9eaf-343a07f5c8b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_ReimbursedExpense_019e46bf-3245-7f77-b6cf-19f7f3798105" xlink:href="rmr-20260630.xsd#rmr_ReimbursedExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e46bf-3245-768f-9efb-f4d079feee3f" xlink:to="loc_rmr_ReimbursedExpense_019e46bf-3245-7f77-b6cf-19f7f3798105" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_RentalPropertyExpense_019e46bf-3245-7d1d-a85f-7282254beaa4" xlink:href="rmr-20260630.xsd#rmr_RentalPropertyExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e46bf-3245-768f-9efb-f4d079feee3f" xlink:to="loc_rmr_RentalPropertyExpense_019e46bf-3245-7d1d-a85f-7282254beaa4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_TransactionAndAcquisitionRelatedCostsOperatingExpense_019e46bf-3245-794a-8c03-e669d23b0de4" xlink:href="rmr-20260630.xsd#rmr_TransactionAndAcquisitionRelatedCostsOperatingExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e46bf-3245-768f-9efb-f4d079feee3f" xlink:to="loc_rmr_TransactionAndAcquisitionRelatedCostsOperatingExpense_019e46bf-3245-794a-8c03-e669d23b0de4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_019e46bf-3245-781a-832b-5e256e02ddf7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e46bf-3245-768f-9efb-f4d079feee3f" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_019e46bf-3245-781a-832b-5e256e02ddf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019f275a-f425-74f7-830d-acafaf11c735" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019e46bf-3245-768f-9efb-f4d079feee3f" xlink:to="loc_us-gaap_DepreciationAndAmortization_019f275a-f425-74f7-830d-acafaf11c735" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_019e46bf-3245-7dcc-9300-61dbfc126050" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeBenefitsAndShareBasedCompensation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalariesAndWages_019e46bf-3245-7da3-b5f6-af7a9879217d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SalariesAndWages"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_019e46bf-3245-7dcc-9300-61dbfc126050" xlink:to="loc_us-gaap_SalariesAndWages_019e46bf-3245-7da3-b5f6-af7a9879217d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019e46bf-3245-738a-9552-04622fa586bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_019e46bf-3245-7dcc-9300-61dbfc126050" xlink:to="loc_us-gaap_ShareBasedCompensation_019e46bf-3245-738a-9552-04622fa586bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeveranceCosts1_019e46bf-3245-7ddd-8715-f384bf9bcaed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeveranceCosts1"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_019e46bf-3245-7dcc-9300-61dbfc126050" xlink:to="loc_us-gaap_SeveranceCosts1_019e46bf-3245-7ddd-8715-f384bf9bcaed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e46bf-3245-7782-9979-c6f66e0b12f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_019e46bf-3245-7ce5-a13f-2bdba20d4d2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e46bf-3245-7782-9979-c6f66e0b12f3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_019e46bf-3245-7ce5-a13f-2bdba20d4d2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxNoncontrollingInterest_019e46bf-3245-7b7b-b374-d876deebf9f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e46bf-3245-7782-9979-c6f66e0b12f3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxNoncontrollingInterest_019e46bf-3245-7b7b-b374-d876deebf9f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e46bf-3245-7cd4-b9c4-67d9642b008d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019e46bf-3245-70aa-88fb-1ac8a2812ab5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e46bf-3245-7cd4-b9c4-67d9642b008d" xlink:to="loc_us-gaap_Revenues_019e46bf-3245-70aa-88fb-1ac8a2812ab5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e46bf-3245-7759-bb64-76c3f7a736c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019e46bf-3245-7cd4-b9c4-67d9642b008d" xlink:to="loc_us-gaap_OperatingExpenses_019e46bf-3245-7759-bb64-76c3f7a736c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e46bf-3245-70cc-abf9-3ceed80e8db3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e46bf-3245-71ce-a0ed-baec4c477cb6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e46bf-3245-70cc-abf9-3ceed80e8db3" xlink:to="loc_us-gaap_NetIncomeLoss_019e46bf-3245-71ce-a0ed-baec4c477cb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e46bf-3245-7410-8dff-65448ca40698" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e46bf-3245-70cc-abf9-3ceed80e8db3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019e46bf-3245-7410-8dff-65448ca40698" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e46bf-3245-702f-bdd2-66c398f45bd2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e46bf-3245-7959-900d-5122839abb9a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e46bf-3245-702f-bdd2-66c398f45bd2" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e46bf-3245-7959-900d-5122839abb9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e46bf-3245-7f11-a346-07d6700648e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e46bf-3245-702f-bdd2-66c398f45bd2" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e46bf-3245-7f11-a346-07d6700648e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019e46bf-3245-796f-b507-fb4d4c73a0a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Revenues"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e46bf-3245-7e6d-a696-8a2fdbe70ee2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_019e46bf-3245-796f-b507-fb4d4c73a0a4" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e46bf-3245-7e6d-a696-8a2fdbe70ee2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019e46bf-3245-76f6-868a-3fa5dd17010b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetInvestmentIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_019e46bf-3245-796f-b507-fb4d4c73a0a4" xlink:to="loc_us-gaap_NetInvestmentIncome_019e46bf-3245-76f6-868a-3fa5dd17010b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseIncome_019e46bf-3245-77bd-88c4-782ee709cca7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_019e46bf-3245-796f-b507-fb4d4c73a0a4" xlink:to="loc_us-gaap_LeaseIncome_019e46bf-3245-77bd-88c4-782ee709cca7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueNotFromContractWithCustomer_019e46bf-3245-7eca-a073-83fe8834d148" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueNotFromContractWithCustomer"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_019e46bf-3245-796f-b507-fb4d4c73a0a4" xlink:to="loc_us-gaap_RevenueNotFromContractWithCustomer_019e46bf-3245-7eca-a073-83fe8834d148" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e46bf-3245-7431-9774-7eaabd57cceb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNonredeemableNoncontrollingInterest_019e46bf-3245-7027-ad73-a674d9a63469" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToNonredeemableNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e46bf-3245-7431-9774-7eaabd57cceb" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNonredeemableNoncontrollingInterest_019e46bf-3245-7027-ad73-a674d9a63469" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e46bf-3245-7921-ba55-8f01e2f18703" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e46bf-3245-7431-9774-7eaabd57cceb" xlink:to="loc_us-gaap_ProfitLoss_019e46bf-3245-7921-ba55-8f01e2f18703" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest_019e46bf-3245-70ab-b5d0-18d188533b4c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e46bf-3245-7431-9774-7eaabd57cceb" xlink:to="loc_us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest_019e46bf-3245-70ab-b5d0-18d188533b4c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.reitmr.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="rmr-20260630.xsd#CondensedConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.reitmr.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e46bf-3245-79e0-8204-a581bc057c1f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireRealEstate_019e46bf-3245-7d80-ad3a-57c3bb7173fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireRealEstate"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e46bf-3245-79e0-8204-a581bc057c1f" xlink:to="loc_us-gaap_PaymentsToAcquireRealEstate_019e46bf-3245-7d80-ad3a-57c3bb7173fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment_019e46bf-3245-7b05-bae7-487df23a2615" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e46bf-3245-79e0-8204-a581bc057c1f" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment_019e46bf-3245-7b05-bae7-487df23a2615" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_019e46bf-3245-73c8-906a-30ab551e8b9a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireLoansHeldForInvestment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e46bf-3245-79e0-8204-a581bc057c1f" xlink:to="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_019e46bf-3245-73c8-906a-30ab551e8b9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireOtherPropertyPlantAndEquipment_019e46bf-3245-7d74-ab87-2443d816defa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireOtherPropertyPlantAndEquipment"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e46bf-3245-79e0-8204-a581bc057c1f" xlink:to="loc_us-gaap_PaymentsToAcquireOtherPropertyPlantAndEquipment_019e46bf-3245-7d74-ab87-2443d816defa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019e46bf-3245-7978-b425-e2007e8abe16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e46bf-3245-79e0-8204-a581bc057c1f" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019e46bf-3245-7978-b425-e2007e8abe16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_019e46bf-3245-75c1-9f6b-7258425c39c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireInterestInJointVenture"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e46bf-3245-79e0-8204-a581bc057c1f" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInJointVenture_019e46bf-3245-75c1-9f6b-7258425c39c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019f27b5-49bf-7e6b-b89b-db2aef16aac0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e46bf-3245-79e0-8204-a581bc057c1f" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_019f27b5-49bf-7e6b-b89b-db2aef16aac0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e46bf-3245-747f-b87e-98d5d4c165d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-7d5c-98b6-b6db51d318c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e46bf-3245-747f-b87e-98d5d4c165d3" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-7d5c-98b6-b6db51d318c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e46bf-3245-7f0b-9407-608ad5d04bde" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e46bf-3245-747f-b87e-98d5d4c165d3" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e46bf-3245-7f0b-9407-608ad5d04bde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-76b8-9324-a84273417d89" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e46bf-3245-747f-b87e-98d5d4c165d3" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-76b8-9324-a84273417d89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSecuredLinesOfCredit_019e46bf-3245-7179-bf2a-bd0587a826ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSecuredLinesOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:to="loc_us-gaap_ProceedsFromSecuredLinesOfCredit_019e46bf-3245-7179-bf2a-bd0587a826ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_019e46bf-3245-77d4-b68d-b8fbc90bbf60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_019e46bf-3245-77d4-b68d-b8fbc90bbf60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromUnsecuredLinesOfCredit_019e46bf-3245-7938-8148-c537eefb9b84" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromUnsecuredLinesOfCredit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:to="loc_us-gaap_ProceedsFromUnsecuredLinesOfCredit_019e46bf-3245-7938-8148-c537eefb9b84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfUnsecuredDebt_019e46bf-3245-7ed2-848d-6b776081a738" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfUnsecuredDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:to="loc_us-gaap_RepaymentsOfUnsecuredDebt_019e46bf-3245-7ed2-848d-6b776081a738" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromNotesPayable_019e46bf-3245-741d-8095-cfbb40b55504" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromNotesPayable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:to="loc_us-gaap_ProceedsFromNotesPayable_019e46bf-3245-741d-8095-cfbb40b55504" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_019e46bf-3245-76a0-87dc-9d896103e47d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfFinancingCosts"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_019e46bf-3245-76a0-87dc-9d896103e47d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_PaymentstoNoncontrollingInterestsDividendsandTaxDistributions_019e46bf-3245-79b0-8a43-6484e4ade715" xlink:href="rmr-20260630.xsd#rmr_PaymentstoNoncontrollingInterestsDividendsandTaxDistributions"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:to="loc_rmr_PaymentstoNoncontrollingInterestsDividendsandTaxDistributions_019e46bf-3245-79b0-8a43-6484e4ade715" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019e46bf-3245-7c6b-b3a7-69c441770dd2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019e46bf-3245-7c6b-b3a7-69c441770dd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromContributedCapital_019eba10-f2fa-760e-91cd-5bfe0983dd61" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromContributedCapital"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:to="loc_us-gaap_ProceedsFromContributedCapital_019eba10-f2fa-760e-91cd-5bfe0983dd61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfCapitalDistribution_019f27b5-24e0-7dda-927d-40927afda1f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfCapitalDistribution"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:to="loc_us-gaap_PaymentsOfCapitalDistribution_019f27b5-24e0-7dda-927d-40927afda1f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019f6950-42a0-75e0-ba37-a16a21ddeb2c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e46bf-3245-7233-a81d-84677e09e23f" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019f6950-42a0-75e0-ba37-a16a21ddeb2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e46bf-3245-7003-a5d7-10b64a810ebf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_ProfitLoss_019e46bf-3245-7003-a5d7-10b64a810ebf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019e46bf-3245-7430-9a82-39e6fb0027de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019e46bf-3245-7430-9a82-39e6fb0027de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_AmortizationOfOtherAssets_019e46bf-3245-78b4-9877-7c97f9228ba3" xlink:href="rmr-20260630.xsd#rmr_AmortizationOfOtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_rmr_AmortizationOfOtherAssets_019e46bf-3245-78b4-9877-7c97f9228ba3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e46bf-3245-77b5-b02e-2196c0f5dea9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e46bf-3245-77b5-b02e-2196c0f5dea9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_019e46bf-3245-7559-9561-f040a3ec2528" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_019e46bf-3245-7559-9561-f040a3ec2528" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnSalesOfInvestmentRealEstate_019e46bf-3245-73a0-9d41-0d44c9dddebf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnSalesOfInvestmentRealEstate"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_GainsLossesOnSalesOfInvestmentRealEstate_019e46bf-3245-73a0-9d41-0d44c9dddebf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_019e46bf-3245-7071-a799-db2b0128bfae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_019e46bf-3245-7071-a799-db2b0128bfae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_NoncashExpensePaidinCommonStock_019e46bf-3245-7545-bce2-0493a97531b3" xlink:href="rmr-20260630.xsd#rmr_NoncashExpensePaidinCommonStock"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_rmr_NoncashExpensePaidinCommonStock_019e46bf-3245-7545-bce2-0493a97531b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_019e46bf-3245-7509-94a4-16c5d9555911" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_EquityMethodInvestmentDividendsOrDistributions_019e46bf-3245-7509-94a4-16c5d9555911" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e46bf-3245-724a-b47d-817e899fbc0e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e46bf-3245-724a-b47d-817e899fbc0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019e46bf-3245-7e6a-9102-eb4415aa5a2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019e46bf-3245-7e6a-9102-eb4415aa5a2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueFromRelatedParties_019e46bf-3245-75a1-bbc7-4e23e341d699" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDueFromRelatedParties"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_IncreaseDecreaseInDueFromRelatedParties_019e46bf-3245-75a1-bbc7-4e23e341d699" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e46bf-3245-7c35-ab2d-68e942d45606" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019e46bf-3245-7c35-ab2d-68e942d45606" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_IncreaseDecreaseinIncentiveFeeDuetoRelatedParty_019e46bf-3245-7763-bf43-4a783796980e" xlink:href="rmr-20260630.xsd#rmr_IncreaseDecreaseinIncentiveFeeDuetoRelatedParty"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_rmr_IncreaseDecreaseinIncentiveFeeDuetoRelatedParty_019e46bf-3245-7763-bf43-4a783796980e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e46bf-3245-7a80-b69b-d6d911d994fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e46bf-3245-779e-94f6-4ade5324f3a6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e46bf-3245-7a80-b69b-d6d911d994fa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.reitmr.com/role/RelatedPersonTransactionsScheduleofAmountDuefromRelatedPartiesDetails" xlink:type="simple" xlink:href="rmr-20260630.xsd#RelatedPersonTransactionsScheduleofAmountDuefromRelatedPartiesDetails"/>
  <link:calculationLink xlink:role="http://www.reitmr.com/role/RelatedPersonTransactionsScheduleofAmountDuefromRelatedPartiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_019e46bf-3245-7579-b701-cfce80175acc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherReceivables"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_019e46bf-3245-7017-b03e-b69ffdaeec56" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherReceivables_019e46bf-3245-7579-b701-cfce80175acc" xlink:to="loc_us-gaap_AccountsReceivableNet_019e46bf-3245-7017-b03e-b69ffdaeec56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_ReimbursableCostsRelatedParties_019e46bf-3245-7723-8529-18be34bc8f5d" xlink:href="rmr-20260630.xsd#rmr_ReimbursableCostsRelatedParties"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherReceivables_019e46bf-3245-7579-b701-cfce80175acc" xlink:to="loc_rmr_ReimbursableCostsRelatedParties_019e46bf-3245-7723-8529-18be34bc8f5d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.reitmr.com/role/IncomeTaxesScheduleofReconciliationofIncomeTaxRateDetails" xlink:type="simple" xlink:href="rmr-20260630.xsd#IncomeTaxesScheduleofReconciliationofIncomeTaxRateDetails"/>
  <link:calculationLink xlink:role="http://www.reitmr.com/role/IncomeTaxesScheduleofReconciliationofIncomeTaxRateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019e46bf-3245-7b17-b4a0-63090e4cd2a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019e46bf-3245-7edc-ae77-ba8e00e421cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019e46bf-3245-7b17-b4a0-63090e4cd2a9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_019e46bf-3245-7edc-ae77-ba8e00e421cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019e46bf-3245-72a9-ac3b-da9c59910441" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019e46bf-3245-7b17-b4a0-63090e4cd2a9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_019e46bf-3245-72a9-ac3b-da9c59910441" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_019e46bf-3245-72b6-b716-927449e88004" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019e46bf-3245-7b17-b4a0-63090e4cd2a9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense_019e46bf-3245-72b6-b716-927449e88004" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019e46bf-3245-70be-956c-bb7ecf5edb7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019e46bf-3245-7b17-b4a0-63090e4cd2a9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_019e46bf-3245-70be-956c-bb7ecf5edb7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationMinorityInterestIncomeExpense_019e46bf-3245-7aad-bf27-d15fdffa08fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationMinorityInterestIncomeExpense"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019e46bf-3245-7b17-b4a0-63090e4cd2a9" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationMinorityInterestIncomeExpense_019e46bf-3245-7aad-bf27-d15fdffa08fb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.reitmr.com/role/PerCommonShareAmountsScheduleofEarningsPerShareDetails" xlink:type="simple" xlink:href="rmr-20260630.xsd#PerCommonShareAmountsScheduleofEarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.reitmr.com/role/PerCommonShareAmountsScheduleofEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e46bf-3245-7d6e-8dc0-0de25e52cb9f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e46bf-3245-751e-bc29-5207e53e4fbc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e46bf-3245-7d6e-8dc0-0de25e52cb9f" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e46bf-3245-751e-bc29-5207e53e4fbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_IncrementalCommonSharesAttributableToDilutiveEffectOfContingentlyIssuableSharesIncomeLossAttributableToUnvestedParticipatingSecurities_019e46bf-3245-79b7-95c3-f7f97dc56e53" xlink:href="rmr-20260630.xsd#rmr_IncrementalCommonSharesAttributableToDilutiveEffectOfContingentlyIssuableSharesIncomeLossAttributableToUnvestedParticipatingSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e46bf-3245-7d6e-8dc0-0de25e52cb9f" xlink:to="loc_rmr_IncrementalCommonSharesAttributableToDilutiveEffectOfContingentlyIssuableSharesIncomeLossAttributableToUnvestedParticipatingSecurities_019e46bf-3245-79b7-95c3-f7f97dc56e53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_IncrementalCommonSharesAttributableToDilutiveEffectOfContingentlyIssuableSharesIncomeLossAttributableToNoncontrollingInterest_019e46bf-3245-7804-99c8-5a0bb42456fa" xlink:href="rmr-20260630.xsd#rmr_IncrementalCommonSharesAttributableToDilutiveEffectOfContingentlyIssuableSharesIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e46bf-3245-7d6e-8dc0-0de25e52cb9f" xlink:to="loc_rmr_IncrementalCommonSharesAttributableToDilutiveEffectOfContingentlyIssuableSharesIncomeLossAttributableToNoncontrollingInterest_019e46bf-3245-7804-99c8-5a0bb42456fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_IncrementalCommonSharesAttributableToDilutiveEffectOfContingentlyIssuableSharesIncomeTaxExpenseBenefit_019e46bf-3245-798a-b8e3-f48e5a1b23a6" xlink:href="rmr-20260630.xsd#rmr_IncrementalCommonSharesAttributableToDilutiveEffectOfContingentlyIssuableSharesIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e46bf-3245-7d6e-8dc0-0de25e52cb9f" xlink:to="loc_rmr_IncrementalCommonSharesAttributableToDilutiveEffectOfContingentlyIssuableSharesIncomeTaxExpenseBenefit_019e46bf-3245-798a-b8e3-f48e5a1b23a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_IncomeTaxExpenseBenefitRedemptionOfNoncontrollingInterest_019e46bf-3245-732e-a249-74732e6fb6fb" xlink:href="rmr-20260630.xsd#rmr_IncomeTaxExpenseBenefitRedemptionOfNoncontrollingInterest"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e46bf-3245-7d6e-8dc0-0de25e52cb9f" xlink:to="loc_rmr_IncomeTaxExpenseBenefitRedemptionOfNoncontrollingInterest_019e46bf-3245-732e-a249-74732e6fb6fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e46bf-3245-7980-8032-2dc2b53a81b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e46bf-3245-76e8-bb80-4a07d5be0607" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e46bf-3245-7980-8032-2dc2b53a81b5" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e46bf-3245-76e8-bb80-4a07d5be0607" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToEquityUnitPurchaseAgreements_019e46bf-3245-7cdb-9eba-c676b0260018" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToEquityUnitPurchaseAgreements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e46bf-3245-7980-8032-2dc2b53a81b5" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToEquityUnitPurchaseAgreements_019e46bf-3245-7cdb-9eba-c676b0260018" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e46bf-3245-7bfc-9678-c80683ecbf29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e46bf-3245-7980-8032-2dc2b53a81b5" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e46bf-3245-7bfc-9678-c80683ecbf29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e46bf-3245-7c4b-9eb0-78fd8937a762" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_019e46bf-3245-747c-a9c5-743dba420d7f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e46bf-3245-7c4b-9eb0-78fd8937a762" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_019e46bf-3245-747c-a9c5-743dba420d7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_WeightedAverageNumberOfSharesOutstandingBasicUnvestedParticipatingSecurities_019e46bf-3245-70c3-a0f1-6b37ef888f34" xlink:href="rmr-20260630.xsd#rmr_WeightedAverageNumberOfSharesOutstandingBasicUnvestedParticipatingSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e46bf-3245-7c4b-9eb0-78fd8937a762" xlink:to="loc_rmr_WeightedAverageNumberOfSharesOutstandingBasicUnvestedParticipatingSecurities_019e46bf-3245-70c3-a0f1-6b37ef888f34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e46bf-3245-7bfe-b949-5ca2477118c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e46bf-3245-795f-b6a3-1ec9015fc98d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e46bf-3245-7bfe-b949-5ca2477118c8" xlink:to="loc_us-gaap_NetIncomeLoss_019e46bf-3245-795f-b6a3-1ec9015fc98d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e46bf-3245-7bff-b24e-7a55a979abfa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e46bf-3245-7bfe-b949-5ca2477118c8" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019e46bf-3245-7bff-b24e-7a55a979abfa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.reitmr.com/role/NetIncomeAttributabletoRMRIncDetails" xlink:type="simple" xlink:href="rmr-20260630.xsd#NetIncomeAttributabletoRMRIncDetails"/>
  <link:calculationLink xlink:role="http://www.reitmr.com/role/NetIncomeAttributabletoRMRIncDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e46bf-3245-7d44-9adf-a40502ad9091" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_IncomeLossFromContinuingOperationsBeforeIncomeTaxes_019e46bf-3245-77ed-8e93-dcaad6e556a4" xlink:href="rmr-20260630.xsd#rmr_IncomeLossFromContinuingOperationsBeforeIncomeTaxes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e46bf-3245-7d44-9adf-a40502ad9091" xlink:to="loc_rmr_IncomeLossFromContinuingOperationsBeforeIncomeTaxes_019e46bf-3245-77ed-8e93-dcaad6e556a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rmr_FranchiseTaxExpenseAndInterestIncome_019e46bf-3245-764f-8d2c-dde02af92cc0" xlink:href="rmr-20260630.xsd#rmr_FranchiseTaxExpenseAndInterestIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e46bf-3245-7d44-9adf-a40502ad9091" xlink:to="loc_rmr_FranchiseTaxExpenseAndInterestIncome_019e46bf-3245-764f-8d2c-dde02af92cc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e46bf-3245-7746-bc61-08ea666058e2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e46bf-3245-7d44-9adf-a40502ad9091" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e46bf-3245-7746-bc61-08ea666058e2" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
