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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:295fc4da-6531-4d40-897d-16feb29b5780,g:f1947e43-90c8-45d8-a17a-ba37e507d793-->
<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-20251231.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_5e119dfd-f38b-4b1f-92bc-5ede2910732b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_591c4d60-112f-4e1a-91c0-11f152ddaaaa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_5e119dfd-f38b-4b1f-92bc-5ede2910732b" xlink:to="loc_us-gaap_Liabilities_591c4d60-112f-4e1a-91c0-11f152ddaaaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_e4e8160b-68dd-47a2-9640-6bdf78d0451f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_5e119dfd-f38b-4b1f-92bc-5ede2910732b" xlink:to="loc_us-gaap_CommitmentsAndContingencies_e4e8160b-68dd-47a2-9640-6bdf78d0451f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_fc9e1ed3-874c-4dbe-8b9c-50f11046ab17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_5e119dfd-f38b-4b1f-92bc-5ede2910732b" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_fc9e1ed3-874c-4dbe-8b9c-50f11046ab17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_bf447e31-97ce-4dad-8abe-7c512f60a129" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_1ddb10d2-1306-4b50-9a24-e42d39251aae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_bf447e31-97ce-4dad-8abe-7c512f60a129" xlink:to="loc_us-gaap_StockholdersEquity_1ddb10d2-1306-4b50-9a24-e42d39251aae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_e5cb9355-f914-4cd7-be92-dac9796cd5df" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_bf447e31-97ce-4dad-8abe-7c512f60a129" xlink:to="loc_us-gaap_MinorityInterest_e5cb9355-f914-4cd7-be92-dac9796cd5df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_14f27b81-0a58-4bc9-8855-8df1d605b658" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_97d5dee4-9d0f-4288-a8d5-bf1f71224ab9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_14f27b81-0a58-4bc9-8855-8df1d605b658" xlink:to="loc_us-gaap_LongTermDebt_97d5dee4-9d0f-4288-a8d5-bf1f71224ab9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_630a2c60-1838-413d-98f2-33690b589deb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_14f27b81-0a58-4bc9-8855-8df1d605b658" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_630a2c60-1838-413d-98f2-33690b589deb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeePayable_02ef0174-f2eb-49d6-be37-57cf24ef3656" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ManagementFeePayable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_14f27b81-0a58-4bc9-8855-8df1d605b658" xlink:to="loc_us-gaap_ManagementFeePayable_02ef0174-f2eb-49d6-be37-57cf24ef3656" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeePayable_d3d0140f-5eab-48aa-a291-8e9d0359530c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncentiveFeePayable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_14f27b81-0a58-4bc9-8855-8df1d605b658" xlink:to="loc_us-gaap_IncentiveFeePayable_d3d0140f-5eab-48aa-a291-8e9d0359530c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PayableInvestmentPurchase_3e463fd0-17f5-4f98-8a2d-c162f2089efb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PayableInvestmentPurchase"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_14f27b81-0a58-4bc9-8855-8df1d605b658" xlink:to="loc_us-gaap_PayableInvestmentPurchase_3e463fd0-17f5-4f98-8a2d-c162f2089efb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_2d9d01e5-86be-42ca-8414-156e12a0fc97" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_14f27b81-0a58-4bc9-8855-8df1d605b658" xlink:to="loc_us-gaap_DerivativeLiabilities_2d9d01e5-86be-42ca-8414-156e12a0fc97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DueToCorrespondentBrokers_66ebaac2-cd61-43d4-85a0-2ca7350b6293" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DueToCorrespondentBrokers"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_14f27b81-0a58-4bc9-8855-8df1d605b658" xlink:to="loc_us-gaap_DueToCorrespondentBrokers_66ebaac2-cd61-43d4-85a0-2ca7350b6293" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_e44cba16-4714-4732-a19d-09e158b66fa6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_14f27b81-0a58-4bc9-8855-8df1d605b658" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_e44cba16-4714-4732-a19d-09e158b66fa6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_cc3122d1-677e-4c52-b339-fa126feb8f85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_14f27b81-0a58-4bc9-8855-8df1d605b658" xlink:to="loc_us-gaap_OtherLiabilities_cc3122d1-677e-4c52-b339-fa126feb8f85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_fc338a8f-7107-4795-886b-cbeb789fdf1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_59cc9559-8427-41ba-b825-c6664827ba93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_fc338a8f-7107-4795-886b-cbeb789fdf1e" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_59cc9559-8427-41ba-b825-c6664827ba93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_2a4ed41a-9a4e-4100-8535-69edd2e63db9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_fc338a8f-7107-4795-886b-cbeb789fdf1e" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_2a4ed41a-9a4e-4100-8535-69edd2e63db9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_3e810f9d-25bc-4b52-b17a-8b0dbf7d58df" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_fc338a8f-7107-4795-886b-cbeb789fdf1e" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_3e810f9d-25bc-4b52-b17a-8b0dbf7d58df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendAndInterestReceivable_1c69c9a9-d590-4a9e-99e3-2534938863bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_fc338a8f-7107-4795-886b-cbeb789fdf1e" xlink:to="loc_us-gaap_DividendAndInterestReceivable_1c69c9a9-d590-4a9e-99e3-2534938863bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableInvestmentSale_019bb4ed-41b1-7958-b8a9-3408c87f3633" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReceivableInvestmentSale"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_fc338a8f-7107-4795-886b-cbeb789fdf1e" xlink:to="loc_us-gaap_ReceivableInvestmentSale_019bb4ed-41b1-7958-b8a9-3408c87f3633" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_66b8f445-5464-4713-9946-fa9e38870acf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_fc338a8f-7107-4795-886b-cbeb789fdf1e" xlink:to="loc_us-gaap_OtherReceivables_66b8f445-5464-4713-9946-fa9e38870acf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_9331b191-98d3-4ddd-b570-f11a94927ae6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_fc338a8f-7107-4795-886b-cbeb789fdf1e" xlink:to="loc_us-gaap_DerivativeAssets_9331b191-98d3-4ddd-b570-f11a94927ae6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_4fec45cf-03d7-493d-b0ef-fe51fae8fc66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_fc338a8f-7107-4795-886b-cbeb789fdf1e" xlink:to="loc_us-gaap_OtherAssets_4fec45cf-03d7-493d-b0ef-fe51fae8fc66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_bff10a6e-acb7-4464-ace8-d8cee6fb6a0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebt_beaecce5-1b4a-49c0-928d-d148e8139269" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnsecuredDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_bff10a6e-acb7-4464-ace8-d8cee6fb6a0e" xlink:to="loc_us-gaap_UnsecuredDebt_beaecce5-1b4a-49c0-928d-d148e8139269" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_GuaranteedDebt_1b54e8ca-2786-4c4a-ba58-28f3979540da" xlink:href="nmfc-20251231.xsd#nmfc_GuaranteedDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_bff10a6e-acb7-4464-ace8-d8cee6fb6a0e" xlink:to="loc_nmfc_GuaranteedDebt_1b54e8ca-2786-4c4a-ba58-28f3979540da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_aa76edd0-7150-4eb9-86e7-8a706757f8ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCredit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_bff10a6e-acb7-4464-ace8-d8cee6fb6a0e" xlink:to="loc_us-gaap_LineOfCredit_aa76edd0-7150-4eb9-86e7-8a706757f8ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebt_828e35ea-6007-48be-afe9-331058a01ebe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertibleDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_bff10a6e-acb7-4464-ace8-d8cee6fb6a0e" xlink:to="loc_us-gaap_ConvertibleDebt_828e35ea-6007-48be-afe9-331058a01ebe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_cffa7440-b5ae-4f14-8d89-b23e96fbec7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_bff10a6e-acb7-4464-ace8-d8cee6fb6a0e" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_cffa7440-b5ae-4f14-8d89-b23e96fbec7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_82f026f2-3056-47d7-b29d-f3b0586477e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_e4075231-a30c-4e2b-bc99-c7e01f757cc6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_82f026f2-3056-47d7-b29d-f3b0586477e2" xlink:to="loc_us-gaap_PreferredStockValue_e4075231-a30c-4e2b-bc99-c7e01f757cc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_dd291031-84c2-44eb-a46d-a62e3a5cf280" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_82f026f2-3056-47d7-b29d-f3b0586477e2" xlink:to="loc_us-gaap_CommonStockValue_dd291031-84c2-44eb-a46d-a62e3a5cf280" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_c053abb9-22ce-4375-9acf-e3c10ec2dd01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_82f026f2-3056-47d7-b29d-f3b0586477e2" xlink:to="loc_us-gaap_AdditionalPaidInCapital_c053abb9-22ce-4375-9acf-e3c10ec2dd01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_07e65619-4955-4fdd-b900-0d8dd9c9b05d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_82f026f2-3056-47d7-b29d-f3b0586477e2" xlink:to="loc_us-gaap_TreasuryStockCommonValue_07e65619-4955-4fdd-b900-0d8dd9c9b05d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_8a03729d-e6a0-43b6-8d74-50f8fe485809" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_82f026f2-3056-47d7-b29d-f3b0586477e2" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_8a03729d-e6a0-43b6-8d74-50f8fe485809" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="nmfc-20251231.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_InvestmentIncomeInvestmentExpense_41063c17-89b7-4850-b42b-ad6207009b60" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_734f53b4-7685-48cc-b901-0de94df62041" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ManagementFeeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_41063c17-89b7-4850-b42b-ad6207009b60" xlink:to="loc_us-gaap_ManagementFeeExpense_734f53b4-7685-48cc-b901-0de94df62041" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_c4d6c8b3-5a5a-493a-8819-7cd2c1b8c151" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_41063c17-89b7-4850-b42b-ad6207009b60" xlink:to="loc_us-gaap_InterestExpenseOperating_c4d6c8b3-5a5a-493a-8819-7cd2c1b8c151" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_8b7fcdad-49d4-4e0c-be72-f17f7b50bafc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_41063c17-89b7-4850-b42b-ad6207009b60" xlink:to="loc_us-gaap_ProfessionalFees_8b7fcdad-49d4-4e0c-be72-f17f7b50bafc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_0a2b9daa-f3b9-490c-9867-c61e9e8de479" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_41063c17-89b7-4850-b42b-ad6207009b60" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_0a2b9daa-f3b9-490c-9867-c61e9e8de479" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpense_4380a4b4-0a91-47b3-9874-30c8eb6cc561" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncentiveFeeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_41063c17-89b7-4850-b42b-ad6207009b60" xlink:to="loc_us-gaap_IncentiveFeeExpense_4380a4b4-0a91-47b3-9874-30c8eb6cc561" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdministrativeFeesExpense_f41adb3b-5758-4a48-8974-503246b45162" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdministrativeFeesExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_41063c17-89b7-4850-b42b-ad6207009b60" xlink:to="loc_us-gaap_AdministrativeFeesExpense_f41adb3b-5758-4a48-8974-503246b45162" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_72e8d137-41b9-4b22-8224-9244fa8b8bb6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_0765b31b-3a0d-4eb4-96b4-912c0ab29db6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_72e8d137-41b9-4b22-8224-9244fa8b8bb6" xlink:to="loc_us-gaap_ProfitLoss_0765b31b-3a0d-4eb4-96b4-912c0ab29db6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_c4999c67-7c82-49b7-8a5b-97e9b6831230" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_72e8d137-41b9-4b22-8224-9244fa8b8bb6" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_c4999c67-7c82-49b7-8a5b-97e9b6831230" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_9b81bfff-b8c7-4766-b7b5-9c3ca7038da5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_1770a821-b5d8-47e1-b14d-541abcc42e5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9b81bfff-b8c7-4766-b7b5-9c3ca7038da5" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_1770a821-b5d8-47e1-b14d-541abcc42e5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_a0652b8e-8c1a-46b7-afd0-aa8b3b06fa83" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossRealized"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_9b81bfff-b8c7-4766-b7b5-9c3ca7038da5" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_a0652b8e-8c1a-46b7-afd0-aa8b3b06fa83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_760e7606-612f-4e0d-a7c3-9bcb54492902" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_9b81bfff-b8c7-4766-b7b5-9c3ca7038da5" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_760e7606-612f-4e0d-a7c3-9bcb54492902" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_91fdfdb1-7117-4607-a0d0-2984acbc1ca1" xlink:href="nmfc-20251231.xsd#nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_9b81bfff-b8c7-4766-b7b5-9c3ca7038da5" xlink:to="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_91fdfdb1-7117-4607-a0d0-2984acbc1ca1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_d858d0cf-a90b-4fe0-a5f4-fb64416fb838" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealized"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_9b81bfff-b8c7-4766-b7b5-9c3ca7038da5" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_d858d0cf-a90b-4fe0-a5f4-fb64416fb838" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_a05b5f58-681d-4bd6-8a82-443184a9c694" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_9b81bfff-b8c7-4766-b7b5-9c3ca7038da5" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_a05b5f58-681d-4bd6-8a82-443184a9c694" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_65d0224d-5911-4c65-8ee9-ae35d0b339a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_3d46361e-b7ae-49d7-857e-f6d5c43dc81b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_65d0224d-5911-4c65-8ee9-ae35d0b339a7" xlink:to="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_3d46361e-b7ae-49d7-857e-f6d5c43dc81b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_75308fd4-cc1c-418a-b9fe-91b52ecb8519" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_65d0224d-5911-4c65-8ee9-ae35d0b339a7" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_75308fd4-cc1c-418a-b9fe-91b52ecb8519" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_ef50870a-b5df-4869-a6db-75e02295acf1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_23732d5d-419a-4257-b59d-cf4bea53f4ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ef50870a-b5df-4869-a6db-75e02295acf1" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_23732d5d-419a-4257-b59d-cf4bea53f4ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_98a8feee-6cd3-4856-b45c-423319a64f1d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ef50870a-b5df-4869-a6db-75e02295acf1" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_98a8feee-6cd3-4856-b45c-423319a64f1d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_37a6d86d-4ad5-4aed-abc6-ada94a3d5621" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInCash_25ee9bc1-429d-4fa7-9a47-0fb7004f0af3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_37a6d86d-4ad5-4aed-abc6-ada94a3d5621" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInCash_25ee9bc1-429d-4fa7-9a47-0fb7004f0af3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperatingPaidInCash_e2ec2874-b238-46d8-944a-b1e52cbb63c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_37a6d86d-4ad5-4aed-abc6-ada94a3d5621" xlink:to="loc_us-gaap_DividendIncomeOperatingPaidInCash_e2ec2874-b238-46d8-944a-b1e52cbb63c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperatingPaidInKind_1be6d60d-96b9-4b86-be8c-e867173e033b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_37a6d86d-4ad5-4aed-abc6-ada94a3d5621" xlink:to="loc_us-gaap_DividendIncomeOperatingPaidInKind_1be6d60d-96b9-4b86-be8c-e867173e033b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_e76dcb12-4dac-4d07-b84b-6f4f24e061b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_37a6d86d-4ad5-4aed-abc6-ada94a3d5621" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_e76dcb12-4dac-4d07-b84b-6f4f24e061b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_bc6ada6e-aa43-4861-bea7-517e9cef9b91" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_37a6d86d-4ad5-4aed-abc6-ada94a3d5621" xlink:to="loc_us-gaap_OtherIncome_bc6ada6e-aa43-4861-bea7-517e9cef9b91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_3cfcf153-f4a7-4f18-a279-de49fef75d86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_86b6e51b-a747-42b8-bcba-08597c230a15" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3cfcf153-f4a7-4f18-a279-de49fef75d86" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_86b6e51b-a747-42b8-bcba-08597c230a15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyContractualFeeWaived_65ef5e85-bec3-46e1-a980-4411e591fe25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_3cfcf153-f4a7-4f18-a279-de49fef75d86" xlink:to="loc_us-gaap_InvestmentCompanyContractualFeeWaived_65ef5e85-bec3-46e1-a980-4411e591fe25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_472488e1-74b9-4ba2-aa4b-131c3369cb65" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_15efef12-a23d-4629-85d1-1782ab792d5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_472488e1-74b9-4ba2-aa4b-131c3369cb65" xlink:to="loc_us-gaap_NetInvestmentIncome_15efef12-a23d-4629-85d1-1782ab792d5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_2ff74c93-3b1a-4ee8-ae8e-2ada835e25db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_472488e1-74b9-4ba2-aa4b-131c3369cb65" xlink:to="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_2ff74c93-3b1a-4ee8-ae8e-2ada835e25db" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedStatementsofChangesinNetAssets" xlink:type="simple" xlink:href="nmfc-20251231.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_InvestmentCompanyIncreaseDecreaseFromShareTransaction_d0301c7a-116d-4570-9b56-b0c1012b92ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_68b9f71e-faee-4774-acbb-f80a0def962e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_d0301c7a-116d-4570-9b56-b0c1012b92ec" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_68b9f71e-faee-4774-acbb-f80a0def962e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_37f31c40-d7e8-43f2-a7a0-32099b8557f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d0301c7a-116d-4570-9b56-b0c1012b92ec" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_37f31c40-d7e8-43f2-a7a0-32099b8557f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts_2cf29873-d14b-4a36-a293-ff9d1afc90d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d0301c7a-116d-4570-9b56-b0c1012b92ec" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts_2cf29873-d14b-4a36-a293-ff9d1afc90d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_8d81ab34-676e-4375-a2b2-a7063ea69129" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d0301c7a-116d-4570-9b56-b0c1012b92ec" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_8d81ab34-676e-4375-a2b2-a7063ea69129" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution_d612f9a9-d1b0-46dc-a2ef-edd02e79ce98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_d0301c7a-116d-4570-9b56-b0c1012b92ec" xlink:to="loc_us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution_d612f9a9-d1b0-46dc-a2ef-edd02e79ce98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_1ce2bed5-6a8b-4e74-a7fa-70f49da1381e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_d0301c7a-116d-4570-9b56-b0c1012b92ec" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_1ce2bed5-6a8b-4e74-a7fa-70f49da1381e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_9e3b52a3-073f-4c99-a1bb-eb85b39a2922" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_9ed2951f-ec94-493e-a9bf-29aab762337f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9e3b52a3-073f-4c99-a1bb-eb85b39a2922" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_9ed2951f-ec94-493e-a9bf-29aab762337f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_c44ab56a-5287-4d75-b13c-fa9332ad843d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9e3b52a3-073f-4c99-a1bb-eb85b39a2922" xlink:to="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_c44ab56a-5287-4d75-b13c-fa9332ad843d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_d2cfcede-085b-4aa9-a621-81aa85e1a470" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9e3b52a3-073f-4c99-a1bb-eb85b39a2922" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_d2cfcede-085b-4aa9-a621-81aa85e1a470" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_b77c0dd3-c2ac-4204-a5bd-13d0d9e99645" xlink:href="nmfc-20251231.xsd#nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_9e3b52a3-073f-4c99-a1bb-eb85b39a2922" xlink:to="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_b77c0dd3-c2ac-4204-a5bd-13d0d9e99645" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_0bf165fd-e01e-4770-aa27-fdbff6a6dcda" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_9e3b52a3-073f-4c99-a1bb-eb85b39a2922" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_0bf165fd-e01e-4770-aa27-fdbff6a6dcda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_735ba289-16de-46ad-b94a-5f98120a4c36" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_21d58222-7472-4fa0-9fe4-873a67bfd6c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_735ba289-16de-46ad-b94a-5f98120a4c36" xlink:to="loc_us-gaap_ProfitLoss_21d58222-7472-4fa0-9fe4-873a67bfd6c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_7423bc44-f5f6-4641-82b7-9023412945dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_735ba289-16de-46ad-b94a-5f98120a4c36" xlink:to="loc_us-gaap_InvestmentCompanyIncreaseDecreaseFromShareTransaction_7423bc44-f5f6-4641-82b7-9023412945dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_2c12d1ad-1fb4-4889-a9d4-f2afb9873f12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_393621ac-cc6b-4c4c-8293-903128872d2f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_2c12d1ad-1fb4-4889-a9d4-f2afb9873f12" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_393621ac-cc6b-4c4c-8293-903128872d2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_6e584741-d232-4310-a2c4-7dcf33522174" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_2c12d1ad-1fb4-4889-a9d4-f2afb9873f12" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_6e584741-d232-4310-a2c4-7dcf33522174" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_6fe553ee-538a-4aa8-bcfc-70d924fc2dda" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_2c12d1ad-1fb4-4889-a9d4-f2afb9873f12" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_6fe553ee-538a-4aa8-bcfc-70d924fc2dda" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="nmfc-20251231.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_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_df3e16e7-33de-4006-9588-d265d6e382f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_df3e16e7-33de-4006-9588-d265d6e382f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_7d78deab-6ba6-453f-99ac-8e01e6634ed7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_7d78deab-6ba6-453f-99ac-8e01e6634ed7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_330210e4-8903-46d1-b120-f3aa94c5cdc0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_330210e4-8903-46d1-b120-f3aa94c5cdc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_72ec12a1-a9bf-448a-9bf3-a7d6f5c6ac85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_72ec12a1-a9bf-448a-9bf3-a7d6f5c6ac85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_1048fc34-e559-4076-88b5-a96da415ad6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_1048fc34-e559-4076-88b5-a96da415ad6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_30ca2b07-b75f-4d98-96b8-ef98ab3d2c76" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_30ca2b07-b75f-4d98-96b8-ef98ab3d2c76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_e81465ad-31c5-4c15-8495-09d70d060fe6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfUnsecuredDebt"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_e81465ad-31c5-4c15-8495-09d70d060fe6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfUnsecuredDebt_99f43f20-3346-4980-80b1-3dd4f4c9d944" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfUnsecuredDebt"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_RepaymentsOfUnsecuredDebt_99f43f20-3346-4980-80b1-3dd4f4c9d944" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_44a729a4-c4b5-4a6a-bdd2-7d9a6b4099cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromConvertibleDebt"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_44a729a4-c4b5-4a6a-bdd2-7d9a6b4099cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_be212196-aa8c-40f9-84fa-a866015f5044" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfConvertibleDebt"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_be212196-aa8c-40f9-84fa-a866015f5044" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_227dce24-b726-4b1a-aa34-8241debd29d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_227dce24-b726-4b1a-aa34-8241debd29d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_56fd8ef7-27a3-48c6-9ee2-820ddc5fd0ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_56fd8ef7-27a3-48c6-9ee2-820ddc5fd0ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_019bff50-7bb2-7872-87fc-ecd2652d4103" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfOtherLongTermDebt"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1bba90f2-0d7c-4c26-a41e-51b1253e195a" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_019bff50-7bb2-7872-87fc-ecd2652d4103" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_a78ae5b1-3f89-4bbe-83f3-3a1b34078d45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_ProfitLoss_a78ae5b1-3f89-4bbe-83f3-3a1b34078d45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_fd7ec4be-9ddc-4b1a-a54d-26548649a192" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_fd7ec4be-9ddc-4b1a-a54d-26548649a192" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_b4b58d38-34be-44eb-a554-0500d6fbc13e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossRealized"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_b4b58d38-34be-44eb-a554-0500d6fbc13e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_70d1f748-4b56-4c29-b735-4971ef812b06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_70d1f748-4b56-4c29-b735-4971ef812b06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_793153d4-54bf-422d-b65e-7604145345c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealized"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_793153d4-54bf-422d-b65e-7604145345c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_11a7e412-f50b-4a00-879a-e9d04692ad5e" xlink:href="nmfc-20251231.xsd#nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_nmfc_UnrealizedGainLossSecuritiesRepurchasedUnderAgreementsToResell_11a7e412-f50b-4a00-879a-e9d04692ad5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_63f17d2c-51f7-48b8-b6b3-a3fd47eb0909" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_63f17d2c-51f7-48b8-b6b3-a3fd47eb0909" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_7b64e65e-49f4-426a-84ab-225176c0ca92" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_7b64e65e-49f4-426a-84ab-225176c0ca92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_4b5c01bc-5a1b-436b-a0f4-ec12f6d94f4a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_4b5c01bc-5a1b-436b-a0f4-ec12f6d94f4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_af2a8f09-4775-482b-9ad6-880f2f95a449" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_af2a8f09-4775-482b-9ad6-880f2f95a449" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_521099b9-1e94-49f0-b467-b1de4c013cfc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_521099b9-1e94-49f0-b467-b1de4c013cfc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_PaymentsToAcquireAdditionalInterestInSubsidiariesOperatingActivity_3ed90d91-4e30-4c0f-a501-9df0dcd54ab4" xlink:href="nmfc-20251231.xsd#nmfc_PaymentsToAcquireAdditionalInterestInSubsidiariesOperatingActivity"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_nmfc_PaymentsToAcquireAdditionalInterestInSubsidiariesOperatingActivity_3ed90d91-4e30-4c0f-a501-9df0dcd54ab4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_ProceedsFromNoncontrollingInterestsOperatingActivity_5c4e0e0c-b358-4c4d-b0b1-ef694c88b841" xlink:href="nmfc-20251231.xsd#nmfc_ProceedsFromNoncontrollingInterestsOperatingActivity"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_nmfc_ProceedsFromNoncontrollingInterestsOperatingActivity_5c4e0e0c-b358-4c4d-b0b1-ef694c88b841" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_676d4338-2b20-4ded-bc11-2cbaaa6395e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_676d4338-2b20-4ded-bc11-2cbaaa6395e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_a1831dab-5d03-4cd7-8f01-c7d28a210931" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_a1831dab-5d03-4cd7-8f01-c7d28a210931" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_ProceedsFromPurchaseOfUndrawnPortionOfInvestmentOperatingActivity_77caf5d7-5df3-48f4-9e72-600c7b9658ff" xlink:href="nmfc-20251231.xsd#nmfc_ProceedsFromPurchaseOfUndrawnPortionOfInvestmentOperatingActivity"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_nmfc_ProceedsFromPurchaseOfUndrawnPortionOfInvestmentOperatingActivity_77caf5d7-5df3-48f4-9e72-600c7b9658ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_824328a7-c9a2-4484-a89e-c78923ea9e5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_824328a7-c9a2-4484-a89e-c78923ea9e5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseDueFromAffiliates_6fabc721-a448-4a2e-ab0b-b824dfb701d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseDueFromAffiliates"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_IncreaseDecreaseDueFromAffiliates_6fabc721-a448-4a2e-ab0b-b824dfb701d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_2240809f-51f5-463f-9952-a1cf7b047aca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDeferredIncomeTaxes"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredIncomeTaxes_2240809f-51f5-463f-9952-a1cf7b047aca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_8b3dbc29-be5c-4932-a7e4-ad996a5fdfc6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="20" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_8b3dbc29-be5c-4932-a7e4-ad996a5fdfc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_4b2998e6-b328-46ca-b9eb-a524081b8f8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_4b2998e6-b328-46ca-b9eb-a524081b8f8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInManagementFeePayable_ad3362d3-effa-4ef9-9529-3ee0f1f8d35b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInManagementFeePayable"/>
    <link:calculationArc order="22" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_IncreaseDecreaseInManagementFeePayable_ad3362d3-effa-4ef9-9529-3ee0f1f8d35b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInIncentiveFeePayable_cc99fedc-2f06-4cd7-bf1d-4c0451f305f2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInIncentiveFeePayable"/>
    <link:calculationArc order="23" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_IncreaseDecreaseInIncentiveFeePayable_cc99fedc-2f06-4cd7-bf1d-4c0451f305f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_984dabee-9479-455b-9d5e-9e1507806f31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased"/>
    <link:calculationArc order="24" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_984dabee-9479-455b-9d5e-9e1507806f31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_IncreaseDecreaseInDeferredIncomeTaxAssetLiability_9ca4db79-0bf4-4bea-8039-ee05841916cb" xlink:href="nmfc-20251231.xsd#nmfc_IncreaseDecreaseInDeferredIncomeTaxAssetLiability"/>
    <link:calculationArc order="25" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_nmfc_IncreaseDecreaseInDeferredIncomeTaxAssetLiability_9ca4db79-0bf4-4bea-8039-ee05841916cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToAffiliates_e8471212-939f-4e0a-8dff-7304100e11d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueToAffiliates"/>
    <link:calculationArc order="26" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToAffiliates_e8471212-939f-4e0a-8dff-7304100e11d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_IncreaseDecreaseDueToCorrespondentBrokers_c186d888-37db-48e1-a038-eabcf84a6bcd" xlink:href="nmfc-20251231.xsd#nmfc_IncreaseDecreaseDueToCorrespondentBrokers"/>
    <link:calculationArc order="27" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_nmfc_IncreaseDecreaseDueToCorrespondentBrokers_c186d888-37db-48e1-a038-eabcf84a6bcd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_3f1a3527-3d02-4656-bb29-3c44938f0f48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="28" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_3f1a3527-3d02-4656-bb29-3c44938f0f48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivablesUnderRepurchaseAgreements_019bff4e-38ce-704e-b521-292eb2afd1cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInReceivablesUnderRepurchaseAgreements"/>
    <link:calculationArc order="29" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e0c81cb1-4eaa-491b-aeb3-37dbaee2bb17" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivablesUnderRepurchaseAgreements_019bff4e-38ce-704e-b521-292eb2afd1cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_19728db1-c4d8-4b07-a6e1-c44f1d8178f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b6a4efe5-884f-4edd-a32c-cff674c6f03c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_19728db1-c4d8-4b07-a6e1-c44f1d8178f1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b6a4efe5-884f-4edd-a32c-cff674c6f03c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b4086de8-e2b2-4444-9334-bf0b7e961f19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_19728db1-c4d8-4b07-a6e1-c44f1d8178f1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b4086de8-e2b2-4444-9334-bf0b7e961f19" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/SummaryofSignificantAccountingPoliciesScheduleofCurrentIncomeTaxExpenseBenefitDeferredIncomeTaxProvisionandTotalIncomeTaxProvisionDetails" xlink:type="simple" xlink:href="nmfc-20251231.xsd#SummaryofSignificantAccountingPoliciesScheduleofCurrentIncomeTaxExpenseBenefitDeferredIncomeTaxProvisionandTotalIncomeTaxProvisionDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/SummaryofSignificantAccountingPoliciesScheduleofCurrentIncomeTaxExpenseBenefitDeferredIncomeTaxProvisionandTotalIncomeTaxProvisionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_cbec60f4-3e0e-4c7d-8d55-db388746fe5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_9078a1b9-2075-4946-8814-c9d8037d5564" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_cbec60f4-3e0e-4c7d-8d55-db388746fe5b" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_9078a1b9-2075-4946-8814-c9d8037d5564" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_6d658724-ce39-4f08-a88a-da3559c2dee8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_cbec60f4-3e0e-4c7d-8d55-db388746fe5b" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_6d658724-ce39-4f08-a88a-da3559c2dee8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/InvestmentsSelectedBalanceSheetInformationforSLPIIIandSLPIVDetails" xlink:type="simple" xlink:href="nmfc-20251231.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_LiabilitiesAndStockholdersEquity_84b708e6-a2b2-4f50-ae8f-b8e8ba7b77bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_b2b6edc3-ed31-4eda-8b34-1086552c1a85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_84b708e6-a2b2-4f50-ae8f-b8e8ba7b77bd" xlink:to="loc_us-gaap_Liabilities_b2b6edc3-ed31-4eda-8b34-1086552c1a85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MembersEquity_b6da18d8-5270-4638-8bd3-fe2885527180" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_84b708e6-a2b2-4f50-ae8f-b8e8ba7b77bd" xlink:to="loc_us-gaap_MembersEquity_b6da18d8-5270-4638-8bd3-fe2885527180" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_989924f1-a43d-4d4b-a418-02f193b3f9dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_bae240ce-4c52-48a6-a042-53962d1fdb80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_989924f1-a43d-4d4b-a418-02f193b3f9dc" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_bae240ce-4c52-48a6-a042-53962d1fdb80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_CashAndOtherAssets_4c2be8c1-d8dd-4c28-afea-44c57e77d071" xlink:href="nmfc-20251231.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_989924f1-a43d-4d4b-a418-02f193b3f9dc" xlink:to="loc_nmfc_CashAndOtherAssets_4c2be8c1-d8dd-4c28-afea-44c57e77d071" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableInvestmentSale_e2a5c48b-086f-4e25-ad3c-4704b59cf174" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_989924f1-a43d-4d4b-a418-02f193b3f9dc" xlink:to="loc_us-gaap_ReceivableInvestmentSale_e2a5c48b-086f-4e25-ad3c-4704b59cf174" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_1606b7d1-1475-4ea0-8e45-65ff80478cd6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_a2250f31-902b-41ef-8ba6-d9eae9cdf91e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1606b7d1-1475-4ea0-8e45-65ff80478cd6" xlink:to="loc_us-gaap_LineOfCredit_a2250f31-902b-41ef-8ba6-d9eae9cdf91e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_15a59ff5-07e0-4a24-bfe8-9a0b94c15f69" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1606b7d1-1475-4ea0-8e45-65ff80478cd6" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_15a59ff5-07e0-4a24-bfe8-9a0b94c15f69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PayableInvestmentPurchase_ec260e88-86bf-44f2-853c-1d65c6c3622b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1606b7d1-1475-4ea0-8e45-65ff80478cd6" xlink:to="loc_us-gaap_PayableInvestmentPurchase_ec260e88-86bf-44f2-853c-1d65c6c3622b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DistributionPayable_ab614da3-ed1e-41b1-9dc6-5f22e06c89ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1606b7d1-1475-4ea0-8e45-65ff80478cd6" xlink:to="loc_us-gaap_DistributionPayable_ab614da3-ed1e-41b1-9dc6-5f22e06c89ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_039e92db-c960-4e1e-b8e6-07e2f41dd5dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1606b7d1-1475-4ea0-8e45-65ff80478cd6" xlink:to="loc_us-gaap_OtherLiabilities_039e92db-c960-4e1e-b8e6-07e2f41dd5dc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/InvestmentsSelectedStatementofOperationsInformationforSLPIIIandSLPIVDetails" xlink:type="simple" xlink:href="nmfc-20251231.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_e5524b9a-8965-4dbd-9792-3c8045f5f0bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_2ce4efa8-6fae-4480-9fd5-e310e5620086" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e5524b9a-8965-4dbd-9792-3c8045f5f0bd" xlink:to="loc_us-gaap_OtherExpenses_2ce4efa8-6fae-4480-9fd5-e310e5620086" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_89b699fa-3caa-4eab-8d4b-ee84c74c4ab7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e5524b9a-8965-4dbd-9792-3c8045f5f0bd" xlink:to="loc_us-gaap_InterestExpenseOperating_89b699fa-3caa-4eab-8d4b-ee84c74c4ab7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_375dc993-c051-4270-94f3-2e9f5239d7f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperating_9b032b59-b725-4275-bf36-09df8204e3fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_375dc993-c051-4270-94f3-2e9f5239d7f9" xlink:to="loc_us-gaap_InterestIncomeOperating_9b032b59-b725-4275-bf36-09df8204e3fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_ba44afe7-d7a7-4152-900c-2e5a80e93a12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_375dc993-c051-4270-94f3-2e9f5239d7f9" xlink:to="loc_us-gaap_OtherIncome_ba44afe7-d7a7-4152-900c-2e5a80e93a12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_IncreaseDecreaseInMembersCapital_2f5ae14b-34da-444f-9155-2a741491082d" xlink:href="nmfc-20251231.xsd#nmfc_IncreaseDecreaseInMembersCapital"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_a17d509f-5bb4-4f8d-9535-2e817a623bfd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_2f5ae14b-34da-444f-9155-2a741491082d" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_a17d509f-5bb4-4f8d-9535-2e817a623bfd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_3de0d6bd-469f-481a-b60b-7a24bd11f488" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_2f5ae14b-34da-444f-9155-2a741491082d" xlink:to="loc_us-gaap_NetInvestmentIncome_3de0d6bd-469f-481a-b60b-7a24bd11f488" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_4c7b5b2e-ffb7-440f-b93d-62593b4cc6a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_2f5ae14b-34da-444f-9155-2a741491082d" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_4c7b5b2e-ffb7-440f-b93d-62593b4cc6a2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/FairValueScheduleofNotionalAmountsandFairValuesoftheCompanysDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="nmfc-20251231.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_a0bc5813-d6b1-49b9-b4b8-53f974879ce0" xlink:href="nmfc-20251231.xsd#nmfc_DerivativeAssetLiabilityNetSubjectToMasterNettingArrangementBeforeOffset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_bc3f8e50-3cfd-4141-a1a4-80b17c1aee29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_a0bc5813-d6b1-49b9-b4b8-53f974879ce0" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_bc3f8e50-3cfd-4141-a1a4-80b17c1aee29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_f7075e56-d30a-4fa8-8ead-8701d27e0cac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_a0bc5813-d6b1-49b9-b4b8-53f974879ce0" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_f7075e56-d30a-4fa8-8ead-8701d27e0cac" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/AgreementsScheduleofManagementFeesandIncentiveFeesIncurredbytheCompanyDetails" xlink:type="simple" xlink:href="nmfc-20251231.xsd#AgreementsScheduleofManagementFeesandIncentiveFeesIncurredbytheCompanyDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/AgreementsScheduleofManagementFeesandIncentiveFeesIncurredbytheCompanyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyInventiveFeeExpenseAfterReductionOfFeeWaiver_66f1a7e4-a97f-45fe-8b66-9e22d642cc7d" xlink:href="nmfc-20251231.xsd#nmfc_InvestmentCompanyInventiveFeeExpenseAfterReductionOfFeeWaiver"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpenseIncomeBased_5d7ea49c-4e21-40f7-a91c-bec9c0c00271" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_66f1a7e4-a97f-45fe-8b66-9e22d642cc7d" xlink:to="loc_us-gaap_IncentiveFeeExpenseIncomeBased_5d7ea49c-4e21-40f7-a91c-bec9c0c00271" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyIncentiveFeeContractualFeeWaived_e0d70296-0543-4499-915d-75716cd85b55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_66f1a7e4-a97f-45fe-8b66-9e22d642cc7d" xlink:to="loc_us-gaap_InvestmentCompanyIncentiveFeeContractualFeeWaived_e0d70296-0543-4499-915d-75716cd85b55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyManagementFeeExpenseAfterReductionOfFeeWaiver_10cc4f00-2935-49d6-a69c-d59b2618862a" xlink:href="nmfc-20251231.xsd#nmfc_InvestmentCompanyManagementFeeExpenseAfterReductionOfFeeWaiver"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_da29cea0-fbc0-4543-99e6-80115f1e6893" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_10cc4f00-2935-49d6-a69c-d59b2618862a" xlink:to="loc_us-gaap_ManagementFeeExpense_da29cea0-fbc0-4543-99e6-80115f1e6893" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyManagementFeeContractualFeeWaived_429e450a-4f11-408c-881d-a5b582013d55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_10cc4f00-2935-49d6-a69c-d59b2618862a" xlink:to="loc_us-gaap_InvestmentCompanyManagementFeeContractualFeeWaived_429e450a-4f11-408c-881d-a5b582013d55" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/BorrowingsEffectofHedgingDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="nmfc-20251231.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_ddc0039f-c8dd-4b1f-8902-f2e04214954f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_7e5bd5f5-7229-4641-adfc-83780f1320c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_ddc0039f-c8dd-4b1f-8902-f2e04214954f" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_7e5bd5f5-7229-4641-adfc-83780f1320c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InterestExpenseRecognizedOnDerivative_ba8867ad-9854-400e-ad47-9a71c90a6ccf" xlink:href="nmfc-20251231.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_ddc0039f-c8dd-4b1f-8902-f2e04214954f" xlink:to="loc_nmfc_InterestExpenseRecognizedOnDerivative_ba8867ad-9854-400e-ad47-9a71c90a6ccf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/DistributionsScheduleofTaxCharacterofDistributionsPaidDetails" xlink:type="simple" xlink:href="nmfc-20251231.xsd#DistributionsScheduleofTaxCharacterofDistributionsPaidDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/DistributionsScheduleofTaxCharacterofDistributionsPaidDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution_e4e1d3ac-31dd-448e-bb80-7c41c18bc255" xlink:href="nmfc-20251231.xsd#nmfc_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyDistributionOrdinaryIncomeNonQualified_f7c5de3a-bbdd-4b8e-a85f-19304d9c1a80" xlink:href="nmfc-20251231.xsd#nmfc_InvestmentCompanyDistributionOrdinaryIncomeNonQualified"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution_e4e1d3ac-31dd-448e-bb80-7c41c18bc255" xlink:to="loc_nmfc_InvestmentCompanyDistributionOrdinaryIncomeNonQualified_f7c5de3a-bbdd-4b8e-a85f-19304d9c1a80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyDistributionOrdinaryIncomeQualified_00f6328b-a2a2-456b-b6a2-e298b0d1e850" xlink:href="nmfc-20251231.xsd#nmfc_InvestmentCompanyDistributionOrdinaryIncomeQualified"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution_e4e1d3ac-31dd-448e-bb80-7c41c18bc255" xlink:to="loc_nmfc_InvestmentCompanyDistributionOrdinaryIncomeQualified_00f6328b-a2a2-456b-b6a2-e298b0d1e850" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributionLongTermCapitalGain_9cabe369-fc89-41ce-8c0b-f9ab3bc3759c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributionLongTermCapitalGain"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution_e4e1d3ac-31dd-448e-bb80-7c41c18bc255" xlink:to="loc_us-gaap_InvestmentCompanyDistributionLongTermCapitalGain_9cabe369-fc89-41ce-8c0b-f9ab3bc3759c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution_67014409-8b30-4116-90f2-9ef66a4dc4a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution_e4e1d3ac-31dd-448e-bb80-7c41c18bc255" xlink:to="loc_us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution_67014409-8b30-4116-90f2-9ef66a4dc4a3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/DistributionsScheduleofCostsofInvestmentsforTaxPurposesDetails" xlink:type="simple" xlink:href="nmfc-20251231.xsd#DistributionsScheduleofCostsofInvestmentsforTaxPurposesDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/DistributionsScheduleofCostsofInvestmentsforTaxPurposesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_TaxBasisOfInvestmentsFairValueForIncomeTaxPurposes_5fc2035a-3dd1-4afc-807c-ad35f8b27ffc" xlink:href="nmfc-20251231.xsd#nmfc_TaxBasisOfInvestmentsFairValueForIncomeTaxPurposes"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes_4a6b3277-3d27-4432-a7bc-7e73a7a2f06a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_TaxBasisOfInvestmentsFairValueForIncomeTaxPurposes_5fc2035a-3dd1-4afc-807c-ad35f8b27ffc" xlink:to="loc_us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes_4a6b3277-3d27-4432-a7bc-7e73a7a2f06a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation_a9c68547-a7fb-46f0-b3d6-fb00a5640f88" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_TaxBasisOfInvestmentsFairValueForIncomeTaxPurposes_5fc2035a-3dd1-4afc-807c-ad35f8b27ffc" xlink:to="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation_a9c68547-a7fb-46f0-b3d6-fb00a5640f88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation_9921ab68-291f-47e8-ac41-92b7789c4651" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_TaxBasisOfInvestmentsFairValueForIncomeTaxPurposes_5fc2035a-3dd1-4afc-807c-ad35f8b27ffc" xlink:to="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation_9921ab68-291f-47e8-ac41-92b7789c4651" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/DistributionsScheduleofComponentsofAccumulatedEarningsDeficitDetails" xlink:type="simple" xlink:href="nmfc-20251231.xsd#DistributionsScheduleofComponentsofAccumulatedEarningsDeficitDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/DistributionsScheduleofComponentsofAccumulatedEarningsDeficitDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyDistributableEarningsLoss_38670873-d52e-431f-987d-dbd310bbe541" xlink:href="nmfc-20251231.xsd#nmfc_InvestmentCompanyDistributableEarningsLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainAccumulatedCapitalLossCarryforward_689f2f6e-53e6-4e2e-a794-8c3d93decfc0" xlink:href="nmfc-20251231.xsd#nmfc_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainAccumulatedCapitalLossCarryforward"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyDistributableEarningsLoss_38670873-d52e-431f-987d-dbd310bbe541" xlink:to="loc_nmfc_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainAccumulatedCapitalLossCarryforward_689f2f6e-53e6-4e2e-a794-8c3d93decfc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_nmfc_InvestmentCompanyDistributableEarningsLossAccumulatedOtherTemporaryDifferences_8fbdb78f-2673-42a8-877b-635730e25e8b" xlink:href="nmfc-20251231.xsd#nmfc_InvestmentCompanyDistributableEarningsLossAccumulatedOtherTemporaryDifferences"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyDistributableEarningsLoss_38670873-d52e-431f-987d-dbd310bbe541" xlink:to="loc_nmfc_InvestmentCompanyDistributableEarningsLossAccumulatedOtherTemporaryDifferences_8fbdb78f-2673-42a8-877b-635730e25e8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss_ca48cfb4-e3b5-488f-b027-e4b82b8f428e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyDistributableEarningsLoss_38670873-d52e-431f-987d-dbd310bbe541" xlink:to="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss_ca48cfb4-e3b5-488f-b027-e4b82b8f428e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation_2836afb8-6e7c-4d39-b9bd-638ffc92db08" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_nmfc_InvestmentCompanyDistributableEarningsLoss_38670873-d52e-431f-987d-dbd310bbe541" xlink:to="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation_2836afb8-6e7c-4d39-b9bd-638ffc92db08" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="nmfc-20251231.xsd#EarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/EarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_f13757f3-7a99-47bd-886d-b4bd63bcbf52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_80eb5ec5-1a86-45f4-b27d-5602bfa17cf1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_f13757f3-7a99-47bd-886d-b4bd63bcbf52" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_80eb5ec5-1a86-45f4-b27d-5602bfa17cf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_27798000-ec6d-47d6-8b0d-e528bf8026c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_f13757f3-7a99-47bd-886d-b4bd63bcbf52" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_27798000-ec6d-47d6-8b0d-e528bf8026c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_e3a06fb0-72a1-4b02-8a98-fdea00a0ea7e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAttributableToParentDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_0f3775b4-f444-45a4-9f05-6427e46d802d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e3a06fb0-72a1-4b02-8a98-fdea00a0ea7e" xlink:to="loc_us-gaap_NetIncomeLoss_0f3775b4-f444-45a4-9f05-6427e46d802d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_884027dd-ebff-429a-921c-3064d79fca93" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e3a06fb0-72a1-4b02-8a98-fdea00a0ea7e" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_884027dd-ebff-429a-921c-3064d79fca93" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.newmountainfinance.com/role/FinancialHighlightsScheduleofFinancialHighlightsDetails" xlink:type="simple" xlink:href="nmfc-20251231.xsd#FinancialHighlightsScheduleofFinancialHighlightsDetails"/>
  <link:calculationLink xlink:role="http://www.newmountainfinance.com/role/FinancialHighlightsScheduleofFinancialHighlightsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_304de285-977d-40cb-92f8-53fdeb13a735" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_f1d68169-3118-4ade-9d9b-c17d14d4774a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_304de285-977d-40cb-92f8-53fdeb13a735" xlink:to="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_f1d68169-3118-4ade-9d9b-c17d14d4774a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_2a44cdb5-3f15-49a7-a536-29cb568ec401" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_304de285-977d-40cb-92f8-53fdeb13a735" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_2a44cdb5-3f15-49a7-a536-29cb568ec401" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
