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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:b1e13170-317d-40df-b0ad-77b17e646ff6,g:aac40147-c588-4cb8-8750-e68482ac9f61-->
<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-20241231.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_3edb711b-2f58-417e-9377-1caa157b60d3" 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_2a370750-3b54-4103-a550-baa52e005a7a" 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_3edb711b-2f58-417e-9377-1caa157b60d3" xlink:to="loc_us-gaap_Liabilities_2a370750-3b54-4103-a550-baa52e005a7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_3535d95a-a8b2-4015-8c99-96853e8c5045" 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_3edb711b-2f58-417e-9377-1caa157b60d3" xlink:to="loc_us-gaap_StockholdersEquity_3535d95a-a8b2-4015-8c99-96853e8c5045" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_9f847b0e-6785-4027-abac-ccf5ef6d4508" xlink:href="fsbc-20241231.xsd#fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_593d780b-a846-4269-860e-b7253987b619" 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_9f847b0e-6785-4027-abac-ccf5ef6d4508" xlink:to="loc_us-gaap_CashAndDueFromBanks_593d780b-a846-4269-860e-b7253987b619" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_3cfef681-9cd6-449f-9d0a-45046bcd589e" 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_9f847b0e-6785-4027-abac-ccf5ef6d4508" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_3cfef681-9cd6-449f-9d0a-45046bcd589e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_2e2af8f0-374f-45fc-811e-64e584228458" 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_e062b80b-2177-45ee-b1f7-af36a6967858" 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_2e2af8f0-374f-45fc-811e-64e584228458" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_e062b80b-2177-45ee-b1f7-af36a6967858" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_a8191e9f-612a-49fb-a874-3eed8a71102f" 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_2e2af8f0-374f-45fc-811e-64e584228458" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_a8191e9f-612a-49fb-a874-3eed8a71102f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_382075ae-b9e5-4707-87e1-909a6fbe39e6" 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_26e3b18b-6c33-41a5-9540-6b9b9161f57c" 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_382075ae-b9e5-4707-87e1-909a6fbe39e6" xlink:to="loc_us-gaap_PreferredStockValue_26e3b18b-6c33-41a5-9540-6b9b9161f57c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_39006630-e1d9-4edf-bc9d-c84201b5e5dc" 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_382075ae-b9e5-4707-87e1-909a6fbe39e6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_39006630-e1d9-4edf-bc9d-c84201b5e5dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_2a237a2a-1d11-43b1-92aa-8e1bd8fe2a68" 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_382075ae-b9e5-4707-87e1-909a6fbe39e6" xlink:to="loc_us-gaap_CommonStockValue_2a237a2a-1d11-43b1-92aa-8e1bd8fe2a68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_a53d2ca1-e4aa-4b1b-81d9-ef8668fdee87" 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_382075ae-b9e5-4707-87e1-909a6fbe39e6" xlink:to="loc_us-gaap_CommitmentsAndContingencies_a53d2ca1-e4aa-4b1b-81d9-ef8668fdee87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_9710c411-6373-425b-a865-70471b57ff87" 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_382075ae-b9e5-4707-87e1-909a6fbe39e6" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_9710c411-6373-425b-a865-70471b57ff87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_958fac02-4ab5-4d46-a098-207825a4c8ac" 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_a84ef477-4687-4364-bd65-ed8a2b6269b9" 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_958fac02-4ab5-4d46-a098-207825a4c8ac" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_a84ef477-4687-4364-bd65-ed8a2b6269b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_be331282-131b-409a-b9cd-7fe24476e1e6" 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_958fac02-4ab5-4d46-a098-207825a4c8ac" xlink:to="loc_us-gaap_NotesReceivableGross_be331282-131b-409a-b9cd-7fe24476e1e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_5b97adbf-fc7c-4b40-a988-114362f3da7d" 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_Deposits_cacaca5e-c60d-47e0-b44b-e3d4d8273785" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5b97adbf-fc7c-4b40-a988-114362f3da7d" xlink:to="loc_us-gaap_Deposits_cacaca5e-c60d-47e0-b44b-e3d4d8273785" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_ebcdbb55-1d19-4bb2-adf8-0b6e04a8a504" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5b97adbf-fc7c-4b40-a988-114362f3da7d" xlink:to="loc_us-gaap_OperatingLeaseLiability_ebcdbb55-1d19-4bb2-adf8-0b6e04a8a504" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebt_8d6b0f7e-6349-4c71-afb7-cd6b95df1bba" 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_5b97adbf-fc7c-4b40-a988-114362f3da7d" xlink:to="loc_us-gaap_SubordinatedDebt_8d6b0f7e-6349-4c71-afb7-cd6b95df1bba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_c49a861d-a8f1-422c-bb26-a345e5d64303" 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_5b97adbf-fc7c-4b40-a988-114362f3da7d" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_c49a861d-a8f1-422c-bb26-a345e5d64303" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherBorrowings_275f3297-a0b9-474f-a5e9-2bf04248772e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherBorrowings"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5b97adbf-fc7c-4b40-a988-114362f3da7d" xlink:to="loc_us-gaap_OtherBorrowings_275f3297-a0b9-474f-a5e9-2bf04248772e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_057200b1-f78b-4de3-af30-7fb8efc49907" 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_3a9d386f-ccf8-4e74-a5d7-58e07fb46fd1" xlink:href="fsbc-20241231.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_057200b1-f78b-4de3-af30-7fb8efc49907" xlink:to="loc_fsbc_CashAndCashEquivalentsLessTimeDepositsAtCarryingValue_3a9d386f-ccf8-4e74-a5d7-58e07fb46fd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositsAtCarryingValue_7ea4e5e6-5b74-4f94-a592-9e754596201d" 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_057200b1-f78b-4de3-af30-7fb8efc49907" xlink:to="loc_us-gaap_TimeDepositsAtCarryingValue_7ea4e5e6-5b74-4f94-a592-9e754596201d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_cca597a5-a84a-4c5a-896a-ac641932b6e8" 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_057200b1-f78b-4de3-af30-7fb8efc49907" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_cca597a5-a84a-4c5a-896a-ac641932b6e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_191af29c-ce0a-408e-a5ea-a44cbd0f7dd1" 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_057200b1-f78b-4de3-af30-7fb8efc49907" xlink:to="loc_us-gaap_HeldToMaturitySecurities_191af29c-ce0a-408e-a5ea-a44cbd0f7dd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_d2764bd3-2510-4761-b150-5cac4f7d93f5" 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_057200b1-f78b-4de3-af30-7fb8efc49907" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_d2764bd3-2510-4761-b150-5cac4f7d93f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_f3dd9d32-74bc-40b2-8a5f-0f2c7e304442" 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_057200b1-f78b-4de3-af30-7fb8efc49907" xlink:to="loc_us-gaap_NotesReceivableNet_f3dd9d32-74bc-40b2-8a5f-0f2c7e304442" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_30b94ab0-f0b0-4bd6-baa6-4a6cdd14b023" 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_057200b1-f78b-4de3-af30-7fb8efc49907" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_30b94ab0-f0b0-4bd6-baa6-4a6cdd14b023" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_54ccd8ef-e689-4567-8852-65266772b275" 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_057200b1-f78b-4de3-af30-7fb8efc49907" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_54ccd8ef-e689-4567-8852-65266772b275" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_755e241c-b2bd-4076-8b9d-d96ac6d22233" 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_057200b1-f78b-4de3-af30-7fb8efc49907" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_755e241c-b2bd-4076-8b9d-d96ac6d22233" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_6640a21c-38e7-482a-bc05-bbb69bd2ed48" 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_057200b1-f78b-4de3-af30-7fb8efc49907" xlink:to="loc_us-gaap_InterestReceivableAndOtherAssets_6640a21c-38e7-482a-bc05-bbb69bd2ed48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_bb735622-bbd1-498c-9e2e-b60be3782be7" 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_057200b1-f78b-4de3-af30-7fb8efc49907" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_bb735622-bbd1-498c-9e2e-b60be3782be7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="simple" xlink:href="fsbc-20241231.xsd#CONSOLIDATEDSTATEMENTSOFINCOME"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_50fba424-99dd-4365-85d9-8d507c6f09c6" 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_b718a31e-8d93-4e96-8e8f-d91d77659957" 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_50fba424-99dd-4365-85d9-8d507c6f09c6" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_b718a31e-8d93-4e96-8e8f-d91d77659957" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_7281a097-4082-4262-8e9e-414361ccde2c" 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_50fba424-99dd-4365-85d9-8d507c6f09c6" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_7281a097-4082-4262-8e9e-414361ccde2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_940099a4-eb99-4258-9b39-62e1d2260ab7" 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_84cab3d1-6502-4654-bb4f-e6a0eebae537" 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_940099a4-eb99-4258-9b39-62e1d2260ab7" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_84cab3d1-6502-4654-bb4f-e6a0eebae537" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_7176bf14-b66e-4a9a-b1b2-689f27b222e5" 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_940099a4-eb99-4258-9b39-62e1d2260ab7" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_7176bf14-b66e-4a9a-b1b2-689f27b222e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_SubsidiaryOrEquityMethodInvesteeUndistributedBankingSubsidiaryIncome_1bf9bffc-4910-47d2-958c-9aef1e6e985f" xlink:href="fsbc-20241231.xsd#fsbc_SubsidiaryOrEquityMethodInvesteeUndistributedBankingSubsidiaryIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_940099a4-eb99-4258-9b39-62e1d2260ab7" xlink:to="loc_fsbc_SubsidiaryOrEquityMethodInvesteeUndistributedBankingSubsidiaryIncome_1bf9bffc-4910-47d2-958c-9aef1e6e985f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_9e0795b9-7e24-4a2b-a759-a64cfb5117e3" 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_e7d69dde-5d83-42be-80bd-54f42c54b918" 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_9e0795b9-7e24-4a2b-a759-a64cfb5117e3" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_e7d69dde-5d83-42be-80bd-54f42c54b918" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_9fd085fd-3cbc-40b0-a350-e17352356a4b" 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_9e0795b9-7e24-4a2b-a759-a64cfb5117e3" xlink:to="loc_us-gaap_InterestExpenseOperating_9fd085fd-3cbc-40b0-a350-e17352356a4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_54050927-4107-4022-804b-ab2ca26f21ab" 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_b7e2c707-b864-4f27-a204-b98aad5c3e47" 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_54050927-4107-4022-804b-ab2ca26f21ab" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_b7e2c707-b864-4f27-a204-b98aad5c3e47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_dca84115-b3f6-454c-b308-b1b2f1a27940" 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_54050927-4107-4022-804b-ab2ca26f21ab" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_dca84115-b3f6-454c-b308-b1b2f1a27940" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_d843fca8-f347-4acf-9f56-d50dee7466fc" 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_54050927-4107-4022-804b-ab2ca26f21ab" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_d843fca8-f347-4acf-9f56-d50dee7466fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_9bed0830-044e-4696-a723-791ef1857013" 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_54050927-4107-4022-804b-ab2ca26f21ab" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_9bed0830-044e-4696-a723-791ef1857013" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_d04da299-e543-4e88-a4eb-2fae249a7062" 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_5383c6e1-d979-4eba-860b-05740d4b5b2f" 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_d04da299-e543-4e88-a4eb-2fae249a7062" xlink:to="loc_us-gaap_LaborAndRelatedExpense_5383c6e1-d979-4eba-860b-05740d4b5b2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_defe4edd-dde6-41ea-8bf1-0c84cdcb1f4c" 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_d04da299-e543-4e88-a4eb-2fae249a7062" xlink:to="loc_us-gaap_OccupancyNet_defe4edd-dde6-41ea-8bf1-0c84cdcb1f4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_e077d6a9-bde6-4cfc-8e59-25c8ff820a00" 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_d04da299-e543-4e88-a4eb-2fae249a7062" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_e077d6a9-bde6-4cfc-8e59-25c8ff820a00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_d69813ee-ef9e-49ea-842b-c3636fa8f6b2" 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_d04da299-e543-4e88-a4eb-2fae249a7062" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_d69813ee-ef9e-49ea-842b-c3636fa8f6b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_d3f1444a-f0f3-40f8-9daf-549e6f7f769a" 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_d04da299-e543-4e88-a4eb-2fae249a7062" xlink:to="loc_us-gaap_ProfessionalFees_d3f1444a-f0f3-40f8-9daf-549e6f7f769a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_3e6868ae-655a-43bd-be1e-8c3426bc0129" 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_d04da299-e543-4e88-a4eb-2fae249a7062" xlink:to="loc_us-gaap_AdvertisingExpense_3e6868ae-655a-43bd-be1e-8c3426bc0129" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedExpenses_3f5160f2-32a9-477c-ab5d-4849606f3c51" xlink:href="fsbc-20241231.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_d04da299-e543-4e88-a4eb-2fae249a7062" xlink:to="loc_fsbc_LoanRelatedExpenses_3f5160f2-32a9-477c-ab5d-4849606f3c51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_7be28ed5-052f-46df-8417-8f4c80b642bc" 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_d04da299-e543-4e88-a4eb-2fae249a7062" xlink:to="loc_us-gaap_OtherNoninterestExpense_7be28ed5-052f-46df-8417-8f4c80b642bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_476198c0-5348-44c8-956f-6d931d45daea" 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_us-gaap_NoninterestIncomeOtherOperatingIncome_9c728824-9d68-4942-ad10-cb05a1159724" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_476198c0-5348-44c8-956f-6d931d45daea" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_9c728824-9d68-4942-ad10-cb05a1159724" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LoanRelatedFees_c25320c1-dc59-4db5-9292-03cce03da540" xlink:href="fsbc-20241231.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_476198c0-5348-44c8-956f-6d931d45daea" xlink:to="loc_fsbc_LoanRelatedFees_c25320c1-dc59-4db5-9292-03cce03da540" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ServiceChargesOnDepositAccounts_a8987238-25e8-4a11-ae65-bc352587704f" xlink:href="fsbc-20241231.xsd#fsbc_ServiceChargesOnDepositAccounts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_476198c0-5348-44c8-956f-6d931d45daea" xlink:to="loc_fsbc_ServiceChargesOnDepositAccounts_a8987238-25e8-4a11-ae65-bc352587704f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_bb185250-e7e3-4e8e-8d1f-9bef40d833b6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_476198c0-5348-44c8-956f-6d931d45daea" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_bb185250-e7e3-4e8e-8d1f-9bef40d833b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_FederalHomeLoanBankStockDividends_9904f062-aa2c-463f-84d9-b7eb93c66d3e" xlink:href="fsbc-20241231.xsd#fsbc_FederalHomeLoanBankStockDividends"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_476198c0-5348-44c8-956f-6d931d45daea" xlink:to="loc_fsbc_FederalHomeLoanBankStockDividends_9904f062-aa2c-463f-84d9-b7eb93c66d3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_ad2f86ab-b676-4402-b05d-19d160128edd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfLoansAndLeases"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_476198c0-5348-44c8-956f-6d931d45daea" xlink:to="loc_us-gaap_GainLossOnSaleOfLoansAndLeases_ad2f86ab-b676-4402-b05d-19d160128edd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_NetGainOnSaleOfSecurities_d75cd28b-1579-46f5-b554-deaa106f6933" xlink:href="fsbc-20241231.xsd#fsbc_NetGainOnSaleOfSecurities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_476198c0-5348-44c8-956f-6d931d45daea" xlink:to="loc_fsbc_NetGainOnSaleOfSecurities_d75cd28b-1579-46f5-b554-deaa106f6933" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_be4962a9-f696-4b26-9d5c-614a0cfbc18d" 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_c7d4b2f3-dcc9-4d40-a7c1-612f9725c170" 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_be4962a9-f696-4b26-9d5c-614a0cfbc18d" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_c7d4b2f3-dcc9-4d40-a7c1-612f9725c170" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_825993c7-b3b6-45a5-be49-970eed711ffe" 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_be4962a9-f696-4b26-9d5c-614a0cfbc18d" xlink:to="loc_us-gaap_NoninterestIncome_825993c7-b3b6-45a5-be49-970eed711ffe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_d505595a-51a1-49db-b7fa-0c275cd4c8bf" 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_be4962a9-f696-4b26-9d5c-614a0cfbc18d" xlink:to="loc_us-gaap_NoninterestExpense_d505595a-51a1-49db-b7fa-0c275cd4c8bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_545b54e6-b97d-4afe-a513-5aac3ee5a104" 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_c6c3e145-b3b9-49e1-9713-05bc59b4f92f" 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_545b54e6-b97d-4afe-a513-5aac3ee5a104" xlink:to="loc_us-gaap_InterestExpenseDeposits_c6c3e145-b3b9-49e1-9713-05bc59b4f92f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_a70e31c1-18cd-41e3-9bdf-cb9cd699dad0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseOtherShortTermBorrowings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_545b54e6-b97d-4afe-a513-5aac3ee5a104" xlink:to="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_a70e31c1-18cd-41e3-9bdf-cb9cd699dad0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_d08d832d-e427-4b36-835c-b3f371df0d99" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseSubordinatedNotesAndDebentures"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_545b54e6-b97d-4afe-a513-5aac3ee5a104" xlink:to="loc_us-gaap_InterestExpenseSubordinatedNotesAndDebentures_d08d832d-e427-4b36-835c-b3f371df0d99" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="fsbc-20241231.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_db121ffe-340b-4cfc-aee6-0adc379e0f2f" 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_be8a9903-347d-4322-bfb7-c2edc0c6b1af" 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_db121ffe-340b-4cfc-aee6-0adc379e0f2f" xlink:to="loc_us-gaap_NetIncomeLoss_be8a9903-347d-4322-bfb7-c2edc0c6b1af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_69548d3c-59be-43f5-b296-ddcfeef877e7" 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_db121ffe-340b-4cfc-aee6-0adc379e0f2f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_69548d3c-59be-43f5-b296-ddcfeef877e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e51438ec-6ef1-4f80-8cae-431296930e4b" 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_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_5dc157fc-a5f6-49c0-b79a-3c9acf4b7ecb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e51438ec-6ef1-4f80-8cae-431296930e4b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsAndTax_5dc157fc-a5f6-49c0-b79a-3c9acf4b7ecb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_1017f04b-443b-43b7-9b2e-4fc0f30ee573" xlink:href="fsbc-20241231.xsd#fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e51438ec-6ef1-4f80-8cae-431296930e4b" xlink:to="loc_fsbc_ReclassificationAdjustmentForNetRealizedGainsIncludedInNetIncome_1017f04b-443b-43b7-9b2e-4fc0f30ee573" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_faa18b60-bb6c-4c87-b9b1-3d9613b1b5b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e51438ec-6ef1-4f80-8cae-431296930e4b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_faa18b60-bb6c-4c87-b9b1-3d9613b1b5b4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="fsbc-20241231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1a68cb-1b70-4144-93ea-0f557b9934d0" 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_IncreaseDecreaseInDeposits_34a35d9a-820c-4d1d-94b7-c34ffd4b677f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1a68cb-1b70-4144-93ea-0f557b9934d0" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_34a35d9a-820c-4d1d-94b7-c34ffd4b677f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_c3f20ebc-6f4e-410d-a33b-cd75e1a195e2" 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_fa1a68cb-1b70-4144-93ea-0f557b9934d0" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_c3f20ebc-6f4e-410d-a33b-cd75e1a195e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_564632f7-c4bc-46c7-88fd-9eddbb78220a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1a68cb-1b70-4144-93ea-0f557b9934d0" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebt_564632f7-c4bc-46c7-88fd-9eddbb78220a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_0ad62e63-559d-4176-b7a4-2c8289b58f09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1a68cb-1b70-4144-93ea-0f557b9934d0" xlink:to="loc_us-gaap_PaymentsOfDividends_0ad62e63-559d-4176-b7a4-2c8289b58f09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_12e68acc-53a5-42ca-93d3-5b5be6559e25" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1a68cb-1b70-4144-93ea-0f557b9934d0" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_12e68acc-53a5-42ca-93d3-5b5be6559e25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_6783bdb1-3a1f-4621-ad5c-ddf6db533b62" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1a68cb-1b70-4144-93ea-0f557b9934d0" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_6783bdb1-3a1f-4621-ad5c-ddf6db533b62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSubordinatedDebt_75698a04-288a-4f58-ae97-7076f8ca40d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfSubordinatedDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1a68cb-1b70-4144-93ea-0f557b9934d0" xlink:to="loc_us-gaap_RepaymentsOfSubordinatedDebt_75698a04-288a-4f58-ae97-7076f8ca40d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForDepositsAppliedToDebtRetirements_b76a7d4d-c143-458f-92d1-f40408c624be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromPaymentsForDepositsAppliedToDebtRetirements"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_fa1a68cb-1b70-4144-93ea-0f557b9934d0" xlink:to="loc_us-gaap_ProceedsFromPaymentsForDepositsAppliedToDebtRetirements_b76a7d4d-c143-458f-92d1-f40408c624be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" 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_AmortizationOfDeferredLoanOriginationFeesNet_69712ec7-20d9-4df1-8fb8-24f13b828e4c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfDeferredLoanOriginationFeesNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_69712ec7-20d9-4df1-8fb8-24f13b828e4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_3f2fe01f-91b8-4b5b-a882-ce509ba8a247" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_3f2fe01f-91b8-4b5b-a882-ce509ba8a247" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_a5431f4e-cf1f-4489-881e-587433bdd5cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_NetIncomeLoss_a5431f4e-cf1f-4489-881e-587433bdd5cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_34f930e3-7695-4ce1-b997-5b0faf46a1db" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_ShareBasedCompensation_34f930e3-7695-4ce1-b997-5b0faf46a1db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_5417a604-40e4-4471-ae0d-447da009cf90" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_5417a604-40e4-4471-ae0d-447da009cf90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProceedsFromCancellationOfNoteIssuanceCosts_8ff0cd79-e7e9-4cee-85ec-75cd9c66285f" xlink:href="fsbc-20241231.xsd#fsbc_ProceedsFromCancellationOfNoteIssuanceCosts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_fsbc_ProceedsFromCancellationOfNoteIssuanceCosts_8ff0cd79-e7e9-4cee-85ec-75cd9c66285f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_87a69e72-db1e-4434-aa7d-056ac3902ca0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_87a69e72-db1e-4434-aa7d-056ac3902ca0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsuranceIncome_bcafe8f2-bf1f-400c-a6d9-572b2755fbcb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BankOwnedLifeInsuranceIncome"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_BankOwnedLifeInsuranceIncome_bcafe8f2-bf1f-400c-a6d9-572b2755fbcb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_198300fb-e8cf-4415-b551-a58b28c2a01a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_198300fb-e8cf-4415-b551-a58b28c2a01a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_c4655898-9ff3-4b1e-b032-96c0ce61bc2d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_c4655898-9ff3-4b1e-b032-96c0ce61bc2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_383db061-88f7-400c-a176-294ef474111c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingLeaseLiability_383db061-88f7-400c-a176-294ef474111c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_df38b002-29c5-4ecc-a8da-c95393bcc7ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_df38b002-29c5-4ecc-a8da-c95393bcc7ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization_ca461475-7f56-4db5-9fef-a0b7753900cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_AmortizationMethodQualifiedAffordableHousingProjectInvestmentsAmortization_ca461475-7f56-4db5-9fef-a0b7753900cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_174ea6f2-8615-4838-8f42-c9ba70268173" 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_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal_174ea6f2-8615-4838-8f42-c9ba70268173" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_5d07b084-e1b8-411b-b401-617547e6fcb7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_5d07b084-e1b8-411b-b401-617547e6fcb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_a3a88b74-209d-4a69-ae03-614d32ab9ad1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_DepreciationAndAmortization_a3a88b74-209d-4a69-ae03-614d32ab9ad1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_45aaeb14-2c4f-4560-8db6-8905474333c1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_45aaeb14-2c4f-4560-8db6-8905474333c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_9b3f1ed1-f017-4a2e-bbaa-c0147fb47e2b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_9b3f1ed1-f017-4a2e-bbaa-c0147fb47e2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_a1b7bed4-6a27-4a2d-9ada-d8f2fa3a20a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_44099d32-16c1-4211-8824-97d13a4e5131" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_a1b7bed4-6a27-4a2d-9ada-d8f2fa3a20a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" 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_PaymentsToAcquireAvailableForSaleSecuritiesDebt_01224ea0-b802-4f08-b303-d0b2ae4ac30d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_01224ea0-b802-4f08-b303-d0b2ae4ac30d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_aa46a5fa-c4d8-474d-8e4b-ef5ef6d115fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireLifeInsurancePolicies"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" xlink:to="loc_us-gaap_PaymentsToAcquireLifeInsurancePolicies_aa46a5fa-c4d8-474d-8e4b-ef5ef6d115fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_080c22b4-4b61-4a54-969d-aef322a694fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_080c22b4-4b61-4a54-969d-aef322a694fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_3f4f452e-b6c4-414b-a9c3-e63a0e1b2ca7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_3f4f452e-b6c4-414b-a9c3-e63a0e1b2ca7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForCapitalCallForEquityInvestment_f922ad65-997d-4fe6-af0d-62c42092ec37" xlink:href="fsbc-20241231.xsd#fsbc_PaymentsForCapitalCallForEquityInvestment"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" xlink:to="loc_fsbc_PaymentsForCapitalCallForEquityInvestment_f922ad65-997d-4fe6-af0d-62c42092ec37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_f4e92b07-b79f-4856-b062-1aa14d490313" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" xlink:to="loc_us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital_f4e92b07-b79f-4856-b062-1aa14d490313" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_d0de775d-2a0c-4633-802b-6f400c5e93b3" xlink:href="fsbc-20241231.xsd#fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" xlink:to="loc_fsbc_PaymentsForOriginationOfLoansNetOfProceedsFromRepayments_d0de775d-2a0c-4633-802b-6f400c5e93b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_cd662ad7-381c-455f-a8ab-6ec91c4139fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_cd662ad7-381c-455f-a8ab-6ec91c4139fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_0b8f0ac4-3ea9-4a6a-9b4a-8a18d83a2001" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" xlink:to="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_0b8f0ac4-3ea9-4a6a-9b4a-8a18d83a2001" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProceedsFromLowIncomeHousingTaxCredits_e94c3c80-1822-469e-a215-26d27a59bb3b" xlink:href="fsbc-20241231.xsd#fsbc_ProceedsFromLowIncomeHousingTaxCredits"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" xlink:to="loc_fsbc_ProceedsFromLowIncomeHousingTaxCredits_e94c3c80-1822-469e-a215-26d27a59bb3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_c8b53e99-d4f8-48ab-ac17-36a07155c31b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0819434c-8c35-4dbf-b6d9-eff3f4d15bc4" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_c8b53e99-d4f8-48ab-ac17-36a07155c31b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_aa610539-29ef-45e7-a921-337a7290bd41" 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_NetCashProvidedByUsedInFinancingActivities_37dd9a11-7fdf-4a38-945c-cfca206a9339" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_aa610539-29ef-45e7-a921-337a7290bd41" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_37dd9a11-7fdf-4a38-945c-cfca206a9339" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8df21f0e-b60e-4bb6-be50-0eb65df99cb4" 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_aa610539-29ef-45e7-a921-337a7290bd41" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8df21f0e-b60e-4bb6-be50-0eb65df99cb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4e4afbbe-133d-4ede-b35f-93896f2c9ebd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_aa610539-29ef-45e7-a921-337a7290bd41" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4e4afbbe-133d-4ede-b35f-93896f2c9ebd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesHeldtomaturityDetails" xlink:type="simple" xlink:href="fsbc-20241231.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_e1640c27-5166-43b0-bb59-88eb0a7415cb" 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_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_747467f7-2ca4-4184-89be-d837c3273b98" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_e1640c27-5166-43b0-bb59-88eb0a7415cb" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_747467f7-2ca4-4184-89be-d837c3273b98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_b07536e6-5ae7-47f8-bc69-82f72133d555" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_e1640c27-5166-43b0-bb59-88eb0a7415cb" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_b07536e6-5ae7-47f8-bc69-82f72133d555" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_589e7e5d-1932-4514-a1a2-4cde02eedc2c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_HeldToMaturitySecurities_e1640c27-5166-43b0-bb59-88eb0a7415cb" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_589e7e5d-1932-4514-a1a2-4cde02eedc2c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAmortizedCostandFairValueofSecuritiesAvailableforsaleDetails" xlink:type="simple" xlink:href="fsbc-20241231.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_822d4b7d-2769-4e2e-bba3-c80f6fc285ec" 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_228ca4d5-8b56-48fb-9d53-4235e68c3145" 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_822d4b7d-2769-4e2e-bba3-c80f6fc285ec" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_228ca4d5-8b56-48fb-9d53-4235e68c3145" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0fa18f18-76a0-450b-8e95-307baaadbe5a" 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_822d4b7d-2769-4e2e-bba3-c80f6fc285ec" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0fa18f18-76a0-450b-8e95-307baaadbe5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_f1048999-6852-4362-a01c-5f65ee53272b" 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_822d4b7d-2769-4e2e-bba3-c80f6fc285ec" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_f1048999-6852-4362-a01c-5f65ee53272b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InvestmentSecuritiesAvailableforsaleSecuritiesinaContinuousUnrealizedLossPositionDetails" xlink:type="simple" xlink:href="fsbc-20241231.xsd#InvestmentSecuritiesAvailableforsaleSecuritiesinaContinuousUnrealizedLossPositionDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InvestmentSecuritiesAvailableforsaleSecuritiesinaContinuousUnrealizedLossPositionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_931a8179-617d-4747-bb41-acecf69208ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_9cd8567b-04a8-44de-b473-a486e24705f8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_931a8179-617d-4747-bb41-acecf69208ab" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_9cd8567b-04a8-44de-b473-a486e24705f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_3dfd0835-e5cb-4eb6-8bd1-3471c920ef97" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_931a8179-617d-4747-bb41-acecf69208ab" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_3dfd0835-e5cb-4eb6-8bd1-3471c920ef97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValue_308ef8dd-68ff-48a2-9866-e20110a4df54" xlink:href="fsbc-20241231.xsd#fsbc_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_29c2217c-8ad1-4556-85aa-141b6037dd98" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_308ef8dd-68ff-48a2-9866-e20110a4df54" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_29c2217c-8ad1-4556-85aa-141b6037dd98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerFairValue_496903be-39c2-491b-9c5f-7b2ec740a42b" xlink:href="fsbc-20241231.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_308ef8dd-68ff-48a2-9866-e20110a4df54" xlink:to="loc_fsbc_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerFairValue_496903be-39c2-491b-9c5f-7b2ec740a42b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesBalanceofEachMajorProductTypeDetails" xlink:type="simple" xlink:href="fsbc-20241231.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_255aaac7-13c9-40ac-80ad-b4104e4633cd" 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_FinancingReceivableBeforeAllowanceForCreditLossAndFee_6a7246bd-e949-4aff-9c41-946c25dbd3be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_255aaac7-13c9-40ac-80ad-b4104e4633cd" xlink:to="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_6a7246bd-e949-4aff-9c41-946c25dbd3be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_8f418543-64e0-4cc1-8d18-4dfd84830011" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_255aaac7-13c9-40ac-80ad-b4104e4633cd" xlink:to="loc_us-gaap_FinancingReceivableUnamortizedLoanCommitmentOriginationFeeAndPremiumDiscount_8f418543-64e0-4cc1-8d18-4dfd84830011" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/LoansandAllowanceforCreditLossesCreditQualityIndicatorsRelatedtotheCompanysLoansbyClassDetails" xlink:type="simple" xlink:href="fsbc-20241231.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_f291eb1d-0309-4bdd-ae20-cf71448783e2" 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_383aaf16-ffab-4f01-a1c4-bba4fa1ceb73" 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_f291eb1d-0309-4bdd-ae20-cf71448783e2" xlink:to="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_383aaf16-ffab-4f01-a1c4-bba4fa1ceb73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolving_6f78ede0-cbcb-4021-95c7-2210d01fa1ef" 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_f291eb1d-0309-4bdd-ae20-cf71448783e2" xlink:to="loc_us-gaap_FinancingReceivableRevolving_6f78ede0-cbcb-4021-95c7-2210d01fa1ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_7a61af44-96a8-4d10-9a34-7c692328f10d" 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_f291eb1d-0309-4bdd-ae20-cf71448783e2" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_7a61af44-96a8-4d10-9a34-7c692328f10d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_5252d3e7-1875-4595-b660-f95d303b1801" 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_f291eb1d-0309-4bdd-ae20-cf71448783e2" xlink:to="loc_us-gaap_FinancingReceivableRevolvingConvertedToTermLoan_5252d3e7-1875-4595-b660-f95d303b1801" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_c03b091e-7c26-4a4d-90cb-706ba4865d14" 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_f291eb1d-0309-4bdd-ae20-cf71448783e2" xlink:to="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_c03b091e-7c26-4a4d-90cb-706ba4865d14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_2cc46762-6b1f-43d9-94cc-95dab9698340" 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_f291eb1d-0309-4bdd-ae20-cf71448783e2" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_2cc46762-6b1f-43d9-94cc-95dab9698340" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_23bc5bdf-103a-4d24-9872-e9910fb5f9d1" 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_f291eb1d-0309-4bdd-ae20-cf71448783e2" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_23bc5bdf-103a-4d24-9872-e9910fb5f9d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_b4fba6bc-d11f-4e65-b029-a0763fa489f2" 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_f291eb1d-0309-4bdd-ae20-cf71448783e2" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_b4fba6bc-d11f-4e65-b029-a0763fa489f2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/PremisesandEquipmentNetScheduleofPremisesandEquipmentDetails" xlink:type="simple" xlink:href="fsbc-20241231.xsd#PremisesandEquipmentNetScheduleofPremisesandEquipmentDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/PremisesandEquipmentNetScheduleofPremisesandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_88820531-ae26-4d3d-a275-2a927d94f91d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_515944f0-39ca-41ba-83d3-bf8ace4cd4d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_88820531-ae26-4d3d-a275-2a927d94f91d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_515944f0-39ca-41ba-83d3-bf8ace4cd4d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_65cdc508-c613-4b40-9976-2b052dafe6b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_88820531-ae26-4d3d-a275-2a927d94f91d" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_65cdc508-c613-4b40-9976-2b052dafe6b7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestReceivableandOtherAssetsSummaryofInterestReceivableandOtherAssetsDetails" xlink:type="simple" xlink:href="fsbc-20241231.xsd#InterestReceivableandOtherAssetsSummaryofInterestReceivableandOtherAssetsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/InterestReceivableandOtherAssetsSummaryofInterestReceivableandOtherAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivableAndOtherAssets_3011022c-22bf-4b66-8cd4-fee56a12eaab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestReceivableAndOtherAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_713b9e80-169d-4654-8095-e88d898a4e85" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_3011022c-22bf-4b66-8cd4-fee56a12eaab" xlink:to="loc_us-gaap_InterestReceivable_713b9e80-169d-4654-8095-e88d898a4e85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAsset_bed823aa-9a94-458f-9c7e-04d427799b1c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_3011022c-22bf-4b66-8cd4-fee56a12eaab" xlink:to="loc_us-gaap_ServicingAsset_bed823aa-9a94-458f-9c7e-04d427799b1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_729ba943-6262-457e-97d0-b1479340c164" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_3011022c-22bf-4b66-8cd4-fee56a12eaab" xlink:to="loc_us-gaap_EquityMethodInvestments_729ba943-6262-457e-97d0-b1479340c164" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_261cd360-bd50-4995-a7bc-0817949a754e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_3011022c-22bf-4b66-8cd4-fee56a12eaab" xlink:to="loc_us-gaap_OtherAssets_261cd360-bd50-4995-a7bc-0817949a754e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LowIncomeHousingTaxCredits_a84ebf69-71a7-48b8-abb9-ad841f89ecca" xlink:href="fsbc-20241231.xsd#fsbc_LowIncomeHousingTaxCredits"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestReceivableAndOtherAssets_3011022c-22bf-4b66-8cd4-fee56a12eaab" xlink:to="loc_fsbc_LowIncomeHousingTaxCredits_a84ebf69-71a7-48b8-abb9-ad841f89ecca" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestBearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20241231.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_ac5895ab-4f06-40b2-a2aa-bde616127e5c" 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_1c23c812-4ae9-442c-870a-29a271af34f8" 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_ac5895ab-4f06-40b2-a2aa-bde616127e5c" xlink:to="loc_us-gaap_InterestBearingDomesticDepositSavings_1c23c812-4ae9-442c-870a-29a271af34f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_b33190ec-0a62-4cdf-a86b-04341dfdd156" 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_ac5895ab-4f06-40b2-a2aa-bde616127e5c" xlink:to="loc_us-gaap_InterestBearingDomesticDepositMoneyMarket_b33190ec-0a62-4cdf-a86b-04341dfdd156" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositChecking_0de89e3b-30f4-4196-8f97-df5dafc94d73" 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_ac5895ab-4f06-40b2-a2aa-bde616127e5c" xlink:to="loc_us-gaap_InterestBearingDomesticDepositChecking_0de89e3b-30f4-4196-8f97-df5dafc94d73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_e5768e0f-9530-47fa-9545-06a49776c73b" xlink:href="fsbc-20241231.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_ac5895ab-4f06-40b2-a2aa-bde616127e5c" xlink:to="loc_fsbc_InterestBearingDomesticDepositTimeDeposits250000OrMore_e5768e0f-9530-47fa-9545-06a49776c73b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_c87e3ea8-161f-4096-af9f-7a5398ec64a5" 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_ac5895ab-4f06-40b2-a2aa-bde616127e5c" xlink:to="loc_us-gaap_InterestBearingDomesticDepositOtherTimeDeposit_c87e3ea8-161f-4096-af9f-7a5398ec64a5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsMaturitiesofTimeDepositsDetails" xlink:type="simple" xlink:href="fsbc-20241231.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_94f325ae-e7bc-46f4-ae4b-e10b3718d49c" 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_TimeDepositMaturitiesYearOne_95c18319-a8c5-4295-a9c7-c03d48ed4f46" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesYearOne"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_94f325ae-e7bc-46f4-ae4b-e10b3718d49c" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_95c18319-a8c5-4295-a9c7-c03d48ed4f46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_c3f25d20-b764-493c-bf4e-c92ff58a179a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_94f325ae-e7bc-46f4-ae4b-e10b3718d49c" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_c3f25d20-b764-493c-bf4e-c92ff58a179a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFive_6c5acf2b-89a9-4b14-8581-26f76fd8afc5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_94f325ae-e7bc-46f4-ae4b-e10b3718d49c" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFive_6c5acf2b-89a9-4b14-8581-26f76fd8afc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_18731898-5085-4522-b8ff-541a48c4d2de" 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_94f325ae-e7bc-46f4-ae4b-e10b3718d49c" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_18731898-5085-4522-b8ff-541a48c4d2de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_678ebbf4-15ee-4652-b5d6-e143dfd95a4e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TimeDepositMaturitiesYearThree"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDomesticDepositTimeDeposits_94f325ae-e7bc-46f4-ae4b-e10b3718d49c" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_678ebbf4-15ee-4652-b5d6-e143dfd95a4e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/InterestBearingDepositsInterestExpenseRecognizedonInterestbearingDepositsDetails" xlink:type="simple" xlink:href="fsbc-20241231.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_24ac2696-317b-4989-b0db-711292d6c0c2" 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_54689846-ddb6-42a6-a6de-36e7a5a6008d" 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_24ac2696-317b-4989-b0db-711292d6c0c2" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesSavings_54689846-ddb6-42a6-a6de-36e7a5a6008d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_f5a3ed2f-2fb7-4daa-ac36-4a0d8fea8b89" 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_24ac2696-317b-4989-b0db-711292d6c0c2" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesMoneyMarket_f5a3ed2f-2fb7-4daa-ac36-4a0d8fea8b89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_91b667d9-705a-4f5a-b820-86a35377b0ac" 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_24ac2696-317b-4989-b0db-711292d6c0c2" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesChecking_91b667d9-705a-4f5a-b820-86a35377b0ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_90da213a-087c-4a7e-84d3-b7570b16a6b9" xlink:href="fsbc-20241231.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_24ac2696-317b-4989-b0db-711292d6c0c2" xlink:to="loc_fsbc_InterestExpenseDomesticDepositLiabilitiesTimeDeposit250000OrMore_90da213a-087c-4a7e-84d3-b7570b16a6b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_e0d162eb-08b3-4782-8243-7d6870662937" 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_24ac2696-317b-4989-b0db-711292d6c0c2" xlink:to="loc_us-gaap_InterestExpenseDomesticDepositLiabilitiesOtherTimeDeposit_e0d162eb-08b3-4782-8243-7d6870662937" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesfromConversionfromanSCorptoaCCorpDetails" xlink:type="simple" xlink:href="fsbc-20241231.xsd#IncomeTaxesProvisionforIncomeTaxesfromConversionfromanSCorptoaCCorpDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesfromConversionfromanSCorptoaCCorpDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9cb00fab-c8c1-476b-a945-78477e1a7e31" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_e44c5ecd-db3a-40e1-b10e-33561310fe73" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9cb00fab-c8c1-476b-a945-78477e1a7e31" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_e44c5ecd-db3a-40e1-b10e-33561310fe73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_c12cd4d3-34fb-4f6e-92db-339274e979de" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9cb00fab-c8c1-476b-a945-78477e1a7e31" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_c12cd4d3-34fb-4f6e-92db-339274e979de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_3143903a-ca0b-4e9f-8b45-3ba5e743469a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_9cb00fab-c8c1-476b-a945-78477e1a7e31" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_3143903a-ca0b-4e9f-8b45-3ba5e743469a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="fsbc-20241231.xsd#IncomeTaxesProvisionforIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/IncomeTaxesProvisionforIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_b93676d0-f765-4f6d-b0bc-49f434afe6ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_f213ab31-89d6-4770-b3b7-c9f6610a2fbd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_b93676d0-f765-4f6d-b0bc-49f434afe6ab" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_f213ab31-89d6-4770-b3b7-c9f6610a2fbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_e483943e-939c-4269-b531-c6d69fc11b81" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_b93676d0-f765-4f6d-b0bc-49f434afe6ab" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_e483943e-939c-4269-b531-c6d69fc11b81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_1d2502d3-06e6-4d87-b7c6-9d65b1527616" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_7a4960c4-4168-4cd4-8443-3c9fb211f0e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_1d2502d3-06e6-4d87-b7c6-9d65b1527616" xlink:to="loc_us-gaap_CurrentFederalStateAndLocalTaxExpenseBenefit_7a4960c4-4168-4cd4-8443-3c9fb211f0e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_397caec5-5570-43a7-a714-bfae36d5626a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_1d2502d3-06e6-4d87-b7c6-9d65b1527616" xlink:to="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_397caec5-5570-43a7-a714-bfae36d5626a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_6aec096f-d1ff-499d-87e3-d57ab58a8289" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_ffc1a89b-a0f6-4cf3-9a49-f1587e6c94fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_6aec096f-d1ff-499d-87e3-d57ab58a8289" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_ffc1a89b-a0f6-4cf3-9a49-f1587e6c94fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_6793d0e3-ec12-44ba-9220-b9a745d9024d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredFederalStateAndLocalTaxExpenseBenefit_6aec096f-d1ff-499d-87e3-d57ab58a8289" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_6793d0e3-ec12-44ba-9220-b9a745d9024d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/IncomeTaxesScheduleofDeferredTaxAssetsDetails" xlink:type="simple" xlink:href="fsbc-20241231.xsd#IncomeTaxesScheduleofDeferredTaxAssetsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/IncomeTaxesScheduleofDeferredTaxAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_0992455f-1610-47fe-b63f-78ec88543248" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_4194a265-3a8b-4b96-9677-fb4703feefa2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_0992455f-1610-47fe-b63f-78ec88543248" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_4194a265-3a8b-4b96-9677-fb4703feefa2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_c74d34ff-ef2f-4569-a996-6f677dc10548" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_0992455f-1610-47fe-b63f-78ec88543248" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_c74d34ff-ef2f-4569-a996-6f677dc10548" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_5793a3dd-94af-43ce-9774-1c1176546036" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_0992455f-1610-47fe-b63f-78ec88543248" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_5793a3dd-94af-43ce-9774-1c1176546036" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts_4a7908f9-1962-4e01-a7b8-2c84f8b5446a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_0992455f-1610-47fe-b63f-78ec88543248" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts_4a7908f9-1962-4e01-a7b8-2c84f8b5446a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_714e3e9a-ccc5-43b5-a6bf-ccfec17b98d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_f6bda1c5-6b16-481c-a389-a015fccd0e8a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_714e3e9a-ccc5-43b5-a6bf-ccfec17b98d3" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_f6bda1c5-6b16-481c-a389-a015fccd0e8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_cee77792-a3df-469c-a8f7-a1fe56aac684" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_714e3e9a-ccc5-43b5-a6bf-ccfec17b98d3" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_cee77792-a3df-469c-a8f7-a1fe56aac684" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_4f11c46f-bbb4-48de-84a7-4959c863d812" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_eb150693-ebbe-43d3-9d24-09f81f1dddc2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_4f11c46f-bbb4-48de-84a7-4959c863d812" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_eb150693-ebbe-43d3-9d24-09f81f1dddc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_88950ef8-6d8e-47e3-aba8-84d3ecec0153" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_4f11c46f-bbb4-48de-84a7-4959c863d812" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBenefits_88950ef8-6d8e-47e3-aba8-84d3ecec0153" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_2488a757-2468-4a35-afe0-b2e898af07b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_4f11c46f-bbb4-48de-84a7-4959c863d812" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_2488a757-2468-4a35-afe0-b2e898af07b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_DeferredTaxAssetsRightOfUseLiability_440eaa1b-0c7b-428e-baa0-e334a056d132" xlink:href="fsbc-20241231.xsd#fsbc_DeferredTaxAssetsRightOfUseLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_4f11c46f-bbb4-48de-84a7-4959c863d812" xlink:to="loc_fsbc_DeferredTaxAssetsRightOfUseLiability_440eaa1b-0c7b-428e-baa0-e334a056d132" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsStateTaxes_79d6f943-ac08-4bc6-b0bc-42af40b6d74f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsStateTaxes"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_4f11c46f-bbb4-48de-84a7-4959c863d812" xlink:to="loc_us-gaap_DeferredTaxAssetsStateTaxes_79d6f943-ac08-4bc6-b0bc-42af40b6d74f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_e72f6383-998b-420d-bd05-080bbf13349d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_4f11c46f-bbb4-48de-84a7-4959c863d812" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_e72f6383-998b-420d-bd05-080bbf13349d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_DeferredTaxAssetsGainLossOnAvailableForSaleAssets_e695eb56-b7e6-4a03-85cc-1661c85d8e44" xlink:href="fsbc-20241231.xsd#fsbc_DeferredTaxAssetsGainLossOnAvailableForSaleAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_4f11c46f-bbb4-48de-84a7-4959c863d812" xlink:to="loc_fsbc_DeferredTaxAssetsGainLossOnAvailableForSaleAssets_e695eb56-b7e6-4a03-85cc-1661c85d8e44" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofLeaseCostDetails" xlink:type="simple" xlink:href="fsbc-20241231.xsd#CommitmentsandContingenciesScheduleofLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_44a02e5c-fa9a-493a-8eb3-933390184e32" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_66d77dc8-2ebe-403d-a934-acc19aa8b1e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_44a02e5c-fa9a-493a-8eb3-933390184e32" xlink:to="loc_us-gaap_OperatingLeaseCost_66d77dc8-2ebe-403d-a934-acc19aa8b1e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubleaseIncome_9e6e6559-d24e-4beb-8872-aebc6763bb4a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubleaseIncome"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_44a02e5c-fa9a-493a-8eb3-933390184e32" xlink:to="loc_us-gaap_SubleaseIncome_9e6e6559-d24e-4beb-8872-aebc6763bb4a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails" xlink:type="simple" xlink:href="fsbc-20241231.xsd#CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ba4cea60-1952-4ff1-9ba5-3d1aa80d28bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue_03a6e13c-6880-45a1-b950-b9c25a76b744" xlink:href="fsbc-20241231.xsd#fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ba4cea60-1952-4ff1-9ba5-3d1aa80d28bd" xlink:to="loc_fsbc_LesseeOperatingLeaseLiabilityToBePaidDiscountForPresentValue_03a6e13c-6880-45a1-b950-b9c25a76b744" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_4231ac79-c7e5-4cea-b6a9-cf8504f593eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ba4cea60-1952-4ff1-9ba5-3d1aa80d28bd" xlink:to="loc_us-gaap_OperatingLeaseLiability_4231ac79-c7e5-4cea-b6a9-cf8504f593eb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails_1" xlink:type="simple" xlink:href="fsbc-20241231.xsd#CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails_1"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_10a723d5-77e8-4756-ae07-fb0342ec80aa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_8047d103-23d1-4a89-b86e-81b34a0980b1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_10a723d5-77e8-4756-ae07-fb0342ec80aa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_8047d103-23d1-4a89-b86e-81b34a0980b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_cd8c3d98-225a-420d-9b21-0f19e84c9925" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_10a723d5-77e8-4756-ae07-fb0342ec80aa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_cd8c3d98-225a-420d-9b21-0f19e84c9925" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_d71cabf8-4ace-417d-ad6f-12c5ba14362f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_10a723d5-77e8-4756-ae07-fb0342ec80aa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_d71cabf8-4ace-417d-ad6f-12c5ba14362f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_e7a1760d-8124-4dd1-a07d-17e297a048ad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_10a723d5-77e8-4756-ae07-fb0342ec80aa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_e7a1760d-8124-4dd1-a07d-17e297a048ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_06748777-2417-4b85-9536-0a6070f54a3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_10a723d5-77e8-4756-ae07-fb0342ec80aa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_06748777-2417-4b85-9536-0a6070f54a3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_2caa3012-49d1-49d9-9b54-0abee45e7ac0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_10a723d5-77e8-4756-ae07-fb0342ec80aa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_2caa3012-49d1-49d9-9b54-0abee45e7ac0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationBalanceSheetDetails" xlink:type="simple" xlink:href="fsbc-20241231.xsd#ParentCompanyOnlyCondensedFinancialInformationBalanceSheetDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_b7578138-65de-4d2a-9e61-abd64de47114" 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_us-gaap_CashAndCashEquivalentsAtCarryingValue_ca7de723-d5f7-485c-83e3-5f1988165da5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b7578138-65de-4d2a-9e61-abd64de47114" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ca7de723-d5f7-485c-83e3-5f1988165da5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_InvestmentInBankingSubsidiary_b1c60893-e574-4dfd-bb10-76a1cdae0527" xlink:href="fsbc-20241231.xsd#fsbc_InvestmentInBankingSubsidiary"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b7578138-65de-4d2a-9e61-abd64de47114" xlink:to="loc_fsbc_InvestmentInBankingSubsidiary_b1c60893-e574-4dfd-bb10-76a1cdae0527" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_ca040dc3-5cb8-46dc-b58c-cf60b28cb521" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_b7578138-65de-4d2a-9e61-abd64de47114" xlink:to="loc_us-gaap_OtherAssets_ca040dc3-5cb8-46dc-b58c-cf60b28cb521" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationStatementofIncomeDetails" xlink:type="simple" xlink:href="fsbc-20241231.xsd#ParentCompanyOnlyCondensedFinancialInformationStatementofIncomeDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationStatementofIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_45e755eb-6707-4285-a033-c21a6e2f68d3" 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_InterestAndDividendIncomeOperating_b85c9ec8-dee5-4d4f-bb7b-3d5e916d6cca" 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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_45e755eb-6707-4285-a033-c21a6e2f68d3" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_b85c9ec8-dee5-4d4f-bb7b-3d5e916d6cca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_d9f77e04-2486-4d84-b356-493fdea45b94" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_45e755eb-6707-4285-a033-c21a6e2f68d3" xlink:to="loc_us-gaap_InterestExpense_d9f77e04-2486-4d84-b356-493fdea45b94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_b346a401-4566-43b4-a13e-90098b55152e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherExpenses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_45e755eb-6707-4285-a033-c21a6e2f68d3" xlink:to="loc_us-gaap_OtherExpenses_b346a401-4566-43b4-a13e-90098b55152e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationStatementofCashFlowsDetails" xlink:type="simple" xlink:href="fsbc-20241231.xsd#ParentCompanyOnlyCondensedFinancialInformationStatementofCashFlowsDetails"/>
  <link:calculationLink xlink:role="http://fivestarbank.com/role/ParentCompanyOnlyCondensedFinancialInformationStatementofCashFlowsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_10c3b382-60a5-4882-8d3b-c96cb4e1d557" 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_ShareBasedCompensation_bba9d380-a6f4-4aa7-8b1a-6430f5089234" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_10c3b382-60a5-4882-8d3b-c96cb4e1d557" xlink:to="loc_us-gaap_ShareBasedCompensation_bba9d380-a6f4-4aa7-8b1a-6430f5089234" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c1d927f4-333c-4997-95ef-3850a9291399" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_10c3b382-60a5-4882-8d3b-c96cb4e1d557" xlink:to="loc_us-gaap_NetIncomeLoss_c1d927f4-333c-4997-95ef-3850a9291399" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_875ca310-2d81-4746-ace2-3ac9468847f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_10c3b382-60a5-4882-8d3b-c96cb4e1d557" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_875ca310-2d81-4746-ace2-3ac9468847f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_fdda3e08-2571-4f7b-ad2c-04d89582b0c4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_10c3b382-60a5-4882-8d3b-c96cb4e1d557" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributions_fdda3e08-2571-4f7b-ad2c-04d89582b0c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_82d37928-140d-4900-a14a-94866d13663e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_10c3b382-60a5-4882-8d3b-c96cb4e1d557" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_82d37928-140d-4900-a14a-94866d13663e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsbc_ProceedsFromCancellationOfNoteIssuanceCosts_2e75475d-df3b-43a7-8490-834f2415b4bc" xlink:href="fsbc-20241231.xsd#fsbc_ProceedsFromCancellationOfNoteIssuanceCosts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_10c3b382-60a5-4882-8d3b-c96cb4e1d557" xlink:to="loc_fsbc_ProceedsFromCancellationOfNoteIssuanceCosts_2e75475d-df3b-43a7-8490-834f2415b4bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_279cd736-59ea-4785-b493-77c5bfda6c7f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_10c3b382-60a5-4882-8d3b-c96cb4e1d557" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_279cd736-59ea-4785-b493-77c5bfda6c7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_db0de560-3b84-4f33-9193-7e4fc58dd0fd" 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_PaymentsToAcquireInterestInSubsidiariesAndAffiliates_15013484-b324-470a-b14a-7f48e6d417d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_db0de560-3b84-4f33-9193-7e4fc58dd0fd" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates_15013484-b324-470a-b14a-7f48e6d417d3" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
