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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:b528c1ad-ed6a-4d8f-a61d-3271103cafb9,g:f13ba239-0ab5-4183-9bc8-6fb0a6dbffab-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETSUnaudited" xlink:type="simple" xlink:href="fsbc-20230630.xsd#CONSOLIDATEDBALANCESHEETSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_2d8d5171-f7a6-4897-b359-518e59056e6f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_6724ce13-7a15-4e3e-9745-cfa827114b35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoninterestBearingDepositLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_2d8d5171-f7a6-4897-b359-518e59056e6f" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_6724ce13-7a15-4e3e-9745-cfa827114b35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_eef6b523-cd6e-4e8a-8d71-a69c97eb7121" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_2d8d5171-f7a6-4897-b359-518e59056e6f" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_eef6b523-cd6e-4e8a-8d71-a69c97eb7121" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_b4fdaf56-9e5b-480b-8e32-929538165713" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_21e7ac96-2eff-4a1d-ac54-69473c6662dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_b4fdaf56-9e5b-480b-8e32-929538165713" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_21e7ac96-2eff-4a1d-ac54-69473c6662dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_6c5bf77f-74f7-4724-acbf-76576b060d2e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesReceivableGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_b4fdaf56-9e5b-480b-8e32-929538165713" xlink:to="loc_us-gaap_NotesReceivableGross_6c5bf77f-74f7-4724-acbf-76576b060d2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_db10f240-3e40-439e-8947-2ab250512859" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_7c805786-39c4-4310-9736-e14ab9516a1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_db10f240-3e40-439e-8947-2ab250512859" xlink:to="loc_us-gaap_PreferredStockValue_7c805786-39c4-4310-9736-e14ab9516a1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_a107244d-8e68-4d73-9c83-d8b5048d105c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_db10f240-3e40-439e-8947-2ab250512859" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_a107244d-8e68-4d73-9c83-d8b5048d105c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_435080db-faea-42df-b079-0bb0ffdf1b66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_db10f240-3e40-439e-8947-2ab250512859" xlink:to="loc_us-gaap_CommonStockValue_435080db-faea-42df-b079-0bb0ffdf1b66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_04bf0c4d-a4d2-4e03-a8a5-985a53168eef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_db10f240-3e40-439e-8947-2ab250512859" xlink:to="loc_us-gaap_CommitmentsAndContingencies_04bf0c4d-a4d2-4e03-a8a5-985a53168eef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_81857ff3-8384-460b-8b25-563033551801" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_db10f240-3e40-439e-8947-2ab250512859" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_81857ff3-8384-460b-8b25-563033551801" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_67be19f6-c0b8-41d5-a278-8a0a16533e9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_02a60c42-fad1-4570-b079-c79e0fb38c14" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_67be19f6-c0b8-41d5-a278-8a0a16533e9d" xlink:to="loc_us-gaap_Liabilities_02a60c42-fad1-4570-b079-c79e0fb38c14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_7e884b0a-d5d5-4386-8a3b-26ca82bde70b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_67be19f6-c0b8-41d5-a278-8a0a16533e9d" xlink:to="loc_us-gaap_StockholdersEquity_7e884b0a-d5d5-4386-8a3b-26ca82bde70b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_1eb7cbcf-4f72-4c3a-b36c-510a5129e5d5" xlink:href="fsbc-20230630.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_1a747900-c92c-44c3-959a-a9347135dad1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndDueFromBanks"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_1eb7cbcf-4f72-4c3a-b36c-510a5129e5d5" xlink:to="loc_us-gaap_CashAndDueFromBanks_1a747900-c92c-44c3-959a-a9347135dad1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_bc999838-33c4-4053-b7e9-d4a1166438f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestBearingDepositsInBanks"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_1eb7cbcf-4f72-4c3a-b36c-510a5129e5d5" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_bc999838-33c4-4053-b7e9-d4a1166438f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_c33907b5-621e-4815-be2c-3945dc091fda" xlink:href="fsbc-20230630.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:to="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_c33907b5-621e-4815-be2c-3945dc091fda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtCarryingValue_c1e3a112-e9f1-4fc8-97c8-d3fade58b3bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimeDepositsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:to="loc_us-gaap_TimeDepositsAtCarryingValue_c1e3a112-e9f1-4fc8-97c8-d3fade58b3bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d21f40eb-856f-4d0c-b059-730880d5958a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d21f40eb-856f-4d0c-b059-730880d5958a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_9caa4759-766d-4404-927b-68ff6070a47a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:to="loc_us-gaap_HeldToMaturitySecurities_9caa4759-766d-4404-927b-68ff6070a47a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_49e00eea-25ed-4fcd-b730-8ed677a42367" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_49e00eea-25ed-4fcd-b730-8ed677a42367" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_ce05126c-02ff-4cf9-8f00-5ce2875c2ad3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:to="loc_us-gaap_NotesReceivableNet_ce05126c-02ff-4cf9-8f00-5ce2875c2ad3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_42d08ad3-8512-4ec9-aaee-c5078ec3b85f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FederalHomeLoanBankStock"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_42d08ad3-8512-4ec9-aaee-c5078ec3b85f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_3821d7d8-fdb7-4907-ad8d-a007f7576949" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_3821d7d8-fdb7-4907-ad8d-a007f7576949" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_e8a48207-5f66-4246-aadb-eae127e53933" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BankOwnedLifeInsurance"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_e8a48207-5f66-4246-aadb-eae127e53933" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_992f90ed-b60a-43dc-92d4-f0f215c3b9f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestReceivableAndOtherAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_992f90ed-b60a-43dc-92d4-f0f215c3b9f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_bcc02cb3-07b5-496f-8c67-8eae33c61e46" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d5913f82-1dae-4e3c-b4c3-da8014dea6d9" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_bcc02cb3-07b5-496f-8c67-8eae33c61e46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_1d9df265-9c2b-43a4-9863-6cde2e84e805" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_f7fcdfdc-a004-42b3-bc33-26d7e423dc39" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_1d9df265-9c2b-43a4-9863-6cde2e84e805" xlink:to="loc_us-gaap_Deposits_f7fcdfdc-a004-42b3-bc33-26d7e423dc39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_bca6f248-2c45-4d5c-b0a0-af53b5de745b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_1d9df265-9c2b-43a4-9863-6cde2e84e805" xlink:to="loc_us-gaap_OperatingLeaseLiability_bca6f248-2c45-4d5c-b0a0-af53b5de745b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_0284bd6e-ae81-41c7-9e7e-8c0496d485e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubordinatedDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_1d9df265-9c2b-43a4-9863-6cde2e84e805" xlink:to="loc_us-gaap_SubordinatedDebt_0284bd6e-ae81-41c7-9e7e-8c0496d485e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_64d65bf8-6f20-4177-8c87-a6030937ce7e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_1d9df265-9c2b-43a4-9863-6cde2e84e805" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_64d65bf8-6f20-4177-8c87-a6030937ce7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_e194e074-d63f-4376-be99-2351407ff471" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_1d9df265-9c2b-43a4-9863-6cde2e84e805" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_e194e074-d63f-4376-be99-2351407ff471" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20230630.xsd#CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_e5811bad-43d4-4246-a07d-ce759d9b84fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_cfe4cca7-0292-493f-bcd2-77ef1e1fce6e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_e5811bad-43d4-4246-a07d-ce759d9b84fb" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_cfe4cca7-0292-493f-bcd2-77ef1e1fce6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_c6e503de-f4ae-4d5d-85e8-b36ddbf65eb5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_e5811bad-43d4-4246-a07d-ce759d9b84fb" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_c6e503de-f4ae-4d5d-85e8-b36ddbf65eb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_a2456396-3918-4363-baec-73c1961a3002" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_87df0540-7b9e-456e-bcfc-78c64cd7f5d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a2456396-3918-4363-baec-73c1961a3002" xlink:to="loc_us-gaap_LaborAndRelatedExpense_87df0540-7b9e-456e-bcfc-78c64cd7f5d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_0125bb88-8e3b-4bdf-ab23-973f8df99bed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OccupancyNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a2456396-3918-4363-baec-73c1961a3002" xlink:to="loc_us-gaap_OccupancyNet_0125bb88-8e3b-4bdf-ab23-973f8df99bed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_5ce98227-5428-4a23-a490-d7f1751a616f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InformationTechnologyAndDataProcessing"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a2456396-3918-4363-baec-73c1961a3002" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_5ce98227-5428-4a23-a490-d7f1751a616f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_087dd099-42f4-4bc8-844c-d028fec3d567" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a2456396-3918-4363-baec-73c1961a3002" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_087dd099-42f4-4bc8-844c-d028fec3d567" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_08abb224-2f65-4690-9c51-970ee93f16c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a2456396-3918-4363-baec-73c1961a3002" xlink:to="loc_us-gaap_ProfessionalFees_08abb224-2f65-4690-9c51-970ee93f16c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_1801b551-2749-4b1d-bd52-4bbaf4fbda5c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdvertisingExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a2456396-3918-4363-baec-73c1961a3002" xlink:to="loc_us-gaap_AdvertisingExpense_1801b551-2749-4b1d-bd52-4bbaf4fbda5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedExpenses_a228649a-328c-489b-a039-b6ba39b3d64c" xlink:href="fsbc-20230630.xsd#fsbc_LoanRelatedExpenses"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a2456396-3918-4363-baec-73c1961a3002" xlink:to="loc_fsbc_LoanRelatedExpenses_a228649a-328c-489b-a039-b6ba39b3d64c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_11a7aa3c-0216-4655-949a-6b784381f012" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_a2456396-3918-4363-baec-73c1961a3002" xlink:to="loc_us-gaap_OtherNoninterestExpense_11a7aa3c-0216-4655-949a-6b784381f012" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_c2e5a406-9545-488b-9038-9d6269428cc4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_555258f4-83cc-4ea1-8112-a439b0681448" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_c2e5a406-9545-488b-9038-9d6269428cc4" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_555258f4-83cc-4ea1-8112-a439b0681448" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_e121f86e-0dcd-4c6d-ae1c-c76a9c3911d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_c2e5a406-9545-488b-9038-9d6269428cc4" xlink:to="loc_us-gaap_InterestExpense_e121f86e-0dcd-4c6d-ae1c-c76a9c3911d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_7299c914-b30d-431c-99a4-2bf77f54dd92" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_273ddb45-3e78-44c5-941d-c7ff8e3619c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7299c914-b30d-431c-99a4-2bf77f54dd92" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_273ddb45-3e78-44c5-941d-c7ff8e3619c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_9fa1c5c1-5186-44d7-beff-c863e1acc2dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeSecuritiesTaxable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7299c914-b30d-431c-99a4-2bf77f54dd92" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_9fa1c5c1-5186-44d7-beff-c863e1acc2dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_6f0dfaf8-839e-4516-93c9-6c78b084f1d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7299c914-b30d-431c-99a4-2bf77f54dd92" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_6f0dfaf8-839e-4516-93c9-6c78b084f1d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_5365aff0-b0e9-41a4-83f5-951087c33c2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeDepositsWithFinancialInstitutions"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7299c914-b30d-431c-99a4-2bf77f54dd92" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_5365aff0-b0e9-41a4-83f5-951087c33c2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_29d42266-7bd3-4e6b-be31-f8f774232257" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm_97c3901f-7fa2-432c-83b3-1c5de04571ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_29d42266-7bd3-4e6b-be31-f8f774232257" xlink:to="loc_us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm_97c3901f-7fa2-432c-83b3-1c5de04571ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_bdaa6a20-9be5-491c-9c31-ffa57725d496" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_29d42266-7bd3-4e6b-be31-f8f774232257" xlink:to="loc_us-gaap_InterestExpenseDeposits_bdaa6a20-9be5-491c-9c31-ffa57725d496" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_6eb4c9f4-d796-4f38-b2bb-fa11c5a036d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseSubordinatedNotesAndDebentures"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_29d42266-7bd3-4e6b-be31-f8f774232257" xlink:to="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_6eb4c9f4-d796-4f38-b2bb-fa11c5a036d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_9b24d19b-ac55-4709-8f9c-f9fb3829cec3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_818c14e8-95fa-43cf-b5d6-5c9cda856249" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_9b24d19b-ac55-4709-8f9c-f9fb3829cec3" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_818c14e8-95fa-43cf-b5d6-5c9cda856249" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_13616c4c-8da7-441a-9d18-4f058b84174a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_9b24d19b-ac55-4709-8f9c-f9fb3829cec3" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_13616c4c-8da7-441a-9d18-4f058b84174a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_c98e2a6e-006d-4ba3-b580-d2a69424525c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_674dc464-a6e0-41cf-9824-8e11d1ecca9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c98e2a6e-006d-4ba3-b580-d2a69424525c" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_674dc464-a6e0-41cf-9824-8e11d1ecca9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedFees_544ff33c-5c69-47e5-9e5f-3f8698980e69" xlink:href="fsbc-20230630.xsd#fsbc_LoanRelatedFees"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c98e2a6e-006d-4ba3-b580-d2a69424525c" xlink:to="loc_fsbc_LoanRelatedFees_544ff33c-5c69-47e5-9e5f-3f8698980e69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ServiceChargesOnDepositAccounts_993f8195-7b05-4073-9bc0-7a78708e201e" xlink:href="fsbc-20230630.xsd#fsbc_ServiceChargesOnDepositAccounts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c98e2a6e-006d-4ba3-b580-d2a69424525c" xlink:to="loc_fsbc_ServiceChargesOnDepositAccounts_993f8195-7b05-4073-9bc0-7a78708e201e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_f5bdf2d9-5674-4f18-903d-28ce92239982" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c98e2a6e-006d-4ba3-b580-d2a69424525c" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_f5bdf2d9-5674-4f18-903d-28ce92239982" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_FederalHomeLoanBankStockDividends_3333033b-1955-4938-9c9e-bb466be0797a" xlink:href="fsbc-20230630.xsd#fsbc_FederalHomeLoanBankStockDividends"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c98e2a6e-006d-4ba3-b580-d2a69424525c" xlink:to="loc_fsbc_FederalHomeLoanBankStockDividends_3333033b-1955-4938-9c9e-bb466be0797a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_aa0ba1fa-4092-421f-acba-eccfd9bf2132" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfLoansAndLeases"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c98e2a6e-006d-4ba3-b580-d2a69424525c" xlink:to="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_aa0ba1fa-4092-421f-acba-eccfd9bf2132" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_bdef37e5-a69f-43e2-8552-e47127095c4d" xlink:href="fsbc-20230630.xsd#fsbc_NetGainOnSaleOfSecuritiesAvailableForSale"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_c98e2a6e-006d-4ba3-b580-d2a69424525c" xlink:to="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_bdef37e5-a69f-43e2-8552-e47127095c4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_59d94546-5457-4d5f-9e1b-9270a7c0915c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_401a5a86-4362-42e8-bcef-00e0de8b56d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_59d94546-5457-4d5f-9e1b-9270a7c0915c" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_401a5a86-4362-42e8-bcef-00e0de8b56d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_ebae8610-0682-4a7e-8bb4-01dd9ac56b7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_59d94546-5457-4d5f-9e1b-9270a7c0915c" xlink:to="loc_us-gaap_NoninterestIncome_ebae8610-0682-4a7e-8bb4-01dd9ac56b7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_1a80d081-de4f-4c0c-a791-b9d3c7c03729" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_59d94546-5457-4d5f-9e1b-9270a7c0915c" xlink:to="loc_us-gaap_NoninterestExpense_1a80d081-de4f-4c0c-a791-b9d3c7c03729" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20230630.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_813f2d2e-2624-471f-8951-b93542e9db93" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_d01d5add-ee19-4631-8bd6-ec0aa81aa5fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_813f2d2e-2624-471f-8951-b93542e9db93" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_d01d5add-ee19-4631-8bd6-ec0aa81aa5fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_4f8b737e-c897-4526-b776-199cf2e00558" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_813f2d2e-2624-471f-8951-b93542e9db93" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_4f8b737e-c897-4526-b776-199cf2e00558" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_2534f5ca-e30a-42f7-859b-1a2490fc5929" xlink:href="fsbc-20230630.xsd#fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_813f2d2e-2624-471f-8951-b93542e9db93" xlink:to="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_2534f5ca-e30a-42f7-859b-1a2490fc5929" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_f7d13e2b-e1b8-4490-b38b-1ceaf334a458" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_b93bc424-d901-4017-ae87-220fb1799c25" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_f7d13e2b-e1b8-4490-b38b-1ceaf334a458" xlink:to="loc_us-gaap_NetIncomeLoss_b93bc424-d901-4017-ae87-220fb1799c25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_95f5506f-0574-48a0-a4fd-e905b2365558" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_f7d13e2b-e1b8-4490-b38b-1ceaf334a458" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_95f5506f-0574-48a0-a4fd-e905b2365558" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="simple" xlink:href="fsbc-20230630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_fab1de7d-1843-4569-80e7-62123f838245" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_fab1de7d-1843-4569-80e7-62123f838245" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_a4cd86df-40aa-439e-b958-954957959749" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_a4cd86df-40aa-439e-b958-954957959749" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_cf581fcb-e248-4b73-84d3-98042e09ce97" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_cf581fcb-e248-4b73-84d3-98042e09ce97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_b65ea875-ab33-43f3-8d28-b28e17f91a9e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_b65ea875-ab33-43f3-8d28-b28e17f91a9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_d1ccde60-4519-4fe3-b4ae-ca10a255a3fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfDeferredLoanOriginationFeesNet"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_d1ccde60-4519-4fe3-b4ae-ca10a255a3fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_99cdfb22-adf3-443d-842f-25fb4f7a6751" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_99cdfb22-adf3-443d-842f-25fb4f7a6751" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_4588951a-62d0-4230-bb7f-ae94e1ae2c10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_4588951a-62d0-4230-bb7f-ae94e1ae2c10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_83627701-f7de-4e31-89b0-da38c6ab0702" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_83627701-f7de-4e31-89b0-da38c6ab0702" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_8cde07f4-66d9-4d35-9ef5-a28f2671cf8b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_NetIncomeLoss_8cde07f4-66d9-4d35-9ef5-a28f2671cf8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_76e07536-8495-4820-a256-5ed5aa75d849" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_76e07536-8495-4820-a256-5ed5aa75d849" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_a54fbad7-59a8-46e1-8191-9742544c972e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_a54fbad7-59a8-46e1-8191-9742544c972e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_4ce65883-ebd4-4ffe-931d-b512a459e64e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_4ce65883-ebd4-4ffe-931d-b512a459e64e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_151dd17e-ceba-4f23-882d-8e6119c52123" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_DepreciationAndAmortization_151dd17e-ceba-4f23-882d-8e6119c52123" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_47389b52-5c93-469e-a948-77919e11723b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_47389b52-5c93-469e-a948-77919e11723b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_7b6ee1f6-7de2-45a3-b98b-040a9892f3d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_ShareBasedCompensation_7b6ee1f6-7de2-45a3-b98b-040a9892f3d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_2107acfe-cad1-43a5-8a9a-e51de73d2fec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_2107acfe-cad1-43a5-8a9a-e51de73d2fec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_1741df91-3c00-4627-bf0d-9d02ff08b4a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_286a4de6-f6a5-4581-a3fb-f20411bd1732" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_1741df91-3c00-4627-bf0d-9d02ff08b4a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_93082fea-db4e-4645-a096-7de6e14ef748" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromFederalHomeLoanBankBorrowings_136d15c2-e880-42ec-8bb4-f050fb2468fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromFederalHomeLoanBankBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_93082fea-db4e-4645-a096-7de6e14ef748" xlink:to="loc_us-gaap_ProceedsFromFederalHomeLoanBankBorrowings_136d15c2-e880-42ec-8bb4-f050fb2468fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_1652ef5c-b717-4d5c-a224-a1e6edd07491" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_93082fea-db4e-4645-a096-7de6e14ef748" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_1652ef5c-b717-4d5c-a224-a1e6edd07491" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_26b7acc9-7467-4bf1-979f-ba29ce5e3620" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_93082fea-db4e-4645-a096-7de6e14ef748" xlink:to="loc_us-gaap_PaymentsOfDividends_26b7acc9-7467-4bf1-979f-ba29ce5e3620" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_0141cd98-ecc3-4a0b-b945-cc8de1cc44f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cba7aea2-54e0-40d4-b6bf-cbd64137cd0e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_0141cd98-ecc3-4a0b-b945-cc8de1cc44f8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cba7aea2-54e0-40d4-b6bf-cbd64137cd0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_7f04809e-3902-4647-ab64-c86a289e590c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_0141cd98-ecc3-4a0b-b945-cc8de1cc44f8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_7f04809e-3902-4647-ab64-c86a289e590c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f5a4e68e-2d00-4a35-8c7b-e5ba86246c8a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_0141cd98-ecc3-4a0b-b945-cc8de1cc44f8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f5a4e68e-2d00-4a35-8c7b-e5ba86246c8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94425e7a-76c9-4409-b522-a20669dd3d5f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_52e929a2-3c72-4769-ba82-450c9efde11e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94425e7a-76c9-4409-b522-a20669dd3d5f" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_52e929a2-3c72-4769-ba82-450c9efde11e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_9c230b3a-ddb5-4283-9b8e-98abb27bd280" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireLifeInsurancePolicies"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94425e7a-76c9-4409-b522-a20669dd3d5f" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_9c230b3a-ddb5-4283-9b8e-98abb27bd280" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_16e44b57-a976-463e-8668-7b892d851e25" xlink:href="fsbc-20230630.xsd#fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94425e7a-76c9-4409-b522-a20669dd3d5f" xlink:to="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_16e44b57-a976-463e-8668-7b892d851e25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_694a7125-7eb3-4de6-a80b-0e9bf5c4a248" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94425e7a-76c9-4409-b522-a20669dd3d5f" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_694a7125-7eb3-4de6-a80b-0e9bf5c4a248" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_25d88936-0eca-49c7-a154-80a630cd420b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94425e7a-76c9-4409-b522-a20669dd3d5f" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_25d88936-0eca-49c7-a154-80a630cd420b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_b4cfe8e7-e764-4498-b022-383b84905237" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94425e7a-76c9-4409-b522-a20669dd3d5f" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_b4cfe8e7-e764-4498-b022-383b84905237" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6f7caff2-3359-4ff2-bc20-1275eca39d0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94425e7a-76c9-4409-b522-a20669dd3d5f" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6f7caff2-3359-4ff2-bc20-1275eca39d0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_275abeb4-dfef-473b-99a5-1edee68a6fa5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_94425e7a-76c9-4409-b522-a20669dd3d5f" xlink:to="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_275abeb4-dfef-473b-99a5-1edee68a6fa5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesHeldtomaturityDetails" xlink:type="simple" xlink:href="fsbc-20230630.xsd#InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesHeldtomaturityDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesHeldtomaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_f088383a-fb2d-4f16-b5c9-91b584c49616" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_ac198bce-9d25-4943-b1f3-134c9f3e6fef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_f088383a-fb2d-4f16-b5c9-91b584c49616" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_ac198bce-9d25-4943-b1f3-134c9f3e6fef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_540a7ce5-3237-459a-a202-3977d5dfec47" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_f088383a-fb2d-4f16-b5c9-91b584c49616" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_540a7ce5-3237-459a-a202-3977d5dfec47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_8aec1ce1-01a8-45d2-a535-63a5347370c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_f088383a-fb2d-4f16-b5c9-91b584c49616" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_8aec1ce1-01a8-45d2-a535-63a5347370c0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesAvailableforsaleDetails" xlink:type="simple" xlink:href="fsbc-20230630.xsd#InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesAvailableforsaleDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesAvailableforsaleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f97f5ac3-7026-4375-8593-78349ed871bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_0006d97b-6eeb-41e1-971c-8c1f9c2d36a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f97f5ac3-7026-4375-8593-78349ed871bd" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_0006d97b-6eeb-41e1-971c-8c1f9c2d36a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_698f05e3-0867-49d7-8e77-c0a80d7bb700" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f97f5ac3-7026-4375-8593-78349ed871bd" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_698f05e3-0867-49d7-8e77-c0a80d7bb700" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_17d3dd64-6d02-4b35-8e40-e3862c5d0570" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f97f5ac3-7026-4375-8593-78349ed871bd" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_17d3dd64-6d02-4b35-8e40-e3862c5d0570" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails" xlink:type="simple" xlink:href="fsbc-20230630.xsd#LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_064d5f46-558f-414b-b3d7-3e31b5634d12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_d69e54bf-14ea-4c20-966f-4bc50521fa2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_064d5f46-558f-414b-b3d7-3e31b5634d12" xlink:to="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_d69e54bf-14ea-4c20-966f-4bc50521fa2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_04694f10-36c4-41c0-ac58-bcdf7bbbc22e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_064d5f46-558f-414b-b3d7-3e31b5634d12" xlink:to="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_04694f10-36c4-41c0-ac58-bcdf7bbbc22e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_30f451ca-a229-432e-baca-c7d3ea83defa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_064d5f46-558f-414b-b3d7-3e31b5634d12" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_30f451ca-a229-432e-baca-c7d3ea83defa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesCreditQualityIndicatorsRelatedtotheCompanysLoansbyClassDetails" xlink:type="simple" xlink:href="fsbc-20230630.xsd#LoansandAllowanceforCreditLossesCreditQualityIndicatorsRelatedtotheCompanysLoansbyClassDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesCreditQualityIndicatorsRelatedtotheCompanysLoansbyClassDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_f7036f15-936f-41e9-b545-d087209fe0bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesReceivableGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_8ddabd23-4c74-4ea9-8ab7-bc059c076364" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_f7036f15-936f-41e9-b545-d087209fe0bb" xlink:to="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_8ddabd23-4c74-4ea9-8ab7-bc059c076364" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolving_e4cc3459-b9e4-42b6-8020-62c612d061dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableRevolving"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_f7036f15-936f-41e9-b545-d087209fe0bb" xlink:to="loc_us-gaap_FinancingReceivableRevolving_e4cc3459-b9e4-42b6-8020-62c612d061dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_adc8590a-b54d-4e21-859b-f86eec97ea8a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_f7036f15-936f-41e9-b545-d087209fe0bb" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_adc8590a-b54d-4e21-859b-f86eec97ea8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_ac068638-28cb-4933-b8fd-b5cad06832a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableRevolvingConvertedToTermLoan"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_f7036f15-936f-41e9-b545-d087209fe0bb" xlink:to="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_ac068638-28cb-4933-b8fd-b5cad06832a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_fa04f8e5-2b78-4763-b35e-b087a7f7f8b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_f7036f15-936f-41e9-b545-d087209fe0bb" xlink:to="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_fa04f8e5-2b78-4763-b35e-b087a7f7f8b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_f50366b7-8aa5-4ada-87ea-2087f9a75948" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_f7036f15-936f-41e9-b545-d087209fe0bb" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_f50366b7-8aa5-4ada-87ea-2087f9a75948" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_216cf7c1-d29f-4792-9471-ab811d4ca23e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_f7036f15-936f-41e9-b545-d087209fe0bb" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_216cf7c1-d29f-4792-9471-ab811d4ca23e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_0d4382a7-15db-483a-8b6f-afb584ac88ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_f7036f15-936f-41e9-b545-d087209fe0bb" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_0d4382a7-15db-483a-8b6f-afb584ac88ca" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestBearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20230630.xsd#InterestBearingDepositsInterestBearingDepositsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InterestBearingDepositsInterestBearingDepositsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_cccfc5f5-5412-4498-908a-54779d14ef62" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositSavings_0311195a-3117-411c-a2f9-c6c38eed0498" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestBearingDomesticDepositSavings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_cccfc5f5-5412-4498-908a-54779d14ef62" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_0311195a-3117-411c-a2f9-c6c38eed0498" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_555f20da-c690-4a44-a0ab-4cdff6b69038" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestBearingDomesticDepositMoneyMarket"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_cccfc5f5-5412-4498-908a-54779d14ef62" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_555f20da-c690-4a44-a0ab-4cdff6b69038" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_e4bb9f06-384e-4398-b2ce-44690bd40676" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestBearingDomesticDepositChecking"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_cccfc5f5-5412-4498-908a-54779d14ef62" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_e4bb9f06-384e-4398-b2ce-44690bd40676" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_d889b769-3bd7-4dd5-9503-c4be6ed810cd" xlink:href="fsbc-20230630.xsd#fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_cccfc5f5-5412-4498-908a-54779d14ef62" xlink:to="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_d889b769-3bd7-4dd5-9503-c4be6ed810cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_3b00e352-cebe-4059-902a-a9083f03ae06" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestBearingDomesticDepositOtherTimeDeposit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_cccfc5f5-5412-4498-908a-54779d14ef62" xlink:to="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_3b00e352-cebe-4059-902a-a9083f03ae06" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="fsbc-20230630.xsd#InterestBearingDepositsMaturitiesofTimeDepositsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InterestBearingDepositsMaturitiesofTimeDepositsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_14a4fd77-536a-4dd5-b95b-5a6cfd2a4cda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestBearingDomesticDepositTimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_2ba59839-a6ba-4cc5-8d8d-027772007916" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_14a4fd77-536a-4dd5-b95b-5a6cfd2a4cda" xlink:to="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_2ba59839-a6ba-4cc5-8d8d-027772007916" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_074e8607-f6f5-420f-b003-bb40ee0d502a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimeDepositMaturitiesYearOne"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_14a4fd77-536a-4dd5-b95b-5a6cfd2a4cda" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_074e8607-f6f5-420f-b003-bb40ee0d502a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_c4a3c3f7-c865-4f35-b266-2d4035d0c348" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimeDepositMaturitiesYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_14a4fd77-536a-4dd5-b95b-5a6cfd2a4cda" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_c4a3c3f7-c865-4f35-b266-2d4035d0c348" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_88b264af-4e39-45ef-ae0b-974bfe0d16a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimeDepositMaturitiesYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_14a4fd77-536a-4dd5-b95b-5a6cfd2a4cda" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_88b264af-4e39-45ef-ae0b-974bfe0d16a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_cbff6b90-b5f1-4007-aa2f-6baaf49b40b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimeDepositMaturitiesYearTwo"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_14a4fd77-536a-4dd5-b95b-5a6cfd2a4cda" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_cbff6b90-b5f1-4007-aa2f-6baaf49b40b1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestExpenseRecognizedonInterestbearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20230630.xsd#InterestBearingDepositsInterestExpenseRecognizedonInterestbearingDepositsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InterestBearingDepositsInterestExpenseRecognizedonInterestbearingDepositsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_fee75d1f-3b2f-46a3-a4b3-c0daf07d9cc8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_1bddd9d6-41a0-4c6c-aa8e-ae55cb8a3735" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_fee75d1f-3b2f-46a3-a4b3-c0daf07d9cc8" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_1bddd9d6-41a0-4c6c-aa8e-ae55cb8a3735" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_a9674989-e894-401a-8e3e-6e0091e60ec7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_fee75d1f-3b2f-46a3-a4b3-c0daf07d9cc8" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_a9674989-e894-401a-8e3e-6e0091e60ec7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_d6409a1e-5dab-43b2-beb5-951411dba817" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_fee75d1f-3b2f-46a3-a4b3-c0daf07d9cc8" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_d6409a1e-5dab-43b2-beb5-951411dba817" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_ee473127-f720-4fbf-8e9e-40926f92332d" xlink:href="fsbc-20230630.xsd#fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_fee75d1f-3b2f-46a3-a4b3-c0daf07d9cc8" xlink:to="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_ee473127-f720-4fbf-8e9e-40926f92332d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_948a6467-f868-4804-9b37-9adac20eebcc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_fee75d1f-3b2f-46a3-a4b3-c0daf07d9cc8" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_948a6467-f868-4804-9b37-9adac20eebcc" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
