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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e64a9-e2a9-79ce-9d13-fc78c3cfcb14,g:2db07da5-41e8-410b-a00b-b742b6fa3664-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedStatementsofAssetsandLiabilities" xlink:type="simple" xlink:href="nmfc-20260630.xsd#ConsolidatedStatementsofAssetsandLiabilities"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/ConsolidatedStatementsofAssetsandLiabilities" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e64a9-f4f4-7e82-b317-081af25b642a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019e64a9-f4f4-7c64-8093-67cbceb7d134" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e64a9-f4f4-7e82-b317-081af25b642a" xlink:to="loc_us-gaap_PreferredStockValue_019e64a9-f4f4-7c64-8093-67cbceb7d134" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e64a9-f4f4-7319-926b-55b1e85c597b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e64a9-f4f4-7e82-b317-081af25b642a" xlink:to="loc_us-gaap_CommonStockValue_019e64a9-f4f4-7319-926b-55b1e85c597b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019e64a9-f4f4-7d86-a166-d159a3296a87" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e64a9-f4f4-7e82-b317-081af25b642a" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019e64a9-f4f4-7d86-a166-d159a3296a87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_019e64a9-f4f4-700d-8cd2-f331ef90972d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e64a9-f4f4-7e82-b317-081af25b642a" xlink:to="loc_us-gaap_TreasuryStockCommonValue_019e64a9-f4f4-700d-8cd2-f331ef90972d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e64a9-f4f4-709e-b7e4-049052ec4ea1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e64a9-f4f4-7e82-b317-081af25b642a" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e64a9-f4f4-709e-b7e4-049052ec4ea1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e64a9-f4f4-7cbe-8d57-5929fbc5d0df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_019e64a9-f4f4-7a16-bd4c-f91686b4293f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64a9-f4f4-7cbe-8d57-5929fbc5d0df" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_019e64a9-f4f4-7a16-bd4c-f91686b4293f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_019e64a9-f4f4-7add-90cc-38efb5c00647" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64a9-f4f4-7cbe-8d57-5929fbc5d0df" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_019e64a9-f4f4-7add-90cc-38efb5c00647" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e64a9-f4f4-70a0-800a-8694c2a2bdc8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64a9-f4f4-7cbe-8d57-5929fbc5d0df" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e64a9-f4f4-70a0-800a-8694c2a2bdc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendAndInterestReceivable_019e64a9-f4f4-7ed9-884f-481483322fce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendAndInterestReceivable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64a9-f4f4-7cbe-8d57-5929fbc5d0df" xlink:to="loc_us-gaap_DividendAndInterestReceivable_019e64a9-f4f4-7ed9-884f-481483322fce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019e64a9-f4f4-70b2-a40c-9ee6dff9ff89" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64a9-f4f4-7cbe-8d57-5929fbc5d0df" xlink:to="loc_us-gaap_DerivativeAssets_019e64a9-f4f4-70b2-a40c-9ee6dff9ff89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_019e64a9-f4f4-7ba4-8f93-3c705f811d98" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherReceivables"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64a9-f4f4-7cbe-8d57-5929fbc5d0df" xlink:to="loc_us-gaap_OtherReceivables_019e64a9-f4f4-7ba4-8f93-3c705f811d98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019e64a9-f4f4-79fe-ab06-cd4b5db9f199" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64a9-f4f4-7cbe-8d57-5929fbc5d0df" xlink:to="loc_us-gaap_OtherAssets_019e64a9-f4f4-79fe-ab06-cd4b5db9f199" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableInvestmentSale_019e64a9-f4f4-7b09-9a54-63b21b1d8690" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableInvestmentSale"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64a9-f4f4-7cbe-8d57-5929fbc5d0df" xlink:to="loc_us-gaap_ReceivableInvestmentSale_019e64a9-f4f4-7b09-9a54-63b21b1d8690" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e64a9-f4f4-7913-924d-21b97c50d609" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e64a9-f4f4-7e40-b4c1-a0c4b7bb98ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e64a9-f4f4-7913-924d-21b97c50d609" xlink:to="loc_us-gaap_StockholdersEquity_019e64a9-f4f4-7e40-b4c1-a0c4b7bb98ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019e64a9-f4f4-77b0-aa1c-57245746d9d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e64a9-f4f4-7913-924d-21b97c50d609" xlink:to="loc_us-gaap_MinorityInterest_019e64a9-f4f4-77b0-aa1c-57245746d9d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e64a9-f4f4-7728-9b0f-3233309d4698" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019e64a9-f4f4-7de9-8f5e-c9707725f62d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f4f4-7728-9b0f-3233309d4698" xlink:to="loc_us-gaap_LongTermDebt_019e64a9-f4f4-7de9-8f5e-c9707725f62d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_019e64a9-f4f4-75e5-b180-a4435f7ec795" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f4f4-7728-9b0f-3233309d4698" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_019e64a9-f4f4-75e5-b180-a4435f7ec795" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DueToCorrespondentBrokers_019e64a9-f4f4-7ad1-8cdf-859762234fe3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DueToCorrespondentBrokers"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f4f4-7728-9b0f-3233309d4698" xlink:to="loc_us-gaap_DueToCorrespondentBrokers_019e64a9-f4f4-7ad1-8cdf-859762234fe3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PayableInvestmentPurchase_019e64a9-f4f4-7bae-9601-15a7967f3655" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PayableInvestmentPurchase"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f4f4-7728-9b0f-3233309d4698" xlink:to="loc_us-gaap_PayableInvestmentPurchase_019e64a9-f4f4-7bae-9601-15a7967f3655" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeePayable_019e64a9-f4f4-784e-acbc-f6b11ef67585" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ManagementFeePayable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f4f4-7728-9b0f-3233309d4698" xlink:to="loc_us-gaap_ManagementFeePayable_019e64a9-f4f4-784e-acbc-f6b11ef67585" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeePayable_019e64a9-f4f4-71fa-95a6-bc40d78f8eeb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncentiveFeePayable"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f4f4-7728-9b0f-3233309d4698" xlink:to="loc_us-gaap_IncentiveFeePayable_019e64a9-f4f4-71fa-95a6-bc40d78f8eeb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019e64a9-f4f4-7915-bbb1-33841e34aae0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f4f4-7728-9b0f-3233309d4698" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019e64a9-f4f4-7915-bbb1-33841e34aae0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019e64a9-f4f4-7e6e-9d40-1abca287220f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f4f4-7728-9b0f-3233309d4698" xlink:to="loc_us-gaap_DerivativeLiabilities_019e64a9-f4f4-7e6e-9d40-1abca287220f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019e64a9-f4f4-71f2-af96-9dfa3e749d99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f4f4-7728-9b0f-3233309d4698" xlink:to="loc_us-gaap_OtherLiabilities_019e64a9-f4f4-71f2-af96-9dfa3e749d99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e64a9-f4f4-7cca-881c-0954d3ed8a7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e64a9-f4f4-7b52-9815-590c830b03c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e64a9-f4f4-7cca-881c-0954d3ed8a7c" xlink:to="loc_us-gaap_Liabilities_019e64a9-f4f4-7b52-9815-590c830b03c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e64a9-f4f4-73bd-b68b-1f1c0058db34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e64a9-f4f4-7cca-881c-0954d3ed8a7c" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e64a9-f4f4-73bd-b68b-1f1c0058db34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e64a9-f4f4-711c-8e12-214d8ca649ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e64a9-f4f4-7cca-881c-0954d3ed8a7c" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e64a9-f4f4-711c-8e12-214d8ca649ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019e64a9-f4f4-7d5c-9893-e0362e6c673c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019e64a9-f4f4-7ff4-94fd-1a16a2e4fce2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e64a9-f4f4-7d5c-9893-e0362e6c673c" xlink:to="loc_us-gaap_LineOfCredit_019e64a9-f4f4-7ff4-94fd-1a16a2e4fce2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebt_019e64a9-f4f4-76ef-94c0-7b201176e1c7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnsecuredDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e64a9-f4f4-7d5c-9893-e0362e6c673c" xlink:to="loc_us-gaap_UnsecuredDebt_019e64a9-f4f4-76ef-94c0-7b201176e1c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_GuaranteedDebt_019e64a9-f4f4-7b15-a55b-7f889eea76e5" xlink:href="nmfc-20260630.xsd#nmfc_GuaranteedDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e64a9-f4f4-7d5c-9893-e0362e6c673c" xlink:to="loc_nmfc_GuaranteedDebt_019e64a9-f4f4-7b15-a55b-7f889eea76e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019e64a9-f4f4-766d-be7c-6860d63b3ea1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e64a9-f4f4-7d5c-9893-e0362e6c673c" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019e64a9-f4f4-766d-be7c-6860d63b3ea1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="nmfc-20260630.xsd#ConsolidatedStatementsofOperations"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/ConsolidatedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e64a9-f5d8-7b6d-840e-1e75f5d998d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e64a9-f5d8-791f-85e5-1a2af125b652" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e64a9-f5d8-7b6d-840e-1e75f5d998d4" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e64a9-f5d8-791f-85e5-1a2af125b652" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_019e64a9-f5d8-7eab-a1fb-f626a3a59942" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e64a9-f5d8-7b6d-840e-1e75f5d998d4" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_019e64a9-f5d8-7eab-a1fb-f626a3a59942" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_019e64a9-f5d8-7e7e-9cce-72a937f91729" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019e64a9-f5d8-7840-8ca8-8d79b27ef0b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_019e64a9-f5d8-7e7e-9cce-72a937f91729" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019e64a9-f5d8-7840-8ca8-8d79b27ef0b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019e64a9-f5d8-721a-bba1-2e9b466307ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_019e64a9-f5d8-7e7e-9cce-72a937f91729" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019e64a9-f5d8-721a-bba1-2e9b466307ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019e64a9-f5d8-746f-9c45-c26293380184" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealized"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_019e64a9-f5d8-7e7e-9cce-72a937f91729" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019e64a9-f5d8-746f-9c45-c26293380184" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019e64a9-f5d8-79d5-9b74-532bca11344d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_019e64a9-f5d8-7e7e-9cce-72a937f91729" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019e64a9-f5d8-79d5-9b74-532bca11344d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_019e64a9-f5d8-7b3f-bb84-6be4dc799b8e" xlink:href="nmfc-20260630.xsd#nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_019e64a9-f5d8-7e7e-9cce-72a937f91729" xlink:to="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_019e64a9-f5d8-7b3f-bb84-6be4dc799b8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019e64a9-f5d8-71b1-a7eb-e1d8d3c6a53a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_019e64a9-f5d8-7032-9d70-432df1fbea24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_019e64a9-f5d8-71b1-a7eb-e1d8d3c6a53a" xlink:to="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_019e64a9-f5d8-7032-9d70-432df1fbea24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_019e64a9-f5d8-7261-81d8-a6055f32983b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_019e64a9-f5d8-71b1-a7eb-e1d8d3c6a53a" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_019e64a9-f5d8-7261-81d8-a6055f32983b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_019e64a9-f5d8-75d0-b426-c00224b591cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-75a4-b1b9-f618f766c8b1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_019e64a9-f5d8-75d0-b426-c00224b591cd" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-75a4-b1b9-f618f766c8b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyContractualFeeWaived_019e64a9-f5d8-7299-9314-5162f2de9a8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyContractualFeeWaived"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_019e64a9-f5d8-75d0-b426-c00224b591cd" xlink:to="loc_us-gaap_InvestmentCompanyContractualFeeWaived_019e64a9-f5d8-7299-9314-5162f2de9a8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-7060-b4a3-acecc456a778" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019e64a9-f5d8-7f4f-94b1-918f14a0cf6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-7060-b4a3-acecc456a778" xlink:to="loc_us-gaap_InterestExpenseOperating_019e64a9-f5d8-7f4f-94b1-918f14a0cf6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_019e64a9-f5d8-77f6-b845-ff4746ec0275" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ManagementFeeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-7060-b4a3-acecc456a778" xlink:to="loc_us-gaap_ManagementFeeExpense_019e64a9-f5d8-77f6-b845-ff4746ec0275" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpense_019e64a9-f5d8-7e08-8786-c84e3e532849" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncentiveFeeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-7060-b4a3-acecc456a778" xlink:to="loc_us-gaap_IncentiveFeeExpense_019e64a9-f5d8-7e08-8786-c84e3e532849" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_019e64a9-f5d8-7996-a9a8-2123f3b1ba7f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-7060-b4a3-acecc456a778" xlink:to="loc_us-gaap_ProfessionalFees_019e64a9-f5d8-7996-a9a8-2123f3b1ba7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdministrativeFeesExpense_019e64a9-f5d8-7aa8-8980-da611670a0a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdministrativeFeesExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-7060-b4a3-acecc456a778" xlink:to="loc_us-gaap_AdministrativeFeesExpense_019e64a9-f5d8-7aa8-8980-da611670a0a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_019e64a9-f5d8-7a7f-ad39-dbc9bc9f109f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-7060-b4a3-acecc456a778" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_019e64a9-f5d8-7a7f-ad39-dbc9bc9f109f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e64a9-f5d8-7262-86e5-e9371e18e0e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e64a9-f5d8-7285-9171-785dba01fbad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e64a9-f5d8-7262-86e5-e9371e18e0e5" xlink:to="loc_us-gaap_ProfitLoss_019e64a9-f5d8-7285-9171-785dba01fbad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019e64a9-f5d8-78ac-95e3-bf5bf0429ecb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e64a9-f5d8-7262-86e5-e9371e18e0e5" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019e64a9-f5d8-78ac-95e3-bf5bf0429ecb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e64a9-f5d8-7fcd-9683-bff4e980df12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019e64a9-f5d8-7aa6-b949-554886581d98" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetInvestmentIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e64a9-f5d8-7fcd-9683-bff4e980df12" xlink:to="loc_us-gaap_NetInvestmentIncome_019e64a9-f5d8-7aa6-b949-554886581d98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_019e64a9-f5d8-7961-84ea-e12d30549789" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e64a9-f5d8-7fcd-9683-bff4e980df12" xlink:to="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_019e64a9-f5d8-7961-84ea-e12d30549789" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_019e64a9-f5d8-79bc-859c-a0307f617913" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInCash_019e64a9-f5d8-714b-9e06-ef2a0680b552" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperatingPaidInCash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019e64a9-f5d8-79bc-859c-a0307f617913" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInCash_019e64a9-f5d8-714b-9e06-ef2a0680b552" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperatingPaidInCash_019e64a9-f5d8-79e7-b188-ec14eaf65257" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendIncomeOperatingPaidInCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019e64a9-f5d8-79bc-859c-a0307f617913" xlink:to="loc_us-gaap_DividendIncomeOperatingPaidInCash_019e64a9-f5d8-79e7-b188-ec14eaf65257" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperatingPaidInKind_019e64a9-f5d8-71a3-8b7f-ed3ace352264" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendIncomeOperatingPaidInKind"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019e64a9-f5d8-79bc-859c-a0307f617913" xlink:to="loc_us-gaap_DividendIncomeOperatingPaidInKind_019e64a9-f5d8-71a3-8b7f-ed3ace352264" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_019e64a9-f5d8-745d-a89d-869c3fab6a8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperatingPaidInKind"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019e64a9-f5d8-79bc-859c-a0307f617913" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_019e64a9-f5d8-745d-a89d-869c3fab6a8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_019e64a9-f5d8-7071-87ed-f5779638e7f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherIncome"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019e64a9-f5d8-79bc-859c-a0307f617913" xlink:to="loc_us-gaap_OtherIncome_019e64a9-f5d8-7071-87ed-f5779638e7f9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedStatementsofChangesinNetAssets" xlink:type="simple" xlink:href="nmfc-20260630.xsd#ConsolidatedStatementsofChangesinNetAssets"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/ConsolidatedStatementsofChangesinNetAssets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_019e64a9-f5d8-77ae-a941-133c9625ddd1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_019eaff8-94f2-73e9-9f31-d09ab352eaee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_019e64a9-f5d8-77ae-a941-133c9625ddd1" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_019eaff8-94f2-73e9-9f31-d09ab352eaee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_019e64a9-f5d8-723a-85bd-aecabfccf74a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_019e64a9-f5d8-77ae-a941-133c9625ddd1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_019e64a9-f5d8-723a-85bd-aecabfccf74a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e64a9-f5d8-703f-bfa9-099693dd44b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e64a9-f5d8-769e-982e-ff31dc8f3b1d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e64a9-f5d8-703f-bfa9-099693dd44b2" xlink:to="loc_us-gaap_ProfitLoss_019e64a9-f5d8-769e-982e-ff31dc8f3b1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_019e64a9-f5d8-7998-a05c-d26b56a04a48" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e64a9-f5d8-703f-bfa9-099693dd44b2" xlink:to="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_019e64a9-f5d8-7998-a05c-d26b56a04a48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e64a9-f5d8-797d-9f0f-286ddf815a33" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e64a9-f5d8-78ba-9920-4f2bfb58d44f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e64a9-f5d8-797d-9f0f-286ddf815a33" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e64a9-f5d8-78ba-9920-4f2bfb58d44f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e64a9-f5d8-7717-94fa-97818a2ef8b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e64a9-f5d8-797d-9f0f-286ddf815a33" xlink:to="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e64a9-f5d8-7717-94fa-97818a2ef8b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e64a9-f5d8-7b04-8ca6-777f76b8a3cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e64a9-f5d8-797d-9f0f-286ddf815a33" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e64a9-f5d8-7b04-8ca6-777f76b8a3cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019e64a9-f5d8-7e0f-a67a-4ae13cee053f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e64a9-f5d8-797d-9f0f-286ddf815a33" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019e64a9-f5d8-7e0f-a67a-4ae13cee053f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_019e64a9-f5d8-7124-8752-8f513ac8e909" xlink:href="nmfc-20260630.xsd#nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019e64a9-f5d8-797d-9f0f-286ddf815a33" xlink:to="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_019e64a9-f5d8-7124-8752-8f513ac8e909" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_019e64a9-f5d8-706d-976a-4a701f7d4322" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019e64a9-f5d8-76ee-965b-ba5f84d577a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_019e64a9-f5d8-706d-976a-4a701f7d4322" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019e64a9-f5d8-76ee-965b-ba5f84d577a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts_019e64a9-f5d8-7cbb-97c3-a90616ee8f19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_019e64a9-f5d8-706d-976a-4a701f7d4322" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts_019e64a9-f5d8-7cbb-97c3-a90616ee8f19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_019eaff7-cd2c-7b44-95c1-f70aec429a45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_019e64a9-f5d8-706d-976a-4a701f7d4322" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_019eaff7-cd2c-7b44-95c1-f70aec429a45" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="nmfc-20260630.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e64a9-f5d8-761e-b165-675e5855e030" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_ProfitLoss_019e64a9-f5d8-761e-b165-675e5855e030" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019e64a9-f5d8-792a-b782-34fa85c29a35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019e64a9-f5d8-792a-b782-34fa85c29a35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019e64a9-f5d8-756d-b08a-70cfbdc22112" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019e64a9-f5d8-756d-b08a-70cfbdc22112" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019e64a9-f5d8-7ee5-8e0d-f2dab7dac537" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealized"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019e64a9-f5d8-7ee5-8e0d-f2dab7dac537" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_019e64a9-f5d8-7594-89e7-0d931326e1ed" xlink:href="nmfc-20260630.xsd#nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_019e64a9-f5d8-7594-89e7-0d931326e1ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019e64a9-f5d8-7bc9-983a-e4a03f013649" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019e64a9-f5d8-7bc9-983a-e4a03f013649" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019e64a9-f5d8-774c-a9f2-61e916c01b5f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019e64a9-f5d8-774c-a9f2-61e916c01b5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_019e64a9-f5d8-7cdc-8ca9-852e79b8af64" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_019e64a9-f5d8-7cdc-8ca9-852e79b8af64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e64a9-f5d8-79e0-88fd-f9862e7f80e9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e64a9-f5d8-79e0-88fd-f9862e7f80e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019e64a9-f5d8-7f66-8c6b-f7f8eabaf25e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019e64a9-f5d8-7f66-8c6b-f7f8eabaf25e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_019e64a9-f5d8-7f18-9aef-46fce29f620e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_019e64a9-f5d8-7f18-9aef-46fce29f620e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_019e64a9-f5d8-71f7-848b-412e2900a52b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_019e64a9-f5d8-71f7-848b-412e2900a52b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_ProceedsFromPurchaseOfUndrawnPortionOfInvestmentOperatingActivity_019e64a9-f5d8-7969-a2db-0bf9bc32ce8d" xlink:href="nmfc-20260630.xsd#nmfc_ProceedsFromPurchaseOfUndrawnPortionOfInvestmentOperatingActivity"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_nmfc_ProceedsFromPurchaseOfUndrawnPortionOfInvestmentOperatingActivity_019e64a9-f5d8-7969-a2db-0bf9bc32ce8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_019e64a9-f5d8-77a3-8433-b3989832d531" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_019e64a9-f5d8-77a3-8433-b3989832d531" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivablesUnderRepurchaseAgreements_019e64a9-f5d8-7b09-9f51-de4a52d32e45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInReceivablesUnderRepurchaseAgreements"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivablesUnderRepurchaseAgreements_019e64a9-f5d8-7b09-9f51-de4a52d32e45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseDueFromAffiliates_019e64a9-f5d8-7ae2-b0f2-e5f131574e3d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseDueFromAffiliates"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_IncreaseDecreaseDueFromAffiliates_019e64a9-f5d8-7ae2-b0f2-e5f131574e3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e64a9-f5d8-71a2-a73c-138b691f3d6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e64a9-f5d8-71a2-a73c-138b691f3d6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInManagementFeePayable_019e64a9-f5d8-7c87-b5bb-509ec2a559c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInManagementFeePayable"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_IncreaseDecreaseInManagementFeePayable_019e64a9-f5d8-7c87-b5bb-509ec2a559c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInIncentiveFeePayable_019e64a9-f5d8-792a-9348-fd4f09b1f1ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInIncentiveFeePayable"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_IncreaseDecreaseInIncentiveFeePayable_019e64a9-f5d8-792a-9348-fd4f09b1f1ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_019e64a9-f5d8-78cf-84ca-3a2944215a53" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased"/>
    <link:calculationArc order="20" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_019e64a9-f5d8-78cf-84ca-3a2944215a53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_019e64a9-f5d8-7a4d-8125-720c75defefd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="21" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_019e64a9-f5d8-7a4d-8125-720c75defefd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_IncreaseDecreaseInDeferredIncomeTaxLiability_019e64a9-f5d8-7ed7-974b-778eae1f539e" xlink:href="nmfc-20260630.xsd#nmfc_IncreaseDecreaseInDeferredIncomeTaxLiability"/>
    <link:calculationArc order="22" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_nmfc_IncreaseDecreaseInDeferredIncomeTaxLiability_019e64a9-f5d8-7ed7-974b-778eae1f539e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_IncreaseDecreaseDueToCorrespondentBrokers_019eaffd-a963-7453-bd56-142d80f9e589" xlink:href="nmfc-20260630.xsd#nmfc_IncreaseDecreaseDueToCorrespondentBrokers"/>
    <link:calculationArc order="23" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_nmfc_IncreaseDecreaseDueToCorrespondentBrokers_019eaffd-a963-7453-bd56-142d80f9e589" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019eaffd-a963-75ec-8789-751d29e84bb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="24" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-74f5-8735-895381849d7a" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019eaffd-a963-75ec-8789-751d29e84bb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e64a9-f5d8-7332-b41d-77ec7ea8cc46" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e64a9-f5d8-7332-b41d-77ec7ea8cc46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_019e64a9-f5d8-702b-a487-dc634ac09db1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_019e64a9-f5d8-702b-a487-dc634ac09db1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019e64a9-f5d8-7f2a-9d92-83da6764d130" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019e64a9-f5d8-7f2a-9d92-83da6764d130" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_019e64a9-f5d8-714f-838c-234a715c4ed4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_019e64a9-f5d8-714f-838c-234a715c4ed4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_019e64a9-f5d8-7db2-971c-5c8b8dbd731b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_019e64a9-f5d8-7db2-971c-5c8b8dbd731b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_019e64a9-f5d8-7d6d-a7c9-da81055e28a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfConvertibleDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_019e64a9-f5d8-7d6d-a7c9-da81055e28a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfUnsecuredDebt_019e64a9-f5d8-7048-90b8-0b3d6ec2115a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfUnsecuredDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:to="loc_us-gaap_RepaymentsOfUnsecuredDebt_019e64a9-f5d8-7048-90b8-0b3d6ec2115a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_019e64a9-f5d8-7456-858d-c89f417ca278" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfOtherLongTermDebt"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_019e64a9-f5d8-7456-858d-c89f417ca278" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_019eb000-c7aa-75de-adfc-a709029e5828" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromMinorityShareholders"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:to="loc_us-gaap_ProceedsFromMinorityShareholders_019eb000-c7aa-75de-adfc-a709029e5828" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_019eb000-c7aa-7250-8dd3-dce2bf6f1914" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_019eb000-c7aa-7250-8dd3-dce2bf6f1914" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019eb000-c7aa-797f-acd8-b25506186eb0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-7684-8c73-ec5db355a3aa" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019eb000-c7aa-797f-acd8-b25506186eb0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019e64a9-f5d8-7a87-94d7-adad0fa33849" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-7f5b-a1bc-40ff7f5c1dd9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019e64a9-f5d8-7a87-94d7-adad0fa33849" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e64a9-f5d8-7f5b-a1bc-40ff7f5c1dd9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-71d3-b153-29ab40cc2584" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019e64a9-f5d8-7a87-94d7-adad0fa33849" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e64a9-f5d8-71d3-b153-29ab40cc2584" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedScheduleofInvestmentsDerivativeInstruments" xlink:type="simple" xlink:href="nmfc-20260630.xsd#ConsolidatedScheduleofInvestmentsDerivativeInstruments"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/ConsolidatedScheduleofInvestmentsDerivativeInstruments" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019fba21-f707-7f38-ab0e-ddc2ef95b996" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019fba21-f707-784d-9b22-29564cecb5f6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019fba21-f707-7f38-ab0e-ddc2ef95b996" xlink:to="loc_us-gaap_DerivativeAssets_019fba21-f707-784d-9b22-29564cecb5f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019fba21-f707-7ab9-a635-91a7536aae80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019fba21-f707-7f38-ab0e-ddc2ef95b996" xlink:to="loc_us-gaap_DerivativeLiabilities_019fba21-f707-7ab9-a635-91a7536aae80" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/SummaryofSignificantAccountingPoliciesScheduleofCurrentIncomeTaxExpenseBenefitDeferredIncomeTaxBenefitProvisionandTotalIncomeTaxBenefitProvisionDetails" xlink:type="simple" xlink:href="nmfc-20260630.xsd#SummaryofSignificantAccountingPoliciesScheduleofCurrentIncomeTaxExpenseBenefitDeferredIncomeTaxBenefitProvisionandTotalIncomeTaxBenefitProvisionDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/SummaryofSignificantAccountingPoliciesScheduleofCurrentIncomeTaxExpenseBenefitDeferredIncomeTaxBenefitProvisionandTotalIncomeTaxBenefitProvisionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e64a9-f5d8-7ce6-92f6-ddf695096a97" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019e64a9-f5d8-7858-ac83-2d9df455dc81" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019e64a9-f5d8-7ce6-92f6-ddf695096a97" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019e64a9-f5d8-7858-ac83-2d9df455dc81" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e64a9-f5d8-7d82-973f-97d352d30b71" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019e64a9-f5d8-7ce6-92f6-ddf695096a97" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019e64a9-f5d8-7d82-973f-97d352d30b71" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/InvestmentsSelectedBalanceSheetInformationforSLPIIIandSLPIVDetails" xlink:type="simple" xlink:href="nmfc-20260630.xsd#InvestmentsSelectedBalanceSheetInformationforSLPIIIandSLPIVDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/InvestmentsSelectedBalanceSheetInformationforSLPIIIandSLPIVDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e64a9-f5d8-77c9-a622-282e81371b85" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019e64a9-f5d8-7867-a775-3999c89bbd9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f5d8-77c9-a622-282e81371b85" xlink:to="loc_us-gaap_LineOfCredit_019e64a9-f5d8-7867-a775-3999c89bbd9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019e64a9-f5d8-705f-9047-190cc0972eed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f5d8-77c9-a622-282e81371b85" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019e64a9-f5d8-705f-9047-190cc0972eed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PayableInvestmentPurchase_019e64a9-f5d8-7723-b2bd-bc2de5e65a29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PayableInvestmentPurchase"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f5d8-77c9-a622-282e81371b85" xlink:to="loc_us-gaap_PayableInvestmentPurchase_019e64a9-f5d8-7723-b2bd-bc2de5e65a29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DistributionPayable_019e64a9-f5d8-750b-9e7d-9fc8cefcdb54" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DistributionPayable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f5d8-77c9-a622-282e81371b85" xlink:to="loc_us-gaap_DistributionPayable_019e64a9-f5d8-750b-9e7d-9fc8cefcdb54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019e64a9-f5d8-7ba5-8fd0-aa3afc393587" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e64a9-f5d8-77c9-a622-282e81371b85" xlink:to="loc_us-gaap_OtherLiabilities_019e64a9-f5d8-7ba5-8fd0-aa3afc393587" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e64a9-f5d8-720b-943d-bbae2c660389" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e64a9-f5d8-7896-ba3d-d3538a105ad9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e64a9-f5d8-720b-943d-bbae2c660389" xlink:to="loc_us-gaap_Liabilities_019e64a9-f5d8-7896-ba3d-d3538a105ad9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MembersEquity_019e64a9-f5d8-7fa4-a767-70b898744715" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MembersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e64a9-f5d8-720b-943d-bbae2c660389" xlink:to="loc_us-gaap_MembersEquity_019e64a9-f5d8-7fa4-a767-70b898744715" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e64a9-f5d8-7a4e-9ff5-6fe8798308b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_019e64a9-f5d8-77d1-96df-9788b8c74557" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64a9-f5d8-7a4e-9ff5-6fe8798308b5" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_019e64a9-f5d8-77d1-96df-9788b8c74557" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_CashAndOtherAssets_019e64a9-f5d8-7114-8dfc-0b4a7d67b635" xlink:href="nmfc-20260630.xsd#nmfc_CashAndOtherAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64a9-f5d8-7a4e-9ff5-6fe8798308b5" xlink:to="loc_nmfc_CashAndOtherAssets_019e64a9-f5d8-7114-8dfc-0b4a7d67b635" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableInvestmentSale_019e64a9-f5d8-7761-b423-e1b709dceaac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableInvestmentSale"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e64a9-f5d8-7a4e-9ff5-6fe8798308b5" xlink:to="loc_us-gaap_ReceivableInvestmentSale_019e64a9-f5d8-7761-b423-e1b709dceaac" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/InvestmentsSelectedStatementofOperationsInformationforSLPIIIandSLPIVDetails" xlink:type="simple" xlink:href="nmfc-20260630.xsd#InvestmentsSelectedStatementofOperationsInformationforSLPIIIandSLPIVDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/InvestmentsSelectedStatementofOperationsInformationforSLPIIIandSLPIVDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_019e64a9-f5d8-7ab9-8fde-1929de4da963" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperating_019e64a9-f5d8-7efd-b0d6-6c353613c65b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019e64a9-f5d8-7ab9-8fde-1929de4da963" xlink:to="loc_us-gaap_InterestIncomeOperating_019e64a9-f5d8-7efd-b0d6-6c353613c65b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_019e64a9-f5d8-77a4-8d68-595ff0ff9c66" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019e64a9-f5d8-7ab9-8fde-1929de4da963" xlink:to="loc_us-gaap_OtherIncome_019e64a9-f5d8-77a4-8d68-595ff0ff9c66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_IncreaseDecreaseInMembersCapital_019e64a9-f5d8-7baf-a554-59fdaa7f4562" xlink:href="nmfc-20260630.xsd#nmfc_IncreaseDecreaseInMembersCapital"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019e64a9-f5d8-7c65-a8d9-aa268bee95ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_IncreaseDecreaseInMembersCapital_019e64a9-f5d8-7baf-a554-59fdaa7f4562" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019e64a9-f5d8-7c65-a8d9-aa268bee95ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019e64a9-f5d8-7800-bc37-434bc6301e2d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetInvestmentIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_IncreaseDecreaseInMembersCapital_019e64a9-f5d8-7baf-a554-59fdaa7f4562" xlink:to="loc_us-gaap_NetInvestmentIncome_019e64a9-f5d8-7800-bc37-434bc6301e2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019e64a9-f5d8-7f01-96e4-16145408bb23" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_IncreaseDecreaseInMembersCapital_019e64a9-f5d8-7baf-a554-59fdaa7f4562" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019e64a9-f5d8-7f01-96e4-16145408bb23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-7cbb-9490-d0b754af4791" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_019e64a9-f5d8-7b18-adea-1b560011d98f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherExpenses"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-7cbb-9490-d0b754af4791" xlink:to="loc_us-gaap_OtherExpenses_019e64a9-f5d8-7b18-adea-1b560011d98f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019e64a9-f5d8-7cc1-b3f4-068c98c40707" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e64a9-f5d8-7cbb-9490-d0b754af4791" xlink:to="loc_us-gaap_InterestExpenseOperating_019e64a9-f5d8-7cc1-b3f4-068c98c40707" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/FairValueScheduleofNotionalAmountsandFairValuesoftheCompanysDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="nmfc-20260630.xsd#FairValueScheduleofNotionalAmountsandFairValuesoftheCompanysDerivativeInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/FairValueScheduleofNotionalAmountsandFairValuesoftheCompanysDerivativeInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_DerivativeAssetLiabilityNetSubjectToMasterNettingArrangementBeforeOffset_019e64a9-f5d8-7ff2-9ea6-be1df8540b6a" xlink:href="nmfc-20260630.xsd#nmfc_DerivativeAssetLiabilityNetSubjectToMasterNettingArrangementBeforeOffset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019e64a9-f5d8-7804-b28d-1f1dad57f81e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_DerivativeAssetLiabilityNetSubjectToMasterNettingArrangementBeforeOffset_019e64a9-f5d8-7ff2-9ea6-be1df8540b6a" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019e64a9-f5d8-7804-b28d-1f1dad57f81e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019e64a9-f5d8-7b92-b430-e198a25f49c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_DerivativeAssetLiabilityNetSubjectToMasterNettingArrangementBeforeOffset_019e64a9-f5d8-7ff2-9ea6-be1df8540b6a" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019e64a9-f5d8-7b92-b430-e198a25f49c3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/AgreementsScheduleofManagementFeesandIncentiveFeesIncurredbytheCompanyDetails" xlink:type="simple" xlink:href="nmfc-20260630.xsd#AgreementsScheduleofManagementFeesandIncentiveFeesIncurredbytheCompanyDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/AgreementsScheduleofManagementFeesandIncentiveFeesIncurredbytheCompanyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyInventiveFeeExpenseAfterReductionOfFeeWaiver_019e64a9-f5d8-7c50-b5a7-fc54f34225bd" xlink:href="nmfc-20260630.xsd#nmfc_InvestmentCompanyInventiveFeeExpenseAfterReductionOfFeeWaiver"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpenseIncomeBased_019e64a9-f5d8-7469-97f5-808ca4c48435" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncentiveFeeExpenseIncomeBased"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyInventiveFeeExpenseAfterReductionOfFeeWaiver_019e64a9-f5d8-7c50-b5a7-fc54f34225bd" xlink:to="loc_us-gaap_IncentiveFeeExpenseIncomeBased_019e64a9-f5d8-7469-97f5-808ca4c48435" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyIncentiveFeeContractualFeeWaived_019e64a9-f5d8-7336-9009-27ffe9729d24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyIncentiveFeeContractualFeeWaived"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyInventiveFeeExpenseAfterReductionOfFeeWaiver_019e64a9-f5d8-7c50-b5a7-fc54f34225bd" xlink:to="loc_us-gaap_InvestmentCompanyIncentiveFeeContractualFeeWaived_019e64a9-f5d8-7336-9009-27ffe9729d24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyManagementFeeExpenseAfterReductionOfFeeWaiver_019e64a9-f5d8-7b4c-8b54-392e13ddc25f" xlink:href="nmfc-20260630.xsd#nmfc_InvestmentCompanyManagementFeeExpenseAfterReductionOfFeeWaiver"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_019e64a9-f5d8-7e5f-80ef-adb11084dc84" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ManagementFeeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyManagementFeeExpenseAfterReductionOfFeeWaiver_019e64a9-f5d8-7b4c-8b54-392e13ddc25f" xlink:to="loc_us-gaap_ManagementFeeExpense_019e64a9-f5d8-7e5f-80ef-adb11084dc84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyManagementFeeContractualFeeWaived_019e64a9-f5d8-718b-ba77-d25189d99d52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyManagementFeeContractualFeeWaived"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyManagementFeeExpenseAfterReductionOfFeeWaiver_019e64a9-f5d8-7b4c-8b54-392e13ddc25f" xlink:to="loc_us-gaap_InvestmentCompanyManagementFeeContractualFeeWaived_019e64a9-f5d8-718b-ba77-d25189d99d52" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/BorrowingsEffectofHedgingDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="nmfc-20260630.xsd#BorrowingsEffectofHedgingDerivativeInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/BorrowingsEffectofHedgingDerivativeInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019e64a9-f6a3-750c-93ff-a54400e13304" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_019e64a9-f6a3-7ba3-ac3f-cf8efe0dcb71" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019e64a9-f6a3-750c-93ff-a54400e13304" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_019e64a9-f6a3-7ba3-ac3f-cf8efe0dcb71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InterestExpenseRecognizedOnDerivative_019e64a9-f6a3-778a-988b-75f57ce1c0ff" xlink:href="nmfc-20260630.xsd#nmfc_InterestExpenseRecognizedOnDerivative"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019e64a9-f6a3-750c-93ff-a54400e13304" xlink:to="loc_nmfc_InterestExpenseRecognizedOnDerivative_019e64a9-f6a3-778a-988b-75f57ce1c0ff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/EarningsLossPerShareDetails" xlink:type="simple" xlink:href="nmfc-20260630.xsd#EarningsLossPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/EarningsLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_019e64a9-f6a3-772b-95ff-8212dd28e994" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToParentDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e64a9-f6a3-7ee8-8b3d-46368d36fb83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_019e64a9-f6a3-772b-95ff-8212dd28e994" xlink:to="loc_us-gaap_NetIncomeLoss_019e64a9-f6a3-7ee8-8b3d-46368d36fb83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_019e64a9-f6a3-712e-a6a2-ff3b7acb93f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_019e64a9-f6a3-772b-95ff-8212dd28e994" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_019e64a9-f6a3-712e-a6a2-ff3b7acb93f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e64a9-f6a3-7240-86da-ad1bbc8c6966" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e64a9-f6a3-7787-a539-63ae0257aec2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e64a9-f6a3-7240-86da-ad1bbc8c6966" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e64a9-f6a3-7787-a539-63ae0257aec2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_019e64a9-f6a3-7cea-856c-1f4be1c450c7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e64a9-f6a3-7240-86da-ad1bbc8c6966" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_019e64a9-f6a3-7cea-856c-1f4be1c450c7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/FinancialHighlightsDetails" xlink:type="simple" xlink:href="nmfc-20260630.xsd#FinancialHighlightsDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/FinancialHighlightsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_019e64a9-f6a4-72d4-933f-7fe80ec0ba9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_019e64a9-f6a4-71ad-b654-0e028de5cb9b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_019e64a9-f6a4-72d4-933f-7fe80ec0ba9d" xlink:to="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_019e64a9-f6a4-71ad-b654-0e028de5cb9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_019e64a9-f6a4-70b7-b751-3165f92b343e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_019e64a9-f6a4-72d4-933f-7fe80ec0ba9d" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_019e64a9-f6a4-70b7-b751-3165f92b343e" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
