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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:7d4cdb12-3477-44d0-baa2-d78f9fc8dbeb,g:be01a6c2-87da-4aa5-8e93-e26ea6bdd59f-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETSUnaudited" xlink:type="simple" xlink:href="fsbc-20220630.xsd#CONSOLIDATEDBALANCESHEETSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_afa0dc91-19f5-4462-9669-5c5eb709de60" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_76aff0f6-5842-4b8a-870e-9c139a6d17e6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_afa0dc91-19f5-4462-9669-5c5eb709de60" xlink:to="loc_us-gaap_Liabilities_76aff0f6-5842-4b8a-870e-9c139a6d17e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_c09aa0a6-b667-4999-a47b-99fdc2692195" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_afa0dc91-19f5-4462-9669-5c5eb709de60" xlink:to="loc_us-gaap_StockholdersEquity_c09aa0a6-b667-4999-a47b-99fdc2692195" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_9567dd23-5b16-4f35-9519-6e569dd1a85e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_9ab9921b-e8d2-4c29-8e13-85059048b6ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9567dd23-5b16-4f35-9519-6e569dd1a85e" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_9ab9921b-e8d2-4c29-8e13-85059048b6ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_2edf5a0f-057b-46ba-878f-7763c6e3d7bb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9567dd23-5b16-4f35-9519-6e569dd1a85e" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_2edf5a0f-057b-46ba-878f-7763c6e3d7bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_3d066335-33f5-46ed-8d34-6382384ed974" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_f2998167-dc6a-4c65-93ce-27e37010ba34" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3d066335-33f5-46ed-8d34-6382384ed974" xlink:to="loc_us-gaap_Deposits_f2998167-dc6a-4c65-93ce-27e37010ba34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_e979e4fe-068f-4a43-8881-dd7daf844a96" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3d066335-33f5-46ed-8d34-6382384ed974" xlink:to="loc_us-gaap_OperatingLeaseLiability_e979e4fe-068f-4a43-8881-dd7daf844a96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_851956a1-245d-4a9e-8e9c-56164954c7d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3d066335-33f5-46ed-8d34-6382384ed974" xlink:to="loc_us-gaap_SubordinatedDebt_851956a1-245d-4a9e-8e9c-56164954c7d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_ba7f5755-0418-40ea-9619-32339aecaf13" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3d066335-33f5-46ed-8d34-6382384ed974" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_ba7f5755-0418-40ea-9619-32339aecaf13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_6d6c7024-91af-446b-a72a-2c931092b587" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3d066335-33f5-46ed-8d34-6382384ed974" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_6d6c7024-91af-446b-a72a-2c931092b587" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_a63a135a-02d3-4696-b4c2-c60d120d1ce4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_a6b553c5-a6e1-4b10-a5fd-d4172bc2beb2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a63a135a-02d3-4696-b4c2-c60d120d1ce4" xlink:to="loc_us-gaap_PreferredStockValue_a6b553c5-a6e1-4b10-a5fd-d4172bc2beb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_39fc3933-e0f6-45c5-ae98-fd729d4bc879" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a63a135a-02d3-4696-b4c2-c60d120d1ce4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_39fc3933-e0f6-45c5-ae98-fd729d4bc879" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_c758383a-c3fe-480b-b481-ee0f937c308d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a63a135a-02d3-4696-b4c2-c60d120d1ce4" xlink:to="loc_us-gaap_CommonStockValue_c758383a-c3fe-480b-b481-ee0f937c308d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_2afee2a1-e78c-4760-8c85-d183ed885f5e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a63a135a-02d3-4696-b4c2-c60d120d1ce4" xlink:to="loc_us-gaap_CommitmentsAndContingencies_2afee2a1-e78c-4760-8c85-d183ed885f5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_0dd3272f-4338-489d-a469-560243d4af25" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a63a135a-02d3-4696-b4c2-c60d120d1ce4" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_0dd3272f-4338-489d-a469-560243d4af25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_fd365161-648b-4c63-8310-92f72166d260" xlink:href="fsbc-20220630.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_c43631a7-4da1-4af5-a301-d2a017bdb791" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_fd365161-648b-4c63-8310-92f72166d260" xlink:to="loc_us-gaap_CashAndDueFromBanks_c43631a7-4da1-4af5-a301-d2a017bdb791" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_f7d11be5-a157-4729-8946-f50d8f268543" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_fd365161-648b-4c63-8310-92f72166d260" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_f7d11be5-a157-4729-8946-f50d8f268543" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_3332af8c-182d-4884-9343-bcaa13c37058" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_fe8854f6-5275-402c-ac43-b61d70cb3ef7" xlink:href="fsbc-20220630.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_3332af8c-182d-4884-9343-bcaa13c37058" xlink:to="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_fe8854f6-5275-402c-ac43-b61d70cb3ef7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtCarryingValue_4190e548-7dc5-4b53-ae55-0c9d5493d3c6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3332af8c-182d-4884-9343-bcaa13c37058" xlink:to="loc_us-gaap_TimeDepositsAtCarryingValue_4190e548-7dc5-4b53-ae55-0c9d5493d3c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_c4fbd5b0-d724-47fe-b8e9-7be42e3196ae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3332af8c-182d-4884-9343-bcaa13c37058" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_c4fbd5b0-d724-47fe-b8e9-7be42e3196ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_20f56eb5-6ce4-45f9-9a88-13dbc38544e6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3332af8c-182d-4884-9343-bcaa13c37058" xlink:to="loc_us-gaap_HeldToMaturitySecurities_20f56eb5-6ce4-45f9-9a88-13dbc38544e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_468365fe-8417-422a-aec3-46c353e5a3a9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3332af8c-182d-4884-9343-bcaa13c37058" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_468365fe-8417-422a-aec3-46c353e5a3a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_5bb527bb-474e-4561-a399-523211778adb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3332af8c-182d-4884-9343-bcaa13c37058" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_5bb527bb-474e-4561-a399-523211778adb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_ddcc359c-3ff4-48c4-80cc-11e61b32cc83" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3332af8c-182d-4884-9343-bcaa13c37058" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_ddcc359c-3ff4-48c4-80cc-11e61b32cc83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_1b7e77da-57e3-4f45-b1ec-966ccfe20f4b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3332af8c-182d-4884-9343-bcaa13c37058" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_1b7e77da-57e3-4f45-b1ec-966ccfe20f4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_7e7819ba-3742-4703-b56c-0056d2a3e451" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3332af8c-182d-4884-9343-bcaa13c37058" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_7e7819ba-3742-4703-b56c-0056d2a3e451" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_392fdbf1-8fe9-424e-87ba-a8728918796f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3332af8c-182d-4884-9343-bcaa13c37058" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_392fdbf1-8fe9-424e-87ba-a8728918796f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_4f291352-18dc-4bae-a6f3-5ae7e3e9c7e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_3332af8c-182d-4884-9343-bcaa13c37058" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_4f291352-18dc-4bae-a6f3-5ae7e3e9c7e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_0023a74c-ca14-419c-890a-65e8205b65be" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_cb895c32-8180-49df-bd05-7fba86418faf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_0023a74c-ca14-419c-890a-65e8205b65be" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_cb895c32-8180-49df-bd05-7fba86418faf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_b571e0ee-780d-4fc6-b4bb-42322ca4b4a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_0023a74c-ca14-419c-890a-65e8205b65be" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_b571e0ee-780d-4fc6-b4bb-42322ca4b4a3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20220630.xsd#CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_86ff64c8-c42b-4f6d-a91f-a2a5cf245b9f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a77ddd20-b479-4c34-bbb4-d9fc51ffa3a2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_86ff64c8-c42b-4f6d-a91f-a2a5cf245b9f" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a77ddd20-b479-4c34-bbb4-d9fc51ffa3a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_bcf8c49f-ee48-4a8e-945d-cda5e717ba52" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_86ff64c8-c42b-4f6d-a91f-a2a5cf245b9f" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_bcf8c49f-ee48-4a8e-945d-cda5e717ba52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_ae3d98d8-0b6a-4b01-acbf-0c2cdadd77c9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_bdbe100b-888f-4cf8-875b-656b84016ace" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_ae3d98d8-0b6a-4b01-acbf-0c2cdadd77c9" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_bdbe100b-888f-4cf8-875b-656b84016ace" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedFees_8e4b841e-d9c1-4408-9dab-827eee18902f" xlink:href="fsbc-20220630.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_ae3d98d8-0b6a-4b01-acbf-0c2cdadd77c9" xlink:to="loc_fsbc_LoanRelatedFees_8e4b841e-d9c1-4408-9dab-827eee18902f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ServiceChargesOnDepositAccounts_303858ea-732e-4ef3-a1e5-b31152bee194" xlink:href="fsbc-20220630.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_ae3d98d8-0b6a-4b01-acbf-0c2cdadd77c9" xlink:to="loc_fsbc_ServiceChargesOnDepositAccounts_303858ea-732e-4ef3-a1e5-b31152bee194" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_e5cef688-9298-4115-b5c6-6bdeb0cfe4ff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_ae3d98d8-0b6a-4b01-acbf-0c2cdadd77c9" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_e5cef688-9298-4115-b5c6-6bdeb0cfe4ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_FederalHomeLoanBankStockDividends_51b8406c-f7c7-4837-a49f-51ebae7ade43" xlink:href="fsbc-20220630.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_ae3d98d8-0b6a-4b01-acbf-0c2cdadd77c9" xlink:to="loc_fsbc_FederalHomeLoanBankStockDividends_51b8406c-f7c7-4837-a49f-51ebae7ade43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_fe8b5ff2-8381-49d1-aa19-4e0f679fe154" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_ae3d98d8-0b6a-4b01-acbf-0c2cdadd77c9" xlink:to="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_fe8b5ff2-8381-49d1-aa19-4e0f679fe154" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_c7f307aa-87c1-4898-a2a3-7f6321a43833" xlink:href="fsbc-20220630.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_ae3d98d8-0b6a-4b01-acbf-0c2cdadd77c9" xlink:to="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_c7f307aa-87c1-4898-a2a3-7f6321a43833" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_f2a7719a-77cb-4aff-88fd-69743736a3c7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_457c3af0-a41c-4677-8949-f9606b72690c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f2a7719a-77cb-4aff-88fd-69743736a3c7" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_457c3af0-a41c-4677-8949-f9606b72690c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_17d09dd9-21da-4576-b273-bf7ff43f3672" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f2a7719a-77cb-4aff-88fd-69743736a3c7" xlink:to="loc_us-gaap_NoninterestIncome_17d09dd9-21da-4576-b273-bf7ff43f3672" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_09485381-ebd9-4299-a24c-9b61c63f0c82" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f2a7719a-77cb-4aff-88fd-69743736a3c7" xlink:to="loc_us-gaap_NoninterestExpense_09485381-ebd9-4299-a24c-9b61c63f0c82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_8d1a4693-ed12-4058-8a81-8134c4908c9f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_b9d757dc-284b-4909-95cc-d86ede283e8c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8d1a4693-ed12-4058-8a81-8134c4908c9f" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_b9d757dc-284b-4909-95cc-d86ede283e8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_726ea23b-27f3-4e38-984f-db9798915c97" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8d1a4693-ed12-4058-8a81-8134c4908c9f" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_726ea23b-27f3-4e38-984f-db9798915c97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_4ff5dd9c-953e-4b44-bd35-5b7665619fe0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8d1a4693-ed12-4058-8a81-8134c4908c9f" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_4ff5dd9c-953e-4b44-bd35-5b7665619fe0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_5291070b-3367-4939-bd34-38542bbd4387" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8d1a4693-ed12-4058-8a81-8134c4908c9f" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_5291070b-3367-4939-bd34-38542bbd4387" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_f7fa2706-2c88-4dfd-b257-7fae80565e0d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_ae25d8fe-91c7-402c-bded-9b43af655f3e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f7fa2706-2c88-4dfd-b257-7fae80565e0d" xlink:to="loc_us-gaap_LaborAndRelatedExpense_ae25d8fe-91c7-402c-bded-9b43af655f3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_4df65a5b-7dfc-4cc9-b4b6-ea130df5935f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f7fa2706-2c88-4dfd-b257-7fae80565e0d" xlink:to="loc_us-gaap_OccupancyNet_4df65a5b-7dfc-4cc9-b4b6-ea130df5935f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_e230c8e4-3ab5-475e-943a-933c2291da47" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f7fa2706-2c88-4dfd-b257-7fae80565e0d" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_e230c8e4-3ab5-475e-943a-933c2291da47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_af09dee3-86b3-4e60-a9c7-8d70d52b35d9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f7fa2706-2c88-4dfd-b257-7fae80565e0d" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_af09dee3-86b3-4e60-a9c7-8d70d52b35d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_eaf75193-a43a-4247-b122-dbfa820294e1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f7fa2706-2c88-4dfd-b257-7fae80565e0d" xlink:to="loc_us-gaap_ProfessionalFees_eaf75193-a43a-4247-b122-dbfa820294e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_78b128e7-9320-4bd4-9e5d-ae04bce5a885" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f7fa2706-2c88-4dfd-b257-7fae80565e0d" xlink:to="loc_us-gaap_AdvertisingExpense_78b128e7-9320-4bd4-9e5d-ae04bce5a885" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedExpenses_0fab7562-a0dd-45fd-9635-60a6551c20ad" xlink:href="fsbc-20220630.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_f7fa2706-2c88-4dfd-b257-7fae80565e0d" xlink:to="loc_fsbc_LoanRelatedExpenses_0fab7562-a0dd-45fd-9635-60a6551c20ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_f2f2f7d8-5972-43c5-ad6f-19119b6402ac" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f7fa2706-2c88-4dfd-b257-7fae80565e0d" xlink:to="loc_us-gaap_OtherNoninterestExpense_f2f2f7d8-5972-43c5-ad6f-19119b6402ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_5fcdcec9-8e52-439b-873b-3d5fe60102e4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm_3e82a5e3-bb95-4e46-932a-3abd8106463b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5fcdcec9-8e52-439b-873b-3d5fe60102e4" xlink:to="loc_us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm_3e82a5e3-bb95-4e46-932a-3abd8106463b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_c11f0ff5-eae6-439f-9f96-1d3483cd627d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5fcdcec9-8e52-439b-873b-3d5fe60102e4" xlink:to="loc_us-gaap_InterestExpenseDeposits_c11f0ff5-eae6-439f-9f96-1d3483cd627d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_cadb3d33-db62-4f4f-bb56-1f5c6d276525" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_5fcdcec9-8e52-439b-873b-3d5fe60102e4" xlink:to="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_cadb3d33-db62-4f4f-bb56-1f5c6d276525" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_c7044689-e838-43b3-80ec-07b57ee13677" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_f9bceabc-3ae6-4edf-a1d6-a56859838583" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_c7044689-e838-43b3-80ec-07b57ee13677" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_f9bceabc-3ae6-4edf-a1d6-a56859838583" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_7aa785eb-5327-46a6-bb82-66148ecf44b5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_c7044689-e838-43b3-80ec-07b57ee13677" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_7aa785eb-5327-46a6-bb82-66148ecf44b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_1ebf7697-2c75-4e52-abbc-7b97c824d8cb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_2099804f-4491-4d4a-9e19-745f2ea09d4c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1ebf7697-2c75-4e52-abbc-7b97c824d8cb" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_2099804f-4491-4d4a-9e19-745f2ea09d4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_2163ac4b-607f-4a75-8d5a-bce0b3d588a7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1ebf7697-2c75-4e52-abbc-7b97c824d8cb" xlink:to="loc_us-gaap_InterestExpense_2163ac4b-607f-4a75-8d5a-bce0b3d588a7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20220630.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_8aabb0f6-47e5-4d34-9df3-6e5b5278f0f0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d34f825d-eb63-4eca-b49a-7dda74ab3ed1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8aabb0f6-47e5-4d34-9df3-6e5b5278f0f0" xlink:to="loc_us-gaap_NetIncomeLoss_d34f825d-eb63-4eca-b49a-7dda74ab3ed1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_acc2e7cf-5536-4902-ae34-85f360c01d3b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_8aabb0f6-47e5-4d34-9df3-6e5b5278f0f0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_acc2e7cf-5536-4902-ae34-85f360c01d3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e978a77b-0a40-4921-aac9-5aae981d2d75" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_4adb2a65-b204-4eaf-984e-ae94f670f52a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_e978a77b-0a40-4921-aac9-5aae981d2d75" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_4adb2a65-b204-4eaf-984e-ae94f670f52a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_3531f7ea-e062-4617-89d0-b9c1b92b025f" xlink:href="fsbc-20220630.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_e978a77b-0a40-4921-aac9-5aae981d2d75" xlink:to="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_3531f7ea-e062-4617-89d0-b9c1b92b025f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_8d42097b-af4b-498c-bad3-95e5dc2d6ec4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ReclassificationFromAociCurrentPeriodTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e978a77b-0a40-4921-aac9-5aae981d2d75" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_8d42097b-af4b-498c-bad3-95e5dc2d6ec4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="simple" xlink:href="fsbc-20220630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_88439461-a6d1-46b6-b827-c7dafe84bee7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_88439461-a6d1-46b6-b827-c7dafe84bee7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_dee69ce6-8494-420c-8d9d-f5bd5ccd4ba7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_dee69ce6-8494-420c-8d9d-f5bd5ccd4ba7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_3ffaf15b-ab4a-4a85-8e2b-1495c7862b12" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_3ffaf15b-ab4a-4a85-8e2b-1495c7862b12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_0db45f6d-d44d-4bdc-ab9e-481f3af479a6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_ShareBasedCompensation_0db45f6d-d44d-4bdc-ab9e-481f3af479a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_91e65b3e-9f11-4dfa-86fb-b909b2564f25" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_91e65b3e-9f11-4dfa-86fb-b909b2564f25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_8b8b1db8-f50a-4eac-9462-4a2546d5081e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_8b8b1db8-f50a-4eac-9462-4a2546d5081e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_d6d572b1-b016-4167-8c92-6cde95e0e48b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_d6d572b1-b016-4167-8c92-6cde95e0e48b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_fbd19261-de3a-4e76-9451-a0ee0ef118ce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_fbd19261-de3a-4e76-9451-a0ee0ef118ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_5623b25b-2e37-4f4b-bf1f-68cd3638dcc4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_5623b25b-2e37-4f4b-bf1f-68cd3638dcc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_179ba174-f8b1-4473-8ba5-673ed50f6182" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_179ba174-f8b1-4473-8ba5-673ed50f6182" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_b94a50c7-f9bc-41f4-81bd-a55811a2a942" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredLeasingFees"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_b94a50c7-f9bc-41f4-81bd-a55811a2a942" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_ec426292-150d-46bd-acc4-b8993cb83f78" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_NetIncomeLoss_ec426292-150d-46bd-acc4-b8993cb83f78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_a2daa6e7-86ab-490b-8094-bd116e1ef486" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_a2daa6e7-86ab-490b-8094-bd116e1ef486" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_4586e3c1-8cb1-4086-bc9d-ff03132cb16d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_DepreciationAndAmortization_4586e3c1-8cb1-4086-bc9d-ff03132cb16d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_7ac4e90e-c679-4057-9887-305697463407" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_7ac4e90e-c679-4057-9887-305697463407" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_7c0850c1-4236-41ff-a6b0-c8e56252840e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_7c0850c1-4236-41ff-a6b0-c8e56252840e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_c7a15f36-a652-4555-b21d-0973d50e1913" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_222895cd-34fa-4d9a-99c2-8569b35bb2d6" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_c7a15f36-a652-4555-b21d-0973d50e1913" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b73ad2af-f7b3-405a-a635-c22ed6d289fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_214d7943-7f52-4e5f-b1fc-423069665125" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b73ad2af-f7b3-405a-a635-c22ed6d289fd" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_214d7943-7f52-4e5f-b1fc-423069665125" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_3dc4c82b-7fc7-46e5-9b56-155b2d07f7ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_b73ad2af-f7b3-405a-a635-c22ed6d289fd" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_3dc4c82b-7fc7-46e5-9b56-155b2d07f7ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_d9564abe-abae-4d84-b525-c986c9c89531" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b73ad2af-f7b3-405a-a635-c22ed6d289fd" xlink:to="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_d9564abe-abae-4d84-b525-c986c9c89531" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_b5857dcd-b29d-416a-87b5-f3a1358b85f6" xlink:href="fsbc-20220630.xsd#fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b73ad2af-f7b3-405a-a635-c22ed6d289fd" xlink:to="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_b5857dcd-b29d-416a-87b5-f3a1358b85f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_0d034106-9df0-4918-84af-902684cf0564" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b73ad2af-f7b3-405a-a635-c22ed6d289fd" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_0d034106-9df0-4918-84af-902684cf0564" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_a7abfbcb-ddd3-4422-9bec-bef56e7ef8b2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b73ad2af-f7b3-405a-a635-c22ed6d289fd" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_a7abfbcb-ddd3-4422-9bec-bef56e7ef8b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_e0f5dcee-f34e-4da4-ad99-aa07c2224412" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b73ad2af-f7b3-405a-a635-c22ed6d289fd" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_e0f5dcee-f34e-4da4-ad99-aa07c2224412" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6d1d84cc-0d1b-4af5-a96a-1782357ee2a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b73ad2af-f7b3-405a-a635-c22ed6d289fd" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6d1d84cc-0d1b-4af5-a96a-1782357ee2a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_05228aaa-f4fe-4151-b347-1fea0e312e71" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromFederalHomeLoanBankBorrowings_1096e841-29a9-4a3c-8784-9f17852b02a6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromFederalHomeLoanBankBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_05228aaa-f4fe-4151-b347-1fea0e312e71" xlink:to="loc_us-gaap_ProceedsFromFederalHomeLoanBankBorrowings_1096e841-29a9-4a3c-8784-9f17852b02a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_d823bac6-8eaa-465d-8e66-11179c74fe27" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_05228aaa-f4fe-4151-b347-1fea0e312e71" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_d823bac6-8eaa-465d-8e66-11179c74fe27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_e9fafa70-f2c2-45b0-a5fc-d04094dcd367" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_05228aaa-f4fe-4151-b347-1fea0e312e71" xlink:to="loc_us-gaap_PaymentsOfDividends_e9fafa70-f2c2-45b0-a5fc-d04094dcd367" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_b778b474-31e6-4fe9-85a2-0fcf8a9ce0df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_05228aaa-f4fe-4151-b347-1fea0e312e71" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_b778b474-31e6-4fe9-85a2-0fcf8a9ce0df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9df3236f-571e-477a-93d2-a1b91d713026" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f08b0756-634a-4531-8979-5f4cea7e7e23" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9df3236f-571e-477a-93d2-a1b91d713026" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f08b0756-634a-4531-8979-5f4cea7e7e23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_96f91124-f993-4afb-8f59-da223b6c6fe1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_9df3236f-571e-477a-93d2-a1b91d713026" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_96f91124-f993-4afb-8f59-da223b6c6fe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6da3b862-1d4f-41e8-b82e-295df9d05af8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9df3236f-571e-477a-93d2-a1b91d713026" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_6da3b862-1d4f-41e8-b82e-295df9d05af8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/BasisofPresentationEarningsPerShareDetails" xlink:type="simple" xlink:href="fsbc-20220630.xsd#BasisofPresentationEarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/BasisofPresentationEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1c807edc-13b7-442d-a311-b0dd45a0c416" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_13bf15ef-e3fb-4b88-b479-8759dff22ab4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1c807edc-13b7-442d-a311-b0dd45a0c416" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_13bf15ef-e3fb-4b88-b479-8759dff22ab4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_dc06e788-0a1a-4baf-84cf-7d1aa9c54c86" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1c807edc-13b7-442d-a311-b0dd45a0c416" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_dc06e788-0a1a-4baf-84cf-7d1aa9c54c86" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/BasisofPresentationProFormaEPSDetails" xlink:type="simple" xlink:href="fsbc-20220630.xsd#BasisofPresentationProFormaEPSDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/BasisofPresentationProFormaEPSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ActualProFormaNetIncome_3a3ae5b6-7952-4b82-8a68-157c2569d86e" xlink:href="fsbc-20220630.xsd#fsbc_ActualProFormaNetIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProFormaProvisionForIncomeTaxes_ad5b9f4d-9d08-4f2f-8ae2-9a2dac9dfc90" xlink:href="fsbc-20220630.xsd#fsbc_ProFormaProvisionForIncomeTaxes"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fsbc_ActualProFormaNetIncome_3a3ae5b6-7952-4b82-8a68-157c2569d86e" xlink:to="loc_fsbc_ProFormaProvisionForIncomeTaxes_ad5b9f4d-9d08-4f2f-8ae2-9a2dac9dfc90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_1cbd8de8-6cc8-45e5-a310-7fbab8d4802c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fsbc_ActualProFormaNetIncome_3a3ae5b6-7952-4b82-8a68-157c2569d86e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_1cbd8de8-6cc8-45e5-a310-7fbab8d4802c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProFormaWeightedAverageSharesOutstandingDiluted_35226296-5d5c-438e-bd90-ebb026771149" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProFormaWeightedAverageSharesOutstandingDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageBasicSharesOutstandingProForma_9a8c99c6-0702-4fcf-b5a3-ae46c5928a49" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageBasicSharesOutstandingProForma"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProFormaWeightedAverageSharesOutstandingDiluted_35226296-5d5c-438e-bd90-ebb026771149" xlink:to="loc_us-gaap_WeightedAverageBasicSharesOutstandingProForma_9a8c99c6-0702-4fcf-b5a3-ae46c5928a49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_WeightedAverageNumberDilutedSharesOutstandingAdjustmentProFormaEarningsShares_e39e5f70-be2c-44b7-9bdc-b0a5c4cff35a" xlink:href="fsbc-20220630.xsd#fsbc_WeightedAverageNumberDilutedSharesOutstandingAdjustmentProFormaEarningsShares"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProFormaWeightedAverageSharesOutstandingDiluted_35226296-5d5c-438e-bd90-ebb026771149" xlink:to="loc_fsbc_WeightedAverageNumberDilutedSharesOutstandingAdjustmentProFormaEarningsShares_e39e5f70-be2c-44b7-9bdc-b0a5c4cff35a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestBearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20220630.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_f6a27db1-b4ac-4ea0-b033-02efce73709d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositSavings_a11ee011-826a-4fb5-839f-8807aa50f8a7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f6a27db1-b4ac-4ea0-b033-02efce73709d" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_a11ee011-826a-4fb5-839f-8807aa50f8a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_c47cfa2f-2f02-4320-8f23-e37f4e5c9fa1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f6a27db1-b4ac-4ea0-b033-02efce73709d" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_c47cfa2f-2f02-4320-8f23-e37f4e5c9fa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_6c0528ec-4470-41b1-bd75-c34dee596769" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f6a27db1-b4ac-4ea0-b033-02efce73709d" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_6c0528ec-4470-41b1-bd75-c34dee596769" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_c65db3b2-e752-44f2-a976-4be12322d6b7" xlink:href="fsbc-20220630.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_f6a27db1-b4ac-4ea0-b033-02efce73709d" xlink:to="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_c65db3b2-e752-44f2-a976-4be12322d6b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_a5f12c0d-b7d4-4ff8-99b5-c85ce3e5cbba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f6a27db1-b4ac-4ea0-b033-02efce73709d" xlink:to="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_a5f12c0d-b7d4-4ff8-99b5-c85ce3e5cbba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="fsbc-20220630.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_83a894d3-3774-4bbc-8e4b-c20f0582a2dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositTimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_3f3fb97b-562e-447d-abff-4a9ff9417bfb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_83a894d3-3774-4bbc-8e4b-c20f0582a2dd" xlink:to="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_3f3fb97b-562e-447d-abff-4a9ff9417bfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_dbed28c4-9a27-4a62-acdb-6256e4a8e461" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesYearOne"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_83a894d3-3774-4bbc-8e4b-c20f0582a2dd" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_dbed28c4-9a27-4a62-acdb-6256e4a8e461" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_e4963472-f290-4077-ac5d-72e01b5ba71f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_83a894d3-3774-4bbc-8e4b-c20f0582a2dd" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_e4963472-f290-4077-ac5d-72e01b5ba71f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_2fc1bbad-d6bd-4456-9c31-7aa951e175f0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_83a894d3-3774-4bbc-8e4b-c20f0582a2dd" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_2fc1bbad-d6bd-4456-9c31-7aa951e175f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_b7bdcf51-7365-4651-88ad-e70870b47c67" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesYearTwo"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_83a894d3-3774-4bbc-8e4b-c20f0582a2dd" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_b7bdcf51-7365-4651-88ad-e70870b47c67" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestExpenseRecognizedonInterestbearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20220630.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_526af91d-27c7-463d-907f-145c6369b0e9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_a02453c6-f28f-42e6-8756-ca6da8c07895" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_526af91d-27c7-463d-907f-145c6369b0e9" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_a02453c6-f28f-42e6-8756-ca6da8c07895" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_ee1362e2-bc47-4578-8a5d-2a2abe55f960" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_526af91d-27c7-463d-907f-145c6369b0e9" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_ee1362e2-bc47-4578-8a5d-2a2abe55f960" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_715981d8-4096-4e39-8bcd-dc98e08b9852" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_526af91d-27c7-463d-907f-145c6369b0e9" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_715981d8-4096-4e39-8bcd-dc98e08b9852" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_6f164dec-0292-4489-b917-94176bc9f3d0" xlink:href="fsbc-20220630.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_526af91d-27c7-463d-907f-145c6369b0e9" xlink:to="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_6f164dec-0292-4489-b917-94176bc9f3d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_a3eef356-2e50-4dbf-8af9-c6ecc864159b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_526af91d-27c7-463d-907f-145c6369b0e9" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_a3eef356-2e50-4dbf-8af9-c6ecc864159b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LeasesScheduleofLeaseCostDetails" xlink:type="simple" xlink:href="fsbc-20220630.xsd#LeasesScheduleofLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LeasesScheduleofLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_b42118d4-a38f-4166-8238-63b16ba88438" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_19a289cd-9bff-4b06-9b60-972d26fda765" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_b42118d4-a38f-4166-8238-63b16ba88438" xlink:to="loc_us-gaap_OperatingLeaseCost_19a289cd-9bff-4b06-9b60-972d26fda765" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_1b6b719d-6e04-4725-bb35-e687a9442308" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_b42118d4-a38f-4166-8238-63b16ba88438" xlink:to="loc_us-gaap_SubleaseIncome_1b6b719d-6e04-4725-bb35-e687a9442308" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_db19ac4c-8572-442e-a1d9-bce8fc13d40f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_b42118d4-a38f-4166-8238-63b16ba88438" xlink:to="loc_us-gaap_ShortTermLeaseCost_db19ac4c-8572-442e-a1d9-bce8fc13d40f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_eee282ae-ca74-40bb-b24e-94a1aa5ce2aa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_b42118d4-a38f-4166-8238-63b16ba88438" xlink:to="loc_us-gaap_VariableLeaseCost_eee282ae-ca74-40bb-b24e-94a1aa5ce2aa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LeasesFutureOperatingLeasePaymentsDetails" xlink:type="simple" xlink:href="fsbc-20220630.xsd#LeasesFutureOperatingLeasePaymentsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LeasesFutureOperatingLeasePaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ece45f5f-8b0c-468a-9ca4-028fbdd52700" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_ea3114e2-f324-4132-8eac-7c88df35fc9d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ece45f5f-8b0c-468a-9ca4-028fbdd52700" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_ea3114e2-f324-4132-8eac-7c88df35fc9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_93776059-00bf-4d1b-ae19-46d436d32541" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_ece45f5f-8b0c-468a-9ca4-028fbdd52700" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_93776059-00bf-4d1b-ae19-46d436d32541" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_0614cbf8-1b95-4b42-ad36-7e7a6c29b8d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ece45f5f-8b0c-468a-9ca4-028fbdd52700" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_0614cbf8-1b95-4b42-ad36-7e7a6c29b8d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_5d32f377-5860-4004-b083-aefb276bd54a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ece45f5f-8b0c-468a-9ca4-028fbdd52700" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_5d32f377-5860-4004-b083-aefb276bd54a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_f239fd85-f894-4197-a474-fc304a4a3f32" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_ece45f5f-8b0c-468a-9ca4-028fbdd52700" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_f239fd85-f894-4197-a474-fc304a4a3f32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_2cdbc90c-6d6b-439e-abce-ebdbcccc285e" xlink:href="fsbc-20220630.xsd#fsbc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ece45f5f-8b0c-468a-9ca4-028fbdd52700" xlink:to="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_2cdbc90c-6d6b-439e-abce-ebdbcccc285e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LeasesFutureOperatingLeasePaymentsDetails_1" xlink:type="simple" xlink:href="fsbc-20220630.xsd#LeasesFutureOperatingLeasePaymentsDetails_1"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LeasesFutureOperatingLeasePaymentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_c4016ff8-d1ac-4305-916a-f37be0a1834a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue_dc9df58d-9014-4f6f-8802-1e2417591bc1" xlink:href="fsbc-20220630.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_c4016ff8-d1ac-4305-916a-f37be0a1834a" xlink:to="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue_dc9df58d-9014-4f6f-8802-1e2417591bc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_12ca7c93-f5fe-4dd6-9305-068d0e450e29" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_c4016ff8-d1ac-4305-916a-f37be0a1834a" xlink:to="loc_us-gaap_OperatingLeaseLiability_12ca7c93-f5fe-4dd6-9305-068d0e450e29" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesProvisionForIncomeTaxDetails" xlink:type="simple" xlink:href="fsbc-20220630.xsd#IncomeTaxesProvisionForIncomeTaxDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/IncomeTaxesProvisionForIncomeTaxDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_c241218b-dc15-456e-b264-b5f38556854e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_7957841e-43d4-4c15-9176-4d6eea009341" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c241218b-dc15-456e-b264-b5f38556854e" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_7957841e-43d4-4c15-9176-4d6eea009341" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_c350e1d7-23dc-48de-9614-ad5d54efd7c2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c241218b-dc15-456e-b264-b5f38556854e" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_c350e1d7-23dc-48de-9614-ad5d54efd7c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_BenefitOfSCorporationStatus_a381ed99-1cd5-478b-a116-ef89e86e117e" xlink:href="fsbc-20220630.xsd#fsbc_BenefitOfSCorporationStatus"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c241218b-dc15-456e-b264-b5f38556854e" xlink:to="loc_fsbc_BenefitOfSCorporationStatus_a381ed99-1cd5-478b-a116-ef89e86e117e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_554b1153-6d83-45bc-9f4d-326f2445667d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c241218b-dc15-456e-b264-b5f38556854e" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_554b1153-6d83-45bc-9f4d-326f2445667d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CCorpConversionFederalRateChange_338a4c5f-ddcd-41dc-8ed6-7a47a9d24bf7" xlink:href="fsbc-20220630.xsd#fsbc_CCorpConversionFederalRateChange"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c241218b-dc15-456e-b264-b5f38556854e" xlink:to="loc_fsbc_CCorpConversionFederalRateChange_338a4c5f-ddcd-41dc-8ed6-7a47a9d24bf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_6ae37ade-5345-4dc9-9431-1702c6b4964a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_c241218b-dc15-456e-b264-b5f38556854e" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_6ae37ade-5345-4dc9-9431-1702c6b4964a" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
