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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:fff95092-ccb3-40fb-9ba7-b6f6e3850f6f,g:e9a2119f-024c-43e5-8671-f497d5656f92-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/StatementsofIncome" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#StatementsofIncome"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/StatementsofIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome_daf5d588-db63-4e0d-aaf8-c40e095cf6b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_e5593aa2-13c2-4b49-83a9-fe9fcd936a21" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_daf5d588-db63-4e0d-aaf8-c40e095cf6b5" xlink:to="loc_us-gaap_GainLossOnInvestments_e5593aa2-13c2-4b49-83a9-fe9fcd936a21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_9dc9249e-fdcc-4988-b3e1-203d407245ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_daf5d588-db63-4e0d-aaf8-c40e095cf6b5" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_9dc9249e-fdcc-4988-b3e1-203d407245ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fhlbpgh_Standbylettersofcreditfees_2c187fed-5b1b-4726-a45b-1d60fe131c6f" xlink:href="fhlbpgh-20250930.xsd#fhlbpgh_Standbylettersofcreditfees"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_daf5d588-db63-4e0d-aaf8-c40e095cf6b5" xlink:to="loc_fhlbpgh_Standbylettersofcreditfees_2c187fed-5b1b-4726-a45b-1d60fe131c6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_dba537d7-453c-4671-be73-5f41348f12e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_daf5d588-db63-4e0d-aaf8-c40e095cf6b5" xlink:to="loc_us-gaap_NoninterestIncomeOtherOperatingIncome_dba537d7-453c-4671-be73-5f41348f12e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_96521472-ff3c-4c0b-9a0a-0bcecdbffb2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_63ca13a5-a3b0-4497-8406-0d24a4efa806" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_96521472-ff3c-4c0b-9a0a-0bcecdbffb2b" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_63ca13a5-a3b0-4497-8406-0d24a4efa806" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_e0d9cbed-607b-4747-be0f-b4a137e76ba2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_96521472-ff3c-4c0b-9a0a-0bcecdbffb2b" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_e0d9cbed-607b-4747-be0f-b4a137e76ba2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_deb59bc3-d035-4b05-9859-3c274333a468" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_8c905e31-e0fc-4a2f-9dbb-94e1bb8e2c7e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_deb59bc3-d035-4b05-9859-3c274333a468" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_8c905e31-e0fc-4a2f-9dbb-94e1bb8e2c7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_b67af923-b9c8-4982-8b44-2b70387c1a74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_deb59bc3-d035-4b05-9859-3c274333a468" xlink:to="loc_us-gaap_InterestExpenseOperating_b67af923-b9c8-4982-8b44-2b70387c1a74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense_64161f0f-323e-4b96-b0f2-03589152e744" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OfficeOfFinanceAssessmentsCostAssessedOnFederalHomeLoanBank_f70ad724-9ba0-4608-b603-2930ed2bb162" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OfficeOfFinanceAssessmentsCostAssessedOnFederalHomeLoanBank"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_64161f0f-323e-4b96-b0f2-03589152e744" xlink:to="loc_us-gaap_OfficeOfFinanceAssessmentsCostAssessedOnFederalHomeLoanBank_f70ad724-9ba0-4608-b603-2930ed2bb162" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fhlbpgh_VoluntaryContributionExpense_83f77695-5360-4f4d-bc27-ef3638226c0d" xlink:href="fhlbpgh-20250930.xsd#fhlbpgh_VoluntaryContributionExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_64161f0f-323e-4b96-b0f2-03589152e744" xlink:to="loc_fhlbpgh_VoluntaryContributionExpense_83f77695-5360-4f4d-bc27-ef3638226c0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_59a273c0-34ec-4265-a1cf-95ccd7879f47" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_64161f0f-323e-4b96-b0f2-03589152e744" xlink:to="loc_us-gaap_LaborAndRelatedExpense_59a273c0-34ec-4265-a1cf-95ccd7879f47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_05183bce-9e68-468b-8522-0d56f7ec6d73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_64161f0f-323e-4b96-b0f2-03589152e744" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_05183bce-9e68-468b-8522-0d56f7ec6d73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatorExpensesCostAssessedOnFederalHomeLoanBank_ce8cba89-365f-4761-845f-ac4648a254c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RegulatorExpensesCostAssessedOnFederalHomeLoanBank"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_64161f0f-323e-4b96-b0f2-03589152e744" xlink:to="loc_us-gaap_RegulatorExpensesCostAssessedOnFederalHomeLoanBank_ce8cba89-365f-4761-845f-ac4648a254c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_7720d3bc-2ef6-4dc7-8b94-fe2b63140d52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalHomeLoanBankAdvances_e535549d-887a-4f2b-b095-97f1346a00a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeFederalHomeLoanBankAdvances"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7720d3bc-2ef6-4dc7-8b94-fe2b63140d52" xlink:to="loc_us-gaap_InterestIncomeFederalHomeLoanBankAdvances_e535549d-887a-4f2b-b095-97f1346a00a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_235eb001-d106-472b-a278-e518ca7dfd48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeDepositsWithFinancialInstitutions"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7720d3bc-2ef6-4dc7-8b94-fe2b63140d52" xlink:to="loc_us-gaap_InterestIncomeDepositsWithFinancialInstitutions_235eb001-d106-472b-a278-e518ca7dfd48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell_c0d8282d-a68c-42b0-88e1-046fb0796291" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7720d3bc-2ef6-4dc7-8b94-fe2b63140d52" xlink:to="loc_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell_c0d8282d-a68c-42b0-88e1-046fb0796291" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeFederalFundsSold_5516e88e-f275-45d2-bd1a-e30631b00a47" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeFederalFundsSold"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7720d3bc-2ef6-4dc7-8b94-fe2b63140d52" xlink:to="loc_us-gaap_InterestIncomeFederalFundsSold_5516e88e-f275-45d2-bd1a-e30631b00a47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesTradingOperating_cca72535-f4e6-42cd-912f-8a05490f8267" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeDebtSecuritiesTradingOperating"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7720d3bc-2ef6-4dc7-8b94-fe2b63140d52" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesTradingOperating_cca72535-f4e6-42cd-912f-8a05490f8267" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_ec1849b2-d515-402c-b7ed-f54c23cbbc1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7720d3bc-2ef6-4dc7-8b94-fe2b63140d52" xlink:to="loc_us-gaap_InterestIncomeDebtSecuritiesAvailableForSaleOperating_ec1849b2-d515-402c-b7ed-f54c23cbbc1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecuritiesHeldToMaturity_fb76d9e5-187e-4d25-99c5-119c9aeef093" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeSecuritiesHeldToMaturity"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7720d3bc-2ef6-4dc7-8b94-fe2b63140d52" xlink:to="loc_us-gaap_InterestAndDividendIncomeSecuritiesHeldToMaturity_fb76d9e5-187e-4d25-99c5-119c9aeef093" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansConsumerRealEstate_89414904-8cd9-4aa1-9a4e-216b38f9b2cd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndFeeIncomeLoansConsumerRealEstate"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_7720d3bc-2ef6-4dc7-8b94-fe2b63140d52" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansConsumerRealEstate_89414904-8cd9-4aa1-9a4e-216b38f9b2cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_ad207615-389e-400d-9458-2bfb161c8733" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_97d74e08-3a2d-4fde-8acb-4562a4472271" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOtherShortTermBorrowings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_ad207615-389e-400d-9458-2bfb161c8733" xlink:to="loc_us-gaap_InterestExpenseOtherShortTermBorrowings_97d74e08-3a2d-4fde-8acb-4562a4472271" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOtherLongTermDebt_4d659024-dbad-4c09-a893-db5e5c56b645" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOtherLongTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_ad207615-389e-400d-9458-2bfb161c8733" xlink:to="loc_us-gaap_InterestExpenseOtherLongTermDebt_4d659024-dbad-4c09-a893-db5e5c56b645" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDomesticDeposits_b0ee07d8-057d-4fe1-815c-670ccd85ea02" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDomesticDeposits"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_ad207615-389e-400d-9458-2bfb161c8733" xlink:to="loc_us-gaap_InterestExpenseDomesticDeposits_b0ee07d8-057d-4fe1-815c-670ccd85ea02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOther_dadb2906-0546-41be-a0ca-59b2da9d4686" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOther"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseOperating_ad207615-389e-400d-9458-2bfb161c8733" xlink:to="loc_us-gaap_InterestExpenseOther_dadb2906-0546-41be-a0ca-59b2da9d4686" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments_0e8697eb-a5e5-42dd-814a-ba7fc61db44b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d39e7a28-e382-41d2-ba33-7bc326de2f95" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments_0e8697eb-a5e5-42dd-814a-ba7fc61db44b" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d39e7a28-e382-41d2-ba33-7bc326de2f95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AffordableHousingProgramAssessments_8d4b53a0-a1b0-458c-aeaf-11bb12f4b7b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AffordableHousingProgramAssessments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments_0e8697eb-a5e5-42dd-814a-ba7fc61db44b" xlink:to="loc_us-gaap_AffordableHousingProgramAssessments_8d4b53a0-a1b0-458c-aeaf-11bb12f4b7b5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/StatementsofComprehensiveIncome" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#StatementsofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/StatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent_b05020a8-a329-4b2f-a2eb-73ccd1bfaff6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments_fb34bdbe-6360-42ab-a41d-a45a7108519e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent_b05020a8-a329-4b2f-a2eb-73ccd1bfaff6" xlink:to="loc_us-gaap_NetIncomeLossAttributableToParentNetOfFederalHomeLoanBankAssessments_fb34bdbe-6360-42ab-a41d-a45a7108519e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_bfb19e99-1984-48d0-9d1f-4d6ffea8ec19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeLossNetOfFederalHomeLoanBankAssessmentsAttributableToParent_b05020a8-a329-4b2f-a2eb-73ccd1bfaff6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_bfb19e99-1984-48d0-9d1f-4d6ffea8ec19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_dc4172a6-d5c0-4827-a33a-85a10c09d26a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_53feae2d-17f6-404d-8bbd-7f67ee80a581" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_dc4172a6-d5c0-4827-a33a-85a10c09d26a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax_53feae2d-17f6-404d-8bbd-7f67ee80a581" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_ea8d4ebb-d204-4e45-a5b4-799cfd8a6482" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_dc4172a6-d5c0-4827-a33a-85a10c09d26a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentBeforeTaxPortionAttributableToParent_ea8d4ebb-d204-4e45-a5b4-799cfd8a6482" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_cb332f8b-918b-499d-a96b-2cbf3a9d6ad9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_dc4172a6-d5c0-4827-a33a-85a10c09d26a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentBeforeTaxPortionAttributableToParent_cb332f8b-918b-499d-a96b-2cbf3a9d6ad9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/StatementsofCondition" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#StatementsofCondition"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/StatementsofCondition" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankConsolidatedObligations_cea4f706-1364-45fe-9fdd-8b2136ec317e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankConsolidatedObligations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsDiscountNotes_1bb757fb-3cab-4498-93db-79f170357510" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankConsolidatedObligationsDiscountNotes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankConsolidatedObligations_cea4f706-1364-45fe-9fdd-8b2136ec317e" xlink:to="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsDiscountNotes_1bb757fb-3cab-4498-93db-79f170357510" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds_4e7efb3d-7c4e-40e6-8420-75c9ec631f71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankConsolidatedObligations_cea4f706-1364-45fe-9fdd-8b2136ec317e" xlink:to="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds_4e7efb3d-7c4e-40e6-8420-75c9ec631f71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_37cd355e-be47-4b66-b9ee-5c8b362cbaed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecurities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_00f6c395-2124-4b85-b12b-63047ba899b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_MarketableSecurities_37cd355e-be47-4b66-b9ee-5c8b362cbaed" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_00f6c395-2124-4b85-b12b-63047ba899b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecuritiesDebt_9153378d-8af4-4031-8d07-9a5daeee02b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecuritiesDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_MarketableSecurities_37cd355e-be47-4b66-b9ee-5c8b362cbaed" xlink:to="loc_us-gaap_TradingSecuritiesDebt_9153378d-8af4-4031-8d07-9a5daeee02b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_559db54e-fc4e-4a4f-a6a3-dfef110ef850" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_MarketableSecurities_37cd355e-be47-4b66-b9ee-5c8b362cbaed" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss_559db54e-fc4e-4a4f-a6a3-dfef110ef850" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_8944b1a8-c26d-47ff-832f-224821ab7404" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_405e33de-efd5-496b-b039-0582ae1b3e73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_8944b1a8-c26d-47ff-832f-224821ab7404" xlink:to="loc_us-gaap_Liabilities_405e33de-efd5-496b-b039-0582ae1b3e73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_7f71fcae-0aec-4675-9646-e87e77e63cf5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_8944b1a8-c26d-47ff-832f-224821ab7404" xlink:to="loc_us-gaap_CommitmentsAndContingencies_7f71fcae-0aec-4675-9646-e87e77e63cf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_b31c438a-7498-42a8-a736-e3ec834228f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_8944b1a8-c26d-47ff-832f-224821ab7404" xlink:to="loc_us-gaap_StockholdersEquity_b31c438a-7498-42a8-a736-e3ec834228f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_5e66ad5a-ceec-49e7-a86f-c1dc200c682e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount_0a110f1d-0591-4887-92d3-2976481ad1a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5e66ad5a-ceec-49e7-a86f-c1dc200c682e" xlink:to="loc_us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount_0a110f1d-0591-4887-92d3-2976481ad1a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_63e47113-7b8f-4a19-8926-1d628a632359" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5e66ad5a-ceec-49e7-a86f-c1dc200c682e" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_63e47113-7b8f-4a19-8926-1d628a632359" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AffordableHousingProgramObligation_2808f108-b699-451b-8c9a-f30b6492a54d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AffordableHousingProgramObligation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5e66ad5a-ceec-49e7-a86f-c1dc200c682e" xlink:to="loc_us-gaap_AffordableHousingProgramObligation_2808f108-b699-451b-8c9a-f30b6492a54d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_0b998884-a62b-45e5-81c6-8a4529b9bfe9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5e66ad5a-ceec-49e7-a86f-c1dc200c682e" xlink:to="loc_us-gaap_DerivativeLiabilities_0b998884-a62b-45e5-81c6-8a4529b9bfe9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_d1259efb-af14-4da0-8b7b-48a4401b64f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5e66ad5a-ceec-49e7-a86f-c1dc200c682e" xlink:to="loc_us-gaap_OtherLiabilities_d1259efb-af14-4da0-8b7b-48a4401b64f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositsDomestic_5f7402cd-7f0e-43fb-845d-ec22e0a413fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositsDomestic"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5e66ad5a-ceec-49e7-a86f-c1dc200c682e" xlink:to="loc_us-gaap_DepositsDomestic_5f7402cd-7f0e-43fb-845d-ec22e0a413fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankConsolidatedObligations_08119807-73fe-4989-ae07-f9020362f0f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankConsolidatedObligations"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5e66ad5a-ceec-49e7-a86f-c1dc200c682e" xlink:to="loc_us-gaap_FederalHomeLoanBankConsolidatedObligations_08119807-73fe-4989-ae07-f9020362f0f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_6f52f9c3-aa0d-4335-86d7-147c10b19c5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsUnappropriated_5e54db73-b614-41dd-970e-9bdd2a414d71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsUnappropriated"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RetainedEarningsAccumulatedDeficit_6f52f9c3-aa0d-4335-86d7-147c10b19c5b" xlink:to="loc_us-gaap_RetainedEarningsUnappropriated_5e54db73-b614-41dd-970e-9bdd2a414d71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAppropriated_f5f7584e-4d43-48f3-853b-63e9d437e282" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAppropriated"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RetainedEarningsAccumulatedDeficit_6f52f9c3-aa0d-4335-86d7-147c10b19c5b" xlink:to="loc_us-gaap_RetainedEarningsAppropriated_f5f7584e-4d43-48f3-853b-63e9d437e282" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_a5c79d85-cc7e-4f9a-81df-6d0bb595637a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockOtherValueOutstanding_b1ec8ac3-88f1-41a2-946e-4f5c40ca4b01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockOtherValueOutstanding"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_a5c79d85-cc7e-4f9a-81df-6d0bb595637a" xlink:to="loc_us-gaap_CommonStockOtherValueOutstanding_b1ec8ac3-88f1-41a2-946e-4f5c40ca4b01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_96ad55d6-2c9d-4cee-8405-99c8ee9be49c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_a5c79d85-cc7e-4f9a-81df-6d0bb595637a" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_96ad55d6-2c9d-4cee-8405-99c8ee9be49c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeFederalHomeLoanBankAssessments_9e6763d4-f5c9-4294-a6d2-9327c85d8f61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeFederalHomeLoanBankAssessments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_a5c79d85-cc7e-4f9a-81df-6d0bb595637a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossBeforeFederalHomeLoanBankAssessments_9e6763d4-f5c9-4294-a6d2-9327c85d8f61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_d6397fa5-adce-47ab-8df7-c9a162ebf9ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_d10358eb-9ea8-420f-967c-bd5a293dce10" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d6397fa5-adce-47ab-8df7-c9a162ebf9ce" xlink:to="loc_us-gaap_MarketableSecurities_d10358eb-9ea8-420f-967c-bd5a293dce10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_93747a8b-ae20-45be-9922-2d875e23def2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d6397fa5-adce-47ab-8df7-c9a162ebf9ce" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_93747a8b-ae20-45be-9922-2d875e23def2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_583da41e-bdb3-4830-9655-22e1ed9b8534" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d6397fa5-adce-47ab-8df7-c9a162ebf9ce" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_583da41e-bdb3-4830-9655-22e1ed9b8534" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndDueFromBanks_357a01cb-ea2b-432c-bb1c-51e3fc0d2bf7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndDueFromBanks"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d6397fa5-adce-47ab-8df7-c9a162ebf9ce" xlink:to="loc_us-gaap_CashAndDueFromBanks_357a01cb-ea2b-432c-bb1c-51e3fc0d2bf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_c4bc97b9-35a3-432d-9aeb-64346a9d4fba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d6397fa5-adce-47ab-8df7-c9a162ebf9ce" xlink:to="loc_us-gaap_InterestReceivable_c4bc97b9-35a3-432d-9aeb-64346a9d4fba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvances_3dd084f8-f4a6-47c4-a034-72f184e3f58b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvances"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d6397fa5-adce-47ab-8df7-c9a162ebf9ce" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvances_3dd084f8-f4a6-47c4-a034-72f184e3f58b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSold_cb439b52-ff15-47d3-b5e5-c51c01ed751a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsSold"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d6397fa5-adce-47ab-8df7-c9a162ebf9ce" xlink:to="loc_us-gaap_FederalFundsSold_cb439b52-ff15-47d3-b5e5-c51c01ed751a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsInBanks_11420436-d32a-4882-8aad-302fc295fe26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestBearingDepositsInBanks"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d6397fa5-adce-47ab-8df7-c9a162ebf9ce" xlink:to="loc_us-gaap_InterestBearingDepositsInBanks_11420436-d32a-4882-8aad-302fc295fe26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_7ab307bd-c031-45f8-9984-47b96af5bf40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d6397fa5-adce-47ab-8df7-c9a162ebf9ce" xlink:to="loc_us-gaap_OtherAssets_7ab307bd-c031-45f8-9984-47b96af5bf40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_6d48b87b-f620-44c9-9fb7-42f5a2ea0cd2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_d6397fa5-adce-47ab-8df7-c9a162ebf9ce" xlink:to="loc_us-gaap_DerivativeAssets_6d48b87b-f620-44c9-9fb7-42f5a2ea0cd2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/StatementsofCashFlows" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#StatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/StatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_861d87fc-64d2-40b0-9423-0e66e47a4547" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromOtherShortTermDebt_4852a42f-6403-433e-971a-a65810161be0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromOtherShortTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_861d87fc-64d2-40b0-9423-0e66e47a4547" xlink:to="loc_us-gaap_ProceedsFromOtherShortTermDebt_4852a42f-6403-433e-971a-a65810161be0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfOtherLongTermDebt_ffc8d991-93c1-439e-95ba-e5beeb998581" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfOtherLongTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_861d87fc-64d2-40b0-9423-0e66e47a4547" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfOtherLongTermDebt_ffc8d991-93c1-439e-95ba-e5beeb998581" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherShortTermDebt_26557972-60e2-44e6-a71b-89bf60f58b4c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfOtherShortTermDebt"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_861d87fc-64d2-40b0-9423-0e66e47a4547" xlink:to="loc_us-gaap_RepaymentsOfOtherShortTermDebt_26557972-60e2-44e6-a71b-89bf60f58b4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_5899b605-8907-4d1c-9ed3-71d271c3bf5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfOtherLongTermDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_861d87fc-64d2-40b0-9423-0e66e47a4547" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_5899b605-8907-4d1c-9ed3-71d271c3bf5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_128ceeb1-1b65-445b-b321-e2ff22852066" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_861d87fc-64d2-40b0-9423-0e66e47a4547" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_128ceeb1-1b65-445b-b321-e2ff22852066" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities_dbf85a2d-5dbf-4857-8593-c7068ee9923c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_861d87fc-64d2-40b0-9423-0e66e47a4547" xlink:to="loc_us-gaap_RepaymentsOfMandatoryRedeemableCapitalSecurities_dbf85a2d-5dbf-4857-8593-c7068ee9923c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_f991e06c-4e96-4ebb-b647-9caaa3c2ab13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_861d87fc-64d2-40b0-9423-0e66e47a4547" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_f991e06c-4e96-4ebb-b647-9caaa3c2ab13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_3220f71f-2fc4-46e9-9178-a1b1ad613d9b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_861d87fc-64d2-40b0-9423-0e66e47a4547" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_3220f71f-2fc4-46e9-9178-a1b1ad613d9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_6179a9f0-a92f-4ade-8e3c-c11df7ff5f69" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeposits"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_861d87fc-64d2-40b0-9423-0e66e47a4547" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_6179a9f0-a92f-4ade-8e3c-c11df7ff5f69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f7da182a-710c-4fdc-8e51-8203cbef0cee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_0b780739-5c3f-4df6-b8f1-5ff75d850fb2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f7da182a-710c-4fdc-8e51-8203cbef0cee" xlink:to="loc_us-gaap_ProfitLoss_0b780739-5c3f-4df6-b8f1-5ff75d850fb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_ebec5bcf-8904-4a13-9241-3b2c576fd6f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationAmortizationAndAccretionNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f7da182a-710c-4fdc-8e51-8203cbef0cee" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_ebec5bcf-8904-4a13-9241-3b2c576fd6f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_8a260dec-ff2b-4e40-8097-05b65750651b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f7da182a-710c-4fdc-8e51-8203cbef0cee" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_8a260dec-ff2b-4e40-8097-05b65750651b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_69bf841c-d1ec-478a-8354-eff3a8e9fbfd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f7da182a-710c-4fdc-8e51-8203cbef0cee" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_69bf841c-d1ec-478a-8354-eff3a8e9fbfd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesTradingGainLoss_4207e84d-b7a2-4d11-9285-7977971cd85e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesTradingGainLoss"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f7da182a-710c-4fdc-8e51-8203cbef0cee" xlink:to="loc_us-gaap_DebtSecuritiesTradingGainLoss_4207e84d-b7a2-4d11-9285-7977971cd85e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_e7ec9cf7-5f70-4b8d-8bc6-d564c06b32d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f7da182a-710c-4fdc-8e51-8203cbef0cee" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_e7ec9cf7-5f70-4b8d-8bc6-d564c06b32d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_1aa76d61-3a30-4813-a601-e3339a6ca8a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f7da182a-710c-4fdc-8e51-8203cbef0cee" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_1aa76d61-3a30-4813-a601-e3339a6ca8a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_35c3a18b-2b69-4a5f-aaef-a471d0d63ea9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f7da182a-710c-4fdc-8e51-8203cbef0cee" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_35c3a18b-2b69-4a5f-aaef-a471d0d63ea9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_18a3399a-a9f2-46e9-821d-c6b5b7f49fa5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f7da182a-710c-4fdc-8e51-8203cbef0cee" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_18a3399a-a9f2-46e9-821d-c6b5b7f49fa5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_e27cda29-d071-433c-a4b5-e8dfa19263e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f7da182a-710c-4fdc-8e51-8203cbef0cee" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_e27cda29-d071-433c-a4b5-e8dfa19263e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_bfd31416-4747-4628-9074-af76b2563522" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5238480d-aef0-4f03-ad8d-663902502659" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_bfd31416-4747-4628-9074-af76b2563522" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5238480d-aef0-4f03-ad8d-663902502659" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b5f9165c-ce12-404e-b94d-2aa189b7c45a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_bfd31416-4747-4628-9074-af76b2563522" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_b5f9165c-ce12-404e-b94d-2aa189b7c45a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_346c1245-a13f-4aab-8217-40d9883d7b3c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_bfd31416-4747-4628-9074-af76b2563522" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_346c1245-a13f-4aab-8217-40d9883d7b3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_b9ffbb81-d05b-4217-a475-cc81a498b285" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_ProceedsFromPaymentsForInInterestBearingDepositsInBanks_b9ffbb81-d05b-4217-a475-cc81a498b285" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForSecuritiesPurchasedUnderAgreementsToResell_7eb9afec-223d-4625-b821-366805628180" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForSecuritiesPurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_ProceedsFromPaymentsForSecuritiesPurchasedUnderAgreementsToResell_7eb9afec-223d-4625-b821-366805628180" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInFederalFundsSold_82f0d64e-1795-407a-8f3e-6549852dbe5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInFederalFundsSold"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_IncreaseDecreaseInFederalFundsSold_82f0d64e-1795-407a-8f3e-6549852dbe5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_05fcc397-2eca-4ff8-a80b-a76da4a479d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_05fcc397-2eca-4ff8-a80b-a76da4a479d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_1b7c79d3-00a0-4859-ba25-f4b908dffbff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_1b7c79d3-00a0-4859-ba25-f4b908dffbff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities_008c0df5-2c5b-42de-8cfb-28d3f133a398" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities_008c0df5-2c5b-42de-8cfb-28d3f133a398" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_ea1bf5fc-ff71-48f4-b910-f633eda80f78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_ea1bf5fc-ff71-48f4-b910-f633eda80f78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromFederalHomeLoanBankAdvances_94658118-7622-4d02-a059-d95f1dc76df3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromFederalHomeLoanBankAdvances"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_ProceedsFromFederalHomeLoanBankAdvances_94658118-7622-4d02-a059-d95f1dc76df3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForFederalHomeLoanBankAdvances_34a777c7-1941-466d-80ef-e79b080f681d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForFederalHomeLoanBankAdvances"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_PaymentsForFederalHomeLoanBankAdvances_34a777c7-1941-466d-80ef-e79b080f681d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_78e2f046-1b0c-4847-a49b-c65fb57edc33" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_78e2f046-1b0c-4847-a49b-c65fb57edc33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_5b12868c-991e-46cd-952b-bcbefed347da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLoansHeldForInvestment"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_5b12868c-991e-46cd-952b-bcbefed347da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_4f0259fd-4670-4426-a0fd-25d6f5cb5e0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_4f0259fd-4670-4426-a0fd-25d6f5cb5e0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfTradingSecuritiesHeldforinvestment_26fd7f66-31ff-49ba-af86-cf822a11c114" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfTradingSecuritiesHeldforinvestment"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_492d86cd-de98-4d9e-926a-b5bd0e13c03c" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfTradingSecuritiesHeldforinvestment_26fd7f66-31ff-49ba-af86-cf822a11c114" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/AdvancesPortfoliobyYearofContractualMaturityDetails" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#AdvancesPortfoliobyYearofContractualMaturityDetails"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/AdvancesPortfoliobyYearofContractualMaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_f953ccf6-fa2c-477e-a613-18e2be203d62" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesParValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInNextRollingTwelveMonths_c08cc948-c4b5-44c8-b5ff-771a6b589b5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInNextRollingTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_f953ccf6-fa2c-477e-a613-18e2be203d62" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInNextRollingTwelveMonths_c08cc948-c4b5-44c8-b5ff-771a6b589b5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearTwo_ea713f89-7d82-44c9-b9a7-5bc58c4ffe0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_f953ccf6-fa2c-477e-a613-18e2be203d62" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearTwo_ea713f89-7d82-44c9-b9a7-5bc58c4ffe0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearThree_efa71abb-d3b7-42ad-a978-e768dff8f0d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_f953ccf6-fa2c-477e-a613-18e2be203d62" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearThree_efa71abb-d3b7-42ad-a978-e768dff8f0d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearFour_69867732-3e80-4661-94bc-4b15d8df4e96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_f953ccf6-fa2c-477e-a613-18e2be203d62" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearFour_69867732-3e80-4661-94bc-4b15d8df4e96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearFive_ce0207b4-4d05-4ffc-acf4-601527309736" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_f953ccf6-fa2c-477e-a613-18e2be203d62" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryInRollingYearFive_ce0207b4-4d05-4ffc-acf4-601527309736" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryAfterRollingYearFive_7c0a659d-29d4-41fe-b6b3-0df90851d741" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryAfterRollingYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_f953ccf6-fa2c-477e-a613-18e2be203d62" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryAfterRollingYearFive_7c0a659d-29d4-41fe-b6b3-0df90851d741" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvances_9f973a82-60b3-42d5-9ac8-056ec2ccdf30" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvances"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_7af8335c-8535-4b5b-b405-6ed417f738d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesParValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvances_9f973a82-60b3-42d5-9ac8-056ec2ccdf30" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_7af8335c-8535-4b5b-b405-6ed417f738d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesDiscount_fb587258-0f3e-4ebf-856d-5180d4d15ace" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesDiscount"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvances_9f973a82-60b3-42d5-9ac8-056ec2ccdf30" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesDiscount_fb587258-0f3e-4ebf-856d-5180d4d15ace" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesValuationAdjustmentsForHedgingActivities_7db525ec-77dd-4b57-a0e8-f9d01b8e7918" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesValuationAdjustmentsForHedgingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvances_9f973a82-60b3-42d5-9ac8-056ec2ccdf30" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesValuationAdjustmentsForHedgingActivities_7db525ec-77dd-4b57-a0e8-f9d01b8e7918" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/AdvancesAdvancesbyYearofContractualMaturityorNextCallDateorNextConvertibleDateDetails" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#AdvancesAdvancesbyYearofContractualMaturityorNextCallDateorNextConvertibleDateDetails"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/AdvancesAdvancesbyYearofContractualMaturityorNextCallDateorNextConvertibleDateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_64569da5-df46-48cb-a868-795bbd9bfe13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesParValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInNextRollingTwelveMonths_58218b69-dba5-4ef2-8282-9726e3a4db5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInNextRollingTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_64569da5-df46-48cb-a868-795bbd9bfe13" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInNextRollingTwelveMonths_58218b69-dba5-4ef2-8282-9726e3a4db5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearTwo_b4aa0c8b-7ea9-446b-a695-5b176c8dd57f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_64569da5-df46-48cb-a868-795bbd9bfe13" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearTwo_b4aa0c8b-7ea9-446b-a695-5b176c8dd57f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearThree_bc5e9b5f-2e74-42db-910e-18ac70760ad9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_64569da5-df46-48cb-a868-795bbd9bfe13" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearThree_bc5e9b5f-2e74-42db-910e-18ac70760ad9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearFour_ca6314c3-e4d0-4db3-b1ce-3acba955078f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_64569da5-df46-48cb-a868-795bbd9bfe13" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearFour_ca6314c3-e4d0-4db3-b1ce-3acba955078f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearFive_b6558a9b-9c32-4670-89a2-17f5417eff4c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_64569da5-df46-48cb-a868-795bbd9bfe13" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateInRollingYearFive_b6558a9b-9c32-4670-89a2-17f5417eff4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateAfterRollingYearFive_e46d201a-e907-470e-91ed-53e0d869c4c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateAfterRollingYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_64569da5-df46-48cb-a868-795bbd9bfe13" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesEarlierOfContractualMaturityOrNextCallDateAfterRollingYearFive_e46d201a-e907-470e-91ed-53e0d869c4c3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/AdvancesInterestRatePaymentTermsDetails" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#AdvancesInterestRatePaymentTermsDetails"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/AdvancesInterestRatePaymentTermsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesFloatingRate_313aa28a-c6e4-419d-9ddc-6be25fff7240" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesFloatingRate"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesFloatingRateUnderOneYear_5e7df29d-2aa6-45d9-9536-24bba7c440d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesFloatingRateUnderOneYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesFloatingRate_313aa28a-c6e4-419d-9ddc-6be25fff7240" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesFloatingRateUnderOneYear_5e7df29d-2aa6-45d9-9536-24bba7c440d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesFloatingRateAfterOneYear_4463fccc-cff8-46fe-89d0-bcf30adf8ebe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesFloatingRateAfterOneYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesFloatingRate_313aa28a-c6e4-419d-9ddc-6be25fff7240" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesFloatingRateAfterOneYear_4463fccc-cff8-46fe-89d0-bcf30adf8ebe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_6e67b9de-774a-4f6a-bfcb-919c4d2a1b5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesParValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesFixedRate_0f87a731-4c48-4fc6-80ce-2fc3a0fe2295" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesFixedRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_6e67b9de-774a-4f6a-bfcb-919c4d2a1b5c" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesFixedRate_0f87a731-4c48-4fc6-80ce-2fc3a0fe2295" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesFloatingRate_b0b09d52-51a0-441a-bc7b-07de1f4b6e00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesFloatingRate"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesParValue_6e67b9de-774a-4f6a-bfcb-919c4d2a1b5c" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesFloatingRate_b0b09d52-51a0-441a-bc7b-07de1f4b6e00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesFixedRate_75c77181-da0e-45cd-a1a7-ced5fae1bfc3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesFixedRate"/>
    <link:loc xlink:type="locator" xlink:label="loc_fhlbpgh_FederalHomeLoanBankAdvancesFixedRateOvernight_e38880e7-212b-4709-b4fb-b3b5c09bd2f2" xlink:href="fhlbpgh-20250930.xsd#fhlbpgh_FederalHomeLoanBankAdvancesFixedRateOvernight"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesFixedRate_75c77181-da0e-45cd-a1a7-ced5fae1bfc3" xlink:to="loc_fhlbpgh_FederalHomeLoanBankAdvancesFixedRateOvernight_e38880e7-212b-4709-b4fb-b3b5c09bd2f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesFixedRateUnderOneYear_3110a6be-9cdd-47f8-ba29-34a6fe15fbb8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesFixedRateUnderOneYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesFixedRate_75c77181-da0e-45cd-a1a7-ced5fae1bfc3" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesFixedRateUnderOneYear_3110a6be-9cdd-47f8-ba29-34a6fe15fbb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesFixedRateAfterOneYear_c96a50ea-1c6f-4010-b949-b1dcbf210504" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesFixedRateAfterOneYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankAdvancesFixedRate_75c77181-da0e-45cd-a1a7-ced5fae1bfc3" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesFixedRateAfterOneYear_c96a50ea-1c6f-4010-b949-b1dcbf210504" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/DerivativesandHedgingActivitiesOffsettingAssetsDetails" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#DerivativesandHedgingActivitiesOffsettingAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/DerivativesandHedgingActivitiesOffsettingAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fhlbpgh_DerivativeAssetNetFairValueAmountAfterOffsettingAdjustment_ff3d76c2-feb4-4142-8a47-fd192d30b2c5" xlink:href="fhlbpgh-20250930.xsd#fhlbpgh_DerivativeAssetNetFairValueAmountAfterOffsettingAdjustment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_b379707c-f4cb-4c18-b983-dae492ccd5e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fhlbpgh_DerivativeAssetNetFairValueAmountAfterOffsettingAdjustment_ff3d76c2-feb4-4142-8a47-fd192d30b2c5" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_b379707c-f4cb-4c18-b983-dae492ccd5e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_8aa25999-22a0-4367-9a9f-ab7435f04dd5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fhlbpgh_DerivativeAssetNetFairValueAmountAfterOffsettingAdjustment_ff3d76c2-feb4-4142-8a47-fd192d30b2c5" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_8aa25999-22a0-4367-9a9f-ab7435f04dd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_4dd90dc7-4e5d-4430-b007-a326e742d7ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_fhlbpgh_DerivativeAssetNetFairValueAmountAfterOffsettingAdjustment_a6cf9bd5-6aa7-460f-9aad-7ff432734675" xlink:href="fhlbpgh-20250930.xsd#fhlbpgh_DerivativeAssetNetFairValueAmountAfterOffsettingAdjustment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_4dd90dc7-4e5d-4430-b007-a326e742d7ba" xlink:to="loc_fhlbpgh_DerivativeAssetNetFairValueAmountAfterOffsettingAdjustment_a6cf9bd5-6aa7-460f-9aad-7ff432734675" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement_015dd288-f3d9-498e-a5be-33b9158646a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_4dd90dc7-4e5d-4430-b007-a326e742d7ba" xlink:to="loc_us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement_015dd288-f3d9-498e-a5be-33b9158646a1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/DerivativesandHedgingActivitiesOffsettingLiabilitiesDetails" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#DerivativesandHedgingActivitiesOffsettingLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/DerivativesandHedgingActivitiesOffsettingLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fhlbpgh_DerivativeLaibilityNetFairValueAmountAfterOffsettingAdjustment_3ddff820-ae24-45f6-9524-93209b98e8c2" xlink:href="fhlbpgh-20250930.xsd#fhlbpgh_DerivativeLaibilityNetFairValueAmountAfterOffsettingAdjustment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_1168bb84-c77f-4d11-af80-a36f83f89cec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fhlbpgh_DerivativeLaibilityNetFairValueAmountAfterOffsettingAdjustment_3ddff820-ae24-45f6-9524-93209b98e8c2" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_1168bb84-c77f-4d11-af80-a36f83f89cec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_e7ec4b64-a105-4828-84bf-675929bb56c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_fhlbpgh_DerivativeLaibilityNetFairValueAmountAfterOffsettingAdjustment_3ddff820-ae24-45f6-9524-93209b98e8c2" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_e7ec4b64-a105-4828-84bf-675929bb56c0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/ScheduleofLongtermDebtbyCallFeatureDetails" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#ScheduleofLongtermDebtbyCallFeatureDetails"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/ScheduleofLongtermDebtbyCallFeatureDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds_774b5da3-2bb3-4e3b-8431-5c28b2cfd74e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_213eefac-65d2-47dd-923a-2cde01a40e73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds_774b5da3-2bb3-4e3b-8431-5c28b2cfd74e" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_213eefac-65d2-47dd-923a-2cde01a40e73" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedPremium_dc2d05a2-8094-4b7a-95b9-8ba60a27cdc5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedPremium"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds_774b5da3-2bb3-4e3b-8431-5c28b2cfd74e" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedPremium_dc2d05a2-8094-4b7a-95b9-8ba60a27cdc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_00d863fa-eba3-44d1-8036-de236dec18e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds_774b5da3-2bb3-4e3b-8431-5c28b2cfd74e" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_00d863fa-eba3-44d1-8036-de236dec18e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnamortizedDebtIssuanceExpense_3cf402c9-0086-4f30-bd88-f0188116bfcd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnamortizedDebtIssuanceExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds_774b5da3-2bb3-4e3b-8431-5c28b2cfd74e" xlink:to="loc_us-gaap_UnamortizedDebtIssuanceExpense_3cf402c9-0086-4f30-bd88-f0188116bfcd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fhlbpgh_FederalHomeLoanBankConsolidatedObligationsBondsAdjustmentforHedgingActivities_45d172c8-3b9a-4858-afb7-ea1a67ca21d4" xlink:href="fhlbpgh-20250930.xsd#fhlbpgh_FederalHomeLoanBankConsolidatedObligationsBondsAdjustmentforHedgingActivities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FederalHomeLoanBankConsolidatedObligationsBonds_774b5da3-2bb3-4e3b-8431-5c28b2cfd74e" xlink:to="loc_fhlbpgh_FederalHomeLoanBankConsolidatedObligationsBondsAdjustmentforHedgingActivities_45d172c8-3b9a-4858-afb7-ea1a67ca21d4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/CapitalMandatorilyRedeemableCapitalStockbyContractualYearofRedemptionDetails" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#CapitalMandatorilyRedeemableCapitalStockbyContractualYearofRedemptionDetails"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/CapitalMandatorilyRedeemableCapitalStockbyContractualYearofRedemptionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount_3ab6dc80-da83-4bbf-8088-652284e913d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableWithinOneYear_179ef45a-2f96-4612-aa02-388c53ed294c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableWithinOneYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount_3ab6dc80-da83-4bbf-8088-652284e913d6" xlink:to="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableWithinOneYear_179ef45a-2f96-4612-aa02-388c53ed294c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearTwo_699a5f1c-270f-41e6-b837-d5c4ec233f12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount_3ab6dc80-da83-4bbf-8088-652284e913d6" xlink:to="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearTwo_699a5f1c-270f-41e6-b837-d5c4ec233f12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearThree_b06cd06f-a461-45db-8685-5015500e3503" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount_3ab6dc80-da83-4bbf-8088-652284e913d6" xlink:to="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearThree_b06cd06f-a461-45db-8685-5015500e3503" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearFour_e49a4125-7677-4ce3-9bb7-b1c67efc0f64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount_3ab6dc80-da83-4bbf-8088-652284e913d6" xlink:to="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearFour_e49a4125-7677-4ce3-9bb7-b1c67efc0f64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearFive_f03b42ac-00b7-452b-a93c-c65085b6eb6a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount_3ab6dc80-da83-4bbf-8088-652284e913d6" xlink:to="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionRedeemableInYearFive_f03b42ac-00b7-452b-a93c-c65085b6eb6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionPastContractualRedemptionDateDueToOutstandingActivity_43dab56b-aedb-4e80-af1c-955188966115" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionPastContractualRedemptionDateDueToOutstandingActivity"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsAmount_3ab6dc80-da83-4bbf-8088-652284e913d6" xlink:to="loc_us-gaap_FinancialInstrumentsSubjectToMandatoryRedemptionPastContractualRedemptionDateDueToOutstandingActivity_43dab56b-aedb-4e80-af1c-955188966115" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.fhlb-pgh.com/role/CommitmentsandContingenciesDetails" xlink:type="simple" xlink:href="fhlbpgh-20250930.xsd#CommitmentsandContingenciesDetails"/>
  <link:calculationLink xlink:role="http://www.fhlb-pgh.com/role/CommitmentsandContingenciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability_34dff65a-1d57-40ef-ae7f-756b305ede38" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_fhlbpgh_FairValueDisclosureOffBalanceSheetRisksFaceAmountExpiringWithinOneYear_3e1cd2f2-d4ee-4d7b-982f-e958fe4679bb" xlink:href="fhlbpgh-20250930.xsd#fhlbpgh_FairValueDisclosureOffBalanceSheetRisksFaceAmountExpiringWithinOneYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability_34dff65a-1d57-40ef-ae7f-756b305ede38" xlink:to="loc_fhlbpgh_FairValueDisclosureOffBalanceSheetRisksFaceAmountExpiringWithinOneYear_3e1cd2f2-d4ee-4d7b-982f-e958fe4679bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fhlbpgh_FairValueDisclosureOffBalanceSheetRisksFaceAmountExpiringAfterOneYear_28a99bd4-232d-4c5d-9dc8-8424031d6a62" xlink:href="fhlbpgh-20250930.xsd#fhlbpgh_FairValueDisclosureOffBalanceSheetRisksFaceAmountExpiringAfterOneYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountLiability_34dff65a-1d57-40ef-ae7f-756b305ede38" xlink:to="loc_fhlbpgh_FairValueDisclosureOffBalanceSheetRisksFaceAmountExpiringAfterOneYear_28a99bd4-232d-4c5d-9dc8-8424031d6a62" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
