<?xml version="1.0" encoding="utf-8"?>
<!--XBRL document created with Toppan Merrill Bridge  11.4.0.1 -->
<!--Based on XBRL 2.1-->
<!--Created on: 8/10/2026 8:35:09 PM-->
<!--Modified on: 8/10/2026 8:35:09 PM-->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xlink="http://www.w3.org/1999/xlink">
  <roleRef xlink:type="simple" xlink:href="whf-20260630.xsd#StatementConsolidatedStatementsOfAssetsAndLiabilities" roleURI="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfAssetsAndLiabilities" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20260630.xsd#StatementConsolidatedStatementsOfOperations" roleURI="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfOperations" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20260630.xsd#StatementConsolidatedStatementsOfCashFlows" roleURI="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfCashFlows" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20260630.xsd#StatementConsolidatedStatementsOfCashFlowsTotalCashCashEquivalentsAndRestrictedCash" roleURI="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfCashFlowsTotalCashCashEquivalentsAndRestrictedCash" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20260630.xsd#DisclosureInvestmentsSelectedBalanceSheetInformationForStrsJvDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureInvestmentsSelectedBalanceSheetInformationForStrsJvDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20260630.xsd#DisclosureInvestmentsSelectedStatementOfOperationsInformationForStrsJvDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureInvestmentsSelectedStatementOfOperationsInformationForStrsJvDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20260630.xsd#DisclosureBorrowingsAverageStatedInterestRatesAndAverageOutstandingBalancesDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureBorrowingsAverageStatedInterestRatesAndAverageOutstandingBalancesDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20260630.xsd#DisclosureRelatedPartyTransactionsBaseManagementFeeDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20260630.xsd#DisclosureRelatedPartyTransactionsPerformanceBasedIncentiveFeeDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsPerformanceBasedIncentiveFeeDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20260630.xsd#DisclosureFinancialHighlightsDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureFinancialHighlightsDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item" />
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfAssetsAndLiabilities" xlink:type="extended" xlink:title="995200100 - Statement - Consolidated Statements of Assets and Liabilities" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentOwnedAtFairValue" xlink:label="us-gaap_InvestmentOwnedAtFairValue_639219909063462627" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_InvestmentOwnedAtFairValue_639219909063462627" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_639219909063462627" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_639219909063462627" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_639219909063462627" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_639219909063462627" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashHeldInForeignCurrency" xlink:label="us-gaap_CashHeldInForeignCurrency_639219909063462627" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_CashHeldInForeignCurrency_639219909063462627" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_InterestAndDividendReceivable" xlink:label="whfcl_InterestAndDividendReceivable_639219909063462627" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="whfcl_InterestAndDividendReceivable_639219909063462627" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReceivablesFromBrokersDealersAndClearingOrganizations" xlink:label="us-gaap_ReceivablesFromBrokersDealersAndClearingOrganizations_639219909063462627" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_ReceivablesFromBrokersDealersAndClearingOrganizations_639219909063462627" order="6" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_PrepaidExpensesAndOtherReceivables" xlink:label="whfcl_PrepaidExpensesAndOtherReceivables_639219909063462627" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="whfcl_PrepaidExpensesAndOtherReceivables_639219909063462627" order="7" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_DerivativeInstrumentsUnrealizedAppreciation" xlink:label="whfcl_DerivativeInstrumentsUnrealizedAppreciation_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="whfcl_DerivativeInstrumentsUnrealizedAppreciation_639219909063612790" order="8" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_Liabilities_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DistributionPayable" xlink:label="us-gaap_DistributionPayable_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639219909063612790" xlink:to="us-gaap_DistributionPayable_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ManagementFeePayable" xlink:label="us-gaap_ManagementFeePayable_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639219909063612790" xlink:to="us-gaap_ManagementFeePayable_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncentiveFeePayable" xlink:label="us-gaap_IncentiveFeePayable_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639219909063612790" xlink:to="us-gaap_IncentiveFeePayable_639219909063612790" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="us-gaap_InterestPayableCurrentAndNoncurrent_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639219909063612790" xlink:to="us-gaap_InterestPayableCurrentAndNoncurrent_639219909063612790" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent" xlink:label="us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639219909063612790" xlink:to="us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_639219909063612790" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt" xlink:label="us-gaap_LongTermDebt_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639219909063612790" xlink:to="us-gaap_LongTermDebt_639219909063612790" order="6" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_AdvancesReceivedFromUnfundedCreditFacilities" xlink:label="whfcl_AdvancesReceivedFromUnfundedCreditFacilities_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639219909063612790" xlink:to="whfcl_AdvancesReceivedFromUnfundedCreditFacilities_639219909063612790" order="7" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities" xlink:label="us-gaap_DerivativeLiabilities_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639219909063612790" xlink:to="us-gaap_DerivativeLiabilities_639219909063612790" order="8" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="us-gaap_CommitmentsAndContingencies_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_CommitmentsAndContingencies_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity" xlink:label="us-gaap_StockholdersEquity_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_StockholdersEquity_639219909063612790" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue" xlink:label="us-gaap_CommonStockValue_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity_639219909063612790" xlink:to="us-gaap_CommonStockValue_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="us-gaap_AdditionalPaidInCapital_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity_639219909063612790" xlink:to="us-gaap_AdditionalPaidInCapital_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity_639219909063612790" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit_639219909063612790" order="3" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfOperations" xlink:type="extended" xlink:title="995200200 - Statement - Consolidated Statements of Operations" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss_1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax" xlink:label="us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss_1" xlink:to="us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax" xlink:label="whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_639219909063612790" xlink:to="whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedInvestmentGainsLosses" xlink:label="us-gaap_RealizedInvestmentGainsLosses_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax_639219909063612790" xlink:to="us-gaap_RealizedInvestmentGainsLosses_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossRealized" xlink:label="us-gaap_ForeignCurrencyTransactionGainLossRealized_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax_639219909063612790" xlink:to="us-gaap_ForeignCurrencyTransactionGainLossRealized_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfDerivatives" xlink:label="us-gaap_GainLossOnSaleOfDerivatives_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax_639219909063612790" xlink:to="us-gaap_GainLossOnSaleOfDerivatives_639219909063612790" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax" xlink:label="whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_639219909063612790" xlink:to="whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss" xlink:label="us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax_639219909063612790" xlink:to="us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealizedExcludingInvestmentPriceChangeBeforeTax" xlink:label="us-gaap_ForeignCurrencyTransactionGainLossUnrealizedExcludingInvestmentPriceChangeBeforeTax_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax_639219909063612790" xlink:to="us-gaap_ForeignCurrencyTransactionGainLossUnrealizedExcludingInvestmentPriceChangeBeforeTax_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossOnDerivatives" xlink:label="us-gaap_UnrealizedGainLossOnDerivatives_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax_639219909063612790" xlink:to="us-gaap_UnrealizedGainLossOnDerivatives_639219909063612790" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentIncome" xlink:label="us-gaap_NetInvestmentIncome_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss_1" xlink:to="us-gaap_NetInvestmentIncome_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_InvestmentExciseTax" xlink:label="whfcl_InvestmentExciseTax_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetInvestmentIncome_639219909063612790" xlink:to="whfcl_InvestmentExciseTax_639219909063612790" order="1" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_InvestmentIncomeOperatingBeforeExpenseAndTax" xlink:label="whfcl_InvestmentIncomeOperatingBeforeExpenseAndTax_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetInvestmentIncome_639219909063612790" xlink:to="whfcl_InvestmentIncomeOperatingBeforeExpenseAndTax_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossInvestmentIncomeOperating" xlink:label="us-gaap_GrossInvestmentIncomeOperating_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_InvestmentIncomeOperatingBeforeExpenseAndTax_639219909063612790" xlink:to="us-gaap_GrossInvestmentIncomeOperating_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOperatingPaidInCash" xlink:label="us-gaap_InterestIncomeOperatingPaidInCash_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_GrossInvestmentIncomeOperating_639219909063612790" xlink:to="us-gaap_InterestIncomeOperatingPaidInCash_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_InvestmentFeeIncome" xlink:label="whfcl_InvestmentFeeIncome_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_GrossInvestmentIncomeOperating_639219909063612790" xlink:to="whfcl_InvestmentFeeIncome_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOperatingPaidInKind" xlink:label="us-gaap_InterestIncomeOperatingPaidInKind_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_GrossInvestmentIncomeOperating_639219909063612790" xlink:to="us-gaap_InterestIncomeOperatingPaidInKind_639219909063612790" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendIncomeOperatingPaidInCash" xlink:label="us-gaap_DividendIncomeOperatingPaidInCash_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_GrossInvestmentIncomeOperating_639219909063612790" xlink:to="us-gaap_DividendIncomeOperatingPaidInCash_639219909063612790" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement" xlink:label="us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_InvestmentIncomeOperatingBeforeExpenseAndTax_639219909063612790" xlink:to="us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_639219909063612790" order="2" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_InvestmentCompanyIncentiveFeesWaived" xlink:label="whfcl_InvestmentCompanyIncentiveFeesWaived_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_639219909063612790" xlink:to="whfcl_InvestmentCompanyIncentiveFeesWaived_639219909063612790" order="1" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_639219909063612790" xlink:to="us-gaap_InvestmentIncomeInvestmentExpense_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense" xlink:label="us-gaap_InterestExpense_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_639219909063612790" xlink:to="us-gaap_InterestExpense_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ManagementFeeExpense" xlink:label="us-gaap_ManagementFeeExpense_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_639219909063612790" xlink:to="us-gaap_ManagementFeeExpense_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncentiveFeeExpense" xlink:label="us-gaap_IncentiveFeeExpense_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_639219909063612790" xlink:to="us-gaap_IncentiveFeeExpense_639219909063612790" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdministrativeFeesExpense" xlink:label="us-gaap_AdministrativeFeesExpense_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_639219909063612790" xlink:to="us-gaap_AdministrativeFeesExpense_639219909063612790" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="us-gaap_GeneralAndAdministrativeExpense_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_639219909063612790" xlink:to="us-gaap_GeneralAndAdministrativeExpense_639219909063612790" order="5" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfCashFlows" xlink:type="extended" xlink:title="995200400 - Statement - Consolidated Statements of Cash Flows" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="us-gaap_ProceedsFromIssuanceOfLongTermDebt_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639219909063612790" xlink:to="us-gaap_ProceedsFromIssuanceOfLongTermDebt_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="us-gaap_RepaymentsOfLongTermDebt_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639219909063612790" xlink:to="us-gaap_RepaymentsOfLongTermDebt_639219909063612790" order="2" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfLoanCosts" xlink:label="us-gaap_PaymentsOfLoanCosts_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639219909063612790" xlink:to="us-gaap_PaymentsOfLoanCosts_639219909063612790" order="3" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_InvestmentCompanyPaymentsOfDividendDistribution" xlink:label="whfcl_InvestmentCompanyPaymentsOfDividendDistribution_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639219909063612790" xlink:to="whfcl_InvestmentCompanyPaymentsOfDividendDistribution_639219909063612790" order="4" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromNotesPayable" xlink:label="us-gaap_ProceedsFromNotesPayable_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639219909063612790" xlink:to="us-gaap_ProceedsFromNotesPayable_639219909063612790" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639219909063612790" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock_639219909063612790" order="6" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable" xlink:label="us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_639219909063612790" order="1" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_639219909063612790" order="2" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInReceivableForInvestmentSold" xlink:label="us-gaap_IncreaseDecreaseInReceivableForInvestmentSold_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_IncreaseDecreaseInReceivableForInvestmentSold_639219909063612790" order="3" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased" xlink:label="us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_639219909063612790" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInManagementFeePayable" xlink:label="us-gaap_IncreaseDecreaseInManagementFeePayable_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_IncreaseDecreaseInManagementFeePayable_639219909063612790" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInIncentiveFeePayable" xlink:label="us-gaap_IncreaseDecreaseInIncentiveFeePayable_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_IncreaseDecreaseInIncentiveFeePayable_639219909063612790" order="6" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_639219909063612790" order="7" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="us-gaap_IncreaseDecreaseInInterestPayableNet_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_IncreaseDecreaseInInterestPayableNet_639219909063612790" order="8" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet" xlink:label="us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet_639219909063612790" order="9" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_ProceedsFromDispositionOfInvestmentsToJointVenture" xlink:label="whfcl_ProceedsFromDispositionOfInvestmentsToJointVenture_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="whfcl_ProceedsFromDispositionOfInvestmentsToJointVenture_639219909063612790" order="10" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity" xlink:label="us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_639219909063612790" order="11" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity" xlink:label="us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_639219909063612790" order="12" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="us-gaap_AmortizationOfFinancingCosts_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_AmortizationOfFinancingCosts_639219909063612790" order="13" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfDebtDiscountPremium" xlink:label="us-gaap_AmortizationOfDebtDiscountPremium_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_AmortizationOfDebtDiscountPremium_639219909063612790" order="14" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossOnDerivatives" xlink:label="us-gaap_UnrealizedGainLossOnDerivatives_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_UnrealizedGainLossOnDerivatives_639219909063612790" order="15" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedInvestmentGainsLosses" xlink:label="us-gaap_RealizedInvestmentGainsLosses_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_RealizedInvestmentGainsLosses_639219909063612790" order="16" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_NetRealizedLossOnForeignCurrencyTransactions" xlink:label="whfcl_NetRealizedLossOnForeignCurrencyTransactions_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="whfcl_NetRealizedLossOnForeignCurrencyTransactions_639219909063612790" order="17" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss" xlink:label="us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_639219909063612790" order="18" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_InterestIncomeOperatingPaidInKindIncludingAccruedIncome" xlink:label="whfcl_InterestIncomeOperatingPaidInKindIncludingAccruedIncome_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="whfcl_InterestIncomeOperatingPaidInKindIncludingAccruedIncome_639219909063612790" order="19" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_NetUnrealizedAppreciationDepreciationOnTranslationOfAssetsAndLiabilitiesInForeignCurrencies" xlink:label="whfcl_NetUnrealizedAppreciationDepreciationOnTranslationOfAssetsAndLiabilitiesInForeignCurrencies_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="whfcl_NetUnrealizedAppreciationDepreciationOnTranslationOfAssetsAndLiabilitiesInForeignCurrencies_639219909063612790" order="20" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639219909063612790" xlink:to="us-gaap_NetIncomeLoss_639219909063612790" order="21" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfCashFlowsTotalCashCashEquivalentsAndRestrictedCash" xlink:type="extended" xlink:title="995200405 - Statement - Consolidated Statements of Cash Flows - Total cash, cash equivalents and restricted cash" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalents" xlink:label="us-gaap_RestrictedCashAndCashEquivalents_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:to="us-gaap_RestrictedCashAndCashEquivalents_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashHeldInForeignCurrency" xlink:label="us-gaap_CashHeldInForeignCurrency_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:to="us-gaap_CashHeldInForeignCurrency_639219909063612790" order="3" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/DisclosureInvestmentsSelectedBalanceSheetInformationForStrsJvDetails" xlink:type="extended" xlink:title="99940408 - Disclosure - INVESTMENTS - Selected Balance Sheet Information For STRS JV (Details)" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets_2" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets" xlink:label="us-gaap_OtherAssets_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="us-gaap_OtherAssets_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_UnrealizedAppreciationOnForeignCurrencyForwardContractsNet" xlink:label="whfcl_UnrealizedAppreciationOnForeignCurrencyForwardContractsNet_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="whfcl_UnrealizedAppreciationOnForeignCurrencyForwardContractsNet_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestReceivable" xlink:label="us-gaap_InterestReceivable_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="us-gaap_InterestReceivable_639219909063612790" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_639219909063612790" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentOwnedAtFairValue" xlink:label="us-gaap_InvestmentOwnedAtFairValue_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="us-gaap_InvestmentOwnedAtFairValue_639219909063612790" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_ReceivableOnUnsettledInvestmentTransactions" xlink:label="whfcl_ReceivableOnUnsettledInvestmentTransactions_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="whfcl_ReceivableOnUnsettledInvestmentTransactions_639219909063612790" order="6" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/DisclosureInvestmentsSelectedStatementOfOperationsInformationForStrsJvDetails" xlink:type="extended" xlink:title="99940409 - Disclosure - INVESTMENTS - Selected Statement of Operations Information For STRS JV (Details)" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseBorrowings" xlink:label="us-gaap_InterestExpenseBorrowings_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense" xlink:to="us-gaap_InterestExpenseBorrowings_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_InterestExpenseNotesToMembers" xlink:label="whfcl_InterestExpenseNotesToMembers_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense" xlink:to="whfcl_InterestExpenseNotesToMembers_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdministrativeFeesExpense" xlink:label="us-gaap_AdministrativeFeesExpense_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense" xlink:to="us-gaap_AdministrativeFeesExpense_639219909063612790" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherExpenses" xlink:label="us-gaap_OtherExpenses_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense" xlink:to="us-gaap_OtherExpenses_639219909063612790" order="4" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/DisclosureBorrowingsAverageStatedInterestRatesAndAverageOutstandingBalancesDetails" xlink:type="extended" xlink:title="99940605 - Disclosure - BORROWINGS - Average stated interest rates and average outstanding balances (Details)" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDebt" xlink:label="us-gaap_InterestExpenseDebt" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="us-gaap_AmortizationOfFinancingCosts_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InterestExpenseDebt" xlink:to="us-gaap_AmortizationOfFinancingCosts_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDebtExcludingAmortization" xlink:label="us-gaap_InterestExpenseDebtExcludingAmortization_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InterestExpenseDebt" xlink:to="us-gaap_InterestExpenseDebtExcludingAmortization_639219909063612790" order="2" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails" xlink:type="extended" xlink:title="99940702 - Disclosure - RELATED PARTY TRANSACTIONS - Base management fee (Details)" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ManagementFeeExpense" xlink:label="us-gaap_ManagementFeeExpense_1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_BaseManagementFeeExpense" xlink:label="whfcl_BaseManagementFeeExpense_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_ManagementFeeExpense_1" xlink:to="whfcl_BaseManagementFeeExpense_639219909063612790" order="1" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsPerformanceBasedIncentiveFeeDetails" xlink:type="extended" xlink:title="99940703 - Disclosure - RELATED PARTY TRANSACTIONS - Performance-based incentive fee (Details)" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_PerformanceBasedIncentiveFees" xlink:label="whfcl_PerformanceBasedIncentiveFees" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_IncomeIncentiveFee" xlink:label="whfcl_IncomeIncentiveFee_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_PerformanceBasedIncentiveFees" xlink:to="whfcl_IncomeIncentiveFee_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_InvestmentCompanyIncentiveFeesWaived" xlink:label="whfcl_InvestmentCompanyIncentiveFeesWaived_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_PerformanceBasedIncentiveFees" xlink:to="whfcl_InvestmentCompanyIncentiveFeesWaived_639219909063612790" order="2" use="optional" weight="-1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/DisclosureFinancialHighlightsDetails" xlink:type="extended" xlink:title="99941001 - Disclosure - FINANCIAL HIGHLIGHTS (Details)" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyExpenseRatioAfterIncentiveAllocation" xlink:label="us-gaap_InvestmentCompanyExpenseRatioAfterIncentiveAllocation_1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyIncentiveFeeToAverageNetAssets" xlink:label="us-gaap_InvestmentCompanyIncentiveFeeToAverageNetAssets_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyExpenseRatioAfterIncentiveAllocation_1" xlink:to="us-gaap_InvestmentCompanyIncentiveFeeToAverageNetAssets_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyExpenseRatioExcludingIncentiveFee" xlink:label="us-gaap_InvestmentCompanyExpenseRatioExcludingIncentiveFee_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyExpenseRatioAfterIncentiveAllocation_1" xlink:to="us-gaap_InvestmentCompanyExpenseRatioExcludingIncentiveFee_639219909063612790" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare" xlink:label="us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_1" />
    <loc xlink:type="locator" xlink:href="whf-20260630.xsd#whfcl_NetRealizedAndUnrealizedGainsLossesOnInvestmentsAndForeignCurrencyTransactions" xlink:label="whfcl_NetRealizedAndUnrealizedGainsLossesOnInvestmentsAndForeignCurrencyTransactions_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_1" xlink:to="whfcl_NetRealizedAndUnrealizedGainsLossesOnInvestmentsAndForeignCurrencyTransactions_639219909063612790" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare" xlink:label="us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_639219909063612790" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_1" xlink:to="us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_639219909063612790" order="2" use="optional" weight="1" />
  </calculationLink>
</link:linkbase>
