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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:a7efd44d-2e8a-492f-ae1d-cd7e1c53bbe3,g:918d746d-80df-4115-abbc-bb0bbb006d4a-->
<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.glad.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES" xlink:type="simple" xlink:href="glad-20250930.xsd#CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"/>
  <link:calculationLink xlink:role="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_d5777265-2506-4f91-8028-172e6c95f4ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e8897a5d-f8b6-43b4-a3c3-5493177b9d3f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d5777265-2506-4f91-8028-172e6c95f4ae" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_e8897a5d-f8b6-43b4-a3c3-5493177b9d3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_5a163612-386b-4eb4-bc2d-7ab2540e3e41" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d5777265-2506-4f91-8028-172e6c95f4ae" xlink:to="loc_us-gaap_CommonStockValue_5a163612-386b-4eb4-bc2d-7ab2540e3e41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_8ccdc186-ccf1-4444-b039-517cff796f7e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_d5777265-2506-4f91-8028-172e6c95f4ae" xlink:to="loc_us-gaap_AdditionalPaidInCapital_8ccdc186-ccf1-4444-b039-517cff796f7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_c053a7b3-c88e-46e1-b2c2-d8367747af2f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyAccumulatedNetRealizedGainInExcessOfDistribution_f1f7264d-63b5-44af-9157-e740603a234f" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyAccumulatedNetRealizedGainInExcessOfDistribution"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RetainedEarningsAccumulatedDeficit_c053a7b3-c88e-46e1-b2c2-d8367747af2f" xlink:to="loc_glad_InvestmentCompanyAccumulatedNetRealizedGainInExcessOfDistribution_f1f7264d-63b5-44af-9157-e740603a234f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss_6b79967e-387b-4e39-9dda-1f1aab0b6301" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RetainedEarningsAccumulatedDeficit_c053a7b3-c88e-46e1-b2c2-d8367747af2f" xlink:to="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLoss_6b79967e-387b-4e39-9dda-1f1aab0b6301" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation_634d3b90-beea-45b1-8b7d-03dddd53bb71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RetainedEarningsAccumulatedDeficit_c053a7b3-c88e-46e1-b2c2-d8367747af2f" xlink:to="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation_634d3b90-beea-45b1-8b7d-03dddd53bb71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_e30d8203-c495-488a-98dc-75052fc58a62" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_4cab8f1e-5291-4c75-88e4-fbc178f6b5ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e30d8203-c495-488a-98dc-75052fc58a62" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_4cab8f1e-5291-4c75-88e4-fbc178f6b5ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Cash_a2e0012d-23be-4661-a155-c6ea99a7a1c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Cash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e30d8203-c495-488a-98dc-75052fc58a62" xlink:to="loc_us-gaap_Cash_a2e0012d-23be-4661-a155-c6ea99a7a1c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashEquivalentsAtCarryingValue_f2d8547d-b40d-4b6d-aacf-85e0253ff076" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e30d8203-c495-488a-98dc-75052fc58a62" xlink:to="loc_us-gaap_CashEquivalentsAtCarryingValue_f2d8547d-b40d-4b6d-aacf-85e0253ff076" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_efbd3a59-d92e-4089-8a81-e4a75f85c97b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e30d8203-c495-488a-98dc-75052fc58a62" xlink:to="loc_us-gaap_RestrictedCash_efbd3a59-d92e-4089-8a81-e4a75f85c97b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_de1d9486-4497-4129-96c6-8f5cbfad058f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e30d8203-c495-488a-98dc-75052fc58a62" xlink:to="loc_us-gaap_InterestReceivable_de1d9486-4497-4129-96c6-8f5cbfad058f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_DueFromAdministrativeAgent_5bec5b38-2cc6-4cfe-9722-917118392352" xlink:href="glad-20250930.xsd#glad_DueFromAdministrativeAgent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e30d8203-c495-488a-98dc-75052fc58a62" xlink:to="loc_glad_DueFromAdministrativeAgent_5bec5b38-2cc6-4cfe-9722-917118392352" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_11357416-8dd4-4049-ab9e-5ad1209dc578" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e30d8203-c495-488a-98dc-75052fc58a62" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_11357416-8dd4-4049-ab9e-5ad1209dc578" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_2925310a-b295-45e2-9b44-64a2f4072a58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_e30d8203-c495-488a-98dc-75052fc58a62" xlink:to="loc_us-gaap_OtherAssets_2925310a-b295-45e2-9b44-64a2f4072a58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNet_be37861f-cf70-4c2e-9b47-a5af6d862970" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_421058ef-20d4-4088-bcbd-4e963bdba1d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNet_be37861f-cf70-4c2e-9b47-a5af6d862970" xlink:to="loc_us-gaap_CommitmentsAndContingencies_421058ef-20d4-4088-bcbd-4e963bdba1d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_b072daa6-6b00-4ad5-8a00-20123e4acf13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNet_be37861f-cf70-4c2e-9b47-a5af6d862970" xlink:to="loc_us-gaap_Assets_b072daa6-6b00-4ad5-8a00-20123e4acf13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_c8f2e369-7be0-478d-b505-e429cc34bb89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNet_be37861f-cf70-4c2e-9b47-a5af6d862970" xlink:to="loc_us-gaap_Liabilities_c8f2e369-7be0-478d-b505-e429cc34bb89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_6e78722b-0282-4f3c-a454-c4912e87b51f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNet_be37861f-cf70-4c2e-9b47-a5af6d862970" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_6e78722b-0282-4f3c-a454-c4912e87b51f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_5663a6cf-c842-418a-9e4b-ca58e42c97b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableOtherCurrentAndNoncurrent_698495ee-a895-4d37-977a-03eb5c26c043" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableOtherCurrentAndNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5663a6cf-c842-418a-9e4b-ca58e42c97b6" xlink:to="loc_us-gaap_AccountsPayableOtherCurrentAndNoncurrent_698495ee-a895-4d37-977a-03eb5c26c043" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_57c5b23c-492f-4694-80a1-ecb5839a4133" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5663a6cf-c842-418a-9e4b-ca58e42c97b6" xlink:to="loc_us-gaap_OtherLiabilities_57c5b23c-492f-4694-80a1-ecb5839a4133" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_94a1149f-928b-46ec-9b35-754c1752a76b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5663a6cf-c842-418a-9e4b-ca58e42c97b6" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_94a1149f-928b-46ec-9b35-754c1752a76b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_68dccfc0-7312-433e-8518-1c4a78baaa40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5663a6cf-c842-418a-9e4b-ca58e42c97b6" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_68dccfc0-7312-433e-8518-1c4a78baaa40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayable_2e8154e8-024a-45c8-bf8f-5658b78e73ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesPayable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5663a6cf-c842-418a-9e4b-ca58e42c97b6" xlink:to="loc_us-gaap_NotesPayable_2e8154e8-024a-45c8-bf8f-5658b78e73ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LinesOfCreditFairValueDisclosure_ea4d5a21-746f-46c0-8d97-dffa9c4b2b3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LinesOfCreditFairValueDisclosure"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5663a6cf-c842-418a-9e4b-ca58e42c97b6" xlink:to="loc_us-gaap_LinesOfCreditFairValueDisclosure_ea4d5a21-746f-46c0-8d97-dffa9c4b2b3b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="glad-20250930.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_550c60f5-0b6a-4ff7-9cae-7af75ede5e8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_a989d385-b320-4328-bd00-d11d3f2ca7ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_550c60f5-0b6a-4ff7-9cae-7af75ede5e8e" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_a989d385-b320-4328-bd00-d11d3f2ca7ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_20b30f49-15c5-4d7d-83af-ace875f320d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_550c60f5-0b6a-4ff7-9cae-7af75ede5e8e" xlink:to="loc_us-gaap_NetInvestmentIncome_20b30f49-15c5-4d7d-83af-ace875f320d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStock_0bd41ec4-db27-4245-8d93-496879ee274d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPreferredStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_550c60f5-0b6a-4ff7-9cae-7af75ede5e8e" xlink:to="loc_us-gaap_DividendsPreferredStock_0bd41ec4-db27-4245-8d93-496879ee274d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperating_5da41d47-6039-4f87-906b-467f5d4792b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInCash_baa6536b-eb59-41e5-bdd0-e58770a7586a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOperatingPaidInCash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeOperating_5da41d47-6039-4f87-906b-467f5d4792b9" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInCash_baa6536b-eb59-41e5-bdd0-e58770a7586a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_c38a7744-00bd-410d-91c8-2cc2ed52d5ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOperatingPaidInKind"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeOperating_5da41d47-6039-4f87-906b-467f5d4792b9" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_c38a7744-00bd-410d-91c8-2cc2ed52d5ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_38120045-9f4a-4ed3-ba7b-8770dd561323" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_521b41ad-af0d-4b7f-bb4a-40a3c9d1dde9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_38120045-9f4a-4ed3-ba7b-8770dd561323" xlink:to="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_521b41ad-af0d-4b7f-bb4a-40a3c9d1dde9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_095a66f5-4c16-45d2-b295-42943456c393" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_38120045-9f4a-4ed3-ba7b-8770dd561323" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_095a66f5-4c16-45d2-b295-42943456c393" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_90cb8ed0-36b3-41c9-870b-0facabb7496e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperatingPaidInCash_c6c09665-087a-456c-9613-e18c538d9905" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendIncomeOperatingPaidInCash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_90cb8ed0-36b3-41c9-870b-0facabb7496e" xlink:to="loc_us-gaap_DividendIncomeOperatingPaidInCash_c6c09665-087a-456c-9613-e18c538d9905" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperating_b52f65ee-3121-42e7-8725-1189bb535cfd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_90cb8ed0-36b3-41c9-870b-0facabb7496e" xlink:to="loc_us-gaap_InterestIncomeOperating_b52f65ee-3121-42e7-8725-1189bb535cfd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_b7f1a7ae-1f5e-43a2-91ca-31a626d3b12c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_90cb8ed0-36b3-41c9-870b-0facabb7496e" xlink:to="loc_us-gaap_OtherIncome_b7f1a7ae-1f5e-43a2-91ca-31a626d3b12c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaymentFeesOnAdvancesNet_121de12c-9ad6-4bc4-a026-36ff93545b89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaymentFeesOnAdvancesNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_90cb8ed0-36b3-41c9-870b-0facabb7496e" xlink:to="loc_us-gaap_PrepaymentFeesOnAdvancesNet_121de12c-9ad6-4bc4-a026-36ff93545b89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_a839a060-96cd-4502-b9e7-9cf526186bef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdministrativeFeesExpense_1b7ffe82-3932-4362-91a2-ef93b91dae50" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdministrativeFeesExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_a839a060-96cd-4502-b9e7-9cf526186bef" xlink:to="loc_us-gaap_AdministrativeFeesExpense_1b7ffe82-3932-4362-91a2-ef93b91dae50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpense_a81eb104-6165-44b7-9524-16fffe94f434" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncentiveFeeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_a839a060-96cd-4502-b9e7-9cf526186bef" xlink:to="loc_us-gaap_IncentiveFeeExpense_a81eb104-6165-44b7-9524-16fffe94f434" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_403605fd-39cd-42a5-b945-0d3337076ef7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_a839a060-96cd-4502-b9e7-9cf526186bef" xlink:to="loc_us-gaap_ProfessionalFees_403605fd-39cd-42a5-b945-0d3337076ef7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_ce8e70ef-ecc8-4805-a57d-412c19cf79e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_a839a060-96cd-4502-b9e7-9cf526186bef" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_ce8e70ef-ecc8-4805-a57d-412c19cf79e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_42476732-1033-4ff7-bc5f-8577f5881270" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_a839a060-96cd-4502-b9e7-9cf526186bef" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_42476732-1033-4ff7-bc5f-8577f5881270" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanProcessingFee_33111c0f-1783-4344-b955-4366be0e3524" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanProcessingFee"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_a839a060-96cd-4502-b9e7-9cf526186bef" xlink:to="loc_us-gaap_LoanProcessingFee_33111c0f-1783-4344-b955-4366be0e3524" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseBorrowings_68996ce4-a649-4b14-9ee3-6ffd5b05711d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseBorrowings"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_a839a060-96cd-4502-b9e7-9cf526186bef" xlink:to="loc_us-gaap_InterestExpenseBorrowings_68996ce4-a649-4b14-9ee3-6ffd5b05711d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_48e188a5-fb9a-4623-aa86-c73e4b4b1c22" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ManagementFeeExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_a839a060-96cd-4502-b9e7-9cf526186bef" xlink:to="loc_us-gaap_ManagementFeeExpense_48e188a5-fb9a-4623-aa86-c73e4b4b1c22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_9e4dfa67-19ed-49af-ad0c-f0af81de7b0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyVoluntaryFeeWaived_88dc2f74-39e9-486e-9ac2-d007672a9888" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyVoluntaryFeeWaived"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_9e4dfa67-19ed-49af-ad0c-f0af81de7b0e" xlink:to="loc_us-gaap_InvestmentCompanyVoluntaryFeeWaived_88dc2f74-39e9-486e-9ac2-d007672a9888" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyContractualFeeWaived_304a0928-e225-412d-b393-2db44fb1e418" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyContractualFeeWaived"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_9e4dfa67-19ed-49af-ad0c-f0af81de7b0e" xlink:to="loc_us-gaap_InvestmentCompanyContractualFeeWaived_304a0928-e225-412d-b393-2db44fb1e418" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_667ca06d-ff5d-42b3-80d7-fa81faba13ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyExpenseAfterReductionOfFeeWaiverAndReimbursement_9e4dfa67-19ed-49af-ad0c-f0af81de7b0e" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_667ca06d-ff5d-42b3-80d7-fa81faba13ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_556d5549-8442-4e5d-b8cd-d7371bfb6b64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_2e8b7b5c-8356-4df8-8060-980577aa33c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_556d5549-8442-4e5d-b8cd-d7371bfb6b64" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_2e8b7b5c-8356-4df8-8060-980577aa33c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_11507ede-0a8b-4a1c-b019-56f51dbfbcd1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionOperatingAfterTax_556d5549-8442-4e5d-b8cd-d7371bfb6b64" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_11507ede-0a8b-4a1c-b019-56f51dbfbcd1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS" xlink:type="simple" xlink:href="glad-20250930.xsd#CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"/>
  <link:calculationLink xlink:role="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_165756cc-5ba5-46ad-9d86-34644af872e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributionLongTermCapitalGain_fcaff05b-4432-42d4-84a1-b03194575451" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributionLongTermCapitalGain"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyDividendDistribution_165756cc-5ba5-46ad-9d86-34644af872e8" xlink:to="loc_us-gaap_InvestmentCompanyDistributionLongTermCapitalGain_fcaff05b-4432-42d4-84a1-b03194575451" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributionOrdinaryIncome_0e0e1f37-40b0-4980-b88b-1cd71efa80c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributionOrdinaryIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyDividendDistribution_165756cc-5ba5-46ad-9d86-34644af872e8" xlink:to="loc_us-gaap_InvestmentCompanyDistributionOrdinaryIncome_0e0e1f37-40b0-4980-b88b-1cd71efa80c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_56fe9148-8c64-484d-94ff-ae447fd32640" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_ca5bc35e-6775-41d5-99ae-ad92c349856a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_56fe9148-8c64-484d-94ff-ae447fd32640" xlink:to="loc_us-gaap_ProfitLoss_ca5bc35e-6775-41d5-99ae-ad92c349856a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyCapitalActivityIncreaseDecrease_1e7daae1-01f5-4e4d-bbe8-52ebb6e9f266" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyCapitalActivityIncreaseDecrease"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_56fe9148-8c64-484d-94ff-ae447fd32640" xlink:to="loc_glad_InvestmentCompanyCapitalActivityIncreaseDecrease_1e7daae1-01f5-4e4d-bbe8-52ebb6e9f266" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_9439cb2d-d774-44da-9b7c-3a07af9fa77e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_56fe9148-8c64-484d-94ff-ae447fd32640" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_9439cb2d-d774-44da-9b7c-3a07af9fa77e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyCapitalActivityIncreaseDecrease_e446b0e3-5e65-45c1-9bda-b6305711dc48" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyCapitalActivityIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_eb2f6cf1-9d7b-4361-a0d6-b5c8108f8e40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_InvestmentCompanyCapitalActivityIncreaseDecrease_e446b0e3-5e65-45c1-9bda-b6305711dc48" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_eb2f6cf1-9d7b-4361-a0d6-b5c8108f8e40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts_24f15fe2-0ccd-48e0-8971-6831916be902" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_InvestmentCompanyCapitalActivityIncreaseDecrease_e446b0e3-5e65-45c1-9bda-b6305711dc48" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts_24f15fe2-0ccd-48e0-8971-6831916be902" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_4c1f1173-e6fa-473a-82d6-d41f09c8511b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_9d9e11ba-ab3d-459e-a6ee-820b335e89f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_4c1f1173-e6fa-473a-82d6-d41f09c8511b" xlink:to="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_9d9e11ba-ab3d-459e-a6ee-820b335e89f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_RealizedGainLossOtherOperatingBeforeTax_fdd1c7db-ef9d-4a5f-a849-c975e78e9477" xlink:href="glad-20250930.xsd#glad_RealizedGainLossOtherOperatingBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_4c1f1173-e6fa-473a-82d6-d41f09c8511b" xlink:to="loc_glad_RealizedGainLossOtherOperatingBeforeTax_fdd1c7db-ef9d-4a5f-a849-c975e78e9477" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_7bbd2051-35a8-46bc-9621-8cfeb361b469" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_4c1f1173-e6fa-473a-82d6-d41f09c8511b" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_7bbd2051-35a8-46bc-9621-8cfeb361b469" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_e33823b2-0331-4bee-bc68-0fdafc9f24ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_4c1f1173-e6fa-473a-82d6-d41f09c8511b" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_e33823b2-0331-4bee-bc68-0fdafc9f24ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStock_f58acdd8-1194-4098-96c5-f518857613e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPreferredStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_4c1f1173-e6fa-473a-82d6-d41f09c8511b" xlink:to="loc_us-gaap_DividendsPreferredStock_f58acdd8-1194-4098-96c5-f518857613e1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="glad-20250930.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c3875200-7198-4c3f-909d-82196f715cfe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_30bce4a5-ed54-45c0-8601-78af9d795aec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c3875200-7198-4c3f-909d-82196f715cfe" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_30bce4a5-ed54-45c0-8601-78af9d795aec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_2595ede4-a7f5-443e-900a-191bd7f81f26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfFinancingCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c3875200-7198-4c3f-909d-82196f715cfe" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_2595ede4-a7f5-443e-900a-191bd7f81f26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_ea8c4ad5-11f1-4577-b1fe-c870fda09a43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c3875200-7198-4c3f-909d-82196f715cfe" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_ea8c4ad5-11f1-4577-b1fe-c870fda09a43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e9cb13e4-92b6-4dec-896d-8db1d33ca1a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c3875200-7198-4c3f-909d-82196f715cfe" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e9cb13e4-92b6-4dec-896d-8db1d33ca1a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_e667b737-8d49-47d9-9c03-04825e221223" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c3875200-7198-4c3f-909d-82196f715cfe" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_e667b737-8d49-47d9-9c03-04825e221223" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_560c378f-6372-47dc-8f7b-18ba9e2d9492" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c3875200-7198-4c3f-909d-82196f715cfe" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_560c378f-6372-47dc-8f7b-18ba9e2d9492" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_fa77df45-865a-4f47-9779-adacc0f5ea40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c3875200-7198-4c3f-909d-82196f715cfe" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_fa77df45-865a-4f47-9779-adacc0f5ea40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_64cac4df-2a51-4b2d-ab37-870b6c3bb36c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_c3875200-7198-4c3f-909d-82196f715cfe" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_64cac4df-2a51-4b2d-ab37-870b6c3bb36c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_IncreaseDecreaseInDueFromAdministrativeAgent_eb8cda76-4262-4f82-828e-12aa980d308b" xlink:href="glad-20250930.xsd#glad_IncreaseDecreaseInDueFromAdministrativeAgent"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_glad_IncreaseDecreaseInDueFromAdministrativeAgent_eb8cda76-4262-4f82-828e-12aa980d308b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_81086a91-99e8-471d-9bd8-bc2183da74a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_81086a91-99e8-471d-9bd8-bc2183da74a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_56481ac6-1ae3-4b58-9763-64d8ee01d5e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_56481ac6-1ae3-4b58-9763-64d8ee01d5e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_5db75c39-b442-4541-817b-600d363f76fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_us-gaap_NetIncomeLoss_5db75c39-b442-4541-817b-600d363f76fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_f012fbf0-2631-4c77-ac71-475187d57867" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_f012fbf0-2631-4c77-ac71-475187d57867" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_571d3d25-507e-41e7-b857-e795a9f7d268" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_571d3d25-507e-41e7-b857-e795a9f7d268" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_a569655f-3402-45f6-9841-b84ad06a3a2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_a569655f-3402-45f6-9841-b84ad06a3a2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_0cb4a0b7-fff7-43ed-b6a8-22ae34f84ccf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_0cb4a0b7-fff7-43ed-b6a8-22ae34f84ccf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_f91aeb26-d112-4fa7-8648-2e85e011620a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_f91aeb26-d112-4fa7-8648-2e85e011620a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_d9afaaa5-329f-4e5f-9b28-efe4aa0db131" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_d9afaaa5-329f-4e5f-9b28-efe4aa0db131" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_NetChangeInPremiumsDiscountsAndAmortization_5e082d30-2f15-4568-a982-302a4a7d57d4" xlink:href="glad-20250930.xsd#glad_NetChangeInPremiumsDiscountsAndAmortization"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_glad_NetChangeInPremiumsDiscountsAndAmortization_5e082d30-2f15-4568-a982-302a4a7d57d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_IncreaseInInvestmentsDueToPIKInterestOrOther_e878e141-9002-4f4e-a191-399a4bebd34d" xlink:href="glad-20250930.xsd#glad_IncreaseInInvestmentsDueToPIKInterestOrOther"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_glad_IncreaseInInvestmentsDueToPIKInterestOrOther_e878e141-9002-4f4e-a191-399a4bebd34d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_59d24401-0509-44e5-ad59-f94906e415c8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_59d24401-0509-44e5-ad59-f94906e415c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_ProceedsFromPrincipalRepaymentsOfInvestmentsOperatingActivity_4a2f3539-d47f-442e-9ddc-b23107df2c3d" xlink:href="glad-20250930.xsd#glad_ProceedsFromPrincipalRepaymentsOfInvestmentsOperatingActivity"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_glad_ProceedsFromPrincipalRepaymentsOfInvestmentsOperatingActivity_4a2f3539-d47f-442e-9ddc-b23107df2c3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_e9fe4ac6-8871-4972-ac40-db5faa7c679e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_e9fe4ac6-8871-4972-ac40-db5faa7c679e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_ProceedsFromSaleAndRecapitalizationOfInvestmentsNetOperatingActivity_6b679b56-60f6-4188-8d07-63626833af43" xlink:href="glad-20250930.xsd#glad_ProceedsFromSaleAndRecapitalizationOfInvestmentsNetOperatingActivity"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e7d485a9-1060-4aab-929a-fcf438fb10d6" xlink:to="loc_glad_ProceedsFromSaleAndRecapitalizationOfInvestmentsNetOperatingActivity_6b679b56-60f6-4188-8d07-63626833af43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_3cf80368-bf34-4e8f-95ef-e247ba36d34e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f187fc41-5b55-4019-93df-87af01d62954" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_3cf80368-bf34-4e8f-95ef-e247ba36d34e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f187fc41-5b55-4019-93df-87af01d62954" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_633f3f46-76f8-4948-a86e-21f92cb9c1bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_3cf80368-bf34-4e8f-95ef-e247ba36d34e" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_633f3f46-76f8-4948-a86e-21f92cb9c1bd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.glad.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS" xlink:type="simple" xlink:href="glad-20250930.xsd#CONSOLIDATEDSCHEDULEOFINVESTMENTS"/>
  <link:calculationLink xlink:role="http://www.glad.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_glad_CashEquivalentsAndInvestmentsFairValue_ed716a44-36eb-456f-8309-d7557fd0048e" xlink:href="glad-20250930.xsd#glad_CashEquivalentsAndInvestmentsFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_268b478a-2324-488a-b36b-01432e8fb13d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_CashEquivalentsAndInvestmentsFairValue_ed716a44-36eb-456f-8309-d7557fd0048e" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_268b478a-2324-488a-b36b-01432e8fb13d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_11d909a5-6938-430b-ba63-ffb06291962e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_CashEquivalentsAndInvestmentsFairValue_ed716a44-36eb-456f-8309-d7557fd0048e" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_11d909a5-6938-430b-ba63-ffb06291962e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentsAndCashEquivalents_ca9874f9-4b2b-4e79-beb7-02c9d30242f7" xlink:href="glad-20250930.xsd#glad_InvestmentsAndCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtCost_077917ea-e88d-42e7-8073-7c263df0d814" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentOwnedAtCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_InvestmentsAndCashEquivalents_ca9874f9-4b2b-4e79-beb7-02c9d30242f7" xlink:to="loc_us-gaap_InvestmentOwnedAtCost_077917ea-e88d-42e7-8073-7c263df0d814" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashEquivalentsAtCarryingValue_0e889644-1327-40d2-9d8c-320dbaa12c6e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_InvestmentsAndCashEquivalents_ca9874f9-4b2b-4e79-beb7-02c9d30242f7" xlink:to="loc_us-gaap_CashEquivalentsAtCarryingValue_0e889644-1327-40d2-9d8c-320dbaa12c6e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.glad.com/role/INVESTMENTSScheduleofInvestmentsClassifiedbyContractualMaturityDateDetails" xlink:type="simple" xlink:href="glad-20250930.xsd#INVESTMENTSScheduleofInvestmentsClassifiedbyContractualMaturityDateDetails"/>
  <link:calculationLink xlink:role="http://www.glad.com/role/INVESTMENTSScheduleofInvestmentsClassifiedbyContractualMaturityDateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_glad_PrincipalRepaymentAndMaturityOfInvestments_8eb53490-1402-4fcf-b23b-eb6ba3a095f3" xlink:href="glad-20250930.xsd#glad_PrincipalRepaymentAndMaturityOfInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsAfterYearFive_19e10ffe-d652-4712-b37d-5eb4d15f44fe" xlink:href="glad-20250930.xsd#glad_PrincipalRepaymentAndMaturityOfInvestmentsAfterYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_PrincipalRepaymentAndMaturityOfInvestments_8eb53490-1402-4fcf-b23b-eb6ba3a095f3" xlink:to="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsAfterYearFive_19e10ffe-d652-4712-b37d-5eb4d15f44fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsYearThree_7108e99b-bcd8-43a4-823e-521605dead9e" xlink:href="glad-20250930.xsd#glad_PrincipalRepaymentAndMaturityOfInvestmentsYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_PrincipalRepaymentAndMaturityOfInvestments_8eb53490-1402-4fcf-b23b-eb6ba3a095f3" xlink:to="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsYearThree_7108e99b-bcd8-43a4-823e-521605dead9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsYearOne_46ce8fc2-546d-4059-8ba2-a3a781e42b1b" xlink:href="glad-20250930.xsd#glad_PrincipalRepaymentAndMaturityOfInvestmentsYearOne"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_PrincipalRepaymentAndMaturityOfInvestments_8eb53490-1402-4fcf-b23b-eb6ba3a095f3" xlink:to="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsYearOne_46ce8fc2-546d-4059-8ba2-a3a781e42b1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsYearFive_347fbaa8-2125-499c-9eba-f1ed574c369d" xlink:href="glad-20250930.xsd#glad_PrincipalRepaymentAndMaturityOfInvestmentsYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_PrincipalRepaymentAndMaturityOfInvestments_8eb53490-1402-4fcf-b23b-eb6ba3a095f3" xlink:to="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsYearFive_347fbaa8-2125-499c-9eba-f1ed574c369d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsYearFour_5cb4bbf8-8a9a-4d15-8a87-c412e43c8008" xlink:href="glad-20250930.xsd#glad_PrincipalRepaymentAndMaturityOfInvestmentsYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_PrincipalRepaymentAndMaturityOfInvestments_8eb53490-1402-4fcf-b23b-eb6ba3a095f3" xlink:to="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsYearFour_5cb4bbf8-8a9a-4d15-8a87-c412e43c8008" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsYearTwo_965b1da8-e59c-4798-b408-c5c1ff71f55c" xlink:href="glad-20250930.xsd#glad_PrincipalRepaymentAndMaturityOfInvestmentsYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_PrincipalRepaymentAndMaturityOfInvestments_8eb53490-1402-4fcf-b23b-eb6ba3a095f3" xlink:to="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsYearTwo_965b1da8-e59c-4798-b408-c5c1ff71f55c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtCost_9f44764b-6268-4f8e-a8f1-b606825da901" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentOwnedAtCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiCost_416740c5-95bc-40ed-b02d-4725f0bda047" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesFvNiCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentOwnedAtCost_9f44764b-6268-4f8e-a8f1-b606825da901" xlink:to="loc_us-gaap_EquitySecuritiesFvNiCost_416740c5-95bc-40ed-b02d-4725f0bda047" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_PrincipalRepaymentAndMaturityOfInvestments_572cedad-d550-4c1c-8aac-ae2b112186ed" xlink:href="glad-20250930.xsd#glad_PrincipalRepaymentAndMaturityOfInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentOwnedAtCost_9f44764b-6268-4f8e-a8f1-b606825da901" xlink:to="loc_glad_PrincipalRepaymentAndMaturityOfInvestments_572cedad-d550-4c1c-8aac-ae2b112186ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsAdjustmentsToCostBasisOfDebtInvestments_f4dfb60e-37f3-4c22-8c2b-9e5b924981ba" xlink:href="glad-20250930.xsd#glad_PrincipalRepaymentAndMaturityOfInvestmentsAdjustmentsToCostBasisOfDebtInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentOwnedAtCost_9f44764b-6268-4f8e-a8f1-b606825da901" xlink:to="loc_glad_PrincipalRepaymentAndMaturityOfInvestmentsAdjustmentsToCostBasisOfDebtInvestments_f4dfb60e-37f3-4c22-8c2b-9e5b924981ba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.glad.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="glad-20250930.xsd#RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"/>
  <link:calculationLink xlink:role="http://www.glad.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_glad_NetBaseManagementFee_d2cdb294-9301-4c3f-98a5-5bbe7a4361ad" xlink:href="glad-20250930.xsd#glad_NetBaseManagementFee"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_753a68ad-665f-446a-a1cb-26a28a40eae3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ManagementFeeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_NetBaseManagementFee_d2cdb294-9301-4c3f-98a5-5bbe7a4361ad" xlink:to="loc_us-gaap_ManagementFeeExpense_753a68ad-665f-446a-a1cb-26a28a40eae3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyPortfolioCompanyFeeCredit_1578b52a-1cf2-48fc-a55f-79e8b4c9185a" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyPortfolioCompanyFeeCredit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_NetBaseManagementFee_d2cdb294-9301-4c3f-98a5-5bbe7a4361ad" xlink:to="loc_glad_InvestmentCompanyPortfolioCompanyFeeCredit_1578b52a-1cf2-48fc-a55f-79e8b4c9185a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanySyndicatedLoanFeeCredit_606259f0-c5c3-4034-b4a9-ccc64b3135ee" xlink:href="glad-20250930.xsd#glad_InvestmentCompanySyndicatedLoanFeeCredit"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_NetBaseManagementFee_d2cdb294-9301-4c3f-98a5-5bbe7a4361ad" xlink:to="loc_glad_InvestmentCompanySyndicatedLoanFeeCredit_606259f0-c5c3-4034-b4a9-ccc64b3135ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_NetLoanServicingFee_d6b6e0c5-b061-4cd9-85c0-cd8a3d624309" xlink:href="glad-20250930.xsd#glad_NetLoanServicingFee"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanProcessingFee_30437fe4-3074-448f-822d-31c9521bd613" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanProcessingFee"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_NetLoanServicingFee_d6b6e0c5-b061-4cd9-85c0-cd8a3d624309" xlink:to="loc_us-gaap_LoanProcessingFee_30437fe4-3074-448f-822d-31c9521bd613" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyContractualFeeWaived_c49f4fda-5013-4c65-9d38-3519e33286ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyContractualFeeWaived"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_NetLoanServicingFee_d6b6e0c5-b061-4cd9-85c0-cd8a3d624309" xlink:to="loc_us-gaap_InvestmentCompanyContractualFeeWaived_c49f4fda-5013-4c65-9d38-3519e33286ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyVoluntaryFeeWaived_8c287048-69a6-4205-8fc4-d0801e61299d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyVoluntaryFeeWaived"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyPortfolioCompanyFeeCredit_543d1b33-fd17-4fd4-b242-8e9c759e36ee" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyPortfolioCompanyFeeCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyVoluntaryFeeWaived_8c287048-69a6-4205-8fc4-d0801e61299d" xlink:to="loc_glad_InvestmentCompanyPortfolioCompanyFeeCredit_543d1b33-fd17-4fd4-b242-8e9c759e36ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanySyndicatedLoanFeeCredit_8c15b5bf-50c8-4649-8f4b-f34672124719" xlink:href="glad-20250930.xsd#glad_InvestmentCompanySyndicatedLoanFeeCredit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyVoluntaryFeeWaived_8c287048-69a6-4205-8fc4-d0801e61299d" xlink:to="loc_glad_InvestmentCompanySyndicatedLoanFeeCredit_8c15b5bf-50c8-4649-8f4b-f34672124719" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyIncentiveFeeWaived_c016d966-0fc2-4831-b648-97d50227368b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyIncentiveFeeWaived"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyVoluntaryFeeWaived_8c287048-69a6-4205-8fc4-d0801e61299d" xlink:to="loc_us-gaap_InvestmentCompanyIncentiveFeeWaived_c016d966-0fc2-4831-b648-97d50227368b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_NetTotalIncentiveFee_f1ea2946-a6b4-4233-8213-7618fdce6083" xlink:href="glad-20250930.xsd#glad_NetTotalIncentiveFee"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpense_c8692fc9-1f19-4d03-934f-db50bf9f0b8a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncentiveFeeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_NetTotalIncentiveFee_f1ea2946-a6b4-4233-8213-7618fdce6083" xlink:to="loc_us-gaap_IncentiveFeeExpense_c8692fc9-1f19-4d03-934f-db50bf9f0b8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_NetLoanServicingFee_bfbad46a-731a-417e-b230-19701888d2e6" xlink:href="glad-20250930.xsd#glad_NetLoanServicingFee"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_NetTotalIncentiveFee_f1ea2946-a6b4-4233-8213-7618fdce6083" xlink:to="loc_glad_NetLoanServicingFee_bfbad46a-731a-417e-b230-19701888d2e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyIncentiveFeeWaived_dfcc2381-ba55-4f3f-9a99-752d99776a23" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyIncentiveFeeWaived"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_NetTotalIncentiveFee_f1ea2946-a6b4-4233-8213-7618fdce6083" xlink:to="loc_us-gaap_InvestmentCompanyIncentiveFeeWaived_dfcc2381-ba55-4f3f-9a99-752d99776a23" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.glad.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERCOMMONSHAREDetails" xlink:type="simple" xlink:href="glad-20250930.xsd#NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERCOMMONSHAREDetails"/>
  <link:calculationLink xlink:role="http://www.glad.com/role/NETINCREASEDECREASEINNETASSETSRESULTINGFROMOPERATIONSPERCOMMONSHAREDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_82bf8277-ad8c-4971-bdd7-3934a127a6e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e4f3cdbe-f36e-42bd-a61a-a40c83a0b6f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_82bf8277-ad8c-4971-bdd7-3934a127a6e4" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e4f3cdbe-f36e-42bd-a61a-a40c83a0b6f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_e49b9778-3079-468f-a694-38a401a5cb4d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_82bf8277-ad8c-4971-bdd7-3934a127a6e4" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_e49b9778-3079-468f-a694-38a401a5cb4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_82c9adcf-3b7c-424c-9ff3-c15ca95502e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_3a21c386-936b-460d-9897-5bc37b84b8d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_82c9adcf-3b7c-424c-9ff3-c15ca95502e6" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_3a21c386-936b-460d-9897-5bc37b84b8d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_94c2f237-a379-43b8-af91-7badcc717ac5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_82c9adcf-3b7c-424c-9ff3-c15ca95502e6" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_94c2f237-a379-43b8-af91-7badcc717ac5" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.glad.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSScheduleofDividendsDeclaredDetails" xlink:type="simple" xlink:href="glad-20250930.xsd#DISTRIBUTIONSTOCOMMONSTOCKHOLDERSScheduleofDividendsDeclaredDetails"/>
  <link:calculationLink xlink:role="http://www.glad.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSScheduleofDividendsDeclaredDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_5c492edd-abf1-4680-b760-afced11c32b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockDividendsPerShareCashPaid"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_CommonStockDividendsPerSharePaidOrdinary_0b279ee6-a7e9-4d25-8c6c-8ccac4a544f9" xlink:href="glad-20250930.xsd#glad_CommonStockDividendsPerSharePaidOrdinary"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CommonStockDividendsPerShareCashPaid_5c492edd-abf1-4680-b760-afced11c32b5" xlink:to="loc_glad_CommonStockDividendsPerSharePaidOrdinary_0b279ee6-a7e9-4d25-8c6c-8ccac4a544f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_CommonStockDividendsPerSharePaidSupplemental_18a1f588-2581-4ca8-9c7b-6ac410388dfb" xlink:href="glad-20250930.xsd#glad_CommonStockDividendsPerSharePaidSupplemental"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CommonStockDividendsPerShareCashPaid_5c492edd-abf1-4680-b760-afced11c32b5" xlink:to="loc_glad_CommonStockDividendsPerSharePaidSupplemental_18a1f588-2581-4ca8-9c7b-6ac410388dfb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.glad.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSScheduleofComponentsofOurNetAssetsonaTaxBasisDetails" xlink:type="simple" xlink:href="glad-20250930.xsd#DISTRIBUTIONSTOCOMMONSTOCKHOLDERSScheduleofComponentsofOurNetAssetsonaTaxBasisDetails"/>
  <link:calculationLink xlink:role="http://www.glad.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSScheduleofComponentsofOurNetAssetsonaTaxBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_8ea3686f-de15-4d2d-babd-5543ca27915a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_70be349a-76f1-4465-abbc-1febc2a5db61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_8ea3686f-de15-4d2d-babd-5543ca27915a" xlink:to="loc_us-gaap_CommonStockValue_70be349a-76f1-4465-abbc-1febc2a5db61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_db1281d3-8ed7-4e6e-812d-6f7ac0afa860" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_8ea3686f-de15-4d2d-babd-5543ca27915a" xlink:to="loc_us-gaap_AdditionalPaidInCapital_db1281d3-8ed7-4e6e-812d-6f7ac0afa860" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation_c3b2f4b1-050b-42ae-addc-24a343af7740" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_8ea3686f-de15-4d2d-babd-5543ca27915a" xlink:to="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation_c3b2f4b1-050b-42ae-addc-24a343af7740" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyDistributionsPaidSubsequentToFiscalYearEndClassifiedInPriorYearOrdinaryIncome_cbd7b9b4-bc24-4dab-a325-7a670e97d9b5" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyDistributionsPaidSubsequentToFiscalYearEndClassifiedInPriorYearOrdinaryIncome"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_8ea3686f-de15-4d2d-babd-5543ca27915a" xlink:to="loc_glad_InvestmentCompanyDistributionsPaidSubsequentToFiscalYearEndClassifiedInPriorYearOrdinaryIncome_cbd7b9b4-bc24-4dab-a325-7a670e97d9b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss_02d7df7c-81e8-4985-b55f-94a345603e3e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_8ea3686f-de15-4d2d-babd-5543ca27915a" xlink:to="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss_02d7df7c-81e8-4985-b55f-94a345603e3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedCapitalLossCarryforward_602d36e5-a690-4f59-a77a-3a22ff6f5db3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedCapitalLossCarryforward"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_8ea3686f-de15-4d2d-babd-5543ca27915a" xlink:to="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedCapitalLossCarryforward_602d36e5-a690-4f59-a77a-3a22ff6f5db3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyDistributableEarningsLossAccumulatedOtherTemporaryDifferences_e3daebf6-5d77-4df3-9e27-756ebe0493ba" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyDistributableEarningsLossAccumulatedOtherTemporaryDifferences"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_8ea3686f-de15-4d2d-babd-5543ca27915a" xlink:to="loc_glad_InvestmentCompanyDistributableEarningsLossAccumulatedOtherTemporaryDifferences_e3daebf6-5d77-4df3-9e27-756ebe0493ba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.glad.com/role/FINANCIALHIGHLIGHTSDetails" xlink:type="simple" xlink:href="glad-20250930.xsd#FINANCIALHIGHLIGHTSDetails"/>
  <link:calculationLink xlink:role="http://www.glad.com/role/FINANCIALHIGHLIGHTSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_f6f6836f-77dc-4eee-b993-a861ec776b15" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_577cf9d7-1842-49ff-aeb6-5641be1cca1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_f6f6836f-77dc-4eee-b993-a861ec776b15" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_577cf9d7-1842-49ff-aeb6-5641be1cca1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_582844be-a5a8-4517-ac3d-cf781b126db0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_f6f6836f-77dc-4eee-b993-a861ec776b15" xlink:to="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_582844be-a5a8-4517-ac3d-cf781b126db0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyGainLossOnOtherPerShare_9a1ab65b-5eb8-4a0c-ad28-dd78a8ae61b9" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyGainLossOnOtherPerShare"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_f6f6836f-77dc-4eee-b993-a861ec776b15" xlink:to="loc_glad_InvestmentCompanyGainLossOnOtherPerShare_9a1ab65b-5eb8-4a0c-ad28-dd78a8ae61b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_PreferredStockDividendsPerShareDeclaredOrdinary_d5cd7ffd-dd0c-46b7-ae32-777815a11a0c" xlink:href="glad-20250930.xsd#glad_PreferredStockDividendsPerShareDeclaredOrdinary"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_f6f6836f-77dc-4eee-b993-a861ec776b15" xlink:to="loc_glad_PreferredStockDividendsPerShareDeclaredOrdinary_d5cd7ffd-dd0c-46b7-ae32-777815a11a0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyCapitalShareTransactionsPerShare_db4d8194-0659-43fb-b2f2-4a4a6bf267bc" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyCapitalShareTransactionsPerShare"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRepurchaseOfSharesPerShare_5e0be55d-cd27-4e35-a9d2-2558962bfd87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyRepurchaseOfSharesPerShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_InvestmentCompanyCapitalShareTransactionsPerShare_db4d8194-0659-43fb-b2f2-4a4a6bf267bc" xlink:to="loc_us-gaap_InvestmentCompanyRepurchaseOfSharesPerShare_5e0be55d-cd27-4e35-a9d2-2558962bfd87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyDiscountsCommissionsAndOfferingCostsPerShare_4ca9ade2-d85a-433b-aa63-abce8f09ad63" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyDiscountsCommissionsAndOfferingCostsPerShare"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_InvestmentCompanyCapitalShareTransactionsPerShare_db4d8194-0659-43fb-b2f2-4a4a6bf267bc" xlink:to="loc_glad_InvestmentCompanyDiscountsCommissionsAndOfferingCostsPerShare_4ca9ade2-d85a-433b-aa63-abce8f09ad63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_AntidilutiveDilutiveSecuritiesExcludedFromComputationOfNetIncomePerOutstandingUnitAmount_939bbdb8-a95e-4cbd-b12c-062dc587f5e2" xlink:href="glad-20250930.xsd#glad_AntidilutiveDilutiveSecuritiesExcludedFromComputationOfNetIncomePerOutstandingUnitAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_glad_InvestmentCompanyCapitalShareTransactionsPerShare_db4d8194-0659-43fb-b2f2-4a4a6bf267bc" xlink:to="loc_glad_AntidilutiveDilutiveSecuritiesExcludedFromComputationOfNetIncomePerOutstandingUnitAmount_939bbdb8-a95e-4cbd-b12c-062dc587f5e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributionToShareholdersPerShare_ebcb0dc1-d705-4cd5-a8b8-b97abf9d1c80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentCompanyDistributionToShareholdersPerShare"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare_fc2cecb2-dbb8-4413-9dd2-615897110db4" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyDistributionToShareholdersPerShare_ebcb0dc1-d705-4cd5-a8b8-b97abf9d1c80" xlink:to="loc_glad_InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare_fc2cecb2-dbb8-4413-9dd2-615897110db4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyDistributionToShareholdersFromReturnOfCapitalPerShare_3ddd8d1a-1731-4e01-8136-8b5900db32e0" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyDistributionToShareholdersFromReturnOfCapitalPerShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyDistributionToShareholdersPerShare_ebcb0dc1-d705-4cd5-a8b8-b97abf9d1c80" xlink:to="loc_glad_InvestmentCompanyDistributionToShareholdersFromReturnOfCapitalPerShare_3ddd8d1a-1731-4e01-8136-8b5900db32e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_glad_InvestmentCompanyDistributionToShareholdersFromRealizedGainsPerShare_3f310e1e-dae2-43e9-ad18-6d42fc76e21d" xlink:href="glad-20250930.xsd#glad_InvestmentCompanyDistributionToShareholdersFromRealizedGainsPerShare"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyDistributionToShareholdersPerShare_ebcb0dc1-d705-4cd5-a8b8-b97abf9d1c80" xlink:to="loc_glad_InvestmentCompanyDistributionToShareholdersFromRealizedGainsPerShare_3f310e1e-dae2-43e9-ad18-6d42fc76e21d" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
