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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:e173ce93-65ad-44d1-9025-945bd7339177,g:5ba017ee-1090-4819-9b33-92defca13610-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="fsbc-20221231.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_d8b981c2-4b6b-4c5d-9d02-0bf18a9b4931" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_a3d27cbd-8187-49b2-adfe-1809f4ff07f6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8b981c2-4b6b-4c5d-9d02-0bf18a9b4931" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_a3d27cbd-8187-49b2-adfe-1809f4ff07f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_749133bc-b833-433e-85e2-9e5902a6216f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_d8b981c2-4b6b-4c5d-9d02-0bf18a9b4931" xlink:to="loc_us-gaap_OperatingLeaseLiability_749133bc-b833-433e-85e2-9e5902a6216f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_5b354bf7-baaf-4dab-a9a7-cc3bda20252b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8b981c2-4b6b-4c5d-9d02-0bf18a9b4931" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_5b354bf7-baaf-4dab-a9a7-cc3bda20252b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_44117693-2b6b-428d-97b3-27dfde6bec76" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubordinatedDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8b981c2-4b6b-4c5d-9d02-0bf18a9b4931" xlink:to="loc_us-gaap_SubordinatedDebt_44117693-2b6b-428d-97b3-27dfde6bec76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_cfc2455b-e7a3-46f2-a5e5-20ccbf8f5709" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_d8b981c2-4b6b-4c5d-9d02-0bf18a9b4931" xlink:to="loc_us-gaap_Deposits_cfc2455b-e7a3-46f2-a5e5-20ccbf8f5709" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_b82bbbc6-8a18-45fa-ad4b-4cfe4f110b7f" xlink:href="fsbc-20221231.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_17ee505a-0802-425e-8ccf-a48283f3f9dd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_b82bbbc6-8a18-45fa-ad4b-4cfe4f110b7f" xlink:to="loc_us-gaap_CashAndDueFromBanks_17ee505a-0802-425e-8ccf-a48283f3f9dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_0d872ac2-0b5f-42bf-954e-1aca839dd541" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_b82bbbc6-8a18-45fa-ad4b-4cfe4f110b7f" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_0d872ac2-0b5f-42bf-954e-1aca839dd541" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_dfa28418-4aac-4546-a7be-becafab474c4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_47662992-a35a-4d75-ba2b-7953fdf08cec" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_dfa28418-4aac-4546-a7be-becafab474c4" xlink:to="loc_us-gaap_Liabilities_47662992-a35a-4d75-ba2b-7953fdf08cec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_664a75e9-dede-4db3-b1dd-7d098ca3f0a9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_dfa28418-4aac-4546-a7be-becafab474c4" xlink:to="loc_us-gaap_StockholdersEquity_664a75e9-dede-4db3-b1dd-7d098ca3f0a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e653572c-e6d2-45e0-ae1a-d14ab7e47262" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_73edb7a3-bb55-4a02-ad4e-460b4c21dee7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_e653572c-e6d2-45e0-ae1a-d14ab7e47262" xlink:to="loc_us-gaap_PreferredStockValue_73edb7a3-bb55-4a02-ad4e-460b4c21dee7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_37a021cd-dd93-43d8-ae8b-814e46ebc894" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e653572c-e6d2-45e0-ae1a-d14ab7e47262" xlink:to="loc_us-gaap_CommonStockValue_37a021cd-dd93-43d8-ae8b-814e46ebc894" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_910cce3d-c4de-44db-82ca-f194aeb25816" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e653572c-e6d2-45e0-ae1a-d14ab7e47262" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_910cce3d-c4de-44db-82ca-f194aeb25816" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_3c48c10b-c16c-4792-a98d-9d2332f12806" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e653572c-e6d2-45e0-ae1a-d14ab7e47262" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_3c48c10b-c16c-4792-a98d-9d2332f12806" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_34c79145-fcca-4470-abe6-3f58cc7a5181" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_e653572c-e6d2-45e0-ae1a-d14ab7e47262" xlink:to="loc_us-gaap_CommitmentsAndContingencies_34c79145-fcca-4470-abe6-3f58cc7a5181" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_da2213a5-bd55-42e5-8428-58f821beb394" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_4f43d66f-9e74-4a8e-b24b-7009594a1715" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_da2213a5-bd55-42e5-8428-58f821beb394" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_4f43d66f-9e74-4a8e-b24b-7009594a1715" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_6a6fbfdf-0963-4f61-a93e-83319da4aea7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_da2213a5-bd55-42e5-8428-58f821beb394" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_6a6fbfdf-0963-4f61-a93e-83319da4aea7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_37358e4d-f456-4977-8d6b-4a411a8073f6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_7c5b8c5b-d1cb-4af7-9706-22e5182aabbf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_37358e4d-f456-4977-8d6b-4a411a8073f6" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_7c5b8c5b-d1cb-4af7-9706-22e5182aabbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_211d5b4b-09db-4c18-af5c-eef66b62ed55" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_37358e4d-f456-4977-8d6b-4a411a8073f6" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_211d5b4b-09db-4c18-af5c-eef66b62ed55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_fab0714b-e486-4dec-8673-060d6074cda4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_fab0714b-e486-4dec-8673-060d6074cda4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_e93c70da-7f4f-4175-aaf4-5f0f381f5f68" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HeldToMaturitySecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:to="loc_us-gaap_HeldToMaturitySecurities_e93c70da-7f4f-4175-aaf4-5f0f381f5f68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtCarryingValue_c8843b71-1ef6-40bc-b011-24ed40b13709" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimeDepositsAtCarryingValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:to="loc_us-gaap_TimeDepositsAtCarryingValue_c8843b71-1ef6-40bc-b011-24ed40b13709" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_3300b184-ccf2-4ca0-894b-23c468e4b147" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_3300b184-ccf2-4ca0-894b-23c468e4b147" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_9c4d2cf1-069a-490a-94d7-759745d1815d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_9c4d2cf1-069a-490a-94d7-759745d1815d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_5d37c751-d383-4d94-8f30-ea66d3de74d3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_5d37c751-d383-4d94-8f30-ea66d3de74d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_9f19f439-c0f8-43f3-ae61-1079370bd39c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BankOwnedLifeInsurance"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_9f19f439-c0f8-43f3-ae61-1079370bd39c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_7abf3866-0073-460e-b992-7947fc9bceae" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestReceivableAndOtherAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_7abf3866-0073-460e-b992-7947fc9bceae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_2261481e-2369-432e-8239-78b86fdcf1ca" xlink:href="fsbc-20221231.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:to="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_2261481e-2369-432e-8239-78b86fdcf1ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_be62fd06-0d09-4ded-a20f-929fcd5acc10" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_be62fd06-0d09-4ded-a20f-929fcd5acc10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_9b5c742c-279b-4b7e-b6fa-412cfcaf85eb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FederalHomeLoanBankStock"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ec2d71c9-92e2-48ae-9066-39ccdb96251e" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_9b5c742c-279b-4b7e-b6fa-412cfcaf85eb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="simple" xlink:href="fsbc-20221231.xsd#CONSOLIDATEDSTATEMENTSOFINCOME"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_af0c3abd-57ca-43a5-a925-fea8c7b1d396" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_ad3ad80a-943e-430b-8fe2-3f958d1566a0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_af0c3abd-57ca-43a5-a925-fea8c7b1d396" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_ad3ad80a-943e-430b-8fe2-3f958d1566a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_b161d9fc-0b6b-459a-a105-a9ee4b2dd9f0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_af0c3abd-57ca-43a5-a925-fea8c7b1d396" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_b161d9fc-0b6b-459a-a105-a9ee4b2dd9f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_3543589d-edfc-4f4c-8d17-fa334913e2b5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_af0c3abd-57ca-43a5-a925-fea8c7b1d396" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_3543589d-edfc-4f4c-8d17-fa334913e2b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_bde8cad5-9327-47e7-9a18-551f9a55e612" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_af0c3abd-57ca-43a5-a925-fea8c7b1d396" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_bde8cad5-9327-47e7-9a18-551f9a55e612" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_468c8f72-b58d-4508-8cd8-257c67585146" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_0f9ddd2b-b8de-4486-a64e-f46279a24bbc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_468c8f72-b58d-4508-8cd8-257c67585146" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_0f9ddd2b-b8de-4486-a64e-f46279a24bbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_a38322e6-95ca-4983-ba0e-4748c9a8f433" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_468c8f72-b58d-4508-8cd8-257c67585146" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_a38322e6-95ca-4983-ba0e-4748c9a8f433" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_d3350bbf-d68b-4ba8-aa25-f8bc8c497ae3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ServiceChargesOnDepositAccounts_fc654da2-0ec4-46d0-837a-bc04547b4a40" xlink:href="fsbc-20221231.xsd#fsbc_ServiceChargesOnDepositAccounts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_d3350bbf-d68b-4ba8-aa25-f8bc8c497ae3" xlink:to="loc_fsbc_ServiceChargesOnDepositAccounts_fc654da2-0ec4-46d0-837a-bc04547b4a40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedFees_3acddf8e-ac2b-48cc-a26c-bc743f7998ba" xlink:href="fsbc-20221231.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_d3350bbf-d68b-4ba8-aa25-f8bc8c497ae3" xlink:to="loc_fsbc_LoanRelatedFees_3acddf8e-ac2b-48cc-a26c-bc743f7998ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_7e34088a-63af-475d-aa34-ed1397d25570" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnSaleOfLoansAndLeases"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_d3350bbf-d68b-4ba8-aa25-f8bc8c497ae3" xlink:to="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_7e34088a-63af-475d-aa34-ed1397d25570" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_7878a4b6-102e-453a-b8a5-becf958837ed" xlink:href="fsbc-20221231.xsd#fsbc_NetGainOnSaleOfSecuritiesAvailableForSale"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_d3350bbf-d68b-4ba8-aa25-f8bc8c497ae3" xlink:to="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_7878a4b6-102e-453a-b8a5-becf958837ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_25a413fc-44b1-48b4-bfd8-e9e547b71003" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_d3350bbf-d68b-4ba8-aa25-f8bc8c497ae3" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_25a413fc-44b1-48b4-bfd8-e9e547b71003" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_FederalHomeLoanBankStockDividends_194822ac-1d60-4375-a22b-1fac97737840" xlink:href="fsbc-20221231.xsd#fsbc_FederalHomeLoanBankStockDividends"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_d3350bbf-d68b-4ba8-aa25-f8bc8c497ae3" xlink:to="loc_fsbc_FederalHomeLoanBankStockDividends_194822ac-1d60-4375-a22b-1fac97737840" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_3ba3318c-fdd1-41bc-a26a-d89b639848b1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_d3350bbf-d68b-4ba8-aa25-f8bc8c497ae3" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_3ba3318c-fdd1-41bc-a26a-d89b639848b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_e8f39b59-f93c-4d9a-8294-3b0bff5f7870" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_5f17e1bf-c2a3-4a74-acbb-9e69cea39e8b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpenseSubordinatedNotesAndDebentures"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_e8f39b59-f93c-4d9a-8294-3b0bff5f7870" xlink:to="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_5f17e1bf-c2a3-4a74-acbb-9e69cea39e8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_3022adca-ca56-471f-949e-d4fd76f0b5f2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_e8f39b59-f93c-4d9a-8294-3b0bff5f7870" xlink:to="loc_us-gaap_InterestExpenseDeposits_3022adca-ca56-471f-949e-d4fd76f0b5f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm_afe94d22-3b4d-4531-b3ca-75acf1a7788f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_e8f39b59-f93c-4d9a-8294-3b0bff5f7870" xlink:to="loc_us-gaap_InterestExpenseFederalHomeLoanBankAndFederalReserveBankAdvancesLongTerm_afe94d22-3b4d-4531-b3ca-75acf1a7788f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_98f90c9c-27d0-4a1c-ad0a-4c7066205fce" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_d4b39222-8779-497f-b39b-61178182747b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_98f90c9c-27d0-4a1c-ad0a-4c7066205fce" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_d4b39222-8779-497f-b39b-61178182747b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_f3ecd972-8c0a-4ef9-802b-2168542ca905" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_98f90c9c-27d0-4a1c-ad0a-4c7066205fce" xlink:to="loc_us-gaap_InterestExpense_f3ecd972-8c0a-4ef9-802b-2168542ca905" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_28592657-8b85-4646-96fd-d3b3f9e001c1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_c5b0d3c7-fae3-4b7e-a511-28290f430c4b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_28592657-8b85-4646-96fd-d3b3f9e001c1" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_c5b0d3c7-fae3-4b7e-a511-28290f430c4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_4bbcec41-dd87-42fe-a6a9-3102122aea9b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_28592657-8b85-4646-96fd-d3b3f9e001c1" xlink:to="loc_us-gaap_NoninterestIncome_4bbcec41-dd87-42fe-a6a9-3102122aea9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_1e9c3c91-d63d-47b3-b4ad-333f9e19d8a4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_28592657-8b85-4646-96fd-d3b3f9e001c1" xlink:to="loc_us-gaap_NoninterestExpense_1e9c3c91-d63d-47b3-b4ad-333f9e19d8a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_97b3239b-d3cf-4515-aee0-20d6b9f46d2a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_7c1ed391-8f3a-4c7b-a3f3-300c9c09722d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_97b3239b-d3cf-4515-aee0-20d6b9f46d2a" xlink:to="loc_us-gaap_LaborAndRelatedExpense_7c1ed391-8f3a-4c7b-a3f3-300c9c09722d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_f2dc188f-1bc7-4b20-b7e8-919e85c88f48" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_97b3239b-d3cf-4515-aee0-20d6b9f46d2a" xlink:to="loc_us-gaap_OccupancyNet_f2dc188f-1bc7-4b20-b7e8-919e85c88f48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_6e59408c-e46d-49a7-9c1d-bdbded32ba22" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_97b3239b-d3cf-4515-aee0-20d6b9f46d2a" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_6e59408c-e46d-49a7-9c1d-bdbded32ba22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_c10c3523-37e3-48ba-8f15-a5a8b5d9aed8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_97b3239b-d3cf-4515-aee0-20d6b9f46d2a" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_c10c3523-37e3-48ba-8f15-a5a8b5d9aed8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_d88e84a8-ca41-4043-bda6-a7a257a3105c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_97b3239b-d3cf-4515-aee0-20d6b9f46d2a" xlink:to="loc_us-gaap_ProfessionalFees_d88e84a8-ca41-4043-bda6-a7a257a3105c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_e5e0ee0c-8b3c-4978-b17a-a2b7d8783a86" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_97b3239b-d3cf-4515-aee0-20d6b9f46d2a" xlink:to="loc_us-gaap_AdvertisingExpense_e5e0ee0c-8b3c-4978-b17a-a2b7d8783a86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedExpenses_b3ce6522-bc33-4d63-bbd9-521ee19e11d5" xlink:href="fsbc-20221231.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_97b3239b-d3cf-4515-aee0-20d6b9f46d2a" xlink:to="loc_fsbc_LoanRelatedExpenses_b3ce6522-bc33-4d63-bbd9-521ee19e11d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_44bf431c-1432-4489-a0ff-4b375e69b62e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_97b3239b-d3cf-4515-aee0-20d6b9f46d2a" xlink:to="loc_us-gaap_OtherNoninterestExpense_44bf431c-1432-4489-a0ff-4b375e69b62e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="fsbc-20221231.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_3e1284c2-65a1-46e8-ba7e-293569f6e1ab" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_7557906c-8d6e-4b0a-9d37-2ec68888d1ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_3e1284c2-65a1-46e8-ba7e-293569f6e1ab" xlink:to="loc_us-gaap_NetIncomeLoss_7557906c-8d6e-4b0a-9d37-2ec68888d1ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_b72c0380-586f-4f5c-804b-bf37da2b3199" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_3e1284c2-65a1-46e8-ba7e-293569f6e1ab" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_b72c0380-586f-4f5c-804b-bf37da2b3199" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_5fe6cf85-5548-4d0f-9ce5-0c8cbc1af76d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_fdfe2a9d-c797-403d-b657-c4d3c3f86661" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_5fe6cf85-5548-4d0f-9ce5-0c8cbc1af76d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_fdfe2a9d-c797-403d-b657-c4d3c3f86661" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_594125d1-9a8b-40cc-99ee-0c15587bd1cf" xlink:href="fsbc-20221231.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_5fe6cf85-5548-4d0f-9ce5-0c8cbc1af76d" xlink:to="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_594125d1-9a8b-40cc-99ee-0c15587bd1cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_37bcafb6-0268-4545-b8d0-24aabe29ec4c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_5fe6cf85-5548-4d0f-9ce5-0c8cbc1af76d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_37bcafb6-0268-4545-b8d0-24aabe29ec4c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="fsbc-20221231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_7f7711fb-1093-4c6a-a72f-050d29429b8a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b64c134-37c4-4d09-8efe-51edc4e8c6df" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_7f7711fb-1093-4c6a-a72f-050d29429b8a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_9b64c134-37c4-4d09-8efe-51edc4e8c6df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d5316a89-9da7-4539-8456-be1ec068d93a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7f7711fb-1093-4c6a-a72f-050d29429b8a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_d5316a89-9da7-4539-8456-be1ec068d93a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e723f731-b60f-444a-850c-bb95ee2ba432" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_7f7711fb-1093-4c6a-a72f-050d29429b8a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e723f731-b60f-444a-850c-bb95ee2ba432" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_eb4fb136-b6bb-4a4c-a06e-74f2f55f9f56" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_eb4fb136-b6bb-4a4c-a06e-74f2f55f9f56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_e423accd-28eb-4585-908b-c52f95a68672" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_e423accd-28eb-4585-908b-c52f95a68672" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_da346527-7296-4440-986a-ba4e6083d440" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_da346527-7296-4440-986a-ba4e6083d440" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_7b6b8b7a-de7a-4cbd-990c-117bca8c5e4b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_ShareBasedCompensation_7b6b8b7a-de7a-4cbd-990c-117bca8c5e4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_67d7629e-cd64-4363-ba09-d18cc6c1f28f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_67d7629e-cd64-4363-ba09-d18cc6c1f28f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_00155bbe-8e34-41bd-b958-0e9b28cd3d61" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_00155bbe-8e34-41bd-b958-0e9b28cd3d61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_6361ad6a-687a-48cd-8727-149213fe36d0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_6361ad6a-687a-48cd-8727-149213fe36d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_faa4f5bf-e06d-4871-a7f0-4bcb49086ef4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_NetIncomeLoss_faa4f5bf-e06d-4871-a7f0-4bcb49086ef4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_4239fb14-4fce-4301-a511-b3cb74a202c8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_4239fb14-4fce-4301-a511-b3cb74a202c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_3a6eef7f-5cfe-4eda-9bb9-0e97ce3d8ee0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_3a6eef7f-5cfe-4eda-9bb9-0e97ce3d8ee0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_0eb4c112-4755-44ec-8295-26e042687e8c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_0eb4c112-4755-44ec-8295-26e042687e8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProceedsFromCancellationOfNoteIssuanceCosts_1d2f0ea7-f990-4f82-a58c-77b1ba4f9ab1" xlink:href="fsbc-20221231.xsd#fsbc_ProceedsFromCancellationOfNoteIssuanceCosts"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_fsbc_ProceedsFromCancellationOfNoteIssuanceCosts_1d2f0ea7-f990-4f82-a58c-77b1ba4f9ab1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_b6352c80-c23e-4c94-b97b-4d4e27602fcb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_b6352c80-c23e-4c94-b97b-4d4e27602fcb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_4d553520-9796-4934-8bc8-b6f272e9f4b3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_DepreciationAndAmortization_4d553520-9796-4934-8bc8-b6f272e9f4b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_2acdbe2f-4764-4a86-a5fb-840944eea3fe" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_2acdbe2f-4764-4a86-a5fb-840944eea3fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_0c275cb4-8130-4412-8182-09cac503dea5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_0c275cb4-8130-4412-8182-09cac503dea5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_94ff9562-11a7-48d0-b87e-5a2146c75395" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_94ff9562-11a7-48d0-b87e-5a2146c75395" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_0f34ba38-62ea-4bcd-868a-3c9e2575b689" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_763f31e2-621e-4ae3-8ce6-3e37a835200d" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_0f34ba38-62ea-4bcd-868a-3c9e2575b689" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fdae6182-ed3c-4ca3-b656-0d29e518fd8c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_b50fb995-bb50-48f6-811f-9d819443c50d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fdae6182-ed3c-4ca3-b656-0d29e518fd8c" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_b50fb995-bb50-48f6-811f-9d819443c50d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_3af19449-e8da-463d-94c4-f73c5fa44d84" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fdae6182-ed3c-4ca3-b656-0d29e518fd8c" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_3af19449-e8da-463d-94c4-f73c5fa44d84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_8695976d-5c35-4e67-887c-964abd61fd32" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fdae6182-ed3c-4ca3-b656-0d29e518fd8c" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_8695976d-5c35-4e67-887c-964abd61fd32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_bcceab5f-d6c9-475f-a438-6c008893b98b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_fdae6182-ed3c-4ca3-b656-0d29e518fd8c" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_bcceab5f-d6c9-475f-a438-6c008893b98b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromFederalHomeLoanBankBorrowings_9728f0b6-b354-416c-86d9-cc2ae6ff1f55" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromFederalHomeLoanBankBorrowings"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fdae6182-ed3c-4ca3-b656-0d29e518fd8c" xlink:to="loc_us-gaap_ProceedsFromFederalHomeLoanBankBorrowings_9728f0b6-b354-416c-86d9-cc2ae6ff1f55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSubordinatedDebt_13379b33-04ad-4e06-8ec8-5c39307055d0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfSubordinatedDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fdae6182-ed3c-4ca3-b656-0d29e518fd8c" xlink:to="loc_us-gaap_RepaymentsOfSubordinatedDebt_13379b33-04ad-4e06-8ec8-5c39307055d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_c1799c01-8c49-4326-99c5-48189a7f043d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fdae6182-ed3c-4ca3-b656-0d29e518fd8c" xlink:to="loc_us-gaap_PaymentsOfDividends_c1799c01-8c49-4326-99c5-48189a7f043d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a9e6db3b-4d27-4615-843a-3f528c9d44f8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_71ddb3cd-ca42-49ac-9ef3-d3ffccaac10b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a9e6db3b-4d27-4615-843a-3f528c9d44f8" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_71ddb3cd-ca42-49ac-9ef3-d3ffccaac10b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_73f6e14e-7067-4029-8c4f-8504ebf8481c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_a9e6db3b-4d27-4615-843a-3f528c9d44f8" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_73f6e14e-7067-4029-8c4f-8504ebf8481c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_4d100ff2-ee45-4fe6-a6dd-3ddb23573582" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a9e6db3b-4d27-4615-843a-3f528c9d44f8" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_4d100ff2-ee45-4fe6-a6dd-3ddb23573582" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3eea2d30-90af-427b-9274-bf80f1020f03" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a9e6db3b-4d27-4615-843a-3f528c9d44f8" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3eea2d30-90af-427b-9274-bf80f1020f03" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_81525241-cbd3-4a04-b85c-b799b2cc7904" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a9e6db3b-4d27-4615-843a-3f528c9d44f8" xlink:to="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_81525241-cbd3-4a04-b85c-b799b2cc7904" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_ac3e0f6f-4c4a-4042-94c9-11799207654e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a9e6db3b-4d27-4615-843a-3f528c9d44f8" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_ac3e0f6f-4c4a-4042-94c9-11799207654e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_3c99c178-604a-4c6c-9856-567464373e95" xlink:href="fsbc-20221231.xsd#fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a9e6db3b-4d27-4615-843a-3f528c9d44f8" xlink:to="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_3c99c178-604a-4c6c-9856-567464373e95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_d8b11a6d-93a4-40b7-9280-587664b8cbd6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_a9e6db3b-4d27-4615-843a-3f528c9d44f8" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_d8b11a6d-93a4-40b7-9280-587664b8cbd6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforLoanLossesBalanceofEachMajorProductTypeDetails" xlink:type="simple" xlink:href="fsbc-20221231.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_09d14cf3-625c-4ee8-afab-715a9ad0522a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_c6acb988-521e-4f15-9a2c-a99b77e5ca89" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_09d14cf3-625c-4ee8-afab-715a9ad0522a" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_c6acb988-521e-4f15-9a2c-a99b77e5ca89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_bd5e39c1-14bc-4cd7-a8df-14c0c0fd2cb1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_09d14cf3-625c-4ee8-afab-715a9ad0522a" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_bd5e39c1-14bc-4cd7-a8df-14c0c0fd2cb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_98e1031d-9927-42a2-94d5-3a523e8a6eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LoansAndLeasesReceivableDeferredIncome"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_09d14cf3-625c-4ee8-afab-715a9ad0522a" xlink:to="loc_us-gaap_LoansAndLeasesReceivableDeferredIncome_98e1031d-9927-42a2-94d5-3a523e8a6eb7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforLoanLossesImpairedLoansDetails" xlink:type="simple" xlink:href="fsbc-20221231.xsd#LoansandAllowanceforLoanLossesImpairedLoansDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LoansandAllowanceforLoanLossesImpairedLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_1323014d-23ed-4dc2-a181-83b9f0d93087" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_185713e0-ad15-4969-bffa-e0cadbf9c5bd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_1323014d-23ed-4dc2-a181-83b9f0d93087" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_185713e0-ad15-4969-bffa-e0cadbf9c5bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_ad411c11-8976-47bf-899a-ee507a1bc7cb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_1323014d-23ed-4dc2-a181-83b9f0d93087" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_ad411c11-8976-47bf-899a-ee507a1bc7cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_b5c6ce2b-6d0d-46cf-8cd1-12edaded3b1c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_1c010be9-1312-457e-9855-d265654c23d2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_b5c6ce2b-6d0d-46cf-8cd1-12edaded3b1c" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_1c010be9-1312-457e-9855-d265654c23d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_c6d841d1-f3b5-43cd-92e0-f02ad4339cf7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_b5c6ce2b-6d0d-46cf-8cd1-12edaded3b1c" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_c6d841d1-f3b5-43cd-92e0-f02ad4339cf7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/PremisesandEquipmentNetScheduleofPremisesandEquipmentDetails" xlink:type="simple" xlink:href="fsbc-20221231.xsd#PremisesandEquipmentNetScheduleofPremisesandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/PremisesandEquipmentNetScheduleofPremisesandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_22ecfbd0-d694-4dd8-ad45-36a489bff9f2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_21bb246b-a178-45d6-89d9-34942168dc65" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_22ecfbd0-d694-4dd8-ad45-36a489bff9f2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_21bb246b-a178-45d6-89d9-34942168dc65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_d45b6df4-4333-410b-a3ca-47761630b4b3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_22ecfbd0-d694-4dd8-ad45-36a489bff9f2" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_d45b6df4-4333-410b-a3ca-47761630b4b3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestReceivableandOtherAssetsSummaryofInterestReceivableandOtherAssetsDetails" xlink:type="simple" xlink:href="fsbc-20221231.xsd#InterestReceivableandOtherAssetsSummaryofInterestReceivableandOtherAssetsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InterestReceivableandOtherAssetsSummaryofInterestReceivableandOtherAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_923de11b-5104-4eec-bcf4-5051d32b9abd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestReceivableAndOtherAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_b4ced847-ef3d-4e41-aa5f-0e99b137e9d4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_923de11b-5104-4eec-bcf4-5051d32b9abd" xlink:to="loc_us-gaap_EquityMethodInvestments_b4ced847-ef3d-4e41-aa5f-0e99b137e9d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAsset_bd65926b-e750-42c7-9647-9e8677a47948" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ServicingAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_923de11b-5104-4eec-bcf4-5051d32b9abd" xlink:to="loc_us-gaap_ServicingAsset_bd65926b-e750-42c7-9647-9e8677a47948" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_9ba334e8-5d11-49bf-beaf-38e448cd53db" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_923de11b-5104-4eec-bcf4-5051d32b9abd" xlink:to="loc_us-gaap_OtherAssets_9ba334e8-5d11-49bf-beaf-38e448cd53db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_a9bb72eb-0f0e-4409-96f9-df603439c3cf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_923de11b-5104-4eec-bcf4-5051d32b9abd" xlink:to="loc_us-gaap_InterestReceivable_a9bb72eb-0f0e-4409-96f9-df603439c3cf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestBearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20221231.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_025257f4-4d88-4353-8532-38ce70ee8ed1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositSavings_06bd6dba-cf39-4d94-9d5e-95a5158fcf90" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_025257f4-4d88-4353-8532-38ce70ee8ed1" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_06bd6dba-cf39-4d94-9d5e-95a5158fcf90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_6d1d9c99-ac31-4898-8e55-5099eb3d81d6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_025257f4-4d88-4353-8532-38ce70ee8ed1" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_6d1d9c99-ac31-4898-8e55-5099eb3d81d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_5f000d0f-4495-49a5-af07-8b6bb477c7d2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_025257f4-4d88-4353-8532-38ce70ee8ed1" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_5f000d0f-4495-49a5-af07-8b6bb477c7d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_beb666bf-ee62-47ff-b7fc-21a2ecbf7d3f" xlink:href="fsbc-20221231.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_025257f4-4d88-4353-8532-38ce70ee8ed1" xlink:to="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_beb666bf-ee62-47ff-b7fc-21a2ecbf7d3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_428e0a4c-75d0-458c-9815-cb78aa2085fa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_025257f4-4d88-4353-8532-38ce70ee8ed1" xlink:to="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_428e0a4c-75d0-458c-9815-cb78aa2085fa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="fsbc-20221231.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_b294be6d-e7f1-419c-9dfa-adadc6d111f0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestBearingDomesticDepositTimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_712ced59-65ad-4b42-bdd4-3aab387027dd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimeDepositMaturitiesYearOne"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_b294be6d-e7f1-419c-9dfa-adadc6d111f0" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_712ced59-65ad-4b42-bdd4-3aab387027dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_92f2d35a-22e2-4fdb-aa6a-594d1f3fddff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimeDepositMaturitiesYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_b294be6d-e7f1-419c-9dfa-adadc6d111f0" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_92f2d35a-22e2-4fdb-aa6a-594d1f3fddff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFive_c6d322d2-d230-49a8-9b9e-18c268138839" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimeDepositMaturitiesYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_b294be6d-e7f1-419c-9dfa-adadc6d111f0" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFive_c6d322d2-d230-49a8-9b9e-18c268138839" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_528a9631-a94c-4919-94ba-a81514a1d5bb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_b294be6d-e7f1-419c-9dfa-adadc6d111f0" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_528a9631-a94c-4919-94ba-a81514a1d5bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_f9d5587e-fec5-4528-b555-e6f823d2de57" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TimeDepositMaturitiesYearThree"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_b294be6d-e7f1-419c-9dfa-adadc6d111f0" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_f9d5587e-fec5-4528-b555-e6f823d2de57" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestExpenseRecognizedonInterestbearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20221231.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_7a73f089-83c6-4241-94fa-8dfc66fc7911" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_0ea26b32-618b-41ba-9ba2-e6f6add55c3b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7a73f089-83c6-4241-94fa-8dfc66fc7911" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_0ea26b32-618b-41ba-9ba2-e6f6add55c3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_90359387-621a-4c77-a6a0-7101d9895798" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7a73f089-83c6-4241-94fa-8dfc66fc7911" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_90359387-621a-4c77-a6a0-7101d9895798" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_7d1f5d31-06a1-4357-b8f0-fd3b4dc9c408" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7a73f089-83c6-4241-94fa-8dfc66fc7911" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_7d1f5d31-06a1-4357-b8f0-fd3b4dc9c408" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_93d9840f-840c-4ded-bad8-a14a02f4ddac" xlink:href="fsbc-20221231.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_7a73f089-83c6-4241-94fa-8dfc66fc7911" xlink:to="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_93d9840f-840c-4ded-bad8-a14a02f4ddac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_1f7f00ef-7aaf-4ec0-8074-ecd2b8ff1afa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_7a73f089-83c6-4241-94fa-8dfc66fc7911" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_1f7f00ef-7aaf-4ec0-8074-ecd2b8ff1afa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesfromConversionfromanSCorptoaCCorpDetails" xlink:type="simple" xlink:href="fsbc-20221231.xsd#IncomeTaxesProvisionforIncomeTaxesfromConversionfromanSCorptoaCCorpDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesfromConversionfromanSCorptoaCCorpDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_bdacb1e4-142e-4fd9-a94b-735ad78a06df" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_fdaaaad1-df2c-4db1-abce-ff850eb8dbfa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_bdacb1e4-142e-4fd9-a94b-735ad78a06df" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_fdaaaad1-df2c-4db1-abce-ff850eb8dbfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_d41492e3-29c2-4c76-9292-31ecea725dfb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_bdacb1e4-142e-4fd9-a94b-735ad78a06df" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_d41492e3-29c2-4c76-9292-31ecea725dfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_bcc97dcc-91ea-40f8-ad4d-92e5773dbe6e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_bdacb1e4-142e-4fd9-a94b-735ad78a06df" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_bcc97dcc-91ea-40f8-ad4d-92e5773dbe6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_BenefitOfSCorporationStatus_5753c4f7-0845-4507-89a6-8f2e99646d59" xlink:href="fsbc-20221231.xsd#fsbc_BenefitOfSCorporationStatus"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_bdacb1e4-142e-4fd9-a94b-735ad78a06df" xlink:to="loc_fsbc_BenefitOfSCorporationStatus_5753c4f7-0845-4507-89a6-8f2e99646d59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_afda712e-ab2f-4903-9084-303fac69a82c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_bdacb1e4-142e-4fd9-a94b-735ad78a06df" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_afda712e-ab2f-4903-9084-303fac69a82c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="fsbc-20221231.xsd#IncomeTaxesProvisionforIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_b84b1e92-5904-4149-bdb8-dc74139e09d1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_a62c4e76-31e2-4067-a5ab-db97b46ebe40" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_b84b1e92-5904-4149-bdb8-dc74139e09d1" xlink:to="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_a62c4e76-31e2-4067-a5ab-db97b46ebe40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_c8431ac6-f70f-431e-bd0e-100daa83951e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_b84b1e92-5904-4149-bdb8-dc74139e09d1" xlink:to="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_c8431ac6-f70f-431e-bd0e-100daa83951e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_25c6eaf4-685c-4ddc-a8bd-dff5f192e226" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_51e53eaf-a2ec-46b4-9f8d-625987b12bd5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_25c6eaf4-685c-4ddc-a8bd-dff5f192e226" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_51e53eaf-a2ec-46b4-9f8d-625987b12bd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_f4609910-31d3-46ee-ad89-525b2ef47383" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_25c6eaf4-685c-4ddc-a8bd-dff5f192e226" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_f4609910-31d3-46ee-ad89-525b2ef47383" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_8c74ea85-3c2a-4ed8-80df-25442788b122" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_067065d4-8b63-4ec8-9af9-9e97d226ac47" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_8c74ea85-3c2a-4ed8-80df-25442788b122" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_067065d4-8b63-4ec8-9af9-9e97d226ac47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_c0ac3d93-aefe-4a41-b6d0-911f0e508b3b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_8c74ea85-3c2a-4ed8-80df-25442788b122" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_c0ac3d93-aefe-4a41-b6d0-911f0e508b3b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesScheduleofDeferredTaxAssetsDetails" xlink:type="simple" xlink:href="fsbc-20221231.xsd#IncomeTaxesScheduleofDeferredTaxAssetsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/IncomeTaxesScheduleofDeferredTaxAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_7f5591d4-f7a0-4e09-9390-392d48626488" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_005e031e-eacc-4572-8a57-bba491ad8e8f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_7f5591d4-f7a0-4e09-9390-392d48626488" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_005e031e-eacc-4572-8a57-bba491ad8e8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_6c2eb3f3-e573-4f02-8278-6d4bc0f7f18c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_7f5591d4-f7a0-4e09-9390-392d48626488" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_6c2eb3f3-e573-4f02-8278-6d4bc0f7f18c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_049aa355-c611-4e34-8178-e30da374a1f8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_db84647e-151c-4243-9ac1-9381d5e913db" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_049aa355-c611-4e34-8178-e30da374a1f8" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_db84647e-151c-4243-9ac1-9381d5e913db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_67f5a4c9-c28c-47ed-b0b3-b4789d6684b7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_049aa355-c611-4e34-8178-e30da374a1f8" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_67f5a4c9-c28c-47ed-b0b3-b4789d6684b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_1efc9a25-4fad-4d78-8fc1-fa4d1c78a27a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_049aa355-c611-4e34-8178-e30da374a1f8" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_1efc9a25-4fad-4d78-8fc1-fa4d1c78a27a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_DeferredTaxAssetsRightOfUseLiability_a762ad11-14eb-4b84-983a-c7c41bd4e88a" xlink:href="fsbc-20221231.xsd#fsbc_DeferredTaxAssetsRightOfUseLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_049aa355-c611-4e34-8178-e30da374a1f8" xlink:to="loc_fsbc_DeferredTaxAssetsRightOfUseLiability_a762ad11-14eb-4b84-983a-c7c41bd4e88a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsStateTaxes_8734046b-85f7-4def-b718-b30a5a4f69d8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsStateTaxes"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_049aa355-c611-4e34-8178-e30da374a1f8" xlink:to="loc_us-gaap_DeferredTaxAssetsStateTaxes_8734046b-85f7-4def-b718-b30a5a4f69d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_a2873221-d295-44a9-90c1-b9e3330cc24e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_049aa355-c611-4e34-8178-e30da374a1f8" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_a2873221-d295-44a9-90c1-b9e3330cc24e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_DeferredTaxAssetsGainLossOnAvailableForSaleAssets_09006d8c-4812-4829-aac2-f594956a03a5" xlink:href="fsbc-20221231.xsd#fsbc_DeferredTaxAssetsGainLossOnAvailableForSaleAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_049aa355-c611-4e34-8178-e30da374a1f8" xlink:to="loc_fsbc_DeferredTaxAssetsGainLossOnAvailableForSaleAssets_09006d8c-4812-4829-aac2-f594956a03a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_5e708d9d-7cfb-4df0-8232-bcc2d1afb5c1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_0f644abb-646d-438a-957c-fb35546689c7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e708d9d-7cfb-4df0-8232-bcc2d1afb5c1" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_0f644abb-646d-438a-957c-fb35546689c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_DeferredTaxLiabilitiesStateTaxes_4252c243-7b97-4443-a118-715e43882dd8" xlink:href="fsbc-20221231.xsd#fsbc_DeferredTaxLiabilitiesStateTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e708d9d-7cfb-4df0-8232-bcc2d1afb5c1" xlink:to="loc_fsbc_DeferredTaxLiabilitiesStateTaxes_4252c243-7b97-4443-a118-715e43882dd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_efa66bfc-8c50-48e8-81c7-62252ceba857" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e708d9d-7cfb-4df0-8232-bcc2d1afb5c1" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_efa66bfc-8c50-48e8-81c7-62252ceba857" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_1b538168-3594-445c-9d09-70f5b4d333a7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e708d9d-7cfb-4df0-8232-bcc2d1afb5c1" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_1b538168-3594-445c-9d09-70f5b4d333a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts_8e03541f-f50c-4919-90ae-1711bcfc52fa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_5e708d9d-7cfb-4df0-8232-bcc2d1afb5c1" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts_8e03541f-f50c-4919-90ae-1711bcfc52fa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofLeaseCostDetails" xlink:type="simple" xlink:href="fsbc-20221231.xsd#CommitmentsandContingenciesScheduleofLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_ad4dae92-93df-4725-85aa-dd42af481829" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_47202d92-ef56-4d47-8a14-cd7dee5ca411" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_ad4dae92-93df-4725-85aa-dd42af481829" xlink:to="loc_us-gaap_OperatingLeaseCost_47202d92-ef56-4d47-8a14-cd7dee5ca411" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_486ea872-c697-4893-93b2-79c398a5e146" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_ad4dae92-93df-4725-85aa-dd42af481829" xlink:to="loc_us-gaap_SubleaseIncome_486ea872-c697-4893-93b2-79c398a5e146" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails" xlink:type="simple" xlink:href="fsbc-20221231.xsd#CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_aa474129-8d6b-4fd5-ae88-ac26bf1a17ab" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_944ad6f3-e693-472c-a5bc-a22531364147" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_aa474129-8d6b-4fd5-ae88-ac26bf1a17ab" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_944ad6f3-e693-472c-a5bc-a22531364147" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_6c63ac52-2d0e-49f4-88b1-037b2b77e00d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_aa474129-8d6b-4fd5-ae88-ac26bf1a17ab" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_6c63ac52-2d0e-49f4-88b1-037b2b77e00d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_3752d4f0-d556-4a70-9daf-9ae7c184c9a9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_aa474129-8d6b-4fd5-ae88-ac26bf1a17ab" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_3752d4f0-d556-4a70-9daf-9ae7c184c9a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_2c3d9bec-f7cd-4cf9-9c64-90cf3c950a07" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_aa474129-8d6b-4fd5-ae88-ac26bf1a17ab" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_2c3d9bec-f7cd-4cf9-9c64-90cf3c950a07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_8ea0989b-76d8-417b-9d30-a7122a48c598" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_aa474129-8d6b-4fd5-ae88-ac26bf1a17ab" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_8ea0989b-76d8-417b-9d30-a7122a48c598" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_93a3e967-9241-4ccb-97f5-f294951e883d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_aa474129-8d6b-4fd5-ae88-ac26bf1a17ab" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_93a3e967-9241-4ccb-97f5-f294951e883d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails_1" xlink:type="simple" xlink:href="fsbc-20221231.xsd#CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails_1"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_93de0765-eb6d-4608-95b1-5006ca179bf9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue_f4619e5e-61c3-4bc8-9924-b3c8d6efd706" xlink:href="fsbc-20221231.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_93de0765-eb6d-4608-95b1-5006ca179bf9" xlink:to="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue_f4619e5e-61c3-4bc8-9924-b3c8d6efd706" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_b771bf84-b968-41b1-aef4-616c221f9f4b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_93de0765-eb6d-4608-95b1-5006ca179bf9" xlink:to="loc_us-gaap_OperatingLeaseLiability_b771bf84-b968-41b1-aef4-616c221f9f4b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofLeaseLiabilityPriortoASC842Details" xlink:type="simple" xlink:href="fsbc-20221231.xsd#CommitmentsandContingenciesScheduleofLeaseLiabilityPriortoASC842Details"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofLeaseLiabilityPriortoASC842Details" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_6101a58d-b579-40ba-b38d-89ef6c8d77ed" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_OperatingLeasesFutureMinimumPaymentsDueAfterYearFour_9e4c4c89-7e52-4e35-b848-4e9a929706ad" xlink:href="fsbc-20221231.xsd#fsbc_OperatingLeasesFutureMinimumPaymentsDueAfterYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_6101a58d-b579-40ba-b38d-89ef6c8d77ed" xlink:to="loc_fsbc_OperatingLeasesFutureMinimumPaymentsDueAfterYearFour_9e4c4c89-7e52-4e35-b848-4e9a929706ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_fb7bbbe7-0dde-4b20-abf3-fd89a34618bf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_6101a58d-b579-40ba-b38d-89ef6c8d77ed" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_fb7bbbe7-0dde-4b20-abf3-fd89a34618bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_27d8cb6b-5766-4ff6-b015-bec278d4e758" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_6101a58d-b579-40ba-b38d-89ef6c8d77ed" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_27d8cb6b-5766-4ff6-b015-bec278d4e758" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_67edffd7-ff63-4772-a97c-177128714e31" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_6101a58d-b579-40ba-b38d-89ef6c8d77ed" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_67edffd7-ff63-4772-a97c-177128714e31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_308e50c7-e733-406c-a4d2-01aef02d3305" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_6101a58d-b579-40ba-b38d-89ef6c8d77ed" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_308e50c7-e733-406c-a4d2-01aef02d3305" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_1dfaf7d0-337b-4a07-9118-67501257b0f8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_6101a58d-b579-40ba-b38d-89ef6c8d77ed" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_1dfaf7d0-337b-4a07-9118-67501257b0f8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationBalanceSheetDetails" xlink:type="simple" xlink:href="fsbc-20221231.xsd#ParentCompanyOnlyCondensedFinancialInformationBalanceSheetDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_7999c507-c539-4cf6-b936-4ded6559e910" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_dc14a393-5707-45e8-a89d-5d42159a6519" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_7999c507-c539-4cf6-b936-4ded6559e910" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_dc14a393-5707-45e8-a89d-5d42159a6519" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InvestmentInBankingSubsidiary_cd8f9b1a-ac3f-4079-b7c1-88450c8f0b02" xlink:href="fsbc-20221231.xsd#fsbc_InvestmentInBankingSubsidiary"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_7999c507-c539-4cf6-b936-4ded6559e910" xlink:to="loc_fsbc_InvestmentInBankingSubsidiary_cd8f9b1a-ac3f-4079-b7c1-88450c8f0b02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_699b1b7b-89dc-4506-96a3-1031753cd88c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_7999c507-c539-4cf6-b936-4ded6559e910" xlink:to="loc_us-gaap_OtherAssets_699b1b7b-89dc-4506-96a3-1031753cd88c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationStatementofIncomeDetails" xlink:type="simple" xlink:href="fsbc-20221231.xsd#ParentCompanyOnlyCondensedFinancialInformationStatementofIncomeDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationStatementofIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_7ef230a9-9d80-4ca4-a33c-f945f2848c51" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_42f84041-c756-411d-bdae-9c390883265c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_7ef230a9-9d80-4ca4-a33c-f945f2848c51" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_42f84041-c756-411d-bdae-9c390883265c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_376bdeb7-6008-4482-bdf4-b96e9e807292" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_7ef230a9-9d80-4ca4-a33c-f945f2848c51" xlink:to="loc_us-gaap_InterestExpense_376bdeb7-6008-4482-bdf4-b96e9e807292" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_af316eac-65e8-4533-9a20-3b04b4e9de28" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherExpenses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_7ef230a9-9d80-4ca4-a33c-f945f2848c51" xlink:to="loc_us-gaap_OtherExpenses_af316eac-65e8-4533-9a20-3b04b4e9de28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_8aae2990-7b9e-4031-9a09-b4e075cb5fb9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0bfacf9e-e5f4-4b71-b87b-4b42f27afdeb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.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_8aae2990-7b9e-4031-9a09-b4e075cb5fb9" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0bfacf9e-e5f4-4b71-b87b-4b42f27afdeb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_SubsidiaryOrEquityMethodInvesteeUndistributedBankingSubsidiaryIncome_ce6184be-bd13-4b47-856a-7981030104a0" xlink:href="fsbc-20221231.xsd#fsbc_SubsidiaryOrEquityMethodInvesteeUndistributedBankingSubsidiaryIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_8aae2990-7b9e-4031-9a09-b4e075cb5fb9" xlink:to="loc_fsbc_SubsidiaryOrEquityMethodInvesteeUndistributedBankingSubsidiaryIncome_ce6184be-bd13-4b47-856a-7981030104a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_a519304b-3003-4e25-9af3-167706051eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_8aae2990-7b9e-4031-9a09-b4e075cb5fb9" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_a519304b-3003-4e25-9af3-167706051eb7" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
