<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFIN New ActiveDisclosure (SM) XBRL Linkbase Document - http://www.dfinsolutions.com/ -->
<!-- Creation Date :2023-08-09T14:20:30.5551+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/20230630/taxonomy/role/Role_StatementConsolidatedStatementsOfAssetsAndLiabilities" xlink:href="pflt-20230630.xsd#Role_StatementConsolidatedStatementsOfAssetsAndLiabilities" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations" xlink:href="pflt-20230630.xsd#StatementConsolidatedStatementsOfOperations" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20230630/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInNetAssets" xlink:href="pflt-20230630.xsd#Role_StatementConsolidatedStatementsOfChangesInNetAssets" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20230630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlows" xlink:href="pflt-20230630.xsd#Role_StatementConsolidatedStatementsOfCashFlows" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20230630/taxonomy/role/Role_DisclosureInvestmentsScheduleOfInvestmentsAndCashAndCashEquivalentsDetails" xlink:href="pflt-20230630.xsd#Role_DisclosureInvestmentsScheduleOfInvestmentsAndCashAndCashEquivalentsDetails" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20230630/taxonomy/role/Role_DisclosureInvestmentsConsolidatedStatementsOfAssetsAndLiabilitiesForPSSLDetails" xlink:href="pflt-20230630.xsd#Role_DisclosureInvestmentsConsolidatedStatementsOfAssetsAndLiabilitiesForPSSLDetails" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20230630/taxonomy/role/Role_DisclosureInvestmentsConsolidatedStatementsOfOperationsForPSSLDetails" xlink:href="pflt-20230630.xsd#Role_DisclosureInvestmentsConsolidatedStatementsOfOperationsForPSSLDetails" xlink:type="simple"/>
  <link:roleRef roleURI="http://www.pennantpark.com/20230630/taxonomy/role/Role_DisclosureFinancialHighlightsSummaryOfFinancialHighlightsDetails" xlink:href="pflt-20230630.xsd#Role_DisclosureFinancialHighlightsSummaryOfFinancialHighlightsDetails" xlink:type="simple"/>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20230630/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_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_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_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_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_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_Assets" xlink:to="us-gaap_ReceivableInvestmentSale" order="3" 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_LineOfCredit" 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_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_LongTermNotesPayable" 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="pflt_AssetBackedDebtNet" 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="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="us-gaap_InterestPayableCurrentAndNoncurrent" 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="us-gaap_IncentiveFeePayable" order="7" 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_ManagementFeePayable" 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_OtherAccruedLiabilitiesCurrentAndNoncurrent" order="10" 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="11" weight="1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue" xlink:label="us-gaap_InvestmentOwnedAtFairValue"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_DistributionsPayable" xlink:label="pflt_DistributionsPayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity" xlink:label="us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue" xlink:label="us-gaap_CommonStockValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="us-gaap_CommitmentsAndContingencies"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestReceivable" xlink:label="us-gaap_InterestReceivable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReceivableInvestmentSale" xlink:label="us-gaap_ReceivableInvestmentSale"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCredit" xlink:label="us-gaap_LineOfCredit"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_DistributionsReceivable" xlink:label="pflt_DistributionsReceivable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermNotesPayable" xlink:label="us-gaap_LongTermNotesPayable"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_AssetBackedDebtNet" xlink:label="pflt_AssetBackedDebtNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssets" xlink:label="us-gaap_PrepaidExpenseAndOtherAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncentiveFeePayable" xlink:label="us-gaap_IncentiveFeePayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ManagementFeePayable" xlink:label="us-gaap_ManagementFeePayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20230630/taxonomy/role/StatementConsolidatedStatementsOfOperations">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingBeforeTax" xlink:to="pflt_ProvisionForTaxesOnUnrealizedAppreciationOnInvestments" 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_AdministrativeFeesExpense" 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_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax" xlink:to="us-gaap_DebtAndEquitySecuritiesRealizedGainLoss" 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_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingBeforeTax" xlink:to="us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingBeforeTax" 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_GrossInvestmentIncomeOperating" xlink:to="us-gaap_InterestIncomeOperating" 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_GrossInvestmentIncomeOperating" 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_InvestmentIncomeInvestmentExpense" 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_NetIncomeLoss" xlink:to="us-gaap_NetInvestmentIncome" 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_UnrealizedGainLossInvestmentAndDerivativeOperatingBeforeTax" xlink:to="pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt" 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_InterestAndDebtExpense" 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_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax" xlink:to="us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit" 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_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingBeforeTax" xlink:to="us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax" 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_GrossInvestmentIncomeOperating" xlink:to="us-gaap_DividendIncomeOperating" 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_NetInvestmentIncome" xlink:to="us-gaap_InvestmentIncomeInvestmentExpense" 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_InvestmentIncomeInvestmentExpense" xlink:to="us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit" 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_NetIncomeLoss" xlink:to="us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingBeforeTax" 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_UnrealizedGainLossInvestmentAndDerivativeOperatingBeforeTax" xlink:to="us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss" 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_IncentiveFeeExpense" 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_GrossInvestmentIncomeOperating" xlink:to="us-gaap_OtherIncome" 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" 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="5" weight="1" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingBeforeTax" xlink:label="us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingBeforeTax"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_ProvisionForTaxesOnUnrealizedAppreciationOnInvestments" xlink:label="pflt_ProvisionForTaxesOnUnrealizedAppreciationOnInvestments"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_ExpensesBeforeProvisionForTaxes" xlink:label="pflt_ExpensesBeforeProvisionForTaxes"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdministrativeFeesExpense" xlink:label="us-gaap_AdministrativeFeesExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax" xlink:label="us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss" xlink:label="us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingBeforeTax" xlink:label="us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingBeforeTax"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossInvestmentIncomeOperating" xlink:label="us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeOperating" xlink:label="us-gaap_InterestIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetInvestmentIncome" xlink:label="us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt" xlink:label="pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestAndDebtExpense" xlink:label="us-gaap_InterestAndDebtExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit" xlink:label="us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendIncomeOperating" xlink:label="us-gaap_DividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit" xlink:label="us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss" xlink:label="us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncentiveFeeExpense" xlink:label="us-gaap_IncentiveFeeExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherIncome" xlink:label="us-gaap_OtherIncome"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="us-gaap_GeneralAndAdministrativeExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ManagementFeeExpense" xlink:label="us-gaap_ManagementFeeExpense"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20230630/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="us-gaap_StockIssuedDuringPeriodValueNewIssues" 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_InvestmentIncomeNet" xlink:to="us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingBeforeTax" order="0" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_NetDistributionsToStockholders" xlink:to="us-gaap_InvestmentCompanyDividendDistribution" order="0" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="pflt_IncreaseDecreaseInInvestmentCompanyNetAssetsFromCapitalTransactions" xlink:to="pflt_InvestmentOfferingCost" 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_StockholdersEquityPeriodIncreaseDecrease" xlink:to="us-gaap_InvestmentIncomeNet" 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_InvestmentIncomeNet" xlink:to="pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt" 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_StockholdersEquityPeriodIncreaseDecrease" xlink:to="pflt_NetDistributionsToStockholders" 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_InvestmentIncomeNet" 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_StockholdersEquityPeriodIncreaseDecrease" xlink:to="pflt_IncreaseDecreaseInInvestmentCompanyNetAssetsFromCapitalTransactions" order="3" weight="1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeNet" xlink:to="us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit" order="3" weight="-1" use="optional"/>
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeNet" xlink:to="us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax" order="4" weight="1" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_IncreaseDecreaseInInvestmentCompanyNetAssetsFromCapitalTransactions" xlink:label="pflt_IncreaseDecreaseInInvestmentCompanyNetAssetsFromCapitalTransactions"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeNet" xlink:label="us-gaap_InvestmentIncomeNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingBeforeTax" xlink:label="us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingBeforeTax"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_NetDistributionsToStockholders" xlink:label="pflt_NetDistributionsToStockholders"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDividendDistribution" xlink:label="us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_InvestmentOfferingCost" xlink:label="pflt_InvestmentOfferingCost"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityPeriodIncreaseDecrease" xlink:label="us-gaap_StockholdersEquityPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt" xlink:label="pflt_NetChangeInChangeInUnrealizedDepreciationAppreciationOnDebt"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_NetChangeInBenefitProvisionForTaxesOnUnrealizedAppreciationDepreciationOnInvestments" xlink:label="pflt_NetChangeInBenefitProvisionForTaxesOnUnrealizedAppreciationDepreciationOnInvestments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit" xlink:label="us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax" xlink:label="us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20230630/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlows">
    <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_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_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_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_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_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_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_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_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_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_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_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_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_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_IncreaseDecreaseInIncentiveFeePayable" order="17" 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_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" order="18" 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_IncreaseDecreaseInInterestPayableNet" 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="pflt_IncreaseDecreaseInBaseManagementFeePayable" order="20" 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="21" 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="22" 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="23" weight="1.00" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss" xlink:label="us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering" xlink:label="us-gaap_ProceedsFromIssuanceInitialPublicOffering"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_NetChangeInUnrealizedDepreciationOnInvestments" xlink:label="pflt_NetChangeInUnrealizedDepreciationOnInvestments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfStockIssuanceCosts" xlink:label="us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_NetChangeInUnrealizedDepreciationOnDebt" xlink:label="pflt_NetChangeInUnrealizedDepreciationOnDebt"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDividends" xlink:label="us-gaap_PaymentsOfDividends"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromDebtNetOfIssuanceCosts" xlink:label="us-gaap_ProceedsFromDebtNetOfIssuanceCosts"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedInvestmentGainsLosses" xlink:label="us-gaap_RealizedInvestmentGainsLosses"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="us-gaap_ProceedsFromLinesOfCredit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForPurchaseOfSecuritiesOperatingActivities" xlink:label="us-gaap_PaymentsForPurchaseOfSecuritiesOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_AccretionAmortizationOfDeferredFinancingCosts" xlink:label="pflt_AccretionAmortizationOfDeferredFinancingCosts"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_PaymentInKindIncome" xlink:label="pflt_PaymentInKindIncome"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInDividendsReceivable" xlink:label="us-gaap_IncreaseDecreaseInDividendsReceivable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfSecuritiesOperatingActivities" xlink:label="us-gaap_ProceedsFromSaleOfSecuritiesOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_IncreaseDecreaseInReceivablesFromInvestmentsSold" xlink:label="pflt_IncreaseDecreaseInReceivablesFromInvestmentsSold"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidExpensesOther" xlink:label="us-gaap_IncreaseDecreaseInPrepaidExpensesOther"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_IncreaseDecreaseInPayableForInvestmentsPurchased" xlink:label="pflt_IncreaseDecreaseInPayableForInvestmentsPurchased"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInIncentiveFeePayable" xlink:label="us-gaap_IncreaseDecreaseInIncentiveFeePayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_IncreaseDecreaseInBaseManagementFeePayable" xlink:label="pflt_IncreaseDecreaseInBaseManagementFeePayable"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_IncreaseDecreaseInPerformanceBasedIncentiveFeePayable" xlink:label="pflt_IncreaseDecreaseInPerformanceBasedIncentiveFeePayable"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherDeferredLiability" xlink:label="us-gaap_IncreaseDecreaseInOtherDeferredLiability"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20230630/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/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsAndCash" xlink:label="us-gaap_InvestmentsAndCash"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Investments" xlink:label="us-gaap_Investments"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20230630/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_AccruedLiabilitiesCurrentAndNoncurrent" order="6" weight="1" use="optional"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_PayableForInvestmentsPurchased" xlink:label="pflt_PayableForInvestmentsPurchased"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="us-gaap_CommitmentsAndContingencies"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCredit" xlink:label="us-gaap_LineOfCredit"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MembersEquity" xlink:label="us-gaap_MembersEquity"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_AssetBackedDebtNet" xlink:label="pflt_AssetBackedDebtNet"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesPayable" xlink:label="us-gaap_NotesPayable"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_InterestPayableOnCreditFacility" xlink:label="pflt_InterestPayableOnCreditFacility"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent" xlink:label="us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20230630/taxonomy/role/Role_DisclosureInvestmentsConsolidatedStatementsOfOperationsForPSSLDetails">
    <link:calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_GrossInvestmentIncomeOperating" xlink:to="us-gaap_InvestmentIncomeInterest" 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_InvestmentIncomeInvestmentExpense" 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_GrossInvestmentIncomeOperating" xlink:to="us-gaap_OtherIncome" 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_NetInvestmentIncome" xlink:to="us-gaap_GrossInvestmentIncomeOperating" 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_InvestmentIncomeInvestmentExpense" 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_InvestmentIncomeInvestmentExpense" 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_InvestmentIncomeInvestmentExpense" 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_InvestmentIncomeInvestmentExpense" 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/2023/elts/us-gaap-2023.xsd#us-gaap_GrossInvestmentIncomeOperating" xlink:label="us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="us-gaap_InvestmentIncomeInterest"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_InterestAndExpensesOnCreditFacilityAndAssetBackedDebt" xlink:label="pflt_InterestAndExpensesOnCreditFacilityAndAssetBackedDebt"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherIncome" xlink:label="us-gaap_OtherIncome"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetInvestmentIncome" xlink:label="us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestAndDebtExpense" xlink:label="us-gaap_InterestAndDebtExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="us-gaap_GeneralAndAdministrativeExpense"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherSellingGeneralAndAdministrativeExpense" xlink:label="us-gaap_OtherSellingGeneralAndAdministrativeExpense"/>
  </link:calculationLink>
  <link:calculationLink xlink:type="extended" xlink:role="http://www.pennantpark.com/20230630/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/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare" xlink:label="us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare" xlink:label="us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_InvestmentCompanyRatioOfTotalExpensesToAverageNetAssets" xlink:label="pflt_InvestmentCompanyRatioOfTotalExpensesToAverageNetAssets"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_InvestmentCompanyRatioOfOperatingExpensesToAverageNetAssets" xlink:label="pflt_InvestmentCompanyRatioOfOperatingExpensesToAverageNetAssets"/>
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare" xlink:label="us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare"/>
    <link:loc xlink:type="locator" xlink:href="pflt-20230630.xsd#pflt_InvestmentCompanyRatioOfInterestAndExpensesOnDebtToAverageNetAssets" xlink:label="pflt_InvestmentCompanyRatioOfInterestAndExpensesOnDebtToAverageNetAssets"/>
  </link:calculationLink>
</link:linkbase>
