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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:0bcca2f2-477b-4da4-b64a-5454cac083d7,g:4c57189b-f164-423f-ad8a-41e6af3d28e1-->
<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-20250630.xsd#CONSOLIDATEDBALANCESHEETSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_3266716f-4a41-440f-b622-cf6e435b26ea" xlink:href="fsbc-20250630.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_7913e65b-67b7-47db-8b73-15e6eba289d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3266716f-4a41-440f-b622-cf6e435b26ea" xlink:to="loc_us-gaap_CashAndDueFromBanks_7913e65b-67b7-47db-8b73-15e6eba289d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_8e462430-c4da-4f32-a9e4-d862a4edceb4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3266716f-4a41-440f-b622-cf6e435b26ea" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_8e462430-c4da-4f32-a9e4-d862a4edceb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_834e0bc2-59b6-439f-b033-4e28ceb62e32" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherBorrowings_d271bc1d-1a53-45fe-a14c-8f83e4f732f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_834e0bc2-59b6-439f-b033-4e28ceb62e32" xlink:to="loc_us-gaap_OtherBorrowings_d271bc1d-1a53-45fe-a14c-8f83e4f732f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_07616c6d-4e02-427f-b8f3-aa340c9d706d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_834e0bc2-59b6-439f-b033-4e28ceb62e32" xlink:to="loc_us-gaap_Deposits_07616c6d-4e02-427f-b8f3-aa340c9d706d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_9598ed83-bb4c-4045-9821-cb9e3bab4c2d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_834e0bc2-59b6-439f-b033-4e28ceb62e32" xlink:to="loc_us-gaap_SubordinatedDebt_9598ed83-bb4c-4045-9821-cb9e3bab4c2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_8d3146a8-8d37-4a9d-95a6-208bacafbdf6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_834e0bc2-59b6-439f-b033-4e28ceb62e32" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_8d3146a8-8d37-4a9d-95a6-208bacafbdf6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_41765870-7a03-4222-a1f4-95e340995354" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_834e0bc2-59b6-439f-b033-4e28ceb62e32" xlink:to="loc_us-gaap_OperatingLeaseLiability_41765870-7a03-4222-a1f4-95e340995354" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_69fd3e89-a33e-499f-a489-72c266d3860e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_14c5e661-4d5b-45ff-8ad4-3b5287931d5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_69fd3e89-a33e-499f-a489-72c266d3860e" xlink:to="loc_us-gaap_Liabilities_14c5e661-4d5b-45ff-8ad4-3b5287931d5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_5d6adc85-d747-4168-af37-754e0613ccab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_69fd3e89-a33e-499f-a489-72c266d3860e" xlink:to="loc_us-gaap_StockholdersEquity_5d6adc85-d747-4168-af37-754e0613ccab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_1ca0c16b-8cd6-4637-b03b-40a014716d2f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_44f95997-d799-4c83-9ae4-b4c333611850" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1ca0c16b-8cd6-4637-b03b-40a014716d2f" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_44f95997-d799-4c83-9ae4-b4c333611850" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_7527b0fe-e5ba-4c7f-beae-e3588baf658d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1ca0c16b-8cd6-4637-b03b-40a014716d2f" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_7527b0fe-e5ba-4c7f-beae-e3588baf658d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_b4c4a59b-dceb-4628-8e28-f6c3d14037fa" xlink:href="fsbc-20250630.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_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:to="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_b4c4a59b-dceb-4628-8e28-f6c3d14037fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtCarryingValue_797bd5a8-145b-4284-b533-c343149014e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:to="loc_us-gaap_TimeDepositsAtCarryingValue_797bd5a8-145b-4284-b533-c343149014e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_75e73b8c-0b3c-4018-a0cd-71e4206ef88a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_75e73b8c-0b3c-4018-a0cd-71e4206ef88a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_1f8611a9-9dd6-4218-85bf-f7b112aaed1d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:to="loc_us-gaap_HeldToMaturitySecurities_1f8611a9-9dd6-4218-85bf-f7b112aaed1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_f66cbfd0-184e-4fdd-bc45-34c9fbe13f6b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_f66cbfd0-184e-4fdd-bc45-34c9fbe13f6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_faeb81b0-53ea-4787-a956-52caf9097fb6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:to="loc_us-gaap_NotesReceivableNet_faeb81b0-53ea-4787-a956-52caf9097fb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_14205f9b-1243-46a4-a8ed-81b80ab5c044" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_14205f9b-1243-46a4-a8ed-81b80ab5c044" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f3ca7f3c-f9b0-4177-8dc6-4c27f8aa5d64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f3ca7f3c-f9b0-4177-8dc6-4c27f8aa5d64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_3f8efb83-42ef-48ca-8915-c7bf39cf7ab1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_3f8efb83-42ef-48ca-8915-c7bf39cf7ab1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_7ea0a36b-b6f4-4b0c-ba6b-260a40998290" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_7ea0a36b-b6f4-4b0c-ba6b-260a40998290" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_823dfc18-aae8-4d44-b266-16476c62644f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6b3e4d04-d605-4362-9307-fa12cafedd89" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_823dfc18-aae8-4d44-b266-16476c62644f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_bc128c4a-f48e-408a-b3e9-2e2dfe2dfe4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_26d1c159-c5fc-45bb-8754-3ed6203ac6a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_bc128c4a-f48e-408a-b3e9-2e2dfe2dfe4e" xlink:to="loc_us-gaap_PreferredStockValue_26d1c159-c5fc-45bb-8754-3ed6203ac6a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_25b2f4a6-edde-4ed8-9f51-de0bfdfd10e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_bc128c4a-f48e-408a-b3e9-2e2dfe2dfe4e" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_25b2f4a6-edde-4ed8-9f51-de0bfdfd10e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_c96e17e7-2af6-49f0-9ba8-c54cdea0dc9e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_bc128c4a-f48e-408a-b3e9-2e2dfe2dfe4e" xlink:to="loc_us-gaap_CommonStockValue_c96e17e7-2af6-49f0-9ba8-c54cdea0dc9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_16bbba91-89b0-4cea-afaa-3da57e98e1a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_bc128c4a-f48e-408a-b3e9-2e2dfe2dfe4e" xlink:to="loc_us-gaap_CommitmentsAndContingencies_16bbba91-89b0-4cea-afaa-3da57e98e1a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e73eb5ab-2019-4948-8291-ff6cc9bd7cdb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_bc128c4a-f48e-408a-b3e9-2e2dfe2dfe4e" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e73eb5ab-2019-4948-8291-ff6cc9bd7cdb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_fbfa37d4-5d5c-4200-bb91-9f02667af44e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_d176340a-696b-4ffb-9269-5d16b0dd81aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_fbfa37d4-5d5c-4200-bb91-9f02667af44e" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_d176340a-696b-4ffb-9269-5d16b0dd81aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_271df111-2a3e-4fe9-a89c-796721b52872" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_fbfa37d4-5d5c-4200-bb91-9f02667af44e" xlink:to="loc_us-gaap_NotesReceivableGross_271df111-2a3e-4fe9-a89c-796721b52872" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20250630.xsd#CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_32169609-4247-4e1f-b99d-3356c9231b45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_2553fed1-82af-44dc-876b-dac786d5108a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_32169609-4247-4e1f-b99d-3356c9231b45" xlink:to="loc_us-gaap_InterestExpenseDeposits_2553fed1-82af-44dc-876b-dac786d5108a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_207392f9-12e4-4ef9-97aa-4f5f4a843000" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_32169609-4247-4e1f-b99d-3356c9231b45" xlink:to="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_207392f9-12e4-4ef9-97aa-4f5f4a843000" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_74941508-aea5-44e0-8419-79d65b1cc7ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_32169609-4247-4e1f-b99d-3356c9231b45" xlink:to="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_74941508-aea5-44e0-8419-79d65b1cc7ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_3b8bed81-1f02-475f-b93d-221b6250907b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ServiceChargesOnDepositAccounts_24d7c70e-5961-4e27-9fea-f09310e121b5" xlink:href="fsbc-20250630.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_3b8bed81-1f02-475f-b93d-221b6250907b" xlink:to="loc_fsbc_ServiceChargesOnDepositAccounts_24d7c70e-5961-4e27-9fea-f09310e121b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedFees_a6326e2e-6739-4d9d-8cb8-89970c71a80a" xlink:href="fsbc-20250630.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_3b8bed81-1f02-475f-b93d-221b6250907b" xlink:to="loc_fsbc_LoanRelatedFees_a6326e2e-6739-4d9d-8cb8-89970c71a80a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_ad796810-9536-4233-9a9f-619bc8dafb16" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3b8bed81-1f02-475f-b93d-221b6250907b" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_ad796810-9536-4233-9a9f-619bc8dafb16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_FederalHomeLoanBankStockDividends_26003388-3b21-424b-b24c-2c26d03f68da" xlink:href="fsbc-20250630.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_3b8bed81-1f02-475f-b93d-221b6250907b" xlink:to="loc_fsbc_FederalHomeLoanBankStockDividends_26003388-3b21-424b-b24c-2c26d03f68da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_a2bbcc77-8047-46ce-974f-f97bb85a3ca7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3b8bed81-1f02-475f-b93d-221b6250907b" xlink:to="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_a2bbcc77-8047-46ce-974f-f97bb85a3ca7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_bb56e2b2-eeee-46aa-a407-ac3bbfd87ede" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3b8bed81-1f02-475f-b93d-221b6250907b" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_bb56e2b2-eeee-46aa-a407-ac3bbfd87ede" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_43fda728-2b7a-4898-8bf8-8712a81780ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_52e06a52-f36e-4fa8-bfc0-442cc82804ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_43fda728-2b7a-4898-8bf8-8712a81780ba" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_52e06a52-f36e-4fa8-bfc0-442cc82804ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_5a5160cb-7f8e-4146-8b3a-e4d5e56cda19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_43fda728-2b7a-4898-8bf8-8712a81780ba" xlink:to="loc_us-gaap_InterestExpenseOperating_5a5160cb-7f8e-4146-8b3a-e4d5e56cda19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_d32d5979-3e0f-443b-afb8-dd9a7f750da9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_019587ae-b4fb-45b6-a4f5-f9cd9d32508a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d32d5979-3e0f-443b-afb8-dd9a7f750da9" xlink:to="loc_us-gaap_LaborAndRelatedExpense_019587ae-b4fb-45b6-a4f5-f9cd9d32508a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_95678b09-159c-4e64-a7d3-d1b026f2a5bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d32d5979-3e0f-443b-afb8-dd9a7f750da9" xlink:to="loc_us-gaap_OccupancyNet_95678b09-159c-4e64-a7d3-d1b026f2a5bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_7da7e1c9-b4ee-441a-8433-e9643fa753aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d32d5979-3e0f-443b-afb8-dd9a7f750da9" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_7da7e1c9-b4ee-441a-8433-e9643fa753aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_0d4f0126-c43d-4eb8-85e1-70ac7feba1da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d32d5979-3e0f-443b-afb8-dd9a7f750da9" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_0d4f0126-c43d-4eb8-85e1-70ac7feba1da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_0f50c362-bcb6-446e-864b-a02c3ceb557c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d32d5979-3e0f-443b-afb8-dd9a7f750da9" xlink:to="loc_us-gaap_ProfessionalFees_0f50c362-bcb6-446e-864b-a02c3ceb557c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_64568a96-c0ee-42b2-bdf0-34a4bdcb49ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d32d5979-3e0f-443b-afb8-dd9a7f750da9" xlink:to="loc_us-gaap_AdvertisingExpense_64568a96-c0ee-42b2-bdf0-34a4bdcb49ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedExpenses_95154a6c-35bf-4572-ac10-77b93f9387f6" xlink:href="fsbc-20250630.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_d32d5979-3e0f-443b-afb8-dd9a7f750da9" xlink:to="loc_fsbc_LoanRelatedExpenses_95154a6c-35bf-4572-ac10-77b93f9387f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_5d46e430-7cdb-4c53-8f10-bf51ba05350b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d32d5979-3e0f-443b-afb8-dd9a7f750da9" xlink:to="loc_us-gaap_OtherNoninterestExpense_5d46e430-7cdb-4c53-8f10-bf51ba05350b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_e9bf72cf-3535-4193-89a6-eab05eb44a73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fa4bd1a7-6df0-4a7e-b34e-176cd964f9b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e9bf72cf-3535-4193-89a6-eab05eb44a73" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_fa4bd1a7-6df0-4a7e-b34e-176cd964f9b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_75ee0bbc-7716-4315-b078-756c8d352841" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e9bf72cf-3535-4193-89a6-eab05eb44a73" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_75ee0bbc-7716-4315-b078-756c8d352841" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_aa6d0f6a-7b83-46d7-be22-7339f8293dd1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_24de9cd7-09a9-44ea-a2b3-786fef59f890" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_aa6d0f6a-7b83-46d7-be22-7339f8293dd1" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_24de9cd7-09a9-44ea-a2b3-786fef59f890" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_145a6fca-9913-4163-9683-04069a1b88d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_aa6d0f6a-7b83-46d7-be22-7339f8293dd1" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_145a6fca-9913-4163-9683-04069a1b88d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_57f2fb82-1ee9-4bc8-8fab-2e087fbcd576" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_8087f216-b54b-47b9-a6da-55b09b67002e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_57f2fb82-1ee9-4bc8-8fab-2e087fbcd576" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_8087f216-b54b-47b9-a6da-55b09b67002e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_c3ba0172-dd18-4858-8297-b66f84522aba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_57f2fb82-1ee9-4bc8-8fab-2e087fbcd576" xlink:to="loc_us-gaap_NoninterestIncome_c3ba0172-dd18-4858-8297-b66f84522aba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_71168349-55ac-4e91-8a1a-8f5c211a36d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_57f2fb82-1ee9-4bc8-8fab-2e087fbcd576" xlink:to="loc_us-gaap_NoninterestExpense_71168349-55ac-4e91-8a1a-8f5c211a36d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_12b22475-edc2-4a84-8e19-a2b3d53940c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_a66cadae-4af8-4306-a54a-24c8893cb842" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_12b22475-edc2-4a84-8e19-a2b3d53940c9" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_a66cadae-4af8-4306-a54a-24c8893cb842" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_9768afb4-c231-458e-887b-c2c013f89cca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_12b22475-edc2-4a84-8e19-a2b3d53940c9" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_9768afb4-c231-458e-887b-c2c013f89cca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_b00a3c66-7fd8-43fb-8083-c4e1033d2788" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_12b22475-edc2-4a84-8e19-a2b3d53940c9" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_b00a3c66-7fd8-43fb-8083-c4e1033d2788" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_e7c43d15-dad3-41b6-a116-cfbba9fc2d28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_12b22475-edc2-4a84-8e19-a2b3d53940c9" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_e7c43d15-dad3-41b6-a116-cfbba9fc2d28" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUnaudited" xlink:type="simple" xlink:href="fsbc-20250630.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_811714a8-e9c6-4755-8c08-fbc84980c9ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_e35dc24c-569d-4a3d-af0f-ee1813fb71a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_811714a8-e9c6-4755-8c08-fbc84980c9ac" xlink:to="loc_us-gaap_NetIncomeLoss_e35dc24c-569d-4a3d-af0f-ee1813fb71a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_dfdb1a9a-d698-41f6-bf92-16837d56ada7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_811714a8-e9c6-4755-8c08-fbc84980c9ac" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_dfdb1a9a-d698-41f6-bf92-16837d56ada7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_3b86badf-222c-4bab-bbba-3b7a0c969fcb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_38c9ab11-75a7-4d63-b43f-a3bdc8af7725" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3b86badf-222c-4bab-bbba-3b7a0c969fcb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_38c9ab11-75a7-4d63-b43f-a3bdc8af7725" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_575070c2-3bfb-4ae7-854f-04ddc134d242" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_3b86badf-222c-4bab-bbba-3b7a0c969fcb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_575070c2-3bfb-4ae7-854f-04ddc134d242" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="simple" xlink:href="fsbc-20250630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8eae4b05-10dd-4ec1-a47b-878f707d8aeb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_f7f06766-4391-42a5-9bf3-33f1ce176162" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_8eae4b05-10dd-4ec1-a47b-878f707d8aeb" xlink:to="loc_us-gaap_PaymentsOfDividends_f7f06766-4391-42a5-9bf3-33f1ce176162" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_fa62517a-8538-4fd9-be69-fb6551751d45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_8eae4b05-10dd-4ec1-a47b-878f707d8aeb" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_fa62517a-8538-4fd9-be69-fb6551751d45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_249607be-43cb-45fc-80d8-e53db76b7f23" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_8eae4b05-10dd-4ec1-a47b-878f707d8aeb" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_249607be-43cb-45fc-80d8-e53db76b7f23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherDebt_5ff1db30-d38c-4e80-a74a-235d9acee6cd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_8eae4b05-10dd-4ec1-a47b-878f707d8aeb" xlink:to="loc_us-gaap_RepaymentsOfOtherDebt_5ff1db30-d38c-4e80-a74a-235d9acee6cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ffd75eb9-0d52-4c7a-b64b-e856c07cae1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_17f6106d-3320-4075-804f-3ead93c27c64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ffd75eb9-0d52-4c7a-b64b-e856c07cae1e" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_17f6106d-3320-4075-804f-3ead93c27c64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProceedsFromPaymentsForLowIncomeHousingCredits_2cbb2b91-748a-4445-9454-8a7b7e01437a" xlink:href="fsbc-20250630.xsd#fsbc_ProceedsFromPaymentsForLowIncomeHousingCredits"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ffd75eb9-0d52-4c7a-b64b-e856c07cae1e" xlink:to="loc_fsbc_ProceedsFromPaymentsForLowIncomeHousingCredits_2cbb2b91-748a-4445-9454-8a7b7e01437a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_39131463-28c5-490b-8ab7-5f605bf2adb6" xlink:href="fsbc-20250630.xsd#fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ffd75eb9-0d52-4c7a-b64b-e856c07cae1e" xlink:to="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_39131463-28c5-490b-8ab7-5f605bf2adb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_c5467433-4fc8-4167-a3ce-155a27a7cc49" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ffd75eb9-0d52-4c7a-b64b-e856c07cae1e" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_c5467433-4fc8-4167-a3ce-155a27a7cc49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_45ebade6-a937-4523-bb65-4d939ab7c696" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfOtherRealEstate"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ffd75eb9-0d52-4c7a-b64b-e856c07cae1e" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherRealEstate_45ebade6-a937-4523-bb65-4d939ab7c696" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForCapitalCallForEquityInvestment_80212090-c82d-4048-bfc9-8691940d2a4a" xlink:href="fsbc-20250630.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_ffd75eb9-0d52-4c7a-b64b-e856c07cae1e" xlink:to="loc_fsbc_PaymentsForCapitalCallForEquityInvestment_80212090-c82d-4048-bfc9-8691940d2a4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_2e693e7e-7b70-4f00-b8e9-4d3e7bb319de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ffd75eb9-0d52-4c7a-b64b-e856c07cae1e" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_2e693e7e-7b70-4f00-b8e9-4d3e7bb319de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_135ba4c6-582c-4f12-a274-a0ce021b77d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ffd75eb9-0d52-4c7a-b64b-e856c07cae1e" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_135ba4c6-582c-4f12-a274-a0ce021b77d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_008f258c-6721-4b41-b126-1ddd6bee5ca6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ffd75eb9-0d52-4c7a-b64b-e856c07cae1e" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_008f258c-6721-4b41-b126-1ddd6bee5ca6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_5b3a2e3f-411c-42f6-8402-27175b890abb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_5b3a2e3f-411c-42f6-8402-27175b890abb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization_20521c2f-3321-42df-b9b8-ea010d399538" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization_20521c2f-3321-42df-b9b8-ea010d399538" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_16f96b7f-7511-4be2-83cb-e59d53e1b39b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_DepreciationAndAmortization_16f96b7f-7511-4be2-83cb-e59d53e1b39b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_ed0fe581-7212-488a-973f-0a4cad30c95e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfDeferredLoanOriginationFeesNet"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_ed0fe581-7212-488a-973f-0a4cad30c95e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_3ef7eb4c-f629-4986-81d1-fd40545f3979" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_NetIncomeLoss_3ef7eb4c-f629-4986-81d1-fd40545f3979" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_456bd2b4-a013-4e4f-8480-6c349c7a0982" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_456bd2b4-a013-4e4f-8480-6c349c7a0982" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_c80b837f-4c74-4b01-b5d7-209dca8f968b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_ShareBasedCompensation_c80b837f-4c74-4b01-b5d7-209dca8f968b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_835f4376-2c3c-498d-95f2-2c132aadfbeb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_835f4376-2c3c-498d-95f2-2c132aadfbeb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_7607d63c-c4e3-4048-90c9-6634aee32902" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_7607d63c-c4e3-4048-90c9-6634aee32902" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_ad12a5e0-68ef-4603-a6d0-6d5ce7593e5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_ad12a5e0-68ef-4603-a6d0-6d5ce7593e5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_e6c89259-890a-486f-b72d-f999a720bd04" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_e6c89259-890a-486f-b72d-f999a720bd04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_1d6080ac-22b6-4df7-97c4-d831255c918d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_1d6080ac-22b6-4df7-97c4-d831255c918d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_9f1af421-3d44-46fb-b11a-410ca34daa1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_9f1af421-3d44-46fb-b11a-410ca34daa1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_aa982fe7-9749-4baf-81a6-369857903afe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_aa982fe7-9749-4baf-81a6-369857903afe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_e63d2615-e0a1-48e1-8206-41635056d57c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_e63d2615-e0a1-48e1-8206-41635056d57c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_4ae1820d-19ad-4554-ae96-8a58f5c13381" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_4ae1820d-19ad-4554-ae96-8a58f5c13381" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_e6577e70-4f42-4e82-bf05-08bb00b8a676" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7e2077a3-a0fe-465e-a1f6-a0915dad9113" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_e6577e70-4f42-4e82-bf05-08bb00b8a676" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_6671823d-0604-46a2-97f9-7e91cf161a61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f7b55a4-6b3b-404f-b695-15d80bff9040" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6671823d-0604-46a2-97f9-7e91cf161a61" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7f7b55a4-6b3b-404f-b695-15d80bff9040" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5e90058f-d486-4153-b534-009c9db7a776" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6671823d-0604-46a2-97f9-7e91cf161a61" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5e90058f-d486-4153-b534-009c9db7a776" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e5a7c10a-83b6-4461-99dc-38b961459130" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_6671823d-0604-46a2-97f9-7e91cf161a61" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e5a7c10a-83b6-4461-99dc-38b961459130" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesHeldtoMaturityDetails" xlink:type="simple" xlink:href="fsbc-20250630.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_3136e829-17c1-4d10-9f7d-f1de34117d14" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HeldToMaturitySecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_22b1ef63-165f-4692-8c27-94982ddd52cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3136e829-17c1-4d10-9f7d-f1de34117d14" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_22b1ef63-165f-4692-8c27-94982ddd52cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_574b5068-3da2-4f73-8c3b-236f41ae32d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3136e829-17c1-4d10-9f7d-f1de34117d14" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_574b5068-3da2-4f73-8c3b-236f41ae32d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_ea630aaf-9146-45c6-9915-e52adee2f5bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3136e829-17c1-4d10-9f7d-f1de34117d14" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_ea630aaf-9146-45c6-9915-e52adee2f5bd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesAvailableforSaleDetails" xlink:type="simple" xlink:href="fsbc-20250630.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_8fc50488-abd1-4d69-917d-28bbf0d0df06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_195323b1-f80d-4dd8-8ce4-8da95bee4b11" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_8fc50488-abd1-4d69-917d-28bbf0d0df06" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_195323b1-f80d-4dd8-8ce4-8da95bee4b11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0dc7611f-6dad-4d91-9e5d-080cde759ccf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_8fc50488-abd1-4d69-917d-28bbf0d0df06" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0dc7611f-6dad-4d91-9e5d-080cde759ccf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_978e9915-1962-4159-87c9-69a3414ad4d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_8fc50488-abd1-4d69-917d-28bbf0d0df06" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_978e9915-1962-4159-87c9-69a3414ad4d9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAvailableforSaleSecuritiesinaContinuousUnrealizedLossPositionDetails" xlink:type="simple" xlink:href="fsbc-20250630.xsd#InvestmentSecuritiesAvailableforSaleSecuritiesinaContinuousUnrealizedLossPositionDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InvestmentSecuritiesAvailableforSaleSecuritiesinaContinuousUnrealizedLossPositionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValue_2e4dbcd8-6d75-4a4b-8967-f072f4a9dbd0" xlink:href="fsbc-20250630.xsd#fsbc_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_2bc6f20a-f779-4180-b312-fb986be272a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fsbc_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValue_2e4dbcd8-6d75-4a4b-8967-f072f4a9dbd0" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_2bc6f20a-f779-4180-b312-fb986be272a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerFairValue_516a2a6f-928b-4f9b-8111-1f652e0d29d7" xlink:href="fsbc-20250630.xsd#fsbc_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fsbc_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValue_2e4dbcd8-6d75-4a4b-8967-f072f4a9dbd0" xlink:to="loc_fsbc_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerFairValue_516a2a6f-928b-4f9b-8111-1f652e0d29d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_dacdbae7-3f34-46da-a891-4430c93c35ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_a88242f0-7250-457a-807b-1859f131efcf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_dacdbae7-3f34-46da-a891-4430c93c35ae" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_a88242f0-7250-457a-807b-1859f131efcf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_542a2227-8701-45f8-ba0e-89eb78ca628d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_dacdbae7-3f34-46da-a891-4430c93c35ae" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_542a2227-8701-45f8-ba0e-89eb78ca628d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails" xlink:type="simple" xlink:href="fsbc-20250630.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_c9e99bd6-16e7-4ec1-9e3a-e3092a89d12e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesReceivableGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_8e94e0da-12b7-41ad-bf5a-f36b3cd670ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_c9e99bd6-16e7-4ec1-9e3a-e3092a89d12e" xlink:to="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_8e94e0da-12b7-41ad-bf5a-f36b3cd670ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_b38cd397-1bd7-493a-a920-3f0328558700" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_c9e99bd6-16e7-4ec1-9e3a-e3092a89d12e" xlink:to="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_b38cd397-1bd7-493a-a920-3f0328558700" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesCreditQualityIndicatorsRelatedtotheCompanysLoansbyClassDetails" xlink:type="simple" xlink:href="fsbc-20250630.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_e7d2e1fe-3327-4506-95f8-1f42534f4092" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesReceivableGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_d33ba6e8-84c5-48d4-9570-855584b40376" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e7d2e1fe-3327-4506-95f8-1f42534f4092" xlink:to="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_d33ba6e8-84c5-48d4-9570-855584b40376" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolving_b6955200-aef6-4b05-b251-7445458c4a57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e7d2e1fe-3327-4506-95f8-1f42534f4092" xlink:to="loc_us-gaap_FinancingReceivableRevolving_b6955200-aef6-4b05-b251-7445458c4a57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_b28d541b-c48f-4b0d-9501-e63aee65671f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e7d2e1fe-3327-4506-95f8-1f42534f4092" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_b28d541b-c48f-4b0d-9501-e63aee65671f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_2d1e19ce-78a2-40a4-84d5-469d8c100a6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e7d2e1fe-3327-4506-95f8-1f42534f4092" xlink:to="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_2d1e19ce-78a2-40a4-84d5-469d8c100a6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_13c3a475-af1b-4cd3-9c7d-46610d2186e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e7d2e1fe-3327-4506-95f8-1f42534f4092" xlink:to="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_13c3a475-af1b-4cd3-9c7d-46610d2186e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_ac44f01a-90d3-4b15-a754-ba883d969484" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e7d2e1fe-3327-4506-95f8-1f42534f4092" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_ac44f01a-90d3-4b15-a754-ba883d969484" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_e4f55450-eb6c-4d36-b5fc-e2483910e8b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e7d2e1fe-3327-4506-95f8-1f42534f4092" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_e4f55450-eb6c-4d36-b5fc-e2483910e8b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_55236865-ed4a-4ee8-bed3-d87fc9190de8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e7d2e1fe-3327-4506-95f8-1f42534f4092" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_55236865-ed4a-4ee8-bed3-d87fc9190de8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestBearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20250630.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_21b3f34e-37d4-4e7b-8463-aedb4be1171a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestBearingDepositLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositSavings_8b3f51d3-1aef-4d53-9964-3de5b3d49d5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_21b3f34e-37d4-4e7b-8463-aedb4be1171a" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_8b3f51d3-1aef-4d53-9964-3de5b3d49d5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_b551b00e-8e63-4ffa-ae47-ed2a14b5d7fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_21b3f34e-37d4-4e7b-8463-aedb4be1171a" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_b551b00e-8e63-4ffa-ae47-ed2a14b5d7fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_ff1bdf39-6e6e-4a5c-8d7a-2fce5d439f01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_21b3f34e-37d4-4e7b-8463-aedb4be1171a" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_ff1bdf39-6e6e-4a5c-8d7a-2fce5d439f01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_37b13dd7-1ab0-437a-8405-e72f689b9703" xlink:href="fsbc-20250630.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_21b3f34e-37d4-4e7b-8463-aedb4be1171a" xlink:to="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_37b13dd7-1ab0-437a-8405-e72f689b9703" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_35aea6a1-aa68-4891-acb1-8d33aaab9cea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_21b3f34e-37d4-4e7b-8463-aedb4be1171a" xlink:to="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_35aea6a1-aa68-4891-acb1-8d33aaab9cea" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="fsbc-20250630.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_ccf52350-0d3b-4681-86f5-a99e72e554c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestBearingDomesticDepositTimeDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_6da61e0b-0533-4f85-854c-53fdbbe5f6ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ccf52350-0d3b-4681-86f5-a99e72e554c2" xlink:to="loc_us-gaap_TimeDepositMaturitiesRemainderOfFiscalYear_6da61e0b-0533-4f85-854c-53fdbbe5f6ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_82cbbcb4-3e43-4696-a831-9c95c2ee9f0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ccf52350-0d3b-4681-86f5-a99e72e554c2" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_82cbbcb4-3e43-4696-a831-9c95c2ee9f0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_4d615bfe-0a51-4fc0-b31b-34d236d2596a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ccf52350-0d3b-4681-86f5-a99e72e554c2" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_4d615bfe-0a51-4fc0-b31b-34d236d2596a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_23f73ad9-8c00-41e4-8c4a-3b7a837d6e4c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ccf52350-0d3b-4681-86f5-a99e72e554c2" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_23f73ad9-8c00-41e4-8c4a-3b7a837d6e4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_9a463c9e-d2ff-42b2-9ddf-feb093c59f5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ccf52350-0d3b-4681-86f5-a99e72e554c2" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_9a463c9e-d2ff-42b2-9ddf-feb093c59f5b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestExpenseRecognizedonInterestBearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20250630.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_80d4df66-4c19-4c16-9503-1745d93227be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_cbd15275-33a4-42c9-8bd5-d6195ca3cb57" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_80d4df66-4c19-4c16-9503-1745d93227be" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_cbd15275-33a4-42c9-8bd5-d6195ca3cb57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_ec5c5d93-5ec6-4fa8-9cf9-c4b39979753f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_80d4df66-4c19-4c16-9503-1745d93227be" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_ec5c5d93-5ec6-4fa8-9cf9-c4b39979753f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_5cd5d1ef-0d43-4d72-ba64-3bd6064e8dd8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_80d4df66-4c19-4c16-9503-1745d93227be" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_5cd5d1ef-0d43-4d72-ba64-3bd6064e8dd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_33d0d540-7eee-45b3-922a-e826f56a80cc" xlink:href="fsbc-20250630.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_80d4df66-4c19-4c16-9503-1745d93227be" xlink:to="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_33d0d540-7eee-45b3-922a-e826f56a80cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_6269f00e-9a47-4917-b2c9-bafb08e5ffa1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_80d4df66-4c19-4c16-9503-1745d93227be" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_6269f00e-9a47-4917-b2c9-bafb08e5ffa1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/ShareholdersEquityEarningsPerShareDetails" xlink:type="simple" xlink:href="fsbc-20250630.xsd#ShareholdersEquityEarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/ShareholdersEquityEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7f108c2a-ee7b-402e-8778-b1f3f3745070" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_441a0680-2381-4b73-bb21-436d714971a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_7f108c2a-ee7b-402e-8778-b1f3f3745070" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_441a0680-2381-4b73-bb21-436d714971a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_5950cd63-08a7-444c-b453-c72df7745331" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_7f108c2a-ee7b-402e-8778-b1f3f3745070" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_5950cd63-08a7-444c-b453-c72df7745331" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
