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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:72e1e1b1-855a-4997-9fd6-e0ff519e9b25,g:15dec058-6b92-4d5a-94bd-0259ac198a8f-->
<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/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="fsbc-20231231.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_dc1a3fb1-30fe-45d4-816d-57d83b3f2e7e" 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_00b29989-34dc-4ce7-80b1-23a11bc962cd" 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_dc1a3fb1-30fe-45d4-816d-57d83b3f2e7e" xlink:to="loc_us-gaap_PreferredStockValue_00b29989-34dc-4ce7-80b1-23a11bc962cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_7b637a6b-4b97-4fee-bce5-a5460459add8" 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_dc1a3fb1-30fe-45d4-816d-57d83b3f2e7e" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_7b637a6b-4b97-4fee-bce5-a5460459add8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_a4828906-6ab9-4e98-8588-b4c5da61a286" 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_dc1a3fb1-30fe-45d4-816d-57d83b3f2e7e" xlink:to="loc_us-gaap_CommonStockValue_a4828906-6ab9-4e98-8588-b4c5da61a286" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_4b14ad7c-f706-4d82-999a-05da33344f09" 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_dc1a3fb1-30fe-45d4-816d-57d83b3f2e7e" xlink:to="loc_us-gaap_CommitmentsAndContingencies_4b14ad7c-f706-4d82-999a-05da33344f09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_5812fd91-e132-4e88-8610-680841078655" 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_dc1a3fb1-30fe-45d4-816d-57d83b3f2e7e" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_5812fd91-e132-4e88-8610-680841078655" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_533dbb83-8367-4f05-a26c-70d29b208500" 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_cef3ec94-b619-4ad5-8180-88259d2cbb47" xlink:href="fsbc-20231231.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_533dbb83-8367-4f05-a26c-70d29b208500" xlink:to="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_cef3ec94-b619-4ad5-8180-88259d2cbb47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtCarryingValue_079f8f93-c162-481e-b222-b423f99d87c6" 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_533dbb83-8367-4f05-a26c-70d29b208500" xlink:to="loc_us-gaap_TimeDepositsAtCarryingValue_079f8f93-c162-481e-b222-b423f99d87c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_6a64e5a3-e192-4d31-bddf-b8a4ce76f40c" 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_533dbb83-8367-4f05-a26c-70d29b208500" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_6a64e5a3-e192-4d31-bddf-b8a4ce76f40c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_08efc59b-c5bc-4c9d-a9b4-e22b14217227" 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_533dbb83-8367-4f05-a26c-70d29b208500" xlink:to="loc_us-gaap_HeldToMaturitySecurities_08efc59b-c5bc-4c9d-a9b4-e22b14217227" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_ec0b21e2-2bae-43bc-985d-b1ebfc163e63" 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_533dbb83-8367-4f05-a26c-70d29b208500" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_ec0b21e2-2bae-43bc-985d-b1ebfc163e63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_4fb3fc1a-e085-4015-b809-bc666b13269d" 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_533dbb83-8367-4f05-a26c-70d29b208500" xlink:to="loc_us-gaap_NotesReceivableNet_4fb3fc1a-e085-4015-b809-bc666b13269d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_213966f7-b37f-471b-9f5b-eeec8bd3b1b0" 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_533dbb83-8367-4f05-a26c-70d29b208500" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_213966f7-b37f-471b-9f5b-eeec8bd3b1b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_eed882a3-42f2-4ee5-b51e-291ac79436ab" 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_533dbb83-8367-4f05-a26c-70d29b208500" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_eed882a3-42f2-4ee5-b51e-291ac79436ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_38e64555-7965-46f5-ac7a-032a00063de6" 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_533dbb83-8367-4f05-a26c-70d29b208500" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_38e64555-7965-46f5-ac7a-032a00063de6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_92202990-9ca3-491b-88e1-c931558fa912" 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_533dbb83-8367-4f05-a26c-70d29b208500" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_92202990-9ca3-491b-88e1-c931558fa912" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_e4ccdd2c-a667-45ca-b995-ae494055ddbe" 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_533dbb83-8367-4f05-a26c-70d29b208500" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_e4ccdd2c-a667-45ca-b995-ae494055ddbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_773cc120-f97b-4aae-8acf-e6342eebc48c" 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_ae87e78a-37d0-4433-a2c6-204d53fa495e" 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_773cc120-f97b-4aae-8acf-e6342eebc48c" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_ae87e78a-37d0-4433-a2c6-204d53fa495e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_2515d7f3-b1e1-4762-91f1-d6ca36d579f3" 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_773cc120-f97b-4aae-8acf-e6342eebc48c" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_2515d7f3-b1e1-4762-91f1-d6ca36d579f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_a94d175b-f0e4-4176-9f6a-60cd0c2e6ca2" 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_4d23a38c-9a0b-4a89-b953-f39624399748" 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_a94d175b-f0e4-4176-9f6a-60cd0c2e6ca2" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_4d23a38c-9a0b-4a89-b953-f39624399748" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_d4870069-6e23-4d2b-970c-9b0fd574fd74" 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_a94d175b-f0e4-4176-9f6a-60cd0c2e6ca2" xlink:to="loc_us-gaap_NotesReceivableGross_d4870069-6e23-4d2b-970c-9b0fd574fd74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_2178b82f-33fb-4cfd-a870-77d7e7fb4545" 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_56473182-e1ca-4f7d-ad76-251a4098b53e" 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_2178b82f-33fb-4cfd-a870-77d7e7fb4545" xlink:to="loc_us-gaap_Liabilities_56473182-e1ca-4f7d-ad76-251a4098b53e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_70015045-0ab2-4257-9e68-8745738aae8f" 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_2178b82f-33fb-4cfd-a870-77d7e7fb4545" xlink:to="loc_us-gaap_StockholdersEquity_70015045-0ab2-4257-9e68-8745738aae8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_d6f0da80-dfe7-425d-9bd4-71298534975d" 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_f99909fa-c8b1-4926-afea-cd08e63ad55d" 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_d6f0da80-dfe7-425d-9bd4-71298534975d" xlink:to="loc_us-gaap_Deposits_f99909fa-c8b1-4926-afea-cd08e63ad55d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_617c2431-c4f0-4a9a-a019-18a7f48d7d55" 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_d6f0da80-dfe7-425d-9bd4-71298534975d" xlink:to="loc_us-gaap_OperatingLeaseLiability_617c2431-c4f0-4a9a-a019-18a7f48d7d55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_f79e5a9f-a795-43bf-9945-e4c73e18c5e4" 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_d6f0da80-dfe7-425d-9bd4-71298534975d" xlink:to="loc_us-gaap_SubordinatedDebt_f79e5a9f-a795-43bf-9945-e4c73e18c5e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_b16bfae2-0dcf-4a69-b8d1-ac7a44d904d5" 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_d6f0da80-dfe7-425d-9bd4-71298534975d" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_b16bfae2-0dcf-4a69-b8d1-ac7a44d904d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_b293c0b2-d106-4d06-871e-9b7ef02171f6" 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_d6f0da80-dfe7-425d-9bd4-71298534975d" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_b293c0b2-d106-4d06-871e-9b7ef02171f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_c0559445-2ac1-42be-ac63-351704f4fa19" xlink:href="fsbc-20231231.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_aa38e0a2-6f51-47e6-8fa9-57c81b5e641f" 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_c0559445-2ac1-42be-ac63-351704f4fa19" xlink:to="loc_us-gaap_CashAndDueFromBanks_aa38e0a2-6f51-47e6-8fa9-57c81b5e641f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_4b7c9ef5-8f69-4ca7-803f-b6ae0056c71c" 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_c0559445-2ac1-42be-ac63-351704f4fa19" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_4b7c9ef5-8f69-4ca7-803f-b6ae0056c71c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="simple" xlink:href="fsbc-20231231.xsd#CONSOLIDATEDSTATEMENTSOFINCOME"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_0bd66ac8-b27e-41b5-bc20-487b2f9348cd" 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_e2cd22e6-4893-4153-96eb-f9bce6445828" 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_0bd66ac8-b27e-41b5-bc20-487b2f9348cd" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_e2cd22e6-4893-4153-96eb-f9bce6445828" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_5654e436-57d1-444a-969b-7d87e3d4eabb" 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_0bd66ac8-b27e-41b5-bc20-487b2f9348cd" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_5654e436-57d1-444a-969b-7d87e3d4eabb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_8b481a12-c539-4a21-965f-ac3cbdeedfd7" 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_8ad6f786-629a-49d3-a179-ba0ee82fdfca" 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_8b481a12-c539-4a21-965f-ac3cbdeedfd7" xlink:to="loc_us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm_8ad6f786-629a-49d3-a179-ba0ee82fdfca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_675daa03-111c-46f1-945d-f85336a878cd" 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_8b481a12-c539-4a21-965f-ac3cbdeedfd7" xlink:to="loc_us-gaap_InterestExpenseDeposits_675daa03-111c-46f1-945d-f85336a878cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_dbf594ee-0b68-48be-b7a0-90a9ecc2a6e6" 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_8b481a12-c539-4a21-965f-ac3cbdeedfd7" xlink:to="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_dbf594ee-0b68-48be-b7a0-90a9ecc2a6e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_f1b8a6f3-77c3-45de-96b5-38dba790ebec" 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_410b7b91-54b7-478a-89f5-66bf0cd79c56" 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_f1b8a6f3-77c3-45de-96b5-38dba790ebec" xlink:to="loc_us-gaap_LaborAndRelatedExpense_410b7b91-54b7-478a-89f5-66bf0cd79c56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_7935d294-f652-45b3-9ffb-2382de351457" 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_f1b8a6f3-77c3-45de-96b5-38dba790ebec" xlink:to="loc_us-gaap_OccupancyNet_7935d294-f652-45b3-9ffb-2382de351457" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_41a98bdf-af0d-4640-b071-c26cc917d7cf" 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_f1b8a6f3-77c3-45de-96b5-38dba790ebec" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_41a98bdf-af0d-4640-b071-c26cc917d7cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_752acdf0-3bb2-479c-8e0d-e70c08b6c90c" 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_f1b8a6f3-77c3-45de-96b5-38dba790ebec" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_752acdf0-3bb2-479c-8e0d-e70c08b6c90c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_40b012fe-af9f-4e4b-9c55-25197c0aadf5" 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_f1b8a6f3-77c3-45de-96b5-38dba790ebec" xlink:to="loc_us-gaap_ProfessionalFees_40b012fe-af9f-4e4b-9c55-25197c0aadf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_967880a0-5ac4-48fb-bed5-2066c142ccfe" 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_f1b8a6f3-77c3-45de-96b5-38dba790ebec" xlink:to="loc_us-gaap_AdvertisingExpense_967880a0-5ac4-48fb-bed5-2066c142ccfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedExpenses_509a821d-1b91-4701-be51-b8e8cc20330f" xlink:href="fsbc-20231231.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_f1b8a6f3-77c3-45de-96b5-38dba790ebec" xlink:to="loc_fsbc_LoanRelatedExpenses_509a821d-1b91-4701-be51-b8e8cc20330f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_eba0aab6-3ed5-4ad9-901f-7f44e9beba05" 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_f1b8a6f3-77c3-45de-96b5-38dba790ebec" xlink:to="loc_us-gaap_OtherNoninterestExpense_eba0aab6-3ed5-4ad9-901f-7f44e9beba05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0055222d-29e5-4d2a-91bf-fcffdea22d00" 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_f94549ac-a1ce-4d87-8a64-ff5530fc0013" 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_0055222d-29e5-4d2a-91bf-fcffdea22d00" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_f94549ac-a1ce-4d87-8a64-ff5530fc0013" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_65d5a6b9-d247-448a-9172-da925c1a9c0b" 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_0055222d-29e5-4d2a-91bf-fcffdea22d00" xlink:to="loc_us-gaap_NoninterestIncome_65d5a6b9-d247-448a-9172-da925c1a9c0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_51e679bd-e6df-4765-9910-1e4a47e64574" 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_0055222d-29e5-4d2a-91bf-fcffdea22d00" xlink:to="loc_us-gaap_NoninterestExpense_51e679bd-e6df-4765-9910-1e4a47e64574" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_1a6d0cc0-ce92-4a9a-ad72-a0177aa8ff9d" 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_8025631e-8a19-4d90-bb7e-cdf7e4c05aca" 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_1a6d0cc0-ce92-4a9a-ad72-a0177aa8ff9d" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_8025631e-8a19-4d90-bb7e-cdf7e4c05aca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_27598f4d-da2f-49b9-b444-31d0a358512c" 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_1a6d0cc0-ce92-4a9a-ad72-a0177aa8ff9d" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_27598f4d-da2f-49b9-b444-31d0a358512c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_5c67a18c-8919-4a74-b89e-983019fd629b" 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_1a6d0cc0-ce92-4a9a-ad72-a0177aa8ff9d" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_5c67a18c-8919-4a74-b89e-983019fd629b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_79c0af36-b3b1-4f22-8e67-228f4b0b8391" 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_1a6d0cc0-ce92-4a9a-ad72-a0177aa8ff9d" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_79c0af36-b3b1-4f22-8e67-228f4b0b8391" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_94f9a563-9aa3-4555-805e-f9f0871e0235" 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_0a1581c7-3918-4ccf-bb5a-f6a696365c61" 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_94f9a563-9aa3-4555-805e-f9f0871e0235" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_0a1581c7-3918-4ccf-bb5a-f6a696365c61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedFees_65a60060-107f-488a-9e12-b3b33775cc9b" xlink:href="fsbc-20231231.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_94f9a563-9aa3-4555-805e-f9f0871e0235" xlink:to="loc_fsbc_LoanRelatedFees_65a60060-107f-488a-9e12-b3b33775cc9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ServiceChargesOnDepositAccounts_b7b413dc-5bfe-4d7b-ac23-bb6f603f4ba4" xlink:href="fsbc-20231231.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_94f9a563-9aa3-4555-805e-f9f0871e0235" xlink:to="loc_fsbc_ServiceChargesOnDepositAccounts_b7b413dc-5bfe-4d7b-ac23-bb6f603f4ba4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_0e59fb68-c133-47a6-8a4e-915227693da4" 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_94f9a563-9aa3-4555-805e-f9f0871e0235" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_0e59fb68-c133-47a6-8a4e-915227693da4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_FederalHomeLoanBankStockDividends_2a5d2898-67e3-48ae-97fa-899bb6caa586" xlink:href="fsbc-20231231.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_94f9a563-9aa3-4555-805e-f9f0871e0235" xlink:to="loc_fsbc_FederalHomeLoanBankStockDividends_2a5d2898-67e3-48ae-97fa-899bb6caa586" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_d39d915d-8f64-4ba6-b2b1-f9ca2fea1fad" 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_94f9a563-9aa3-4555-805e-f9f0871e0235" xlink:to="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_d39d915d-8f64-4ba6-b2b1-f9ca2fea1fad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_f5d07cc0-5758-41cd-a4a4-31f075d87f69" xlink:href="fsbc-20231231.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_94f9a563-9aa3-4555-805e-f9f0871e0235" xlink:to="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_f5d07cc0-5758-41cd-a4a4-31f075d87f69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_244455f9-c716-482b-b7fa-0f66a3fbc545" 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_c5849e1a-7bd2-4a6b-87e9-cdd84f66b677" 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_244455f9-c716-482b-b7fa-0f66a3fbc545" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_c5849e1a-7bd2-4a6b-87e9-cdd84f66b677" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1f2308e9-1377-4e3e-82e2-62f3768a5deb" 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_244455f9-c716-482b-b7fa-0f66a3fbc545" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_1f2308e9-1377-4e3e-82e2-62f3768a5deb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_7b7aeda2-b1c1-4fbe-b9ed-853b696733ed" 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_0ec7d0c7-6141-41c8-a48f-f5b7998db8ae" 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_7b7aeda2-b1c1-4fbe-b9ed-853b696733ed" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_0ec7d0c7-6141-41c8-a48f-f5b7998db8ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_fb382d23-7cce-4fb3-a127-29b54b446c86" 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_7b7aeda2-b1c1-4fbe-b9ed-853b696733ed" xlink:to="loc_us-gaap_InterestExpense_fb382d23-7cce-4fb3-a127-29b54b446c86" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="fsbc-20231231.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4ad19377-3749-457e-8756-b98202588e96" 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_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_bc9098f2-7993-49e6-aac3-7c91e789a2ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4ad19377-3749-457e-8756-b98202588e96" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_bc9098f2-7993-49e6-aac3-7c91e789a2ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_3c587a50-37ef-4c49-87eb-1aa2ceee02c4" xlink:href="fsbc-20231231.xsd#fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4ad19377-3749-457e-8756-b98202588e96" xlink:to="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_3c587a50-37ef-4c49-87eb-1aa2ceee02c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_39552e57-6f1b-4408-84a3-92778405e510" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4ad19377-3749-457e-8756-b98202588e96" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_39552e57-6f1b-4408-84a3-92778405e510" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_914fe0f7-a91e-4f17-b239-2a4037d806c3" 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_9cac117f-2c67-4f2a-823e-5327500c1bb6" 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_914fe0f7-a91e-4f17-b239-2a4037d806c3" xlink:to="loc_us-gaap_NetIncomeLoss_9cac117f-2c67-4f2a-823e-5327500c1bb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0afa840c-a627-4fb3-9f08-1727f5b9b591" 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_914fe0f7-a91e-4f17-b239-2a4037d806c3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0afa840c-a627-4fb3-9f08-1727f5b9b591" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="fsbc-20231231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a2dbf0f-76ee-4ea6-ab34-33d71c37c606" 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_e73c23ca-e960-4516-a927-bbfeb403d0a4" 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_8a2dbf0f-76ee-4ea6-ab34-33d71c37c606" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_e73c23ca-e960-4516-a927-bbfeb403d0a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_5cd3bde9-84f9-4611-a521-fa93986e2e57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a2dbf0f-76ee-4ea6-ab34-33d71c37c606" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_5cd3bde9-84f9-4611-a521-fa93986e2e57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_763cdbcf-0d12-4bd4-b5e7-24a0f2fc528b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a2dbf0f-76ee-4ea6-ab34-33d71c37c606" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_763cdbcf-0d12-4bd4-b5e7-24a0f2fc528b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromFederalHomeLoanBankBorrowings_f4d395f2-6668-4d44-929a-680dcdb9d5df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromFederalHomeLoanBankBorrowings"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a2dbf0f-76ee-4ea6-ab34-33d71c37c606" xlink:to="loc_us-gaap_ProceedsFromFederalHomeLoanBankBorrowings_f4d395f2-6668-4d44-929a-680dcdb9d5df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSubordinatedDebt_42070557-845b-4fdd-ad7b-a4923c6356ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfSubordinatedDebt"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a2dbf0f-76ee-4ea6-ab34-33d71c37c606" xlink:to="loc_us-gaap_RepaymentsOfSubordinatedDebt_42070557-845b-4fdd-ad7b-a4923c6356ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_d26895b0-ccbd-4f9c-afc8-a0ea1e35ee1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8a2dbf0f-76ee-4ea6-ab34-33d71c37c606" xlink:to="loc_us-gaap_PaymentsOfDividends_d26895b0-ccbd-4f9c-afc8-a0ea1e35ee1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c7ae0653-cb31-440d-9f59-358384b4ede0" 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_PaymentsToAcquireAvailableForSaleSecuritiesDebt_05c98017-6ab3-4aa6-ad2b-c66f3bd075d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c7ae0653-cb31-440d-9f59-358384b4ede0" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_05c98017-6ab3-4aa6-ad2b-c66f3bd075d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_bef996c7-f054-4425-9dd8-daa2b38b0228" 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_c7ae0653-cb31-440d-9f59-358384b4ede0" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_bef996c7-f054-4425-9dd8-daa2b38b0228" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_1cda4436-4b59-4ba2-b31f-7975028f6208" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c7ae0653-cb31-440d-9f59-358384b4ede0" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_1cda4436-4b59-4ba2-b31f-7975028f6208" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_b91238f1-5168-482a-ae32-580676488748" 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_c7ae0653-cb31-440d-9f59-358384b4ede0" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_b91238f1-5168-482a-ae32-580676488748" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForCapitalCallForVentureBackedInvestment_97f63fc9-b30a-4230-bc0d-bbc38b01f5c2" xlink:href="fsbc-20231231.xsd#fsbc_PaymentsForCapitalCallForVentureBackedInvestment"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c7ae0653-cb31-440d-9f59-358384b4ede0" xlink:to="loc_fsbc_PaymentsForCapitalCallForVentureBackedInvestment_97f63fc9-b30a-4230-bc0d-bbc38b01f5c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProceedsReceivedFromVentureBackedInvestment_d3ca548c-884b-426e-b36d-68112c64498d" xlink:href="fsbc-20231231.xsd#fsbc_ProceedsReceivedFromVentureBackedInvestment"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c7ae0653-cb31-440d-9f59-358384b4ede0" xlink:to="loc_fsbc_ProceedsReceivedFromVentureBackedInvestment_d3ca548c-884b-426e-b36d-68112c64498d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_68826650-f7e9-4908-8049-d4ded9a6e113" xlink:href="fsbc-20231231.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_c7ae0653-cb31-440d-9f59-358384b4ede0" xlink:to="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_68826650-f7e9-4908-8049-d4ded9a6e113" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_4941ed0d-fedf-47e2-a972-2495bfd0a76b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c7ae0653-cb31-440d-9f59-358384b4ede0" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_4941ed0d-fedf-47e2-a972-2495bfd0a76b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_f3f7eb70-fa6d-4f1d-a46d-1f1541b04903" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c7ae0653-cb31-440d-9f59-358384b4ede0" xlink:to="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_f3f7eb70-fa6d-4f1d-a46d-1f1541b04903" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProceedsFromLowIncomeHousingCredits_4fea34ca-5be2-4d3b-b20b-f95043bb4e3e" xlink:href="fsbc-20231231.xsd#fsbc_ProceedsFromLowIncomeHousingCredits"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c7ae0653-cb31-440d-9f59-358384b4ede0" xlink:to="loc_fsbc_ProceedsFromLowIncomeHousingCredits_4fea34ca-5be2-4d3b-b20b-f95043bb4e3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_87f2f9d3-cea1-476b-a509-eac82a77091d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c7ae0653-cb31-440d-9f59-358384b4ede0" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_87f2f9d3-cea1-476b-a509-eac82a77091d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" 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_IncreaseDecreaseInAccruedInterestReceivableNet_ef55fbe1-d0fb-48b2-ba78-79717be7c667" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_ef55fbe1-d0fb-48b2-ba78-79717be7c667" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProceedsFromCancellationOfNoteIssuanceCosts_0b45b211-92dd-43ee-ae62-76b4c4f392c3" xlink:href="fsbc-20231231.xsd#fsbc_ProceedsFromCancellationOfNoteIssuanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_fsbc_ProceedsFromCancellationOfNoteIssuanceCosts_0b45b211-92dd-43ee-ae62-76b4c4f392c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_bc44ccce-ba9f-475a-b09d-77cb60eec206" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_bc44ccce-ba9f-475a-b09d-77cb60eec206" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_7d74c5d7-7b73-4326-8f6f-890b35bce612" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_7d74c5d7-7b73-4326-8f6f-890b35bce612" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_309ec5b2-af06-4644-b3bd-f2d25306c580" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_309ec5b2-af06-4644-b3bd-f2d25306c580" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_5f648b91-b044-4a97-b3a0-c83023928acd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfDeferredLoanOriginationFeesNet"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_5f648b91-b044-4a97-b3a0-c83023928acd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_4d7eb6db-cd0d-4464-93c7-142a33dc8797" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_4d7eb6db-cd0d-4464-93c7-142a33dc8797" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_377ef6c2-3515-466b-b604-1086eb21da3c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_377ef6c2-3515-466b-b604-1086eb21da3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_7f7a0a70-ab39-4976-8610-8bb1183f8fd2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_7f7a0a70-ab39-4976-8610-8bb1183f8fd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_e5bff014-e051-45c9-a799-4aa4740d3e25" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_e5bff014-e051-45c9-a799-4aa4740d3e25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_7ebb0e85-59fa-4afd-95a8-8b0566e0376d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_7ebb0e85-59fa-4afd-95a8-8b0566e0376d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_66bc47af-9e72-4efa-aa09-68810a0d108b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_NetIncomeLoss_66bc47af-9e72-4efa-aa09-68810a0d108b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_c9d2ba76-a0f5-498a-977d-8dff323f1e75" 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_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_ShareBasedCompensation_c9d2ba76-a0f5-498a-977d-8dff323f1e75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_1631e78a-14ea-4435-af3c-4ce22d990ca3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_DepreciationAndAmortization_1631e78a-14ea-4435-af3c-4ce22d990ca3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_e12fb68a-50fc-4061-8d68-e06033c9d729" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_e12fb68a-50fc-4061-8d68-e06033c9d729" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_d3765d3d-7771-4fe3-b4f1-3c87356209aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_d3765d3d-7771-4fe3-b4f1-3c87356209aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_9faea847-44d8-4c9c-bc8c-f3ef4f60894a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_9faea847-44d8-4c9c-bc8c-f3ef4f60894a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_e46a3ff1-bf84-4884-8bd4-25ff94010dda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_84e797a5-df77-4f9d-a9af-43488bfc5e99" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_e46a3ff1-bf84-4884-8bd4-25ff94010dda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_173e0621-d96b-4bb7-a997-977de30cc2e3" 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_NetCashProvidedByUsedInFinancingActivities_6c144a1d-c14c-4077-b359-989f52a52e07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_173e0621-d96b-4bb7-a997-977de30cc2e3" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6c144a1d-c14c-4077-b359-989f52a52e07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28e3f5b7-c1b0-4307-84bc-0daba4d1c8ef" 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_173e0621-d96b-4bb7-a997-977de30cc2e3" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28e3f5b7-c1b0-4307-84bc-0daba4d1c8ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_aba61c92-413c-4523-a0a4-0295c44a59a4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_173e0621-d96b-4bb7-a997-977de30cc2e3" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_aba61c92-413c-4523-a0a4-0295c44a59a4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesHeldtomaturityDetails" xlink:type="simple" xlink:href="fsbc-20231231.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_b34320a2-9c6c-4fe8-9699-8dcc61909bc5" 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_53bdca52-7c08-49d5-8551-8c838e58f503" 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_b34320a2-9c6c-4fe8-9699-8dcc61909bc5" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_53bdca52-7c08-49d5-8551-8c838e58f503" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_93177a50-2813-4f2b-9cdb-9c4f1d2e5713" 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_b34320a2-9c6c-4fe8-9699-8dcc61909bc5" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_93177a50-2813-4f2b-9cdb-9c4f1d2e5713" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_dcbe2d2b-3191-47ed-b50f-9806f13a0d39" 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_b34320a2-9c6c-4fe8-9699-8dcc61909bc5" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_dcbe2d2b-3191-47ed-b50f-9806f13a0d39" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesAvailableforsaleDetails" xlink:type="simple" xlink:href="fsbc-20231231.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_58ae699b-439f-4b83-9664-30b86bf36ed8" 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_8588646d-dcd5-40e8-88c2-258b41a66b2e" 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_58ae699b-439f-4b83-9664-30b86bf36ed8" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_8588646d-dcd5-40e8-88c2-258b41a66b2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0bdf10ed-cbeb-4396-9370-078210b8995d" 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_58ae699b-439f-4b83-9664-30b86bf36ed8" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0bdf10ed-cbeb-4396-9370-078210b8995d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_2128cdae-39db-4b71-ba26-e76e44ede3b8" 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_58ae699b-439f-4b83-9664-30b86bf36ed8" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_2128cdae-39db-4b71-ba26-e76e44ede3b8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails" xlink:type="simple" xlink:href="fsbc-20231231.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_058fc81f-7f3c-48c9-9e13-e171675cd824" 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_64e87b31-c2dd-4b93-ab17-8f2c39315194" 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_058fc81f-7f3c-48c9-9e13-e171675cd824" xlink:to="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_64e87b31-c2dd-4b93-ab17-8f2c39315194" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_e46dd928-02ea-43e3-ab93-30c502b0d6ae" 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_058fc81f-7f3c-48c9-9e13-e171675cd824" xlink:to="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_e46dd928-02ea-43e3-ab93-30c502b0d6ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_552837cb-0899-459f-9390-bdb53312fbf6" 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_058fc81f-7f3c-48c9-9e13-e171675cd824" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_552837cb-0899-459f-9390-bdb53312fbf6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesCreditQualityIndicatorsRelatedtotheCompanysLoansbyClassDetails" xlink:type="simple" xlink:href="fsbc-20231231.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_8815b3ed-3174-41f7-b017-2c2a6ea76c27" 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_0032f254-eb03-4ad3-abf9-dd1b44ea884d" 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_8815b3ed-3174-41f7-b017-2c2a6ea76c27" xlink:to="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_0032f254-eb03-4ad3-abf9-dd1b44ea884d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolving_7ca1a611-bc71-43c1-a7d5-187318bbe74d" 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_8815b3ed-3174-41f7-b017-2c2a6ea76c27" xlink:to="loc_us-gaap_FinancingReceivableRevolving_7ca1a611-bc71-43c1-a7d5-187318bbe74d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_bef148a0-3dc7-4a14-99d2-7961e0d67572" 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_8815b3ed-3174-41f7-b017-2c2a6ea76c27" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_bef148a0-3dc7-4a14-99d2-7961e0d67572" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_22526da1-fbe7-4b2e-8727-0aeffeca530d" 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_8815b3ed-3174-41f7-b017-2c2a6ea76c27" xlink:to="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_22526da1-fbe7-4b2e-8727-0aeffeca530d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_ded9d287-1479-4fb5-b870-b4350c7edbf5" 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_8815b3ed-3174-41f7-b017-2c2a6ea76c27" xlink:to="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_ded9d287-1479-4fb5-b870-b4350c7edbf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_7d4dd07d-a8c9-41a5-b230-8ae0a8d2763f" 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_8815b3ed-3174-41f7-b017-2c2a6ea76c27" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_7d4dd07d-a8c9-41a5-b230-8ae0a8d2763f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_0a85c44c-389f-45e6-99c3-0e7021f9bb51" 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_8815b3ed-3174-41f7-b017-2c2a6ea76c27" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_0a85c44c-389f-45e6-99c3-0e7021f9bb51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_d24006d9-01af-4e7b-b802-3ac022806789" 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_8815b3ed-3174-41f7-b017-2c2a6ea76c27" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_d24006d9-01af-4e7b-b802-3ac022806789" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/PremisesandEquipmentNetScheduleofPremisesandEquipmentDetails" xlink:type="simple" xlink:href="fsbc-20231231.xsd#PremisesandEquipmentNetScheduleofPremisesandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/PremisesandEquipmentNetScheduleofPremisesandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_0e1b0b34-eeb5-40b5-8315-ac0831cfd7cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_a010f1a6-a1be-4ca0-9c1b-c9af2117506b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_0e1b0b34-eeb5-40b5-8315-ac0831cfd7cf" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_a010f1a6-a1be-4ca0-9c1b-c9af2117506b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_9cfff01e-81b9-4d26-8013-060978c9cbc9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_0e1b0b34-eeb5-40b5-8315-ac0831cfd7cf" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_9cfff01e-81b9-4d26-8013-060978c9cbc9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestReceivableandOtherAssetsSummaryofInterestReceivableandOtherAssetsDetails" xlink:type="simple" xlink:href="fsbc-20231231.xsd#InterestReceivableandOtherAssetsSummaryofInterestReceivableandOtherAssetsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InterestReceivableandOtherAssetsSummaryofInterestReceivableandOtherAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_d5310f5d-2abf-4aa1-8773-e15cfa866c1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestReceivableAndOtherAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_940600f6-952e-4a67-95ef-582f63ee10dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_d5310f5d-2abf-4aa1-8773-e15cfa866c1e" xlink:to="loc_us-gaap_InterestReceivable_940600f6-952e-4a67-95ef-582f63ee10dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAsset_f375c942-d321-4396-97be-3168e950451b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ServicingAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_d5310f5d-2abf-4aa1-8773-e15cfa866c1e" xlink:to="loc_us-gaap_ServicingAsset_f375c942-d321-4396-97be-3168e950451b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_c9421627-8f3d-49d9-b146-c50547b89653" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_d5310f5d-2abf-4aa1-8773-e15cfa866c1e" xlink:to="loc_us-gaap_EquityMethodInvestments_c9421627-8f3d-49d9-b146-c50547b89653" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_1cd2b3b4-aab1-4269-918b-35d240e59299" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_d5310f5d-2abf-4aa1-8773-e15cfa866c1e" xlink:to="loc_us-gaap_OtherAssets_1cd2b3b4-aab1-4269-918b-35d240e59299" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LowIncomeHousingTaxCredits_cbcca1e5-6a4c-4e7f-b807-1a8ed0ade0eb" xlink:href="fsbc-20231231.xsd#fsbc_LowIncomeHousingTaxCredits"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_d5310f5d-2abf-4aa1-8773-e15cfa866c1e" xlink:to="loc_fsbc_LowIncomeHousingTaxCredits_cbcca1e5-6a4c-4e7f-b807-1a8ed0ade0eb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestBearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20231231.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_b25850b6-a594-4bee-8219-44ba64b84aa0" 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_5a31cacf-55ef-49e3-aed0-dbabfb5c1f42" 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_b25850b6-a594-4bee-8219-44ba64b84aa0" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_5a31cacf-55ef-49e3-aed0-dbabfb5c1f42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_02c28564-16c5-4de3-82f5-f59546f5cafe" 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_b25850b6-a594-4bee-8219-44ba64b84aa0" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_02c28564-16c5-4de3-82f5-f59546f5cafe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_2b632c55-fc6b-4c9a-afbd-30c75bb8ef74" 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_b25850b6-a594-4bee-8219-44ba64b84aa0" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_2b632c55-fc6b-4c9a-afbd-30c75bb8ef74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_c559a225-07ea-4d56-8fbf-ccf11e11d16d" xlink:href="fsbc-20231231.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_b25850b6-a594-4bee-8219-44ba64b84aa0" xlink:to="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_c559a225-07ea-4d56-8fbf-ccf11e11d16d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_566c4757-1cc4-425a-8981-b7ab08b2625c" 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_b25850b6-a594-4bee-8219-44ba64b84aa0" xlink:to="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_566c4757-1cc4-425a-8981-b7ab08b2625c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDeposits_da7dc147-4dbe-42fe-a29e-c3f40621ad88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_968fbe37-c002-487f-b66c-9813763d03cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestBearingDomesticDepositOtherTimeDeposit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_da7dc147-4dbe-42fe-a29e-c3f40621ad88" xlink:to="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_968fbe37-c002-487f-b66c-9813763d03cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_b81c3f89-5300-4dc9-b06a-e1e4fdba24dc" xlink:href="fsbc-20231231.xsd#fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_da7dc147-4dbe-42fe-a29e-c3f40621ad88" xlink:to="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_b81c3f89-5300-4dc9-b06a-e1e4fdba24dc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="fsbc-20231231.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_f53ca79c-251d-4f4e-a0cc-b469049c080a" 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_TimeDepositMaturitiesYearOne_31a74eec-a02f-4f66-87a9-6cfbb0d920bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimeDepositMaturitiesYearOne"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_f53ca79c-251d-4f4e-a0cc-b469049c080a" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_31a74eec-a02f-4f66-87a9-6cfbb0d920bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_12a7756e-4e3b-4b11-8e00-a3d619ccd425" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimeDepositMaturitiesYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_f53ca79c-251d-4f4e-a0cc-b469049c080a" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_12a7756e-4e3b-4b11-8e00-a3d619ccd425" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFive_7d8c8c26-0bdb-45d2-8aa0-81e9264229f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimeDepositMaturitiesYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_f53ca79c-251d-4f4e-a0cc-b469049c080a" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFive_7d8c8c26-0bdb-45d2-8aa0-81e9264229f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_ecfd2e15-694b-43bc-8032-4f255d68b4b0" 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_f53ca79c-251d-4f4e-a0cc-b469049c080a" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_ecfd2e15-694b-43bc-8032-4f255d68b4b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_815d7852-d6a9-4070-8be1-e50f26cdb33c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TimeDepositMaturitiesYearThree"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_f53ca79c-251d-4f4e-a0cc-b469049c080a" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_815d7852-d6a9-4070-8be1-e50f26cdb33c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestExpenseRecognizedonInterestbearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20231231.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_718f2a5e-2907-4198-bc7e-2a06b50cf4b7" 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_cf774a2d-c2e6-462d-bdd1-acf150c4916f" 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_718f2a5e-2907-4198-bc7e-2a06b50cf4b7" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_cf774a2d-c2e6-462d-bdd1-acf150c4916f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_2e409e5c-8e01-4659-98b7-a5ae7b84b162" 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_718f2a5e-2907-4198-bc7e-2a06b50cf4b7" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_2e409e5c-8e01-4659-98b7-a5ae7b84b162" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_1d71a948-abc2-40f8-b2a4-d619c476ce03" 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_718f2a5e-2907-4198-bc7e-2a06b50cf4b7" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_1d71a948-abc2-40f8-b2a4-d619c476ce03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_4fc5f8e8-c223-4b99-bad6-b4e4ae76e41a" xlink:href="fsbc-20231231.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_718f2a5e-2907-4198-bc7e-2a06b50cf4b7" xlink:to="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_4fc5f8e8-c223-4b99-bad6-b4e4ae76e41a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_ebc321df-dfd0-4163-beda-4dcfd83551ec" 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_718f2a5e-2907-4198-bc7e-2a06b50cf4b7" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_ebc321df-dfd0-4163-beda-4dcfd83551ec" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesfromConversionfromanSCorptoaCCorpDetails" xlink:type="simple" xlink:href="fsbc-20231231.xsd#IncomeTaxesProvisionforIncomeTaxesfromConversionfromanSCorptoaCCorpDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesfromConversionfromanSCorptoaCCorpDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_a5d6679f-6657-4c06-8279-e042f7a5b39e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_e5fe972d-f0b8-448b-9f25-36491bf45837" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a5d6679f-6657-4c06-8279-e042f7a5b39e" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_e5fe972d-f0b8-448b-9f25-36491bf45837" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_177347cb-cda9-4d6a-bce2-13f6ff62b416" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a5d6679f-6657-4c06-8279-e042f7a5b39e" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_177347cb-cda9-4d6a-bce2-13f6ff62b416" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_6076c975-8399-4474-89ce-66f4d3a2de90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_a5d6679f-6657-4c06-8279-e042f7a5b39e" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_6076c975-8399-4474-89ce-66f4d3a2de90" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="fsbc-20231231.xsd#IncomeTaxesProvisionforIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_64604c59-9940-4a26-9f9b-eeec548af696" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_9e0f7124-1a5c-47ca-8aef-9d0d68c36681" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_64604c59-9940-4a26-9f9b-eeec548af696" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_9e0f7124-1a5c-47ca-8aef-9d0d68c36681" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_e435b401-b55d-4d54-9ae6-304511410766" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_64604c59-9940-4a26-9f9b-eeec548af696" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_e435b401-b55d-4d54-9ae6-304511410766" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_693d15cb-e731-4d21-81c6-cd935bf919aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_e2a75e3a-136b-4075-94f6-eff980863a49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_693d15cb-e731-4d21-81c6-cd935bf919aa" xlink:to="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_e2a75e3a-136b-4075-94f6-eff980863a49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_00ba6632-a2f7-487a-ac89-412d7aa2b98f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_693d15cb-e731-4d21-81c6-cd935bf919aa" xlink:to="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_00ba6632-a2f7-487a-ac89-412d7aa2b98f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_24be0852-5e0a-4709-8c4c-f8e07f6ba6f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_71583bb1-1e84-4027-bbac-479271ed9917" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_24be0852-5e0a-4709-8c4c-f8e07f6ba6f6" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_71583bb1-1e84-4027-bbac-479271ed9917" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_3f875a2a-1738-45c1-a92c-39e0cb76ba00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_24be0852-5e0a-4709-8c4c-f8e07f6ba6f6" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_3f875a2a-1738-45c1-a92c-39e0cb76ba00" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesScheduleofDeferredTaxAssetsDetails" xlink:type="simple" xlink:href="fsbc-20231231.xsd#IncomeTaxesScheduleofDeferredTaxAssetsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/IncomeTaxesScheduleofDeferredTaxAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_d48a4f1f-1726-4ce0-a077-ca71e9fa18c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_faf0900c-5c64-48fe-94cb-22b8be442329" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d48a4f1f-1726-4ce0-a077-ca71e9fa18c0" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_faf0900c-5c64-48fe-94cb-22b8be442329" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_f31a4d35-510d-4b58-875e-3340f5454585" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d48a4f1f-1726-4ce0-a077-ca71e9fa18c0" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_f31a4d35-510d-4b58-875e-3340f5454585" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_f1d6b138-35cd-4c79-a1ce-164815d6483d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d48a4f1f-1726-4ce0-a077-ca71e9fa18c0" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_f1d6b138-35cd-4c79-a1ce-164815d6483d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_DeferredTaxAssetsRightOfUseLiability_08ca825e-c827-4b14-99d0-9b6e57b302c2" xlink:href="fsbc-20231231.xsd#fsbc_DeferredTaxAssetsRightOfUseLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d48a4f1f-1726-4ce0-a077-ca71e9fa18c0" xlink:to="loc_fsbc_DeferredTaxAssetsRightOfUseLiability_08ca825e-c827-4b14-99d0-9b6e57b302c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsStateTaxes_d9b8ef2f-f1c1-45ae-b57c-d2b098f631f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsStateTaxes"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d48a4f1f-1726-4ce0-a077-ca71e9fa18c0" xlink:to="loc_us-gaap_DeferredTaxAssetsStateTaxes_d9b8ef2f-f1c1-45ae-b57c-d2b098f631f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_c2310430-2d13-4fa5-9970-7f269d3dca96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d48a4f1f-1726-4ce0-a077-ca71e9fa18c0" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_c2310430-2d13-4fa5-9970-7f269d3dca96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_DeferredTaxAssetsGainLossOnAvailableForSaleAssets_defef239-4377-49b1-afa0-b1e27cb68266" xlink:href="fsbc-20231231.xsd#fsbc_DeferredTaxAssetsGainLossOnAvailableForSaleAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_d48a4f1f-1726-4ce0-a077-ca71e9fa18c0" xlink:to="loc_fsbc_DeferredTaxAssetsGainLossOnAvailableForSaleAssets_defef239-4377-49b1-afa0-b1e27cb68266" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_80a089a5-cc26-436a-a50a-48594566131e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_b3d12996-a831-42db-a1e7-27f1b67259ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_80a089a5-cc26-436a-a50a-48594566131e" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_b3d12996-a831-42db-a1e7-27f1b67259ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_56b2265b-786d-4279-9003-4057eab08554" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_80a089a5-cc26-436a-a50a-48594566131e" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_56b2265b-786d-4279-9003-4057eab08554" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_8efbbae6-9b03-425a-b782-2d9299fc99cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_80a089a5-cc26-436a-a50a-48594566131e" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_8efbbae6-9b03-425a-b782-2d9299fc99cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts_ca8033fd-7285-41a8-a4b4-e7b16387b9e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_80a089a5-cc26-436a-a50a-48594566131e" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts_ca8033fd-7285-41a8-a4b4-e7b16387b9e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_b8ede60c-590f-4ade-91ad-cafd6db16534" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_7a932830-55fa-4d5e-b90a-6acb44f29d27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_b8ede60c-590f-4ade-91ad-cafd6db16534" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_7a932830-55fa-4d5e-b90a-6acb44f29d27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_aa20a180-6f94-4f8d-9939-d6ef8889752e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_b8ede60c-590f-4ade-91ad-cafd6db16534" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_aa20a180-6f94-4f8d-9939-d6ef8889752e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofLeaseCostDetails" xlink:type="simple" xlink:href="fsbc-20231231.xsd#CommitmentsandContingenciesScheduleofLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_bf9a4317-6f6d-4220-93d2-64bd79f8d929" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_9869c2ce-d2c3-45b1-a3a9-e8c67151fffa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_bf9a4317-6f6d-4220-93d2-64bd79f8d929" xlink:to="loc_us-gaap_OperatingLeaseCost_9869c2ce-d2c3-45b1-a3a9-e8c67151fffa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_54cf32d6-abbd-4c3a-bbec-cc3d0616856a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubleaseIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_bf9a4317-6f6d-4220-93d2-64bd79f8d929" xlink:to="loc_us-gaap_SubleaseIncome_54cf32d6-abbd-4c3a-bbec-cc3d0616856a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails" xlink:type="simple" xlink:href="fsbc-20231231.xsd#CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ec030505-4ba2-49ab-96b7-c2966c62ded3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_8516446d-28be-4403-989a-425bb1f18bbf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ec030505-4ba2-49ab-96b7-c2966c62ded3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_8516446d-28be-4403-989a-425bb1f18bbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_9dd1eff9-b2c3-44e9-9759-c496fc48f711" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ec030505-4ba2-49ab-96b7-c2966c62ded3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_9dd1eff9-b2c3-44e9-9759-c496fc48f711" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_721d166b-e3ff-4ca4-8b5f-084772ff9048" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ec030505-4ba2-49ab-96b7-c2966c62ded3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_721d166b-e3ff-4ca4-8b5f-084772ff9048" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_5e814fe3-2339-4780-946c-7bd3584886e7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ec030505-4ba2-49ab-96b7-c2966c62ded3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_5e814fe3-2339-4780-946c-7bd3584886e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_f1ede0d0-c50e-4ea2-b219-1eede0794d55" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ec030505-4ba2-49ab-96b7-c2966c62ded3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_f1ede0d0-c50e-4ea2-b219-1eede0794d55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_3a1ad078-e4ac-4d99-ad40-c94f04eeeb4d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ec030505-4ba2-49ab-96b7-c2966c62ded3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_3a1ad078-e4ac-4d99-ad40-c94f04eeeb4d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails_1" xlink:type="simple" xlink:href="fsbc-20231231.xsd#CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails_1"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_2364884e-923e-4440-8b33-933d121c1936" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue_a31cea1f-72af-4797-9440-1ce583043614" xlink:href="fsbc-20231231.xsd#fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_2364884e-923e-4440-8b33-933d121c1936" xlink:to="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue_a31cea1f-72af-4797-9440-1ce583043614" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_d40de601-d815-4e80-a695-538a9a802951" 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_LesseeOperatingLeaseLiabilityPaymentsDue_2364884e-923e-4440-8b33-933d121c1936" xlink:to="loc_us-gaap_OperatingLeaseLiability_d40de601-d815-4e80-a695-538a9a802951" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationBalanceSheetDetails" xlink:type="simple" xlink:href="fsbc-20231231.xsd#ParentCompanyOnlyCondensedFinancialInformationBalanceSheetDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_ce61a7f3-b99f-463c-a9b4-a7865f467b6d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_b0fa863d-eba1-4377-a14c-5e7eed505b2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ce61a7f3-b99f-463c-a9b4-a7865f467b6d" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_b0fa863d-eba1-4377-a14c-5e7eed505b2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InvestmentInBankingSubsidiary_a8a49279-7e15-4f64-bb88-eab27ca55e7f" xlink:href="fsbc-20231231.xsd#fsbc_InvestmentInBankingSubsidiary"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ce61a7f3-b99f-463c-a9b4-a7865f467b6d" xlink:to="loc_fsbc_InvestmentInBankingSubsidiary_a8a49279-7e15-4f64-bb88-eab27ca55e7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_d303d083-ac87-439d-a18a-6673c903cac8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ce61a7f3-b99f-463c-a9b4-a7865f467b6d" xlink:to="loc_us-gaap_OtherAssets_d303d083-ac87-439d-a18a-6673c903cac8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationStatementofIncomeDetails" xlink:type="simple" xlink:href="fsbc-20231231.xsd#ParentCompanyOnlyCondensedFinancialInformationStatementofIncomeDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationStatementofIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_08dc9f71-4b24-4bb7-a6a7-a4aa0c1b815e" 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_InterestAndDividendIncomeOperating_48fac27a-d029-4691-b358-dff3d9c28356" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_08dc9f71-4b24-4bb7-a6a7-a4aa0c1b815e" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_48fac27a-d029-4691-b358-dff3d9c28356" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_9a2a070a-da9a-44a5-8e35-aa90da418f27" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_08dc9f71-4b24-4bb7-a6a7-a4aa0c1b815e" xlink:to="loc_us-gaap_InterestExpense_9a2a070a-da9a-44a5-8e35-aa90da418f27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_c1486b42-7eaf-48a7-b027-062c7da0ad36" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherExpenses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_08dc9f71-4b24-4bb7-a6a7-a4aa0c1b815e" xlink:to="loc_us-gaap_OtherExpenses_c1486b42-7eaf-48a7-b027-062c7da0ad36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_987dfb27-1486-464d-82bd-410d9357de99" 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_c810f3c5-6a52-461f-8ec4-8b4240a3d20e" 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_987dfb27-1486-464d-82bd-410d9357de99" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_c810f3c5-6a52-461f-8ec4-8b4240a3d20e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_SubsidiaryOrEquityMethodInvesteeUndistributedBankingSubsidiaryIncome_a5d53f48-5fa9-4e3e-990a-d4e3c95e4cfe" xlink:href="fsbc-20231231.xsd#fsbc_SubsidiaryOrEquityMethodInvesteeUndistributedBankingSubsidiaryIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_987dfb27-1486-464d-82bd-410d9357de99" xlink:to="loc_fsbc_SubsidiaryOrEquityMethodInvesteeUndistributedBankingSubsidiaryIncome_a5d53f48-5fa9-4e3e-990a-d4e3c95e4cfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_d5469079-2b85-4d7f-b242-5bfb159cfe9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_987dfb27-1486-464d-82bd-410d9357de99" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_d5469079-2b85-4d7f-b242-5bfb159cfe9d" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
