<?xml version="1.0" encoding="utf-8"?>
<!--XBRL document created with Toppan Merrill Bridge  11.2.0.5 -->
<!--Based on XBRL 2.1-->
<!--Created on: 3/6/2026 8:43:37 PM-->
<!--Modified on: 3/6/2026 8:43:37 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-20251231.xsd#StatementConsolidatedStatementsOfAssetsAndLiabilities" roleURI="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfAssetsAndLiabilities" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20251231.xsd#StatementConsolidatedStatementsOfOperations" roleURI="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfOperations" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20251231.xsd#StatementConsolidatedStatementsOfCashFlows" roleURI="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfCashFlows" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20251231.xsd#StatementConsolidatedStatementsOfCashFlowsTotalCashCashEquivalentsAndRestrictedCash" roleURI="http://www.whitehorsefinance.com/role/StatementConsolidatedStatementsOfCashFlowsTotalCashCashEquivalentsAndRestrictedCash" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20251231.xsd#DisclosureInvestmentsSelectedBalanceSheetInformationForStrsJvDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureInvestmentsSelectedBalanceSheetInformationForStrsJvDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20251231.xsd#DisclosureInvestmentsSelectedStatementOfOperationsInformationForStrsJvDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureInvestmentsSelectedStatementOfOperationsInformationForStrsJvDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20251231.xsd#DisclosureBorrowingsAverageStatedInterestRatesAndAverageOutstandingBalancesDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureBorrowingsAverageStatedInterestRatesAndAverageOutstandingBalancesDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20251231.xsd#DisclosureRelatedPartyTransactionsBaseManagementFeeDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsBaseManagementFeeDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20251231.xsd#DisclosureRelatedPartyTransactionsPerformanceBasedIncentiveFeeDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureRelatedPartyTransactionsPerformanceBasedIncentiveFeeDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20251231.xsd#DisclosureFinancialHighlightsDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureFinancialHighlightsDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20251231.xsd#DisclosureIncomeTaxesReconciliationDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureIncomeTaxesReconciliationDetails" xmlns="http://www.xbrl.org/2003/linkbase" />
  <roleRef xlink:type="simple" xlink:href="whf-20251231.xsd#DisclosureIncomeTaxesTaxBasisComponentsOfDistributableEarningsDetails" roleURI="http://www.whitehorsefinance.com/role/DisclosureIncomeTaxesTaxBasisComponentsOfDistributableEarningsDetails" 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/2024/elts/us-gaap-2024.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentOwnedAtFairValue" xlink:label="us-gaap_InvestmentOwnedAtFairValue_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_InvestmentOwnedAtFairValue_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_639084266139764558" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashHeldInForeignCurrency" xlink:label="us-gaap_CashHeldInForeignCurrency_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_CashHeldInForeignCurrency_639084266139764558" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InterestAndDividendReceivable" xlink:label="whfcl_InterestAndDividendReceivable_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="whfcl_InterestAndDividendReceivable_639084266139764558" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReceivablesFromBrokersDealersAndClearingOrganizations" xlink:label="us-gaap_ReceivablesFromBrokersDealersAndClearingOrganizations_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_ReceivablesFromBrokersDealersAndClearingOrganizations_639084266139764558" order="6" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_DerivativeInstrumentsUnrealizedAppreciation" xlink:label="whfcl_DerivativeInstrumentsUnrealizedAppreciation_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="whfcl_DerivativeInstrumentsUnrealizedAppreciation_639084266139764558" order="7" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_PrepaidExpensesAndOtherReceivables" xlink:label="whfcl_PrepaidExpensesAndOtherReceivables_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="whfcl_PrepaidExpensesAndOtherReceivables_639084266139764558" order="8" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_Liabilities_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DistributionPayable" xlink:label="us-gaap_DistributionPayable_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639084266139764558" xlink:to="us-gaap_DistributionPayable_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ManagementFeePayable" xlink:label="us-gaap_ManagementFeePayable_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639084266139764558" xlink:to="us-gaap_ManagementFeePayable_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncentiveFeePayable" xlink:label="us-gaap_IncentiveFeePayable_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639084266139764558" xlink:to="us-gaap_IncentiveFeePayable_639084266139764558" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PayableInvestmentPurchase" xlink:label="us-gaap_PayableInvestmentPurchase_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639084266139764558" xlink:to="us-gaap_PayableInvestmentPurchase_639084266139764558" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="us-gaap_InterestPayableCurrentAndNoncurrent_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639084266139764558" xlink:to="us-gaap_InterestPayableCurrentAndNoncurrent_639084266139764558" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent" xlink:label="us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639084266139764558" xlink:to="us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_639084266139764558" order="6" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt" xlink:label="us-gaap_LongTermDebt_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639084266139764558" xlink:to="us-gaap_LongTermDebt_639084266139764558" order="7" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_AdvancesReceivedFromUnfundedCreditFacilities" xlink:label="whfcl_AdvancesReceivedFromUnfundedCreditFacilities_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639084266139764558" xlink:to="whfcl_AdvancesReceivedFromUnfundedCreditFacilities_639084266139764558" order="8" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities" xlink:label="us-gaap_DerivativeLiabilities_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Liabilities_639084266139764558" xlink:to="us-gaap_DerivativeLiabilities_639084266139764558" order="9" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="us-gaap_CommitmentsAndContingencies_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_CommitmentsAndContingencies_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity" xlink:label="us-gaap_StockholdersEquity_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_StockholdersEquity_639084266139764558" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockValue" xlink:label="us-gaap_CommonStockValue_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity_639084266139764558" xlink:to="us-gaap_CommonStockValue_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="us-gaap_AdditionalPaidInCapital_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity_639084266139764558" xlink:to="us-gaap_AdditionalPaidInCapital_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity_639084266139764558" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit_639084266139764558" 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/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss_1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax" xlink:label="us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss_1" xlink:to="us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax" xlink:label="whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_639084266139764558" xlink:to="whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealizedInvestmentGainsLosses" xlink:label="us-gaap_RealizedInvestmentGainsLosses_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax_639084266139764558" xlink:to="us-gaap_RealizedInvestmentGainsLosses_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyTransactionGainLossRealized" xlink:label="us-gaap_ForeignCurrencyTransactionGainLossRealized_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax_639084266139764558" xlink:to="us-gaap_ForeignCurrencyTransactionGainLossRealized_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfDerivatives" xlink:label="us-gaap_GainLossOnSaleOfDerivatives_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_RealizedGainLossOnInvestmentDerivativeAndForeignCurrencyTransactionAndOtherBeforeTax_639084266139764558" xlink:to="us-gaap_GainLossOnSaleOfDerivatives_639084266139764558" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax" xlink:label="whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_639084266139764558" xlink:to="whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss" xlink:label="us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax_639084266139764558" xlink:to="us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealizedExcludingInvestmentPriceChangeBeforeTax" xlink:label="us-gaap_ForeignCurrencyTransactionGainLossUnrealizedExcludingInvestmentPriceChangeBeforeTax_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax_639084266139764558" xlink:to="us-gaap_ForeignCurrencyTransactionGainLossUnrealizedExcludingInvestmentPriceChangeBeforeTax_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnDerivatives" xlink:label="us-gaap_UnrealizedGainLossOnDerivatives_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingBeforeTax_639084266139764558" xlink:to="us-gaap_UnrealizedGainLossOnDerivatives_639084266139764558" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetInvestmentIncome" xlink:label="us-gaap_NetInvestmentIncome_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss_1" xlink:to="us-gaap_NetInvestmentIncome_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InvestmentExciseTax" xlink:label="whfcl_InvestmentExciseTax_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetInvestmentIncome_639084266139764558" xlink:to="whfcl_InvestmentExciseTax_639084266139764558" order="1" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InvestmentIncomeOperatingBeforeExpenseAndTax" xlink:label="whfcl_InvestmentIncomeOperatingBeforeExpenseAndTax_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetInvestmentIncome_639084266139764558" xlink:to="whfcl_InvestmentIncomeOperatingBeforeExpenseAndTax_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GrossInvestmentIncomeOperating" xlink:label="us-gaap_GrossInvestmentIncomeOperating_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_InvestmentIncomeOperatingBeforeExpenseAndTax_639084266139764558" xlink:to="us-gaap_GrossInvestmentIncomeOperating_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeOperatingPaidInCash" xlink:label="us-gaap_InterestIncomeOperatingPaidInCash_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_GrossInvestmentIncomeOperating_639084266139764558" xlink:to="us-gaap_InterestIncomeOperatingPaidInCash_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InvestmentFeeIncome" xlink:label="whfcl_InvestmentFeeIncome_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_GrossInvestmentIncomeOperating_639084266139764558" xlink:to="whfcl_InvestmentFeeIncome_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeOperatingPaidInKind" xlink:label="us-gaap_InterestIncomeOperatingPaidInKind_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_GrossInvestmentIncomeOperating_639084266139764558" xlink:to="us-gaap_InterestIncomeOperatingPaidInKind_639084266139764558" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendIncomeOperatingPaidInCash" xlink:label="us-gaap_DividendIncomeOperatingPaidInCash_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_GrossInvestmentIncomeOperating_639084266139764558" xlink:to="us-gaap_DividendIncomeOperatingPaidInCash_639084266139764558" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement" xlink:label="us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_InvestmentIncomeOperatingBeforeExpenseAndTax_639084266139764558" xlink:to="us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_639084266139764558" order="2" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InvestmentCompanyIncentiveFeesWaived" xlink:label="whfcl_InvestmentCompanyIncentiveFeesWaived_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_639084266139764558" xlink:to="whfcl_InvestmentCompanyIncentiveFeesWaived_639084266139764558" order="1" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_639084266139764558" xlink:to="us-gaap_InvestmentIncomeInvestmentExpense_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpense" xlink:label="us-gaap_InterestExpense_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_639084266139764558" xlink:to="us-gaap_InterestExpense_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ManagementFeeExpense" xlink:label="us-gaap_ManagementFeeExpense_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_639084266139764558" xlink:to="us-gaap_ManagementFeeExpense_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncentiveFeeExpense" xlink:label="us-gaap_IncentiveFeeExpense_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_639084266139764558" xlink:to="us-gaap_IncentiveFeeExpense_639084266139764558" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdministrativeFeesExpense" xlink:label="us-gaap_AdministrativeFeesExpense_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_639084266139764558" xlink:to="us-gaap_AdministrativeFeesExpense_639084266139764558" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="us-gaap_GeneralAndAdministrativeExpense_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense_639084266139764558" xlink:to="us-gaap_GeneralAndAdministrativeExpense_639084266139764558" 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/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities_639084266139764558" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="us-gaap_ProceedsFromIssuanceOfLongTermDebt_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639084266139764558" xlink:to="us-gaap_ProceedsFromIssuanceOfLongTermDebt_639084266139764558" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="us-gaap_RepaymentsOfLongTermDebt_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639084266139764558" xlink:to="us-gaap_RepaymentsOfLongTermDebt_639084266139764558" order="2" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfLoanCosts" xlink:label="us-gaap_PaymentsOfLoanCosts_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639084266139764558" xlink:to="us-gaap_PaymentsOfLoanCosts_639084266139764558" order="3" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InvestmentCompanyPaymentsOfDividendDistribution" xlink:label="whfcl_InvestmentCompanyPaymentsOfDividendDistribution_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639084266139764558" xlink:to="whfcl_InvestmentCompanyPaymentsOfDividendDistribution_639084266139764558" order="4" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromNotesPayable" xlink:label="us-gaap_ProceedsFromNotesPayable_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639084266139764558" xlink:to="us-gaap_ProceedsFromNotesPayable_639084266139764558" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities_639084266139764558" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock_639084266139764558" order="6" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable" xlink:label="us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_639084266139920711" order="1" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_639084266139920711" order="2" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInReceivableForInvestmentSold" xlink:label="us-gaap_IncreaseDecreaseInReceivableForInvestmentSold_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_IncreaseDecreaseInReceivableForInvestmentSold_639084266139920711" order="3" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased" xlink:label="us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_639084266139920711" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInManagementFeePayable" xlink:label="us-gaap_IncreaseDecreaseInManagementFeePayable_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_IncreaseDecreaseInManagementFeePayable_639084266139920711" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInIncentiveFeePayable" xlink:label="us-gaap_IncreaseDecreaseInIncentiveFeePayable_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_IncreaseDecreaseInIncentiveFeePayable_639084266139920711" order="6" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_639084266139920711" order="7" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_639084266139920711" order="8" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="us-gaap_IncreaseDecreaseInInterestPayableNet_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_IncreaseDecreaseInInterestPayableNet_639084266139920711" order="9" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet" xlink:label="us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet_639084266139920711" order="10" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_ProceedsFromDispositionOfInvestmentsToJointVenture" xlink:label="whfcl_ProceedsFromDispositionOfInvestmentsToJointVenture_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="whfcl_ProceedsFromDispositionOfInvestmentsToJointVenture_639084266139920711" order="11" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity" xlink:label="us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_639084266139920711" order="12" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity" xlink:label="us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_639084266139920711" order="13" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="us-gaap_AmortizationOfFinancingCosts_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_AmortizationOfFinancingCosts_639084266139920711" order="14" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfDebtDiscountPremium" xlink:label="us-gaap_AmortizationOfDebtDiscountPremium_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_AmortizationOfDebtDiscountPremium_639084266139920711" order="15" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnDerivatives" xlink:label="us-gaap_UnrealizedGainLossOnDerivatives_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_UnrealizedGainLossOnDerivatives_639084266139920711" order="16" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealizedInvestmentGainsLosses" xlink:label="us-gaap_RealizedInvestmentGainsLosses_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_RealizedInvestmentGainsLosses_639084266139920711" order="17" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss" xlink:label="us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_639084266139920711" order="18" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InterestIncomeOperatingPaidInKindIncludingAccruedIncome" xlink:label="whfcl_InterestIncomeOperatingPaidInKindIncludingAccruedIncome_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="whfcl_InterestIncomeOperatingPaidInKindIncludingAccruedIncome_639084266139920711" order="19" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_NetUnrealizedAppreciationDepreciationOnTranslationOfAssetsAndLiabilitiesInForeignCurrencies" xlink:label="whfcl_NetUnrealizedAppreciationDepreciationOnTranslationOfAssetsAndLiabilitiesInForeignCurrencies_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="whfcl_NetUnrealizedAppreciationDepreciationOnTranslationOfAssetsAndLiabilitiesInForeignCurrencies_639084266139920711" order="20" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities_639084266139764558" xlink:to="us-gaap_NetIncomeLoss_639084266139920711" 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/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_639084266139920711" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalents" xlink:label="us-gaap_RestrictedCashAndCashEquivalents_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:to="us-gaap_RestrictedCashAndCashEquivalents_639084266139920711" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashHeldInForeignCurrency" xlink:label="us-gaap_CashHeldInForeignCurrency_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations" xlink:to="us-gaap_CashHeldInForeignCurrency_639084266139920711" 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/2024/elts/us-gaap-2024.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets_2" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets" xlink:label="us-gaap_OtherAssets_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="us-gaap_OtherAssets_639084266139920711" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_UnrealizedAppreciationOnForeignCurrencyForwardContractsNet" xlink:label="whfcl_UnrealizedAppreciationOnForeignCurrencyForwardContractsNet_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="whfcl_UnrealizedAppreciationOnForeignCurrencyForwardContractsNet_639084266139920711" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestReceivable" xlink:label="us-gaap_InterestReceivable_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="us-gaap_InterestReceivable_639084266139920711" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_639084266139920711" order="4" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentOwnedAtFairValue" xlink:label="us-gaap_InvestmentOwnedAtFairValue_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="us-gaap_InvestmentOwnedAtFairValue_639084266139920711" order="5" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_ReceivableOnUnsettledInvestmentTransactions" xlink:label="whfcl_ReceivableOnUnsettledInvestmentTransactions_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_Assets_2" xlink:to="whfcl_ReceivableOnUnsettledInvestmentTransactions_639084266139920711" 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/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseBorrowings" xlink:label="us-gaap_InterestExpenseBorrowings_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense" xlink:to="us-gaap_InterestExpenseBorrowings_639084266139920711" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InterestExpenseNotesToMembers" xlink:label="whfcl_InterestExpenseNotesToMembers_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense" xlink:to="whfcl_InterestExpenseNotesToMembers_639084266139920711" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdministrativeFeesExpense" xlink:label="us-gaap_AdministrativeFeesExpense_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense" xlink:to="us-gaap_AdministrativeFeesExpense_639084266139920711" order="3" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherExpenses" xlink:label="us-gaap_OtherExpenses_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense" xlink:to="us-gaap_OtherExpenses_639084266139920711" order="4" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/DisclosureBorrowingsAverageStatedInterestRatesAndAverageOutstandingBalancesDetails" xlink:type="extended" xlink:title="99940604 - 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/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseDebt" xlink:label="us-gaap_InterestExpenseDebt" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="us-gaap_AmortizationOfFinancingCosts_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InterestExpenseDebt" xlink:to="us-gaap_AmortizationOfFinancingCosts_639084266139920711" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseDebtExcludingAmortization" xlink:label="us-gaap_InterestExpenseDebtExcludingAmortization_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InterestExpenseDebt" xlink:to="us-gaap_InterestExpenseDebtExcludingAmortization_639084266139920711" 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/2024/elts/us-gaap-2024.xsd#us-gaap_ManagementFeeExpense" xlink:label="us-gaap_ManagementFeeExpense_1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_BaseManagementFeeExpense" xlink:label="whfcl_BaseManagementFeeExpense_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_ManagementFeeExpense_1" xlink:to="whfcl_BaseManagementFeeExpense_639084266139920711" 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-20251231.xsd#whfcl_PerformanceBasedIncentiveFees" xlink:label="whfcl_PerformanceBasedIncentiveFees" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_IncomeIncentiveFee" xlink:label="whfcl_IncomeIncentiveFee_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_PerformanceBasedIncentiveFees" xlink:to="whfcl_IncomeIncentiveFee_639084266139920711" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InvestmentCompanyIncentiveFeesWaived" xlink:label="whfcl_InvestmentCompanyIncentiveFeesWaived_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_PerformanceBasedIncentiveFees" xlink:to="whfcl_InvestmentCompanyIncentiveFeesWaived_639084266139920711" 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/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyExpenseRatioAfterIncentiveAllocation" xlink:label="us-gaap_InvestmentCompanyExpenseRatioAfterIncentiveAllocation_1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyIncentiveFeeToAverageNetAssets" xlink:label="us-gaap_InvestmentCompanyIncentiveFeeToAverageNetAssets_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyExpenseRatioAfterIncentiveAllocation_1" xlink:to="us-gaap_InvestmentCompanyIncentiveFeeToAverageNetAssets_639084266139920711" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyExpenseRatioExcludingIncentiveFee" xlink:label="us-gaap_InvestmentCompanyExpenseRatioExcludingIncentiveFee_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyExpenseRatioAfterIncentiveAllocation_1" xlink:to="us-gaap_InvestmentCompanyExpenseRatioExcludingIncentiveFee_639084266139920711" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare" xlink:label="us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_NetRealizedAndUnrealizedGainsLossesOnInvestmentsAndForeignCurrencyTransactions" xlink:label="whfcl_NetRealizedAndUnrealizedGainsLossesOnInvestmentsAndForeignCurrencyTransactions_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_1" xlink:to="whfcl_NetRealizedAndUnrealizedGainsLossesOnInvestmentsAndForeignCurrencyTransactions_639084266139920711" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare" xlink:label="us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_1" xlink:to="us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_639084266139920711" order="2" use="optional" weight="1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/DisclosureIncomeTaxesReconciliationDetails" xlink:type="extended" xlink:title="99941202 - Disclosure - INCOME TAXES - Reconciliation (Details)" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InvestmentCompanyTaxableIncomeBeforeDistributions" xlink:label="whfcl_InvestmentCompanyTaxableIncomeBeforeDistributions" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_InvestmentCompanyTaxableIncomeBeforeDistributions" xlink:to="us-gaap_NetIncomeLoss_639084266139920711" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAndForeignCurrencyTransactionPriceChangeUnrealizedGainLossOperatingBeforeTax" xlink:label="us-gaap_DerivativeAndForeignCurrencyTransactionPriceChangeUnrealizedGainLossOperatingBeforeTax_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_InvestmentCompanyTaxableIncomeBeforeDistributions" xlink:to="us-gaap_DerivativeAndForeignCurrencyTransactionPriceChangeUnrealizedGainLossOperatingBeforeTax_639084266139920711" order="2" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InvestmentCompanyOtherBookToTaxDifferences" xlink:label="whfcl_InvestmentCompanyOtherBookToTaxDifferences_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_InvestmentCompanyTaxableIncomeBeforeDistributions" xlink:to="whfcl_InvestmentCompanyOtherBookToTaxDifferences_639084266139920711" order="3" use="optional" weight="-1" />
  </calculationLink>
  <calculationLink xlink:role="http://www.whitehorsefinance.com/role/DisclosureIncomeTaxesTaxBasisComponentsOfDistributableEarningsDetails" xlink:type="extended" xlink:title="99941204 - Disclosure - INCOME TAXES - Tax basis components of distributable earnings (Details)" xmlns="http://www.xbrl.org/2003/linkbase">
    <loc xlink:type="locator" xlink:href="whf-20251231.xsd#whfcl_InvestmentCompanyTaxBasisDistributableEarnings" xlink:label="whfcl_InvestmentCompanyTaxBasisDistributableEarnings" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss" xlink:label="us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_InvestmentCompanyTaxBasisDistributableEarnings" xlink:to="us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss_639084266139920711" order="1" use="optional" weight="1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedCapitalLossCarryforward" xlink:label="us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedCapitalLossCarryforward_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_InvestmentCompanyTaxBasisDistributableEarnings" xlink:to="us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedCapitalLossCarryforward_639084266139920711" order="2" use="optional" weight="-1" />
    <loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation" xlink:label="us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation_639084266139920711" />
    <calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="whfcl_InvestmentCompanyTaxBasisDistributableEarnings" xlink:to="us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation_639084266139920711" order="3" use="optional" weight="1" />
  </calculationLink>
</link:linkbase>
