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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:01a00ff8-8e48-7211-aacc-fab856b77489,g:30f3c5f4-9a10-4c14-98a6-61a172f8e180-->
<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-20260930.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_LiabilitiesAndStockholdersEquity_01a00ff8-9de4-7cb8-ac5c-0aa2eb68aa1a" 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_01a00ff8-9de4-7199-8452-4663cafd1fe9" 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_01a00ff8-9de4-7cb8-ac5c-0aa2eb68aa1a" xlink:to="loc_us-gaap_Liabilities_01a00ff8-9de4-7199-8452-4663cafd1fe9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_01a00ff8-9de4-7067-b487-6b779d032770" 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_01a00ff8-9de4-7cb8-ac5c-0aa2eb68aa1a" xlink:to="loc_us-gaap_CommitmentsAndContingencies_01a00ff8-9de4-7067-b487-6b779d032770" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a00ff8-9de4-7910-8ff2-7c78f1237552" 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_01a00ff8-9de4-7cb8-ac5c-0aa2eb68aa1a" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a00ff8-9de4-7910-8ff2-7c78f1237552" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01a00ff8-9de4-7db5-9f15-c60d1f2001b2" 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_01a00ff8-9de4-75b7-83d6-5124afccc2a9" 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_01a00ff8-9de4-7db5-9f15-c60d1f2001b2" xlink:to="loc_us-gaap_StockholdersEquity_01a00ff8-9de4-75b7-83d6-5124afccc2a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_01a00ff8-9de4-7bd3-8011-959fc4af7752" 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_01a00ff8-9de4-7db5-9f15-c60d1f2001b2" xlink:to="loc_us-gaap_MinorityInterest_01a00ff8-9de4-7bd3-8011-959fc4af7752" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_01a00ff8-9de4-730f-a18a-0b04583f72b4" 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_01a00ff8-9de4-78df-97bb-d22d9119f2b5" 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_01a00ff8-9de4-730f-a18a-0b04583f72b4" xlink:to="loc_us-gaap_PreferredStockValue_01a00ff8-9de4-78df-97bb-d22d9119f2b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_01a00ff8-9de4-7b18-bd4f-862705b92908" 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_01a00ff8-9de4-730f-a18a-0b04583f72b4" xlink:to="loc_us-gaap_CommonStockValue_01a00ff8-9de4-7b18-bd4f-862705b92908" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_01a00ff8-9de4-79bc-a363-56b910b75fa4" 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_01a00ff8-9de4-730f-a18a-0b04583f72b4" xlink:to="loc_us-gaap_AdditionalPaidInCapital_01a00ff8-9de4-79bc-a363-56b910b75fa4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_01a00ff8-9de4-7216-a9c9-8e21dc0f1b89" 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_01a00ff8-9de4-730f-a18a-0b04583f72b4" xlink:to="loc_us-gaap_TreasuryStockCommonValue_01a00ff8-9de4-7216-a9c9-8e21dc0f1b89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_01a00ff8-9de4-7c37-b2aa-63b7b9eb180e" 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_01a00ff8-9de4-730f-a18a-0b04583f72b4" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_01a00ff8-9de4-7c37-b2aa-63b7b9eb180e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_01a00ff8-9de4-7596-b9f6-9494a1486a30" 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_01a00ff8-9de4-7ed9-b3c8-038020465498" 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_01a00ff8-9de4-7596-b9f6-9494a1486a30" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_01a00ff8-9de4-7ed9-b3c8-038020465498" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_01a00ff8-9de4-7d7a-a883-47c2f660a625" 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_01a00ff8-9de4-7596-b9f6-9494a1486a30" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_01a00ff8-9de4-7d7a-a883-47c2f660a625" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_01a00ff8-9de4-7669-896b-f40e1bcfbbf9" 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_01a00ff8-9de4-7596-b9f6-9494a1486a30" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_01a00ff8-9de4-7669-896b-f40e1bcfbbf9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendAndInterestReceivable_01a00ff8-9de4-7977-8ca2-d4207d8b7742" 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_01a00ff8-9de4-7596-b9f6-9494a1486a30" xlink:to="loc_us-gaap_DividendAndInterestReceivable_01a00ff8-9de4-7977-8ca2-d4207d8b7742" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_01a00ff8-9de4-771c-9f4b-9584b55fc6f9" 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_01a00ff8-9de4-7596-b9f6-9494a1486a30" xlink:to="loc_us-gaap_DerivativeAssets_01a00ff8-9de4-771c-9f4b-9584b55fc6f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_01a00ff8-9de4-7ba8-bca9-e6f078fd4e68" 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_01a00ff8-9de4-7596-b9f6-9494a1486a30" xlink:to="loc_us-gaap_OtherReceivables_01a00ff8-9de4-7ba8-bca9-e6f078fd4e68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_01a00ff8-9de4-7155-8399-1d5ec33b4f58" 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_01a00ff8-9de4-7596-b9f6-9494a1486a30" xlink:to="loc_us-gaap_OtherAssets_01a00ff8-9de4-7155-8399-1d5ec33b4f58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableInvestmentSale_01a00ff8-9de4-7652-bce0-638d340c43d0" 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_01a00ff8-9de4-7596-b9f6-9494a1486a30" xlink:to="loc_us-gaap_ReceivableInvestmentSale_01a00ff8-9de4-7652-bce0-638d340c43d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesFromBrokersDealersAndClearingOrganizations_01a15a7a-1520-7b95-883c-a8b02c9e5936" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivablesFromBrokersDealersAndClearingOrganizations"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_01a00ff8-9de4-7596-b9f6-9494a1486a30" xlink:to="loc_us-gaap_ReceivablesFromBrokersDealersAndClearingOrganizations_01a15a7a-1520-7b95-883c-a8b02c9e5936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_01a00ff8-9de4-7178-94a4-addafe66c2fb" 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_01a00ff8-9de4-79f4-9f7e-88a3dbd8a25c" 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_01a00ff8-9de4-7178-94a4-addafe66c2fb" xlink:to="loc_us-gaap_LongTermDebt_01a00ff8-9de4-79f4-9f7e-88a3dbd8a25c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_01a00ff8-9de4-705a-ba29-bdeb6347669c" 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_01a00ff8-9de4-7178-94a4-addafe66c2fb" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_01a00ff8-9de4-705a-ba29-bdeb6347669c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DueToCorrespondentBrokers_01a00ff8-9de4-7917-8964-99ce0ccf6392" 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_01a00ff8-9de4-7178-94a4-addafe66c2fb" xlink:to="loc_us-gaap_DueToCorrespondentBrokers_01a00ff8-9de4-7917-8964-99ce0ccf6392" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PayableInvestmentPurchase_01a00ff8-9de4-76ae-acde-83252646536e" 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_01a00ff8-9de4-7178-94a4-addafe66c2fb" xlink:to="loc_us-gaap_PayableInvestmentPurchase_01a00ff8-9de4-76ae-acde-83252646536e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeePayable_01a00ff8-9de4-7b29-8aac-6f75edd78423" 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_01a00ff8-9de4-7178-94a4-addafe66c2fb" xlink:to="loc_us-gaap_ManagementFeePayable_01a00ff8-9de4-7b29-8aac-6f75edd78423" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeePayable_01a00ff8-9de4-7941-81f2-57b163f49615" 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_01a00ff8-9de4-7178-94a4-addafe66c2fb" xlink:to="loc_us-gaap_IncentiveFeePayable_01a00ff8-9de4-7941-81f2-57b163f49615" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_01a00ff8-9de4-7cc2-89d9-fe99ee3727e6" 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_01a00ff8-9de4-7178-94a4-addafe66c2fb" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_01a00ff8-9de4-7cc2-89d9-fe99ee3727e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_01a00ff8-9de4-7a0d-9359-16743c965658" 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_01a00ff8-9de4-7178-94a4-addafe66c2fb" xlink:to="loc_us-gaap_DerivativeLiabilities_01a00ff8-9de4-7a0d-9359-16743c965658" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_01a00ff8-9de4-7bde-a7eb-e70c711d7171" 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_01a00ff8-9de4-7178-94a4-addafe66c2fb" xlink:to="loc_us-gaap_OtherLiabilities_01a00ff8-9de4-7bde-a7eb-e70c711d7171" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_01a00ff8-9de4-7617-a31d-157dfe3e3943" 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_01a00ff8-9de4-78b4-94bd-3a912de61982" 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_01a00ff8-9de4-7617-a31d-157dfe3e3943" xlink:to="loc_us-gaap_LineOfCredit_01a00ff8-9de4-78b4-94bd-3a912de61982" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebt_01a00ff8-9de4-7d2a-98d0-901c5be9ee0f" 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_01a00ff8-9de4-7617-a31d-157dfe3e3943" xlink:to="loc_us-gaap_UnsecuredDebt_01a00ff8-9de4-7d2a-98d0-901c5be9ee0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_GuaranteedDebt_01a00ff8-9de4-7369-9a3d-afebb1efe13d" xlink:href="nmfc-20260930.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_01a00ff8-9de4-7617-a31d-157dfe3e3943" xlink:to="loc_nmfc_GuaranteedDebt_01a00ff8-9de4-7369-9a3d-afebb1efe13d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_01a00ff8-9de4-7f00-a6c2-f326333f2409" 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_01a00ff8-9de4-7617-a31d-157dfe3e3943" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_01a00ff8-9de4-7f00-a6c2-f326333f2409" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="nmfc-20260930.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_GrossInvestmentIncomeOperating_01a00ff8-9de4-7b2b-96e3-0b4c464b8300" 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_01a00ff8-9de4-7c2e-a0ce-8e659dab7d0b" 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_01a00ff8-9de4-7b2b-96e3-0b4c464b8300" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInCash_01a00ff8-9de4-7c2e-a0ce-8e659dab7d0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperatingPaidInCash_01a00ff8-9de4-738f-b181-81380279971c" 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_01a00ff8-9de4-7b2b-96e3-0b4c464b8300" xlink:to="loc_us-gaap_DividendIncomeOperatingPaidInCash_01a00ff8-9de4-738f-b181-81380279971c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperatingPaidInKind_01a00ff8-9de4-786a-89b5-bf0386b5b85c" 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_01a00ff8-9de4-7b2b-96e3-0b4c464b8300" xlink:to="loc_us-gaap_DividendIncomeOperatingPaidInKind_01a00ff8-9de4-786a-89b5-bf0386b5b85c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_01a00ff8-9de4-7fe1-bf69-70519c98bfaf" 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_01a00ff8-9de4-7b2b-96e3-0b4c464b8300" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_01a00ff8-9de4-7fe1-bf69-70519c98bfaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_01a00ff8-9de4-7db9-ae3c-3a3a86aea7c0" 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_01a00ff8-9de4-7b2b-96e3-0b4c464b8300" xlink:to="loc_us-gaap_OtherIncome_01a00ff8-9de4-7db9-ae3c-3a3a86aea7c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_01a00ff8-9de4-7485-b4d7-51e4a1ca3ce1" 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_01a00ff8-9de4-7dda-b232-d826f51b07fc" 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_01a00ff8-9de4-7485-b4d7-51e4a1ca3ce1" xlink:to="loc_us-gaap_NetInvestmentIncome_01a00ff8-9de4-7dda-b232-d826f51b07fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_01a00ff8-9de4-73b1-993d-05090527061f" 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_01a00ff8-9de4-7485-b4d7-51e4a1ca3ce1" xlink:to="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_01a00ff8-9de4-73b1-993d-05090527061f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_01a00ff8-9de4-7b4c-8df2-d65259d83a9a" 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_01a00ff8-9de4-7951-90a8-48940d0d7021" 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_01a00ff8-9de4-7b4c-8df2-d65259d83a9a" xlink:to="loc_us-gaap_InterestExpenseOperating_01a00ff8-9de4-7951-90a8-48940d0d7021" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_01a00ff8-9de4-70bb-bc12-ae1834ca3159" 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_01a00ff8-9de4-7b4c-8df2-d65259d83a9a" xlink:to="loc_us-gaap_ManagementFeeExpense_01a00ff8-9de4-70bb-bc12-ae1834ca3159" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpense_01a00ff8-9de4-7f1c-bd2e-dd32bbd22070" 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_01a00ff8-9de4-7b4c-8df2-d65259d83a9a" xlink:to="loc_us-gaap_IncentiveFeeExpense_01a00ff8-9de4-7f1c-bd2e-dd32bbd22070" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_01a00ff8-9de4-7695-9eeb-bfad007f3f6f" 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_01a00ff8-9de4-7b4c-8df2-d65259d83a9a" xlink:to="loc_us-gaap_ProfessionalFees_01a00ff8-9de4-7695-9eeb-bfad007f3f6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdministrativeFeesExpense_01a00ff8-9de4-7910-a719-edc7cd05b565" 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_01a00ff8-9de4-7b4c-8df2-d65259d83a9a" xlink:to="loc_us-gaap_AdministrativeFeesExpense_01a00ff8-9de4-7910-a719-edc7cd05b565" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_01a00ff8-9de4-7568-85a6-0105a06058dd" 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_01a00ff8-9de4-7b4c-8df2-d65259d83a9a" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_01a00ff8-9de4-7568-85a6-0105a06058dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_01a00ff8-9de4-7458-b653-c1177ae85e1b" 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_01a00ff8-9de4-72b5-8a10-eade52cdf28d" 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_01a00ff8-9de4-7458-b653-c1177ae85e1b" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_01a00ff8-9de4-72b5-8a10-eade52cdf28d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_01a00ff8-9de4-7939-8549-90524c1c1a1b" 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_01a00ff8-9de4-7458-b653-c1177ae85e1b" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_01a00ff8-9de4-7939-8549-90524c1c1a1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_01a00ff8-9de4-77d2-9f43-3d2fae57c2b6" 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_01a00ff8-9de4-7458-b653-c1177ae85e1b" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_01a00ff8-9de4-77d2-9f43-3d2fae57c2b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_01a00ff8-9de4-7fde-9149-6988c02b00fd" 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_01a00ff8-9de4-7458-b653-c1177ae85e1b" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_01a00ff8-9de4-7fde-9149-6988c02b00fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_01a00ff8-9de4-7890-b1ea-b982b62ba4d2" xlink:href="nmfc-20260930.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_01a00ff8-9de4-7458-b653-c1177ae85e1b" xlink:to="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_01a00ff8-9de4-7890-b1ea-b982b62ba4d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_01a00ff8-9de4-7c8f-976b-d3f406987009" 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_01a00ff8-9de4-7d98-9cdf-d31808ba6df1" 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_01a00ff8-9de4-7c8f-976b-d3f406987009" xlink:to="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_01a00ff8-9de4-7d98-9cdf-d31808ba6df1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_01a00ff8-9de4-717f-a7f7-63939b26e89b" 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_01a00ff8-9de4-7c8f-976b-d3f406987009" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_01a00ff8-9de4-717f-a7f7-63939b26e89b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_01a00ff8-9de4-7e59-ba38-9f0b768015e7" 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_01a00ff8-9de4-77ed-9129-8bbec9086227" 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_01a00ff8-9de4-7e59-ba38-9f0b768015e7" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_01a00ff8-9de4-77ed-9129-8bbec9086227" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_01a00ff8-9de4-7d03-aab2-5c11789cc1b3" 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_01a00ff8-9de4-7e59-ba38-9f0b768015e7" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_01a00ff8-9de4-7d03-aab2-5c11789cc1b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_01a00ff8-9de4-7567-91e4-3197b47bf327" 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_01a00ff8-9de4-7234-99de-7adfbd2a5188" 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_01a00ff8-9de4-7567-91e4-3197b47bf327" xlink:to="loc_us-gaap_ProfitLoss_01a00ff8-9de4-7234-99de-7adfbd2a5188" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_01a00ff8-9de4-72df-a7e6-3f2ad8f57fa4" 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_01a00ff8-9de4-7567-91e4-3197b47bf327" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_01a00ff8-9de4-72df-a7e6-3f2ad8f57fa4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_01a00ff8-9de4-7f9c-b406-921871474c50" 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_01a00ff8-9de4-7b23-9928-3434e095a076" 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_01a00ff8-9de4-7f9c-b406-921871474c50" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_01a00ff8-9de4-7b23-9928-3434e095a076" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyContractualFeeWaived_01a00ff8-9de4-7ea4-9238-a1c7deb4220a" 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_01a00ff8-9de4-7f9c-b406-921871474c50" xlink:to="loc_us-gaap_InvestmentCompanyContractualFeeWaived_01a00ff8-9de4-7ea4-9238-a1c7deb4220a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedStatementsofChangesinNetAssets" xlink:type="simple" xlink:href="nmfc-20260930.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_ProfitLoss_01a00ff8-9de4-7ebe-87d1-3c339d367361" 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_01a00ff8-9de4-73d3-abf5-2be236a0b90d" 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_01a00ff8-9de4-7ebe-87d1-3c339d367361" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_01a00ff8-9de4-73d3-abf5-2be236a0b90d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_01a00ff8-9de4-7598-be0d-4f4598002f2b" 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_01a00ff8-9de4-7ebe-87d1-3c339d367361" xlink:to="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_01a00ff8-9de4-7598-be0d-4f4598002f2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_01a00ff8-9de4-7783-b065-8a38e10c68d1" 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_01a00ff8-9de4-7ebe-87d1-3c339d367361" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_01a00ff8-9de4-7783-b065-8a38e10c68d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_01a00ff8-9de4-77f1-9c50-4c9a42d7d2f4" 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_01a00ff8-9de4-7ebe-87d1-3c339d367361" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_01a00ff8-9de4-77f1-9c50-4c9a42d7d2f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_01a00ff8-9de4-7fa2-8ada-39e25110fc8a" xlink:href="nmfc-20260930.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_01a00ff8-9de4-7ebe-87d1-3c339d367361" xlink:to="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_01a00ff8-9de4-7fa2-8ada-39e25110fc8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_01a00ff8-9de4-7784-b3e3-0e1994135e39" 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_01a00ff8-9de4-7205-8f2e-56d047fd8446" 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_01a00ff8-9de4-7784-b3e3-0e1994135e39" xlink:to="loc_us-gaap_ProfitLoss_01a00ff8-9de4-7205-8f2e-56d047fd8446" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_01a00ff8-9de4-7e92-aa11-c22fd3a10e1d" 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_01a00ff8-9de4-7784-b3e3-0e1994135e39" xlink:to="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_01a00ff8-9de4-7e92-aa11-c22fd3a10e1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_01a00ff8-9de4-7588-8982-e8b5722bcd1a" 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_01a00ff8-9de4-7bb4-abeb-8a3430c452cb" 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_01a00ff8-9de4-7588-8982-e8b5722bcd1a" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_01a00ff8-9de4-7bb4-abeb-8a3430c452cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_01a00ff8-9de4-7213-83d8-e55b2e39d12d" 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_01a00ff8-9de4-7588-8982-e8b5722bcd1a" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_01a00ff8-9de4-7213-83d8-e55b2e39d12d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_01a00ff8-9de4-7478-ad1e-695ca0b094cd" 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_01a00ff8-9de4-782b-aefb-d9670f939fb3" 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_01a00ff8-9de4-7478-ad1e-695ca0b094cd" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_01a00ff8-9de4-782b-aefb-d9670f939fb3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_01a09f6c-91a5-7612-bdb9-01fea807e370" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_01a00ff8-9de4-7478-ad1e-695ca0b094cd" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_01a09f6c-91a5-7612-bdb9-01fea807e370" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts_01a00ff8-9de4-7942-93ee-b5a10b4225c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_01a00ff8-9de4-7478-ad1e-695ca0b094cd" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts_01a00ff8-9de4-7942-93ee-b5a10b4225c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_01a00ff8-9de4-747f-b321-c51164944bc5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_01a00ff8-9de4-7478-ad1e-695ca0b094cd" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_01a00ff8-9de4-747f-b321-c51164944bc5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="nmfc-20260930.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_01a00ff8-9de4-775d-973e-74145f582a4d" 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_01a00ff8-9de4-7fd5-8ce8-0201f2dad190" 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_01a00ff8-9de4-775d-973e-74145f582a4d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a00ff8-9de4-7fd5-8ce8-0201f2dad190" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a00ff8-9de4-7b0b-8dc0-13d3e6243f0a" 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_01a00ff8-9de4-775d-973e-74145f582a4d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a00ff8-9de4-7b0b-8dc0-13d3e6243f0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a00ff8-9de4-7f1b-b08c-fff86f64938c" 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_01a00ff8-9de4-722e-a8fc-2e65a6cda873" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_ProfitLoss_01a00ff8-9de4-722e-a8fc-2e65a6cda873" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_01a00ff8-9de4-7ffe-8344-9a8808a44c22" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_01a00ff8-9de4-7ffe-8344-9a8808a44c22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_01a00ff8-9de4-780c-ad4c-310da2266a77" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_01a00ff8-9de4-780c-ad4c-310da2266a77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_01a00ff8-9de4-7e29-9507-5147918b8e5d" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_01a00ff8-9de4-7e29-9507-5147918b8e5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_01a00ff8-9de4-720c-befe-529867b6e87a" xlink:href="nmfc-20260930.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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_01a00ff8-9de4-720c-befe-529867b6e87a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_01a00ff8-9de4-7a7f-b721-92dcfff28a15" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_01a00ff8-9de4-7a7f-b721-92dcfff28a15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_01a00ff8-9de4-763c-b06d-b6c5ee92ecad" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_01a00ff8-9de4-763c-b06d-b6c5ee92ecad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_01a00ff8-9de4-747f-a6b7-e8c5754a72a4" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_01a00ff8-9de4-747f-a6b7-e8c5754a72a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_01a00ff8-9de4-79c4-be48-ce3775bf401c" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_01a00ff8-9de4-79c4-be48-ce3775bf401c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_01a00ff8-9de4-79e1-a101-f28dd8059dc1" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_01a00ff8-9de4-79e1-a101-f28dd8059dc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_01a00ff8-9de4-7c9a-bc8d-8413794c9d0b" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_01a00ff8-9de4-7c9a-bc8d-8413794c9d0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_01a00ff8-9de4-7370-bb78-c4955a6c2c96" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_01a00ff8-9de4-7370-bb78-c4955a6c2c96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_ProceedsFromPurchaseOfUndrawnPortionOfInvestmentOperatingActivity_01a00ff8-9de4-7c13-95e0-49950fc2cf72" xlink:href="nmfc-20260930.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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_nmfc_ProceedsFromPurchaseOfUndrawnPortionOfInvestmentOperatingActivity_01a00ff8-9de4-7c13-95e0-49950fc2cf72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_01a00ff8-9de4-75ef-944b-b47148c087e6" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_01a00ff8-9de4-75ef-944b-b47148c087e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivablesUnderRepurchaseAgreements_01a00ff8-9de4-791c-ae50-54279b317106" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivablesUnderRepurchaseAgreements_01a00ff8-9de4-791c-ae50-54279b317106" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseDueFromAffiliates_01a00ff8-9de4-7305-a2dd-a6e9c2a73464" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_IncreaseDecreaseDueFromAffiliates_01a00ff8-9de4-7305-a2dd-a6e9c2a73464" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_01a00ff8-9de4-7067-b68b-9cd0f4a7dd55" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_01a00ff8-9de4-7067-b68b-9cd0f4a7dd55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInManagementFeePayable_01a00ff8-9de4-78fe-8fb1-755a404f14b9" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_IncreaseDecreaseInManagementFeePayable_01a00ff8-9de4-78fe-8fb1-755a404f14b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInIncentiveFeePayable_01a00ff8-9de4-7a8f-a6c5-3c30eae17345" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_IncreaseDecreaseInIncentiveFeePayable_01a00ff8-9de4-7a8f-a6c5-3c30eae17345" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_01a00ff8-9de4-75ea-90d1-9d5c95eb3988" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_01a00ff8-9de4-75ea-90d1-9d5c95eb3988" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_01a00ff8-9de4-75d6-8fe3-a63d360766d5" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_01a00ff8-9de4-75d6-8fe3-a63d360766d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_IncreaseDecreaseInDeferredIncomeTaxLiability_01a00ff8-9de4-7048-a2ae-6650582e3608" xlink:href="nmfc-20260930.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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_nmfc_IncreaseDecreaseInDeferredIncomeTaxLiability_01a00ff8-9de4-7048-a2ae-6650582e3608" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_IncreaseDecreaseDueToCorrespondentBrokers_01a00ff8-9de4-7e44-8c6b-e25d0b1cb9a5" xlink:href="nmfc-20260930.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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_nmfc_IncreaseDecreaseDueToCorrespondentBrokers_01a00ff8-9de4-7e44-8c6b-e25d0b1cb9a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_01a00ff8-9de4-708a-b7b6-0d11d810a63f" 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_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_01a00ff8-9de4-708a-b7b6-0d11d810a63f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInBrokerageReceivables_01a15a82-dee6-7a75-8cdd-3398d7f70eee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInBrokerageReceivables"/>
    <link:calculationArc order="25" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_01a00ff8-9de4-7f1b-b08c-fff86f64938c" xlink:to="loc_us-gaap_IncreaseDecreaseInBrokerageReceivables_01a15a82-dee6-7a75-8cdd-3398d7f70eee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_01a00ff8-9de4-7681-90f0-cac56bb24a39" 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_01a00ff8-9de4-771e-a6ae-ddcfbcb09b78" 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_01a00ff8-9de4-7681-90f0-cac56bb24a39" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_01a00ff8-9de4-771e-a6ae-ddcfbcb09b78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_01a00ff8-9de4-7725-899e-818b01287f02" 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_01a00ff8-9de4-7681-90f0-cac56bb24a39" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_01a00ff8-9de4-7725-899e-818b01287f02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_01a00ff8-9de4-7b1e-b356-be68bac4030f" 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_01a00ff8-9de4-7681-90f0-cac56bb24a39" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_01a00ff8-9de4-7b1e-b356-be68bac4030f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_01a00ff8-9de4-76df-842e-c3c162bf9466" 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_01a00ff8-9de4-7681-90f0-cac56bb24a39" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_01a00ff8-9de4-76df-842e-c3c162bf9466" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_01a00ff8-9de4-7f2e-9965-4a2887c05fd3" 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_01a00ff8-9de4-7681-90f0-cac56bb24a39" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_01a00ff8-9de4-7f2e-9965-4a2887c05fd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_01a00ff8-9de4-7eb3-85bd-4985764a9d34" 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_01a00ff8-9de4-7681-90f0-cac56bb24a39" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_01a00ff8-9de4-7eb3-85bd-4985764a9d34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfUnsecuredDebt_01a00ff8-9de4-785c-9708-cd88152d71ac" 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_01a00ff8-9de4-7681-90f0-cac56bb24a39" xlink:to="loc_us-gaap_RepaymentsOfUnsecuredDebt_01a00ff8-9de4-785c-9708-cd88152d71ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_01a00ff8-9de4-7b24-a9ae-e9aef02eb417" 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_01a00ff8-9de4-7681-90f0-cac56bb24a39" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_01a00ff8-9de4-7b24-a9ae-e9aef02eb417" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_01a00ff8-9de4-7dde-a366-663c31a6413a" 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_01a00ff8-9de4-7681-90f0-cac56bb24a39" xlink:to="loc_us-gaap_ProceedsFromMinorityShareholders_01a00ff8-9de4-7dde-a366-663c31a6413a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_01a00ff8-9de4-74a8-9b3c-81bfb1a85a62" 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_01a00ff8-9de4-7681-90f0-cac56bb24a39" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_01a00ff8-9de4-74a8-9b3c-81bfb1a85a62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_01a00ff8-9de4-7911-a87d-2f5d1080722c" 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_01a00ff8-9de4-7681-90f0-cac56bb24a39" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_01a00ff8-9de4-7911-a87d-2f5d1080722c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedScheduleofInvestmentsDerivativeInstruments" xlink:type="simple" xlink:href="nmfc-20260930.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_01a00ff8-9e8a-7ed1-b041-0d5d2f64a218" 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_DerivativeLiabilities_01a00ff8-9e8a-78f4-90b0-1e2bad88f998" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_01a00ff8-9e8a-7ed1-b041-0d5d2f64a218" xlink:to="loc_us-gaap_DerivativeLiabilities_01a00ff8-9e8a-78f4-90b0-1e2bad88f998" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/SummaryofSignificantAccountingPoliciesScheduleofCurrentIncomeTaxExpenseDeferredIncomeTaxProvisionandTotalIncomeTaxProvisionDetails" xlink:type="simple" xlink:href="nmfc-20260930.xsd#SummaryofSignificantAccountingPoliciesScheduleofCurrentIncomeTaxExpenseDeferredIncomeTaxProvisionandTotalIncomeTaxProvisionDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/SummaryofSignificantAccountingPoliciesScheduleofCurrentIncomeTaxExpenseDeferredIncomeTaxProvisionandTotalIncomeTaxProvisionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_01a00ff8-9e8a-71a7-bce1-8b3518dfd50c" 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_01a00ff8-9e8a-7330-8a70-6cc06f2b0209" 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_01a00ff8-9e8a-71a7-bce1-8b3518dfd50c" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_01a00ff8-9e8a-7330-8a70-6cc06f2b0209" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_01a00ff8-9e8a-7565-aaf2-998230caf776" 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_01a00ff8-9e8a-71a7-bce1-8b3518dfd50c" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_01a00ff8-9e8a-7565-aaf2-998230caf776" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/InvestmentsSelectedBalanceSheetInformationforSLPIIIandSLPIVDetails" xlink:type="simple" xlink:href="nmfc-20260930.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_Assets_01a00ff8-9e8a-70e6-a59c-c7bb1df475fe" 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_01a00ff8-9e8a-7ea1-ba1a-935175e4d095" 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_01a00ff8-9e8a-70e6-a59c-c7bb1df475fe" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_01a00ff8-9e8a-7ea1-ba1a-935175e4d095" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_CashAndOtherAssets_01a00ff8-9e8a-7523-a60e-a533452272cf" xlink:href="nmfc-20260930.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_01a00ff8-9e8a-70e6-a59c-c7bb1df475fe" xlink:to="loc_nmfc_CashAndOtherAssets_01a00ff8-9e8a-7523-a60e-a533452272cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableInvestmentSale_01a00ff8-9e8a-7b1f-a051-e445b296ad08" 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_01a00ff8-9e8a-70e6-a59c-c7bb1df475fe" xlink:to="loc_us-gaap_ReceivableInvestmentSale_01a00ff8-9e8a-7b1f-a051-e445b296ad08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_01a00ff8-9e8a-7d20-9ffa-0af3c4fb762f" 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_01a00ff8-9e8a-7255-b9c7-0fc5ed33c41e" 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_01a00ff8-9e8a-7d20-9ffa-0af3c4fb762f" xlink:to="loc_us-gaap_LineOfCredit_01a00ff8-9e8a-7255-b9c7-0fc5ed33c41e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_01a00ff8-9e8a-7185-b264-0a51e2720dd2" 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_01a00ff8-9e8a-7d20-9ffa-0af3c4fb762f" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_01a00ff8-9e8a-7185-b264-0a51e2720dd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PayableInvestmentPurchase_01a00ff8-9e8a-79f8-86ed-b83f1d2df628" 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_01a00ff8-9e8a-7d20-9ffa-0af3c4fb762f" xlink:to="loc_us-gaap_PayableInvestmentPurchase_01a00ff8-9e8a-79f8-86ed-b83f1d2df628" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DistributionPayable_01a00ff8-9e8a-70e1-bf72-95f532932fbe" 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_01a00ff8-9e8a-7d20-9ffa-0af3c4fb762f" xlink:to="loc_us-gaap_DistributionPayable_01a00ff8-9e8a-70e1-bf72-95f532932fbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_01a00ff8-9e8a-719f-9bb3-4e2a79ae7e57" 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_01a00ff8-9e8a-7d20-9ffa-0af3c4fb762f" xlink:to="loc_us-gaap_OtherLiabilities_01a00ff8-9e8a-719f-9bb3-4e2a79ae7e57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_01a00ff8-9e8a-777d-a3b0-c9c7b63daa9a" 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_01a00ff8-9e8a-7c67-8abf-5682d00d4954" 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_01a00ff8-9e8a-777d-a3b0-c9c7b63daa9a" xlink:to="loc_us-gaap_Liabilities_01a00ff8-9e8a-7c67-8abf-5682d00d4954" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MembersEquity_01a00ff8-9e8a-7e61-9ba5-c05ebe00e5d6" 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_01a00ff8-9e8a-777d-a3b0-c9c7b63daa9a" xlink:to="loc_us-gaap_MembersEquity_01a00ff8-9e8a-7e61-9ba5-c05ebe00e5d6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/InvestmentsSelectedStatementofOperationsInformationforSLPIIIandSLPIVDetails" xlink:type="simple" xlink:href="nmfc-20260930.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_InvestmentIncomeInvestmentExpense_01a00ff8-9e8a-75e5-955b-6dceed969ccd" 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_01a00ff8-9e8a-7280-81ec-ffbd265780a9" 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_01a00ff8-9e8a-75e5-955b-6dceed969ccd" xlink:to="loc_us-gaap_OtherExpenses_01a00ff8-9e8a-7280-81ec-ffbd265780a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_01a00ff8-9e8a-7ef5-8d88-5aa12658cb27" 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_01a00ff8-9e8a-75e5-955b-6dceed969ccd" xlink:to="loc_us-gaap_InterestExpenseOperating_01a00ff8-9e8a-7ef5-8d88-5aa12658cb27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_IncreaseDecreaseInMembersCapital_01a00ff8-9e8a-7a43-be0f-9df73e5ef4d9" xlink:href="nmfc-20260930.xsd#nmfc_IncreaseDecreaseInMembersCapital"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_01a00ff8-9e8a-7955-a466-91b0d44ddcfd" 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_01a00ff8-9e8a-7a43-be0f-9df73e5ef4d9" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_01a00ff8-9e8a-7955-a466-91b0d44ddcfd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_01a00ff8-9e8a-711d-b8fe-021b682841f1" 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_01a00ff8-9e8a-7a43-be0f-9df73e5ef4d9" xlink:to="loc_us-gaap_NetInvestmentIncome_01a00ff8-9e8a-711d-b8fe-021b682841f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_01a00ff8-9e8a-73ee-b3c9-a989f1bbad6f" 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_01a00ff8-9e8a-7a43-be0f-9df73e5ef4d9" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_01a00ff8-9e8a-73ee-b3c9-a989f1bbad6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_01a00ff8-9e8a-745c-b98b-c82786f081a9" 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_01a00ff8-9e8a-769b-a457-319b27e6b20b" 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_01a00ff8-9e8a-745c-b98b-c82786f081a9" xlink:to="loc_us-gaap_InterestIncomeOperating_01a00ff8-9e8a-769b-a457-319b27e6b20b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_01a00ff8-9e8a-7e87-b539-4062b8cb150b" 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_01a00ff8-9e8a-745c-b98b-c82786f081a9" xlink:to="loc_us-gaap_OtherIncome_01a00ff8-9e8a-7e87-b539-4062b8cb150b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/FairValueScheduleofNotionalAmountsandFairValuesoftheCompanysDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="nmfc-20260930.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_01a00ff8-9e8a-7b22-871d-19e73cceb501" xlink:href="nmfc-20260930.xsd#nmfc_DerivativeAssetLiabilityNetSubjectToMasterNettingArrangementBeforeOffset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_01a00ff8-9e8a-7a17-bd7b-05cd151e91b6" 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_01a00ff8-9e8a-7b22-871d-19e73cceb501" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_01a00ff8-9e8a-7a17-bd7b-05cd151e91b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_01a00ff8-9e8a-731e-8926-22a5a757b6aa" 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_01a00ff8-9e8a-7b22-871d-19e73cceb501" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_01a00ff8-9e8a-731e-8926-22a5a757b6aa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/AgreementsScheduleofManagementFeesandIncentiveFeesIncurredbytheCompanyDetails" xlink:type="simple" xlink:href="nmfc-20260930.xsd#AgreementsScheduleofManagementFeesandIncentiveFeesIncurredbytheCompanyDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/AgreementsScheduleofManagementFeesandIncentiveFeesIncurredbytheCompanyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyManagementFeeExpenseAfterReductionOfFeeWaiver_01a00ff8-9e8a-7441-9ce7-4facc63966b0" xlink:href="nmfc-20260930.xsd#nmfc_InvestmentCompanyManagementFeeExpenseAfterReductionOfFeeWaiver"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_01a00ff8-9e8a-71ff-986c-2d2ccfc965f0" 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_01a00ff8-9e8a-7441-9ce7-4facc63966b0" xlink:to="loc_us-gaap_ManagementFeeExpense_01a00ff8-9e8a-71ff-986c-2d2ccfc965f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyManagementFeeContractualFeeWaived_01a00ff8-9e8a-747b-b3f8-834103b98468" 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_01a00ff8-9e8a-7441-9ce7-4facc63966b0" xlink:to="loc_us-gaap_InvestmentCompanyManagementFeeContractualFeeWaived_01a00ff8-9e8a-747b-b3f8-834103b98468" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyInventiveFeeExpenseAfterReductionOfFeeWaiver_01a00ff8-9e8a-7119-8078-b574b2e1ab00" xlink:href="nmfc-20260930.xsd#nmfc_InvestmentCompanyInventiveFeeExpenseAfterReductionOfFeeWaiver"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpenseIncomeBased_01a00ff8-9e8a-7886-a581-c238f474d21c" 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_01a00ff8-9e8a-7119-8078-b574b2e1ab00" xlink:to="loc_us-gaap_IncentiveFeeExpenseIncomeBased_01a00ff8-9e8a-7886-a581-c238f474d21c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyIncentiveFeeContractualFeeWaived_01a00ff8-9e8a-7003-a32e-a93f9da481b6" 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_01a00ff8-9e8a-7119-8078-b574b2e1ab00" xlink:to="loc_us-gaap_InvestmentCompanyIncentiveFeeContractualFeeWaived_01a00ff8-9e8a-7003-a32e-a93f9da481b6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/BorrowingsEffectofHedgingDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="nmfc-20260930.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_01a00ff8-9e8a-7f70-a2d6-aaa61ec5fb35" 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_01a00ff8-9e8a-734a-8058-092d88dbd6f5" 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_01a00ff8-9e8a-7f70-a2d6-aaa61ec5fb35" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_01a00ff8-9e8a-734a-8058-092d88dbd6f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InterestExpenseRecognizedOnDerivative_01a00ff8-9e8a-743b-ae04-5f9dfbdad598" xlink:href="nmfc-20260930.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_01a00ff8-9e8a-7f70-a2d6-aaa61ec5fb35" xlink:to="loc_nmfc_InterestExpenseRecognizedOnDerivative_01a00ff8-9e8a-743b-ae04-5f9dfbdad598" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/EarningsLossPerShareDetails" xlink:type="simple" xlink:href="nmfc-20260930.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_WeightedAverageNumberOfDilutedSharesOutstanding_01a00ff8-9f2d-782a-b02e-a73daa5406ce" 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_01a00ff8-9f2d-7126-a942-c0fc5c3332f5" 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_01a00ff8-9f2d-782a-b02e-a73daa5406ce" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_01a00ff8-9f2d-7126-a942-c0fc5c3332f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_01a00ff8-9f2d-7662-b9d1-7be01de3fd7b" 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_01a00ff8-9f2d-782a-b02e-a73daa5406ce" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_01a00ff8-9f2d-7662-b9d1-7be01de3fd7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_01a00ff8-9f2d-7ad0-8bd2-5ab9fc2ba640" 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_01a00ff8-9f2d-7df8-8048-0d79a599a05e" 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_01a00ff8-9f2d-7ad0-8bd2-5ab9fc2ba640" xlink:to="loc_us-gaap_NetIncomeLoss_01a00ff8-9f2d-7df8-8048-0d79a599a05e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_01a00ff8-9f2d-78dc-8e94-93f7d601e5f9" 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_01a00ff8-9f2d-7ad0-8bd2-5ab9fc2ba640" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_01a00ff8-9f2d-78dc-8e94-93f7d601e5f9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/FinancialHighlightsDetails" xlink:type="simple" xlink:href="nmfc-20260930.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_01a00ff8-9f2d-727a-8f8e-e606e52f5c37" 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_01a00ff8-9f2d-7c2c-8122-7bd3377e66d0" 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_01a00ff8-9f2d-727a-8f8e-e606e52f5c37" xlink:to="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_01a00ff8-9f2d-7c2c-8122-7bd3377e66d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_01a00ff8-9f2d-7b74-98cc-9f4ac7d569ff" 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_01a00ff8-9f2d-727a-8f8e-e606e52f5c37" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_01a00ff8-9f2d-7b74-98cc-9f4ac7d569ff" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
