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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:56370811-1ea4-449b-b539-bf40027bbafa,g:a269f297-e559-4927-9073-3d3386baa22e-->
<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-20220930.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_0973e582-3bc3-405d-861f-bfce4feed334" 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_7ba7b3a1-f4c9-4c11-abdd-b6d327ad2012" 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_0973e582-3bc3-405d-861f-bfce4feed334" xlink:to="loc_us-gaap_Liabilities_7ba7b3a1-f4c9-4c11-abdd-b6d327ad2012" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_949be223-87cc-4e35-996d-8de9f4f4f1c5" 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_0973e582-3bc3-405d-861f-bfce4feed334" xlink:to="loc_us-gaap_StockholdersEquity_949be223-87cc-4e35-996d-8de9f4f4f1c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_5e1a6b9c-5ebc-4d20-a93f-56cbc8df3a85" 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_7b78fcf3-66f8-4e8b-b0d4-72b1521912cb" 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_5e1a6b9c-5ebc-4d20-a93f-56cbc8df3a85" xlink:to="loc_us-gaap_Deposits_7b78fcf3-66f8-4e8b-b0d4-72b1521912cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_16b09b55-3aae-4c4e-9d9a-d42f327409c8" 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_5e1a6b9c-5ebc-4d20-a93f-56cbc8df3a85" xlink:to="loc_us-gaap_OperatingLeaseLiability_16b09b55-3aae-4c4e-9d9a-d42f327409c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_411f1780-e631-4263-911f-1a8da2295f12" 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_5e1a6b9c-5ebc-4d20-a93f-56cbc8df3a85" xlink:to="loc_us-gaap_SubordinatedDebt_411f1780-e631-4263-911f-1a8da2295f12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_c7cce2b6-429d-4d48-a294-6193f80acc26" 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_5e1a6b9c-5ebc-4d20-a93f-56cbc8df3a85" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_c7cce2b6-429d-4d48-a294-6193f80acc26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_aeaf072e-c2ba-4032-9529-d8a7da421ee5" 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_5e1a6b9c-5ebc-4d20-a93f-56cbc8df3a85" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_aeaf072e-c2ba-4032-9529-d8a7da421ee5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" 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_e1251abf-beaa-4d9d-ad75-b2aed354977b" xlink:href="fsbc-20220930.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_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" xlink:to="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_e1251abf-beaa-4d9d-ad75-b2aed354977b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtCarryingValue_fc23115e-5533-44e0-9600-92442d41c5e7" 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_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" xlink:to="loc_us-gaap_TimeDepositsAtCarryingValue_fc23115e-5533-44e0-9600-92442d41c5e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_1436ac25-b0c6-48be-87ad-fb47632ff140" 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_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_1436ac25-b0c6-48be-87ad-fb47632ff140" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_8bf74ac3-03d2-462f-b9cd-76511453bf5f" 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_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" xlink:to="loc_us-gaap_HeldToMaturitySecurities_8bf74ac3-03d2-462f-b9cd-76511453bf5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_587951aa-3ce0-4396-842f-20f963f7daaf" 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_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_587951aa-3ce0-4396-842f-20f963f7daaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_e9d6df5b-2e87-49e4-8510-5be9e759086f" 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_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_e9d6df5b-2e87-49e4-8510-5be9e759086f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_11a25296-f64f-4dbb-a6e0-fe53c8af366a" 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_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_11a25296-f64f-4dbb-a6e0-fe53c8af366a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_74caed29-22ca-4812-b568-ef817ae379dd" 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_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_74caed29-22ca-4812-b568-ef817ae379dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_33d3779c-6272-422c-9193-57cdf6d89ad7" 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_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_33d3779c-6272-422c-9193-57cdf6d89ad7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_766238c4-ca5f-4926-9096-cb9940c8b9dd" 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_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_766238c4-ca5f-4926-9096-cb9940c8b9dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_22470534-41f2-43ff-adb2-9bf7370e3970" 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_bc4fcf18-484a-4e48-a14d-fa62f97aa95a" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_22470534-41f2-43ff-adb2-9bf7370e3970" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_00b7bcc8-65e0-4a83-a092-6db8f7e6aa59" 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_bd202a5f-3d90-4bd2-8fdb-aae46801c096" 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_00b7bcc8-65e0-4a83-a092-6db8f7e6aa59" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_bd202a5f-3d90-4bd2-8fdb-aae46801c096" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_4750d39e-3624-42f4-96ee-b7c55d07205f" 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_00b7bcc8-65e0-4a83-a092-6db8f7e6aa59" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_4750d39e-3624-42f4-96ee-b7c55d07205f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_7bc0bf09-c570-480a-9e7e-8d1e02be6cd9" 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_de37c280-6487-4cab-90cd-2631290bd0d4" 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_7bc0bf09-c570-480a-9e7e-8d1e02be6cd9" xlink:to="loc_us-gaap_PreferredStockValue_de37c280-6487-4cab-90cd-2631290bd0d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_363ffc5e-b5a5-4ac5-87f6-01791e1ea046" 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_7bc0bf09-c570-480a-9e7e-8d1e02be6cd9" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_363ffc5e-b5a5-4ac5-87f6-01791e1ea046" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_d1955363-4b80-407d-976a-f07cb901254e" 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_7bc0bf09-c570-480a-9e7e-8d1e02be6cd9" xlink:to="loc_us-gaap_CommonStockValue_d1955363-4b80-407d-976a-f07cb901254e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_0e865091-f2eb-44e4-9b5e-054c0948d953" 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_7bc0bf09-c570-480a-9e7e-8d1e02be6cd9" xlink:to="loc_us-gaap_CommitmentsAndContingencies_0e865091-f2eb-44e4-9b5e-054c0948d953" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_02c1bd5b-6817-425a-9fdc-5276d2ddb12a" 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_7bc0bf09-c570-480a-9e7e-8d1e02be6cd9" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_02c1bd5b-6817-425a-9fdc-5276d2ddb12a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_232aefa0-d207-4c1f-b63b-559c4f1c11f6" xlink:href="fsbc-20220930.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_9babb3f3-f391-46d8-8b8a-8459262b9c46" 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_232aefa0-d207-4c1f-b63b-559c4f1c11f6" xlink:to="loc_us-gaap_CashAndDueFromBanks_9babb3f3-f391-46d8-8b8a-8459262b9c46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_bb273563-6daa-4522-be8d-cccd12a55bab" 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_232aefa0-d207-4c1f-b63b-559c4f1c11f6" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_bb273563-6daa-4522-be8d-cccd12a55bab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_7e8cef30-e018-4012-97ff-2a7f5a674ca5" 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_ed61de6f-af45-42be-b231-6f14e861f17c" 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_7e8cef30-e018-4012-97ff-2a7f5a674ca5" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_ed61de6f-af45-42be-b231-6f14e861f17c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_0ac91fe0-e742-49ec-8c41-960b2149d085" 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_7e8cef30-e018-4012-97ff-2a7f5a674ca5" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_0ac91fe0-e742-49ec-8c41-960b2149d085" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20220930.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_5b34edb7-755c-43b6-8f56-a6a9cc8864fa" 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_73b70eee-fbd7-472d-8bae-af80421c4d9e" 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_5b34edb7-755c-43b6-8f56-a6a9cc8864fa" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_73b70eee-fbd7-472d-8bae-af80421c4d9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_f8327120-95e7-4b10-92f3-419b37e8ec2a" 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_5b34edb7-755c-43b6-8f56-a6a9cc8864fa" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_f8327120-95e7-4b10-92f3-419b37e8ec2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_1034ee08-383f-43f8-9bcc-9471a9e33187" 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_a305ba62-a8e6-49a3-abb7-9c16fed2902d" 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_1034ee08-383f-43f8-9bcc-9471a9e33187" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_a305ba62-a8e6-49a3-abb7-9c16fed2902d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_d9ae1478-cb80-4ee0-8993-be0d5ffe30bc" 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_1034ee08-383f-43f8-9bcc-9471a9e33187" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_d9ae1478-cb80-4ee0-8993-be0d5ffe30bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_ce66dc25-7f30-41de-abb6-15e48c561d62" 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_4dd3e7df-e061-4bb7-b4df-a0e182857a04" 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_ce66dc25-7f30-41de-abb6-15e48c561d62" xlink:to="loc_us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm_4dd3e7df-e061-4bb7-b4df-a0e182857a04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_fb0796a2-2c04-42ca-8da2-b2790ed8dca0" 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_ce66dc25-7f30-41de-abb6-15e48c561d62" xlink:to="loc_us-gaap_InterestExpenseDeposits_fb0796a2-2c04-42ca-8da2-b2790ed8dca0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_de0da4a5-d74d-4cd0-adcb-a38746370846" 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_ce66dc25-7f30-41de-abb6-15e48c561d62" xlink:to="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_de0da4a5-d74d-4cd0-adcb-a38746370846" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_25309c09-b79e-4341-81e8-daf0ff0c6581" 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_37955418-f8f9-40a7-a068-7e45b3de49ca" 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_25309c09-b79e-4341-81e8-daf0ff0c6581" xlink:to="loc_us-gaap_LaborAndRelatedExpense_37955418-f8f9-40a7-a068-7e45b3de49ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_19fae798-493c-4057-98a2-1f8500cf64e6" 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_25309c09-b79e-4341-81e8-daf0ff0c6581" xlink:to="loc_us-gaap_OccupancyNet_19fae798-493c-4057-98a2-1f8500cf64e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_526293b5-634b-4d60-adea-8dc2d4eb33bd" 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_25309c09-b79e-4341-81e8-daf0ff0c6581" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_526293b5-634b-4d60-adea-8dc2d4eb33bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_fdf70be8-19f5-4d72-9d79-ba0ed756bb86" 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_25309c09-b79e-4341-81e8-daf0ff0c6581" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_fdf70be8-19f5-4d72-9d79-ba0ed756bb86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_0a7b3010-bb63-4faf-a68d-e0c2f6f8edc1" 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_25309c09-b79e-4341-81e8-daf0ff0c6581" xlink:to="loc_us-gaap_ProfessionalFees_0a7b3010-bb63-4faf-a68d-e0c2f6f8edc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_5671f53d-b0b1-4c45-8090-4af77bd6a75d" 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_25309c09-b79e-4341-81e8-daf0ff0c6581" xlink:to="loc_us-gaap_AdvertisingExpense_5671f53d-b0b1-4c45-8090-4af77bd6a75d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedExpenses_12e047c8-3f57-47cb-8131-882492337aea" xlink:href="fsbc-20220930.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_25309c09-b79e-4341-81e8-daf0ff0c6581" xlink:to="loc_fsbc_LoanRelatedExpenses_12e047c8-3f57-47cb-8131-882492337aea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_25982c9d-ea1d-4a2f-ae0a-30df6ae0d299" 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_25309c09-b79e-4341-81e8-daf0ff0c6581" xlink:to="loc_us-gaap_OtherNoninterestExpense_25982c9d-ea1d-4a2f-ae0a-30df6ae0d299" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_edaa82b5-869a-46ff-9554-c16910e9dde9" 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_3cb0b09b-d410-417a-bee9-45526be3d26b" 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_edaa82b5-869a-46ff-9554-c16910e9dde9" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_3cb0b09b-d410-417a-bee9-45526be3d26b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_860fd092-44ba-42b3-9f04-e28f67b3ceba" 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_edaa82b5-869a-46ff-9554-c16910e9dde9" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_860fd092-44ba-42b3-9f04-e28f67b3ceba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_94d876fc-04d4-4b18-bb98-4e569b711c65" 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_edaa82b5-869a-46ff-9554-c16910e9dde9" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_94d876fc-04d4-4b18-bb98-4e569b711c65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_371b3838-4444-4152-9458-6ac0131006f9" 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_edaa82b5-869a-46ff-9554-c16910e9dde9" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_371b3838-4444-4152-9458-6ac0131006f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_ce945e72-7d12-42f9-b060-4a6cd3028b34" 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_45852894-bf17-44d6-975c-e9da7a73a869" 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_ce945e72-7d12-42f9-b060-4a6cd3028b34" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_45852894-bf17-44d6-975c-e9da7a73a869" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedFees_07ef2e60-568b-4e46-83a8-dd5a472b9a39" xlink:href="fsbc-20220930.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_ce945e72-7d12-42f9-b060-4a6cd3028b34" xlink:to="loc_fsbc_LoanRelatedFees_07ef2e60-568b-4e46-83a8-dd5a472b9a39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ServiceChargesOnDepositAccounts_95b88f0f-f5fc-48fd-91a7-c5ced837c9c6" xlink:href="fsbc-20220930.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_ce945e72-7d12-42f9-b060-4a6cd3028b34" xlink:to="loc_fsbc_ServiceChargesOnDepositAccounts_95b88f0f-f5fc-48fd-91a7-c5ced837c9c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_49ae9fab-f898-44b6-8273-404a9185c5c4" 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_ce945e72-7d12-42f9-b060-4a6cd3028b34" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_49ae9fab-f898-44b6-8273-404a9185c5c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_FederalHomeLoanBankStockDividends_bf256c6a-03b6-49f8-936a-a8ba6933f5d1" xlink:href="fsbc-20220930.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_ce945e72-7d12-42f9-b060-4a6cd3028b34" xlink:to="loc_fsbc_FederalHomeLoanBankStockDividends_bf256c6a-03b6-49f8-936a-a8ba6933f5d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_3d97e462-ed9c-4a1a-93ae-57c37b84a71c" 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_ce945e72-7d12-42f9-b060-4a6cd3028b34" xlink:to="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_3d97e462-ed9c-4a1a-93ae-57c37b84a71c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_f796deb8-d9cd-452e-8b81-b0f7b17be6b9" xlink:href="fsbc-20220930.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_ce945e72-7d12-42f9-b060-4a6cd3028b34" xlink:to="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_f796deb8-d9cd-452e-8b81-b0f7b17be6b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_ff6897e3-9d5b-4cb8-88ab-09db3f7109fd" 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_e1fcbbf4-ae66-48df-a65d-76a3b603fd08" 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_ff6897e3-9d5b-4cb8-88ab-09db3f7109fd" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_e1fcbbf4-ae66-48df-a65d-76a3b603fd08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_c5e072be-cf0d-430b-b53d-b3b4b4d36d41" 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_ff6897e3-9d5b-4cb8-88ab-09db3f7109fd" xlink:to="loc_us-gaap_NoninterestIncome_c5e072be-cf0d-430b-b53d-b3b4b4d36d41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_248af32d-bd3d-4a3d-be2d-3aab67ee608c" 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_ff6897e3-9d5b-4cb8-88ab-09db3f7109fd" xlink:to="loc_us-gaap_NoninterestExpense_248af32d-bd3d-4a3d-be2d-3aab67ee608c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_ed223b1a-2523-4321-82ce-176d6709b97a" 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_c59064e3-c3d5-4fd9-9685-f512f4239345" 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_ed223b1a-2523-4321-82ce-176d6709b97a" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_c59064e3-c3d5-4fd9-9685-f512f4239345" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_51b47ba2-2dac-479f-8f78-88a8f5e3fa7a" 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_ed223b1a-2523-4321-82ce-176d6709b97a" xlink:to="loc_us-gaap_InterestExpense_51b47ba2-2dac-479f-8f78-88a8f5e3fa7a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20220930.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_d7f2b154-fef0-4736-9c95-67a25d8260e4" 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_b4783938-d10c-4f79-9246-718806a7534a" 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_d7f2b154-fef0-4736-9c95-67a25d8260e4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_b4783938-d10c-4f79-9246-718806a7534a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_c3135417-eb4e-432b-a8c3-c52def229fdf" xlink:href="fsbc-20220930.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_d7f2b154-fef0-4736-9c95-67a25d8260e4" xlink:to="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_c3135417-eb4e-432b-a8c3-c52def229fdf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_a9e1efa3-46fa-4167-afd3-6e120f8870c3" 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_d7f2b154-fef0-4736-9c95-67a25d8260e4" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_a9e1efa3-46fa-4167-afd3-6e120f8870c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_59f10d88-7393-473b-8bd4-23b60ee33a94" 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_29ee4d0f-f7c0-4647-8e21-bbb866118a8a" 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_59f10d88-7393-473b-8bd4-23b60ee33a94" xlink:to="loc_us-gaap_NetIncomeLoss_29ee4d0f-f7c0-4647-8e21-bbb866118a8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_b4a683d4-e4e6-4307-8d97-c7c6e766c6dd" 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_59f10d88-7393-473b-8bd4-23b60ee33a94" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_b4a683d4-e4e6-4307-8d97-c7c6e766c6dd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="simple" xlink:href="fsbc-20220930.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_86e61598-48f8-493e-b97a-817f964df14d" 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_3f965e1f-31f2-4fe8-b563-7e61e7517045" 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_86e61598-48f8-493e-b97a-817f964df14d" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3f965e1f-31f2-4fe8-b563-7e61e7517045" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_ec9b799e-d099-4ea8-9fa0-39e610f41366" 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_86e61598-48f8-493e-b97a-817f964df14d" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_ec9b799e-d099-4ea8-9fa0-39e610f41366" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_12c613fa-0652-4f44-97c8-76a57f14f16f" 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_86e61598-48f8-493e-b97a-817f964df14d" xlink:to="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_12c613fa-0652-4f44-97c8-76a57f14f16f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_9af05a07-be77-43ee-8746-12e2bb5562e6" xlink:href="fsbc-20220930.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_86e61598-48f8-493e-b97a-817f964df14d" xlink:to="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_9af05a07-be77-43ee-8746-12e2bb5562e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_4b6c82c5-4a3e-49b4-9d84-ce8490f51c96" 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_86e61598-48f8-493e-b97a-817f964df14d" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_4b6c82c5-4a3e-49b4-9d84-ce8490f51c96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_4220b9b4-2f97-4205-8cda-019bfb54e49d" 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_86e61598-48f8-493e-b97a-817f964df14d" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_4220b9b4-2f97-4205-8cda-019bfb54e49d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_39c9ba55-abdc-4d3d-9040-6f91add49ea4" 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_86e61598-48f8-493e-b97a-817f964df14d" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_39c9ba55-abdc-4d3d-9040-6f91add49ea4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6630d988-72fe-4207-ae6c-72c47ac16d10" 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_86e61598-48f8-493e-b97a-817f964df14d" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6630d988-72fe-4207-ae6c-72c47ac16d10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_acab0fcf-4f23-46ff-937a-1983f63228a2" 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_a627c98e-4500-468e-874f-ba87c5dc908a" 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_acab0fcf-4f23-46ff-937a-1983f63228a2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a627c98e-4500-468e-874f-ba87c5dc908a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_69545585-30a5-4dd7-9915-1381a765e8bf" 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_acab0fcf-4f23-46ff-937a-1983f63228a2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_69545585-30a5-4dd7-9915-1381a765e8bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e4876d44-5af8-4f00-b39f-ef00e5fd4e1f" 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_acab0fcf-4f23-46ff-937a-1983f63228a2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e4876d44-5af8-4f00-b39f-ef00e5fd4e1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c7af1b44-47fc-4abc-bd2a-e94a935abad6" 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_86812978-2216-43ea-9f48-209e51b160d1" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_86812978-2216-43ea-9f48-209e51b160d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_dc33a5b9-7e74-4fb8-9092-555466692e1d" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_dc33a5b9-7e74-4fb8-9092-555466692e1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_d2871254-2af2-4dbd-8cec-4da913487473" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_d2871254-2af2-4dbd-8cec-4da913487473" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_1f9f7636-cc3c-4e99-9387-a34a0c33679f" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_ShareBasedCompensation_1f9f7636-cc3c-4e99-9387-a34a0c33679f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_34f32178-7d77-4a97-b0c1-5373b34f4150" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_34f32178-7d77-4a97-b0c1-5373b34f4150" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_193d72b0-9d53-42b7-8754-489ded1f01e5" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_193d72b0-9d53-42b7-8754-489ded1f01e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_e1a4a492-9107-46ae-b946-99643f2b36e3" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_e1a4a492-9107-46ae-b946-99643f2b36e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_64dcf4c8-4670-403b-9784-06668e2f89d9" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_64dcf4c8-4670-403b-9784-06668e2f89d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_4af78403-8f54-4232-b61e-b9d55cde7a16" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_4af78403-8f54-4232-b61e-b9d55cde7a16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_3888e085-afe7-4971-bc4d-13fc2e8ccb5b" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_3888e085-afe7-4971-bc4d-13fc2e8ccb5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_a48869bc-b656-4414-ac3c-dfb705fa6829" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_a48869bc-b656-4414-ac3c-dfb705fa6829" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_723fe039-523f-4725-bea4-7dfedfe651e4" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_NetIncomeLoss_723fe039-523f-4725-bea4-7dfedfe651e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_018ea0ad-0ca7-4f1c-8f60-8aab80e05e1b" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_018ea0ad-0ca7-4f1c-8f60-8aab80e05e1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_2b7ebbf9-692b-43c6-8c62-010fae8cf4fd" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_DepreciationAndAmortization_2b7ebbf9-692b-43c6-8c62-010fae8cf4fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_2cab61c0-a325-4e05-92ea-c3d924f1cafe" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_2cab61c0-a325-4e05-92ea-c3d924f1cafe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_260f5994-ea47-4731-af6f-f8d3e00e00fa" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_260f5994-ea47-4731-af6f-f8d3e00e00fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_aa711be6-1829-453e-a80b-65108d3e35cd" 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_c7af1b44-47fc-4abc-bd2a-e94a935abad6" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_aa711be6-1829-453e-a80b-65108d3e35cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c563295-e1b3-4bdc-961c-27bea2bbc127" 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_386ac5a9-7bc0-403c-9171-7ae789b0abcc" 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_5c563295-e1b3-4bdc-961c-27bea2bbc127" xlink:to="loc_us-gaap_ProceedsFromFederalHomeLoanBankBorrowings_386ac5a9-7bc0-403c-9171-7ae789b0abcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_91b6b75d-486a-41e0-bed6-0d644b78abd3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c563295-e1b3-4bdc-961c-27bea2bbc127" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_91b6b75d-486a-41e0-bed6-0d644b78abd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_dc0b80a4-1fcb-4112-97cb-d35f47efbc6c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c563295-e1b3-4bdc-961c-27bea2bbc127" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_dc0b80a4-1fcb-4112-97cb-d35f47efbc6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_cace4e51-f669-482a-8e1e-08fd0cebfbda" 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_5c563295-e1b3-4bdc-961c-27bea2bbc127" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_cace4e51-f669-482a-8e1e-08fd0cebfbda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_b478d271-107d-4c9b-a303-bd72bcb11c25" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c563295-e1b3-4bdc-961c-27bea2bbc127" xlink:to="loc_us-gaap_PaymentsOfDividends_b478d271-107d-4c9b-a303-bd72bcb11c25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_254704c2-c4ad-4a56-99a0-df4d44533f14" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c563295-e1b3-4bdc-961c-27bea2bbc127" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_254704c2-c4ad-4a56-99a0-df4d44533f14" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/BasisofPresentationEarningsPerShareDetails" xlink:type="simple" xlink:href="fsbc-20220930.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_1450e238-16a6-415b-a829-9e3452418ccb" 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_3dc14a7a-9948-46cd-bda6-16a37dc49063" 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_1450e238-16a6-415b-a829-9e3452418ccb" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_3dc14a7a-9948-46cd-bda6-16a37dc49063" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_11c18cec-e6a2-4801-9d2e-2992f28d5d50" 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_1450e238-16a6-415b-a829-9e3452418ccb" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_11c18cec-e6a2-4801-9d2e-2992f28d5d50" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/BasisofPresentationProFormaEPSDetails" xlink:type="simple" xlink:href="fsbc-20220930.xsd#BasisofPresentationProFormaEPSDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/BasisofPresentationProFormaEPSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProFormaWeightedAverageSharesOutstandingDiluted_c216f121-b94f-4f12-b9fb-25eedde882e8" 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_cbca0fb7-e0b9-4aa6-b66a-f2ae94103c1e" 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_c216f121-b94f-4f12-b9fb-25eedde882e8" xlink:to="loc_us-gaap_WeightedAverageBasicSharesOutstandingProForma_cbca0fb7-e0b9-4aa6-b66a-f2ae94103c1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_WeightedAverageNumberDilutedSharesOutstandingAdjustmentProFormaEarningsShares_7613501e-ee6b-4349-996f-97e568148446" xlink:href="fsbc-20220930.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_c216f121-b94f-4f12-b9fb-25eedde882e8" xlink:to="loc_fsbc_WeightedAverageNumberDilutedSharesOutstandingAdjustmentProFormaEarningsShares_7613501e-ee6b-4349-996f-97e568148446" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ActualProFormaNetIncome_b6ee4e58-017e-45c4-8d7a-c461ecb9417d" xlink:href="fsbc-20220930.xsd#fsbc_ActualProFormaNetIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProFormaProvisionForIncomeTaxes_8ea1ab6d-091e-4832-89fc-27cf1ea87221" xlink:href="fsbc-20220930.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_b6ee4e58-017e-45c4-8d7a-c461ecb9417d" xlink:to="loc_fsbc_ProFormaProvisionForIncomeTaxes_8ea1ab6d-091e-4832-89fc-27cf1ea87221" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_abbf4731-e676-41e4-8989-8f61756a9c6c" 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_b6ee4e58-017e-45c4-8d7a-c461ecb9417d" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_abbf4731-e676-41e4-8989-8f61756a9c6c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforLoanLossesBalanceofEachMajorProductTypeDetails" xlink:type="simple" xlink:href="fsbc-20220930.xsd#LoansandAllowanceforLoanLossesBalanceofEachMajorProductTypeDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LoansandAllowanceforLoanLossesBalanceofEachMajorProductTypeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_3741f8e7-8ab9-46a7-a2b2-8fb6e21ce7d5" 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_LoansAndLeasesReceivableDeferredIncome_fd091353-79bd-4605-88db-9574224a4607" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableDeferredIncome"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_3741f8e7-8ab9-46a7-a2b2-8fb6e21ce7d5" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_fd091353-79bd-4605-88db-9574224a4607" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_04640cd3-dfe3-4e90-861f-20e8576c8dd4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_3741f8e7-8ab9-46a7-a2b2-8fb6e21ce7d5" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_04640cd3-dfe3-4e90-861f-20e8576c8dd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_88a6081f-9620-4fdc-837f-f6e6b281b9c0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_3741f8e7-8ab9-46a7-a2b2-8fb6e21ce7d5" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_88a6081f-9620-4fdc-837f-f6e6b281b9c0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforLoanLossesImpairedLoansDetails" xlink:type="simple" xlink:href="fsbc-20220930.xsd#LoansandAllowanceforLoanLossesImpairedLoansDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LoansandAllowanceforLoanLossesImpairedLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_44dd8344-63b2-4dce-9873-9a3fb897ad46" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_0380c711-3c2f-4ec4-af6c-381c85438399" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_44dd8344-63b2-4dce-9873-9a3fb897ad46" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_0380c711-3c2f-4ec4-af6c-381c85438399" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_bd448c71-8aaa-441f-a9cb-e0a1f70c73a9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_44dd8344-63b2-4dce-9873-9a3fb897ad46" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_bd448c71-8aaa-441f-a9cb-e0a1f70c73a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_2067e697-7ed4-4f4f-94cd-b461fbc5ea32" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_635951da-52a2-417e-b79f-3ad9c6beb63d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_2067e697-7ed4-4f4f-94cd-b461fbc5ea32" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_635951da-52a2-417e-b79f-3ad9c6beb63d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_47cebcd7-09b1-48ec-b70c-a06b10b9ce6b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_2067e697-7ed4-4f4f-94cd-b461fbc5ea32" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_47cebcd7-09b1-48ec-b70c-a06b10b9ce6b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforLoanLossesAllocationofLoanLossesDetails" xlink:type="simple" xlink:href="fsbc-20220930.xsd#LoansandAllowanceforLoanLossesAllocationofLoanLossesDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LoansandAllowanceforLoanLossesAllocationofLoanLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_260e8ee0-cf97-4699-8e6d-55a1cbd30401" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_cd59dd28-405d-4237-b041-ef6375aadfb2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_260e8ee0-cf97-4699-8e6d-55a1cbd30401" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_cd59dd28-405d-4237-b041-ef6375aadfb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_e87d6a82-b1ae-4630-840d-16acc7afbcc1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_260e8ee0-cf97-4699-8e6d-55a1cbd30401" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_e87d6a82-b1ae-4630-840d-16acc7afbcc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_c56d8d20-6f68-4487-9544-d6f3e6360871" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_60f79c51-e6fe-4e53-9f81-3874f69702d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_c56d8d20-6f68-4487-9544-d6f3e6360871" xlink:to="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_60f79c51-e6fe-4e53-9f81-3874f69702d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_7fcc4ec9-af02-4a7a-92ff-6904a7a87c94" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_c56d8d20-6f68-4487-9544-d6f3e6360871" xlink:to="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_7fcc4ec9-af02-4a7a-92ff-6904a7a87c94" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestBearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20220930.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_40bdac50-fa3d-4be1-9644-127643c30235" 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_0e52d310-c814-41f5-958e-526f2cd13550" 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_40bdac50-fa3d-4be1-9644-127643c30235" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_0e52d310-c814-41f5-958e-526f2cd13550" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_a06cfb85-16f8-4829-be1e-aab13033b601" 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_40bdac50-fa3d-4be1-9644-127643c30235" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_a06cfb85-16f8-4829-be1e-aab13033b601" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_98390607-40d0-4ec0-8707-acbd7f2f980f" 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_40bdac50-fa3d-4be1-9644-127643c30235" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_98390607-40d0-4ec0-8707-acbd7f2f980f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_fe2a0155-4f7a-49cc-9cf8-094ffbef7ed5" xlink:href="fsbc-20220930.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_40bdac50-fa3d-4be1-9644-127643c30235" xlink:to="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_fe2a0155-4f7a-49cc-9cf8-094ffbef7ed5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_755f1055-363b-42a8-986d-da44f52c2455" 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_40bdac50-fa3d-4be1-9644-127643c30235" xlink:to="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_755f1055-363b-42a8-986d-da44f52c2455" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="fsbc-20220930.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_acdc4e96-8c89-4a74-87af-3f4d56f76144" 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_864acb81-73b3-4a0a-b52b-3ad7b6fd640d" 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_acdc4e96-8c89-4a74-87af-3f4d56f76144" xlink:to="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_864acb81-73b3-4a0a-b52b-3ad7b6fd640d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_122192d8-16f6-4d1f-bc0d-d6f3b14cd77d" 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_acdc4e96-8c89-4a74-87af-3f4d56f76144" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_122192d8-16f6-4d1f-bc0d-d6f3b14cd77d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_d978d9a3-c396-4cc1-b8f9-836ecbd79265" 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_acdc4e96-8c89-4a74-87af-3f4d56f76144" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_d978d9a3-c396-4cc1-b8f9-836ecbd79265" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_bc892a21-40cd-4686-94d0-547abc584dd4" 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_acdc4e96-8c89-4a74-87af-3f4d56f76144" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_bc892a21-40cd-4686-94d0-547abc584dd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_40e7b643-e253-4a28-aac2-4c06aefe3423" 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_acdc4e96-8c89-4a74-87af-3f4d56f76144" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_40e7b643-e253-4a28-aac2-4c06aefe3423" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestExpenseRecognizedonInterestbearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20220930.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_180cd5d2-dd32-4bb3-a128-23000b8f3580" 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_1302836f-e0bf-4028-9649-ec35f0f1cb7e" 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_180cd5d2-dd32-4bb3-a128-23000b8f3580" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_1302836f-e0bf-4028-9649-ec35f0f1cb7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_125378b8-99db-48fa-99ec-9b9c7141e50e" 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_180cd5d2-dd32-4bb3-a128-23000b8f3580" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_125378b8-99db-48fa-99ec-9b9c7141e50e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_ef81da51-d4e0-46fc-9f62-7ab98203ddab" 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_180cd5d2-dd32-4bb3-a128-23000b8f3580" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_ef81da51-d4e0-46fc-9f62-7ab98203ddab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_55c804be-6c02-421a-b29b-2848497e4bee" xlink:href="fsbc-20220930.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_180cd5d2-dd32-4bb3-a128-23000b8f3580" xlink:to="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_55c804be-6c02-421a-b29b-2848497e4bee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_aaef6bbf-6af5-4b02-82bb-3be8bd287d57" 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_180cd5d2-dd32-4bb3-a128-23000b8f3580" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_aaef6bbf-6af5-4b02-82bb-3be8bd287d57" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LeasesScheduleofLeaseCostDetails" xlink:type="simple" xlink:href="fsbc-20220930.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_2c5ef247-0a60-4bb5-9640-2732aaa42b38" 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_9b025e67-a590-4848-a339-d1d62d58b645" 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_2c5ef247-0a60-4bb5-9640-2732aaa42b38" xlink:to="loc_us-gaap_OperatingLeaseCost_9b025e67-a590-4848-a339-d1d62d58b645" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_4fb8d8ca-1e8c-4c9f-bb4b-b0b6dc463b9a" 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_2c5ef247-0a60-4bb5-9640-2732aaa42b38" xlink:to="loc_us-gaap_SubleaseIncome_4fb8d8ca-1e8c-4c9f-bb4b-b0b6dc463b9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_4d24515c-a283-4f8f-a366-ee8058fe5c78" 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_2c5ef247-0a60-4bb5-9640-2732aaa42b38" xlink:to="loc_us-gaap_ShortTermLeaseCost_4d24515c-a283-4f8f-a366-ee8058fe5c78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_76d893cb-8ffa-4790-a277-b90b37fc5383" 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_2c5ef247-0a60-4bb5-9640-2732aaa42b38" xlink:to="loc_us-gaap_VariableLeaseCost_76d893cb-8ffa-4790-a277-b90b37fc5383" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LeasesFutureOperatingLeasePaymentsDetails" xlink:type="simple" xlink:href="fsbc-20220930.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_90ed3881-0f65-4393-9f63-d1db4414b711" 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_000bab72-af5d-4379-9675-ca610ffa3baa" xlink:href="fsbc-20220930.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_90ed3881-0f65-4393-9f63-d1db4414b711" xlink:to="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue_000bab72-af5d-4379-9675-ca610ffa3baa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_ff3aaac8-ea52-4692-b612-9a2b6d042e68" 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_90ed3881-0f65-4393-9f63-d1db4414b711" xlink:to="loc_us-gaap_OperatingLeaseLiability_ff3aaac8-ea52-4692-b612-9a2b6d042e68" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LeasesFutureOperatingLeasePaymentsDetails_1" xlink:type="simple" xlink:href="fsbc-20220930.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_feb39663-b8da-49df-99ac-5409b57ae450" 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_ab7e3c28-97ed-4c4a-a909-8369009b14a5" 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_feb39663-b8da-49df-99ac-5409b57ae450" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_ab7e3c28-97ed-4c4a-a909-8369009b14a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_f8c1e0ae-70a8-4a54-a1b4-b1941d6c3774" 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_feb39663-b8da-49df-99ac-5409b57ae450" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_f8c1e0ae-70a8-4a54-a1b4-b1941d6c3774" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_e9664f8c-fe72-4a3a-987e-05453764f565" 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_feb39663-b8da-49df-99ac-5409b57ae450" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_e9664f8c-fe72-4a3a-987e-05453764f565" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_9ccd8af7-af79-410e-9330-1d591abe9654" 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_feb39663-b8da-49df-99ac-5409b57ae450" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_9ccd8af7-af79-410e-9330-1d591abe9654" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_b8c5ed30-5676-4a7b-9091-7ee27c23ac40" 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_feb39663-b8da-49df-99ac-5409b57ae450" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_b8c5ed30-5676-4a7b-9091-7ee27c23ac40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_3bd8787e-a482-4a05-9388-63743e7aa6eb" xlink:href="fsbc-20220930.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_feb39663-b8da-49df-99ac-5409b57ae450" xlink:to="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_3bd8787e-a482-4a05-9388-63743e7aa6eb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesProvisionForIncomeTaxDetails" xlink:type="simple" xlink:href="fsbc-20220930.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_48f2df6a-6f28-47bb-92cf-cd65779136b9" 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_382010cc-0586-4e2b-9bf5-0305a922d6c7" 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_48f2df6a-6f28-47bb-92cf-cd65779136b9" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_382010cc-0586-4e2b-9bf5-0305a922d6c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_f94720a6-af08-49db-8b3f-8dc91f2c6a75" 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_48f2df6a-6f28-47bb-92cf-cd65779136b9" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_f94720a6-af08-49db-8b3f-8dc91f2c6a75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_BenefitOfSCorporationStatus_aa8b5588-4e1e-4b29-8c46-7a3191f7bae4" xlink:href="fsbc-20220930.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_48f2df6a-6f28-47bb-92cf-cd65779136b9" xlink:to="loc_fsbc_BenefitOfSCorporationStatus_aa8b5588-4e1e-4b29-8c46-7a3191f7bae4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_4b0f0801-c168-4ce8-b350-f89d169cb112" 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_48f2df6a-6f28-47bb-92cf-cd65779136b9" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_4b0f0801-c168-4ce8-b350-f89d169cb112" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CCorpConversionFederalRateChange_ede3731f-9ef0-4a22-b154-f1faab2adc4d" xlink:href="fsbc-20220930.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_48f2df6a-6f28-47bb-92cf-cd65779136b9" xlink:to="loc_fsbc_CCorpConversionFederalRateChange_ede3731f-9ef0-4a22-b154-f1faab2adc4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_7206ae04-e71a-4abc-8e02-dafefc286bf9" 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_48f2df6a-6f28-47bb-92cf-cd65779136b9" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_7206ae04-e71a-4abc-8e02-dafefc286bf9" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
