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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:01a0695c-d94e-7526-be24-f365ff75630c,g:2a0b969b-0fec-42ea-bd5b-ed106b4c0670-->
<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.royalbusinessbankusa.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="rbb-20260930.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_01a0695c-dce9-7503-ba3f-087f234fff1e" 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_01a0695c-dce9-7838-a740-28ddc46f776b" 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_01a0695c-dce9-7503-ba3f-087f234fff1e" xlink:to="loc_us-gaap_Liabilities_01a0695c-dce9-7838-a740-28ddc46f776b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dce9-764f-9c33-74faac224a44" 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_01a0695c-dce9-7503-ba3f-087f234fff1e" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dce9-764f-9c33-74faac224a44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dce9-7ddb-b44b-44e08719b426" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_01a0695c-dce9-7184-968e-a5122ed2df4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dce9-7ddb-b44b-44e08719b426" xlink:to="loc_us-gaap_PreferredStockValue_01a0695c-dce9-7184-968e-a5122ed2df4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_01a0695c-dce9-7a9b-ba15-c48a24cd4a72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dce9-7ddb-b44b-44e08719b426" xlink:to="loc_us-gaap_AdditionalPaidInCapital_01a0695c-dce9-7a9b-ba15-c48a24cd4a72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_01a0695c-dce9-7520-90f4-961f696d73f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dce9-7ddb-b44b-44e08719b426" xlink:to="loc_us-gaap_CommonStockValue_01a0695c-dce9-7520-90f4-961f696d73f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_01a0695c-dce9-7b1c-bf57-176008b76cf8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dce9-7ddb-b44b-44e08719b426" xlink:to="loc_us-gaap_MinorityInterest_01a0695c-dce9-7b1c-bf57-176008b76cf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_01a0695c-dce9-7290-8779-106fe7f1916d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dce9-7ddb-b44b-44e08719b426" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_01a0695c-dce9-7290-8779-106fe7f1916d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_01a0695c-dce9-7810-9cb1-cda5b28784cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dce9-7ddb-b44b-44e08719b426" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_01a0695c-dce9-7810-9cb1-cda5b28784cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_01a0695c-dd8a-7593-905a-936f9a90cfb3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_01a0695c-dd8a-79e3-bae2-afed56afd9b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndDueFromBanks"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_01a0695c-dd8a-7593-905a-936f9a90cfb3" xlink:to="loc_us-gaap_CashAndDueFromBanks_01a0695c-dd8a-79e3-bae2-afed56afd9b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_01a0695c-dd8a-7a87-8d77-695b95996bd5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDepositsInBanks"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_01a0695c-dd8a-7593-905a-936f9a90cfb3" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_01a0695c-dd8a-7a87-8d77-695b95996bd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_01a0695c-dd8a-73a3-8bbb-fdd14b73717e" 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_AdvancesFromFederalHomeLoanBanks_01a0695c-dd8a-756c-a923-bc24c9c6d800" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a0695c-dd8a-73a3-8bbb-fdd14b73717e" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_01a0695c-dd8a-756c-a923-bc24c9c6d800" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_01a0695c-dd8a-7a8c-85a6-a8651ce01c6e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a0695c-dd8a-73a3-8bbb-fdd14b73717e" xlink:to="loc_us-gaap_Deposits_01a0695c-dd8a-7a8c-85a6-a8651ce01c6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_SubordinatedDebentures_01a0695c-dd8a-7ac6-a2e3-74b61770949a" xlink:href="rbb-20260930.xsd#rbb_SubordinatedDebentures"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a0695c-dd8a-73a3-8bbb-fdd14b73717e" xlink:to="loc_rbb_SubordinatedDebentures_01a0695c-dd8a-7ac6-a2e3-74b61770949a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_01a0695c-dd8a-7ef6-a2c3-c4382dc8239a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a0695c-dd8a-73a3-8bbb-fdd14b73717e" xlink:to="loc_us-gaap_LongTermDebt_01a0695c-dd8a-7ef6-a2c3-c4382dc8239a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_AccruedInterestAndOtherLiabilities_01a0695c-dd8a-7e8f-8962-3fff53dc85c9" xlink:href="rbb-20260930.xsd#rbb_AccruedInterestAndOtherLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a0695c-dd8a-73a3-8bbb-fdd14b73717e" xlink:to="loc_rbb_AccruedInterestAndOtherLiabilities_01a0695c-dd8a-7e8f-8962-3fff53dc85c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_01a0695c-dd8a-7abb-8b72-522392446521" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_01a0695c-dd8a-73a3-8bbb-fdd14b73717e" xlink:to="loc_us-gaap_OperatingLeaseLiability_01a0695c-dd8a-7abb-8b72-522392446521" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_01a0695c-dd8a-7322-91d6-c233ce1ee00f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit_01a0695c-dd8a-7a39-af93-aaf34f612999" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_01a0695c-dd8a-7322-91d6-c233ce1ee00f" xlink:to="loc_us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit_01a0695c-dd8a-7a39-af93-aaf34f612999" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_TimeDeposits250000AndUnder_01a0695c-dd8a-714e-8dd9-0c2a5a5134c5" xlink:href="rbb-20260930.xsd#rbb_TimeDeposits250000AndUnder"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_01a0695c-dd8a-7322-91d6-c233ce1ee00f" xlink:to="loc_rbb_TimeDeposits250000AndUnder_01a0695c-dd8a-714e-8dd9-0c2a5a5134c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsMoneyMarketDepositsAndNegotiableOrderOfWithdrawalNOW_01a0695c-dd8a-7782-b041-8382944d9ead" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositsMoneyMarketDepositsAndNegotiableOrderOfWithdrawalNOW"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_01a0695c-dd8a-7322-91d6-c233ce1ee00f" xlink:to="loc_us-gaap_DepositsMoneyMarketDepositsAndNegotiableOrderOfWithdrawalNOW_01a0695c-dd8a-7782-b041-8382944d9ead" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_01a0695c-dd8a-79f7-a33e-405059bc7c72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestBearingDepositLiabilities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_01a0695c-dd8a-7322-91d6-c233ce1ee00f" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_01a0695c-dd8a-79f7-a33e-405059bc7c72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a0695c-dce9-7340-96e1-4acfceaf5e5b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_01a0695c-dce9-784f-a742-4b3f0eef3ef3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a0695c-dce9-7340-96e1-4acfceaf5e5b" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_01a0695c-dce9-784f-a742-4b3f0eef3ef3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess_01a0695c-dce9-7f42-8b38-3abe37e6b95d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a0695c-dce9-7340-96e1-4acfceaf5e5b" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess_01a0695c-dce9-7f42-8b38-3abe37e6b95d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" 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_CashSurrenderValueOfLifeInsurance_01a0695c-dce9-79af-8f5a-9d7eed159aae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashSurrenderValueOfLifeInsurance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_CashSurrenderValueOfLifeInsurance_01a0695c-dce9-79af-8f5a-9d7eed159aae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReceivable_01a0695c-dce9-7168-a313-5a538db8edac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReceivable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_IncomeTaxReceivable_01a0695c-dce9-7168-a313-5a538db8edac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_01a0695c-dce9-74f7-b1f9-a30a17a2f343" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_01a0695c-dce9-74f7-b1f9-a30a17a2f343" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_01a0695c-dce9-740f-b386-6ff9f5d07df0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_Goodwill_01a0695c-dce9-740f-b386-6ff9f5d07df0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_01a0695c-dce9-7a49-9cc3-eace7e6894af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_01a0695c-dce9-7a49-9cc3-eace7e6894af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_01a0695c-dd8a-775c-b5a8-2cf1705abff9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestReceivableAndOtherAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_01a0695c-dd8a-775c-b5a8-2cf1705abff9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a0695c-dd8a-77ff-a4d2-9b03a51e405d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a0695c-dd8a-77ff-a4d2-9b03a51e405d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_InterestearningTimeDepositsInOtherFinancialInstitutions_01a0695c-dd8a-7fb1-bc53-b63c6ae2b711" xlink:href="rbb-20260930.xsd#rbb_InterestearningTimeDepositsInOtherFinancialInstitutions"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_rbb_InterestearningTimeDepositsInOtherFinancialInstitutions_01a0695c-dd8a-7fb1-bc53-b63c6ae2b711" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_01a0695c-dd8a-73de-9b4f-4402a1904f1d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_01a0695c-dd8a-73de-9b4f-4402a1904f1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0695c-dd8a-73d0-9933-b2c2450baded" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0695c-dd8a-73d0-9933-b2c2450baded" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_01a0695c-dd8a-7f66-a451-c68eb15f7599" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_01a0695c-dd8a-7f66-a451-c68eb15f7599" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a0695c-dd8a-73fd-b90d-5ded2aabef80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a0695c-dd8a-73fd-b90d-5ded2aabef80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_01a0695c-dd8a-7b81-9829-a3365f3cb586" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_01a0695c-dd8a-7b81-9829-a3365f3cb586" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_01a0695c-dd8a-7349-81fc-d1b248d17cec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalHomeLoanBankStock"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a0695c-dce9-7706-a087-c12b8f9aaf99" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_01a0695c-dd8a-7349-81fc-d1b248d17cec" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUNAUDITED" xlink:type="simple" xlink:href="rbb-20260930.xsd#CONSOLIDATEDSTATEMENTSOFINCOMEUNAUDITED"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_01a0695c-dd8a-7c97-91f1-829af44c2438" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_01a0695c-dd8a-7ef4-8ecd-66c518d794d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_01a0695c-dd8a-7c97-91f1-829af44c2438" xlink:to="loc_us-gaap_InterestExpenseOperating_01a0695c-dd8a-7ef4-8ecd-66c518d794d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_01a0695c-dd8a-7721-9bcb-9f0981ebf3a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_01a0695c-dd8a-7c97-91f1-829af44c2438" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_01a0695c-dd8a-7721-9bcb-9f0981ebf3a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_01a0695c-dd8a-72c1-8961-ae7d1155fcef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_01a0695c-dd8a-7d5c-b8af-3967672d5b99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_01a0695c-dd8a-72c1-8961-ae7d1155fcef" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_01a0695c-dd8a-7d5c-b8af-3967672d5b99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_01a0695c-dd8a-70e8-a560-b679546ea9f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_01a0695c-dd8a-72c1-8961-ae7d1155fcef" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_01a0695c-dd8a-70e8-a560-b679546ea9f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a0695c-dd8a-70fa-8295-7f6772569199" 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_NoninterestIncome_01a0695c-dd8a-7701-9595-bb6d97e06e07" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a0695c-dd8a-70fa-8295-7f6772569199" xlink:to="loc_us-gaap_NoninterestIncome_01a0695c-dd8a-7701-9595-bb6d97e06e07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_01a0695c-dd8a-734a-9cad-9daa71939d1f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a0695c-dd8a-70fa-8295-7f6772569199" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_01a0695c-dd8a-734a-9cad-9daa71939d1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-7679-b464-f08750c1f315" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a0695c-dd8a-70fa-8295-7f6772569199" xlink:to="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-7679-b464-f08750c1f315" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-77c7-9cf9-df34d503adf2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_01a0695c-dd8a-7c43-89f9-2d3b570137e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OccupancyNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-77c7-9cf9-df34d503adf2" xlink:to="loc_us-gaap_OccupancyNet_01a0695c-dd8a-7c43-89f9-2d3b570137e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SuppliesAndPostageExpense_01a0695c-dd8a-7a70-8b96-b235a5364fc8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SuppliesAndPostageExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-77c7-9cf9-df34d503adf2" xlink:to="loc_us-gaap_SuppliesAndPostageExpense_01a0695c-dd8a-7a70-8b96-b235a5364fc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_01a0695c-dd8a-713d-a745-fd0d3bb00dff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InformationTechnologyAndDataProcessing"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-77c7-9cf9-df34d503adf2" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_01a0695c-dd8a-713d-a745-fd0d3bb00dff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketingAndAdvertisingExpense_01a0695c-dd8a-7a93-8af5-259ebd1f9956" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MarketingAndAdvertisingExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-77c7-9cf9-df34d503adf2" xlink:to="loc_us-gaap_MarketingAndAdvertisingExpense_01a0695c-dd8a-7a93-8af5-259ebd1f9956" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_01a0695c-dd8a-76ec-bc02-e04af47b7d40" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-77c7-9cf9-df34d503adf2" xlink:to="loc_us-gaap_OtherNoninterestExpense_01a0695c-dd8a-76ec-bc02-e04af47b7d40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_LegalAndProfessionalFeesAndFeesReversal_01a0695c-dd8a-73d3-bac0-1edaad68b39b" xlink:href="rbb-20260930.xsd#rbb_LegalAndProfessionalFeesAndFeesReversal"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-77c7-9cf9-df34d503adf2" xlink:to="loc_rbb_LegalAndProfessionalFeesAndFeesReversal_01a0695c-dd8a-73d3-bac0-1edaad68b39b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_InsuranceAndRegulatoryAssessments_01a0695c-dd8a-7993-9045-b003d70ef1bc" xlink:href="rbb-20260930.xsd#rbb_InsuranceAndRegulatoryAssessments"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-77c7-9cf9-df34d503adf2" xlink:to="loc_rbb_InsuranceAndRegulatoryAssessments_01a0695c-dd8a-7993-9045-b003d70ef1bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_AmortizationOfIntangibleAssetsCoreDeposit_01a0695c-dd8a-7d49-b556-76b6e3153691" xlink:href="rbb-20260930.xsd#rbb_AmortizationOfIntangibleAssetsCoreDeposit"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-77c7-9cf9-df34d503adf2" xlink:to="loc_rbb_AmortizationOfIntangibleAssetsCoreDeposit_01a0695c-dd8a-7d49-b556-76b6e3153691" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_01a0695c-dd8a-7cca-8775-12ed2460817c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_01a0695c-dd8a-77c7-9cf9-df34d503adf2" xlink:to="loc_us-gaap_LaborAndRelatedExpense_01a0695c-dd8a-7cca-8775-12ed2460817c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_01a0695c-dd8a-7384-8149-7bad3df70003" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_01a0695c-dd8a-7f2b-a18d-6bbc806e9413" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a0695c-dd8a-7384-8149-7bad3df70003" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_01a0695c-dd8a-7f2b-a18d-6bbc806e9413" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_01a0695c-dd8a-7621-b112-3d0bbd81771c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a0695c-dd8a-7384-8149-7bad3df70003" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_01a0695c-dd8a-7621-b112-3d0bbd81771c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_ServiceChargesFeesAndOtherIncome_01a0695c-dd8a-74c5-8f4a-685f0f962348" xlink:href="rbb-20260930.xsd#rbb_ServiceChargesFeesAndOtherIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a0695c-dd8a-7384-8149-7bad3df70003" xlink:to="loc_rbb_ServiceChargesFeesAndOtherIncome_01a0695c-dd8a-74c5-8f4a-685f0f962348" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_01a0695c-dd8a-7a42-9ed3-f2f7d1009b97" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a0695c-dd8a-7384-8149-7bad3df70003" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_01a0695c-dd8a-7a42-9ed3-f2f7d1009b97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_LoanServicingFeesNetOfAmortization_01a0695c-dd8a-7f29-bee6-b8ab518c69ab" xlink:href="rbb-20260930.xsd#rbb_LoanServicingFeesNetOfAmortization"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a0695c-dd8a-7384-8149-7bad3df70003" xlink:to="loc_rbb_LoanServicingFeesNetOfAmortization_01a0695c-dd8a-7f29-bee6-b8ab518c69ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_GainsLossesOnSalesAndTransferOfOtherRealEstate_01a0695c-dd8a-7723-b42b-7cda77a394c6" xlink:href="rbb-20260930.xsd#rbb_GainsLossesOnSalesAndTransferOfOtherRealEstate"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a0695c-dd8a-7384-8149-7bad3df70003" xlink:to="loc_rbb_GainsLossesOnSalesAndTransferOfOtherRealEstate_01a0695c-dd8a-7723-b42b-7cda77a394c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_01a0695c-dd8a-7b31-aa89-5bc219401afd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_01a0695c-dd8a-7d50-8cbe-fc4fdbf29572" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_01a0695c-dd8a-7b31-aa89-5bc219401afd" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_01a0695c-dd8a-7d50-8cbe-fc4fdbf29572" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_DividendIncomeOnFederalHomeLoanBankStock_01a0695c-dd8a-7411-852f-607916de9e99" xlink:href="rbb-20260930.xsd#rbb_DividendIncomeOnFederalHomeLoanBankStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_01a0695c-dd8a-7b31-aa89-5bc219401afd" xlink:to="loc_rbb_DividendIncomeOnFederalHomeLoanBankStock_01a0695c-dd8a-7411-852f-607916de9e99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_01a0695c-dd8a-7f12-bf9c-1f2a2cef1112" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeFederalFundsSold"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_01a0695c-dd8a-7b31-aa89-5bc219401afd" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_01a0695c-dd8a-7f12-bf9c-1f2a2cef1112" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_01a0695c-dd8a-732b-a7a7-5bfe0acbbb0c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeDepositsWithFinancialInstitutions"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_01a0695c-dd8a-7b31-aa89-5bc219401afd" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_01a0695c-dd8a-732b-a7a7-5bfe0acbbb0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecurities_01a0695c-dd8a-7d41-9b37-e15f8c7b8a5a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeSecurities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_01a0695c-dd8a-7b31-aa89-5bc219401afd" xlink:to="loc_us-gaap_InterestAndDividendIncomeSecurities_01a0695c-dd8a-7d41-9b37-e15f8c7b8a5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_01a0695c-dd8a-76e2-9c19-0362cd4183ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNOWAccountsMoneyMarketAccountsAndSavingsDeposits_01a0695c-dd8a-7993-ba4b-f913541749de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseNOWAccountsMoneyMarketAccountsAndSavingsDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_01a0695c-dd8a-76e2-9c19-0362cd4183ae" xlink:to="loc_us-gaap_InterestExpenseNOWAccountsMoneyMarketAccountsAndSavingsDeposits_01a0695c-dd8a-7993-ba4b-f913541749de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_InterestOnOtherBorrowedFunds_01a0695c-dd8a-7dce-a5a4-1860dc173d80" xlink:href="rbb-20260930.xsd#rbb_InterestOnOtherBorrowedFunds"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_01a0695c-dd8a-76e2-9c19-0362cd4183ae" xlink:to="loc_rbb_InterestOnOtherBorrowedFunds_01a0695c-dd8a-7dce-a5a4-1860dc173d80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseTimeDeposits_01a0695c-dd8a-7a8d-b21b-9af42d5ff82a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseTimeDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_01a0695c-dd8a-76e2-9c19-0362cd4183ae" xlink:to="loc_us-gaap_InterestExpenseTimeDeposits_01a0695c-dd8a-7a8d-b21b-9af42d5ff82a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseLongTermDebtAndCapitalSecurities_01a0695c-dd8a-799d-b8b7-21eacd198ab5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseLongTermDebtAndCapitalSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_01a0695c-dd8a-76e2-9c19-0362cd4183ae" xlink:to="loc_us-gaap_InterestExpenseLongTermDebtAndCapitalSecurities_01a0695c-dd8a-799d-b8b7-21eacd198ab5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_01a0695c-dd8a-746a-8644-ac91dde1d073" 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_IncomeTaxExpenseBenefit_01a0695c-dd8a-7cfb-a140-e37d58df1ba4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_01a0695c-dd8a-746a-8644-ac91dde1d073" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_01a0695c-dd8a-7cfb-a140-e37d58df1ba4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a0695c-dd8a-7bae-8ab5-3f3c7791deca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_01a0695c-dd8a-746a-8644-ac91dde1d073" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01a0695c-dd8a-7bae-8ab5-3f3c7791deca" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED" xlink:type="simple" xlink:href="rbb-20260930.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_01a0695c-dd8a-7983-a397-d20823a969c7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_01a0695c-dd8a-721c-9ed5-23f35871ba92" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_01a0695c-dd8a-7983-a397-d20823a969c7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax_01a0695c-dd8a-721c-9ed5-23f35871ba92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_01a0695c-dd8a-79a9-85cc-f61c2ba80d99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_01a0695c-dd8a-7983-a397-d20823a969c7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_01a0695c-dd8a-79a9-85cc-f61c2ba80d99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dd8a-74c7-a318-99601604b9fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_01a0695c-dd8a-79e5-92cb-c5496b5332ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dd8a-74c7-a318-99601604b9fc" xlink:to="loc_us-gaap_ProfitLoss_01a0695c-dd8a-79e5-92cb-c5496b5332ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_01a0695c-dd8a-7907-896b-7388490590f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_01a0695c-dd8a-74c7-a318-99601604b9fc" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_01a0695c-dd8a-7907-896b-7388490590f9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED" xlink:type="simple" xlink:href="rbb-20260930.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7adf-aac5-346eeb5b466b" 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_rbb_IncreaseDecreaseInDemandDepositsAndSavingsAccounts_01a0695c-dd8a-7a9a-a4d1-4612c1014d03" xlink:href="rbb-20260930.xsd#rbb_IncreaseDecreaseInDemandDepositsAndSavingsAccounts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7adf-aac5-346eeb5b466b" xlink:to="loc_rbb_IncreaseDecreaseInDemandDepositsAndSavingsAccounts_01a0695c-dd8a-7a9a-a4d1-4612c1014d03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInTimeDeposits_01a0695c-dd8a-7cfa-95c0-9b5287eb1be5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInTimeDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7adf-aac5-346eeb5b466b" xlink:to="loc_us-gaap_IncreaseDecreaseInTimeDeposits_01a0695c-dd8a-7cfa-95c0-9b5287eb1be5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_IncreaseInShorttermAdvancesFromFederalHomeLoanBank_01a0695c-dd8a-77c3-9adc-ab6a3737fd3e" xlink:href="rbb-20260930.xsd#rbb_IncreaseInShorttermAdvancesFromFederalHomeLoanBank"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7adf-aac5-346eeb5b466b" xlink:to="loc_rbb_IncreaseInShorttermAdvancesFromFederalHomeLoanBank_01a0695c-dd8a-77c3-9adc-ab6a3737fd3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_01a0695c-dd8a-7028-bb8e-1dc0fc46e8d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7adf-aac5-346eeb5b466b" xlink:to="loc_us-gaap_RepaymentsOfFederalHomeLoanBankBorrowings_01a0695c-dd8a-7028-bb8e-1dc0fc46e8d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_01a0695c-dd8a-7283-910a-8f2b7bf4682e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfOtherLongTermDebt"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7adf-aac5-346eeb5b466b" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_01a0695c-dd8a-7283-910a-8f2b7bf4682e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_01a0695c-dd8a-7971-bd1a-80b2faee98c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7adf-aac5-346eeb5b466b" xlink:to="loc_us-gaap_PaymentsOfDividends_01a0695c-dd8a-7971-bd1a-80b2faee98c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_01a0695c-dd8a-789d-a6da-e34b15d9de62" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7adf-aac5-346eeb5b466b" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_01a0695c-dd8a-789d-a6da-e34b15d9de62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_01a0695c-dd8a-7a9c-b9f5-6b771e88f4a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7adf-aac5-346eeb5b466b" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_01a0695c-dd8a-7a9c-b9f5-6b771e88f4a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_01a19bdf-7636-71eb-9b52-6198daece85a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7adf-aac5-346eeb5b466b" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_01a19bdf-7636-71eb-9b52-6198daece85a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" 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_rbb_IncreaseDecreaseInCashSurrenderValueOfLifeInsurance_01a0695c-dd8a-7acd-8b06-2d3ff2d62e4d" xlink:href="rbb-20260930.xsd#rbb_IncreaseDecreaseInCashSurrenderValueOfLifeInsurance"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_rbb_IncreaseDecreaseInCashSurrenderValueOfLifeInsurance_01a0695c-dd8a-7acd-8b06-2d3ff2d62e4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_01a0695c-dd8a-7ad6-acc4-f6df9b0d5ebf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_01a0695c-dd8a-7ad6-acc4-f6df9b0d5ebf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_01a0695c-dd8a-762f-9d6f-5e593aab2c12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_01a0695c-dd8a-762f-9d6f-5e593aab2c12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_01a0695c-dd8a-7cea-9761-ef85c0d4cc6c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_01a0695c-dd8a-7cea-9761-ef85c0d4cc6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_DepreciationAndAmortizationOfPremisesAndEquipment_01a0695c-dd8a-74ed-88e9-6f8c30f56d07" xlink:href="rbb-20260930.xsd#rbb_DepreciationAndAmortizationOfPremisesAndEquipment"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_rbb_DepreciationAndAmortizationOfPremisesAndEquipment_01a0695c-dd8a-74ed-88e9-6f8c30f56d07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_01a0695c-dd8a-745b-b851-2b29891a2770" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_ProfitLoss_01a0695c-dd8a-745b-b851-2b29891a2770" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_01a0695c-dd8a-7632-a671-2140a1e59c19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_01a0695c-dd8a-7632-a671-2140a1e59c19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization_01a0695c-dd8a-7d6a-a665-c14e5f6eb601" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization_01a0695c-dd8a-7d6a-a665-c14e5f6eb601" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_NetAccretionOfSecuritiesLoansDepositsAndOther_01a0695c-dd8a-77e5-b282-fd901616c9c0" xlink:href="rbb-20260930.xsd#rbb_NetAccretionOfSecuritiesLoansDepositsAndOther"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_rbb_NetAccretionOfSecuritiesLoansDepositsAndOther_01a0695c-dd8a-77e5-b282-fd901616c9c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_01a0695c-dd8a-7b90-a96e-53a00cdc8b7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_01a0695c-dd8a-7b90-a96e-53a00cdc8b7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_01a0695c-dd8a-74da-a687-650cdd43111a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_01a0695c-dd8a-74da-a687-650cdd43111a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_01a0695c-dd8a-796a-b39f-2ffaf1b428cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_01a0695c-dd8a-796a-b39f-2ffaf1b428cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_01a0695c-dd8a-75d2-9234-47702d5f2aa4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_01a0695c-dd8a-75d2-9234-47702d5f2aa4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_01a0695c-dd8a-7346-ad48-9a95aef73c2d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_01a0695c-dd8a-7346-ad48-9a95aef73c2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_01a0695c-dd8a-7a23-a052-f331943bd6cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_ShareBasedCompensation_01a0695c-dd8a-7a23-a052-f331943bd6cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_01a0695c-dd8a-75a0-9b26-200c69aab8de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_01a0695c-dd8a-75a0-9b26-200c69aab8de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_01a0695c-dd8a-7be8-a631-a832c43a232e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7014-9db4-7cb15f1c4a2c" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_01a0695c-dd8a-7be8-a631-a832c43a232e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-7ce0-a1fa-040914222c79" 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_PaymentsToAcquireAvailableForSaleSecuritiesDebt_01a0695c-dd8a-7d32-b1ea-7ad771500976" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-7ce0-a1fa-040914222c79" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_01a0695c-dd8a-7d32-b1ea-7ad771500976" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_01a0695c-dd8a-7594-8c6d-95ca4cf33a9a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-7ce0-a1fa-040914222c79" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_01a0695c-dd8a-7594-8c6d-95ca4cf33a9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_01a0695c-dd8a-7a60-9076-03b424b4fe93" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-7ce0-a1fa-040914222c79" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities_01a0695c-dd8a-7a60-9076-03b424b4fe93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_PaymentsToAcquireProceedsFromOtherInvestments_01a0695c-dd8a-75f4-8430-c362399b2553" xlink:href="rbb-20260930.xsd#rbb_PaymentsToAcquireProceedsFromOtherInvestments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-7ce0-a1fa-040914222c79" xlink:to="loc_rbb_PaymentsToAcquireProceedsFromOtherInvestments_01a0695c-dd8a-75f4-8430-c362399b2553" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_PurchaseOfInvestmentInQualifiedAffordableHousingProjects_01a0695c-dd8a-7a41-92b6-edd2dcc17eae" xlink:href="rbb-20260930.xsd#rbb_PurchaseOfInvestmentInQualifiedAffordableHousingProjects"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-7ce0-a1fa-040914222c79" xlink:to="loc_rbb_PurchaseOfInvestmentInQualifiedAffordableHousingProjects_01a0695c-dd8a-7a41-92b6-edd2dcc17eae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_PaymentsForProceedsFromLoansAndLeasesExcludingLoansHeldForInvestment_01a0695c-dd8a-7c37-8ae9-cc340be364cc" xlink:href="rbb-20260930.xsd#rbb_PaymentsForProceedsFromLoansAndLeasesExcludingLoansHeldForInvestment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-7ce0-a1fa-040914222c79" xlink:to="loc_rbb_PaymentsForProceedsFromLoansAndLeasesExcludingLoansHeldForInvestment_01a0695c-dd8a-7c37-8ae9-cc340be364cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_ProceedsFromSaleOfLoansOriginallyHeldForInvestment_01a0695c-dd8a-755e-b93e-c2c11ba5a184" xlink:href="rbb-20260930.xsd#rbb_ProceedsFromSaleOfLoansOriginallyHeldForInvestment"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-7ce0-a1fa-040914222c79" xlink:to="loc_rbb_ProceedsFromSaleOfLoansOriginallyHeldForInvestment_01a0695c-dd8a-755e-b93e-c2c11ba5a184" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_01a0695c-dd8a-7e8d-9b67-e99d1748652a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-7ce0-a1fa-040914222c79" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_01a0695c-dd8a-7e8d-9b67-e99d1748652a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_01a0695c-dd8a-7c76-b1d6-825e93492921" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-7ce0-a1fa-040914222c79" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_01a0695c-dd8a-7c76-b1d6-825e93492921" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_01a19bdf-bfae-782d-bf4e-dfea39612132" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-7ce0-a1fa-040914222c79" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_01a19bdf-bfae-782d-bf4e-dfea39612132" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_01a0695c-dd8a-7fc1-8e8f-e3e2cdc12aee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7c31-a4dc-e9b18184b928" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_01a0695c-dd8a-7fc1-8e8f-e3e2cdc12aee" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a0695c-dd8a-7c31-a4dc-e9b18184b928" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7679-8341-6a86ce4bf74c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_01a0695c-dd8a-7fc1-8e8f-e3e2cdc12aee" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a0695c-dd8a-7679-8341-6a86ce4bf74c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-74e1-9da9-2d66368160b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_01a0695c-dd8a-7fc1-8e8f-e3e2cdc12aee" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_01a0695c-dd8a-74e1-9da9-2d66368160b6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/INVESTMENTSECURITIESScheduleofAmortizedCostandFairValueofInvestmentSecuritiesPortfolioDetails" xlink:type="simple" xlink:href="rbb-20260930.xsd#INVESTMENTSECURITIESScheduleofAmortizedCostandFairValueofInvestmentSecuritiesPortfolioDetails"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/INVESTMENTSECURITIESScheduleofAmortizedCostandFairValueofInvestmentSecuritiesPortfolioDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_01a0b2a6-79d2-7f6a-a4cf-fbed294f395b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_01a0b2a6-79d2-7116-b4e7-def643d1579b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_01a0b2a6-79d2-7f6a-a4cf-fbed294f395b" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_01a0b2a6-79d2-7116-b4e7-def643d1579b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_01a0b2a6-79d2-75ec-a258-331695e57e20" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_01a0b2a6-79d2-7f6a-a4cf-fbed294f395b" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_01a0b2a6-79d2-75ec-a258-331695e57e20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_01a0b2a6-79d2-7070-b885-bc3a7f387456" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_01a0b2a6-79d2-7f6a-a4cf-fbed294f395b" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_01a0b2a6-79d2-7070-b885-bc3a7f387456" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_01a0b2a6-79d2-7f6c-8d69-5ace96d90a48" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesFairValue_01a0b2a6-79d2-7f6a-a4cf-fbed294f395b" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsFairValue_01a0b2a6-79d2-7f6c-8d69-5ace96d90a48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_01a0b2a6-bee1-7b1b-a861-7ee14b28b2bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingWithinOneYear_01a0b2a6-bee1-700a-8eae-27e5368eabc9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingWithinOneYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_01a0b2a6-bee1-7b1b-a861-7ee14b28b2bb" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingWithinOneYear_01a0b2a6-bee1-700a-8eae-27e5368eabc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingAfterOneThroughFiveYears_01a0b2a6-bee1-7f9d-802e-02433c1c34be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingAfterOneThroughFiveYears"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_01a0b2a6-bee1-7b1b-a861-7ee14b28b2bb" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingAfterOneThroughFiveYears_01a0b2a6-bee1-7f9d-802e-02433c1c34be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingAfter5Through10Years_01a0b2a6-bee1-7598-86bf-b7dc1950a439" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingAfter5Through10Years"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_01a0b2a6-bee1-7b1b-a861-7ee14b28b2bb" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingAfter5Through10Years_01a0b2a6-bee1-7598-86bf-b7dc1950a439" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingAfter10Years_01a0b2a6-bee1-7d25-b275-4f084df82dec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingAfter10Years"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDate_01a0b2a6-bee1-7b1b-a861-7ee14b28b2bb" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLossMaturityAllocatedAndSingleMaturityDateRollingAfter10Years_01a0b2a6-bee1-7d25-b275-4f084df82dec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a0b2a6-06b0-7f44-ba95-6fcc5d14aa18" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_01a0b2a6-06b0-75bf-9ca5-68d6589bbec5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a0b2a6-06b0-7f44-ba95-6fcc5d14aa18" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_01a0b2a6-06b0-75bf-9ca5-68d6589bbec5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_01a0b2a6-06b0-7a09-a966-95674343223b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a0b2a6-06b0-7f44-ba95-6fcc5d14aa18" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_01a0b2a6-06b0-7a09-a966-95674343223b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_01a0b2a6-06b0-7e24-b095-52fccbba91c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a0b2a6-06b0-7f44-ba95-6fcc5d14aa18" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_01a0b2a6-06b0-7e24-b095-52fccbba91c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_01a0b2a6-06b0-73ff-aaf4-c2991f1aa776" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_01a0b2a6-06b0-7f44-ba95-6fcc5d14aa18" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_01a0b2a6-06b0-73ff-aaf4-c2991f1aa776" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b2a6-4970-7900-8377-09809d856f72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_01a0b2a6-4970-73c6-b689-dd1a602b0890" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b2a6-4970-7900-8377-09809d856f72" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_01a0b2a6-4970-73c6-b689-dd1a602b0890" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_01a0b2a6-4970-7c85-ab06-ff072f2924d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b2a6-4970-7900-8377-09809d856f72" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_01a0b2a6-4970-7c85-ab06-ff072f2924d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_01a0b2a6-4970-71e1-bc40-ec76920b0c60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b2a6-4970-7900-8377-09809d856f72" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_01a0b2a6-4970-71e1-bc40-ec76920b0c60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_01a0b2a6-4970-77aa-9dee-283470c4568d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b2a6-4970-7900-8377-09809d856f72" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_01a0b2a6-4970-77aa-9dee-283470c4568d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/INVESTMENTSECURITIESScheduleofFairValueandGrossUnrealizedLossesofOurInvestmentSecuritiesDetails" xlink:type="simple" xlink:href="rbb-20260930.xsd#INVESTMENTSECURITIESScheduleofFairValueandGrossUnrealizedLossesofOurInvestmentSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/INVESTMENTSECURITIESScheduleofFairValueandGrossUnrealizedLossesofOurInvestmentSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionNumberOfPositions1_01a0b2cf-9caf-76b7-81f4-d26cbe19e0c3" xlink:href="rbb-20260930.xsd#rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionNumberOfPositions1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions1_01a0b2cf-9caf-74dc-8d93-eab98ed9c1f0" xlink:href="rbb-20260930.xsd#rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionNumberOfPositions1_01a0b2cf-9caf-76b7-81f4-d26cbe19e0c3" xlink:to="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions1_01a0b2cf-9caf-74dc-8d93-eab98ed9c1f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions1_01a0b2cf-9caf-7388-b1db-21809c44e712" xlink:href="rbb-20260930.xsd#rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionNumberOfPositions1_01a0b2cf-9caf-76b7-81f4-d26cbe19e0c3" xlink:to="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions1_01a0b2cf-9caf-7388-b1db-21809c44e712" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionFairValue1_01a0b2cf-6622-74f7-b05c-351e31c9946d" xlink:href="rbb-20260930.xsd#rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionFairValue1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPositionLessThan12MonthsFairValue1_01a0b2cf-6622-7278-aa40-025e5cad9b4a" xlink:href="rbb-20260930.xsd#rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPositionLessThan12MonthsFairValue1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionFairValue1_01a0b2cf-6622-74f7-b05c-351e31c9946d" xlink:to="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPositionLessThan12MonthsFairValue1_01a0b2cf-6622-7278-aa40-025e5cad9b4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPosition12MonthsOrLongerFairValue1_01a0b2cf-6622-7f99-b881-da1bd9fe25bf" xlink:href="rbb-20260930.xsd#rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPosition12MonthsOrLongerFairValue1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionFairValue1_01a0b2cf-6622-74f7-b05c-351e31c9946d" xlink:to="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPosition12MonthsOrLongerFairValue1_01a0b2cf-6622-7f99-b881-da1bd9fe25bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_01a0b2cf-48ab-75c0-98dc-7c92c9fc8347" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_01a0b2cf-48ab-7d73-b412-31250336069e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_01a0b2cf-48ab-75c0-98dc-7c92c9fc8347" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_01a0b2cf-48ab-7d73-b412-31250336069e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_01a0b2cf-48ab-7ce6-b5ed-04c9b5a283f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_01a0b2cf-48ab-75c0-98dc-7c92c9fc8347" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_01a0b2cf-48ab-7ce6-b5ed-04c9b5a283f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_01a0b2cf-2caa-7913-98e7-678b1e1710a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_01a0b2cf-2caa-7a53-b2a1-627d83b99770" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_01a0b2cf-2caa-7913-98e7-678b1e1710a4" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_01a0b2cf-2caa-7a53-b2a1-627d83b99770" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_01a0b2cf-2caa-7f33-86a7-4b9b1794df4d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_01a0b2cf-2caa-7913-98e7-678b1e1710a4" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_01a0b2cf-2caa-7f33-86a7-4b9b1794df4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionAccumulatedLoss1_01a0b2cf-805e-7e94-b8dd-904411e76db4" xlink:href="rbb-20260930.xsd#rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionAccumulatedLoss1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss1_01a0b2cf-805e-74bf-8edf-a3a84d2e5052" xlink:href="rbb-20260930.xsd#rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionAccumulatedLoss1_01a0b2cf-805e-7e94-b8dd-904411e76db4" xlink:to="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss1_01a0b2cf-805e-74bf-8edf-a3a84d2e5052" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss1_01a0b2cf-805e-7d77-a118-b8f29814c1e2" xlink:href="rbb-20260930.xsd#rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_rbb_DebtSecuritiesHeldtomaturityUnrealizedLossPositionAccumulatedLoss1_01a0b2cf-805e-7e94-b8dd-904411e76db4" xlink:to="loc_rbb_DebtSecuritiesHeldtomaturityContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss1_01a0b2cf-805e-7d77-a118-b8f29814c1e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_01a0b2cf-0a6b-79b0-9e17-a9243ebd290d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_01a0b2cf-0a6b-7d66-a44d-ac06fdc2ffb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_01a0b2cf-0a6b-79b0-9e17-a9243ebd290d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_01a0b2cf-0a6b-7d66-a44d-ac06fdc2ffb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_01a0b2cf-0a6b-7db3-8d68-9283c7507e48" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_01a0b2cf-0a6b-79b0-9e17-a9243ebd290d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_01a0b2cf-0a6b-7db3-8d68-9283c7507e48" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/LOANSANDALLOWANCEFORCREDITLOSSESScheduleofLoanHeldforInvestmentHFIPortfoliobyLoanSegmentandClassDetails" xlink:type="simple" xlink:href="rbb-20260930.xsd#LOANSANDALLOWANCEFORCREDITLOSSESScheduleofLoanHeldforInvestmentHFIPortfoliobyLoanSegmentandClassDetails"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/LOANSANDALLOWANCEFORCREDITLOSSESScheduleofLoanHeldforInvestmentHFIPortfoliobyLoanSegmentandClassDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a0695c-dd8a-7162-a410-f99e05c94525" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_01a0695c-dd8a-7b7a-abbd-dd1a8e1dc3e0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a0695c-dd8a-7162-a410-f99e05c94525" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_01a0695c-dd8a-7b7a-abbd-dd1a8e1dc3e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0695c-dd8a-7679-a327-9823997624c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_01a0695c-dd8a-7162-a410-f99e05c94525" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0695c-dd8a-7679-a327-9823997624c0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/LOANSANDALLOWANCEFORCREDITLOSSESScheduleofLoansHFIbyLoanPortfolioSegmentRiskRatingandVintageYearDetails" xlink:type="simple" xlink:href="rbb-20260930.xsd#LOANSANDALLOWANCEFORCREDITLOSSESScheduleofLoansHFIbyLoanPortfolioSegmentRiskRatingandVintageYearDetails"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/LOANSANDALLOWANCEFORCREDITLOSSESScheduleofLoansHFIbyLoanPortfolioSegmentRiskRatingandVintageYearDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a0b306-ea79-773b-9ccf-3952a11e96ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_01a0b306-ea79-7509-80fe-73e3322b01e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a0b306-ea79-773b-9ccf-3952a11e96ac" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_01a0b306-ea79-7509-80fe-73e3322b01e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_01a0b306-ea79-77f7-bb06-44d15daf00fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a0b306-ea79-773b-9ccf-3952a11e96ac" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_01a0b306-ea79-77f7-bb06-44d15daf00fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_01a0b306-ea79-796d-b14d-d0ac6767cabc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a0b306-ea79-773b-9ccf-3952a11e96ac" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_01a0b306-ea79-796d-b14d-d0ac6767cabc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_01a0b306-ea79-7a21-9898-358ab59bac8e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a0b306-ea79-773b-9ccf-3952a11e96ac" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_01a0b306-ea79-7a21-9898-358ab59bac8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_01a0b306-ea79-7d09-b824-d5f50b7f667b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a0b306-ea79-773b-9ccf-3952a11e96ac" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_01a0b306-ea79-7d09-b824-d5f50b7f667b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_01a0b306-ea79-70f4-b9e5-6f6985e3c9eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a0b306-ea79-773b-9ccf-3952a11e96ac" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_01a0b306-ea79-70f4-b9e5-6f6985e3c9eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_01a0b306-ea79-7e67-81a2-c8f9edd36306" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a0b306-ea79-773b-9ccf-3952a11e96ac" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_01a0b306-ea79-7e67-81a2-c8f9edd36306" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_01a0b306-ea79-7c82-9ea0-8b9099e6b6ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_01a0b306-ea79-773b-9ccf-3952a11e96ac" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_01a0b306-ea79-7c82-9ea0-8b9099e6b6ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b306-c1dc-749d-a04a-69eddd8a7349" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_01a0b306-c1dc-7916-b7e7-02e6ed0faf0d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b306-c1dc-749d-a04a-69eddd8a7349" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_01a0b306-c1dc-7916-b7e7-02e6ed0faf0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_01a0b306-c1dc-7a6c-8cfa-5516bf670ca1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b306-c1dc-749d-a04a-69eddd8a7349" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_01a0b306-c1dc-7a6c-8cfa-5516bf670ca1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_01a0b306-c1dc-7045-9301-2079e1481600" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b306-c1dc-749d-a04a-69eddd8a7349" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_01a0b306-c1dc-7045-9301-2079e1481600" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_01a0b306-c1dc-7a7b-9335-54fd13ac0de6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b306-c1dc-749d-a04a-69eddd8a7349" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_01a0b306-c1dc-7a7b-9335-54fd13ac0de6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_01a0b306-c1dc-7ede-a6dd-2756052dd5d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b306-c1dc-749d-a04a-69eddd8a7349" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_01a0b306-c1dc-7ede-a6dd-2756052dd5d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_01a0b306-c1dc-73ef-b3bb-29c82707f008" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b306-c1dc-749d-a04a-69eddd8a7349" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_01a0b306-c1dc-73ef-b3bb-29c82707f008" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_01a0b306-c1dc-7f03-be91-bad70fb6939d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolving"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b306-c1dc-749d-a04a-69eddd8a7349" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_01a0b306-c1dc-7f03-be91-bad70fb6939d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_01a0b306-c1dc-712d-b359-e84f4c145cb6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_01a0b306-c1dc-749d-a04a-69eddd8a7349" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_01a0b306-c1dc-712d-b359-e84f4c145cb6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/GOODWILLANDINTANGIBLESScheduleofEstimatedCDIAmortizationExpenseforFutureYearsDetails" xlink:type="simple" xlink:href="rbb-20260930.xsd#GOODWILLANDINTANGIBLESScheduleofEstimatedCDIAmortizationExpenseforFutureYearsDetails"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/GOODWILLANDINTANGIBLESScheduleofEstimatedCDIAmortizationExpenseforFutureYearsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_01a0695c-dd8a-7849-b562-80f8f178e11d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_01a0695c-dd8a-7de3-af16-112f3f6f12c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_01a0695c-dd8a-7849-b562-80f8f178e11d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_01a0695c-dd8a-7de3-af16-112f3f6f12c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_01a0695c-dd8a-7843-8d95-a4ca24646934" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_01a0695c-dd8a-7849-b562-80f8f178e11d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_01a0695c-dd8a-7843-8d95-a4ca24646934" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_01a0695c-dd8a-72d8-82c1-cfa47fc09056" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_01a0695c-dd8a-7849-b562-80f8f178e11d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_01a0695c-dd8a-72d8-82c1-cfa47fc09056" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFour_01a0695c-dd8a-7700-a228-babb564912e1" xlink:href="rbb-20260930.xsd#rbb_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_01a0695c-dd8a-7849-b562-80f8f178e11d" xlink:to="loc_rbb_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFour_01a0695c-dd8a-7700-a228-babb564912e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_01a0695c-dd8a-73e5-9d08-d19adf1ffb81" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_01a0695c-dd8a-7849-b562-80f8f178e11d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_01a0695c-dd8a-73e5-9d08-d19adf1ffb81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_01a0695c-dd8a-70ca-8c10-8ce30bb7e1a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_01a0695c-dd8a-7849-b562-80f8f178e11d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_01a0695c-dd8a-70ca-8c10-8ce30bb7e1a6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/ACCRUEDINTERESTANDOTHERASSETSScheduleofAccruedInterestReceivableandOtherAssetsDetails" xlink:type="simple" xlink:href="rbb-20260930.xsd#ACCRUEDINTERESTANDOTHERASSETSScheduleofAccruedInterestReceivableandOtherAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/ACCRUEDINTERESTANDOTHERASSETSScheduleofAccruedInterestReceivableandOtherAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_01a0695c-dd8a-79bb-b6ae-885f5e8a5be5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestReceivableAndOtherAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherRealEstate_01a0695c-dd8a-70ae-916f-80de7921db33" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherRealEstate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_01a0695c-dd8a-79bb-b6ae-885f5e8a5be5" xlink:to="loc_us-gaap_OtherRealEstate_01a0695c-dd8a-70ae-916f-80de7921db33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_01a0695c-dd8a-7a15-bcaf-9da921ee6af0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_01a0695c-dd8a-79bb-b6ae-885f5e8a5be5" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent_01a0695c-dd8a-7a15-bcaf-9da921ee6af0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestments_01a0695c-dd8a-74ec-8027-9e056448803d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_01a0695c-dd8a-79bb-b6ae-885f5e8a5be5" xlink:to="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestments_01a0695c-dd8a-74ec-8027-9e056448803d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_01a0695c-dd8a-747b-8207-96543c9af525" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_01a0695c-dd8a-79bb-b6ae-885f5e8a5be5" xlink:to="loc_us-gaap_InterestReceivable_01a0695c-dd8a-747b-8207-96543c9af525" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_01a0695c-dd8a-7dce-9500-30f9bf841583" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PrepaidExpenseCurrentAndNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_01a0695c-dd8a-79bb-b6ae-885f5e8a5be5" xlink:to="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_01a0695c-dd8a-7dce-9500-30f9bf841583" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAsset_01a0695c-dd8a-7d55-9575-85b77875cbc6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ServicingAsset"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_01a0695c-dd8a-79bb-b6ae-885f5e8a5be5" xlink:to="loc_us-gaap_ServicingAsset_01a0695c-dd8a-7d55-9575-85b77875cbc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_01a0695c-dd8a-7f6d-bea3-5a91b7dd4c50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_01a0695c-dd8a-79bb-b6ae-885f5e8a5be5" xlink:to="loc_us-gaap_OtherAssets_01a0695c-dd8a-7f6d-bea3-5a91b7dd4c50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsCurrent_01a0695c-dd8a-74a5-ac95-39ada1c1045e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsCurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_01a0695c-dd8a-79bb-b6ae-885f5e8a5be5" xlink:to="loc_us-gaap_IntangibleAssetsCurrent_01a0695c-dd8a-74a5-ac95-39ada1c1045e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/DEPOSITSScheduleofMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="rbb-20260930.xsd#DEPOSITSScheduleofMaturitiesofTimeDepositsDetails"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/DEPOSITSScheduleofMaturitiesofTimeDepositsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDeposits_01a17e05-829a-7c36-99c6-067efa033273" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_01a17e05-829a-7f89-b59a-4b7b4a03df7d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_01a17e05-829a-7c36-99c6-067efa033273" xlink:to="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_01a17e05-829a-7f89-b59a-4b7b4a03df7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_01a17e05-829a-70fd-9a11-8c3f37989f74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TimeDepositMaturitiesYearOne"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_01a17e05-829a-7c36-99c6-067efa033273" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_01a17e05-829a-70fd-9a11-8c3f37989f74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_01a17e05-829a-7c97-949c-25e2b2b34021" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TimeDepositMaturitiesYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_01a17e05-829a-7c36-99c6-067efa033273" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_01a17e05-829a-7c97-949c-25e2b2b34021" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_01a17e05-829a-7d3e-a7d4-bf5d1ffc4a08" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TimeDepositMaturitiesYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_01a17e05-829a-7c36-99c6-067efa033273" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_01a17e05-829a-7d3e-a7d4-bf5d1ffc4a08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_TimeDepositMaturitiesAfterYearFour_01a17e05-829a-7481-acf5-0b6f109bf993" xlink:href="rbb-20260930.xsd#rbb_TimeDepositMaturitiesAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_01a17e05-829a-7c36-99c6-067efa033273" xlink:to="loc_rbb_TimeDepositMaturitiesAfterYearFour_01a17e05-829a-7481-acf5-0b6f109bf993" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/LEASESScheduleofFutureMinimumRentPaymentsDetails" xlink:type="simple" xlink:href="rbb-20260930.xsd#LEASESScheduleofFutureMinimumRentPaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/LEASESScheduleofFutureMinimumRentPaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a0695c-de40-7cd8-b080-8f7ae5862dab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_01a0695c-de40-781d-99bd-2a438a9fd936" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a0695c-de40-7cd8-b080-8f7ae5862dab" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_01a0695c-de40-781d-99bd-2a438a9fd936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_01a0695c-de40-71f2-bafb-be0d503a7bab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a0695c-de40-7cd8-b080-8f7ae5862dab" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_01a0695c-de40-71f2-bafb-be0d503a7bab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_01a0695c-de40-789a-811e-5cc5fe601214" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a0695c-de40-7cd8-b080-8f7ae5862dab" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_01a0695c-de40-789a-811e-5cc5fe601214" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_01a0695c-de40-77f7-84dc-896e6cf06efd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a0695c-de40-7cd8-b080-8f7ae5862dab" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_01a0695c-de40-77f7-84dc-896e6cf06efd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_rbb_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_01a0695c-de40-79e4-93ef-4a798e700710" xlink:href="rbb-20260930.xsd#rbb_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a0695c-de40-7cd8-b080-8f7ae5862dab" xlink:to="loc_rbb_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_01a0695c-de40-79e4-93ef-4a798e700710" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_01a0695c-de40-72b4-bbad-cd93620b8a3e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_01a0695c-de40-7cd8-b080-8f7ae5862dab" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_01a0695c-de40-72b4-bbad-cd93620b8a3e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/EARNINGSPERSHAREScheduleofEarningsPerShareBasicandDilutedDetails" xlink:type="simple" xlink:href="rbb-20260930.xsd#EARNINGSPERSHAREScheduleofEarningsPerShareBasicandDilutedDetails"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/EARNINGSPERSHAREScheduleofEarningsPerShareBasicandDilutedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_01a0695c-de40-7fe0-a50a-c1815182bb5d" 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_01a0695c-de40-709d-89fa-1ef919ef6ffb" 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_01a0695c-de40-7fe0-a50a-c1815182bb5d" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_01a0695c-de40-709d-89fa-1ef919ef6ffb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_01a0695c-de40-70c5-abb6-66e55bd269cf" 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_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_01a0c2f8-f932-79d0-841e-ad3149a68ae8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_01a0695c-de40-70c5-abb6-66e55bd269cf" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_01a0c2f8-f932-79d0-841e-ad3149a68ae8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_01a0695c-de40-7690-beac-730160d1732f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_01a0695c-de40-70c5-abb6-66e55bd269cf" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_01a0695c-de40-7690-beac-730160d1732f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.royalbusinessbankusa.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDetails" xlink:type="simple" xlink:href="rbb-20260930.xsd#REVENUEFROMCONTRACTSWITHCUSTOMERSDetails"/>
  <link:calculationLink xlink:role="http://www.royalbusinessbankusa.com/role/REVENUEFROMCONTRACTSWITHCUSTOMERSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_01a0695c-de40-7bd4-b31d-42ff732628f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_01a0695c-de40-71a9-93c1-78297708f484" 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_NoninterestIncome_01a0695c-de40-7bd4-b31d-42ff732628f3" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_01a0695c-de40-71a9-93c1-78297708f484" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueNotFromContractWithCustomer_01a0695c-de40-7dba-aed5-c2ba527f3e04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueNotFromContractWithCustomer"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_01a0695c-de40-7bd4-b31d-42ff732628f3" xlink:to="loc_us-gaap_RevenueNotFromContractWithCustomer_01a0695c-de40-7dba-aed5-c2ba527f3e04" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
