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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019ef55e-2c4b-7a14-84a6-fb9775a58a3f,g:5cd1e003-3222-45a9-8770-80108200a646-->
<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:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.stbank.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="stba-20260930.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019ef55e-34fc-7155-8f27-ba730b966a67" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019ef55e-34fc-7466-b3b1-a07958f20b9c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ef55e-34fc-7155-8f27-ba730b966a67" xlink:to="loc_us-gaap_CommonStockValue_019ef55e-34fc-7466-b3b1-a07958f20b9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019ef55e-34fc-7b72-8bf1-367a47d318e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ef55e-34fc-7155-8f27-ba730b966a67" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019ef55e-34fc-7b72-8bf1-367a47d318e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019ef55e-34fc-7de3-a018-3efa01c136ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ef55e-34fc-7155-8f27-ba730b966a67" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019ef55e-34fc-7de3-a018-3efa01c136ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019ef55e-34fc-75cc-b92e-1d8a335c9809" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ef55e-34fc-7155-8f27-ba730b966a67" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019ef55e-34fc-75cc-b92e-1d8a335c9809" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_019ef55e-34fc-7a7c-a696-d5b9947d614b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ef55e-34fc-7155-8f27-ba730b966a67" xlink:to="loc_us-gaap_TreasuryStockCommonValue_019ef55e-34fc-7a7c-a696-d5b9947d614b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ef55e-34fc-7f5b-bc4a-d246178fff9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019ef55e-34fc-7c00-8173-7013f37e9a62" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ef55e-34fc-7f5b-bc4a-d246178fff9d" xlink:to="loc_us-gaap_Liabilities_019ef55e-34fc-7c00-8173-7013f37e9a62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019ef55e-34fc-75ad-bd21-cfd6f9ba84a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ef55e-34fc-7f5b-bc4a-d246178fff9d" xlink:to="loc_us-gaap_StockholdersEquity_019ef55e-34fc-75ad-bd21-cfd6f9ba84a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-3428-77ee-8247-93726c08f325" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fc-77a0-8455-b2ec24654712" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-3428-77ee-8247-93726c08f325" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fc-77a0-8455-b2ec24654712" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019ef55e-34fc-76bf-998f-39095e0c5419" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-3428-77ee-8247-93726c08f325" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019ef55e-34fc-76bf-998f-39095e0c5419" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019ef55e-3428-7ce5-b656-043b9c8557ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_019ef55e-3428-74b1-8ab5-1cc768dbdbc4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ef55e-3428-7ce5-b656-043b9c8557ae" xlink:to="loc_us-gaap_Deposits_019ef55e-3428-74b1-8ab5-1cc768dbdbc4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherShortTermBorrowings_019ef55e-3428-712c-83de-df972696e78c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherShortTermBorrowings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ef55e-3428-7ce5-b656-043b9c8557ae" xlink:to="loc_us-gaap_OtherShortTermBorrowings_019ef55e-3428-712c-83de-df972696e78c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebt_019ef55e-3428-7994-bdb5-ff5909ddc3d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLongTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ef55e-3428-7ce5-b656-043b9c8557ae" xlink:to="loc_us-gaap_OtherLongTermDebt_019ef55e-3428-7994-bdb5-ff5909ddc3d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_JuniorSubordinatedLongTermNotes_019ef55e-3428-73b1-9eee-f812029220bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_JuniorSubordinatedLongTermNotes"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ef55e-3428-7ce5-b656-043b9c8557ae" xlink:to="loc_us-gaap_JuniorSubordinatedLongTermNotes_019ef55e-3428-73b1-9eee-f812029220bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019ef55e-3428-761b-87b3-93f8ecfb3d27" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ef55e-3428-7ce5-b656-043b9c8557ae" xlink:to="loc_us-gaap_OtherLiabilities_019ef55e-3428-761b-87b3-93f8ecfb3d27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Deposits_019ef55e-3428-739a-ae69-1e743dddc62b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Deposits"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestBearingDomesticDepositDemand_019ef55e-3428-7f36-9b4b-ed951f1116f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestBearingDomesticDepositDemand"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019ef55e-3428-739a-ae69-1e743dddc62b" xlink:to="loc_us-gaap_NoninterestBearingDomesticDepositDemand_019ef55e-3428-7f36-9b4b-ed951f1116f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDomesticDepositDemand_019ef55e-3428-7c93-9b08-57c03f69be97" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestBearingDomesticDepositDemand"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019ef55e-3428-739a-ae69-1e743dddc62b" xlink:to="loc_us-gaap_InterestBearingDomesticDepositDemand_019ef55e-3428-7c93-9b08-57c03f69be97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsMoneyMarketDeposits_019ef55e-3428-7011-9ee7-bc274b1f05a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositsMoneyMarketDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019ef55e-3428-739a-ae69-1e743dddc62b" xlink:to="loc_us-gaap_DepositsMoneyMarketDeposits_019ef55e-3428-7011-9ee7-bc274b1f05a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsSavingsDeposits_019ef55e-3428-7fad-a449-1f432cf5aa77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepositsSavingsDeposits"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019ef55e-3428-739a-ae69-1e743dddc62b" xlink:to="loc_us-gaap_DepositsSavingsDeposits_019ef55e-3428-7fad-a449-1f432cf5aa77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimeDeposits_019ef55e-3428-7c1a-8239-6c4402838900" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TimeDeposits"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_019ef55e-3428-739a-ae69-1e743dddc62b" xlink:to="loc_us-gaap_TimeDeposits_019ef55e-3428-7c1a-8239-6c4402838900" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019ef55e-34fc-7943-af69-8e6ae4a7ca51" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ef55e-34fc-7622-addb-716919cb3f23" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef55e-34fc-7943-af69-8e6ae4a7ca51" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ef55e-34fc-7622-addb-716919cb3f23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stba_DebtSecuritiesAvailableForSaleAndEquitySecuritiesFVNI_019ef55e-34fc-78af-a83f-adcb4348704e" xlink:href="stba-20260930.xsd#stba_DebtSecuritiesAvailableForSaleAndEquitySecuritiesFVNI"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef55e-34fc-7943-af69-8e6ae4a7ca51" xlink:to="loc_stba_DebtSecuritiesAvailableForSaleAndEquitySecuritiesFVNI_019ef55e-34fc-78af-a83f-adcb4348704e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_019ef55e-34fc-7a4a-ae4d-9fe6446b1a38" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef55e-34fc-7943-af69-8e6ae4a7ca51" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_019ef55e-34fc-7a4a-ae4d-9fe6446b1a38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-34fc-7e65-a6a1-3af839bc0ee7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef55e-34fc-7943-af69-8e6ae4a7ca51" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-34fc-7e65-a6a1-3af839bc0ee7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_019ef55e-34fc-7b2b-9a49-e1a3b3d6b721" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOwnedLifeInsurance"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef55e-34fc-7943-af69-8e6ae4a7ca51" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_019ef55e-34fc-7b2b-9a49-e1a3b3d6b721" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019ef55e-34fc-734d-a04c-982e1f9b3f25" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef55e-34fc-7943-af69-8e6ae4a7ca51" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019ef55e-34fc-734d-a04c-982e1f9b3f25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedInvestments_019ef55e-34fc-7da7-8ea1-ce658aef25b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedInvestments"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef55e-34fc-7943-af69-8e6ae4a7ca51" xlink:to="loc_us-gaap_RestrictedInvestments_019ef55e-34fc-7da7-8ea1-ce658aef25b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019ef55e-34fc-716d-b826-36c5db1d60b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef55e-34fc-7943-af69-8e6ae4a7ca51" xlink:to="loc_us-gaap_Goodwill_019ef55e-34fc-716d-b826-36c5db1d60b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019ef55e-34fc-76c2-b539-9b58553a6ae4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef55e-34fc-7943-af69-8e6ae4a7ca51" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019ef55e-34fc-76c2-b539-9b58553a6ae4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019ef55e-34fc-7671-9350-148b482f585b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef55e-34fc-7943-af69-8e6ae4a7ca51" xlink:to="loc_us-gaap_OtherAssets_019ef55e-34fc-7671-9350-148b482f585b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="stba-20260930.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_019ef55e-34fc-7b00-93f5-503a6df11d55" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_019ef55e-34fc-712c-9a9f-8b96d474d5eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_019ef55e-34fc-7b00-93f5-503a6df11d55" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_019ef55e-34fc-712c-9a9f-8b96d474d5eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019ef55e-34fc-7fba-96ea-93001e8c6b27" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_019ef55e-34fc-7b00-93f5-503a6df11d55" xlink:to="loc_us-gaap_InterestExpenseOperating_019ef55e-34fc-7fba-96ea-93001e8c6b27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019ef55e-34fc-7e27-b3ae-5cbb0f8734c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDeposits_019ef55e-34fc-7616-a7a4-19a6dc5ae860" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019ef55e-34fc-7e27-b3ae-5cbb0f8734c5" xlink:to="loc_us-gaap_InterestExpenseDeposits_019ef55e-34fc-7616-a7a4-19a6dc5ae860" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseBorrowings_019ef55e-34fc-7c11-9733-c61a65a435c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseBorrowings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_019ef55e-34fc-7e27-b3ae-5cbb0f8734c5" xlink:to="loc_us-gaap_InterestExpenseBorrowings_019ef55e-34fc-7c11-9733-c61a65a435c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_019ef55e-34fc-77f2-9ae3-3bb7d104075d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_019ef55e-34fc-718d-94fd-f58ac311ea41" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019ef55e-34fc-77f2-9ae3-3bb7d104075d" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_019ef55e-34fc-718d-94fd-f58ac311ea41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperating_019ef55e-34fc-73f9-9ff5-5996a8f9cf4b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019ef55e-34fc-77f2-9ae3-3bb7d104075d" xlink:to="loc_us-gaap_DividendIncomeOperating_019ef55e-34fc-73f9-9ff5-5996a8f9cf4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxable_019ef55e-34fc-71ff-8dd4-22a065533fd0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019ef55e-34fc-77f2-9ae3-3bb7d104075d" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxable_019ef55e-34fc-71ff-8dd4-22a065533fd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_019ef55e-34fc-7627-92d9-2cb8975e71ad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeSecuritiesTaxExempt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019ef55e-34fc-77f2-9ae3-3bb7d104075d" xlink:to="loc_us-gaap_InterestIncomeSecuritiesTaxExempt_019ef55e-34fc-7627-92d9-2cb8975e71ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019ef55e-34fc-74e6-bf08-b9e87bd55858" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_019ef55e-34fc-75ad-92a3-958b8f581231" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019ef55e-34fc-74e6-bf08-b9e87bd55858" xlink:to="loc_us-gaap_LaborAndRelatedExpense_019ef55e-34fc-75ad-92a3-958b8f581231" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_019ef55e-34fc-741d-b5e4-e6c475aa2d8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OccupancyNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019ef55e-34fc-74e6-bf08-b9e87bd55858" xlink:to="loc_us-gaap_OccupancyNet_019ef55e-34fc-741d-b5e4-e6c475aa2d8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesOther_019ef55e-34fc-70c6-b42c-adf6d6838432" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TaxesOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019ef55e-34fc-74e6-bf08-b9e87bd55858" xlink:to="loc_us-gaap_TaxesOther_019ef55e-34fc-70c6-b42c-adf6d6838432" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_019ef55e-34fc-7391-b5da-c70892ab397e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019ef55e-34fc-74e6-bf08-b9e87bd55858" xlink:to="loc_us-gaap_ProfessionalFees_019ef55e-34fc-7391-b5da-c70892ab397e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_019ef55e-34fc-76a0-8e37-40ee2b2a4eb2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FederalDepositInsuranceCorporationPremiumExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019ef55e-34fc-74e6-bf08-b9e87bd55858" xlink:to="loc_us-gaap_FederalDepositInsuranceCorporationPremiumExpense_019ef55e-34fc-76a0-8e37-40ee2b2a4eb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense_019ef55e-34fc-7ee2-be32-cc12d3484787" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019ef55e-34fc-74e6-bf08-b9e87bd55858" xlink:to="loc_us-gaap_OtherNoninterestExpense_019ef55e-34fc-7ee2-be32-cc12d3484787" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_019ef55e-34fc-74a5-b4c1-6a7da4439aa3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InformationTechnologyAndDataProcessing"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019ef55e-34fc-74e6-bf08-b9e87bd55858" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_019ef55e-34fc-74a5-b4c1-6a7da4439aa3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketingExpense_019ef55e-34fc-73a1-8f34-ab9e59c808a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MarketingExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019ef55e-34fc-74e6-bf08-b9e87bd55858" xlink:to="loc_us-gaap_MarketingExpense_019ef55e-34fc-73a1-8f34-ab9e59c808a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquipmentExpense_019ef55e-34fc-7c56-877b-2d47615ff09f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquipmentExpense"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_019ef55e-34fc-74e6-bf08-b9e87bd55858" xlink:to="loc_us-gaap_EquipmentExpense_019ef55e-34fc-7c56-877b-2d47615ff09f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_019ef55e-34fc-7533-a0af-3d75adbe7039" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_stba_FinancingReceivableAndOffBalanceSheetLiabilityCreditLossExpenseReversal_019ef55e-34fc-718b-8099-362ef7d5fb0d" xlink:href="stba-20260930.xsd#stba_FinancingReceivableAndOffBalanceSheetLiabilityCreditLossExpenseReversal"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_019ef55e-34fc-7533-a0af-3d75adbe7039" xlink:to="loc_stba_FinancingReceivableAndOffBalanceSheetLiabilityCreditLossExpenseReversal_019ef55e-34fc-718b-8099-362ef7d5fb0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_019ef55e-34fc-749b-824b-689ddc8250d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_019ef55e-34fc-7533-a0af-3d75adbe7039" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_019ef55e-34fc-749b-824b-689ddc8250d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019ef55e-34fc-7cdc-ba07-f3ec8e804f0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019ef55e-34fc-7144-9526-86e98793d8af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019ef55e-34fc-7cdc-ba07-f3ec8e804f0f" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019ef55e-34fc-7144-9526-86e98793d8af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019ef55e-34fc-7d7e-bdbb-fe4a5ddb4479" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019ef55e-34fc-7cdc-ba07-f3ec8e804f0f" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesGainLoss_019ef55e-34fc-7d7e-bdbb-fe4a5ddb4479" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOther_019ef55e-34fc-78bf-b560-5a8509e19fac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncomeOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_019ef55e-34fc-7cdc-ba07-f3ec8e804f0f" xlink:to="loc_us-gaap_NoninterestIncomeOther_019ef55e-34fc-78bf-b560-5a8509e19fac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019ef55e-34fc-7983-b359-9e2813e072ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_019ef55e-34fc-79e4-a4fd-893eb102c5df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019ef55e-34fc-7983-b359-9e2813e072ca" xlink:to="loc_us-gaap_NoninterestIncome_019ef55e-34fc-79e4-a4fd-893eb102c5df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_019ef55e-34fc-7b82-b7a5-11843489db2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoninterestExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019ef55e-34fc-7983-b359-9e2813e072ca" xlink:to="loc_us-gaap_NoninterestExpense_019ef55e-34fc-7b82-b7a5-11843489db2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_019ef55e-34fc-791d-8903-25038dc58abb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019ef55e-34fc-7983-b359-9e2813e072ca" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_019ef55e-34fc-791d-8903-25038dc58abb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019ef55e-34fc-74d3-b11c-c436dd0ead94" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019ef55e-34fc-792f-9f29-78089951f2c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ef55e-34fc-74d3-b11c-c436dd0ead94" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019ef55e-34fc-792f-9f29-78089951f2c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019ef55e-34fc-7d38-bfda-bf8d223a5a16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ef55e-34fc-74d3-b11c-c436dd0ead94" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019ef55e-34fc-7d38-bfda-bf8d223a5a16" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS10Q" xlink:type="simple" xlink:href="stba-20260930.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS10Q"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS10Q" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ef55e-34fc-7059-a995-5d20b8622734" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_019ef55e-34fc-7e6a-bdb9-52839cee990f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ef55e-34fc-7059-a995-5d20b8622734" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_019ef55e-34fc-7e6a-bdb9-52839cee990f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_019ef55e-34fc-7747-a853-243231365d01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ef55e-34fc-7059-a995-5d20b8622734" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_019ef55e-34fc-7747-a853-243231365d01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_019ef55e-34fc-7921-bcf2-8da810d0127b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ef55e-34fc-7059-a995-5d20b8622734" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_019ef55e-34fc-7921-bcf2-8da810d0127b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_019ef55e-34fc-725c-a3d2-07a5a062ea05" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ef55e-34fc-7059-a995-5d20b8622734" xlink:to="loc_us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock_019ef55e-34fc-725c-a3d2-07a5a062ea05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_019ef55e-34fc-7889-a544-bc0c1d0f8658" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromLoansAndLeases"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ef55e-34fc-7059-a995-5d20b8622734" xlink:to="loc_us-gaap_PaymentsForProceedsFromLoansAndLeases_019ef55e-34fc-7889-a544-bc0c1d0f8658" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_019ef55e-34fc-7754-9d50-babe7f8307df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfFinanceReceivables"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ef55e-34fc-7059-a995-5d20b8622734" xlink:to="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_019ef55e-34fc-7754-9d50-babe7f8307df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019ef55e-34fc-7a3e-b6ad-61f4efc578dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ef55e-34fc-7059-a995-5d20b8622734" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019ef55e-34fc-7a3e-b6ad-61f4efc578dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromHedgeInvestingActivities_019fc9c6-b826-7a73-94c4-54e0ae9cff4e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForProceedsFromHedgeInvestingActivities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ef55e-34fc-7059-a995-5d20b8622734" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeInvestingActivities_019fc9c6-b826-7a73-94c4-54e0ae9cff4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ef55e-34fc-7e7c-aecb-df3d7328ad99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ef55e-34fc-7f7d-a7f8-9dbdf1c55b63" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ef55e-34fc-7e7c-aecb-df3d7328ad99" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ef55e-34fc-7f7d-a7f8-9dbdf1c55b63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ef55e-34fc-7cc1-97bd-f691da55867d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ef55e-34fc-7e7c-aecb-df3d7328ad99" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ef55e-34fc-7cc1-97bd-f691da55867d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ef55e-34fc-76c3-9269-d7c11dfffaf5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ef55e-34fc-7e7c-aecb-df3d7328ad99" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ef55e-34fc-76c3-9269-d7c11dfffaf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ef55e-34fc-7198-953b-80004774a4b4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDemandDeposits_019ef55e-34fc-7ff5-9712-860c15948161" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDemandDeposits"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ef55e-34fc-7198-953b-80004774a4b4" xlink:to="loc_us-gaap_IncreaseDecreaseInDemandDeposits_019ef55e-34fc-7ff5-9712-860c15948161" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInTimeDeposits_019ef55e-34fc-701e-845c-42d72dc95ac8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInTimeDeposits"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ef55e-34fc-7198-953b-80004774a4b4" xlink:to="loc_us-gaap_IncreaseDecreaseInTimeDeposits_019ef55e-34fc-701e-845c-42d72dc95ac8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stba_ProceedsFromRepaymentsOfOtherShortTermDebt_019ef55e-34fc-7bd7-abfb-8e57f459c9b0" xlink:href="stba-20260930.xsd#stba_ProceedsFromRepaymentsOfOtherShortTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ef55e-34fc-7198-953b-80004774a4b4" xlink:to="loc_stba_ProceedsFromRepaymentsOfOtherShortTermDebt_019ef55e-34fc-7bd7-abfb-8e57f459c9b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_019ef55e-34fc-7eb0-b1b8-98852a472a2c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ef55e-34fc-7198-953b-80004774a4b4" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_019ef55e-34fc-7eb0-b1b8-98852a472a2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfOtherEquity_019ef55e-34fc-7605-9e7d-58b71ba0b227" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfOtherEquity"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ef55e-34fc-7198-953b-80004774a4b4" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfOtherEquity_019ef55e-34fc-7605-9e7d-58b71ba0b227" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019ef55e-34fc-7417-b2de-34477d41375d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ef55e-34fc-7198-953b-80004774a4b4" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019ef55e-34fc-7417-b2de-34477d41375d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019ef55e-34fc-7920-8eb1-af483b9c68d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ef55e-34fc-7198-953b-80004774a4b4" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019ef55e-34fc-7920-8eb1-af483b9c68d2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="stba-20260930.xsd#EarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/EarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_01a1a3ad-f8ee-70c7-a1b5-7e3c6533d03e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_01a1a3ad-f8ee-7fe7-a6c9-878c11bb04d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_01a1a3ad-f8ee-70c7-a1b5-7e3c6533d03e" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_01a1a3ad-f8ee-7fe7-a6c9-878c11bb04d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_01a1a3ad-f8ee-73f6-8357-6682c2afd097" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_01a1a3ad-f8ee-70c7-a1b5-7e3c6533d03e" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_01a1a3ad-f8ee-73f6-8357-6682c2afd097" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/FairValueMeasurementsAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="simple" xlink:href="stba-20260930.xsd#FairValueMeasurementsAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/FairValueMeasurementsAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_019ef55e-34fc-7fb4-91fe-5890edb0114f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019ef55e-34fc-7c0d-9271-a9f51dc43923" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_019ef55e-34fc-7fb4-91fe-5890edb0114f" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019ef55e-34fc-7c0d-9271-a9f51dc43923" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_019ef55e-34fc-7660-b0c8-0dde81dd2d4c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_019ef55e-34fc-7fb4-91fe-5890edb0114f" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_019ef55e-34fc-7660-b0c8-0dde81dd2d4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019ef55e-34fc-773e-9137-05798cdbe469" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_019ef55e-34fc-7733-92ff-c77bb13036d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019ef55e-34fc-773e-9137-05798cdbe469" xlink:to="loc_us-gaap_InvestmentsFairValueDisclosure_019ef55e-34fc-7733-92ff-c77bb13036d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stba_AssetsHeldInTrustFairValueDisclosure_019ef55e-34fc-7627-94eb-40a444901535" xlink:href="stba-20260930.xsd#stba_AssetsHeldInTrustFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019ef55e-34fc-773e-9137-05798cdbe469" xlink:to="loc_stba_AssetsHeldInTrustFairValueDisclosure_019ef55e-34fc-7627-94eb-40a444901535" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019ef55e-34fc-76d0-8c73-c1fbeab73dd3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019ef55e-34fc-773e-9137-05798cdbe469" xlink:to="loc_us-gaap_DerivativeAssets_019ef55e-34fc-76d0-8c73-c1fbeab73dd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019ef55e-34fc-7378-a72a-8995e4c402d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019ef55e-34fc-7ef2-9211-8250f4e7649f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_019ef55e-34fc-7378-a72a-8995e4c402d9" xlink:to="loc_us-gaap_DerivativeLiabilities_019ef55e-34fc-7ef2-9211-8250f4e7649f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/SecuritiesFairValuesofMarketableSecuritiesDetails" xlink:type="simple" xlink:href="stba-20260930.xsd#SecuritiesFairValuesofMarketableSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/SecuritiesFairValuesofMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_stba_DebtSecuritiesAvailableForSaleAndEquitySecuritiesFVNI_019ef55e-34fd-774d-ba98-7d064455b1fb" xlink:href="stba-20260930.xsd#stba_DebtSecuritiesAvailableForSaleAndEquitySecuritiesFVNI"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019ef55e-34fd-752a-b49d-de167368a5ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_stba_DebtSecuritiesAvailableForSaleAndEquitySecuritiesFVNI_019ef55e-34fd-774d-ba98-7d064455b1fb" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019ef55e-34fd-752a-b49d-de167368a5ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_019ef55e-34fd-7b8c-8178-44f7b9b26035" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_stba_DebtSecuritiesAvailableForSaleAndEquitySecuritiesFVNI_019ef55e-34fd-774d-ba98-7d064455b1fb" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_019ef55e-34fd-7b8c-8178-44f7b9b26035" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/SecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails" xlink:type="simple" xlink:href="stba-20260930.xsd#SecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/SecuritiesAmortizedCostandFairValueofDebtSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-34fd-7e5b-ba7d-100dc494635b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019ef55e-34fd-7431-9986-569bc473be8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-34fd-7e5b-ba7d-100dc494635b" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019ef55e-34fd-7431-9986-569bc473be8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019ef55e-34fd-7d66-9be6-771da004b84b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-34fd-7e5b-ba7d-100dc494635b" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019ef55e-34fd-7d66-9be6-771da004b84b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019ef55e-34fd-7712-9fb3-74fb02560004" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-34fd-7e5b-ba7d-100dc494635b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019ef55e-34fd-7712-9fb3-74fb02560004" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/SecuritiesFairValueandAgeofGrossUnrealizedLossesofDebtSecuritiesDetails" xlink:type="simple" xlink:href="stba-20260930.xsd#SecuritiesFairValueandAgeofGrossUnrealizedLossesofDebtSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/SecuritiesFairValueandAgeofGrossUnrealizedLossesofDebtSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019ef55e-34fd-728f-92d0-fa51db8b34b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_019ef55e-34fd-7ff9-ba64-d3b3ed4b75d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019ef55e-34fd-728f-92d0-fa51db8b34b5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_019ef55e-34fd-7ff9-ba64-d3b3ed4b75d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_019ef55e-34fd-79f9-81f5-dafc0615c1ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019ef55e-34fd-728f-92d0-fa51db8b34b5" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_019ef55e-34fd-79f9-81f5-dafc0615c1ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_019ef55e-34fd-7482-8d7f-db59f28cee6c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_019ef55e-34fd-72a4-8e88-0712ed0a40d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_019ef55e-34fd-7482-8d7f-db59f28cee6c" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_019ef55e-34fd-72a4-8e88-0712ed0a40d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_019ef55e-34fd-7b42-801e-52872e88764b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_019ef55e-34fd-7482-8d7f-db59f28cee6c" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_019ef55e-34fd-7b42-801e-52872e88764b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019ef55e-34fd-7712-a57a-3f3028024588" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019ef55e-34fd-7b2f-a102-66b53421e154" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019ef55e-34fd-7712-a57a-3f3028024588" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019ef55e-34fd-7b2f-a102-66b53421e154" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019ef55e-34fd-7646-b00b-d562cf598520" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019ef55e-34fd-7712-a57a-3f3028024588" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019ef55e-34fd-7646-b00b-d562cf598520" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/SecuritiesUnrealizedGainsLossesofDebtSecuritiesDetails" xlink:type="simple" xlink:href="stba-20260930.xsd#SecuritiesUnrealizedGainsLossesofDebtSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/SecuritiesUnrealizedGainsLossesofDebtSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019ef55e-34fd-7149-83d8-89bd3aea9caa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax_019ef55e-34fd-7d1d-b400-8e3e8767729b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019ef55e-34fd-7149-83d8-89bd3aea9caa" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax_019ef55e-34fd-7d1d-b400-8e3e8767729b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleAdjustmentTaxExpenseBenefit_019ef55e-34fd-797d-b033-2084ed96f8f9" xlink:href="stba-20260930.xsd#stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleAdjustmentTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019ef55e-34fd-7149-83d8-89bd3aea9caa" xlink:to="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleAdjustmentTaxExpenseBenefit_019ef55e-34fd-797d-b033-2084ed96f8f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax_019ef55e-34fd-7b78-8335-08574c0c33fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019ef55e-34fd-7c89-aba3-d81aa799a2f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax_019ef55e-34fd-7b78-8335-08574c0c33fe" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019ef55e-34fd-7c89-aba3-d81aa799a2f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019ef55e-34fd-7120-a792-13dbd0d5c58e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax_019ef55e-34fd-7b78-8335-08574c0c33fe" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019ef55e-34fd-7120-a792-13dbd0d5c58e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleAdjustmentTaxExpenseBenefit_019ef55e-34fd-7157-8cad-fc5877b3a445" xlink:href="stba-20260930.xsd#stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleAdjustmentTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedGainAdjustmentTaxExpenseBenefit_019ef55e-34fd-7e28-b2a3-80852a1900d5" xlink:href="stba-20260930.xsd#stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedGainAdjustmentTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleAdjustmentTaxExpenseBenefit_019ef55e-34fd-7157-8cad-fc5877b3a445" xlink:to="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedGainAdjustmentTaxExpenseBenefit_019ef55e-34fd-7e28-b2a3-80852a1900d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedLossAdjustmentTaxExpenseBenefit_019ef55e-34fd-7514-9498-43a1c20f93c6" xlink:href="stba-20260930.xsd#stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedLossAdjustmentTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleAdjustmentTaxExpenseBenefit_019ef55e-34fd-7157-8cad-fc5877b3a445" xlink:to="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedLossAdjustmentTaxExpenseBenefit_019ef55e-34fd-7514-9498-43a1c20f93c6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/SecuritiesUnrealizedGainsLossesofDebtSecuritiesDetails_1" xlink:type="simple" xlink:href="stba-20260930.xsd#SecuritiesUnrealizedGainsLossesofDebtSecuritiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/SecuritiesUnrealizedGainsLossesofDebtSecuritiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019ef55e-34fd-73e8-8767-cce405dc6f74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedGainAdjustmentNetOfTax_019ef55e-34fd-7fa5-9d34-6ddae3a69e2f" xlink:href="stba-20260930.xsd#stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedGainAdjustmentNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019ef55e-34fd-73e8-8767-cce405dc6f74" xlink:to="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedGainAdjustmentNetOfTax_019ef55e-34fd-7fa5-9d34-6ddae3a69e2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedLossesAdjustmentNetOfTax_019ef55e-34fd-766e-abed-3cd9ffa62981" xlink:href="stba-20260930.xsd#stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedLossesAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019ef55e-34fd-73e8-8767-cce405dc6f74" xlink:to="loc_stba_AccumulatedOtherComprehensiveIncomeLossDebtSecuritiesAvailableForSaleGrossUnrealizedLossesAdjustmentNetOfTax_019ef55e-34fd-766e-abed-3cd9ffa62981" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/SecuritiesContractualMaturitiesofDebtSecuritiesDetails" xlink:type="simple" xlink:href="stba-20260930.xsd#SecuritiesContractualMaturitiesofDebtSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/SecuritiesContractualMaturitiesofDebtSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_019ef55e-34fd-789c-8019-becc46678a8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019ef55e-34fd-7287-978a-0589becab4af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_019ef55e-34fd-789c-8019-becc46678a8f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019ef55e-34fd-7287-978a-0589becab4af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019ef55e-34fd-7d6d-9832-fdd38699ad39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_019ef55e-34fd-789c-8019-becc46678a8f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019ef55e-34fd-7d6d-9832-fdd38699ad39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_019ef55e-34fd-7fda-962c-45c25c3fe707" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_019ef55e-34fd-789c-8019-becc46678a8f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_019ef55e-34fd-7fda-962c-45c25c3fe707" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_019ef55e-34fd-79ef-92b3-0fdf32378a1c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_019ef55e-34fd-789c-8019-becc46678a8f" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_019ef55e-34fd-79ef-92b3-0fdf32378a1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-34fd-7925-847e-61727821c21a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_019ef55e-34fd-79ee-b773-1110517f8446" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-34fd-7925-847e-61727821c21a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_019ef55e-34fd-79ee-b773-1110517f8446" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_019ef55e-34fd-7fc4-888b-88226794e520" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_019ef55e-34fd-7925-847e-61727821c21a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_019ef55e-34fd-7fc4-888b-88226794e520" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019ef55e-34fd-7b8b-9934-e956cc937a9a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_019ef55e-34fd-71ea-9d30-34a7408ad5f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019ef55e-34fd-7b8b-9934-e956cc937a9a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_019ef55e-34fd-71ea-9d30-34a7408ad5f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_019ef55e-34fd-7b0e-b2ec-c8b00c229e06" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019ef55e-34fd-7b8b-9934-e956cc937a9a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_019ef55e-34fd-7b0e-b2ec-c8b00c229e06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_019ef55e-34fd-7abf-9976-8d75907c33f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_019ef55e-34fd-7a45-8aa5-61730ec28ce0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_019ef55e-34fd-7abf-9976-8d75907c33f3" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_019ef55e-34fd-7a45-8aa5-61730ec28ce0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_019ef55e-34fd-772d-9ead-373e6b21664c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_019ef55e-34fd-7abf-9976-8d75907c33f3" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_019ef55e-34fd-772d-9ead-373e6b21664c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_019ef55e-34fd-7d68-ad30-cd46c885f0e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_019ef55e-34fd-7abf-9976-8d75907c33f3" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_019ef55e-34fd-7d68-ad30-cd46c885f0e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_019ef55e-34fd-7421-ad28-bcd1eff8f619" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_019ef55e-34fd-7abf-9976-8d75907c33f3" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_019ef55e-34fd-7421-ad28-bcd1eff8f619" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/LoansandAllowanceforCreditLossesCompositionofLoansDetails" xlink:type="simple" xlink:href="stba-20260930.xsd#LoansandAllowanceforCreditLossesCompositionofLoansDetails"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/LoansandAllowanceforCreditLossesCompositionofLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_stba_FinancingReceivableBeforeAllowanceForCreditLossAndHeldForSaleNotPartOfDisposalGroup_019ef55e-34fd-7ba6-8827-1539314b2e65" xlink:href="stba-20260930.xsd#stba_FinancingReceivableBeforeAllowanceForCreditLossAndHeldForSaleNotPartOfDisposalGroup"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_019ef55e-34fd-7ed1-9fe1-a36b389792a8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_stba_FinancingReceivableBeforeAllowanceForCreditLossAndHeldForSaleNotPartOfDisposalGroup_019ef55e-34fd-7ba6-8827-1539314b2e65" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup_019ef55e-34fd-7ed1-9fe1-a36b389792a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fd-7519-b184-2b5ad2de155f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_stba_FinancingReceivableBeforeAllowanceForCreditLossAndHeldForSaleNotPartOfDisposalGroup_019ef55e-34fd-7ba6-8827-1539314b2e65" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fd-7519-b184-2b5ad2de155f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/LoansandAllowanceforCreditLossesLoanBalancesbyYearofOriginationandInternallyAssignedRiskRatingDetails" xlink:type="simple" xlink:href="stba-20260930.xsd#LoansandAllowanceforCreditLossesLoanBalancesbyYearofOriginationandInternallyAssignedRiskRatingDetails"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/LoansandAllowanceforCreditLossesLoanBalancesbyYearofOriginationandInternallyAssignedRiskRatingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019ef55e-34fd-76bd-9af5-36a5d7a74847" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_019ef55e-34fd-7769-a99b-dcfceefbe060" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019ef55e-34fd-76bd-9af5-36a5d7a74847" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_019ef55e-34fd-7769-a99b-dcfceefbe060" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_019ef55e-34fd-795d-bd99-b07d1d71173a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019ef55e-34fd-76bd-9af5-36a5d7a74847" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_019ef55e-34fd-795d-bd99-b07d1d71173a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_019ef55e-34fd-7e3e-bd8c-32151a5de8dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019ef55e-34fd-76bd-9af5-36a5d7a74847" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_019ef55e-34fd-7e3e-bd8c-32151a5de8dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_019ef55e-34fd-761b-b51c-9751f5a3b103" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019ef55e-34fd-76bd-9af5-36a5d7a74847" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_019ef55e-34fd-761b-b51c-9751f5a3b103" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_019ef55e-34fd-73e7-85f3-a671f161f1ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019ef55e-34fd-76bd-9af5-36a5d7a74847" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_019ef55e-34fd-73e7-85f3-a671f161f1ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_019ef55e-34fd-7ff6-85ef-36eb8fb0c038" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019ef55e-34fd-76bd-9af5-36a5d7a74847" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_019ef55e-34fd-7ff6-85ef-36eb8fb0c038" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_019ef55e-34fd-76ab-915d-a05206768a51" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019ef55e-34fd-76bd-9af5-36a5d7a74847" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff_019ef55e-34fd-76ab-915d-a05206768a51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_019ef55e-34fd-75a4-86fe-2c02e339f478" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019ef55e-34fd-76bd-9af5-36a5d7a74847" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanWriteoff_019ef55e-34fd-75a4-86fe-2c02e339f478" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fd-7b93-96f7-04e5331a39c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_019ef55e-34fd-7430-a56d-40ca7be066bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fd-7b93-96f7-04e5331a39c0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_019ef55e-34fd-7430-a56d-40ca7be066bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_019ef55e-34fd-7d1a-abd1-4ea680c16644" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fd-7b93-96f7-04e5331a39c0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_019ef55e-34fd-7d1a-abd1-4ea680c16644" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_019ef55e-34fd-745a-a15d-75d93e787444" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fd-7b93-96f7-04e5331a39c0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_019ef55e-34fd-745a-a15d-75d93e787444" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_019ef55e-34fd-7da0-aa1e-8820d1cf220c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fd-7b93-96f7-04e5331a39c0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_019ef55e-34fd-7da0-aa1e-8820d1cf220c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_019ef55e-34fd-7d26-a1ac-94d2743c96a8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fd-7b93-96f7-04e5331a39c0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_019ef55e-34fd-7d26-a1ac-94d2743c96a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_019ef55e-34fd-7c60-a6b3-65bd82e0be43" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fd-7b93-96f7-04e5331a39c0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_019ef55e-34fd-7c60-a6b3-65bd82e0be43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_019ef55e-34fd-7e20-873f-85d0cac6b548" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolving"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fd-7b93-96f7-04e5331a39c0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolving_019ef55e-34fd-7e20-873f-85d0cac6b548" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_019ef55e-34fd-7a62-814b-544d0f8d7a15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019ef55e-34fd-7b93-96f7-04e5331a39c0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoan_019ef55e-34fd-7a62-814b-544d0f8d7a15" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/LoansandAllowanceforCreditLossesAllowanceforCreditLossActivityDetails" xlink:type="simple" xlink:href="stba-20260930.xsd#LoansandAllowanceforCreditLossesAllowanceforCreditLossActivityDetails"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/LoansandAllowanceforCreditLossesAllowanceforCreditLossActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_019ef55e-34fd-715d-91b8-fd250acf05c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019ef55e-34fd-746e-a487-e9aefd87c0f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_019ef55e-34fd-715d-91b8-fd250acf05c0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_019ef55e-34fd-746e-a487-e9aefd87c0f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_019ef55e-34fd-716e-9b3f-e006c9863cd3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_019ef55e-34fd-715d-91b8-fd250acf05c0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_019ef55e-34fd-716e-9b3f-e006c9863cd3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.stbank.com/role/DerivativeInstrumentsandHedgingActivitiesScheduleofInterestRateDerivativesDetails" xlink:type="simple" xlink:href="stba-20260930.xsd#DerivativeInstrumentsandHedgingActivitiesScheduleofInterestRateDerivativesDetails"/>
  <link:calculationLink xlink:role="http://www.stbank.com/role/DerivativeInstrumentsandHedgingActivitiesScheduleofInterestRateDerivativesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019ef55e-34fd-7542-88e1-8b6151ced5b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019ef55e-34fd-7bd8-8819-4e94b6727228" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019ef55e-34fd-7542-88e1-8b6151ced5b5" xlink:to="loc_us-gaap_DerivativeAssets_019ef55e-34fd-7bd8-8819-4e94b6727228" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_019ef55e-34fd-71b4-bb27-6a222dec23ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralObligationToReturnSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019ef55e-34fd-7542-88e1-8b6151ced5b5" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_019ef55e-34fd-71b4-bb27-6a222dec23ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnCash_019ef55e-34fd-7e36-bb5e-df0c984ba948" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralObligationToReturnCash"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019ef55e-34fd-7542-88e1-8b6151ced5b5" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnCash_019ef55e-34fd-7e36-bb5e-df0c984ba948" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019ef55e-34fd-7135-94c5-14cb088943d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019ef55e-34fd-7be1-b2ff-4704b298338e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019ef55e-34fd-7135-94c5-14cb088943d7" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019ef55e-34fd-7be1-b2ff-4704b298338e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019ef55e-34fd-7cec-b6d5-5d34f23de48d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019ef55e-34fd-7135-94c5-14cb088943d7" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_019ef55e-34fd-7cec-b6d5-5d34f23de48d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019ef55e-34fd-705f-a22c-a8e772a268c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019ef55e-34fd-733e-bed5-1be792a93a9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019ef55e-34fd-705f-a22c-a8e772a268c0" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019ef55e-34fd-733e-bed5-1be792a93a9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019ef55e-34fd-7f0f-96ec-43123a855a13" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019ef55e-34fd-705f-a22c-a8e772a268c0" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019ef55e-34fd-7f0f-96ec-43123a855a13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019ef55e-34fd-71be-b1c8-2dc4aafef169" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019ef55e-34fd-7d7b-acd2-562f6380f0c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019ef55e-34fd-71be-b1c8-2dc4aafef169" xlink:to="loc_us-gaap_DerivativeLiabilities_019ef55e-34fd-7d7b-acd2-562f6380f0c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_019ef55e-34fd-7d46-afe8-526ebf128392" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019ef55e-34fd-71be-b1c8-2dc4aafef169" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_019ef55e-34fd-7d46-afe8-526ebf128392" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimCash_019ef55e-34fd-7b60-964f-5a34c02aae0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralRightToReclaimCash"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019ef55e-34fd-71be-b1c8-2dc4aafef169" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimCash_019ef55e-34fd-7b60-964f-5a34c02aae0f" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
