<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFIN New ActiveDisclosure (SM) XBRL Linkbase Document - http://www.dfinsolutions.com/ -->
<!-- Creation Date :2023-02-08T16:31:15.4571+00:00 -->
<!-- Copyright (c) 2023 Donnelly Financial Solutions, Inc. All Rights Reserved. -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" 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">
  <link:roleRef roleURI="http://www.pennantpark.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities" xlink:href="pflt-20221231.xsd#Role_StatementConsolidatedStatementsOfAssetsAndLiabilities" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations" xlink:href="pflt-20221231.xsd#StatementConsolidatedStatementsOfOperations" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets" xlink:href="pflt-20221231.xsd#Role_StatementConsolidatedStatementsOfChangesInNetAssets" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlows" xlink:href="pflt-20221231.xsd#Role_StatementConsolidatedStatementsOfCashFlows" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAndCashAndCashEquivalentsDetails" xlink:href="pflt-20221231.xsd#Role_DisclosureInvestmentsScheduleOfInvestmentsAndCashAndCashEquivalentsDetails" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureInvestmentsConsolidatedStatementsOfAssetsAndLiabilitiesForPSSLDetails" xlink:href="pflt-20221231.xsd#Role_DisclosureInvestmentsConsolidatedStatementsOfAssetsAndLiabilitiesForPSSLDetails" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureInvestmentsConsolidatedStatementsOfOperationsForPSSLDetails" xlink:href="pflt-20221231.xsd#Role_DisclosureInvestmentsConsolidatedStatementsOfOperationsForPSSLDetails" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureTaxesAndDistributionsSummaryOfReconcilesNetDecreaseIncreaseInNetAssetsResultingFromOperationsToTaxableIncomeDetails" xlink:href="pflt-20221231.xsd#Role_DisclosureTaxesAndDistributionsSummaryOfReconcilesNetDecreaseIncreaseInNetAssetsResultingFromOperationsToTaxableIncomeDetails" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureTaxesAndDistributionsSummaryOfComponentsOfUndistributedTaxableIncomeOnTaxBasisAndReconciliationToAccumulatedDeficitOnBookBasisDetails" xlink:href="pflt-20221231.xsd#Role_DisclosureTaxesAndDistributionsSummaryOfComponentsOfUndistributedTaxableIncomeOnTaxBasisAndReconciliationToAccumulatedDeficitOnBookBasisDetails" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureTaxesAndDistributionsSummaryOfTaxCharacteristicsOfDistributionsDeclaredDetails" xlink:href="pflt-20221231.xsd#Role_DisclosureTaxesAndDistributionsSummaryOfTaxCharacteristicsOfDistributionsDeclaredDetails" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsSummaryOfFinancialHighlightsDetails" xlink:href="pflt-20221231.xsd#Role_DisclosureFinancialHighlightsSummaryOfFinancialHighlightsDetails" xlink:type="simple"/>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_Liabilities" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="pflt_DistributionsPayable" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_InvestmentOwnedAtFairValue" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_CommonStockValue" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_CommitmentsAndContingencies" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="pflt_PayableForInvestmentsPurchased" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_StockholdersEquity" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_LineOfCredit" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_InterestReceivable" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_LongTermNotesPayable" order="3" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="pflt_ReceivableForInvestmentsSold" order="3" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="pflt_AssetBackedDebtNet" order="4" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="pflt_DistributionsReceivable" order="4" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_InterestPayableCurrentAndNoncurrent" order="5" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_PrepaidExpenseAndOtherAssets" order="5" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_ManagementFeePayable" order="6" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="pflt_PerformanceBasedIncentiveFeePayable" order="7" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent" order="8" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_DeferredIncomeTaxLiabilitiesNet" order="9" weight="1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_DistributionsPayable" xlink:label="pflt_DistributionsPayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentOwnedAtFairValue" xlink:label="us-gaap_InvestmentOwnedAtFairValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity" xlink:label="us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockValue" xlink:label="us-gaap_CommonStockValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="us-gaap_CommitmentsAndContingencies"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_PayableForInvestmentsPurchased" xlink:label="pflt_PayableForInvestmentsPurchased"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCredit" xlink:label="us-gaap_LineOfCredit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestReceivable" xlink:label="us-gaap_InterestReceivable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermNotesPayable" xlink:label="us-gaap_LongTermNotesPayable"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_ReceivableForInvestmentsSold" xlink:label="pflt_ReceivableForInvestmentsSold"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_AssetBackedDebtNet" xlink:label="pflt_AssetBackedDebtNet"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_DistributionsReceivable" xlink:label="pflt_DistributionsReceivable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PrepaidExpenseAndOtherAssets" xlink:label="us-gaap_PrepaidExpenseAndOtherAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ManagementFeePayable" xlink:label="us-gaap_ManagementFeePayable"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_PerformanceBasedIncentiveFeePayable" xlink:label="pflt_PerformanceBasedIncentiveFeePayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfOperations">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease" xlink:to="us-gaap_NetInvestmentIncome" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_NetRealizedAndUnrealizedLossGainFromInvestmentsAndDebt" xlink:to="pflt_NetChangeInUnrealizedDepreciationAppreciationOnInvestmentsAndDebt" order="0" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_ExpensesBeforeProvisionForTaxes" xlink:to="us-gaap_ManagementFeeExpense" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CostsAndExpenses" xlink:to="pflt_ExpensesBeforeProvisionForTaxes" order="0" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetInvestmentIncome" xlink:to="us-gaap_InvestmentIncomeNonoperating" order="0" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_GainLossOnInvestments" xlink:to="pflt_NetRealizedGainLossOnNonControlledNonAffiliatedInvestments" order="0" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeNonoperating" xlink:to="us-gaap_InvestmentIncomeInterest" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_NetChangeInUnrealizedDepreciationAppreciationOnInvestmentsAndDebt" xlink:to="pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt" order="0" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_NetRealizedAndUnrealizedLossGainFromInvestmentsAndDebt" xlink:to="us-gaap_GainLossOnInvestments" order="1" weight="-1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_ExpensesBeforeProvisionForTaxes" xlink:to="us-gaap_IncentiveFeeExpense" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetInvestmentIncome" xlink:to="us-gaap_CostsAndExpenses" order="1" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_GainLossOnInvestments" xlink:to="pflt_NetRealizedGainLossOnNonControlledAndControlledAffiliatedInvestments" order="1" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeNonoperating" xlink:to="us-gaap_OtherIncome" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_NetChangeInUnrealizedDepreciationAppreciationOnInvestmentsAndDebt" xlink:to="pflt_ProvisionForTaxesOnUnrealizedAppreciationOnInvestments" order="1" weight="-1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease" xlink:to="pflt_NetRealizedAndUnrealizedLossGainFromInvestmentsAndDebt" order="2" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_ExpensesBeforeProvisionForTaxes" xlink:to="us-gaap_InterestAndDebtExpense" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CostsAndExpenses" xlink:to="pflt_ProvisionForTaxesOnNetInvestmentIncome" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeNonoperating" xlink:to="us-gaap_InvestmentIncomeDividend" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_NetChangeInUnrealizedDepreciationAppreciationOnInvestmentsAndDebt" xlink:to="pflt_NetChangeInUnrealizedDepreciationAppreciationControlledAndNonControlledAffiliatedInvestments" order="2" weight="-1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_ExpensesBeforeProvisionForTaxes" xlink:to="us-gaap_GeneralAndAdministrativeExpense" order="3" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_NetChangeInUnrealizedDepreciationAppreciationOnInvestmentsAndDebt" xlink:to="pflt_NetChangeInUnrealizedDepreciationAppreciationNonControlledNonAffiliatedInvestments" order="3" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_ExpensesBeforeProvisionForTaxes" xlink:to="us-gaap_OtherSellingGeneralAndAdministrativeExpense" order="4" weight="1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease" xlink:label="us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetInvestmentIncome" xlink:label="us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetRealizedAndUnrealizedLossGainFromInvestmentsAndDebt" xlink:label="pflt_NetRealizedAndUnrealizedLossGainFromInvestmentsAndDebt"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetChangeInUnrealizedDepreciationAppreciationOnInvestmentsAndDebt" xlink:label="pflt_NetChangeInUnrealizedDepreciationAppreciationOnInvestmentsAndDebt"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_ExpensesBeforeProvisionForTaxes" xlink:label="pflt_ExpensesBeforeProvisionForTaxes"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ManagementFeeExpense" xlink:label="us-gaap_ManagementFeeExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostsAndExpenses" xlink:label="us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentIncomeNonoperating" xlink:label="us-gaap_InvestmentIncomeNonoperating"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnInvestments" xlink:label="us-gaap_GainLossOnInvestments"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetRealizedGainLossOnNonControlledNonAffiliatedInvestments" xlink:label="pflt_NetRealizedGainLossOnNonControlledNonAffiliatedInvestments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="us-gaap_InvestmentIncomeInterest"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt" xlink:label="pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncentiveFeeExpense" xlink:label="us-gaap_IncentiveFeeExpense"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetRealizedGainLossOnNonControlledAndControlledAffiliatedInvestments" xlink:label="pflt_NetRealizedGainLossOnNonControlledAndControlledAffiliatedInvestments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherIncome" xlink:label="us-gaap_OtherIncome"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_ProvisionForTaxesOnUnrealizedAppreciationOnInvestments" xlink:label="pflt_ProvisionForTaxesOnUnrealizedAppreciationOnInvestments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestAndDebtExpense" xlink:label="us-gaap_InterestAndDebtExpense"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_ProvisionForTaxesOnNetInvestmentIncome" xlink:label="pflt_ProvisionForTaxesOnNetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentIncomeDividend" xlink:label="us-gaap_InvestmentIncomeDividend"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetChangeInUnrealizedDepreciationAppreciationControlledAndNonControlledAffiliatedInvestments" xlink:label="pflt_NetChangeInUnrealizedDepreciationAppreciationControlledAndNonControlledAffiliatedInvestments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="us-gaap_GeneralAndAdministrativeExpense"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetChangeInUnrealizedDepreciationAppreciationNonControlledNonAffiliatedInvestments" xlink:label="pflt_NetChangeInUnrealizedDepreciationAppreciationNonControlledNonAffiliatedInvestments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherSellingGeneralAndAdministrativeExpense" xlink:label="us-gaap_OtherSellingGeneralAndAdministrativeExpense"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_IncreaseDecreaseInInvestmentCompanyNetAssetsFromCapitalTransactions" xlink:to="pflt_InvestmentOfferingCost" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease" xlink:to="us-gaap_InvestmentIncomeNet" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease" xlink:to="us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_InvestmentCompanyDistributionToShareholders" xlink:to="us-gaap_InvestmentCompanyDividendDistribution" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_IncreaseDecreaseInInvestmentCompanyNetAssetsFromCapitalTransactions" xlink:to="us-gaap_PaymentsForRepurchaseOfInitialPublicOffering" order="1" weight="-1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease" xlink:to="us-gaap_RealizedInvestmentGainsLosses" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease" xlink:to="pflt_InvestmentCompanyDistributionToShareholders" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease" xlink:to="pflt_NetChangeInBenefitProvisionForTaxesOnUnrealizedAppreciationDepreciationOnInvestments" order="2" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease" xlink:to="pflt_IncreaseDecreaseInInvestmentCompanyNetAssetsFromCapitalTransactions" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease" xlink:to="us-gaap_UnrealizedGainLossOnInvestments" order="3" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease" xlink:to="pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt" order="4" weight="-1" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_IncreaseDecreaseInInvestmentCompanyNetAssetsFromCapitalTransactions" xlink:label="pflt_IncreaseDecreaseInInvestmentCompanyNetAssetsFromCapitalTransactions"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_InvestmentOfferingCost" xlink:label="pflt_InvestmentOfferingCost"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease" xlink:label="us-gaap_InvestmentCompanyNetAssetsFromOperationsIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentIncomeNet" xlink:label="us-gaap_InvestmentIncomeNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease" xlink:label="us-gaap_InvestmentCompanyNetAssetsPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_InvestmentCompanyDistributionToShareholders" xlink:label="pflt_InvestmentCompanyDistributionToShareholders"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentCompanyDividendDistribution" xlink:label="us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForRepurchaseOfInitialPublicOffering" xlink:label="us-gaap_PaymentsForRepurchaseOfInitialPublicOffering"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealizedInvestmentGainsLosses" xlink:label="us-gaap_RealizedInvestmentGainsLosses"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetChangeInBenefitProvisionForTaxesOnUnrealizedAppreciationDepreciationOnInvestments" xlink:label="pflt_NetChangeInBenefitProvisionForTaxesOnUnrealizedAppreciationDepreciationOnInvestments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_UnrealizedGainLossOnInvestments" xlink:label="us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt" xlink:label="pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlows">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_ProceedsFromIssuanceInitialPublicOffering" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_ProfitLoss" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_PaymentsOfStockIssuanceCosts" order="1" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="pflt_NetChangeInUnrealizedDepreciationOnInvestments" order="1" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_PaymentsOfDividends" order="2" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="pflt_NetChangeInUnrealizedDepreciationOnDebt" order="2" weight="-1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_PaymentsOfDebtIssuanceCosts" order="3" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_ProceedsFromDebtNetOfIssuanceCosts" order="4" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_ProceedsFromLinesOfCredit" order="5" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_RealizedInvestmentGainsLosses" order="5" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_RepaymentsOfLinesOfCredit" order="6" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" order="6" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_PaymentsForPurchaseOfSecuritiesOperatingActivities" order="7" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="pflt_AccretionAmortizationOfDeferredFinancingCosts" order="8" weight="-1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="pflt_PaymentInKindIncome" order="9" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInDividendsReceivable" order="10" weight="-1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_ProceedsFromSaleOfSecuritiesOperatingActivities" order="11" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" order="13" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="pflt_IncreaseDecreaseInReceivablesFromInvestmentsSold" order="14" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInPrepaidExpensesOther" order="15" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="pflt_IncreaseDecreaseInPayableForInvestmentsPurchased" order="16" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInInterestPayableNet" order="17" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="pflt_IncreaseDecreaseInBaseManagementFeePayable" order="18" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="pflt_IncreaseDecreaseInPerformanceBasedIncentiveFeePayable" order="19" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInOtherDeferredLiability" order="20" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" order="21" weight="1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering" xlink:label="us-gaap_ProceedsFromIssuanceInitialPublicOffering"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss" xlink:label="us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfStockIssuanceCosts" xlink:label="us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetChangeInUnrealizedDepreciationOnInvestments" xlink:label="pflt_NetChangeInUnrealizedDepreciationOnInvestments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDividends" xlink:label="us-gaap_PaymentsOfDividends"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetChangeInUnrealizedDepreciationOnDebt" xlink:label="pflt_NetChangeInUnrealizedDepreciationOnDebt"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromDebtNetOfIssuanceCosts" xlink:label="us-gaap_ProceedsFromDebtNetOfIssuanceCosts"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="us-gaap_ProceedsFromLinesOfCredit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealizedInvestmentGainsLosses" xlink:label="us-gaap_RealizedInvestmentGainsLosses"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForPurchaseOfSecuritiesOperatingActivities" xlink:label="us-gaap_PaymentsForPurchaseOfSecuritiesOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_AccretionAmortizationOfDeferredFinancingCosts" xlink:label="pflt_AccretionAmortizationOfDeferredFinancingCosts"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_PaymentInKindIncome" xlink:label="pflt_PaymentInKindIncome"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInDividendsReceivable" xlink:label="us-gaap_IncreaseDecreaseInDividendsReceivable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromSaleOfSecuritiesOperatingActivities" xlink:label="us-gaap_ProceedsFromSaleOfSecuritiesOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_IncreaseDecreaseInReceivablesFromInvestmentsSold" xlink:label="pflt_IncreaseDecreaseInReceivablesFromInvestmentsSold"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInPrepaidExpensesOther" xlink:label="us-gaap_IncreaseDecreaseInPrepaidExpensesOther"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_IncreaseDecreaseInPayableForInvestmentsPurchased" xlink:label="pflt_IncreaseDecreaseInPayableForInvestmentsPurchased"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_IncreaseDecreaseInBaseManagementFeePayable" xlink:label="pflt_IncreaseDecreaseInBaseManagementFeePayable"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_IncreaseDecreaseInPerformanceBasedIncentiveFeePayable" xlink:label="pflt_IncreaseDecreaseInPerformanceBasedIncentiveFeePayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherDeferredLiability" xlink:label="us-gaap_IncreaseDecreaseInOtherDeferredLiability"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAndCashAndCashEquivalentsDetails">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentsAndCash" xlink:to="us-gaap_Investments" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentsAndCash" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="1" weight="1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentsAndCash" xlink:label="us-gaap_InvestmentsAndCash"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Investments" xlink:label="us-gaap_Investments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureInvestmentsConsolidatedStatementsOfAssetsAndLiabilitiesForPSSLDetails">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_Liabilities" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="pflt_PayableForInvestmentsPurchased" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_CommitmentsAndContingencies" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_LineOfCredit" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_MembersEquity" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="pflt_AssetBackedDebtNet" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_NotesPayable" order="3" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="pflt_InterestPayableOnCreditFacility" order="4" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_InterestPayableCurrentAndNoncurrent" order="5" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent" order="6" weight="1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_PayableForInvestmentsPurchased" xlink:label="pflt_PayableForInvestmentsPurchased"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="us-gaap_CommitmentsAndContingencies"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCredit" xlink:label="us-gaap_LineOfCredit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MembersEquity" xlink:label="us-gaap_MembersEquity"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_AssetBackedDebtNet" xlink:label="pflt_AssetBackedDebtNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NotesPayable" xlink:label="us-gaap_NotesPayable"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_InterestPayableOnCreditFacility" xlink:label="pflt_InterestPayableOnCreditFacility"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureInvestmentsConsolidatedStatementsOfOperationsForPSSLDetails">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeNetAmortizationOfDiscountAndPremium" xlink:to="us-gaap_InvestmentIncomeInterest" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CostsAndExpenses" xlink:to="pflt_InterestAndExpensesOnCreditFacilityAndAssetBackedDebt" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetInvestmentIncome" xlink:to="us-gaap_InvestmentIncomeNetAmortizationOfDiscountAndPremium" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeNetAmortizationOfDiscountAndPremium" xlink:to="us-gaap_OtherIncome" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CostsAndExpenses" xlink:to="us-gaap_InterestAndDebtExpense" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetInvestmentIncome" xlink:to="us-gaap_CostsAndExpenses" order="1" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CostsAndExpenses" xlink:to="us-gaap_GeneralAndAdministrativeExpense" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CostsAndExpenses" xlink:to="us-gaap_OtherSellingGeneralAndAdministrativeExpense" order="3" weight="1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentIncomeNetAmortizationOfDiscountAndPremium" xlink:label="us-gaap_InvestmentIncomeNetAmortizationOfDiscountAndPremium"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="us-gaap_InvestmentIncomeInterest"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostsAndExpenses" xlink:label="us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_InterestAndExpensesOnCreditFacilityAndAssetBackedDebt" xlink:label="pflt_InterestAndExpensesOnCreditFacilityAndAssetBackedDebt"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetInvestmentIncome" xlink:label="us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherIncome" xlink:label="us-gaap_OtherIncome"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestAndDebtExpense" xlink:label="us-gaap_InterestAndDebtExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="us-gaap_GeneralAndAdministrativeExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherSellingGeneralAndAdministrativeExpense" xlink:label="us-gaap_OtherSellingGeneralAndAdministrativeExpense"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureTaxesAndDistributionsSummaryOfReconcilesNetDecreaseIncreaseInNetAssetsResultingFromOperationsToTaxableIncomeDetails">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeTaxReconciliationDeductionsDividends" xlink:to="us-gaap_NetIncomeLoss" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeTaxReconciliationDeductionsDividends" xlink:to="us-gaap_RealizedInvestmentGainsLosses" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeTaxReconciliationDeductionsDividends" xlink:to="pflt_NetChangeInUnrealizedDepreciationAppreciationOnInvestmentsAndDebt" order="2" weight="-1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeTaxReconciliationDeductionsDividends" xlink:to="pflt_OtherBookToTaxDifferences" order="3" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeTaxReconciliationDeductionsDividends" xlink:to="pflt_OtherNonDeductibleExpenses" order="4" weight="-1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxReconciliationDeductionsDividends" xlink:label="us-gaap_IncomeTaxReconciliationDeductionsDividends"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealizedInvestmentGainsLosses" xlink:label="us-gaap_RealizedInvestmentGainsLosses"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_NetChangeInUnrealizedDepreciationAppreciationOnInvestmentsAndDebt" xlink:label="pflt_NetChangeInUnrealizedDepreciationAppreciationOnInvestmentsAndDebt"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_OtherBookToTaxDifferences" xlink:label="pflt_OtherBookToTaxDifferences"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_OtherNonDeductibleExpenses" xlink:label="pflt_OtherNonDeductibleExpenses"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureTaxesAndDistributionsSummaryOfComponentsOfUndistributedTaxableIncomeOnTaxBasisAndReconciliationToAccumulatedDeficitOnBookBasisDetails">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="pflt_UndistributedNetInvestmentIncomeOnTaxBasis" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="pflt_ShortTermRealizedLossCarriedForward" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="pflt_LongTermRealizedLossCarriedForward" order="2" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="pflt_DistributionsPayableAndOtherBookToTaxDifferences" order="3" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet" order="4" weight="-1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_UndistributedNetInvestmentIncomeOnTaxBasis" xlink:label="pflt_UndistributedNetInvestmentIncomeOnTaxBasis"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_ShortTermRealizedLossCarriedForward" xlink:label="pflt_ShortTermRealizedLossCarriedForward"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_LongTermRealizedLossCarriedForward" xlink:label="pflt_LongTermRealizedLossCarriedForward"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_DistributionsPayableAndOtherBookToTaxDifferences" xlink:label="pflt_DistributionsPayableAndOtherBookToTaxDifferences"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet" xlink:label="us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureTaxesAndDistributionsSummaryOfTaxCharacteristicsOfDistributionsDeclaredDetails">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyDistributableEarnings" xlink:to="us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyDistributableEarnings" xlink:to="us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss" order="1" weight="1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentCompanyDistributableEarnings" xlink:label="us-gaap_InvestmentCompanyDistributableEarnings"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss" xlink:label="us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss" xlink:label="us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20221231/taxonomy/role/Role_DisclosureFinancialHighlightsSummaryOfFinancialHighlightsDetails">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare" xlink:to="us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_InvestmentCompanyRatioOfTotalExpensesToAverageNetAssets" xlink:to="pflt_InvestmentCompanyRatioOfOperatingExpensesToAverageNetAssets" order="0" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare" xlink:to="us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare" order="1" weight="1.00" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_InvestmentCompanyRatioOfTotalExpensesToAverageNetAssets" xlink:to="pflt_InvestmentCompanyRatioOfInterestAndExpensesOnDebtToAverageNetAssets" order="1" weight="1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare" xlink:label="us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare" xlink:label="us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_InvestmentCompanyRatioOfTotalExpensesToAverageNetAssets" xlink:label="pflt_InvestmentCompanyRatioOfTotalExpensesToAverageNetAssets"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_InvestmentCompanyRatioOfOperatingExpensesToAverageNetAssets" xlink:label="pflt_InvestmentCompanyRatioOfOperatingExpensesToAverageNetAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare" xlink:label="us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20221231.xsd#pflt_InvestmentCompanyRatioOfInterestAndExpensesOnDebtToAverageNetAssets" xlink:label="pflt_InvestmentCompanyRatioOfInterestAndExpensesOnDebtToAverageNetAssets"/>
  </link:calculationLink>
</link:linkbase>
