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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019ff179-34a8-78cb-ad92-4e20aeeb1e3a,g:f7d07e09-f127-4285-90c7-7f7665174271-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES" xlink:type="simple" xlink:href="cswc-20260930.xsd#CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ff179-4cfc-797e-beb2-7afe59518aeb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019ff179-4cfc-7aa2-a3a8-5ac1036680d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ff179-4cfc-797e-beb2-7afe59518aeb" xlink:to="loc_us-gaap_Liabilities_019ff179-4cfc-7aa2-a3a8-5ac1036680d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019ff179-4cfc-74bc-bbd8-8d55949b4e18" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ff179-4cfc-797e-beb2-7afe59518aeb" xlink:to="loc_us-gaap_StockholdersEquity_019ff179-4cfc-74bc-bbd8-8d55949b4e18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019ff179-4cfc-7412-bdeb-9421b475cbf0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ff179-4cfc-797e-beb2-7afe59518aeb" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019ff179-4cfc-7412-bdeb-9421b475cbf0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019ff179-4cfc-7c7a-a4d0-6129986f970e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019ff179-4cfc-713b-a33a-478547d0de9f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ff179-4cfc-7c7a-a4d0-6129986f970e" xlink:to="loc_us-gaap_CommonStockValue_019ff179-4cfc-713b-a33a-478547d0de9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019ff179-4cfc-74da-880d-dc89ac89f2e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ff179-4cfc-7c7a-a4d0-6129986f970e" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019ff179-4cfc-74da-880d-dc89ac89f2e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019ff179-4cfc-7d6f-897b-1de88af9d7dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ff179-4cfc-7c7a-a4d0-6129986f970e" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019ff179-4cfc-7d6f-897b-1de88af9d7dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019ff179-4cfc-7a84-bf48-b255e73e5f24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_AccruedRestorationPlanLiability_019ff179-4cfc-743a-8db9-37731952080d" xlink:href="cswc-20260930.xsd#cswc_AccruedRestorationPlanLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ff179-4cfc-7a84-bf48-b255e73e5f24" xlink:to="loc_cswc_AccruedRestorationPlanLiability_019ff179-4cfc-743a-8db9-37731952080d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxes_019ff179-4cfc-7ad6-8884-9d01c2b5335b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ff179-4cfc-7a84-bf48-b255e73e5f24" xlink:to="loc_us-gaap_AccruedIncomeTaxes_019ff179-4cfc-7ad6-8884-9d01c2b5335b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019ff179-4cfc-7e48-bc60-e81040ce4ee4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ff179-4cfc-7a84-bf48-b255e73e5f24" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019ff179-4cfc-7e48-bc60-e81040ce4ee4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019ff179-4cfc-7d99-bd0d-ebeb2fbc3d06" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ff179-4cfc-7a84-bf48-b255e73e5f24" xlink:to="loc_us-gaap_LineOfCredit_019ff179-4cfc-7d99-bd0d-ebeb2fbc3d06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebt_019ff179-4cfc-7148-b3d1-5bc1c3fdf619" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnsecuredDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ff179-4cfc-7a84-bf48-b255e73e5f24" xlink:to="loc_us-gaap_UnsecuredDebt_019ff179-4cfc-7148-b3d1-5bc1c3fdf619" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MediumTermNotes_019ff179-4cfc-7afa-bff7-1ed85bd1a09b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MediumTermNotes"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ff179-4cfc-7a84-bf48-b255e73e5f24" xlink:to="loc_us-gaap_MediumTermNotes_019ff179-4cfc-7afa-bff7-1ed85bd1a09b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019ff179-4cfc-734a-be33-8af3bda88c14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ff179-4cfc-7a84-bf48-b255e73e5f24" xlink:to="loc_us-gaap_OtherLiabilities_019ff179-4cfc-734a-be33-8af3bda88c14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019ff179-4cfc-712f-8a35-449a7788891d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ff179-4cfc-73e0-8c6b-60626f3e1a90" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4cfc-712f-8a35-449a7788891d" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ff179-4cfc-73e0-8c6b-60626f3e1a90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_019ff179-4cfc-78d8-9eb1-ceee93939bd5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019ff179-4cfc-712f-8a35-449a7788891d" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_019ff179-4cfc-78d8-9eb1-ceee93939bd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EscrowDeposit_019ff179-4cfc-7ec3-ae66-fcf3cd143849" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EscrowDeposit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4cfc-712f-8a35-449a7788891d" xlink:to="loc_us-gaap_EscrowDeposit_019ff179-4cfc-7ec3-ae66-fcf3cd143849" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019ff179-4cfc-78bb-9d54-f5402d8971bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4cfc-712f-8a35-449a7788891d" xlink:to="loc_us-gaap_OtherAssets_019ff179-4cfc-78bb-9d54-f5402d8971bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendAndInterestReceivable_019ff179-4cfc-7f26-b07c-b1e4ad8db452" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendAndInterestReceivable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4cfc-712f-8a35-449a7788891d" xlink:to="loc_us-gaap_DividendAndInterestReceivable_019ff179-4cfc-7f26-b07c-b1e4ad8db452" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019ff179-4cfc-7c5d-b263-5f9a0d34cf3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4cfc-712f-8a35-449a7788891d" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019ff179-4cfc-7c5d-b263-5f9a0d34cf3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019ff179-4cfc-7cd0-9dd7-bbcd8300ab9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4cfc-712f-8a35-449a7788891d" xlink:to="loc_us-gaap_RestrictedCash_019ff179-4cfc-7cd0-9dd7-bbcd8300ab9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_019ff179-4cfc-7e28-badc-d2ec37d0a97b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherReceivables"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4cfc-712f-8a35-449a7788891d" xlink:to="loc_us-gaap_OtherReceivables_019ff179-4cfc-7e28-badc-d2ec37d0a97b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReceivable_019ff179-4cfc-7e18-bafc-dbf69c230393" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxReceivable"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4cfc-712f-8a35-449a7788891d" xlink:to="loc_us-gaap_IncomeTaxReceivable_019ff179-4cfc-7e18-bafc-dbf69c230393" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="cswc-20260930.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-7b19-9b4b-5e221f624297" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019ff179-4cfc-7bf6-ad94-e242ccdaa601" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-7b19-9b4b-5e221f624297" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019ff179-4cfc-7bf6-ad94-e242ccdaa601" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019ff179-4cfc-73e7-8fcf-d6eac07cac0e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-7b19-9b4b-5e221f624297" xlink:to="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019ff179-4cfc-73e7-8fcf-d6eac07cac0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_019ff179-4cfc-71e0-9adf-227d368a7987" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_019ff179-4cfc-7dd8-b451-11a8479bd2d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019ff179-4cfc-71e0-9adf-227d368a7987" xlink:to="loc_us-gaap_OtherIncome_019ff179-4cfc-7dd8-b451-11a8479bd2d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeeIncome_019ff179-4cfc-738b-a251-7f35b1554ce1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FeeIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019ff179-4cfc-71e0-9adf-227d368a7987" xlink:to="loc_us-gaap_FeeIncome_019ff179-4cfc-738b-a251-7f35b1554ce1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_019ff179-4cfc-7235-9e52-95d695f4e532" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperatingPaidInKind"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019ff179-4cfc-71e0-9adf-227d368a7987" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_019ff179-4cfc-7235-9e52-95d695f4e532" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInCash_019ff179-4cfc-7207-a2b2-d3110d79f59e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperatingPaidInCash"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019ff179-4cfc-71e0-9adf-227d368a7987" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInCash_019ff179-4cfc-7207-a2b2-d3110d79f59e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperatingPaidInCash_019ff179-4cfc-787a-bd10-79909720e2bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendIncomeOperatingPaidInCash"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019ff179-4cfc-71e0-9adf-227d368a7987" xlink:to="loc_us-gaap_DividendIncomeOperatingPaidInCash_019ff179-4cfc-787a-bd10-79909720e2bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-7b4d-9640-1070945b6d0e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-76c8-8cb5-1f2eca90915f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-7b4d-9640-1070945b6d0e" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-76c8-8cb5-1f2eca90915f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019ff179-4cfc-7a34-a8fd-1532527ff087" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-7b4d-9640-1070945b6d0e" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019ff179-4cfc-7a34-a8fd-1532527ff087" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-732b-8f60-113b7d299b5f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019ff179-4cfc-7c3c-b2dd-d26093d4e7d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-732b-8f60-113b7d299b5f" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019ff179-4cfc-7c3c-b2dd-d26093d4e7d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019ff179-4cfc-7fd8-8f5a-1247c2163f13" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-732b-8f60-113b7d299b5f" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019ff179-4cfc-7fd8-8f5a-1247c2163f13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019ff179-4cfc-764c-8f21-0066a7b8343e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019ff179-4cfc-71a3-a1ba-2393dcb54a21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019ff179-4cfc-764c-8f21-0066a7b8343e" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019ff179-4cfc-71a3-a1ba-2393dcb54a21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019ff179-4cfc-7fbe-9269-34e85ca79b30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019ff179-4cfc-764c-8f21-0066a7b8343e" xlink:to="loc_us-gaap_InterestExpenseOperating_019ff179-4cfc-7fbe-9269-34e85ca79b30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019ff179-4cfc-7cf0-b92f-684f3491c143" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019ff179-4cfc-764c-8f21-0066a7b8343e" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019ff179-4cfc-7cf0-b92f-684f3491c143" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_019ff179-4cfc-7025-bb92-0da8a8dc2d9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019ff179-4cfc-764c-8f21-0066a7b8343e" xlink:to="loc_us-gaap_ProfessionalFees_019ff179-4cfc-7025-bb92-0da8a8dc2d9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CompensationExpenseExcludingCostOfGoodAndServiceSold_019ff179-4cfc-7113-9b17-74d054ddc383" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CompensationExpenseExcludingCostOfGoodAndServiceSold"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019ff179-4cfc-764c-8f21-0066a7b8343e" xlink:to="loc_us-gaap_CompensationExpenseExcludingCostOfGoodAndServiceSold_019ff179-4cfc-7113-9b17-74d054ddc383" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019ff179-4cfc-74ae-a3ce-2f93a8fc7197" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_019ff179-4cfc-72d8-8716-9ba184eb77be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019ff179-4cfc-74ae-a3ce-2f93a8fc7197" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_019ff179-4cfc-72d8-8716-9ba184eb77be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019ff179-4cfc-7f73-96c0-534c1764fe11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_019ff179-4cfc-74ae-a3ce-2f93a8fc7197" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_019ff179-4cfc-7f73-96c0-534c1764fe11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019ff179-4cfc-72be-b643-b874358f1f30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-7869-9155-e5ccc0138b8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ff179-4cfc-72be-b643-b874358f1f30" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4cfc-7869-9155-e5ccc0138b8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019ff179-4cfc-7922-8ee9-723acbdd74b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ff179-4cfc-72be-b643-b874358f1f30" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019ff179-4cfc-7922-8ee9-723acbdd74b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_01a134f8-7a63-796c-9bd7-be6be04f05a0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019ff179-4cfc-72be-b643-b874358f1f30" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_01a134f8-7a63-796c-9bd7-be6be04f05a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_01a134f8-7a63-7ea9-a26c-3b6da536d55a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ff179-4cfc-72be-b643-b874358f1f30" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_01a134f8-7a63-7ea9-a26c-3b6da536d55a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019ff179-4cfc-793c-8cae-9bd99f279f94" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019ff179-4cfc-7e43-80d8-69b4f1f2aceb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetInvestmentIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019ff179-4cfc-793c-8cae-9bd99f279f94" xlink:to="loc_us-gaap_NetInvestmentIncome_019ff179-4cfc-7e43-80d8-69b4f1f2aceb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_019ff179-4cfc-7fb7-9639-0816075c5146" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019ff179-4cfc-793c-8cae-9bd99f279f94" xlink:to="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_019ff179-4cfc-7fb7-9639-0816075c5146" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_019ff179-4cfc-7fd4-a766-0ca6479a0ed9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_InvestmentIncomeOperatingFederalIncomeExciseAndOtherTaxes_019ff179-4cfc-7cd1-9578-25fea82cb9f3" xlink:href="cswc-20260930.xsd#cswc_InvestmentIncomeOperatingFederalIncomeExciseAndOtherTaxes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_019ff179-4cfc-7fd4-a766-0ca6479a0ed9" xlink:to="loc_cswc_InvestmentIncomeOperatingFederalIncomeExciseAndOtherTaxes_019ff179-4cfc-7cd1-9578-25fea82cb9f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_InvestmentIncomeOperatingDeferredTaxes_019ff179-4cfc-7569-8671-f0b7bb2f603e" xlink:href="cswc-20260930.xsd#cswc_InvestmentIncomeOperatingDeferredTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_019ff179-4cfc-7fd4-a766-0ca6479a0ed9" xlink:to="loc_cswc_InvestmentIncomeOperatingDeferredTaxes_019ff179-4cfc-7569-8671-f0b7bb2f603e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="cswc-20260930.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ff179-4cfc-76a4-b44a-2bbef70bc976" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019ff179-4cfc-7ef1-8ddd-96fdbc25214f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ff179-4cfc-76a4-b44a-2bbef70bc976" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019ff179-4cfc-7ef1-8ddd-96fdbc25214f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_019ff179-4cfc-719c-af97-b5e4577eb534" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019ff179-4cfc-76a4-b44a-2bbef70bc976" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_019ff179-4cfc-719c-af97-b5e4577eb534" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_019ff179-4cfc-76d2-8d53-5bb8a54887c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019ff179-4cfc-76a4-b44a-2bbef70bc976" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_019ff179-4cfc-76d2-8d53-5bb8a54887c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019ff179-4cfc-7c70-a582-5bb152fb32ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ff179-4cfc-76a4-b44a-2bbef70bc976" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019ff179-4cfc-7c70-a582-5bb152fb32ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_019ff179-4cfc-74b1-9aba-9e68abe2c382" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfUnsecuredDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ff179-4cfc-76a4-b44a-2bbef70bc976" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_019ff179-4cfc-74b1-9aba-9e68abe2c382" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_019ff179-4cfc-718e-8b8d-26adf48fd024" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ff179-4cfc-76a4-b44a-2bbef70bc976" xlink:to="loc_us-gaap_PaymentsOfDividends_019ff179-4cfc-718e-8b8d-26adf48fd024" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019ff179-4cfc-711f-acdf-89a289ccfb77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ff179-4cfc-76a4-b44a-2bbef70bc976" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019ff179-4cfc-711f-acdf-89a289ccfb77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfUnsecuredDebt_01a1447c-6890-7804-869b-7cdd5ebca8ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfUnsecuredDebt"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ff179-4cfc-76a4-b44a-2bbef70bc976" xlink:to="loc_us-gaap_RepaymentsOfUnsecuredDebt_01a1447c-6890-7804-869b-7cdd5ebca8ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromNotesPayable_01a1447c-6890-75cd-a068-d9cd192d73fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromNotesPayable"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ff179-4cfc-76a4-b44a-2bbef70bc976" xlink:to="loc_us-gaap_ProceedsFromNotesPayable_01a1447c-6890-75cd-a068-d9cd192d73fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019ff179-4cfc-73b0-8ad6-74736166ae87" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_ShareBasedCompensation_019ff179-4cfc-73b0-8ad6-74736166ae87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_AccretionOfOriginalIssueDiscounts_019ff179-4cfc-7420-af64-d9037b418d9a" xlink:href="cswc-20260930.xsd#cswc_AccretionOfOriginalIssueDiscounts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_cswc_AccretionOfOriginalIssueDiscounts_019ff179-4cfc-7420-af64-d9037b418d9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019ff179-4cfc-7824-880e-20e99e3cfa04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_019ff179-4cfc-7824-880e-20e99e3cfa04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_PaymentInKindInterestAccrued_019ff179-4cfc-7416-995a-caae19d86cd5" xlink:href="cswc-20260930.xsd#cswc_PaymentInKindInterestAccrued"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_cswc_PaymentInKindInterestAccrued_019ff179-4cfc-7416-995a-caae19d86cd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019ff179-4cfc-79bf-a0a3-6b571e55c9bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019ff179-4cfc-79bf-a0a3-6b571e55c9bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019ff179-4cfc-7f75-aed9-36a43834effe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019ff179-4cfc-7f75-aed9-36a43834effe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherReceivables_019ff179-4cfc-7df4-a938-b9ac849e0f51" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherReceivables"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherReceivables_019ff179-4cfc-7df4-a938-b9ac849e0f51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_019ff179-4cfc-7314-ac67-67c7f8f4bb2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_019ff179-4cfc-7314-ac67-67c7f8f4bb2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019ff179-4cfc-7a97-9b81-930ce126f0b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019ff179-4cfc-7a97-9b81-930ce126f0b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019ff179-4cfc-7a6a-b9cb-4ae32b02159f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019ff179-4cfc-7a6a-b9cb-4ae32b02159f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDepositOtherAssets_019ff179-4cfc-7a59-b61c-a77e45439ca0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDepositOtherAssets"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_IncreaseDecreaseInDepositOtherAssets_019ff179-4cfc-7a59-b61c-a77e45439ca0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_ProceedsFromDispositionOfInvestmentDebtSecuritiesOperatingActivity_019ff179-4cfc-7db8-8fd0-d76be1e28d25" xlink:href="cswc-20260930.xsd#cswc_ProceedsFromDispositionOfInvestmentDebtSecuritiesOperatingActivity"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_cswc_ProceedsFromDispositionOfInvestmentDebtSecuritiesOperatingActivity_019ff179-4cfc-7db8-8fd0-d76be1e28d25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019ff179-4cfc-75fe-8662-c7fddeae8c70" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_NetIncomeLoss_019ff179-4cfc-75fe-8662-c7fddeae8c70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_019ff179-4cfc-72dc-9c07-d00b38d208d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_019ff179-4cfc-72dc-9c07-d00b38d208d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_019ff179-4cfc-7a92-ac93-f8d273bb3897" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesReceivable"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_019ff179-4cfc-7a92-ac93-f8d273bb3897" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_ProceedsFromDispositionOfInvestmentEquitySecuritiesOperatingActivity_019ff179-4cfc-743e-808a-2df5a43fdf70" xlink:href="cswc-20260930.xsd#cswc_ProceedsFromDispositionOfInvestmentEquitySecuritiesOperatingActivity"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_cswc_ProceedsFromDispositionOfInvestmentEquitySecuritiesOperatingActivity_019ff179-4cfc-743e-808a-2df5a43fdf70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019ff179-4cfc-7210-a354-3f2c74b35af3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019ff179-4cfc-7210-a354-3f2c74b35af3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_019ff179-4cfc-743f-89a8-9beaf2b29de6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedInvestmentGainsLosses"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_019ff179-4cfc-743f-89a8-9beaf2b29de6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_019ff179-4cfc-7cf0-8561-4ff22e66aea8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestAndDividendsReceivable_019ff179-4cfc-7cf0-8561-4ff22e66aea8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionExpenseReversalOfExpenseNoncash_019ff179-4cfc-7e1f-8da2-795313edc32a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionExpenseReversalOfExpenseNoncash"/>
    <link:calculationArc order="20" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_PensionExpenseReversalOfExpenseNoncash_019ff179-4cfc-7e1f-8da2-795313edc32a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaidInKindInterest_019ff179-4cfc-7f86-afef-8c80741d78c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaidInKindInterest"/>
    <link:calculationArc order="21" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_PaidInKindInterest_019ff179-4cfc-7f86-afef-8c80741d78c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_01a14473-bfba-7a2c-b84e-a6e225a74bf2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="22" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_01a14473-bfba-7a2c-b84e-a6e225a74bf2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_01a14473-bfba-71d7-a2c5-67393527e2ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="23" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-796d-ad9b-cb313a0ee69c" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_01a14473-bfba-71d7-a2c5-67393527e2ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ff179-4cfc-7a60-9f18-c147c08d7ab2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-712b-9d0e-a29ca2aa197f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ff179-4cfc-7a60-9f18-c147c08d7ab2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ff179-4cfc-712b-9d0e-a29ca2aa197f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ff179-4cfc-7511-b2be-76aeb48501f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ff179-4cfc-7a60-9f18-c147c08d7ab2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ff179-4cfc-7511-b2be-76aeb48501f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ff179-4cfc-787d-9844-5286cc1ae8ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ff179-4cfc-7a60-9f18-c147c08d7ab2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ff179-4cfc-787d-9844-5286cc1ae8ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ff179-4cfc-7814-aa9e-68f02d6cfc90" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019ff179-4cfc-786a-af56-b39a4d89a39d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ff179-4cfc-7814-aa9e-68f02d6cfc90" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019ff179-4cfc-786a-af56-b39a4d89a39d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019ff179-4cfc-7c29-b2ee-10ac96b34967" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ff179-4cfc-77b5-a6cc-7d0393e2e1c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019ff179-4cfc-7c29-b2ee-10ac96b34967" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ff179-4cfc-77b5-a6cc-7d0393e2e1c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019ff179-4cfc-7dc1-a58c-33be8f5d56dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019ff179-4cfc-7c29-b2ee-10ac96b34967" xlink:to="loc_us-gaap_RestrictedCash_019ff179-4cfc-7dc1-a58c-33be8f5d56dc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/INVESTMENTSScheduleFinancialInformationBalanceSheetDetails" xlink:type="simple" xlink:href="cswc-20260930.xsd#INVESTMENTSScheduleFinancialInformationBalanceSheetDetails"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/INVESTMENTSScheduleFinancialInformationBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019ff179-4dc3-7917-abcf-c6a40f8900f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ff179-4dc3-7dee-93c6-acd1f18b9d60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4dc3-7917-abcf-c6a40f8900f3" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ff179-4dc3-7dee-93c6-acd1f18b9d60" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_019ff179-4dc3-7a88-a593-4271509726f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4dc3-7917-abcf-c6a40f8900f3" xlink:to="loc_us-gaap_InterestReceivable_019ff179-4dc3-7a88-a593-4271509726f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_019ff179-4dc3-7ca4-9f60-d2223bff9e4b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4dc3-7917-abcf-c6a40f8900f3" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_019ff179-4dc3-7ca4-9f60-d2223bff9e4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_DebtIssuanceCostsNetAndOtherAssets_019ff179-4dc3-76e8-a8af-5cd643ba1d3f" xlink:href="cswc-20260930.xsd#cswc_DebtIssuanceCostsNetAndOtherAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ff179-4dc3-7917-abcf-c6a40f8900f3" xlink:to="loc_cswc_DebtIssuanceCostsNetAndOtherAssets_019ff179-4dc3-76e8-a8af-5cd643ba1d3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ff179-4dc3-725c-9ac6-3e8b83e14f96" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019ff179-4dc3-70c1-87cb-a85bcb2e99b1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ff179-4dc3-725c-9ac6-3e8b83e14f96" xlink:to="loc_us-gaap_Liabilities_019ff179-4dc3-70c1-87cb-a85bcb2e99b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MembersEquity_019ff179-4dc3-7a47-ada6-7aed4b6edaeb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MembersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ff179-4dc3-725c-9ac6-3e8b83e14f96" xlink:to="loc_us-gaap_MembersEquity_019ff179-4dc3-7a47-ada6-7aed4b6edaeb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofFinancialInformationOperationStatementDetails" xlink:type="simple" xlink:href="cswc-20260930.xsd#INVESTMENTSScheduleofFinancialInformationOperationStatementDetails"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofFinancialInformationOperationStatementDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_cswc_IncreaseDecreaseInMembersCapital_019ff179-4dc3-7684-8046-1d5a97e54c50" xlink:href="cswc-20260930.xsd#cswc_IncreaseDecreaseInMembersCapital"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4dc3-7bd6-a993-5479b500cda4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cswc_IncreaseDecreaseInMembersCapital_019ff179-4dc3-7684-8046-1d5a97e54c50" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019ff179-4dc3-7bd6-a993-5479b500cda4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019ff179-4dc3-74ed-b34f-3b46a3b883a0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_cswc_IncreaseDecreaseInMembersCapital_019ff179-4dc3-7684-8046-1d5a97e54c50" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019ff179-4dc3-74ed-b34f-3b46a3b883a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019ff179-4dc3-7648-908a-1273497c85ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019ff179-4dc3-7991-9487-94bdea1f425d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019ff179-4dc3-7648-908a-1273497c85ed" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_019ff179-4dc3-7991-9487-94bdea1f425d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019ff179-4dc3-7318-bbdd-a25cc663bc0a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019ff179-4dc3-7648-908a-1273497c85ed" xlink:to="loc_us-gaap_Revenues_019ff179-4dc3-7318-bbdd-a25cc663bc0a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails" xlink:type="simple" xlink:href="cswc-20260930.xsd#FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_019ff179-4dc3-7339-8138-ba6d61222a49" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_019ff179-4dc3-70e5-b1ec-0b731b3c588f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentsFairValueDisclosure_019ff179-4dc3-7339-8138-ba6d61222a49" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_019ff179-4dc3-70e5-b1ec-0b731b3c588f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails" xlink:type="simple" xlink:href="cswc-20260930.xsd#BORROWINGSScheduleofBorrowingsOutstandingDetails"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019ff179-4dc3-7c92-aa41-56143be292a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019ff179-4dc3-72bb-99d4-99990d453bb9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019ff179-4dc3-7c92-aa41-56143be292a3" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019ff179-4dc3-72bb-99d4-99990d453bb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_019ff179-4dc3-7d2a-84b7-647027d1bceb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019ff179-4dc3-7c92-aa41-56143be292a3" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_019ff179-4dc3-7d2a-84b7-647027d1bceb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/BORROWINGSScheduleofSBADebenturesDetails" xlink:type="simple" xlink:href="cswc-20260930.xsd#BORROWINGSScheduleofSBADebenturesDetails"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/BORROWINGSScheduleofSBADebenturesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_019ff179-4dc3-7228-bc6c-f19e0adfcc38" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_InterestExpenseAndUnusedCommitmentFees_019ff179-4dc3-733f-a6dc-d30ed4937c91" xlink:href="cswc-20260930.xsd#cswc_InterestExpenseAndUnusedCommitmentFees"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_019ff179-4dc3-7228-bc6c-f19e0adfcc38" xlink:to="loc_cswc_InterestExpenseAndUnusedCommitmentFees_019ff179-4dc3-733f-a6dc-d30ed4937c91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019ff179-4dc3-7318-893f-f7b6d5dcba4b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_019ff179-4dc3-7228-bc6c-f19e0adfcc38" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019ff179-4dc3-7318-893f-f7b6d5dcba4b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails" xlink:type="simple" xlink:href="cswc-20260930.xsd#BORROWINGSScheduleofContractualPaymentObligationsDetails"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019ff179-4dc3-7068-9a2b-1014e5c5fbda" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_019ff179-4dc3-7441-b936-ea0284f6d389" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ff179-4dc3-7068-9a2b-1014e5c5fbda" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_019ff179-4dc3-7441-b936-ea0284f6d389" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019ff179-4dc3-71d4-a6fa-362f818dc646" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ff179-4dc3-7068-9a2b-1014e5c5fbda" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019ff179-4dc3-71d4-a6fa-362f818dc646" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019ff179-4dc3-75a0-ac26-41a2584a0652" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ff179-4dc3-7068-9a2b-1014e5c5fbda" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019ff179-4dc3-75a0-ac26-41a2584a0652" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019ff179-4dc3-77c9-b3ab-f47a5f2dbe72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ff179-4dc3-7068-9a2b-1014e5c5fbda" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019ff179-4dc3-77c9-b3ab-f47a5f2dbe72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019ff179-4dc3-76dc-92c4-e7925172d98f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ff179-4dc3-7068-9a2b-1014e5c5fbda" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019ff179-4dc3-76dc-92c4-e7925172d98f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_LongTermDebtMaturityAfterYearFour_019ff179-4dc3-7506-8d7f-ea88e40bee26" xlink:href="cswc-20260930.xsd#cswc_LongTermDebtMaturityAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ff179-4dc3-7068-9a2b-1014e5c5fbda" xlink:to="loc_cswc_LongTermDebtMaturityAfterYearFour_019ff179-4dc3-7506-8d7f-ea88e40bee26" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails" xlink:type="simple" xlink:href="cswc-20260930.xsd#INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_InvestmentCompanyTaxBasisReconciliationLossOnExtinguishmentOfDebtIncreaseDecreaseInTaxableIncome_019ff179-4dc3-77d0-9666-6841009e6509" xlink:href="cswc-20260930.xsd#cswc_InvestmentCompanyTaxBasisReconciliationLossOnExtinguishmentOfDebtIncreaseDecreaseInTaxableIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_cswc_InvestmentCompanyTaxBasisReconciliationLossOnExtinguishmentOfDebtIncreaseDecreaseInTaxableIncome_019ff179-4dc3-77d0-9666-6841009e6509" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTaxBasisUnrealizedGainLossNotCurrentlyTaxableDeductible_019ff179-4dc3-7907-8978-c8c87838fd2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyTaxBasisUnrealizedGainLossNotCurrentlyTaxableDeductible"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_us-gaap_InvestmentCompanyTaxBasisUnrealizedGainLossNotCurrentlyTaxableDeductible_019ff179-4dc3-7907-8978-c8c87838fd2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_InvestmentCompanyTaxBasisReconciliationNetOperatingIncomeSubsidiaryIncreaseDecreaseInTaxableIncome_019ff179-4dc3-7b77-a0b9-910e457281e0" xlink:href="cswc-20260930.xsd#cswc_InvestmentCompanyTaxBasisReconciliationNetOperatingIncomeSubsidiaryIncreaseDecreaseInTaxableIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_cswc_InvestmentCompanyTaxBasisReconciliationNetOperatingIncomeSubsidiaryIncreaseDecreaseInTaxableIncome_019ff179-4dc3-7b77-a0b9-910e457281e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_InvestmentCompanyTaxBasisReconciliationLossGainRecognizedOnDispositionsIncreaseDecreaseInTaxableIncome_019ff179-4dc3-745f-935f-bf1a4175238f" xlink:href="cswc-20260930.xsd#cswc_InvestmentCompanyTaxBasisReconciliationLossGainRecognizedOnDispositionsIncreaseDecreaseInTaxableIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_cswc_InvestmentCompanyTaxBasisReconciliationLossGainRecognizedOnDispositionsIncreaseDecreaseInTaxableIncome_019ff179-4dc3-745f-935f-bf1a4175238f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_InvestmentCompanyTaxBasisReconciliationCompensationRelatedDifferencesIncreaseDecreaseInTaxableIncome_019ff179-4dc3-729b-962b-b24245a239c5" xlink:href="cswc-20260930.xsd#cswc_InvestmentCompanyTaxBasisReconciliationCompensationRelatedDifferencesIncreaseDecreaseInTaxableIncome"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_cswc_InvestmentCompanyTaxBasisReconciliationCompensationRelatedDifferencesIncreaseDecreaseInTaxableIncome_019ff179-4dc3-729b-962b-b24245a239c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTaxBasisExpenseNotDeductible_019ff179-4dc3-77b8-bc96-c81b49f25b33" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyTaxBasisExpenseNotDeductible"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_us-gaap_InvestmentCompanyTaxBasisExpenseNotDeductible_019ff179-4dc3-77b8-bc96-c81b49f25b33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019ff179-4dc3-7251-b4b4-bfc42df85a9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_us-gaap_NetIncomeLoss_019ff179-4dc3-7251-b4b4-bfc42df85a9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_InvestmentCompanyTaxBasisReconciliationNonDeductibleCompensationIncreaseDecreaseInTaxableIncome_019ff179-4dc3-780c-ad45-3a585c18f3db" xlink:href="cswc-20260930.xsd#cswc_InvestmentCompanyTaxBasisReconciliationNonDeductibleCompensationIncreaseDecreaseInTaxableIncome"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_cswc_InvestmentCompanyTaxBasisReconciliationNonDeductibleCompensationIncreaseDecreaseInTaxableIncome_019ff179-4dc3-780c-ad45-3a585c18f3db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTaxBasisOtherIncreaseDecrease_019ff179-4dc3-7c0e-a9db-efdbb42b5e67" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyTaxBasisOtherIncreaseDecrease"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_us-gaap_InvestmentCompanyTaxBasisOtherIncreaseDecrease_019ff179-4dc3-7c0e-a9db-efdbb42b5e67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_InvestmentCompanyTaxBasisReconciliationIncomeExpenseRecognizedForPassThroughEntitiesIncreaseDecreaseInTaxableIncome_019ff179-4dc3-7944-b736-bdf30b6b3601" xlink:href="cswc-20260930.xsd#cswc_InvestmentCompanyTaxBasisReconciliationIncomeExpenseRecognizedForPassThroughEntitiesIncreaseDecreaseInTaxableIncome"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_cswc_InvestmentCompanyTaxBasisReconciliationIncomeExpenseRecognizedForPassThroughEntitiesIncreaseDecreaseInTaxableIncome_019ff179-4dc3-7944-b736-bdf30b6b3601" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTaxBasisCapitalLossCarryforwardUtilization_019ff179-4dc3-705e-8a5b-09a2f3399ca4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyTaxBasisCapitalLossCarryforwardUtilization"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_us-gaap_InvestmentCompanyTaxBasisCapitalLossCarryforwardUtilization_019ff179-4dc3-705e-8a5b-09a2f3399ca4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_InvestmentCompanyTaxBasisReconciliationInterestOnNonAccrualLoansIncreaseDecreaseInTaxableIncome_019ff179-4dc3-7893-95e4-cf7509797f6f" xlink:href="cswc-20260930.xsd#cswc_InvestmentCompanyTaxBasisReconciliationInterestOnNonAccrualLoansIncreaseDecreaseInTaxableIncome"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_cswc_InvestmentCompanyTaxBasisReconciliationInterestOnNonAccrualLoansIncreaseDecreaseInTaxableIncome_019ff179-4dc3-7893-95e4-cf7509797f6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_InvestmentCompanyTaxBasisReconciliationDividendIncomeSubsidiaryIncreaseDecreaseInTaxableIncome_019ff179-4dc3-7650-96ad-5a961f7e6446" xlink:href="cswc-20260930.xsd#cswc_InvestmentCompanyTaxBasisReconciliationDividendIncomeSubsidiaryIncreaseDecreaseInTaxableIncome"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyTaxBasisTaxableIncomeLossBeforeDeductionForDistribution_019ff179-4dc3-7c28-b1e1-2cb2422cf4e2" xlink:to="loc_cswc_InvestmentCompanyTaxBasisReconciliationDividendIncomeSubsidiaryIncreaseDecreaseInTaxableIncome_019ff179-4dc3-7650-96ad-5a961f7e6446" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="cswc-20260930.xsd#INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_019ff179-4dc3-7c90-a293-b1e061595e02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_019ff179-4dc3-7ed4-8487-7ad47eae6c6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019ff179-4dc3-7c90-a293-b1e061595e02" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_019ff179-4dc3-7ed4-8487-7ad47eae6c6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetInterestCarryforward_019ff179-4dc3-7070-bc6e-f7e74142cbaf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetInterestCarryforward"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019ff179-4dc3-7c90-a293-b1e061595e02" xlink:to="loc_us-gaap_DeferredTaxAssetInterestCarryforward_019ff179-4dc3-7070-bc6e-f7e74142cbaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilities_019ff179-4dc3-7d6b-8c8a-9bc6fed92240" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_019ff179-4dc3-752f-b9cd-976927c49e83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_019ff179-4dc3-7d6b-8c8a-9bc6fed92240" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_019ff179-4dc3-752f-b9cd-976927c49e83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_019ff179-4dc3-7955-9b27-64faeff3af36" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_019ff179-4dc3-7d6b-8c8a-9bc6fed92240" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_019ff179-4dc3-7955-9b27-64faeff3af36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_019ff179-4dc3-7b7b-89ff-56fdde2e7740" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesInvestments_019ff179-4dc3-7566-a2a7-0d7220de72dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxLiabilitiesInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_019ff179-4dc3-7b7b-89ff-56fdde2e7740" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesInvestments_019ff179-4dc3-7566-a2a7-0d7220de72dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_DeferredTaxLiabilitiesBasisDifferencesInPortfolioInvestmentsNet_019ff179-4dc3-77d3-aa22-63d539004e0b" xlink:href="cswc-20260930.xsd#cswc_DeferredTaxLiabilitiesBasisDifferencesInPortfolioInvestmentsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_019ff179-4dc3-7b7b-89ff-56fdde2e7740" xlink:to="loc_cswc_DeferredTaxLiabilitiesBasisDifferencesInPortfolioInvestmentsNet_019ff179-4dc3-77d3-aa22-63d539004e0b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofSignificantComponentsofIncomeTaxProvisionDetails" xlink:type="simple" xlink:href="cswc-20260930.xsd#INCOMETAXESScheduleofSignificantComponentsofIncomeTaxProvisionDetails"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofSignificantComponentsofIncomeTaxProvisionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019ff179-4dc3-7dba-984e-c743b0e4dbb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherTaxExpenseBenefit_019ff179-4dc3-7188-8525-c45c0f19cc2b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019ff179-4dc3-7dba-984e-c743b0e4dbb1" xlink:to="loc_us-gaap_OtherTaxExpenseBenefit_019ff179-4dc3-7188-8525-c45c0f19cc2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_IncomeTaxExpenseBenefitFromSubsidiaries_019ff179-4dc3-75f4-860d-c645e18bcc2e" xlink:href="cswc-20260930.xsd#cswc_IncomeTaxExpenseBenefitFromSubsidiaries"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019ff179-4dc3-7dba-984e-c743b0e4dbb1" xlink:to="loc_cswc_IncomeTaxExpenseBenefitFromSubsidiaries_019ff179-4dc3-75f4-860d-c645e18bcc2e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExciseAndSalesTaxes_019ff179-4dc3-7f51-b4fc-7607ead3bba9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExciseAndSalesTaxes"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019ff179-4dc3-7dba-984e-c743b0e4dbb1" xlink:to="loc_us-gaap_ExciseAndSalesTaxes_019ff179-4dc3-7f51-b4fc-7607ead3bba9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails" xlink:type="simple" xlink:href="cswc-20260930.xsd#EARNINGSPERSHAREDetails"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_019ff179-4dc3-707a-af31-1bc5e16d704a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToParentDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_019ff179-4dc3-7a85-94f9-54663c8db4f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_019ff179-4dc3-707a-af31-1bc5e16d704a" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_019ff179-4dc3-7a85-94f9-54663c8db4f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019ff179-4dc3-724e-b4aa-e3af78c772cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_019ff179-4dc3-707a-af31-1bc5e16d704a" xlink:to="loc_us-gaap_NetIncomeLoss_019ff179-4dc3-724e-b4aa-e3af78c772cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019ff179-4dc3-7b60-a8fc-3e040b2444c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_019ff179-4dc3-71e0-b80a-ed60d5691a49" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019ff179-4dc3-7b60-a8fc-3e040b2444c4" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_019ff179-4dc3-71e0-b80a-ed60d5691a49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019ff179-4dc3-7b6a-a3e6-45aeb9406e30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019ff179-4dc3-7b60-a8fc-3e040b2444c4" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019ff179-4dc3-7b6a-a3e6-45aeb9406e30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019ff179-4dc3-76e8-9bd9-31e6e599aa1e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019ff179-4dc3-7d10-92d2-b2e4519dfd01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019ff179-4dc3-76e8-9bd9-31e6e599aa1e" xlink:to="loc_us-gaap_NetIncomeLoss_019ff179-4dc3-7d10-92d2-b2e4519dfd01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019ff179-4dc3-7180-a713-918d6f6aa925" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019ff179-4dc3-76e8-9bd9-31e6e599aa1e" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_019ff179-4dc3-7180-a713-918d6f6aa925" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails" xlink:type="simple" xlink:href="cswc-20260930.xsd#COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ff179-4dc4-7307-91d7-7463362f2bc1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019ff179-4dc4-7e04-a060-82b81c98cce7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ff179-4dc4-7307-91d7-7463362f2bc1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019ff179-4dc4-7e04-a060-82b81c98cce7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019ff179-4dc4-7840-9ad3-aec796af6615" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ff179-4dc4-7307-91d7-7463362f2bc1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019ff179-4dc4-7840-9ad3-aec796af6615" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019ff179-4dc4-7d6f-9121-545575c5e46a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ff179-4dc4-7307-91d7-7463362f2bc1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019ff179-4dc4-7d6f-9121-545575c5e46a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019ff179-4dc4-704b-acae-6a41a079d4df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ff179-4dc4-7307-91d7-7463362f2bc1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019ff179-4dc4-704b-acae-6a41a079d4df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_cswc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_019ff179-4dc4-759a-b9e3-833e67ba9198" xlink:href="cswc-20260930.xsd#cswc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ff179-4dc4-7307-91d7-7463362f2bc1" xlink:to="loc_cswc_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_019ff179-4dc4-759a-b9e3-833e67ba9198" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019ff179-4dc4-7acf-a0f9-2bbd7baebc6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ff179-4dc4-7307-91d7-7463362f2bc1" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019ff179-4dc4-7acf-a0f9-2bbd7baebc6a" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
