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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:16995ff7-62b2-445a-8629-7f09cffbe8ea,g:cfb36644-4fb8-40c6-8a3d-d273ccea884a-->
<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-20240630.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_9bd22c56-7d99-4ca9-ba43-dba1fe85e825" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_d565c062-47c5-46e5-8faf-88405f0d5491" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9bd22c56-7d99-4ca9-ba43-dba1fe85e825" xlink:to="loc_us-gaap_PreferredStockValue_d565c062-47c5-46e5-8faf-88405f0d5491" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_1a89b56d-2f37-4044-b8c6-41e18bfaeda8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9bd22c56-7d99-4ca9-ba43-dba1fe85e825" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_1a89b56d-2f37-4044-b8c6-41e18bfaeda8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_51504b9d-cc3b-4b13-9b0a-08f2cb2c7037" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9bd22c56-7d99-4ca9-ba43-dba1fe85e825" xlink:to="loc_us-gaap_CommonStockValue_51504b9d-cc3b-4b13-9b0a-08f2cb2c7037" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_9f3b5352-0050-4dc6-a7aa-73f193f274d7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9bd22c56-7d99-4ca9-ba43-dba1fe85e825" xlink:to="loc_us-gaap_CommitmentsAndContingencies_9f3b5352-0050-4dc6-a7aa-73f193f274d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_5fbead1b-7054-47e2-bb8a-289238393fed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9bd22c56-7d99-4ca9-ba43-dba1fe85e825" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_5fbead1b-7054-47e2-bb8a-289238393fed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_930cafbb-f75f-4110-a3bc-4d75b2ada1eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherBorrowings_f03ca5f0-1591-45b4-bd51-6582e3ff563c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_930cafbb-f75f-4110-a3bc-4d75b2ada1eb" xlink:to="loc_us-gaap_OtherBorrowings_f03ca5f0-1591-45b4-bd51-6582e3ff563c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_1bf023b5-4658-4df9-8ff8-7951cc2dcb36" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_930cafbb-f75f-4110-a3bc-4d75b2ada1eb" xlink:to="loc_us-gaap_Deposits_1bf023b5-4658-4df9-8ff8-7951cc2dcb36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_ef8c75fd-ff89-4ac3-920c-8d71cdf28d6c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubordinatedDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_930cafbb-f75f-4110-a3bc-4d75b2ada1eb" xlink:to="loc_us-gaap_SubordinatedDebt_ef8c75fd-ff89-4ac3-920c-8d71cdf28d6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_b7f91174-910d-4e64-a9f0-198e972dc065" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_930cafbb-f75f-4110-a3bc-4d75b2ada1eb" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_b7f91174-910d-4e64-a9f0-198e972dc065" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_e295590a-4d6d-4509-b092-f8d55ac6e3fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_930cafbb-f75f-4110-a3bc-4d75b2ada1eb" xlink:to="loc_us-gaap_OperatingLeaseLiability_e295590a-4d6d-4509-b092-f8d55ac6e3fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_12400bb6-06f8-4473-bae4-a701f76ffe3b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_e393a37c-d252-4e58-8e7b-d3b3f1d6f6ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_12400bb6-06f8-4473-bae4-a701f76ffe3b" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_e393a37c-d252-4e58-8e7b-d3b3f1d6f6ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_7a8717c2-2375-4f2d-968d-69a05cfb0d64" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_12400bb6-06f8-4473-bae4-a701f76ffe3b" xlink:to="loc_us-gaap_NotesReceivableGross_7a8717c2-2375-4f2d-968d-69a05cfb0d64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_b4ca26d1-a793-4fad-b9bd-ce003463f25c" xlink:href="fsbc-20240630.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_05d6dda7-3514-44ec-9eaf-13746d4a8261" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_b4ca26d1-a793-4fad-b9bd-ce003463f25c" xlink:to="loc_us-gaap_CashAndDueFromBanks_05d6dda7-3514-44ec-9eaf-13746d4a8261" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_a566a1ab-f4ab-4a02-8f23-c5a80054f2d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_b4ca26d1-a793-4fad-b9bd-ce003463f25c" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_a566a1ab-f4ab-4a02-8f23-c5a80054f2d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_1587948e-282d-48a5-a4fb-4f2cef87a07e" xlink:href="fsbc-20240630.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_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:to="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_1587948e-282d-48a5-a4fb-4f2cef87a07e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtCarryingValue_87f42e1a-84c2-4a3f-9c24-8b85af3a280d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:to="loc_us-gaap_TimeDepositsAtCarryingValue_87f42e1a-84c2-4a3f-9c24-8b85af3a280d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_0506b276-0c5c-4fad-8927-85551eedb024" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_0506b276-0c5c-4fad-8927-85551eedb024" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_1884fbab-9da3-49f2-975c-b8bc134efdd4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:to="loc_us-gaap_HeldToMaturitySecurities_1884fbab-9da3-49f2-975c-b8bc134efdd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_219519b6-57d8-42c6-87ea-e60175f25fd4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_219519b6-57d8-42c6-87ea-e60175f25fd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_bcd5d0a9-d1a7-44b1-9dd9-1117852ceac4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:to="loc_us-gaap_NotesReceivableNet_bcd5d0a9-d1a7-44b1-9dd9-1117852ceac4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_022db747-6730-48a8-af68-a8907fda9f29" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_022db747-6730-48a8-af68-a8907fda9f29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_234a6b97-63ae-4595-8dc0-4f3d15e1f61d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_234a6b97-63ae-4595-8dc0-4f3d15e1f61d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_497766bd-f0c2-4eea-a78d-dd3634407864" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_497766bd-f0c2-4eea-a78d-dd3634407864" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_173a7c25-fce5-45ab-8a3b-6ecf1468f105" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_173a7c25-fce5-45ab-8a3b-6ecf1468f105" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_f583f012-67c9-4810-8d80-fe64791a6afd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9a50dbcc-ef59-4823-915a-8094ec1a4b60" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_f583f012-67c9-4810-8d80-fe64791a6afd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_c1b364db-6928-4fb4-aa14-03cfe18e060d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_9ce8d601-a353-4b46-8f82-76284479f828" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c1b364db-6928-4fb4-aa14-03cfe18e060d" xlink:to="loc_us-gaap_Liabilities_9ce8d601-a353-4b46-8f82-76284479f828" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_0bd817df-de16-40fd-9fa1-1511add960e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c1b364db-6928-4fb4-aa14-03cfe18e060d" xlink:to="loc_us-gaap_StockholdersEquity_0bd817df-de16-40fd-9fa1-1511add960e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_cdea48f2-5064-4eec-bc37-80a6b903b429" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_52bcabd6-aedf-448b-8ede-4d22085f8d23" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_cdea48f2-5064-4eec-bc37-80a6b903b429" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_52bcabd6-aedf-448b-8ede-4d22085f8d23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_84267dc2-e523-4505-ae27-20f2fb485d95" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_cdea48f2-5064-4eec-bc37-80a6b903b429" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_84267dc2-e523-4505-ae27-20f2fb485d95" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="simple" xlink:href="fsbc-20240630.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_b2915352-a1aa-44f8-bb04-46691446bc3c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_6798b72c-35bf-4f04-90a1-bd54fa28d4a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_b2915352-a1aa-44f8-bb04-46691446bc3c" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_6798b72c-35bf-4f04-90a1-bd54fa28d4a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_9584bfa4-c9ec-4fa5-8439-39a24fe3ef2f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_b2915352-a1aa-44f8-bb04-46691446bc3c" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_9584bfa4-c9ec-4fa5-8439-39a24fe3ef2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_ecea602a-6592-4783-b317-4735919d6f1e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_b2915352-a1aa-44f8-bb04-46691446bc3c" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_ecea602a-6592-4783-b317-4735919d6f1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_203f7865-2b9f-4d31-83b5-194f18b8940a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_b2915352-a1aa-44f8-bb04-46691446bc3c" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_203f7865-2b9f-4d31-83b5-194f18b8940a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_2fce8556-887f-446a-a2ee-b9b24185d276" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ServiceChargesOnDepositAccounts_f66e4821-7cf8-4d29-9504-304d8c368947" xlink:href="fsbc-20240630.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_2fce8556-887f-446a-a2ee-b9b24185d276" xlink:to="loc_fsbc_ServiceChargesOnDepositAccounts_f66e4821-7cf8-4d29-9504-304d8c368947" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedFees_6ba85374-0358-441e-89b1-c8f46a58f032" xlink:href="fsbc-20240630.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_2fce8556-887f-446a-a2ee-b9b24185d276" xlink:to="loc_fsbc_LoanRelatedFees_6ba85374-0358-441e-89b1-c8f46a58f032" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_2e498d69-bd04-4067-90d0-bd484df25c5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_NoninterestIncome_2fce8556-887f-446a-a2ee-b9b24185d276" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_2e498d69-bd04-4067-90d0-bd484df25c5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_FederalHomeLoanBankStockDividends_cc7dc20c-668b-4d29-8621-c5b739a4d795" xlink:href="fsbc-20240630.xsd#fsbc_FederalHomeLoanBankStockDividends"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_2fce8556-887f-446a-a2ee-b9b24185d276" xlink:to="loc_fsbc_FederalHomeLoanBankStockDividends_cc7dc20c-668b-4d29-8621-c5b739a4d795" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_bb6df7ae-f784-444e-a55d-70996430adfc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfLoansAndLeases"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_2fce8556-887f-446a-a2ee-b9b24185d276" xlink:to="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_bb6df7ae-f784-444e-a55d-70996430adfc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_d8285cdf-0489-4e45-84bc-577cc5118752" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_2fce8556-887f-446a-a2ee-b9b24185d276" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_d8285cdf-0489-4e45-84bc-577cc5118752" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_c5633452-385d-40ce-a0ef-5288e1741be9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_ebd7f40c-bf69-4cab-b28a-70cc8ae2b32a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_InterestExpenseOperating_c5633452-385d-40ce-a0ef-5288e1741be9" xlink:to="loc_us-gaap_InterestExpenseDeposits_ebd7f40c-bf69-4cab-b28a-70cc8ae2b32a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_656c5312-fe58-4ce6-b39a-1b61eff55e23" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_InterestExpenseOperating_c5633452-385d-40ce-a0ef-5288e1741be9" xlink:to="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_656c5312-fe58-4ce6-b39a-1b61eff55e23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_902d4632-3d36-4794-9e94-7a7e62cf435e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseOtherShortTermBorrowings"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_c5633452-385d-40ce-a0ef-5288e1741be9" xlink:to="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_902d4632-3d36-4794-9e94-7a7e62cf435e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_0d058a9c-c091-4468-a11b-b093a0bc5fe9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0de253f7-6da2-4b6c-be30-3c6494f141c2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_0d058a9c-c091-4468-a11b-b093a0bc5fe9" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0de253f7-6da2-4b6c-be30-3c6494f141c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9b7ff329-3d6b-4b10-9156-2c0ba0c25d25" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_0d058a9c-c091-4468-a11b-b093a0bc5fe9" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_9b7ff329-3d6b-4b10-9156-2c0ba0c25d25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_5bb3d50e-f7e0-4357-a712-2842016e177d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_7fdb5eb9-0697-41d9-9d2d-db91105fd3a3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_5bb3d50e-f7e0-4357-a712-2842016e177d" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_7fdb5eb9-0697-41d9-9d2d-db91105fd3a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_1b4a14be-cded-4aae-8e4e-9ad3e9093084" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_5bb3d50e-f7e0-4357-a712-2842016e177d" xlink:to="loc_us-gaap_InterestExpenseOperating_1b4a14be-cded-4aae-8e4e-9ad3e9093084" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_85bb985f-bbb0-4871-b55d-ba4e057ead2c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_edea0156-6e99-4828-a613-349ae335ff5c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_85bb985f-bbb0-4871-b55d-ba4e057ead2c" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_edea0156-6e99-4828-a613-349ae335ff5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_1aeab767-7dcc-4d15-ac08-65a724d021c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_85bb985f-bbb0-4871-b55d-ba4e057ead2c" xlink:to="loc_us-gaap_NoninterestIncome_1aeab767-7dcc-4d15-ac08-65a724d021c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_e507c15b-adfc-47c3-914f-4fcdb12736f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_85bb985f-bbb0-4871-b55d-ba4e057ead2c" xlink:to="loc_us-gaap_NoninterestExpense_e507c15b-adfc-47c3-914f-4fcdb12736f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_3609726f-1fdc-4192-ad95-84416a5de82a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_22c65f7c-093d-4b17-846a-7be2257fb0a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_3609726f-1fdc-4192-ad95-84416a5de82a" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_22c65f7c-093d-4b17-846a-7be2257fb0a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_697aba50-0d1e-4c47-8bb7-e050ba09615c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_3609726f-1fdc-4192-ad95-84416a5de82a" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_697aba50-0d1e-4c47-8bb7-e050ba09615c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_6d9b25c6-0a84-485f-86d3-8b5fe488c5f5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_e28986aa-7cf5-4e90-a915-dec3655ac6c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6d9b25c6-0a84-485f-86d3-8b5fe488c5f5" xlink:to="loc_us-gaap_LaborAndRelatedExpense_e28986aa-7cf5-4e90-a915-dec3655ac6c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_1d5adc07-d069-4e1b-af71-5e8041100cd1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6d9b25c6-0a84-485f-86d3-8b5fe488c5f5" xlink:to="loc_us-gaap_OccupancyNet_1d5adc07-d069-4e1b-af71-5e8041100cd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_c4457375-7fbe-4024-90a8-c0cde23d47aa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6d9b25c6-0a84-485f-86d3-8b5fe488c5f5" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_c4457375-7fbe-4024-90a8-c0cde23d47aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_59b92c96-2f5c-492e-95d3-7cdd097c6c15" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6d9b25c6-0a84-485f-86d3-8b5fe488c5f5" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_59b92c96-2f5c-492e-95d3-7cdd097c6c15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_61c5120a-3a04-41a6-8bce-ced2d607c339" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6d9b25c6-0a84-485f-86d3-8b5fe488c5f5" xlink:to="loc_us-gaap_ProfessionalFees_61c5120a-3a04-41a6-8bce-ced2d607c339" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_8d0a32db-2738-4af5-89ad-e9082060773c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6d9b25c6-0a84-485f-86d3-8b5fe488c5f5" xlink:to="loc_us-gaap_AdvertisingExpense_8d0a32db-2738-4af5-89ad-e9082060773c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedExpenses_b32bf428-f308-4380-84d1-343aeb3eea41" xlink:href="fsbc-20240630.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_6d9b25c6-0a84-485f-86d3-8b5fe488c5f5" xlink:to="loc_fsbc_LoanRelatedExpenses_b32bf428-f308-4380-84d1-343aeb3eea41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_39f519a1-c2f6-465d-af8e-e5248d4f5928" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6d9b25c6-0a84-485f-86d3-8b5fe488c5f5" xlink:to="loc_us-gaap_OtherNoninterestExpense_39f519a1-c2f6-465d-af8e-e5248d4f5928" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="fsbc-20240630.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_692912b3-84f2-479a-8d38-c7d6589f9d2f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d138e9dd-6dcc-4c39-bfd7-ad3856c7ac2c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_692912b3-84f2-479a-8d38-c7d6589f9d2f" xlink:to="loc_us-gaap_NetIncomeLoss_d138e9dd-6dcc-4c39-bfd7-ad3856c7ac2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4d614685-5df3-4058-9739-73ae05ddd8fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_692912b3-84f2-479a-8d38-c7d6589f9d2f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_4d614685-5df3-4058-9739-73ae05ddd8fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_ed80aaed-6305-4b54-8be5-0f74d567b203" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_08d02a67-b3d6-464b-b9d1-92d5980e28d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_ed80aaed-6305-4b54-8be5-0f74d567b203" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_08d02a67-b3d6-464b-b9d1-92d5980e28d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_3ffb82c3-3cb3-4873-8b54-7af072840fef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_ed80aaed-6305-4b54-8be5-0f74d567b203" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_3ffb82c3-3cb3-4873-8b54-7af072840fef" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="simple" xlink:href="fsbc-20240630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_104ee89b-5ada-434c-bd26-b28f6dc678bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_04ea625d-da6e-42c7-bde5-73c49491bca5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireLifeInsurancePolicies"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_104ee89b-5ada-434c-bd26-b28f6dc678bf" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_04ea625d-da6e-42c7-bde5-73c49491bca5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_a83c7c73-941d-4a2f-a3d9-f08e73fac826" xlink:href="fsbc-20240630.xsd#fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_104ee89b-5ada-434c-bd26-b28f6dc678bf" xlink:to="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_a83c7c73-941d-4a2f-a3d9-f08e73fac826" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_14818a3a-05da-4e99-b9f1-705130d83463" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_104ee89b-5ada-434c-bd26-b28f6dc678bf" xlink:to="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_14818a3a-05da-4e99-b9f1-705130d83463" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_bfbbb4e7-05ad-4a20-b9aa-f9ef38c5b0d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfEquityMethodInvestments"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_104ee89b-5ada-434c-bd26-b28f6dc678bf" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_bfbbb4e7-05ad-4a20-b9aa-f9ef38c5b0d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProceedsFromLowIncomeHousingCredits_072cefbe-5347-4c44-8aa6-de4c5f3b9189" xlink:href="fsbc-20240630.xsd#fsbc_ProceedsFromLowIncomeHousingCredits"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_104ee89b-5ada-434c-bd26-b28f6dc678bf" xlink:to="loc_fsbc_ProceedsFromLowIncomeHousingCredits_072cefbe-5347-4c44-8aa6-de4c5f3b9189" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForCapitalCallForEquityInvestment_6c56912b-7e40-47d6-ad8b-712ce5910393" xlink:href="fsbc-20240630.xsd#fsbc_PaymentsForCapitalCallForEquityInvestment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_104ee89b-5ada-434c-bd26-b28f6dc678bf" xlink:to="loc_fsbc_PaymentsForCapitalCallForEquityInvestment_6c56912b-7e40-47d6-ad8b-712ce5910393" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_7e52e0ae-6417-45ad-ad7d-b59b7f39e2d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_104ee89b-5ada-434c-bd26-b28f6dc678bf" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_7e52e0ae-6417-45ad-ad7d-b59b7f39e2d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_57103085-8f72-4a48-adfc-d143baaf8432" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_104ee89b-5ada-434c-bd26-b28f6dc678bf" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_57103085-8f72-4a48-adfc-d143baaf8432" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_7a3961aa-6347-4e70-971b-5ef25650a786" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_104ee89b-5ada-434c-bd26-b28f6dc678bf" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_7a3961aa-6347-4e70-971b-5ef25650a786" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_3c966d9d-7971-47b7-903e-1f3c95aa8ef2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a25cea6d-2390-44d5-9d08-e3d312ce3bda" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_3c966d9d-7971-47b7-903e-1f3c95aa8ef2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a25cea6d-2390-44d5-9d08-e3d312ce3bda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e9e7a4ad-2059-44be-9da7-532c0b57a0a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_3c966d9d-7971-47b7-903e-1f3c95aa8ef2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_e9e7a4ad-2059-44be-9da7-532c0b57a0a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_185089a6-4cdc-46c5-86f3-b3111bbe5cbb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_3c966d9d-7971-47b7-903e-1f3c95aa8ef2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_185089a6-4cdc-46c5-86f3-b3111bbe5cbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_37163cbe-c24d-4b36-aed5-f070dfc12ddb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_5437ffd7-83fb-48d7-93ac-2310884a182e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_37163cbe-c24d-4b36-aed5-f070dfc12ddb" xlink:to="loc_us-gaap_PaymentsOfDividends_5437ffd7-83fb-48d7-93ac-2310884a182e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_64f831b5-7d60-4e2c-9342-80fa5d8acc84" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_37163cbe-c24d-4b36-aed5-f070dfc12ddb" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_64f831b5-7d60-4e2c-9342-80fa5d8acc84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_7f0e8de2-26ce-4348-a1ee-7d1cb12cc079" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_37163cbe-c24d-4b36-aed5-f070dfc12ddb" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_7f0e8de2-26ce-4348-a1ee-7d1cb12cc079" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherDebt_21710208-d351-44a1-be3e-09dc182bbb51" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfOtherDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_37163cbe-c24d-4b36-aed5-f070dfc12ddb" xlink:to="loc_us-gaap_RepaymentsOfOtherDebt_21710208-d351-44a1-be3e-09dc182bbb51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_17173674-b81d-4dbf-9298-f888d30e6b17" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_17173674-b81d-4dbf-9298-f888d30e6b17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_01c56bdd-5967-47bd-beaa-0b14ace5d38a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_DepreciationAndAmortization_01c56bdd-5967-47bd-beaa-0b14ace5d38a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_ecbe56b0-7e5c-4284-8aa8-9dcb2bf83f71" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfDeferredLoanOriginationFeesNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_ecbe56b0-7e5c-4284-8aa8-9dcb2bf83f71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_557ce03c-1ea1-4bba-bf61-d123ea565d5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_NetIncomeLoss_557ce03c-1ea1-4bba-bf61-d123ea565d5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_f3ac1d7d-6e2a-45ac-a00f-9e1ed3f77bee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_f3ac1d7d-6e2a-45ac-a00f-9e1ed3f77bee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_4537e5f3-72a1-4e77-8112-5b87eed76293" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_ShareBasedCompensation_4537e5f3-72a1-4e77-8112-5b87eed76293" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_8d5767d6-f829-4229-ad61-2d6c665d1133" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_8d5767d6-f829-4229-ad61-2d6c665d1133" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_bf31b6c3-7e00-44bb-b835-f591eb8a046b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_bf31b6c3-7e00-44bb-b835-f591eb8a046b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_9cd496fd-274c-4912-8a0d-274932e8723e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_9cd496fd-274c-4912-8a0d-274932e8723e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_94390741-7a0b-4202-9810-522ac524a96e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_94390741-7a0b-4202-9810-522ac524a96e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_0829b1b0-d9ac-4cd0-831e-5bacd5b57f57" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_0829b1b0-d9ac-4cd0-831e-5bacd5b57f57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4f4797b5-9341-4fc7-873d-41c8ec5b96a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4f4797b5-9341-4fc7-873d-41c8ec5b96a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_ab2247d3-d089-4b5c-bd34-438f29456a66" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_ab2247d3-d089-4b5c-bd34-438f29456a66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_3dafe302-5e12-4bc8-80f3-883cf1563e41" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_3dafe302-5e12-4bc8-80f3-883cf1563e41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_43632fbe-3fdf-4b5e-8908-7455d6409bcc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_43632fbe-3fdf-4b5e-8908-7455d6409bcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_d46d759b-37b5-49ff-b083-ca6b35afe622" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3fb1c224-01f1-4908-bc85-314ef29b05ca" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_d46d759b-37b5-49ff-b083-ca6b35afe622" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesHeldtomaturityDetails" xlink:type="simple" xlink:href="fsbc-20240630.xsd#InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesHeldtomaturityDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesHeldtomaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_dbe08392-dc12-45e3-b27e-0b320c00e229" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_ddd616e1-526d-4498-9e60-780465afe0d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_dbe08392-dc12-45e3-b27e-0b320c00e229" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_ddd616e1-526d-4498-9e60-780465afe0d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_b91e71d5-97be-4dae-ad2e-4c5e0796834b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_dbe08392-dc12-45e3-b27e-0b320c00e229" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_b91e71d5-97be-4dae-ad2e-4c5e0796834b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_71706dd9-d392-46d1-b38a-26aa272ea892" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_dbe08392-dc12-45e3-b27e-0b320c00e229" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_71706dd9-d392-46d1-b38a-26aa272ea892" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesAvailableforsaleDetails" xlink:type="simple" xlink:href="fsbc-20240630.xsd#InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesAvailableforsaleDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesAvailableforsaleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_1bd5c945-d9b6-41aa-829d-4f2c1bc205b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_53de5ad1-d380-4e70-98f1-9cf6881214e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_1bd5c945-d9b6-41aa-829d-4f2c1bc205b2" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_53de5ad1-d380-4e70-98f1-9cf6881214e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_be6ad056-9f37-49e4-a2e8-5839f4e59d6e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_1bd5c945-d9b6-41aa-829d-4f2c1bc205b2" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_be6ad056-9f37-49e4-a2e8-5839f4e59d6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_a1006941-30c7-425c-b20f-e270a08b799b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_1bd5c945-d9b6-41aa-829d-4f2c1bc205b2" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_a1006941-30c7-425c-b20f-e270a08b799b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails" xlink:type="simple" xlink:href="fsbc-20240630.xsd#LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_73d47201-1f87-4791-a727-42ff90f2063c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_e932e3b1-e1af-4493-a577-11f60c3867a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_73d47201-1f87-4791-a727-42ff90f2063c" xlink:to="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_e932e3b1-e1af-4493-a577-11f60c3867a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_bd510c06-c441-4b9c-9229-7f0def08ba4d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_73d47201-1f87-4791-a727-42ff90f2063c" xlink:to="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_bd510c06-c441-4b9c-9229-7f0def08ba4d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesCreditQualityIndicatorsRelatedtotheCompanysLoansbyClassDetails" xlink:type="simple" xlink:href="fsbc-20240630.xsd#LoansandAllowanceforCreditLossesCreditQualityIndicatorsRelatedtotheCompanysLoansbyClassDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesCreditQualityIndicatorsRelatedtotheCompanysLoansbyClassDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_bfad42f2-3163-4ea8-b36d-38837c5c1ef5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_3e5d2d71-28f4-46cf-98e8-2f768490586b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_bfad42f2-3163-4ea8-b36d-38837c5c1ef5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_3e5d2d71-28f4-46cf-98e8-2f768490586b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolving_e3a8c074-bf12-49c4-92b2-f9b133faa27d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRevolving"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_bfad42f2-3163-4ea8-b36d-38837c5c1ef5" xlink:to="loc_us-gaap_FinancingReceivableRevolving_e3a8c074-bf12-49c4-92b2-f9b133faa27d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_e7697fbf-5afd-440c-a0ba-0d166191f1f3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_bfad42f2-3163-4ea8-b36d-38837c5c1ef5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_e7697fbf-5afd-440c-a0ba-0d166191f1f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_df7a1e52-ab1c-43df-8f6c-49a6965fb30f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRevolvingConvertedToTermLoan"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_bfad42f2-3163-4ea8-b36d-38837c5c1ef5" xlink:to="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_df7a1e52-ab1c-43df-8f6c-49a6965fb30f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_43cdc81a-a17d-4438-9a72-5a21ca7f0c50" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_bfad42f2-3163-4ea8-b36d-38837c5c1ef5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_43cdc81a-a17d-4438-9a72-5a21ca7f0c50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_516879be-07bc-472a-9f4c-b7fbb42e0255" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_bfad42f2-3163-4ea8-b36d-38837c5c1ef5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_516879be-07bc-472a-9f4c-b7fbb42e0255" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_b85ca9de-3178-4fdd-8c23-690be70ea5cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_bfad42f2-3163-4ea8-b36d-38837c5c1ef5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_b85ca9de-3178-4fdd-8c23-690be70ea5cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_b9e3a88b-c2d3-45ab-bbac-a46a7f1948a3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_bfad42f2-3163-4ea8-b36d-38837c5c1ef5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_b9e3a88b-c2d3-45ab-bbac-a46a7f1948a3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestBearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20240630.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_12749ea9-9f40-4653-a0cb-07276f33f81b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositSavings_55b83659-d612-4571-b888-dc1da926a4cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_12749ea9-9f40-4653-a0cb-07276f33f81b" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_55b83659-d612-4571-b888-dc1da926a4cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_3dae5696-2fb7-4336-80a0-d9a82a8863d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_12749ea9-9f40-4653-a0cb-07276f33f81b" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_3dae5696-2fb7-4336-80a0-d9a82a8863d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_15ad2e05-47df-4728-9672-b1941345fbc2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_12749ea9-9f40-4653-a0cb-07276f33f81b" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_15ad2e05-47df-4728-9672-b1941345fbc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_1df1340c-6bbd-4a96-9f76-ba2246c123fd" xlink:href="fsbc-20240630.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_12749ea9-9f40-4653-a0cb-07276f33f81b" xlink:to="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_1df1340c-6bbd-4a96-9f76-ba2246c123fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_e733d9d0-bab7-465f-b005-e7b322d446c8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_12749ea9-9f40-4653-a0cb-07276f33f81b" xlink:to="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_e733d9d0-bab7-465f-b005-e7b322d446c8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="fsbc-20240630.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_ff1c0d1b-b2ee-49f4-889d-a2d0708f4279" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestBearingDomesticDepositTimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_24a654f4-8f83-4085-89d5-281a02a7c785" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_ff1c0d1b-b2ee-49f4-889d-a2d0708f4279" xlink:to="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_24a654f4-8f83-4085-89d5-281a02a7c785" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_de50292e-92c2-4760-968c-2ae5023737f3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesYearOne"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_ff1c0d1b-b2ee-49f4-889d-a2d0708f4279" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_de50292e-92c2-4760-968c-2ae5023737f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_aea03097-1a56-418d-8b8a-0bb2ec009bdd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ff1c0d1b-b2ee-49f4-889d-a2d0708f4279" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_aea03097-1a56-418d-8b8a-0bb2ec009bdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_6bfec562-8130-400f-8890-359688f84c07" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_ff1c0d1b-b2ee-49f4-889d-a2d0708f4279" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_6bfec562-8130-400f-8890-359688f84c07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_8ec83ba2-cf57-43b2-bef4-65c1cf724b1a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesYearTwo"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_ff1c0d1b-b2ee-49f4-889d-a2d0708f4279" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_8ec83ba2-cf57-43b2-bef4-65c1cf724b1a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestExpenseRecognizedonInterestbearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20240630.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_6232a191-e1cd-4b0f-8c53-fe46ae4599bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_d2202cdf-6808-44ea-8d66-98596da84f29" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6232a191-e1cd-4b0f-8c53-fe46ae4599bf" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_d2202cdf-6808-44ea-8d66-98596da84f29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_dbc796da-818d-465e-98d6-83f4adc8383d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6232a191-e1cd-4b0f-8c53-fe46ae4599bf" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_dbc796da-818d-465e-98d6-83f4adc8383d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_32e3daf0-5dcc-4ded-9361-34285b65f285" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6232a191-e1cd-4b0f-8c53-fe46ae4599bf" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_32e3daf0-5dcc-4ded-9361-34285b65f285" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_82ed6253-38a5-4e60-82e0-061af65f141f" xlink:href="fsbc-20240630.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_6232a191-e1cd-4b0f-8c53-fe46ae4599bf" xlink:to="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_82ed6253-38a5-4e60-82e0-061af65f141f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_33b98fc3-8ee3-43d9-a0c0-e291aa8af371" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6232a191-e1cd-4b0f-8c53-fe46ae4599bf" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_33b98fc3-8ee3-43d9-a0c0-e291aa8af371" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
