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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:667aa840-541a-464d-b826-61a729c04795,g:15965a10-7b30-4eb6-818e-307f90ecc323-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETSUnaudited" xlink:type="simple" xlink:href="fsbc-20220331.xsd#CONSOLIDATEDBALANCESHEETSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_41e73454-509e-4741-9d77-348f01d9eddb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_499b6d85-0e2c-420a-bad5-424627906d46" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_41e73454-509e-4741-9d77-348f01d9eddb" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_499b6d85-0e2c-420a-bad5-424627906d46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_8b107724-2ca0-425f-90d5-dba54c599566" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_41e73454-509e-4741-9d77-348f01d9eddb" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_8b107724-2ca0-425f-90d5-dba54c599566" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_af39faa7-11fa-4b36-a892-25e033c694a4" xlink:href="fsbc-20220331.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_87f10ba9-3fb6-490e-83c5-5b1f6174b7e7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndDueFromBanks"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_af39faa7-11fa-4b36-a892-25e033c694a4" xlink:to="loc_us-gaap_CashAndDueFromBanks_87f10ba9-3fb6-490e-83c5-5b1f6174b7e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_f1db40e9-cb90-48e9-b4f8-d6fed7c41c1b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDepositsInBanks"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_af39faa7-11fa-4b36-a892-25e033c694a4" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_f1db40e9-cb90-48e9-b4f8-d6fed7c41c1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_07f0afbd-7f80-471b-ab88-cb40c9da0d2e" xlink:href="fsbc-20220331.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:to="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_07f0afbd-7f80-471b-ab88-cb40c9da0d2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtCarryingValue_a6273344-b40b-4b7e-b0be-67e6b4a0c04e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:to="loc_us-gaap_TimeDepositsAtCarryingValue_a6273344-b40b-4b7e-b0be-67e6b4a0c04e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_10809094-75bc-4853-beb3-351b2d92eb95" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_10809094-75bc-4853-beb3-351b2d92eb95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_a6816fa5-a8d3-41e2-a0a2-53bc158e97da" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_HeldToMaturitySecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:to="loc_us-gaap_HeldToMaturitySecurities_a6816fa5-a8d3-41e2-a0a2-53bc158e97da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_c4e66f74-30a1-40df-b1e1-54d749ad92ae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_c4e66f74-30a1-40df-b1e1-54d749ad92ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_74d9415d-a9c1-45e9-bb54-ea137934176d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_74d9415d-a9c1-45e9-bb54-ea137934176d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_c6d2d216-c80d-4c38-a150-30b8309b7573" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalHomeLoanBankStock"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_c6d2d216-c80d-4c38-a150-30b8309b7573" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_63cc9e15-47b8-42fc-bf76-14e1ef471661" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_63cc9e15-47b8-42fc-bf76-14e1ef471661" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_52e0643d-bbd1-47a9-8f8f-3b6db21c3220" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BankOwnedLifeInsurance"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_52e0643d-bbd1-47a9-8f8f-3b6db21c3220" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_7f43754c-9f08-43d0-8865-2f285eb3c114" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestReceivableAndOtherAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_7f43754c-9f08-43d0-8865-2f285eb3c114" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_2f5ab24b-b502-40bb-9137-0b99564d4ed1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_be84b16e-4910-45df-8e9c-794a3c5eb103" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_2f5ab24b-b502-40bb-9137-0b99564d4ed1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_8c4fb437-d758-4c51-b2b4-c2cfd805f857" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_cb067494-a7e0-4c98-b1fc-86087e329b21" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_8c4fb437-d758-4c51-b2b4-c2cfd805f857" xlink:to="loc_us-gaap_Liabilities_cb067494-a7e0-4c98-b1fc-86087e329b21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_4645a908-e5e3-4c2b-80dd-9d4f6abbc31b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_8c4fb437-d758-4c51-b2b4-c2cfd805f857" xlink:to="loc_us-gaap_StockholdersEquity_4645a908-e5e3-4c2b-80dd-9d4f6abbc31b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_53f7e291-8db7-4ff5-bd74-a01f3521519b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_eefcb4e9-a9df-4443-96f6-19aa2a86e5fb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_53f7e291-8db7-4ff5-bd74-a01f3521519b" xlink:to="loc_us-gaap_PreferredStockValue_eefcb4e9-a9df-4443-96f6-19aa2a86e5fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_56011819-84f4-4343-ada8-2d17eeb5a108" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_53f7e291-8db7-4ff5-bd74-a01f3521519b" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_56011819-84f4-4343-ada8-2d17eeb5a108" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_d51f28a3-7ee0-41c5-a7ae-b21267ccf252" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_53f7e291-8db7-4ff5-bd74-a01f3521519b" xlink:to="loc_us-gaap_CommonStockValue_d51f28a3-7ee0-41c5-a7ae-b21267ccf252" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_1e8a463d-61fe-466d-aa45-edd841523617" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_53f7e291-8db7-4ff5-bd74-a01f3521519b" xlink:to="loc_us-gaap_CommitmentsAndContingencies_1e8a463d-61fe-466d-aa45-edd841523617" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_78f866a7-5bde-49dc-829a-8f54a4abf5bc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_53f7e291-8db7-4ff5-bd74-a01f3521519b" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_78f866a7-5bde-49dc-829a-8f54a4abf5bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_e9cdc314-a714-4814-8509-1f319de2a7d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_d152c241-b050-44ba-93db-61f621bda5e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_e9cdc314-a714-4814-8509-1f319de2a7d6" xlink:to="loc_us-gaap_OperatingLeaseLiability_d152c241-b050-44ba-93db-61f621bda5e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_848b4f6b-81ca-4114-ba63-06723cfbfc80" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_e9cdc314-a714-4814-8509-1f319de2a7d6" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_848b4f6b-81ca-4114-ba63-06723cfbfc80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_106987d7-c366-4285-b120-803509cd4107" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_e9cdc314-a714-4814-8509-1f319de2a7d6" xlink:to="loc_us-gaap_Deposits_106987d7-c366-4285-b120-803509cd4107" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_a42e8c54-8792-42c5-bb8f-f00b64cb42e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_e9cdc314-a714-4814-8509-1f319de2a7d6" xlink:to="loc_us-gaap_SubordinatedDebt_a42e8c54-8792-42c5-bb8f-f00b64cb42e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_5843e7d5-62a0-4b98-a229-b2198e1e978e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_11e1557e-5b20-49d8-8e9f-a6644f88867d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestBearingDepositLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_5843e7d5-62a0-4b98-a229-b2198e1e978e" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_11e1557e-5b20-49d8-8e9f-a6644f88867d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_f3eb2161-5682-453e-807a-176f99588630" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_5843e7d5-62a0-4b98-a229-b2198e1e978e" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_f3eb2161-5682-453e-807a-176f99588630" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20220331.xsd#CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_507a5cdd-b85e-4ebd-af51-eab22550e385" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_c10044e4-6bb0-467b-ab49-8498554df121" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_507a5cdd-b85e-4ebd-af51-eab22550e385" xlink:to="loc_us-gaap_InterestExpenseDeposits_c10044e4-6bb0-467b-ab49-8498554df121" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_57d06bb2-bc2f-4bd7-bf3f-6f622cfcc860" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseSubordinatedNotesAndDebentures"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_507a5cdd-b85e-4ebd-af51-eab22550e385" xlink:to="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_57d06bb2-bc2f-4bd7-bf3f-6f622cfcc860" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_543ef399-07f0-4258-8a30-dfe2a8eca988" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_6d9f90f7-1b3a-4cd9-94b2-f54cfa5679ca" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_543ef399-07f0-4258-8a30-dfe2a8eca988" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_6d9f90f7-1b3a-4cd9-94b2-f54cfa5679ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_9d03d642-cbf1-431d-906a-915158a1836f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_543ef399-07f0-4258-8a30-dfe2a8eca988" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_9d03d642-cbf1-431d-906a-915158a1836f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_ef2d6b9f-9b1a-41c0-975d-b652047a7b50" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_543ef399-07f0-4258-8a30-dfe2a8eca988" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_ef2d6b9f-9b1a-41c0-975d-b652047a7b50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_88ab7cb4-41ca-4d0b-a480-bb8897a5fe3a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeDepositsWithFinancialInstitutions"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_543ef399-07f0-4258-8a30-dfe2a8eca988" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_88ab7cb4-41ca-4d0b-a480-bb8897a5fe3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b6e94662-9dbe-4e82-b04e-026957cd991f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_77c891c6-8b8e-4f9b-b46c-7744b6ce32b0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b6e94662-9dbe-4e82-b04e-026957cd991f" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_77c891c6-8b8e-4f9b-b46c-7744b6ce32b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_5a4c9a71-d606-444b-a900-09f3cac79c83" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b6e94662-9dbe-4e82-b04e-026957cd991f" xlink:to="loc_us-gaap_NoninterestIncome_5a4c9a71-d606-444b-a900-09f3cac79c83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_4946928a-3f69-405f-9668-f0123a570069" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b6e94662-9dbe-4e82-b04e-026957cd991f" xlink:to="loc_us-gaap_NoninterestExpense_4946928a-3f69-405f-9668-f0123a570069" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_a96cbe99-ec4e-4dac-aff2-a036346c1691" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_83375a00-3a77-41a5-ad0f-507d0d3df0dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a96cbe99-ec4e-4dac-aff2-a036346c1691" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_83375a00-3a77-41a5-ad0f-507d0d3df0dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_e133a467-f554-460b-a5e5-9b0b3510a349" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a96cbe99-ec4e-4dac-aff2-a036346c1691" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_e133a467-f554-460b-a5e5-9b0b3510a349" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_6f9abe94-5c3e-47c9-a42f-26f251ab7016" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_6b92f252-bb6e-48c0-8d69-6c3facea6412" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_6f9abe94-5c3e-47c9-a42f-26f251ab7016" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_6b92f252-bb6e-48c0-8d69-6c3facea6412" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedFees_1e4f869b-a5dc-45a7-a9db-1a52cb1cc949" xlink:href="fsbc-20220331.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_6f9abe94-5c3e-47c9-a42f-26f251ab7016" xlink:to="loc_fsbc_LoanRelatedFees_1e4f869b-a5dc-45a7-a9db-1a52cb1cc949" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ServiceChargesOnDepositAccounts_8f47af1e-3181-4814-a96a-c6ddb5d72c8c" xlink:href="fsbc-20220331.xsd#fsbc_ServiceChargesOnDepositAccounts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_6f9abe94-5c3e-47c9-a42f-26f251ab7016" xlink:to="loc_fsbc_ServiceChargesOnDepositAccounts_8f47af1e-3181-4814-a96a-c6ddb5d72c8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_0b6110cf-fa9d-4e6f-b7f6-89341a427207" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_6f9abe94-5c3e-47c9-a42f-26f251ab7016" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_0b6110cf-fa9d-4e6f-b7f6-89341a427207" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_FederalHomeLoanBankStockDividends_2e15a32f-a35e-44f7-bc5b-c111280b9feb" xlink:href="fsbc-20220331.xsd#fsbc_FederalHomeLoanBankStockDividends"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_6f9abe94-5c3e-47c9-a42f-26f251ab7016" xlink:to="loc_fsbc_FederalHomeLoanBankStockDividends_2e15a32f-a35e-44f7-bc5b-c111280b9feb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_d5cf8efe-7a1e-4ff1-9f82-266446fbe0bb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfLoansAndLeases"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_6f9abe94-5c3e-47c9-a42f-26f251ab7016" xlink:to="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_d5cf8efe-7a1e-4ff1-9f82-266446fbe0bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_ccd09138-d8d3-438e-a061-c951a7418fca" xlink:href="fsbc-20220331.xsd#fsbc_NetGainOnSaleOfSecuritiesAvailableForSale"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_6f9abe94-5c3e-47c9-a42f-26f251ab7016" xlink:to="loc_fsbc_NetGainOnSaleOfSecuritiesAvailableForSale_ccd09138-d8d3-438e-a061-c951a7418fca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_6d173e73-bcaf-4413-b2bb-9f93727e8c9d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_d5aec710-6f0e-4dc4-be8f-4a65fe361d34" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6d173e73-bcaf-4413-b2bb-9f93727e8c9d" xlink:to="loc_us-gaap_LaborAndRelatedExpense_d5aec710-6f0e-4dc4-be8f-4a65fe361d34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_d172cdd6-acab-4632-bca1-edd374bef976" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OccupancyNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6d173e73-bcaf-4413-b2bb-9f93727e8c9d" xlink:to="loc_us-gaap_OccupancyNet_d172cdd6-acab-4632-bca1-edd374bef976" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_19212686-51d6-453f-b4df-5d487a0e6057" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InformationTechnologyAndDataProcessing"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6d173e73-bcaf-4413-b2bb-9f93727e8c9d" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_19212686-51d6-453f-b4df-5d487a0e6057" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_27a3cb8d-90f4-4a6b-a3a6-e249832317fa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6d173e73-bcaf-4413-b2bb-9f93727e8c9d" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_27a3cb8d-90f4-4a6b-a3a6-e249832317fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_f781448c-b959-4b39-b7bf-30faad3cc051" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6d173e73-bcaf-4413-b2bb-9f93727e8c9d" xlink:to="loc_us-gaap_ProfessionalFees_f781448c-b959-4b39-b7bf-30faad3cc051" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_65a84909-bef1-42b8-8e9a-5d0a8726a568" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdvertisingExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6d173e73-bcaf-4413-b2bb-9f93727e8c9d" xlink:to="loc_us-gaap_AdvertisingExpense_65a84909-bef1-42b8-8e9a-5d0a8726a568" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedExpenses_dd868fab-1a54-4da2-8fda-814aeb5c2e36" xlink:href="fsbc-20220331.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_6d173e73-bcaf-4413-b2bb-9f93727e8c9d" xlink:to="loc_fsbc_LoanRelatedExpenses_dd868fab-1a54-4da2-8fda-814aeb5c2e36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_d21174df-fbe9-4cdb-bbec-2a16d5f02d70" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_6d173e73-bcaf-4413-b2bb-9f93727e8c9d" xlink:to="loc_us-gaap_OtherNoninterestExpense_d21174df-fbe9-4cdb-bbec-2a16d5f02d70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_d6a62780-24e2-4793-b34a-b6414314b4ec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_a54b21e7-94fd-4b45-aa47-fd4389a3824a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_d6a62780-24e2-4793-b34a-b6414314b4ec" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_a54b21e7-94fd-4b45-aa47-fd4389a3824a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_ab2e3f5c-3524-4e7b-ac59-9008d3b6ea1c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_d6a62780-24e2-4793-b34a-b6414314b4ec" xlink:to="loc_us-gaap_InterestExpense_ab2e3f5c-3524-4e7b-ac59-9008d3b6ea1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_573b4af8-ecb9-445a-9e0e-da39934d2b8f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_3ba8c0ea-1250-4e79-90d4-500713dc48d6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_573b4af8-ecb9-445a-9e0e-da39934d2b8f" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_3ba8c0ea-1250-4e79-90d4-500713dc48d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_611ae495-af0c-4fe6-9437-372ab62b38f6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_573b4af8-ecb9-445a-9e0e-da39934d2b8f" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_611ae495-af0c-4fe6-9437-372ab62b38f6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20220331.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_f6da8ce5-7010-4ac7-bd08-8ee4c903a458" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_87c4f3fa-aee9-4c22-a5a5-00a400c558de" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_f6da8ce5-7010-4ac7-bd08-8ee4c903a458" xlink:to="loc_us-gaap_NetIncomeLoss_87c4f3fa-aee9-4c22-a5a5-00a400c558de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_6f708fb9-49eb-48a9-b5ff-3dce94148149" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_f6da8ce5-7010-4ac7-bd08-8ee4c903a458" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_6f708fb9-49eb-48a9-b5ff-3dce94148149" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1e3a099e-0b86-42cd-8dcd-bc7ea60dcf98" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_b6434c8f-e0be-4678-8a57-9f6ddcdc465d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1e3a099e-0b86-42cd-8dcd-bc7ea60dcf98" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_b6434c8f-e0be-4678-8a57-9f6ddcdc465d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_9b6223e7-01ef-4290-b64a-90d045ed6a48" xlink:href="fsbc-20220331.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_1e3a099e-0b86-42cd-8dcd-bc7ea60dcf98" xlink:to="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_9b6223e7-01ef-4290-b64a-90d045ed6a48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_f0f5a17e-8beb-4165-9887-a1126a540cdf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ReclassificationFromAociCurrentPeriodTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1e3a099e-0b86-42cd-8dcd-bc7ea60dcf98" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_f0f5a17e-8beb-4165-9887-a1126a540cdf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="simple" xlink:href="fsbc-20220331.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_f96dff41-6af8-4d75-803a-485f4f83b721" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_f96dff41-6af8-4d75-803a-485f4f83b721" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_33585fb3-300f-4cac-accf-da0a9afe60ff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_33585fb3-300f-4cac-accf-da0a9afe60ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_4fdcb51c-7585-4e90-b983-91a0b93119a4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_4fdcb51c-7585-4e90-b983-91a0b93119a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_5d0ae86c-3322-434f-b904-270268721d4e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_ShareBasedCompensation_5d0ae86c-3322-434f-b904-270268721d4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_d98871cb-a947-4edf-8278-a69cfe4aab2f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_d98871cb-a947-4edf-8278-a69cfe4aab2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_947359db-16a8-46c6-ad3a-343a86d0678b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_947359db-16a8-46c6-ad3a-343a86d0678b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_259fa352-e30f-4edf-a6c8-345f33875498" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_259fa352-e30f-4edf-a6c8-345f33875498" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_d5bfe866-f814-461a-a94f-55231bb41973" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_d5bfe866-f814-461a-a94f-55231bb41973" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_9f3d69be-52de-492b-8647-07f15697fe25" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_9f3d69be-52de-492b-8647-07f15697fe25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_aac52827-dbc9-4cc4-adda-4b6507fc9a72" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_aac52827-dbc9-4cc4-adda-4b6507fc9a72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_0de93f25-64a4-42f7-90b1-17468f4a3301" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredLeasingFees"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_0de93f25-64a4-42f7-90b1-17468f4a3301" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_14b216e0-af96-44ee-9f23-a2cd6ef30f63" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_NetIncomeLoss_14b216e0-af96-44ee-9f23-a2cd6ef30f63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_578419f7-aea3-4c1f-89a0-d62e6ebc8729" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_578419f7-aea3-4c1f-89a0-d62e6ebc8729" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_9a5cfa03-e23d-40ef-a7c0-71829b21f4ce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_DepreciationAndAmortization_9a5cfa03-e23d-40ef-a7c0-71829b21f4ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_2134262a-85da-4443-bdf1-fa349900c3e7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_2134262a-85da-4443-bdf1-fa349900c3e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_a49f787f-ca95-4869-97a5-e694f6ab3f1f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_a49f787f-ca95-4869-97a5-e694f6ab3f1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_67f90331-66ba-4fa3-b514-a16704b34fed" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b6f8c9-7e06-43e0-a9c4-0451189da525" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_67f90331-66ba-4fa3-b514-a16704b34fed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a09d8496-22e8-482e-bceb-c7e83537e779" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_ced14f85-9ea7-428f-abe2-441ea74fdb2d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a09d8496-22e8-482e-bceb-c7e83537e779" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_ced14f85-9ea7-428f-abe2-441ea74fdb2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_a171da2e-ed6f-42f1-bf91-a3141ace02a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a09d8496-22e8-482e-bceb-c7e83537e779" xlink:to="loc_us-gaap_PaymentsOfDividends_a171da2e-ed6f-42f1-bf91-a3141ace02a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_591ebd7d-273d-4599-9926-ca4bf385d8ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_db1cc419-b420-4727-9123-d95472d8dd57" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_591ebd7d-273d-4599-9926-ca4bf385d8ea" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_db1cc419-b420-4727-9123-d95472d8dd57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_46833ae3-5c74-4ef7-817c-c20c9ec00011" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_591ebd7d-273d-4599-9926-ca4bf385d8ea" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_46833ae3-5c74-4ef7-817c-c20c9ec00011" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_b1a73b88-7253-4b10-be04-ea6ee6a5d6ef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_591ebd7d-273d-4599-9926-ca4bf385d8ea" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_b1a73b88-7253-4b10-be04-ea6ee6a5d6ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_de9f5061-3299-4f19-8413-aecafc8aa55d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_591ebd7d-273d-4599-9926-ca4bf385d8ea" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_de9f5061-3299-4f19-8413-aecafc8aa55d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_9a1f5590-cec4-4049-a2ab-f5f66b951de2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_591ebd7d-273d-4599-9926-ca4bf385d8ea" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_9a1f5590-cec4-4049-a2ab-f5f66b951de2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_1f2df467-14bd-4620-841b-d17e47196134" xlink:href="fsbc-20220331.xsd#fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_591ebd7d-273d-4599-9926-ca4bf385d8ea" xlink:to="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_1f2df467-14bd-4620-841b-d17e47196134" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_1983da18-3167-4a22-8448-a94d347aee09" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireLifeInsurancePolicies"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_591ebd7d-273d-4599-9926-ca4bf385d8ea" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_1983da18-3167-4a22-8448-a94d347aee09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_1c2ee928-d2ec-4c9b-b04f-8d5e28e20807" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8540d401-9fb9-4869-8065-12d8e37501f9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_1c2ee928-d2ec-4c9b-b04f-8d5e28e20807" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8540d401-9fb9-4869-8065-12d8e37501f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_bad07764-b52f-4048-a3c1-db1e3ce8c02c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_1c2ee928-d2ec-4c9b-b04f-8d5e28e20807" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_bad07764-b52f-4048-a3c1-db1e3ce8c02c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_94a54137-bcad-457c-b58d-43982a03d8df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_1c2ee928-d2ec-4c9b-b04f-8d5e28e20807" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_94a54137-bcad-457c-b58d-43982a03d8df" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/BasisofPresentationEarningsPerShareDetails" xlink:type="simple" xlink:href="fsbc-20220331.xsd#BasisofPresentationEarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/BasisofPresentationEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8d1356b0-256f-465a-8155-e07b13124c48" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_536277db-de16-477e-a20d-114c737634bc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8d1356b0-256f-465a-8155-e07b13124c48" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_536277db-de16-477e-a20d-114c737634bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_751e409a-3103-4d5b-a685-59c30e14a9dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8d1356b0-256f-465a-8155-e07b13124c48" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_751e409a-3103-4d5b-a685-59c30e14a9dd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/BasisofPresentationProFormaEPSDetails" xlink:type="simple" xlink:href="fsbc-20220331.xsd#BasisofPresentationProFormaEPSDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/BasisofPresentationProFormaEPSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ActualProFormaNetIncome_f0274e55-a589-4213-af4a-84436bef7b35" xlink:href="fsbc-20220331.xsd#fsbc_ActualProFormaNetIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProFormaProvisionForIncomeTaxes_bc94cd13-2e8a-484d-ba86-544ffe928c54" xlink:href="fsbc-20220331.xsd#fsbc_ProFormaProvisionForIncomeTaxes"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fsbc_ActualProFormaNetIncome_f0274e55-a589-4213-af4a-84436bef7b35" xlink:to="loc_fsbc_ProFormaProvisionForIncomeTaxes_bc94cd13-2e8a-484d-ba86-544ffe928c54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e25c5b9d-b1f5-4382-be97-7809a5c49077" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fsbc_ActualProFormaNetIncome_f0274e55-a589-4213-af4a-84436bef7b35" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e25c5b9d-b1f5-4382-be97-7809a5c49077" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProFormaWeightedAverageSharesOutstandingDiluted_c3b8b692-1efb-4d1d-ad99-cd4b5fbc8d83" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProFormaWeightedAverageSharesOutstandingDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageBasicSharesOutstandingProForma_c5317141-c2fd-4387-a13e-5f665fb10355" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageBasicSharesOutstandingProForma"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProFormaWeightedAverageSharesOutstandingDiluted_c3b8b692-1efb-4d1d-ad99-cd4b5fbc8d83" xlink:to="loc_us-gaap_WeightedAverageBasicSharesOutstandingProForma_c5317141-c2fd-4387-a13e-5f665fb10355" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_WeightedAverageNumberDilutedSharesOutstandingAdjustmentProFormaEarningPerShare_f3a6646e-6662-4b92-98b0-4cdcd72fe972" xlink:href="fsbc-20220331.xsd#fsbc_WeightedAverageNumberDilutedSharesOutstandingAdjustmentProFormaEarningPerShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProFormaWeightedAverageSharesOutstandingDiluted_c3b8b692-1efb-4d1d-ad99-cd4b5fbc8d83" xlink:to="loc_fsbc_WeightedAverageNumberDilutedSharesOutstandingAdjustmentProFormaEarningPerShare_f3a6646e-6662-4b92-98b0-4cdcd72fe972" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestBearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20220331.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_1b355b9e-f653-4381-a62f-ccaa0ea42302" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositSavings_6adae1ff-ec00-4fd9-8d5c-ab19c8db4138" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositSavings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_1b355b9e-f653-4381-a62f-ccaa0ea42302" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_6adae1ff-ec00-4fd9-8d5c-ab19c8db4138" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_92af1f33-0692-4f49-bcca-ef31691083d5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositMoneyMarket"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_1b355b9e-f653-4381-a62f-ccaa0ea42302" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_92af1f33-0692-4f49-bcca-ef31691083d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_d188c55c-50dd-417c-84ac-368d61e08a3a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositChecking"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_1b355b9e-f653-4381-a62f-ccaa0ea42302" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_d188c55c-50dd-417c-84ac-368d61e08a3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_641f921f-c350-4283-ba99-261ee72d8514" xlink:href="fsbc-20220331.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_1b355b9e-f653-4381-a62f-ccaa0ea42302" xlink:to="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_641f921f-c350-4283-ba99-261ee72d8514" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_cd91d236-ca1a-4ca4-a0e8-b2fc953e1818" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositOtherTimeDeposit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_1b355b9e-f653-4381-a62f-ccaa0ea42302" xlink:to="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_cd91d236-ca1a-4ca4-a0e8-b2fc953e1818" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="fsbc-20220331.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_a488ff14-e537-4b8a-90e6-89859ca3331c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestBearingDomesticDepositTimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_3d4a7ae0-a423-4d4c-a2e3-27fea3e6417f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a488ff14-e537-4b8a-90e6-89859ca3331c" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_3d4a7ae0-a423-4d4c-a2e3-27fea3e6417f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_98761973-5c1b-47c3-829b-a4f6eb590fd5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_a488ff14-e537-4b8a-90e6-89859ca3331c" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_98761973-5c1b-47c3-829b-a4f6eb590fd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_48efe0ca-4238-4356-8e9f-564cf67e4550" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_a488ff14-e537-4b8a-90e6-89859ca3331c" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_48efe0ca-4238-4356-8e9f-564cf67e4550" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_9494b73b-e335-4d22-a6ad-ff281def19c6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_a488ff14-e537-4b8a-90e6-89859ca3331c" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_9494b73b-e335-4d22-a6ad-ff281def19c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFive_c96160a9-e77e-4301-b4d4-d8bd2d4395bc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TimeDepositMaturitiesYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_a488ff14-e537-4b8a-90e6-89859ca3331c" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFive_c96160a9-e77e-4301-b4d4-d8bd2d4395bc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestExpenseRecognizedonInterestbearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20220331.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_eb6b8759-daf7-4351-8899-d6ee497a9ed6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_72330ca4-bc5f-46af-9788-bbf5e2708d84" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_eb6b8759-daf7-4351-8899-d6ee497a9ed6" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_72330ca4-bc5f-46af-9788-bbf5e2708d84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_606594c9-2bb8-49c6-944f-06d2d0bf78c4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_eb6b8759-daf7-4351-8899-d6ee497a9ed6" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_606594c9-2bb8-49c6-944f-06d2d0bf78c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_82aec6f2-1331-41a6-b830-9863adce1d16" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_eb6b8759-daf7-4351-8899-d6ee497a9ed6" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_82aec6f2-1331-41a6-b830-9863adce1d16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_dac1639c-357a-4b3b-b398-d8730775d4c1" xlink:href="fsbc-20220331.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_eb6b8759-daf7-4351-8899-d6ee497a9ed6" xlink:to="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_dac1639c-357a-4b3b-b398-d8730775d4c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_82c5de81-fdba-47dc-abc0-2211513f2441" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDeposits_eb6b8759-daf7-4351-8899-d6ee497a9ed6" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_82c5de81-fdba-47dc-abc0-2211513f2441" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LeasesScheduleofLeaseCostDetails" xlink:type="simple" xlink:href="fsbc-20220331.xsd#LeasesScheduleofLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LeasesScheduleofLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_9a7e4235-dcf0-436a-a0d4-ade7496224b2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_2378a63a-cac7-4154-83a2-67878520f5db" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_9a7e4235-dcf0-436a-a0d4-ade7496224b2" xlink:to="loc_us-gaap_OperatingLeaseCost_2378a63a-cac7-4154-83a2-67878520f5db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_c6b21aa4-40e9-4b68-b62f-8e67ed7bf5a4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubleaseIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_9a7e4235-dcf0-436a-a0d4-ade7496224b2" xlink:to="loc_us-gaap_SubleaseIncome_c6b21aa4-40e9-4b68-b62f-8e67ed7bf5a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermLeaseCost_e469cc96-5b08-4d4b-b61f-c2383640bf99" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermLeaseCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_9a7e4235-dcf0-436a-a0d4-ade7496224b2" xlink:to="loc_us-gaap_ShortTermLeaseCost_e469cc96-5b08-4d4b-b61f-c2383640bf99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_4968a29a-11af-4186-a960-1938fa2b95d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_9a7e4235-dcf0-436a-a0d4-ade7496224b2" xlink:to="loc_us-gaap_VariableLeaseCost_4968a29a-11af-4186-a960-1938fa2b95d7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LeasesFutureOperatingLeasePaymentsDetails" xlink:type="simple" xlink:href="fsbc-20220331.xsd#LeasesFutureOperatingLeasePaymentsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LeasesFutureOperatingLeasePaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_a240d1e3-39c0-46ab-a9df-bf2139023f24" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue_4ed0c205-4b22-4922-be4a-ca9b2ab8f383" xlink:href="fsbc-20220331.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_a240d1e3-39c0-46ab-a9df-bf2139023f24" xlink:to="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue_4ed0c205-4b22-4922-be4a-ca9b2ab8f383" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_ae816cca-e5f7-4203-b8bb-63bee76afaab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_a240d1e3-39c0-46ab-a9df-bf2139023f24" xlink:to="loc_us-gaap_OperatingLeaseLiability_ae816cca-e5f7-4203-b8bb-63bee76afaab" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LeasesFutureOperatingLeasePaymentsDetails_1" xlink:type="simple" xlink:href="fsbc-20220331.xsd#LeasesFutureOperatingLeasePaymentsDetails_1"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LeasesFutureOperatingLeasePaymentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f8a65dab-4460-4d6f-8842-f788d2ed4fbf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_b065db9b-caee-4369-87ae-d29d4477de5e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f8a65dab-4460-4d6f-8842-f788d2ed4fbf" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_b065db9b-caee-4369-87ae-d29d4477de5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_c953b904-5a87-4f65-a20d-2ae90debf1f5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f8a65dab-4460-4d6f-8842-f788d2ed4fbf" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_c953b904-5a87-4f65-a20d-2ae90debf1f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_dad93da9-91b0-4344-8d8a-1371efbc35fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f8a65dab-4460-4d6f-8842-f788d2ed4fbf" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_dad93da9-91b0-4344-8d8a-1371efbc35fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_102e11fd-3f52-410c-bbe2-6b9fc79dd9ff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f8a65dab-4460-4d6f-8842-f788d2ed4fbf" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_102e11fd-3f52-410c-bbe2-6b9fc79dd9ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_77276637-51f0-40a4-9072-e31838705f4f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f8a65dab-4460-4d6f-8842-f788d2ed4fbf" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_77276637-51f0-40a4-9072-e31838705f4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_bc4bd55c-5764-4531-9a7a-372411875ef6" xlink:href="fsbc-20220331.xsd#fsbc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f8a65dab-4460-4d6f-8842-f788d2ed4fbf" xlink:to="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_bc4bd55c-5764-4531-9a7a-372411875ef6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesProvisionForIncomeTaxDetails" xlink:type="simple" xlink:href="fsbc-20220331.xsd#IncomeTaxesProvisionForIncomeTaxDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/IncomeTaxesProvisionForIncomeTaxDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_f938a43a-7f76-4763-a2db-db47628b1aa3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_BenefitOfSCorporationStatus_b4af76aa-a1c9-4173-b6f7-e33e20d3a97a" xlink:href="fsbc-20220331.xsd#fsbc_BenefitOfSCorporationStatus"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_f938a43a-7f76-4763-a2db-db47628b1aa3" xlink:to="loc_fsbc_BenefitOfSCorporationStatus_b4af76aa-a1c9-4173-b6f7-e33e20d3a97a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_3a282766-2f55-42a7-ace8-3a1b6ac47443" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f938a43a-7f76-4763-a2db-db47628b1aa3" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_3a282766-2f55-42a7-ace8-3a1b6ac47443" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_512ddc2d-de65-4a9c-bb4a-490623af939c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_f938a43a-7f76-4763-a2db-db47628b1aa3" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_512ddc2d-de65-4a9c-bb4a-490623af939c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_f9c867e8-1978-4edd-b9fd-2451694df674" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_f938a43a-7f76-4763-a2db-db47628b1aa3" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_f9c867e8-1978-4edd-b9fd-2451694df674" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
