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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:9358144c-c15f-4bd8-928a-4f022e08e194,g:ed3f56c5-ced8-4ac6-a6b0-096e7e6df5d3-->
<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://ofs.com/role/ConsolidatedStatementsofAssetsandLiabilities" xlink:type="simple" xlink:href="ofs-20251231.xsd#ConsolidatedStatementsofAssetsandLiabilities"/>
  <link:calculationLink xlink:role="http://ofs.com/role/ConsolidatedStatementsofAssetsandLiabilities" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_dd1c2713-bffd-4e0e-b4d8-cdae89156f0f" 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_eb5b180b-0687-44a4-849b-448279ae57cd" 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_dd1c2713-bffd-4e0e-b4d8-cdae89156f0f" xlink:to="loc_us-gaap_PreferredStockValue_eb5b180b-0687-44a4-849b-448279ae57cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_2050121f-97df-47f5-93d9-d77045448e1c" 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_dd1c2713-bffd-4e0e-b4d8-cdae89156f0f" xlink:to="loc_us-gaap_CommonStockValue_2050121f-97df-47f5-93d9-d77045448e1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_45b59390-a39c-4065-986d-bd231612dfbe" 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_dd1c2713-bffd-4e0e-b4d8-cdae89156f0f" xlink:to="loc_us-gaap_AdditionalPaidInCapital_45b59390-a39c-4065-986d-bd231612dfbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_4a0ef766-2e0d-4fe4-a613-9eff38b89055" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_dd1c2713-bffd-4e0e-b4d8-cdae89156f0f" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_4a0ef766-2e0d-4fe4-a613-9eff38b89055" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_2423fffb-98e8-4972-b87a-d4607db3b5cb" 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_27bd777e-7616-43d2-be65-b3459b93a676" 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_2423fffb-98e8-4972-b87a-d4607db3b5cb" xlink:to="loc_us-gaap_LineOfCredit_27bd777e-7616-43d2-be65-b3459b93a676" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebt_668ea932-d03e-4679-8701-0e6280e7a7ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnsecuredDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_2423fffb-98e8-4972-b87a-d4607db3b5cb" xlink:to="loc_us-gaap_UnsecuredDebt_668ea932-d03e-4679-8701-0e6280e7a7ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_ba63c063-ea5a-498a-9ccd-0de46acfb8a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_2423fffb-98e8-4972-b87a-d4607db3b5cb" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_ba63c063-ea5a-498a-9ccd-0de46acfb8a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_02c2786b-e53b-4cbb-b037-77e887cb599e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_2423fffb-98e8-4972-b87a-d4607db3b5cb" xlink:to="loc_us-gaap_OtherLiabilities_02c2786b-e53b-4cbb-b037-77e887cb599e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PayableInvestmentPurchase_509243a0-8937-4b0b-b839-1a71be587fb5" 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_2423fffb-98e8-4972-b87a-d4607db3b5cb" xlink:to="loc_us-gaap_PayableInvestmentPurchase_509243a0-8937-4b0b-b839-1a71be587fb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_2d4ac25c-6914-430a-96a5-65e6771b9f27" 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_10f2bdf5-14a0-48e5-a5a2-9253cf64acb8" 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_2d4ac25c-6914-430a-96a5-65e6771b9f27" xlink:to="loc_us-gaap_Liabilities_10f2bdf5-14a0-48e5-a5a2-9253cf64acb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_e5240fee-75f2-48c7-acf2-103d583694f3" 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_2d4ac25c-6914-430a-96a5-65e6771b9f27" xlink:to="loc_us-gaap_CommitmentsAndContingencies_e5240fee-75f2-48c7-acf2-103d583694f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e43f142e-53a2-4e43-a9e1-0e279e6a318c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_2d4ac25c-6914-430a-96a5-65e6771b9f27" xlink:to="loc_us-gaap_StockholdersEquity_e43f142e-53a2-4e43-a9e1-0e279e6a318c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_3c4c360e-6c46-474b-8468-422da004c878" 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_ReceivableInvestmentSale_9967cace-c044-4cbb-9074-463207bf9629" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReceivableInvestmentSale"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c4c360e-6c46-474b-8468-422da004c878" xlink:to="loc_us-gaap_ReceivableInvestmentSale_9967cace-c044-4cbb-9074-463207bf9629" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_fa14c9f0-dc10-4f24-bd94-a43d481201be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c4c360e-6c46-474b-8468-422da004c878" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_fa14c9f0-dc10-4f24-bd94-a43d481201be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendAndInterestReceivable_202067b6-4a3f-45e1-8d55-c1549797aee3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendAndInterestReceivable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c4c360e-6c46-474b-8468-422da004c878" xlink:to="loc_us-gaap_DividendAndInterestReceivable_202067b6-4a3f-45e1-8d55-c1549797aee3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssets_15fb029f-bc8c-434c-8259-d30d6ec940b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c4c360e-6c46-474b-8468-422da004c878" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssets_15fb029f-bc8c-434c-8259-d30d6ec940b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9832e5a7-866d-4e22-af61-f956c4440a51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_3c4c360e-6c46-474b-8468-422da004c878" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9832e5a7-866d-4e22-af61-f956c4440a51" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="ofs-20251231.xsd#ConsolidatedStatementsofOperations"/>
  <link:calculationLink xlink:role="http://ofs.com/role/ConsolidatedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_9523cbc9-41f7-4a6d-9e2c-014004807f09" 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_GrossInvestmentIncomeOperating_412602f1-12f0-4b7d-9d51-63724fa849fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_9523cbc9-41f7-4a6d-9e2c-014004807f09" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_412602f1-12f0-4b7d-9d51-63724fa849fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_58518edb-82ba-4c2d-8c9d-e22c2dce9562" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_9523cbc9-41f7-4a6d-9e2c-014004807f09" xlink:to="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_58518edb-82ba-4c2d-8c9d-e22c2dce9562" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_869ff447-f93c-410d-b1ee-93f3cf72d83e" 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_b5bc4670-ab01-465e-a0d4-69f72227690c" 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_869ff447-f93c-410d-b1ee-93f3cf72d83e" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_b5bc4670-ab01-465e-a0d4-69f72227690c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_df928d5e-12cd-462c-b243-1c5cceb20191" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_869ff447-f93c-410d-b1ee-93f3cf72d83e" xlink:to="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_df928d5e-12cd-462c-b243-1c5cceb20191" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_e7bd5c11-29ee-40fe-92f4-03a9c608464e" 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_869ff447-f93c-410d-b1ee-93f3cf72d83e" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_e7bd5c11-29ee-40fe-92f4-03a9c608464e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_5a7c6234-1f3b-4630-bb1e-2e2af578d0bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_869ff447-f93c-410d-b1ee-93f3cf72d83e" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_5a7c6234-1f3b-4630-bb1e-2e2af578d0bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_198288ca-6779-4bad-8212-22b4157a0ed0" 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_NetInvestmentIncome_032710b4-e4d0-4e4e-877a-8bfc15159422" 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_NetIncomeLoss_198288ca-6779-4bad-8212-22b4157a0ed0" xlink:to="loc_us-gaap_NetInvestmentIncome_032710b4-e4d0-4e4e-877a-8bfc15159422" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_be5ebea7-557e-4c68-b67b-824433c2d03e" 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_NetIncomeLoss_198288ca-6779-4bad-8212-22b4157a0ed0" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_be5ebea7-557e-4c68-b67b-824433c2d03e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_0a7ebb9a-0f58-416d-b558-79a27a3813d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_198288ca-6779-4bad-8212-22b4157a0ed0" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_0a7ebb9a-0f58-416d-b558-79a27a3813d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_64dec8d4-2929-454a-89c3-a6013f0cd89a" 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_f685e3eb-3bf1-4dd6-870a-9eba4b4df23c" 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_64dec8d4-2929-454a-89c3-a6013f0cd89a" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInCash_f685e3eb-3bf1-4dd6-870a-9eba4b4df23c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperatingPaidInCash_90761908-7ba6-4bb4-a79f-3ced544c6f3d" 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_64dec8d4-2929-454a-89c3-a6013f0cd89a" xlink:to="loc_us-gaap_DividendIncomeOperatingPaidInCash_90761908-7ba6-4bb4-a79f-3ced544c6f3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeeIncome_a9d91d81-1ce4-4ee0-97f5-4c04a870e2a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FeeIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_64dec8d4-2929-454a-89c3-a6013f0cd89a" xlink:to="loc_us-gaap_FeeIncome_a9d91d81-1ce4-4ee0-97f5-4c04a870e2a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperatingPaidInKind_1d1ec585-9fd0-40a7-9f62-a345a124bff6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperatingPaidInKind"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_64dec8d4-2929-454a-89c3-a6013f0cd89a" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperatingPaidInKind_1d1ec585-9fd0-40a7-9f62-a345a124bff6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_94be8620-3528-4eaf-8a6b-bf532720ef88" 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_ManagementFeeExpense_19309c9a-b394-488a-943d-ffc4d0a272e1" 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_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_94be8620-3528-4eaf-8a6b-bf532720ef88" xlink:to="loc_us-gaap_ManagementFeeExpense_19309c9a-b394-488a-943d-ffc4d0a272e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_aa536cbf-f250-4a61-9f2c-40eab3a01148" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_94be8620-3528-4eaf-8a6b-bf532720ef88" xlink:to="loc_us-gaap_ProfessionalFees_aa536cbf-f250-4a61-9f2c-40eab3a01148" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_a87c1134-70f9-4e00-a79d-e501b1764df0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_94be8620-3528-4eaf-8a6b-bf532720ef88" xlink:to="loc_us-gaap_InterestExpense_a87c1134-70f9-4e00-a79d-e501b1764df0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_1cd4ccad-eade-4dcc-9889-19a0df27db2f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_94be8620-3528-4eaf-8a6b-bf532720ef88" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_1cd4ccad-eade-4dcc-9889-19a0df27db2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpense_376ff079-9a56-4aa0-81d4-65d10c1c2b19" 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_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_94be8620-3528-4eaf-8a6b-bf532720ef88" xlink:to="loc_us-gaap_IncentiveFeeExpense_376ff079-9a56-4aa0-81d4-65d10c1c2b19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdministrativeFeesExpense_6f7b2c2b-f696-40cd-a00f-06b42a8eab6b" 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_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_94be8620-3528-4eaf-8a6b-bf532720ef88" xlink:to="loc_us-gaap_AdministrativeFeesExpense_6f7b2c2b-f696-40cd-a00f-06b42a8eab6b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/ConsolidatedStatementsofChangesinNetAssets" xlink:type="simple" xlink:href="ofs-20251231.xsd#ConsolidatedStatementsofChangesinNetAssets"/>
  <link:calculationLink xlink:role="http://ofs.com/role/ConsolidatedStatementsofChangesinNetAssets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_5cbd8d89-25a2-4089-af66-490fc1a7307a" 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_InvestmentIncomeOperatingAfterExpenseAndTax_a428dee5-9d09-4b03-bcde-d1df3d01b609" 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_StockholdersEquityPeriodIncreaseDecrease_5cbd8d89-25a2-4089-af66-490fc1a7307a" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_a428dee5-9d09-4b03-bcde-d1df3d01b609" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019c28ad-da93-75ed-b4b0-2f62c8a0dc22" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_5cbd8d89-25a2-4089-af66-490fc1a7307a" xlink:to="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019c28ad-da93-75ed-b4b0-2f62c8a0dc22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_f1568034-a6fc-4f65-aa7a-04389075de0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_5cbd8d89-25a2-4089-af66-490fc1a7307a" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_f1568034-a6fc-4f65-aa7a-04389075de0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_9d1bb3f4-8f00-4faf-9be1-1875de37271c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_5cbd8d89-25a2-4089-af66-490fc1a7307a" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_9d1bb3f4-8f00-4faf-9be1-1875de37271c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTaxReclassificationIncreaseDecrease_0ae5a392-fe85-4fed-9fc3-7292872f4b80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyTaxReclassificationIncreaseDecrease"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_5cbd8d89-25a2-4089-af66-490fc1a7307a" xlink:to="loc_us-gaap_InvestmentCompanyTaxReclassificationIncreaseDecrease_0ae5a392-fe85-4fed-9fc3-7292872f4b80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributionOrdinaryIncome_128a4bbf-0a32-46d0-96eb-b7c2f633f7ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributionOrdinaryIncome"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_5cbd8d89-25a2-4089-af66-490fc1a7307a" xlink:to="loc_us-gaap_InvestmentCompanyDistributionOrdinaryIncome_128a4bbf-0a32-46d0-96eb-b7c2f633f7ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution_6e58241a-b60f-4461-ba7f-2271590aa85d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_5cbd8d89-25a2-4089-af66-490fc1a7307a" xlink:to="loc_us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution_6e58241a-b60f-4461-ba7f-2271590aa85d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="ofs-20251231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://ofs.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_ef620cc3-b9b0-427c-aae7-09140d43ee4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4953780f-2d0e-4901-b90a-78f510a68737" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_ef620cc3-b9b0-427c-aae7-09140d43ee4b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_4953780f-2d0e-4901-b90a-78f510a68737" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b6422aa7-5f49-4153-a602-612c38383066" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_ef620cc3-b9b0-427c-aae7-09140d43ee4b" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b6422aa7-5f49-4153-a602-612c38383066" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" 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_AmortizationOfDeferredLoanOriginationFeesNet_7ef0b6ca-7da2-4b32-942a-468076a198dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfDeferredLoanOriginationFeesNet"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_7ef0b6ca-7da2-4b32-942a-468076a198dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4152a80d-9d2b-467e-862c-85a996406c9f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4152a80d-9d2b-467e-862c-85a996406c9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_4a5f7817-c825-47c9-9f7b-e21493f35bb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_4a5f7817-c825-47c9-9f7b-e21493f35bb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_dc24708f-ddb5-45f2-9f5a-82c49a0b44d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_dc24708f-ddb5-45f2-9f5a-82c49a0b44d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_8e154c77-ecd4-4009-98f8-e92b87a7864f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WriteOffOfDeferredDebtIssuanceCost"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_8e154c77-ecd4-4009-98f8-e92b87a7864f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebtBeforeWriteOffOfDeferredDebtIssuanceCost_8780a46b-b3a3-40ff-8a07-97fd85d2d708" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebtBeforeWriteOffOfDeferredDebtIssuanceCost"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebtBeforeWriteOffOfDeferredDebtIssuanceCost_8780a46b-b3a3-40ff-8a07-97fd85d2d708" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_ce673bbc-37ac-4c1a-a391-10a2aff77992" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_ce673bbc-37ac-4c1a-a391-10a2aff77992" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c1b9f746-5fa8-47c4-8a1d-f36207f5fc25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_NetIncomeLoss_c1b9f746-5fa8-47c4-8a1d-f36207f5fc25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_531d99fc-ac5e-4a10-854c-f5b6bb454421" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_531d99fc-ac5e-4a10-854c-f5b6bb454421" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_5fab0e1f-33c5-40a5-95c0-204e0c8493bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_5fab0e1f-33c5-40a5-95c0-204e0c8493bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_e58e901e-be55-4134-b30f-5c520fabf282" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_e58e901e-be55-4134-b30f-5c520fabf282" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_ProceedsFromDispositionOfInvestmentPrincipalPaymentOperatingActivity_23f6cce6-6686-431b-ae49-ae099d93e18b" xlink:href="ofs-20251231.xsd#ofs_ProceedsFromDispositionOfInvestmentPrincipalPaymentOperatingActivity"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_ofs_ProceedsFromDispositionOfInvestmentPrincipalPaymentOperatingActivity_23f6cce6-6686-431b-ae49-ae099d93e18b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivableForInvestmentSold_0ed4f030-8269-4274-8856-cf4f28e6953e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInReceivableForInvestmentSold"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivableForInvestmentSold_0ed4f030-8269-4274-8856-cf4f28e6953e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_0bf611f7-334c-4817-9ed1-3541d2704db0" 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_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_0bf611f7-334c-4817-9ed1-3541d2704db0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_AmendmentFeesCollected_94fc9a08-603c-4892-bdac-e42f1e2a7ad6" xlink:href="ofs-20251231.xsd#ofs_AmendmentFeesCollected"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_ofs_AmendmentFeesCollected_94fc9a08-603c-4892-bdac-e42f1e2a7ad6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToAffiliates_c08f698b-e642-4096-b3b5-23ad7ff60bcc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueToAffiliates"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToAffiliates_c08f698b-e642-4096-b3b5-23ad7ff60bcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_ProceedsFromInvestmentDistributionsOperatingActivity_31d2b4ec-c8e0-4c94-a125-1c3400d52b69" xlink:href="ofs-20251231.xsd#ofs_ProceedsFromInvestmentDistributionsOperatingActivity"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_ofs_ProceedsFromInvestmentDistributionsOperatingActivity_31d2b4ec-c8e0-4c94-a125-1c3400d52b69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_ProceedsFromDispositionOfInvestmentSaleOrRedemptionOperatingActivity_4f79a10f-9db6-4eed-95af-efdecd7a8443" xlink:href="ofs-20251231.xsd#ofs_ProceedsFromDispositionOfInvestmentSaleOrRedemptionOperatingActivity"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_ofs_ProceedsFromDispositionOfInvestmentSaleOrRedemptionOperatingActivity_4f79a10f-9db6-4eed-95af-efdecd7a8443" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_374b2d55-b512-43ef-969c-8b4b663f915b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_374b2d55-b512-43ef-969c-8b4b663f915b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_InterestAndDividendIncomeOperatingPaidInKindIncludingCapitalizedAmounts_a14482b2-8497-43e6-acea-a08f08f56ded" xlink:href="ofs-20251231.xsd#ofs_InterestAndDividendIncomeOperatingPaidInKindIncludingCapitalizedAmounts"/>
    <link:calculationArc order="20" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_ofs_InterestAndDividendIncomeOperatingPaidInKindIncludingCapitalizedAmounts_a14482b2-8497-43e6-acea-a08f08f56ded" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_9677f549-2bb4-4b5a-aa1e-67912468d5d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="21" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_adf56abf-a693-49f6-a8ed-2258880b7acd" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_9677f549-2bb4-4b5a-aa1e-67912468d5d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ccde1688-43dd-4d20-af01-c60263e8f905" 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_PaymentsOfDividendsCommonStock_47ecc78a-63a7-4137-bd06-7a69e15b7013" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ccde1688-43dd-4d20-af01-c60263e8f905" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_47ecc78a-63a7-4137-bd06-7a69e15b7013" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_c5ccdb39-759e-4324-82bd-a6fc7b3c30c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ccde1688-43dd-4d20-af01-c60263e8f905" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_c5ccdb39-759e-4324-82bd-a6fc7b3c30c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_0d1932c7-6333-4e79-843a-9ec6c638ca22" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ccde1688-43dd-4d20-af01-c60263e8f905" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_0d1932c7-6333-4e79-843a-9ec6c638ca22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_5a5c5677-af1b-4d4f-8e3b-c339acfbf557" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfUnsecuredDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ccde1688-43dd-4d20-af01-c60263e8f905" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_5a5c5677-af1b-4d4f-8e3b-c339acfbf557" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfUnsecuredDebt_7644e5e0-6695-4795-b1d2-e1e60a584e07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfUnsecuredDebt"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ccde1688-43dd-4d20-af01-c60263e8f905" xlink:to="loc_us-gaap_RepaymentsOfUnsecuredDebt_7644e5e0-6695-4795-b1d2-e1e60a584e07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_019bd7d4-f8be-7c85-89c3-f8e8ef0ed2bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfOtherLongTermDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ccde1688-43dd-4d20-af01-c60263e8f905" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_019bd7d4-f8be-7c85-89c3-f8e8ef0ed2bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019bd7d4-f8be-713b-9445-03a3fb272fb4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_ccde1688-43dd-4d20-af01-c60263e8f905" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019bd7d4-f8be-713b-9445-03a3fb272fb4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/ConsolidatedScheduleofInvestments" xlink:type="simple" xlink:href="ofs-20251231.xsd#ConsolidatedScheduleofInvestments"/>
  <link:calculationLink xlink:role="http://ofs.com/role/ConsolidatedScheduleofInvestments" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ofs_InvestmentOwnedNetAssetsPercentageAndCashEquivalentsNetAssetsPercentage_019c4dab-f7fe-7a7c-9196-22c98db872f5" xlink:href="ofs-20251231.xsd#ofs_InvestmentOwnedNetAssetsPercentageAndCashEquivalentsNetAssetsPercentage"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_019c4dab-f7fe-7c20-915c-1465c77c3b55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentOwnedPercentOfNetAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ofs_InvestmentOwnedNetAssetsPercentageAndCashEquivalentsNetAssetsPercentage_019c4dab-f7fe-7a7c-9196-22c98db872f5" xlink:to="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_019c4dab-f7fe-7c20-915c-1465c77c3b55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_CashEquivalentsNetAssetsPercentage_019c4dab-f7fe-7440-938d-dd92d28c016b" xlink:href="ofs-20251231.xsd#ofs_CashEquivalentsNetAssetsPercentage"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ofs_InvestmentOwnedNetAssetsPercentageAndCashEquivalentsNetAssetsPercentage_019c4dab-f7fe-7a7c-9196-22c98db872f5" xlink:to="loc_ofs_CashEquivalentsNetAssetsPercentage_019c4dab-f7fe-7440-938d-dd92d28c016b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_InvestmentOwnedFairValueAndCashEquivalentsAtFairValue_019c4dab-d4df-7e5f-88d6-345701e2e846" xlink:href="ofs-20251231.xsd#ofs_InvestmentOwnedFairValueAndCashEquivalentsAtFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_019c4dab-d4df-7702-87fe-9b37049ce092" 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_ofs_InvestmentOwnedFairValueAndCashEquivalentsAtFairValue_019c4dab-d4df-7e5f-88d6-345701e2e846" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_019c4dab-d4df-7702-87fe-9b37049ce092" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_CashEquivalentsFairValueDisclosure_019c4dab-d4df-7135-8001-6a3b1e8acce7" xlink:href="ofs-20251231.xsd#ofs_CashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ofs_InvestmentOwnedFairValueAndCashEquivalentsAtFairValue_019c4dab-d4df-7e5f-88d6-345701e2e846" xlink:to="loc_ofs_CashEquivalentsFairValueDisclosure_019c4dab-d4df-7135-8001-6a3b1e8acce7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_InvestmentOwnedCashAndCashEquivalentsAtPrincipalAmount_019c4dab-7538-7721-bfc3-0908b69eccac" xlink:href="ofs-20251231.xsd#ofs_InvestmentOwnedCashAndCashEquivalentsAtPrincipalAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedBalancePrincipalAmount_019c4dab-7538-791b-b80d-4476b046b8fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentOwnedBalancePrincipalAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ofs_InvestmentOwnedCashAndCashEquivalentsAtPrincipalAmount_019c4dab-7538-7721-bfc3-0908b69eccac" xlink:to="loc_us-gaap_InvestmentOwnedBalancePrincipalAmount_019c4dab-7538-791b-b80d-4476b046b8fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_CashEquivalentsPrincipalBalanceAmount_019c4dab-7538-7dae-96cc-a54a918bd96e" xlink:href="ofs-20251231.xsd#ofs_CashEquivalentsPrincipalBalanceAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ofs_InvestmentOwnedCashAndCashEquivalentsAtPrincipalAmount_019c4dab-7538-7721-bfc3-0908b69eccac" xlink:to="loc_ofs_CashEquivalentsPrincipalBalanceAmount_019c4dab-7538-7dae-96cc-a54a918bd96e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_InvestmentOwnedAmortizedCostAndCashEquivalentsAtCarryingValue_019c4dab-b8ed-7692-977d-3b818c2a7fa2" xlink:href="ofs-20251231.xsd#ofs_InvestmentOwnedAmortizedCostAndCashEquivalentsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtCost_019c4dab-b8ed-7190-b055-20a371a38530" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentOwnedAtCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ofs_InvestmentOwnedAmortizedCostAndCashEquivalentsAtCarryingValue_019c4dab-b8ed-7692-977d-3b818c2a7fa2" xlink:to="loc_us-gaap_InvestmentOwnedAtCost_019c4dab-b8ed-7190-b055-20a371a38530" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashEquivalentsAtCarryingValue_019c4dab-b8ed-765f-b368-44f544923a07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ofs_InvestmentOwnedAmortizedCostAndCashEquivalentsAtCarryingValue_019c4dab-b8ed-7692-977d-3b818c2a7fa2" xlink:to="loc_us-gaap_CashEquivalentsAtCarryingValue_019c4dab-b8ed-765f-b368-44f544923a07" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/SummaryofSignificantAccountingPoliciesCashandCashEquivalentsDetails" xlink:type="simple" xlink:href="ofs-20251231.xsd#SummaryofSignificantAccountingPoliciesCashandCashEquivalentsDetails"/>
  <link:calculationLink xlink:role="http://ofs.com/role/SummaryofSignificantAccountingPoliciesCashandCashEquivalentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019bd7df-ffe2-78e1-b7db-b68d31a43764" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Cash_019bd7df-ffe2-751f-91e1-140e2674b796" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Cash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019bd7df-ffe2-78e1-b7db-b68d31a43764" xlink:to="loc_us-gaap_Cash_019bd7df-ffe2-751f-91e1-140e2674b796" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashEquivalentsAtCarryingValue_019bd7df-ffe2-7a56-92d7-c08bda9f6ed1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019bd7df-ffe2-78e1-b7db-b68d31a43764" xlink:to="loc_us-gaap_CashEquivalentsAtCarryingValue_019bd7df-ffe2-7a56-92d7-c08bda9f6ed1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/BorrowingsSBADebenturesInterestExpenseandAverageOutstandingBalanceDetails" xlink:type="simple" xlink:href="ofs-20251231.xsd#BorrowingsSBADebenturesInterestExpenseandAverageOutstandingBalanceDetails"/>
  <link:calculationLink xlink:role="http://ofs.com/role/BorrowingsSBADebenturesInterestExpenseandAverageOutstandingBalanceDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_70515442-c4fc-4635-848e-f13f158bf7be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_82e7569e-7341-4ab1-84dd-7d4bacf401be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_70515442-c4fc-4635-848e-f13f158bf7be" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_82e7569e-7341-4ab1-84dd-7d4bacf401be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebtExcludingAmortization_3b945c99-1562-43e7-bf0e-afa026840191" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDebtExcludingAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_70515442-c4fc-4635-848e-f13f158bf7be" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_3b945c99-1562-43e7-bf0e-afa026840191" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/BorrowingsMaturityDetails" xlink:type="simple" xlink:href="ofs-20251231.xsd#BorrowingsMaturityDetails"/>
  <link:calculationLink xlink:role="http://ofs.com/role/BorrowingsMaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_08a61be7-57c3-4d04-ad79-50ce68bf9f92" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_ace3f86f-e0de-46b8-bdcc-fb83972cddfe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_08a61be7-57c3-4d04-ad79-50ce68bf9f92" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_ace3f86f-e0de-46b8-bdcc-fb83972cddfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_302a76b4-8fa6-4f36-ab66-569211ca6928" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_08a61be7-57c3-4d04-ad79-50ce68bf9f92" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_302a76b4-8fa6-4f36-ab66-569211ca6928" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_4865d470-fb8c-474a-96f7-fa6960d0e8e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_08a61be7-57c3-4d04-ad79-50ce68bf9f92" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_4865d470-fb8c-474a-96f7-fa6960d0e8e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_9b847486-cafb-4a08-ba9e-2c0b821be30d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_08a61be7-57c3-4d04-ad79-50ce68bf9f92" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_9b847486-cafb-4a08-ba9e-2c0b821be30d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_LongTermDebtMaturityAfterYearFour_6e248fd4-8a61-4d69-b203-f93cbf5cce03" xlink:href="ofs-20251231.xsd#ofs_LongTermDebtMaturityAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_08a61be7-57c3-4d04-ad79-50ce68bf9f92" xlink:to="loc_ofs_LongTermDebtMaturityAfterYearFour_6e248fd4-8a61-4d69-b203-f93cbf5cce03" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/FederalIncomeTaxTaxCharacterofDistributionsPaidDetails" xlink:type="simple" xlink:href="ofs-20251231.xsd#FederalIncomeTaxTaxCharacterofDistributionsPaidDetails"/>
  <link:calculationLink xlink:role="http://ofs.com/role/FederalIncomeTaxTaxCharacterofDistributionsPaidDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ofs_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution_22f336e8-ef89-4b50-b3cf-2f6347ced882" xlink:href="ofs-20251231.xsd#ofs_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributionOrdinaryIncome_48e23d32-d714-4285-b815-3d4dfc203865" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributionOrdinaryIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ofs_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution_22f336e8-ef89-4b50-b3cf-2f6347ced882" xlink:to="loc_us-gaap_InvestmentCompanyDistributionOrdinaryIncome_48e23d32-d714-4285-b815-3d4dfc203865" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution_a3cd0539-9891-412d-a98a-ae879632f494" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ofs_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution_22f336e8-ef89-4b50-b3cf-2f6347ced882" xlink:to="loc_us-gaap_InvestmentCompanyTaxReturnOfCapitalDistribution_a3cd0539-9891-412d-a98a-ae879632f494" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributionLongTermCapitalGain_b56368af-bdc0-451b-b430-35d95564073a" 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_ofs_InvestmentCompanyDividendDistributionAndTaxReturnOfCapitalDistribution_22f336e8-ef89-4b50-b3cf-2f6347ced882" xlink:to="loc_us-gaap_InvestmentCompanyDistributionLongTermCapitalGain_b56368af-bdc0-451b-b430-35d95564073a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/FederalIncomeTaxCostofInvestmentsandAssociatedGrossUnrealizedAppreciationDepreciationDetails" xlink:type="simple" xlink:href="ofs-20251231.xsd#FederalIncomeTaxCostofInvestmentsandAssociatedGrossUnrealizedAppreciationDepreciationDetails"/>
  <link:calculationLink xlink:role="http://ofs.com/role/FederalIncomeTaxCostofInvestmentsandAssociatedGrossUnrealizedAppreciationDepreciationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_a92fd8f7-fb79-4725-a134-9524d6dbb959" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet_76f9e884-5d4a-43e1-b2c6-3d2123bef51b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentOwnedAtFairValue_a92fd8f7-fb79-4725-a134-9524d6dbb959" xlink:to="loc_us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet_76f9e884-5d4a-43e1-b2c6-3d2123bef51b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes_94f52b1e-72a8-4edf-9f42-6a54520855fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentOwnedAtFairValue_a92fd8f7-fb79-4725-a134-9524d6dbb959" xlink:to="loc_us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes_94f52b1e-72a8-4edf-9f42-6a54520855fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet_01adf7e1-f48e-4a20-b4e7-a890f1cbc159" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation_1ef30846-839c-4f73-a5c2-7ea7012bb828" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet_01adf7e1-f48e-4a20-b4e7-a890f1cbc159" xlink:to="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation_1ef30846-839c-4f73-a5c2-7ea7012bb828" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation_a0bb983f-e39a-4038-854e-270f5c01dd87" 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_us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet_01adf7e1-f48e-4a20-b4e7-a890f1cbc159" xlink:to="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation_a0bb983f-e39a-4038-854e-270f5c01dd87" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/FederalIncomeTaxIncomeTaxesPaidDetails" xlink:type="simple" xlink:href="ofs-20251231.xsd#FederalIncomeTaxIncomeTaxesPaidDetails"/>
  <link:calculationLink xlink:role="http://ofs.com/role/FederalIncomeTaxIncomeTaxesPaidDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_019c47e1-0ee4-7357-97be-3d1b01f869ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019c47e1-0ee4-72a2-9947-72773304a437" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidFederalAfterRefundReceived"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019c47e1-0ee4-7357-97be-3d1b01f869ad" xlink:to="loc_us-gaap_IncomeTaxPaidFederalAfterRefundReceived_019c47e1-0ee4-72a2-9947-72773304a437" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019c47e1-0ee4-79a1-b588-8e5af9e3fad9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_019c47e1-0ee4-7357-97be-3d1b01f869ad" xlink:to="loc_us-gaap_IncomeTaxPaidStateAndLocalAfterRefundReceived_019c47e1-0ee4-79a1-b588-8e5af9e3fad9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/FinancialHighlightsDetails" xlink:type="simple" xlink:href="ofs-20251231.xsd#FinancialHighlightsDetails"/>
  <link:calculationLink xlink:role="http://ofs.com/role/FinancialHighlightsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_d32d31ea-b762-4470-b1a1-915aaae61b21" 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_ofs_InvestmentCompanyGainLossOnExtinguishmentOfDebtPerShare_09c30f37-8333-4724-a266-33003b07a593" xlink:href="ofs-20251231.xsd#ofs_InvestmentCompanyGainLossOnExtinguishmentOfDebtPerShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_d32d31ea-b762-4470-b1a1-915aaae61b21" xlink:to="loc_ofs_InvestmentCompanyGainLossOnExtinguishmentOfDebtPerShare_09c30f37-8333-4724-a266-33003b07a593" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyUnrealizedGainLossOnInvestmentPerShare_67943024-8575-43bd-98b1-446b9d75c1f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyUnrealizedGainLossOnInvestmentPerShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_d32d31ea-b762-4470-b1a1-915aaae61b21" xlink:to="loc_us-gaap_InvestmentCompanyUnrealizedGainLossOnInvestmentPerShare_67943024-8575-43bd-98b1-446b9d75c1f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRealizedGainLossOnInvestmentPerShare_b4850648-3249-4294-847b-2565c87f8c22" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyRealizedGainLossOnInvestmentPerShare"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_d32d31ea-b762-4470-b1a1-915aaae61b21" xlink:to="loc_us-gaap_InvestmentCompanyRealizedGainLossOnInvestmentPerShare_b4850648-3249-4294-847b-2565c87f8c22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_c5725ab0-3831-44ec-b558-6692e7c668ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_d32d31ea-b762-4470-b1a1-915aaae61b21" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_c5725ab0-3831-44ec-b558-6692e7c668ce" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/ConsolidatedScheduleofInvestmentsInandAdvancesToAffiliatesDetails" xlink:type="simple" xlink:href="ofs-20251231.xsd#ConsolidatedScheduleofInvestmentsInandAdvancesToAffiliatesDetails"/>
  <link:calculationLink xlink:role="http://ofs.com/role/ConsolidatedScheduleofInvestmentsInandAdvancesToAffiliatesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_4f2a9ac5-e1d8-47a8-a0b0-460da97730d2" 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_FeeIncome_f2445804-2e55-4a1c-b4f1-20800eb878ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FeeIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_4f2a9ac5-e1d8-47a8-a0b0-460da97730d2" xlink:to="loc_us-gaap_FeeIncome_f2445804-2e55-4a1c-b4f1-20800eb878ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperating_fa1b69b3-4405-46ea-9ffd-e31588e3cb24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_4f2a9ac5-e1d8-47a8-a0b0-460da97730d2" xlink:to="loc_us-gaap_DividendIncomeOperating_fa1b69b3-4405-46ea-9ffd-e31588e3cb24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInCash_c413eba0-9491-4e09-8422-09cace97c384" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOperatingPaidInCash"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_4f2a9ac5-e1d8-47a8-a0b0-460da97730d2" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInCash_c413eba0-9491-4e09-8422-09cace97c384" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
