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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:13d8ce0b-68f1-451a-b74d-279a25aa258a,g:33f999d5-014f-45e4-9d90-49022126e851-->
<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-20240331.xsd#CONSOLIDATEDBALANCESHEETSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_3f4d99c1-c7cd-4e0f-a8b6-43a34a661ed4" 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_547e2c56-cb83-4268-b4b4-b3004821139b" 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_3f4d99c1-c7cd-4e0f-a8b6-43a34a661ed4" xlink:to="loc_us-gaap_PreferredStockValue_547e2c56-cb83-4268-b4b4-b3004821139b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_c4db0f50-2468-44f2-a623-fd2c2ab3ba90" 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_3f4d99c1-c7cd-4e0f-a8b6-43a34a661ed4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_c4db0f50-2468-44f2-a623-fd2c2ab3ba90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_62db080a-2f79-4bb0-b893-7c20a59ee2bf" 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_3f4d99c1-c7cd-4e0f-a8b6-43a34a661ed4" xlink:to="loc_us-gaap_CommonStockValue_62db080a-2f79-4bb0-b893-7c20a59ee2bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_54a78b9f-5c1e-4e7a-b60a-e9d7d99e7c59" 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_3f4d99c1-c7cd-4e0f-a8b6-43a34a661ed4" xlink:to="loc_us-gaap_CommitmentsAndContingencies_54a78b9f-5c1e-4e7a-b60a-e9d7d99e7c59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_85c95b74-5bc2-416e-bb49-6a40904dbcdd" 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_3f4d99c1-c7cd-4e0f-a8b6-43a34a661ed4" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_85c95b74-5bc2-416e-bb49-6a40904dbcdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_5087b598-f489-4a24-8e3b-8f056664df95" 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_7db7b2ce-61cb-4e77-8296-32e10f69100b" 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_5087b598-f489-4a24-8e3b-8f056664df95" xlink:to="loc_us-gaap_Liabilities_7db7b2ce-61cb-4e77-8296-32e10f69100b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_87bd2f32-2030-4549-a445-68d214d482ae" 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_5087b598-f489-4a24-8e3b-8f056664df95" xlink:to="loc_us-gaap_StockholdersEquity_87bd2f32-2030-4549-a445-68d214d482ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" 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_be7f1bf2-3cee-4997-a226-80adc3f40222" xlink:href="fsbc-20240331.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_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" xlink:to="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_be7f1bf2-3cee-4997-a226-80adc3f40222" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtCarryingValue_5030d543-e01a-46ce-9cda-ee7f9692d898" 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_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" xlink:to="loc_us-gaap_TimeDepositsAtCarryingValue_5030d543-e01a-46ce-9cda-ee7f9692d898" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_3cdff047-1695-4e67-af48-f01934d6092b" 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_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_3cdff047-1695-4e67-af48-f01934d6092b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_aaac5450-f1bb-48b0-b628-b691be7112f3" 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_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" xlink:to="loc_us-gaap_HeldToMaturitySecurities_aaac5450-f1bb-48b0-b628-b691be7112f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_10b93c59-8fb9-4dee-94b3-95f69620ba49" 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_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_10b93c59-8fb9-4dee-94b3-95f69620ba49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_9ed318df-976b-42ce-afca-3adfa7bafd00" 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_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" xlink:to="loc_us-gaap_NotesReceivableNet_9ed318df-976b-42ce-afca-3adfa7bafd00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_f274fcfa-5e58-47cd-8035-4b68eafb46e5" 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_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_f274fcfa-5e58-47cd-8035-4b68eafb46e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_a148b998-ab1c-4a00-ae24-f9cd9e05d3e0" 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_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_a148b998-ab1c-4a00-ae24-f9cd9e05d3e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_1dfb77e2-b5a5-42c2-8cb1-6629c6837421" 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_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_1dfb77e2-b5a5-42c2-8cb1-6629c6837421" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_32d150f8-b180-4ec6-97be-58a423460f58" 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_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_32d150f8-b180-4ec6-97be-58a423460f58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_8712beeb-bc4b-4f0b-a09c-b0acb35450dd" 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_c36c79dc-6ab2-48cf-83fd-3fe8db979ab8" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_8712beeb-bc4b-4f0b-a09c-b0acb35450dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_3bd5db0e-a258-41d5-bfac-342f36d14f8b" 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_ca5cba6b-abda-4b17-a507-c9f6dd0a24a5" 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_3bd5db0e-a258-41d5-bfac-342f36d14f8b" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_ca5cba6b-abda-4b17-a507-c9f6dd0a24a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_67dab05f-6df0-400b-8814-d38449d27b90" 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_3bd5db0e-a258-41d5-bfac-342f36d14f8b" xlink:to="loc_us-gaap_NotesReceivableGross_67dab05f-6df0-400b-8814-d38449d27b90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_47ea4a5d-880e-4289-98a5-866d1501e35e" 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_003dc52b-ce04-4963-bacd-3d5be20ee736" 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_47ea4a5d-880e-4289-98a5-866d1501e35e" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_003dc52b-ce04-4963-bacd-3d5be20ee736" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_76fdd22a-3c1a-442d-8ec3-a24420065224" 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_47ea4a5d-880e-4289-98a5-866d1501e35e" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_76fdd22a-3c1a-442d-8ec3-a24420065224" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_d06f42cb-11f7-4f8f-8c04-073e8c99a46c" xlink:href="fsbc-20240331.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_560f5259-e505-4c3a-87e4-19f935eda95a" 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_d06f42cb-11f7-4f8f-8c04-073e8c99a46c" xlink:to="loc_us-gaap_CashAndDueFromBanks_560f5259-e505-4c3a-87e4-19f935eda95a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_091ae8b6-1545-499f-9e45-afdeabed9b38" 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_d06f42cb-11f7-4f8f-8c04-073e8c99a46c" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_091ae8b6-1545-499f-9e45-afdeabed9b38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_580952c3-42b2-4ac9-9fa5-30af386919f9" 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_OtherBorrowings_74bacc88-62bb-4dcf-b6d7-68ac25b089a2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_580952c3-42b2-4ac9-9fa5-30af386919f9" xlink:to="loc_us-gaap_OtherBorrowings_74bacc88-62bb-4dcf-b6d7-68ac25b089a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_81f68268-9fa5-46a4-b786-ec964d3df609" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_580952c3-42b2-4ac9-9fa5-30af386919f9" xlink:to="loc_us-gaap_Deposits_81f68268-9fa5-46a4-b786-ec964d3df609" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_2900a21c-ec0c-45a0-98ce-a53765645077" 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_580952c3-42b2-4ac9-9fa5-30af386919f9" xlink:to="loc_us-gaap_SubordinatedDebt_2900a21c-ec0c-45a0-98ce-a53765645077" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_bfa58b5f-63ea-4333-9a30-b177b7c5bdee" 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_580952c3-42b2-4ac9-9fa5-30af386919f9" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_bfa58b5f-63ea-4333-9a30-b177b7c5bdee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_aec227cb-5978-4259-8193-30ff64aed9fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_580952c3-42b2-4ac9-9fa5-30af386919f9" xlink:to="loc_us-gaap_OperatingLeaseLiability_aec227cb-5978-4259-8193-30ff64aed9fa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20240331.xsd#CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_a05836df-5e19-4903-b706-37a43d5b4f06" 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_2e48da99-a8b5-4445-91de-c4a8f991b923" 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_a05836df-5e19-4903-b706-37a43d5b4f06" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_2e48da99-a8b5-4445-91de-c4a8f991b923" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_d69ca8a7-fe0c-4af9-8451-a2211b2053cc" 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_a05836df-5e19-4903-b706-37a43d5b4f06" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_d69ca8a7-fe0c-4af9-8451-a2211b2053cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_cc489c4c-4c2f-4194-b510-b023063d820b" 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_a05836df-5e19-4903-b706-37a43d5b4f06" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_cc489c4c-4c2f-4194-b510-b023063d820b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_7596cf07-7a22-4b8f-98d0-a72ddbc05daf" 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_a05836df-5e19-4903-b706-37a43d5b4f06" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_7596cf07-7a22-4b8f-98d0-a72ddbc05daf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_73b94dc4-9e2f-4232-a305-de38e88ba732" 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_a831d08b-a501-42e6-a4d4-e9574bfccee7" 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_73b94dc4-9e2f-4232-a305-de38e88ba732" xlink:to="loc_us-gaap_LaborAndRelatedExpense_a831d08b-a501-42e6-a4d4-e9574bfccee7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_f1553404-3691-4fe8-849e-6618e41f2a12" 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_73b94dc4-9e2f-4232-a305-de38e88ba732" xlink:to="loc_us-gaap_OccupancyNet_f1553404-3691-4fe8-849e-6618e41f2a12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_6932f287-db48-4ab9-a42b-d0e06bc9b016" 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_73b94dc4-9e2f-4232-a305-de38e88ba732" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_6932f287-db48-4ab9-a42b-d0e06bc9b016" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_0b66cfd2-2ac1-4ea7-840d-9c2d1d7d783d" 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_73b94dc4-9e2f-4232-a305-de38e88ba732" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_0b66cfd2-2ac1-4ea7-840d-9c2d1d7d783d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_6135e91b-bffd-46bc-9e92-be5fbbdf775d" 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_73b94dc4-9e2f-4232-a305-de38e88ba732" xlink:to="loc_us-gaap_ProfessionalFees_6135e91b-bffd-46bc-9e92-be5fbbdf775d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_bcc2e318-ae5c-485b-acd4-9b99ab5fd6d7" 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_73b94dc4-9e2f-4232-a305-de38e88ba732" xlink:to="loc_us-gaap_AdvertisingExpense_bcc2e318-ae5c-485b-acd4-9b99ab5fd6d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedExpenses_24c435b9-96c5-4a74-87ad-699f5ff4c84a" xlink:href="fsbc-20240331.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_73b94dc4-9e2f-4232-a305-de38e88ba732" xlink:to="loc_fsbc_LoanRelatedExpenses_24c435b9-96c5-4a74-87ad-699f5ff4c84a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_b719a1b2-9a46-4462-915c-813da4d46153" 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_73b94dc4-9e2f-4232-a305-de38e88ba732" xlink:to="loc_us-gaap_OtherNoninterestExpense_b719a1b2-9a46-4462-915c-813da4d46153" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cbc432bb-589c-4956-a12a-73166853a305" 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_093d0089-e85c-439b-a0eb-d01cf73911d6" 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_cbc432bb-589c-4956-a12a-73166853a305" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_093d0089-e85c-439b-a0eb-d01cf73911d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_5cd4f72b-30f1-451f-95b4-2e6703437334" 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_cbc432bb-589c-4956-a12a-73166853a305" xlink:to="loc_us-gaap_NoninterestIncome_5cd4f72b-30f1-451f-95b4-2e6703437334" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_76095609-e404-49c0-ad47-602250374574" 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_cbc432bb-589c-4956-a12a-73166853a305" xlink:to="loc_us-gaap_NoninterestExpense_76095609-e404-49c0-ad47-602250374574" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_ccc8bd6c-2006-4af2-80e2-f9cecfc3ea5b" 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_5c5b29e8-10a1-42d7-b932-afe74a68eb01" 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_ccc8bd6c-2006-4af2-80e2-f9cecfc3ea5b" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_5c5b29e8-10a1-42d7-b932-afe74a68eb01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_4ff4de2d-b59c-4203-bccd-65e73b19a663" 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_ccc8bd6c-2006-4af2-80e2-f9cecfc3ea5b" xlink:to="loc_us-gaap_InterestExpense_4ff4de2d-b59c-4203-bccd-65e73b19a663" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_665a08b5-f5dd-4479-8f04-4d9993c12c5e" 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_515345b2-311b-440f-a1b9-927a79ab440e" 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_665a08b5-f5dd-4479-8f04-4d9993c12c5e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_515345b2-311b-440f-a1b9-927a79ab440e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1b23f68b-cc97-4320-aa6d-26915073bd7d" 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_665a08b5-f5dd-4479-8f04-4d9993c12c5e" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_1b23f68b-cc97-4320-aa6d-26915073bd7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_ef28817b-0fdb-4388-bdf9-e2cf152e861a" 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_a4f657ec-38ef-44b7-bf58-8310a680d248" 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_ef28817b-0fdb-4388-bdf9-e2cf152e861a" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_a4f657ec-38ef-44b7-bf58-8310a680d248" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_c1cf05f1-e730-4caf-b7ab-1af89f88897f" 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_ef28817b-0fdb-4388-bdf9-e2cf152e861a" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_c1cf05f1-e730-4caf-b7ab-1af89f88897f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_282dbb81-214d-44b7-a19b-3c271651e0ea" 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_InterestExpenseSubordinatedNotesAndDebentures_5c99197b-590c-4e67-8b9f-5592a917d31c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseSubordinatedNotesAndDebentures"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_282dbb81-214d-44b7-a19b-3c271651e0ea" xlink:to="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_5c99197b-590c-4e67-8b9f-5592a917d31c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_815b7cbd-374c-4f02-917e-5db011d2002d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseOtherShortTermBorrowings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_282dbb81-214d-44b7-a19b-3c271651e0ea" xlink:to="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_815b7cbd-374c-4f02-917e-5db011d2002d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_25cb05e0-bbd7-4832-8df0-454438d25e7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_282dbb81-214d-44b7-a19b-3c271651e0ea" xlink:to="loc_us-gaap_InterestExpenseDeposits_25cb05e0-bbd7-4832-8df0-454438d25e7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_7570d9d0-a5ed-4d8b-b02b-f6be09445296" 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_e8afe1a3-ab4b-4fa9-b039-42531cd013d5" 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_7570d9d0-a5ed-4d8b-b02b-f6be09445296" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_e8afe1a3-ab4b-4fa9-b039-42531cd013d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedFees_072c8144-4eab-4f3f-8fca-29234ac48c45" xlink:href="fsbc-20240331.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_7570d9d0-a5ed-4d8b-b02b-f6be09445296" xlink:to="loc_fsbc_LoanRelatedFees_072c8144-4eab-4f3f-8fca-29234ac48c45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ServiceChargesOnDepositAccounts_638d1f1c-887f-4b5d-b6d1-63d05d49adec" xlink:href="fsbc-20240331.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_7570d9d0-a5ed-4d8b-b02b-f6be09445296" xlink:to="loc_fsbc_ServiceChargesOnDepositAccounts_638d1f1c-887f-4b5d-b6d1-63d05d49adec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_4ed9f51e-eb45-473e-bc77-ef7b98655a1f" 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_7570d9d0-a5ed-4d8b-b02b-f6be09445296" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_4ed9f51e-eb45-473e-bc77-ef7b98655a1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_FederalHomeLoanBankStockDividends_d8b77482-b57b-4793-b660-04043fa1f24f" xlink:href="fsbc-20240331.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_7570d9d0-a5ed-4d8b-b02b-f6be09445296" xlink:to="loc_fsbc_FederalHomeLoanBankStockDividends_d8b77482-b57b-4793-b660-04043fa1f24f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_17497e0a-e665-4b50-8eae-ec4d028136c6" 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_7570d9d0-a5ed-4d8b-b02b-f6be09445296" xlink:to="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_17497e0a-e665-4b50-8eae-ec4d028136c6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20240331.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_8e3ba107-b0d0-461a-806e-5ca871fc7da1" 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_5be8751b-719e-40c9-a995-001ee9d10d4c" 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_8e3ba107-b0d0-461a-806e-5ca871fc7da1" xlink:to="loc_us-gaap_NetIncomeLoss_5be8751b-719e-40c9-a995-001ee9d10d4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_c5032929-a0b1-40f7-a549-b6c14e806890" 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_8e3ba107-b0d0-461a-806e-5ca871fc7da1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_c5032929-a0b1-40f7-a549-b6c14e806890" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e13feace-76a6-4310-9cf0-e0cb5d9ac05b" 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_e33cf783-2945-49ab-a6ba-f420b9cdc2f3" 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_e13feace-76a6-4310-9cf0-e0cb5d9ac05b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_e33cf783-2945-49ab-a6ba-f420b9cdc2f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_37635cc7-850c-49ee-9eb9-adeb2ac333a9" 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_e13feace-76a6-4310-9cf0-e0cb5d9ac05b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_37635cc7-850c-49ee-9eb9-adeb2ac333a9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="simple" xlink:href="fsbc-20240331.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a80dde2-55f9-4153-b4e3-d23511563056" 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_IncreaseDecreaseInDeposits_2d77050b-627d-40df-8e80-dbc127b07aee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a80dde2-55f9-4153-b4e3-d23511563056" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_2d77050b-627d-40df-8e80-dbc127b07aee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_80a2c1ce-9e78-43f3-ac13-b77e968e24f9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a80dde2-55f9-4153-b4e3-d23511563056" xlink:to="loc_us-gaap_PaymentsOfDividends_80a2c1ce-9e78-43f3-ac13-b77e968e24f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_427036bf-35ef-480e-bb6d-7cff6c8b438c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromRepaymentsOfOtherDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3a80dde2-55f9-4153-b4e3-d23511563056" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfOtherDebt_427036bf-35ef-480e-bb6d-7cff6c8b438c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_b36c493e-2f2f-48bd-801d-7584b9f7bdbe" 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_1f827561-a09e-4c7e-b62e-215bd0ddff79" 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_b36c493e-2f2f-48bd-801d-7584b9f7bdbe" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1f827561-a09e-4c7e-b62e-215bd0ddff79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1e188c4a-fbed-4e9c-ac20-651bc747fab8" 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_b36c493e-2f2f-48bd-801d-7584b9f7bdbe" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_1e188c4a-fbed-4e9c-ac20-651bc747fab8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5991e347-053d-456a-b9a0-307d54fdb819" 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_b36c493e-2f2f-48bd-801d-7584b9f7bdbe" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5991e347-053d-456a-b9a0-307d54fdb819" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" 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_DeferredIncomeTaxExpenseBenefit_e7c5dd95-7a8d-430b-a6bc-aa058853f808" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e7c5dd95-7a8d-430b-a6bc-aa058853f808" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_ab44f4e3-d133-4029-b0ca-011de844e413" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_NetIncomeLoss_ab44f4e3-d133-4029-b0ca-011de844e413" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_f668bd58-3ead-442d-bb80-cafaeceb8032" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_f668bd58-3ead-442d-bb80-cafaeceb8032" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_c768df8c-38a9-425f-8779-76e63a1922b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_c768df8c-38a9-425f-8779-76e63a1922b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_77c5dd28-a425-41f4-8f62-426de8df0b14" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_77c5dd28-a425-41f4-8f62-426de8df0b14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_dce2bd43-3df3-477a-867e-6070afcb0009" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_DepreciationAndAmortization_dce2bd43-3df3-477a-867e-6070afcb0009" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_69356b93-7cdc-4f15-9129-9d530d3bb1c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_69356b93-7cdc-4f15-9129-9d530d3bb1c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_8e81d41c-830f-4e12-a40b-8c7295efa702" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_8e81d41c-830f-4e12-a40b-8c7295efa702" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_0c9193cd-5231-4b33-a538-7daf716f7faf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfDeferredLoanOriginationFeesNet"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_0c9193cd-5231-4b33-a538-7daf716f7faf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_1f4862d9-b730-4c3d-809a-1c3c89fa4dfe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_1f4862d9-b730-4c3d-809a-1c3c89fa4dfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_a723b707-b03a-4225-9b2b-c71b1e58bd15" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_a723b707-b03a-4225-9b2b-c71b1e58bd15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_a0c6df63-06c9-431f-bdb6-f971ffab65e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_a0c6df63-06c9-431f-bdb6-f971ffab65e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_650244da-423f-4d14-9b4a-9b54cbb73965" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_ShareBasedCompensation_650244da-423f-4d14-9b4a-9b54cbb73965" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_e8e4b2c9-5636-4c9b-858a-9f87defdeb2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_e8e4b2c9-5636-4c9b-858a-9f87defdeb2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_4ed51854-3fea-4acd-88d7-9201205adf3b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_4ed51854-3fea-4acd-88d7-9201205adf3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_42ac7852-5d04-4d93-9f64-a0ca41015c0e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_399f40f3-14bc-420c-bd18-1ec54f7ac185" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_42ac7852-5d04-4d93-9f64-a0ca41015c0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6fe92b23-8024-4b80-a271-5eee6420c7c9" 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_PaymentsToAcquirePropertyPlantAndEquipment_f4ea687e-1a64-4ea3-a129-2e821f10716a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6fe92b23-8024-4b80-a271-5eee6420c7c9" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_f4ea687e-1a64-4ea3-a129-2e821f10716a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_5d229c0e-218f-4d50-bc84-9919caab98aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6fe92b23-8024-4b80-a271-5eee6420c7c9" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_5d229c0e-218f-4d50-bc84-9919caab98aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_4306fd0b-e6cf-455c-b756-b68e689c20ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireLifeInsurancePolicies"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6fe92b23-8024-4b80-a271-5eee6420c7c9" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_4306fd0b-e6cf-455c-b756-b68e689c20ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_54a3abba-e0dd-4b8e-804a-ed5f5d848c09" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfEquityMethodInvestments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6fe92b23-8024-4b80-a271-5eee6420c7c9" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_54a3abba-e0dd-4b8e-804a-ed5f5d848c09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForCapitalCallForEquityInvestment_3e44a6fa-dafb-4730-bbad-9872c531d7d1" xlink:href="fsbc-20240331.xsd#fsbc_PaymentsForCapitalCallForEquityInvestment"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6fe92b23-8024-4b80-a271-5eee6420c7c9" xlink:to="loc_fsbc_PaymentsForCapitalCallForEquityInvestment_3e44a6fa-dafb-4730-bbad-9872c531d7d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_4b693c8d-fc37-446f-a9e6-1b1986a0fc00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6fe92b23-8024-4b80-a271-5eee6420c7c9" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_4b693c8d-fc37-446f-a9e6-1b1986a0fc00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_a4a09cf0-4f02-4997-9f5a-1662a0a12d57" xlink:href="fsbc-20240331.xsd#fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6fe92b23-8024-4b80-a271-5eee6420c7c9" xlink:to="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_a4a09cf0-4f02-4997-9f5a-1662a0a12d57" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesHeldtomaturityDetails" xlink:type="simple" xlink:href="fsbc-20240331.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_b7ff17e8-48bf-4ebc-a309-16bfb40a3d63" 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_f59e0c51-e014-4de9-ad39-1904cd5002d3" 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_b7ff17e8-48bf-4ebc-a309-16bfb40a3d63" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_f59e0c51-e014-4de9-ad39-1904cd5002d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_5e5ba6d6-9cb8-4c98-9017-cce3c539c697" 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_b7ff17e8-48bf-4ebc-a309-16bfb40a3d63" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_5e5ba6d6-9cb8-4c98-9017-cce3c539c697" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_27a943c1-4898-46ba-9f7e-56274130b737" 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_b7ff17e8-48bf-4ebc-a309-16bfb40a3d63" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_27a943c1-4898-46ba-9f7e-56274130b737" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesAvailableforsaleDetails" xlink:type="simple" xlink:href="fsbc-20240331.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_8689f409-f62c-480a-8007-24bdc54fdf13" 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_a9ef0360-958c-4abb-8669-5f7601bd6fa4" 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_8689f409-f62c-480a-8007-24bdc54fdf13" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_a9ef0360-958c-4abb-8669-5f7601bd6fa4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_cf044c15-9cdb-46bd-a9dd-58d380fbd4ca" 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_8689f409-f62c-480a-8007-24bdc54fdf13" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_cf044c15-9cdb-46bd-a9dd-58d380fbd4ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_96b8a7d1-32ce-4565-a1bf-4dba0dda56b3" 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_8689f409-f62c-480a-8007-24bdc54fdf13" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_96b8a7d1-32ce-4565-a1bf-4dba0dda56b3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails" xlink:type="simple" xlink:href="fsbc-20240331.xsd#LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_3ee4a1a8-2524-408f-b9b2-70b8f254e4a9" 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_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_4090c7aa-b6b2-478f-adc4-7f6deb54a6a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_3ee4a1a8-2524-408f-b9b2-70b8f254e4a9" xlink:to="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_4090c7aa-b6b2-478f-adc4-7f6deb54a6a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_b929a737-9e79-44d6-b448-052bafdb9793" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_3ee4a1a8-2524-408f-b9b2-70b8f254e4a9" xlink:to="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_b929a737-9e79-44d6-b448-052bafdb9793" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesCreditQualityIndicatorsRelatedtotheCompanysLoansbyClassDetails" xlink:type="simple" xlink:href="fsbc-20240331.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_c5e99e27-8183-4447-87dd-1e8e03e13101" 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_37ea5340-71fb-4097-abd7-43c3876f1992" 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_c5e99e27-8183-4447-87dd-1e8e03e13101" xlink:to="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_37ea5340-71fb-4097-abd7-43c3876f1992" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolving_453cd3db-8a22-426c-ab90-09b0b1d140f3" 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_c5e99e27-8183-4447-87dd-1e8e03e13101" xlink:to="loc_us-gaap_FinancingReceivableRevolving_453cd3db-8a22-426c-ab90-09b0b1d140f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_7ca63992-3f7c-49f7-a78e-6b7e6f213b51" 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_c5e99e27-8183-4447-87dd-1e8e03e13101" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_7ca63992-3f7c-49f7-a78e-6b7e6f213b51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_abca9e67-7ff2-4e6f-9dc1-f284b7ea98b0" 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_c5e99e27-8183-4447-87dd-1e8e03e13101" xlink:to="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_abca9e67-7ff2-4e6f-9dc1-f284b7ea98b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_e21f5d25-7406-4b4e-bfca-a135d79bf9b4" 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_c5e99e27-8183-4447-87dd-1e8e03e13101" xlink:to="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_e21f5d25-7406-4b4e-bfca-a135d79bf9b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_d16399a8-d4f3-48cc-8cbe-f6d71d8ffdc9" 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_c5e99e27-8183-4447-87dd-1e8e03e13101" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_d16399a8-d4f3-48cc-8cbe-f6d71d8ffdc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_026f2b29-f822-4fdd-901f-b539c2625303" 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_c5e99e27-8183-4447-87dd-1e8e03e13101" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_026f2b29-f822-4fdd-901f-b539c2625303" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_c64197e2-ba4c-4593-930f-9110d6f3e2fd" 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_c5e99e27-8183-4447-87dd-1e8e03e13101" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_c64197e2-ba4c-4593-930f-9110d6f3e2fd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestBearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20240331.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_68348afd-7a23-40fe-891e-b77e0f954415" 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_c14f1424-ef56-4786-88c5-6e849ce8d16f" 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_68348afd-7a23-40fe-891e-b77e0f954415" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_c14f1424-ef56-4786-88c5-6e849ce8d16f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_138a449e-641e-4bbb-a01b-60ab5943f3bf" 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_68348afd-7a23-40fe-891e-b77e0f954415" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_138a449e-641e-4bbb-a01b-60ab5943f3bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_ba444528-340a-45ad-9218-26929e7febce" 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_68348afd-7a23-40fe-891e-b77e0f954415" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_ba444528-340a-45ad-9218-26929e7febce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_e8240923-dc6c-4ab0-b464-46efa9939899" xlink:href="fsbc-20240331.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_68348afd-7a23-40fe-891e-b77e0f954415" xlink:to="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_e8240923-dc6c-4ab0-b464-46efa9939899" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_d5536dab-3a98-4bb6-b8ac-cb91b25b4051" 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_68348afd-7a23-40fe-891e-b77e0f954415" xlink:to="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_d5536dab-3a98-4bb6-b8ac-cb91b25b4051" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="fsbc-20240331.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_808d91ac-20bf-4b00-a34e-4ab65a95dfe3" 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_c088beee-b815-4fa0-98e5-5d31700bc300" 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_808d91ac-20bf-4b00-a34e-4ab65a95dfe3" xlink:to="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_c088beee-b815-4fa0-98e5-5d31700bc300" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_fb344ac7-f609-4430-9e13-7887a3611a72" 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_808d91ac-20bf-4b00-a34e-4ab65a95dfe3" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_fb344ac7-f609-4430-9e13-7887a3611a72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_06bc7880-5828-45d4-b949-edd7f9c3899e" 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_808d91ac-20bf-4b00-a34e-4ab65a95dfe3" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_06bc7880-5828-45d4-b949-edd7f9c3899e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_80cc30eb-0ebc-476e-bd03-51b6077e41e9" 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_808d91ac-20bf-4b00-a34e-4ab65a95dfe3" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_80cc30eb-0ebc-476e-bd03-51b6077e41e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_c78db30c-27a9-44e8-a6db-e89576ccd494" 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_808d91ac-20bf-4b00-a34e-4ab65a95dfe3" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_c78db30c-27a9-44e8-a6db-e89576ccd494" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestExpenseRecognizedonInterestbearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20240331.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_19a2b9f6-ae1b-4821-95a7-bbb2627bf03b" 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_94f27ec0-1a64-4d4e-ab3f-8ebe25b7cf11" 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_19a2b9f6-ae1b-4821-95a7-bbb2627bf03b" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_94f27ec0-1a64-4d4e-ab3f-8ebe25b7cf11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_1d54947c-e2af-4673-a8c8-c353e8a9b747" 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_19a2b9f6-ae1b-4821-95a7-bbb2627bf03b" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_1d54947c-e2af-4673-a8c8-c353e8a9b747" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_e074d247-5d59-4b6c-a635-d2759fd86112" 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_19a2b9f6-ae1b-4821-95a7-bbb2627bf03b" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_e074d247-5d59-4b6c-a635-d2759fd86112" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_f6a6d8ce-17a5-490e-ac6a-79ae61ce9347" xlink:href="fsbc-20240331.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_19a2b9f6-ae1b-4821-95a7-bbb2627bf03b" xlink:to="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_f6a6d8ce-17a5-490e-ac6a-79ae61ce9347" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_a1e3ed09-c747-4878-84fa-5f3f4276e603" 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_19a2b9f6-ae1b-4821-95a7-bbb2627bf03b" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_a1e3ed09-c747-4878-84fa-5f3f4276e603" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
