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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:740a2cf0-00b1-4e9e-888a-0e935fcc8744,g:dd6fe995-3243-49e1-9fe3-4b37f4db212d-->
<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/ConsolidatedStatementsofAssetsandLiabilitiesunaudited" xlink:type="simple" xlink:href="ofs-20250930.xsd#ConsolidatedStatementsofAssetsandLiabilitiesunaudited"/>
  <link:calculationLink xlink:role="http://ofs.com/role/ConsolidatedStatementsofAssetsandLiabilitiesunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_da50a4c0-7869-4e2d-9afa-4130cc319d99" 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_f2a9ab59-75dc-419a-a404-6179d7b29c8e" 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_da50a4c0-7869-4e2d-9afa-4130cc319d99" xlink:to="loc_us-gaap_Liabilities_f2a9ab59-75dc-419a-a404-6179d7b29c8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_e22dfb3d-0e2b-494a-b226-65ea7deca931" 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_da50a4c0-7869-4e2d-9afa-4130cc319d99" xlink:to="loc_us-gaap_CommitmentsAndContingencies_e22dfb3d-0e2b-494a-b226-65ea7deca931" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_187ef4eb-625a-4d7a-819e-f51d0243b293" 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_da50a4c0-7869-4e2d-9afa-4130cc319d99" xlink:to="loc_us-gaap_StockholdersEquity_187ef4eb-625a-4d7a-819e-f51d0243b293" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_3b9d57ba-5a35-49a3-8fb5-84bdb5090ee8" 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_bb072025-9fcf-4fa8-8469-900174672d33" 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_3b9d57ba-5a35-49a3-8fb5-84bdb5090ee8" xlink:to="loc_us-gaap_PreferredStockValue_bb072025-9fcf-4fa8-8469-900174672d33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_01c2dac8-7421-4c31-9feb-50c51b9f0555" 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_3b9d57ba-5a35-49a3-8fb5-84bdb5090ee8" xlink:to="loc_us-gaap_CommonStockValue_01c2dac8-7421-4c31-9feb-50c51b9f0555" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_46b68862-8f0a-45bd-a894-4cb1d11f9ebd" 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_3b9d57ba-5a35-49a3-8fb5-84bdb5090ee8" xlink:to="loc_us-gaap_AdditionalPaidInCapital_46b68862-8f0a-45bd-a894-4cb1d11f9ebd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_89d3d9e5-3865-4242-bf4a-6989de7e51b8" 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_3b9d57ba-5a35-49a3-8fb5-84bdb5090ee8" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_89d3d9e5-3865-4242-bf4a-6989de7e51b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_8b541857-892b-4878-8652-6bdb1b47d363" 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_d3e25d2b-1fa9-42ea-a1ec-4a6538c13e0e" 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_8b541857-892b-4878-8652-6bdb1b47d363" xlink:to="loc_us-gaap_LineOfCredit_d3e25d2b-1fa9-42ea-a1ec-4a6538c13e0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebt_81820d1a-29eb-41d0-b1db-4d4a70d1a7e5" 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_8b541857-892b-4878-8652-6bdb1b47d363" xlink:to="loc_us-gaap_UnsecuredDebt_81820d1a-29eb-41d0-b1db-4d4a70d1a7e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_409a3c5d-e4f3-42c2-b89b-dd96313ad2dd" 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_8b541857-892b-4878-8652-6bdb1b47d363" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_409a3c5d-e4f3-42c2-b89b-dd96313ad2dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_e4d7d4e0-db88-4985-b936-577c42c675c4" 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_8b541857-892b-4878-8652-6bdb1b47d363" xlink:to="loc_us-gaap_OtherLiabilities_e4d7d4e0-db88-4985-b936-577c42c675c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PayableInvestmentPurchase_fef42696-0f9c-4f4a-b58d-e903cfbdd31c" 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_8b541857-892b-4878-8652-6bdb1b47d363" xlink:to="loc_us-gaap_PayableInvestmentPurchase_fef42696-0f9c-4f4a-b58d-e903cfbdd31c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_72bb8a1a-8c4c-4444-9672-d1f139fea709" 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_114305a1-2131-4595-98e6-5ecbd280153d" 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_72bb8a1a-8c4c-4444-9672-d1f139fea709" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_114305a1-2131-4595-98e6-5ecbd280153d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_b344169c-1de7-4546-9e63-0fa83d6c5d25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_72bb8a1a-8c4c-4444-9672-d1f139fea709" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_b344169c-1de7-4546-9e63-0fa83d6c5d25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendAndInterestReceivable_dc0b0dc5-5921-4a78-8e89-db353e5a464c" 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_72bb8a1a-8c4c-4444-9672-d1f139fea709" xlink:to="loc_us-gaap_DividendAndInterestReceivable_dc0b0dc5-5921-4a78-8e89-db353e5a464c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableInvestmentSale_7aa5170a-468c-4267-9bcc-08472b916a8a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReceivableInvestmentSale"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_72bb8a1a-8c4c-4444-9672-d1f139fea709" xlink:to="loc_us-gaap_ReceivableInvestmentSale_7aa5170a-468c-4267-9bcc-08472b916a8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssets_56968d68-9bc6-4e83-a7b2-60d799444e85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_72bb8a1a-8c4c-4444-9672-d1f139fea709" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssets_56968d68-9bc6-4e83-a7b2-60d799444e85" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/ConsolidatedStatementsofOperationsunaudited" xlink:type="simple" xlink:href="ofs-20250930.xsd#ConsolidatedStatementsofOperationsunaudited"/>
  <link:calculationLink xlink:role="http://ofs.com/role/ConsolidatedStatementsofOperationsunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_03649996-6045-4ec1-9dd1-f9eecda32f0e" 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_43e9bc1d-ded3-4f62-a414-2e71cac22d78" 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_03649996-6045-4ec1-9dd1-f9eecda32f0e" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_43e9bc1d-ded3-4f62-a414-2e71cac22d78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_90a09f12-4856-4e1e-b1c7-9d3e301ddb47" 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_03649996-6045-4ec1-9dd1-f9eecda32f0e" xlink:to="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_90a09f12-4856-4e1e-b1c7-9d3e301ddb47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_1f9afeec-2725-423f-ab01-0c4a53d44252" 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_03649996-6045-4ec1-9dd1-f9eecda32f0e" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_1f9afeec-2725-423f-ab01-0c4a53d44252" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_8da04383-21e3-46f4-9267-ad17f8f77753" 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_03649996-6045-4ec1-9dd1-f9eecda32f0e" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_8da04383-21e3-46f4-9267-ad17f8f77753" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_c2c7e4a0-264b-4273-a344-bbff265f6ba2" 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_72a51bf7-e036-45e2-b613-2ac5c048e1e9" 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_c2c7e4a0-264b-4273-a344-bbff265f6ba2" xlink:to="loc_us-gaap_FeeIncome_72a51bf7-e036-45e2-b613-2ac5c048e1e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperatingPaidInKind_aa0af540-6f0a-4f0a-b985-34d5ac439465" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperatingPaidInKind"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_c2c7e4a0-264b-4273-a344-bbff265f6ba2" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperatingPaidInKind_aa0af540-6f0a-4f0a-b985-34d5ac439465" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInCash_686f9b77-bbf9-45eb-8db1-8aef4a962062" 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_c2c7e4a0-264b-4273-a344-bbff265f6ba2" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInCash_686f9b77-bbf9-45eb-8db1-8aef4a962062" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperatingPaidInCash_dc139dab-dc5d-441a-b7f9-1d251ee4c53a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendIncomeOperatingPaidInCash"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_c2c7e4a0-264b-4273-a344-bbff265f6ba2" xlink:to="loc_us-gaap_DividendIncomeOperatingPaidInCash_dc139dab-dc5d-441a-b7f9-1d251ee4c53a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_54612e4e-6533-4ec6-8596-d5ddd0e2dfcf" 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_4b9e16b7-ed3e-4ef4-91e1-768735270942" 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_54612e4e-6533-4ec6-8596-d5ddd0e2dfcf" xlink:to="loc_us-gaap_NetInvestmentIncome_4b9e16b7-ed3e-4ef4-91e1-768735270942" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_a2107de5-c064-4e02-9eec-9fa89b2365b3" 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_54612e4e-6533-4ec6-8596-d5ddd0e2dfcf" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_a2107de5-c064-4e02-9eec-9fa89b2365b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_a6cc7d1e-a6b7-4b3b-add1-97deda4d4589" 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_54612e4e-6533-4ec6-8596-d5ddd0e2dfcf" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_a6cc7d1e-a6b7-4b3b-add1-97deda4d4589" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_5d30fdb9-1aca-4dc5-9523-614ef5e80a3b" 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_0dbf4edf-adba-422b-8dac-3797c13e8c3f" 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_5d30fdb9-1aca-4dc5-9523-614ef5e80a3b" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_0dbf4edf-adba-422b-8dac-3797c13e8c3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_2373f262-09ff-4976-b84f-300cb58bfc2d" 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_5d30fdb9-1aca-4dc5-9523-614ef5e80a3b" xlink:to="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_2373f262-09ff-4976-b84f-300cb58bfc2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_e0df0636-be8f-46f2-bc1f-458e47cb6477" 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_InterestExpense_1b84d705-dc9f-409f-8f07-c708c1c0dea5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_e0df0636-be8f-46f2-bc1f-458e47cb6477" xlink:to="loc_us-gaap_InterestExpense_1b84d705-dc9f-409f-8f07-c708c1c0dea5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_21280134-28f4-41d4-96be-5342187cc0d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_e0df0636-be8f-46f2-bc1f-458e47cb6477" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_21280134-28f4-41d4-96be-5342187cc0d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdministrativeFeesExpense_43cd3d7e-bce9-424a-b222-955805fedf2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdministrativeFeesExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_e0df0636-be8f-46f2-bc1f-458e47cb6477" xlink:to="loc_us-gaap_AdministrativeFeesExpense_43cd3d7e-bce9-424a-b222-955805fedf2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_91069ad3-ff18-45ad-8f86-694eef467408" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_e0df0636-be8f-46f2-bc1f-458e47cb6477" xlink:to="loc_us-gaap_ProfessionalFees_91069ad3-ff18-45ad-8f86-694eef467408" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_d38fe90d-e478-4b55-ad45-017b75dc6395" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ManagementFeeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_e0df0636-be8f-46f2-bc1f-458e47cb6477" xlink:to="loc_us-gaap_ManagementFeeExpense_d38fe90d-e478-4b55-ad45-017b75dc6395" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpense_bf545804-6cf4-49d4-bbb2-62eeb25167f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncentiveFeeExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_e0df0636-be8f-46f2-bc1f-458e47cb6477" xlink:to="loc_us-gaap_IncentiveFeeExpense_bf545804-6cf4-49d4-bbb2-62eeb25167f1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/ConsolidatedStatementsofChangesinNetAssetsunaudited" xlink:type="simple" xlink:href="ofs-20250930.xsd#ConsolidatedStatementsofChangesinNetAssetsunaudited"/>
  <link:calculationLink xlink:role="http://ofs.com/role/ConsolidatedStatementsofChangesinNetAssetsunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_250bb5c1-7d18-4973-9729-e1dff92981da" 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_9bc56c77-86b1-4a64-ad64-1b82a17e8e29" 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_250bb5c1-7d18-4973-9729-e1dff92981da" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_9bc56c77-86b1-4a64-ad64-1b82a17e8e29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_c208ee49-df2a-496f-b2d7-bca5a55ed96c" 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_250bb5c1-7d18-4973-9729-e1dff92981da" xlink:to="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_c208ee49-df2a-496f-b2d7-bca5a55ed96c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_bb40915a-1c25-47b1-9d68-71b25d604171" 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_250bb5c1-7d18-4973-9729-e1dff92981da" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_bb40915a-1c25-47b1-9d68-71b25d604171" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_dccbef4a-f1be-47e7-8f28-e153058f22c0" 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_StockholdersEquityPeriodIncreaseDecrease_250bb5c1-7d18-4973-9729-e1dff92981da" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_dccbef4a-f1be-47e7-8f28-e153058f22c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExtinguishmentOfDebtGainLossNetOfTax_c99799e8-5894-4207-a8ae-edf886f73399" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ExtinguishmentOfDebtGainLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_250bb5c1-7d18-4973-9729-e1dff92981da" xlink:to="loc_us-gaap_ExtinguishmentOfDebtGainLossNetOfTax_c99799e8-5894-4207-a8ae-edf886f73399" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/ConsolidatedStatementsofCashFlowsunaudited" xlink:type="simple" xlink:href="ofs-20250930.xsd#ConsolidatedStatementsofCashFlowsunaudited"/>
  <link:calculationLink xlink:role="http://ofs.com/role/ConsolidatedStatementsofCashFlowsunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_494dc41d-814c-4db4-b4a2-0f1018091662" 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_d43410e3-f5b8-4301-b7c9-dc1600ec5aa7" 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_494dc41d-814c-4db4-b4a2-0f1018091662" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_d43410e3-f5b8-4301-b7c9-dc1600ec5aa7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_145d0eeb-dec9-407e-8eda-ef43aa2c0b06" 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_494dc41d-814c-4db4-b4a2-0f1018091662" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_145d0eeb-dec9-407e-8eda-ef43aa2c0b06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_3b12428f-69ce-488b-8f8f-3830c35ff635" 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_494dc41d-814c-4db4-b4a2-0f1018091662" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_3b12428f-69ce-488b-8f8f-3830c35ff635" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_78531200-ec66-421b-bce9-9bba5d42c811" 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_494dc41d-814c-4db4-b4a2-0f1018091662" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_78531200-ec66-421b-bce9-9bba5d42c811" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfUnsecuredDebt_2f0bb65f-78bd-469a-9ef5-a0ea4f3aca4d" 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_494dc41d-814c-4db4-b4a2-0f1018091662" xlink:to="loc_us-gaap_RepaymentsOfUnsecuredDebt_2f0bb65f-78bd-469a-9ef5-a0ea4f3aca4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfOtherLongTermDebt_0c211b7f-63dd-40ef-96ad-33d32dcc03fb" 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_494dc41d-814c-4db4-b4a2-0f1018091662" xlink:to="loc_us-gaap_RepaymentsOfOtherLongTermDebt_0c211b7f-63dd-40ef-96ad-33d32dcc03fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_78aab239-9e50-42f2-8fb2-301a29a5e49d" 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_494dc41d-814c-4db4-b4a2-0f1018091662" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_78aab239-9e50-42f2-8fb2-301a29a5e49d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_c270cbab-a06c-438e-a94b-66fe4042dcb5" 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_7b9e7f1f-31bd-4a8a-9703-3793afc1cd4d" 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_c270cbab-a06c-438e-a94b-66fe4042dcb5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b9e7f1f-31bd-4a8a-9703-3793afc1cd4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f80f64bf-7aa8-4f88-855d-6fcb92f956cc" 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_c270cbab-a06c-438e-a94b-66fe4042dcb5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_f80f64bf-7aa8-4f88-855d-6fcb92f956cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" 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_NetIncomeLoss_bab8aa04-24d9-40e2-ba3b-0fb6e401ec92" 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_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_NetIncomeLoss_bab8aa04-24d9-40e2-ba3b-0fb6e401ec92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_AmendmentFeesCollected_a7e49b0f-e28c-4bb1-ace1-8ea555fe66b9" xlink:href="ofs-20250930.xsd#ofs_AmendmentFeesCollected"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_ofs_AmendmentFeesCollected_a7e49b0f-e28c-4bb1-ace1-8ea555fe66b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_65ae18c7-5d84-40ef-8d6a-6f138c913c98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_65ae18c7-5d84-40ef-8d6a-6f138c913c98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_9e6895fd-50bc-4858-854f-816a015c54d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WriteOffOfDeferredDebtIssuanceCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_9e6895fd-50bc-4858-854f-816a015c54d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_7b0d35cc-dd73-4024-8f4b-d7c8ec7fe706" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_7b0d35cc-dd73-4024-8f4b-d7c8ec7fe706" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_ProceedsFromDispositionOfInvestmentPrincipalPaymentOperatingActivity_836cd927-c894-4d04-bdae-345aaf2df6c0" xlink:href="ofs-20250930.xsd#ofs_ProceedsFromDispositionOfInvestmentPrincipalPaymentOperatingActivity"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_ofs_ProceedsFromDispositionOfInvestmentPrincipalPaymentOperatingActivity_836cd927-c894-4d04-bdae-345aaf2df6c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_ProceedsFromDispositionOfInvestmentSaleOrRedemptionOperatingActivity_9bad398b-2b29-4c5e-a43c-4149a717e257" xlink:href="ofs-20250930.xsd#ofs_ProceedsFromDispositionOfInvestmentSaleOrRedemptionOperatingActivity"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_ofs_ProceedsFromDispositionOfInvestmentSaleOrRedemptionOperatingActivity_9bad398b-2b29-4c5e-a43c-4149a717e257" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_ProceedsFromInvestmentDistributionsOperatingActivity_0fb324a3-4aec-4b15-8fdb-42f084d4d91d" xlink:href="ofs-20250930.xsd#ofs_ProceedsFromInvestmentDistributionsOperatingActivity"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_ofs_ProceedsFromInvestmentDistributionsOperatingActivity_0fb324a3-4aec-4b15-8fdb-42f084d4d91d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_ca8a0e3f-6ff3-4f5c-8037-e589a72a3dec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_ca8a0e3f-6ff3-4f5c-8037-e589a72a3dec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToAffiliates_6312b2a4-9b8c-49b5-ba77-c466474dd1b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueToAffiliates"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToAffiliates_6312b2a4-9b8c-49b5-ba77-c466474dd1b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_5f112886-e41c-4ec6-8abf-606b8f579894" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_IncreaseDecreaseInPayableForInvestmentPurchased_5f112886-e41c-4ec6-8abf-606b8f579894" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_InterestAndDividendIncomeOperatingPaidInKindIncludingCapitalizedAmounts_74e3f329-8773-408e-9598-0b2f614dbe9a" xlink:href="ofs-20250930.xsd#ofs_InterestAndDividendIncomeOperatingPaidInKindIncludingCapitalizedAmounts"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_ofs_InterestAndDividendIncomeOperatingPaidInKindIncludingCapitalizedAmounts_74e3f329-8773-408e-9598-0b2f614dbe9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebtBeforeWriteOffOfDeferredDebtIssuanceCost_298597cc-07f8-4d7a-8087-4d459ccb03a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebtBeforeWriteOffOfDeferredDebtIssuanceCost"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebtBeforeWriteOffOfDeferredDebtIssuanceCost_298597cc-07f8-4d7a-8087-4d459ccb03a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_4bd05cb3-d25b-4aa2-a72d-cbdc6ee5ba47" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_4bd05cb3-d25b-4aa2-a72d-cbdc6ee5ba47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_628d8565-bf5f-427f-b6c4-56898f95c151" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_628d8565-bf5f-427f-b6c4-56898f95c151" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_987b397d-61b6-4b82-9df2-6afb19c955bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_987b397d-61b6-4b82-9df2-6afb19c955bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_d2e84f1e-22e0-4158-9295-7d4c8d04c476" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_d2e84f1e-22e0-4158-9295-7d4c8d04c476" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_4955cb1a-961e-4f2f-ba59-141fe4b131e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfDeferredLoanOriginationFeesNet"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_AmortizationOfDeferredLoanOriginationFeesNet_4955cb1a-961e-4f2f-ba59-141fe4b131e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_7e7d64d8-4212-43ce-8a1f-13a946fb0dde" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_7e7d64d8-4212-43ce-8a1f-13a946fb0dde" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivableForInvestmentSold_cf66923d-0ecc-42f4-a9b9-9b756ced0cb4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInReceivableForInvestmentSold"/>
    <link:calculationArc order="20" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivableForInvestmentSold_cf66923d-0ecc-42f4-a9b9-9b756ced0cb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_7592fe0e-e0f9-478c-b621-20f1c425b44f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="21" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_6c7936db-d9f9-4f68-b919-076d8b6f3d5b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_7592fe0e-e0f9-478c-b621-20f1c425b44f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/BorrowingsSBADebenturesInterestExpenseandAverageOutstandingBalanceDetails" xlink:type="simple" xlink:href="ofs-20250930.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_9e03adf2-c8f7-4b1e-8770-83638f6b4dbe" 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_89f9cdf2-78c0-4024-ac66-5e7207f688e1" 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_9e03adf2-c8f7-4b1e-8770-83638f6b4dbe" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_89f9cdf2-78c0-4024-ac66-5e7207f688e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebtExcludingAmortization_f13fc5d4-be94-4ce2-9886-ab82d6540809" 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_9e03adf2-c8f7-4b1e-8770-83638f6b4dbe" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_f13fc5d4-be94-4ce2-9886-ab82d6540809" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/BorrowingsMaturityDetails" xlink:type="simple" xlink:href="ofs-20250930.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_5c6b3b30-cb1e-426c-b891-cdaa136d7d31" 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_LongTermDebtMaturingInYearsFourAndFive_ffe5dddb-137b-4d7c-a0ed-2d8803afd49b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturingInYearsFourAndFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_5c6b3b30-cb1e-426c-b891-cdaa136d7d31" xlink:to="loc_us-gaap_LongTermDebtMaturingInYearsFourAndFive_ffe5dddb-137b-4d7c-a0ed-2d8803afd49b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_d49abd98-f08d-43e4-9960-6bd0ea3c2d6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_5c6b3b30-cb1e-426c-b891-cdaa136d7d31" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_d49abd98-f08d-43e4-9960-6bd0ea3c2d6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_LongTermDebtMaturityYearsOneToYearThree_0e4b8531-bc76-456e-bae3-0464e9965be6" xlink:href="ofs-20250930.xsd#ofs_LongTermDebtMaturityYearsOneToYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_5c6b3b30-cb1e-426c-b891-cdaa136d7d31" xlink:to="loc_ofs_LongTermDebtMaturityYearsOneToYearThree_0e4b8531-bc76-456e-bae3-0464e9965be6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_46616690-6980-4d39-ae6c-64aa0aead1e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_5c6b3b30-cb1e-426c-b891-cdaa136d7d31" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_46616690-6980-4d39-ae6c-64aa0aead1e0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/FinancialHighlightsDetails" xlink:type="simple" xlink:href="ofs-20250930.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_02be5225-3ddd-425d-9460-ad9b9548afe5" 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_InvestmentCompanyInvestmentIncomeLossPerShare_da7375c9-ec57-4cb6-8bfc-834871a69ef3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_02be5225-3ddd-425d-9460-ad9b9548afe5" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_da7375c9-ec57-4cb6-8bfc-834871a69ef3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRealizedGainLossOnInvestmentPerShare_75bba2fb-76e7-4a19-8621-e96b4afa0eef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyRealizedGainLossOnInvestmentPerShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_02be5225-3ddd-425d-9460-ad9b9548afe5" xlink:to="loc_us-gaap_InvestmentCompanyRealizedGainLossOnInvestmentPerShare_75bba2fb-76e7-4a19-8621-e96b4afa0eef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyUnrealizedGainLossOnInvestmentPerShare_c1914ccf-3daa-4432-94f3-cec670333d49" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyUnrealizedGainLossOnInvestmentPerShare"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_02be5225-3ddd-425d-9460-ad9b9548afe5" xlink:to="loc_us-gaap_InvestmentCompanyUnrealizedGainLossOnInvestmentPerShare_c1914ccf-3daa-4432-94f3-cec670333d49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_ofs_InvestmentCompanyGainLossOnExtinguishmentOfDebtPerShare_592aefd5-3744-4708-91bc-768f4d38dbcd" xlink:href="ofs-20250930.xsd#ofs_InvestmentCompanyGainLossOnExtinguishmentOfDebtPerShare"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_02be5225-3ddd-425d-9460-ad9b9548afe5" xlink:to="loc_ofs_InvestmentCompanyGainLossOnExtinguishmentOfDebtPerShare_592aefd5-3744-4708-91bc-768f4d38dbcd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ofs.com/role/ConsolidatedScheduleofInvestmentsInandAdvancesToAffiliatesDetails" xlink:type="simple" xlink:href="ofs-20250930.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_e9895e15-e316-4867-83b3-8b65afba799a" 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_DividendIncomeOperating_c0e8ae80-3cba-4067-8d23-8d4eed4cc8a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_e9895e15-e316-4867-83b3-8b65afba799a" xlink:to="loc_us-gaap_DividendIncomeOperating_c0e8ae80-3cba-4067-8d23-8d4eed4cc8a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInCash_f4d51909-abff-4b5d-b77a-c71637813b84" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOperatingPaidInCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_e9895e15-e316-4867-83b3-8b65afba799a" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInCash_f4d51909-abff-4b5d-b77a-c71637813b84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeeIncome_ae1e7c63-10ad-45dc-8285-117f175d0e9f" 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_e9895e15-e316-4867-83b3-8b65afba799a" xlink:to="loc_us-gaap_FeeIncome_ae1e7c63-10ad-45dc-8285-117f175d0e9f" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
