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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e22ee-d4dd-7f6a-837a-65fa7d235645,g:acabfc41-2f27-4497-bf60-c52eecfd1867-->
<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://golubcapitalbdc.com/role/ConsolidatedStatementsofFinancialCondition" xlink:type="simple" xlink:href="gbdc-20260630.xsd#ConsolidatedStatementsofFinancialCondition"/>
  <link:calculationLink xlink:role="http://golubcapitalbdc.com/role/ConsolidatedStatementsofFinancialCondition" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e22ef-0a64-7d2d-b181-8e329b642ef0" 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_StockholdersEquity_019e22ef-0a64-728a-9438-41f250d58a58" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e22ef-0a64-7d2d-b181-8e329b642ef0" xlink:to="loc_us-gaap_StockholdersEquity_019e22ef-0a64-728a-9438-41f250d58a58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e22ef-0a64-7f28-8ea3-7b82a2db3110" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e22ef-0a64-7d2d-b181-8e329b642ef0" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e22ef-0a64-7f28-8ea3-7b82a2db3110" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e22ef-0a64-7800-872e-8715c1f3375b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_LiabilitiesAndStockholdersEquity_019e22ef-0a64-7d2d-b181-8e329b642ef0" xlink:to="loc_us-gaap_Liabilities_019e22ef-0a64-7800-872e-8715c1f3375b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e22ef-0a64-7f5f-ab59-1736d63cbd1b" 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_InvestmentOwnedAtFairValue_019e22ef-0a64-7e43-8545-7af9ff10edeb" 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_Assets_019e22ef-0a64-7f5f-ab59-1736d63cbd1b" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_019e22ef-0a64-7e43-8545-7af9ff10edeb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashNotHeldInForeignCurrency_019e22ef-0a64-7a1e-87ba-97f9d6993bae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashNotHeldInForeignCurrency"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e22ef-0a64-7f5f-ab59-1736d63cbd1b" xlink:to="loc_us-gaap_CashNotHeldInForeignCurrency_019e22ef-0a64-7a1e-87ba-97f9d6993bae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashEquivalentsAtCarryingValue_019e22ef-0a64-7873-99cb-e0285243dc6c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e22ef-0a64-7f5f-ab59-1736d63cbd1b" xlink:to="loc_us-gaap_CashEquivalentsAtCarryingValue_019e22ef-0a64-7873-99cb-e0285243dc6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashHeldInForeignCurrency_019e22ef-0a64-7b25-9042-3f91d22f5d4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashHeldInForeignCurrency"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e22ef-0a64-7f5f-ab59-1736d63cbd1b" xlink:to="loc_us-gaap_CashHeldInForeignCurrency_019e22ef-0a64-7b25-9042-3f91d22f5d4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019e22ef-0a64-77ad-ac1a-e692c1b6b8b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e22ef-0a64-7f5f-ab59-1736d63cbd1b" xlink:to="loc_us-gaap_RestrictedCash_019e22ef-0a64-77ad-ac1a-e692c1b6b8b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashEquivalents_019e22ef-0a64-7978-b680-c6dd7f4077c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashEquivalents"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e22ef-0a64-7f5f-ab59-1736d63cbd1b" xlink:to="loc_us-gaap_RestrictedCashEquivalents_019e22ef-0a64-7978-b680-c6dd7f4077c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_019e22ef-0a64-7b78-ac85-62a6de9bee3f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e22ef-0a64-7f5f-ab59-1736d63cbd1b" xlink:to="loc_us-gaap_InterestReceivable_019e22ef-0a64-7b78-ac85-62a6de9bee3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableInvestmentSale_019e22ef-0a64-735e-9474-136ea59b72e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReceivableInvestmentSale"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e22ef-0a64-7f5f-ab59-1736d63cbd1b" xlink:to="loc_us-gaap_ReceivableInvestmentSale_019e22ef-0a64-735e-9474-136ea59b72e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019e22ef-0a64-728e-b099-b3217b438e2b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e22ef-0a64-7f5f-ab59-1736d63cbd1b" xlink:to="loc_us-gaap_DerivativeAssets_019e22ef-0a64-728e-b099-b3217b438e2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019e22ef-0a64-7a94-8dd2-f406af47afad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e22ef-0a64-7f5f-ab59-1736d63cbd1b" xlink:to="loc_us-gaap_OtherAssets_019e22ef-0a64-7a94-8dd2-f406af47afad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019e22ef-0a64-7944-b1d6-d3fe7b93b81b" 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_019e22ef-0a64-70fb-81e9-e55384f8256c" 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_019e22ef-0a64-7944-b1d6-d3fe7b93b81b" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019e22ef-0a64-70fb-81e9-e55384f8256c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019e22ef-0a64-7adc-99ea-3342eeb5a855" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019e22ef-0a64-7944-b1d6-d3fe7b93b81b" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019e22ef-0a64-7adc-99ea-3342eeb5a855" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e22ef-0a64-7b34-acc0-fcb8efcc806b" 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_gbdc_ManagementAndIncentiveFeePayable_019e22ef-0a64-77ab-a293-48eed3af1339" xlink:href="gbdc-20260630.xsd#gbdc_ManagementAndIncentiveFeePayable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e22ef-0a64-7b34-acc0-fcb8efcc806b" xlink:to="loc_gbdc_ManagementAndIncentiveFeePayable_019e22ef-0a64-77ab-a293-48eed3af1339" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_019e22ef-0a64-7a3f-863d-6633cabd9600" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableAndOtherAccruedLiabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e22ef-0a64-7b34-acc0-fcb8efcc806b" xlink:to="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_019e22ef-0a64-7a3f-863d-6633cabd9600" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019e22ef-0a64-7591-9a0b-44985ceb8a0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e22ef-0a64-7b34-acc0-fcb8efcc806b" xlink:to="loc_us-gaap_LongTermDebt_019e22ef-0a64-7591-9a0b-44985ceb8a0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_019e22ef-0a64-7c0e-91e8-b4ce9d22a592" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e22ef-0a64-7b34-acc0-fcb8efcc806b" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_019e22ef-0a64-7c0e-91e8-b4ce9d22a592" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_AccruedTrusteeFees_019e22ef-0a64-7114-ac38-dd4693e951ec" xlink:href="gbdc-20260630.xsd#gbdc_AccruedTrusteeFees"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e22ef-0a64-7b34-acc0-fcb8efcc806b" xlink:to="loc_gbdc_AccruedTrusteeFees_019e22ef-0a64-7114-ac38-dd4693e951ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019e22ef-0a64-7589-adc8-e11e61105574" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e22ef-0a64-7b34-acc0-fcb8efcc806b" xlink:to="loc_us-gaap_DerivativeLiabilities_019e22ef-0a64-7589-adc8-e11e61105574" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e22ef-0a64-7090-9888-e468c95993cc" 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_AdditionalPaidInCapital_019e22ef-0a64-7405-ae76-e95598397542" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e22ef-0a64-7090-9888-e468c95993cc" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019e22ef-0a64-7405-ae76-e95598397542" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e22ef-0a64-7f0e-b4bf-84947cde4626" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e22ef-0a64-7090-9888-e468c95993cc" xlink:to="loc_us-gaap_CommonStockValue_019e22ef-0a64-7f0e-b4bf-84947cde4626" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e22ef-0a64-7adc-91dc-b44ff2415de3" 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_019e22ef-0a64-7090-9888-e468c95993cc" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e22ef-0a64-7adc-91dc-b44ff2415de3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019e22ef-0a64-7e36-9919-d388bd58fc19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e22ef-0a64-7090-9888-e468c95993cc" xlink:to="loc_us-gaap_PreferredStockValue_019e22ef-0a64-7e36-9919-d388bd58fc19" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://golubcapitalbdc.com/role/ConsolidatedStatementsofOperationsunaudited" xlink:type="simple" xlink:href="gbdc-20260630.xsd#ConsolidatedStatementsofOperationsunaudited"/>
  <link:calculationLink xlink:role="http://golubcapitalbdc.com/role/ConsolidatedStatementsofOperationsunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_019e22ef-0a64-7162-8970-63b8eb658b47" 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_InterestIncomeOperatingPaidInCash_019e22ef-0a64-71d8-8ab7-3a21ab0fd7df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperatingPaidInCash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019e22ef-0a64-7162-8970-63b8eb658b47" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInCash_019e22ef-0a64-71d8-8ab7-3a21ab0fd7df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeeIncome_019e22ef-0a64-7d5e-ae0f-05d9fb8782c1" 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_019e22ef-0a64-7162-8970-63b8eb658b47" xlink:to="loc_us-gaap_FeeIncome_019e22ef-0a64-7d5e-ae0f-05d9fb8782c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendIncomeOperating_019e22ef-0a64-7b58-a877-08ebbd5be77a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendIncomeOperating"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019e22ef-0a64-7162-8970-63b8eb658b47" xlink:to="loc_us-gaap_DividendIncomeOperating_019e22ef-0a64-7b58-a877-08ebbd5be77a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_019e22ef-0a64-779f-87dc-050a15594fe2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperatingPaidInKind"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_019e22ef-0a64-7162-8970-63b8eb658b47" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_019e22ef-0a64-779f-87dc-050a15594fe2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7946-a853-7771ae8b9212" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019e22ef-0a64-7a7d-bdbd-7a6625042a9e" 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_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7946-a853-7771ae8b9212" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019e22ef-0a64-7a7d-bdbd-7a6625042a9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_019e22ef-0a64-7bcd-831e-71c85125668c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyTransactionGainLossRealized"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7946-a853-7771ae8b9212" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_019e22ef-0a64-7bcd-831e-71c85125668c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfDerivatives_019e22ef-0a64-7439-bf6b-662407f28840" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfDerivatives"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7946-a853-7771ae8b9212" xlink:to="loc_us-gaap_GainLossOnSaleOfDerivatives_019e22ef-0a64-7439-bf6b-662407f28840" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019e22ef-0a64-79fe-b551-423dcfd5fff9" 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_019e22ef-0a64-779b-8e40-c4cbf8fad13d" 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_019e22ef-0a64-79fe-b551-423dcfd5fff9" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_019e22ef-0a64-779b-8e40-c4cbf8fad13d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e22ef-0a64-76f1-b220-af15893dcf66" 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_019e22ef-0a64-79fe-b551-423dcfd5fff9" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e22ef-0a64-76f1-b220-af15893dcf66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e22ef-0a64-7fa4-88ad-0df7222f569e" 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_gbdc_IncentiveFeeExpenseNetOfAdjustments_019e22ef-0a64-77b5-b113-7f76b7d70d30" xlink:href="gbdc-20260630.xsd#gbdc_IncentiveFeeExpenseNetOfAdjustments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e22ef-0a64-7fa4-88ad-0df7222f569e" xlink:to="loc_gbdc_IncentiveFeeExpenseNetOfAdjustments_019e22ef-0a64-77b5-b113-7f76b7d70d30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_019e22ef-0a64-7d24-8845-4f9cf6aef401" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfessionalFees"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e22ef-0a64-7fa4-88ad-0df7222f569e" xlink:to="loc_us-gaap_ProfessionalFees_019e22ef-0a64-7d24-8845-4f9cf6aef401" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdministrativeFeesExpense_019e22ef-0a64-7aa0-9b42-6d1c85f8f365" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdministrativeFeesExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e22ef-0a64-7fa4-88ad-0df7222f569e" xlink:to="loc_us-gaap_AdministrativeFeesExpense_019e22ef-0a64-7aa0-9b42-6d1c85f8f365" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e22ef-0a64-7ee1-a920-6bcf2cb43deb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e22ef-0a64-7fa4-88ad-0df7222f569e" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e22ef-0a64-7ee1-a920-6bcf2cb43deb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_019e22ef-0a64-75a0-a770-ee9e7a54535b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ManagementFeeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e22ef-0a64-7fa4-88ad-0df7222f569e" xlink:to="loc_us-gaap_ManagementFeeExpense_019e22ef-0a64-75a0-a770-ee9e7a54535b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_019e22ef-0a64-7b44-9c8d-c1da519071d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseOperating"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeInvestmentExpense_019e22ef-0a64-7fa4-88ad-0df7222f569e" xlink:to="loc_us-gaap_InterestExpenseOperating_019e22ef-0a64-7b44-9c8d-c1da519071d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e22ef-0a64-72a7-956a-8428498094d1" 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_InvestmentIncomeOperatingTaxExpenseBenefit_019e22ef-0a64-7f71-88a9-be437cc2b5cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e22ef-0a64-72a7-956a-8428498094d1" xlink:to="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_019e22ef-0a64-7f71-88a9-be437cc2b5cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019e22ef-0a64-7dbf-a5c4-c6784993ee9a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_InvestmentIncomeOperatingAfterExpenseAndTax_019e22ef-0a64-72a7-956a-8428498094d1" xlink:to="loc_us-gaap_NetInvestmentIncome_019e22ef-0a64-7dbf-a5c4-c6784993ee9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-70b6-a444-db45117b112c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7ac0-a09c-62c4f7c13fc2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-70b6-a444-db45117b112c" xlink:to="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7ac0-a09c-62c4f7c13fc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-759a-b790-6f0fedeaab3d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-70b6-a444-db45117b112c" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-759a-b790-6f0fedeaab3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e22ef-0a64-7915-a068-bb0c5371bcb4" 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_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-72f1-b03c-1d88b18d382d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e22ef-0a64-7915-a068-bb0c5371bcb4" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-72f1-b03c-1d88b18d382d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e22ef-0a64-7dc6-904d-c7e52f5f68ec" 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_019e22ef-0a64-7915-a068-bb0c5371bcb4" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e22ef-0a64-7dc6-904d-c7e52f5f68ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e22ef-0a64-7b01-bd07-17998d05e217" 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_019e22ef-0a64-7915-a068-bb0c5371bcb4" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e22ef-0a64-7b01-bd07-17998d05e217" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019e22ef-0a64-7bd6-b53c-64cb29df23df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019e22ef-0a64-7915-a068-bb0c5371bcb4" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019e22ef-0a64-7bd6-b53c-64cb29df23df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7087-ab98-2f95fba00310" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019e22ef-0a64-7043-aa7a-1095fb914028" 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_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7087-ab98-2f95fba00310" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019e22ef-0a64-7043-aa7a-1095fb914028" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019e22ef-0a64-79f1-998b-8be813ea8a4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealized"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7087-ab98-2f95fba00310" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019e22ef-0a64-79f1-998b-8be813ea8a4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e22ef-0a64-7eb1-8f37-687ff3458610" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7087-ab98-2f95fba00310" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e22ef-0a64-7eb1-8f37-687ff3458610" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://golubcapitalbdc.com/role/ConsolidatedStatementsofChangesinNetAssetsunaudited" xlink:type="simple" xlink:href="gbdc-20260630.xsd#ConsolidatedStatementsofChangesinNetAssetsunaudited"/>
  <link:calculationLink xlink:role="http://golubcapitalbdc.com/role/ConsolidatedStatementsofChangesinNetAssetsunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_019e22ef-0a64-792f-b3fd-82344737763f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_019e22ef-0a64-775c-91dc-88aa82f315fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_019e22ef-0a64-792f-b3fd-82344737763f" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_019e22ef-0a64-775c-91dc-88aa82f315fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_019e22ef-0a64-70d8-b518-084241abb518" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedDuringPeriodShares"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_019e22ef-0a64-792f-b3fd-82344737763f" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_019e22ef-0a64-70d8-b518-084241abb518" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan_019e22ef-0a64-7ea1-8c29-1910e1c72e72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesPeriodIncreaseDecrease_019e22ef-0a64-792f-b3fd-82344737763f" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan_019e22ef-0a64-7ea1-8c29-1910e1c72e72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e22ef-0a64-7f0a-8066-eafd8ebfb2a0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_019e22ef-0a64-7037-8b67-cad462345d58" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedDuringPeriodValue"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e22ef-0a64-7f0a-8066-eafd8ebfb2a0" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_019e22ef-0a64-7037-8b67-cad462345d58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e22ef-0a64-7256-a72b-345eb76ff4aa" 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_StockholdersEquityPeriodIncreaseDecrease_019e22ef-0a64-7f0a-8066-eafd8ebfb2a0" xlink:to="loc_us-gaap_InvestmentIncomeOperatingAfterExpenseAndTax_019e22ef-0a64-7256-a72b-345eb76ff4aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7878-ac5b-c05b0498dab8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e22ef-0a64-7f0a-8066-eafd8ebfb2a0" xlink:to="loc_us-gaap_RealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7878-ac5b-c05b0498dab8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_RealizedGainLossOnExtinguishmentOfDebt_019e22ef-0a64-7d54-bca5-e9d488c8f24c" xlink:href="gbdc-20260630.xsd#gbdc_RealizedGainLossOnExtinguishmentOfDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e22ef-0a64-7f0a-8066-eafd8ebfb2a0" xlink:to="loc_gbdc_RealizedGainLossOnExtinguishmentOfDebt_019e22ef-0a64-7d54-bca5-e9d488c8f24c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7b3e-b562-0576b6e3c50d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e22ef-0a64-7f0a-8066-eafd8ebfb2a0" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e22ef-0a64-7b3e-b562-0576b6e3c50d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019e22ef-0a64-7b3d-abba-650ec28a765d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e22ef-0a64-7f0a-8066-eafd8ebfb2a0" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentAndDerivativeOperatingTaxExpenseBenefit_019e22ef-0a64-7b3d-abba-650ec28a765d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueDividendReinvestmentPlan_019e22ef-0a64-7d70-a9a7-5a6b9330ce5a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueDividendReinvestmentPlan"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e22ef-0a64-7f0a-8066-eafd8ebfb2a0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueDividendReinvestmentPlan_019e22ef-0a64-7d70-a9a7-5a6b9330ce5a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_019e22ef-0a64-7b7d-b611-4e20e65d79de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e22ef-0a64-7f0a-8066-eafd8ebfb2a0" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_019e22ef-0a64-7b7d-b611-4e20e65d79de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_019e22ef-0a64-75d4-8dcc-a03c6b84f73e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019e22ef-0a64-7f0a-8066-eafd8ebfb2a0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_019e22ef-0a64-75d4-8dcc-a03c6b84f73e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://golubcapitalbdc.com/role/ConsolidatedStatementsofCashFlowsunaudited" xlink:type="simple" xlink:href="gbdc-20260630.xsd#ConsolidatedStatementsofCashFlowsunaudited"/>
  <link:calculationLink xlink:role="http://golubcapitalbdc.com/role/ConsolidatedStatementsofCashFlowsunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019e22ef-0a64-78f9-afb7-0ae4a214e81d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e22ef-0a64-7319-92da-2d1c73f6ba33" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019e22ef-0a64-78f9-afb7-0ae4a214e81d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e22ef-0a64-7319-92da-2d1c73f6ba33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-78d5-9c6a-0f5ed4f7a902" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_019e22ef-0a64-78f9-afb7-0ae4a214e81d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-78d5-9c6a-0f5ed4f7a902" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e22ef-0a64-7b59-9df8-28dd687ec9d4" 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_CashNotHeldInForeignCurrency_019e22ef-0a64-7e1f-b3a6-0ea45d2b184d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashNotHeldInForeignCurrency"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e22ef-0a64-7b59-9df8-28dd687ec9d4" xlink:to="loc_us-gaap_CashNotHeldInForeignCurrency_019e22ef-0a64-7e1f-b3a6-0ea45d2b184d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashEquivalentsAtCarryingValue_019e22ef-0a64-7f15-8c4c-a79bb1bfd3aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e22ef-0a64-7b59-9df8-28dd687ec9d4" xlink:to="loc_us-gaap_CashEquivalentsAtCarryingValue_019e22ef-0a64-7f15-8c4c-a79bb1bfd3aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashHeldInForeignCurrency_019e22ef-0a64-7e0b-93b4-397993cb8ff1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashHeldInForeignCurrency"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e22ef-0a64-7b59-9df8-28dd687ec9d4" xlink:to="loc_us-gaap_CashHeldInForeignCurrency_019e22ef-0a64-7e0b-93b4-397993cb8ff1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019e22ef-0a64-79eb-b731-e9e6a1b68249" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e22ef-0a64-7b59-9df8-28dd687ec9d4" xlink:to="loc_us-gaap_RestrictedCash_019e22ef-0a64-79eb-b731-e9e6a1b68249" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashEquivalents_019e22ef-0a64-7413-805f-a1aabbb36947" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashEquivalents"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e22ef-0a64-7b59-9df8-28dd687ec9d4" xlink:to="loc_us-gaap_RestrictedCashEquivalents_019e22ef-0a64-7413-805f-a1aabbb36947" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" 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_NetIncomeLoss_019e22ef-0a64-7c61-ae12-4e1a07fa3d17" 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_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_NetIncomeLoss_019e22ef-0a64-7c61-ae12-4e1a07fa3d17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019e22ef-0a64-7dff-b057-6cca21cc2fb7" 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_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019e22ef-0a64-7dff-b057-6cca21cc2fb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019e22ef-0a64-74fb-8f86-66f2fc653eda" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019e22ef-0a64-74fb-8f86-66f2fc653eda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_AccretionAmortizationOfDiscountsAndPremiumsDebtSecurities_019e22ef-0a64-769f-a54b-73cd761ef8f8" xlink:href="gbdc-20260630.xsd#gbdc_AccretionAmortizationOfDiscountsAndPremiumsDebtSecurities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_gbdc_AccretionAmortizationOfDiscountsAndPremiumsDebtSecurities_019e22ef-0a64-769f-a54b-73cd761ef8f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019e22ef-0a64-7197-ab19-9fe529b69ff2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesRealizedGainLoss"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesRealizedGainLoss_019e22ef-0a64-7197-ab19-9fe529b69ff2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_019e22ef-0a64-7dcd-bdd6-75b562d55993" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyTransactionGainLossRealized"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_019e22ef-0a64-7dcd-bdd6-75b562d55993" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfDerivatives_019e22ef-0a64-7fb4-82a6-dd980462c351" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfDerivatives"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_GainLossOnSaleOfDerivatives_019e22ef-0a64-7fb4-82a6-dd980462c351" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e22ef-0a64-7ebb-bad0-5f748ec18d79" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e22ef-0a64-7ebb-bad0-5f748ec18d79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019e22ef-0a64-76d1-a8e5-2e34608a5e32" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_DebtAndEquitySecuritiesUnrealizedGainLoss_019e22ef-0a64-76d1-a8e5-2e34608a5e32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019e22ef-0a64-7c0e-bc9e-3b27b066fca5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealized"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_019e22ef-0a64-7c0e-bc9e-3b27b066fca5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e22ef-0a64-777d-8d4f-0fd90ca96812" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e22ef-0a64-777d-8d4f-0fd90ca96812" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_ProceedsFromPurchasesForUndrawnPortionOfRevolvingLoansOperatingActivities_019e22ef-0a64-7bf1-ae50-b86630fcd4ce" xlink:href="gbdc-20260630.xsd#gbdc_ProceedsFromPurchasesForUndrawnPortionOfRevolvingLoansOperatingActivities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_gbdc_ProceedsFromPurchasesForUndrawnPortionOfRevolvingLoansOperatingActivities_019e22ef-0a64-7bf1-ae50-b86630fcd4ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_019e22ef-0a64-76ae-addd-188a0f96d453" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_019e22ef-0a64-76ae-addd-188a0f96d453" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_019e22ef-0a64-73ea-8924-03c7076cc313" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_019e22ef-0a64-73ea-8924-03c7076cc313" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_ProceedsFromDerivativeInstrumentOperatingActivities_019e22ef-0a64-7212-911e-9aafac7d5849" xlink:href="gbdc-20260630.xsd#gbdc_ProceedsFromDerivativeInstrumentOperatingActivities"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_gbdc_ProceedsFromDerivativeInstrumentOperatingActivities_019e22ef-0a64-7212-911e-9aafac7d5849" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_InterestIncomeOperatingPaidInKindCapitalized_019e22ef-0a64-77ab-af5d-68bec599d833" xlink:href="gbdc-20260630.xsd#gbdc_InterestIncomeOperatingPaidInKindCapitalized"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_gbdc_InterestIncomeOperatingPaidInKindCapitalized_019e22ef-0a64-77ab-af5d-68bec599d833" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_NonCashDividendsCapitalized_019e22ef-0a64-798c-a245-9ec4ee441f18" xlink:href="gbdc-20260630.xsd#gbdc_NonCashDividendsCapitalized"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_gbdc_NonCashDividendsCapitalized_019e22ef-0a64-798c-a245-9ec4ee441f18" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_ProceedsFromNonCashDividends_019e22ef-0a64-73f7-a82d-cbd32d7adaad" xlink:href="gbdc-20260630.xsd#gbdc_ProceedsFromNonCashDividends"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_gbdc_ProceedsFromNonCashDividends_019e22ef-0a64-73f7-a82d-cbd32d7adaad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_019e22ef-0a64-7ea1-b0a3-56d935bf5893" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_019e22ef-0a64-7ea1-b0a3-56d935bf5893" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivableForInvestmentSold_019e22ef-0a64-7e9b-91fc-12c707835619" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInReceivableForInvestmentSold"/>
    <link:calculationArc order="20" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivableForInvestmentSold_019e22ef-0a64-7e9b-91fc-12c707835619" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e22ef-0a64-7b28-b9ac-b18e38a62533" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="21" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e22ef-0a64-7b28-b9ac-b18e38a62533" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_019e22ef-0a64-7175-b92b-f170f0d3dfd5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="22" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_019e22ef-0a64-7175-b92b-f170f0d3dfd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInManagementAndIncentiveFeesPayable_019e22ef-0a64-7939-b7d7-69b2e7adf261" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInManagementAndIncentiveFeesPayable"/>
    <link:calculationArc order="23" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_IncreaseDecreaseInManagementAndIncentiveFeesPayable_019e22ef-0a64-7939-b7d7-69b2e7adf261" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_IncreaseDecreaseInAccruedTrusteeFees_019e22ef-0a64-7f5f-9700-6ed04e04cb7b" xlink:href="gbdc-20260630.xsd#gbdc_IncreaseDecreaseInAccruedTrusteeFees"/>
    <link:calculationArc order="24" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_gbdc_IncreaseDecreaseInAccruedTrusteeFees_019e22ef-0a64-7f5f-9700-6ed04e04cb7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e22ef-0a64-75bb-8402-fb31da95a5f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="25" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e22ef-0a64-75bb-8402-fb31da95a5f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_IncreaseDecreaseInDepositDerivativeContract_019ead45-77c4-7677-a6af-976ffd9454a8" xlink:href="gbdc-20260630.xsd#gbdc_IncreaseDecreaseInDepositDerivativeContract"/>
    <link:calculationArc order="26" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e22ef-0a64-7632-b420-d46cb8f5c21c" xlink:to="loc_gbdc_IncreaseDecreaseInDepositDerivativeContract_019ead45-77c4-7677-a6af-976ffd9454a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e22ef-0a64-7080-8f4b-9b3d4b5d412f" 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_ProceedsFromIssuanceOfLongTermDebt_019e22ef-0a64-70ee-892b-cb85f3457aa6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e22ef-0a64-7080-8f4b-9b3d4b5d412f" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019e22ef-0a64-70ee-892b-cb85f3457aa6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_019e22ef-0a64-7174-9b68-1db1d607c6fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e22ef-0a64-7080-8f4b-9b3d4b5d412f" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_019e22ef-0a64-7174-9b68-1db1d607c6fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e22ef-0a64-7c58-a779-ef25b7ce35cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e22ef-0a64-7080-8f4b-9b3d4b5d412f" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e22ef-0a64-7c58-a779-ef25b7ce35cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e22ef-0a64-75b3-b394-947d3784da65" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e22ef-0a64-7080-8f4b-9b3d4b5d412f" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e22ef-0a64-75b3-b394-947d3784da65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e22ef-0a64-7689-85f5-e9a32f9e4387" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e22ef-0a64-7080-8f4b-9b3d4b5d412f" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e22ef-0a64-7689-85f5-e9a32f9e4387" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019fa429-c0bb-7635-b9ce-d022e7a95828" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e22ef-0a64-7080-8f4b-9b3d4b5d412f" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019fa429-c0bb-7635-b9ce-d022e7a95828" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_PaymentsForRepurchaseOfCommonStockForDividendReinvestmentPlan_019fa429-c0bb-7543-a320-6edfe449c561" xlink:href="gbdc-20260630.xsd#gbdc_PaymentsForRepurchaseOfCommonStockForDividendReinvestmentPlan"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e22ef-0a64-7080-8f4b-9b3d4b5d412f" xlink:to="loc_gbdc_PaymentsForRepurchaseOfCommonStockForDividendReinvestmentPlan_019fa429-c0bb-7543-a320-6edfe449c561" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://golubcapitalbdc.com/role/ConsolidatedScheduleofInvestments" xlink:type="simple" xlink:href="gbdc-20260630.xsd#ConsolidatedScheduleofInvestments"/>
  <link:calculationLink xlink:role="http://golubcapitalbdc.com/role/ConsolidatedScheduleofInvestments" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_InvestmentOwnedAndMoneyMarketFundsPercentOfNetAssets_019e22ef-0a64-7f78-ab8d-e672267ed6ce" xlink:href="gbdc-20260630.xsd#gbdc_InvestmentOwnedAndMoneyMarketFundsPercentOfNetAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_MoneyMarketFundsPercentOfNetAssets_019e22ef-0a64-79a6-b92e-892dd07f0833" xlink:href="gbdc-20260630.xsd#gbdc_MoneyMarketFundsPercentOfNetAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gbdc_InvestmentOwnedAndMoneyMarketFundsPercentOfNetAssets_019e22ef-0a64-7f78-ab8d-e672267ed6ce" xlink:to="loc_gbdc_MoneyMarketFundsPercentOfNetAssets_019e22ef-0a64-79a6-b92e-892dd07f0833" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_019e22ef-0a64-7aee-9e17-b548cbd027d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentOwnedPercentOfNetAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gbdc_InvestmentOwnedAndMoneyMarketFundsPercentOfNetAssets_019e22ef-0a64-7f78-ab8d-e672267ed6ce" xlink:to="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_019e22ef-0a64-7aee-9e17-b548cbd027d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_InvestmentOwnedAtFairValueAndMoneyMarketFundsAtCarryingValue_019e22ef-0a64-76f5-b498-c1898d7d6498" xlink:href="gbdc-20260630.xsd#gbdc_InvestmentOwnedAtFairValueAndMoneyMarketFundsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_019e22ef-0a64-71c0-a9a1-1d823e1cab5c" 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_gbdc_InvestmentOwnedAtFairValueAndMoneyMarketFundsAtCarryingValue_019e22ef-0a64-76f5-b498-c1898d7d6498" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_019e22ef-0a64-71c0-a9a1-1d823e1cab5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_MoneyMarketFundsFairValueDisclosure_019e22ef-0a64-791d-bf84-2a7761fbee2d" xlink:href="gbdc-20260630.xsd#gbdc_MoneyMarketFundsFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gbdc_InvestmentOwnedAtFairValueAndMoneyMarketFundsAtCarryingValue_019e22ef-0a64-76f5-b498-c1898d7d6498" xlink:to="loc_gbdc_MoneyMarketFundsFairValueDisclosure_019e22ef-0a64-791d-bf84-2a7761fbee2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_InvestmentOwnedAtCostAndMoneyMarketFundsAtCarryingValue_019e22ef-0a64-706a-9604-1cb18efd542f" xlink:href="gbdc-20260630.xsd#gbdc_InvestmentOwnedAtCostAndMoneyMarketFundsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtCost_019e22ef-0a64-72e4-a757-dc3b5db4976d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentOwnedAtCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gbdc_InvestmentOwnedAtCostAndMoneyMarketFundsAtCarryingValue_019e22ef-0a64-706a-9604-1cb18efd542f" xlink:to="loc_us-gaap_InvestmentOwnedAtCost_019e22ef-0a64-72e4-a757-dc3b5db4976d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsAtCarryingValue_019e22ef-0a64-72f2-ba42-ffa48cfb37e9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MoneyMarketFundsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_gbdc_InvestmentOwnedAtCostAndMoneyMarketFundsAtCarryingValue_019e22ef-0a64-706a-9604-1cb18efd542f" xlink:to="loc_us-gaap_MoneyMarketFundsAtCarryingValue_019e22ef-0a64-72f2-ba42-ffa48cfb37e9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://golubcapitalbdc.com/role/DerivativesScheduleofComponentsoftheUnrealizedGainLossDetails" xlink:type="simple" xlink:href="gbdc-20260630.xsd#DerivativesScheduleofComponentsoftheUnrealizedGainLossDetails"/>
  <link:calculationLink xlink:role="http://golubcapitalbdc.com/role/DerivativesScheduleofComponentsoftheUnrealizedGainLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019e22ef-0b26-7190-8f00-bfe31327e1fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_019e22ef-0b26-76b8-ad97-967b9f37abab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019e22ef-0b26-7190-8f00-bfe31327e1fa" xlink:to="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_019e22ef-0b26-76b8-ad97-967b9f37abab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_019e22ef-0b26-7b5f-8919-833147f1929f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019e22ef-0b26-7190-8f00-bfe31327e1fa" xlink:to="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_019e22ef-0b26-7b5f-8919-833147f1929f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://golubcapitalbdc.com/role/DerivativesScheduleofEffectofOffsettingDerivativeContractsDetails" xlink:type="simple" xlink:href="gbdc-20260630.xsd#DerivativesScheduleofEffectofOffsettingDerivativeContractsDetails"/>
  <link:calculationLink xlink:role="http://golubcapitalbdc.com/role/DerivativesScheduleofEffectofOffsettingDerivativeContractsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019e22ef-0b26-748e-b508-b6fc2c97c964" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019e22ef-0b26-7b9a-ae79-12abec242570" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019e22ef-0b26-748e-b508-b6fc2c97c964" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019e22ef-0b26-7b9a-ae79-12abec242570" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019e22ef-0b26-7d5d-a3cd-4918a45809d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeLiabilities_019e22ef-0b26-748e-b508-b6fc2c97c964" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019e22ef-0b26-7d5d-a3cd-4918a45809d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019e22ef-0b26-7675-9b64-accea57c80a7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019e22ef-0b26-72c6-8d04-cd3db907ebd4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019e22ef-0b26-7675-9b64-accea57c80a7" xlink:to="loc_us-gaap_DerivativeLiabilities_019e22ef-0b26-72c6-8d04-cd3db907ebd4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_019e22ef-0b26-7284-9512-1ccc4057c828" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_019e22ef-0b26-7675-9b64-accea57c80a7" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_019e22ef-0b26-7284-9512-1ccc4057c828" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019e22ef-0b26-7dfe-abdb-6950f29ba831" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019e22ef-0b26-7057-be74-b227040ac452" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019e22ef-0b26-7dfe-abdb-6950f29ba831" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019e22ef-0b26-7057-be74-b227040ac452" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019e22ef-0b26-7566-b56c-a4fb067562d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssets_019e22ef-0b26-7dfe-abdb-6950f29ba831" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019e22ef-0b26-7566-b56c-a4fb067562d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019e22ef-0b26-7c5c-ba75-aefa6ec9a781" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019e22ef-0b26-77ec-b58a-f9fc2a7c934a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019e22ef-0b26-7c5c-ba75-aefa6ec9a781" xlink:to="loc_us-gaap_DerivativeAssets_019e22ef-0b26-77ec-b58a-f9fc2a7c934a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_019e22ef-0b26-7811-bfbd-ebd88e293d90" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralObligationToReturnSecurities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_019e22ef-0b26-7c5c-ba75-aefa6ec9a781" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_019e22ef-0b26-7811-bfbd-ebd88e293d90" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://golubcapitalbdc.com/role/FairValueMeasurementsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisDetails" xlink:type="simple" xlink:href="gbdc-20260630.xsd#FairValueMeasurementsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://golubcapitalbdc.com/role/FairValueMeasurementsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019e22ef-0b26-7735-a252-c240bacd0a6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_019e22ef-0b26-77a1-bfc8-607935d0516a" 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_AssetsFairValueDisclosure_019e22ef-0b26-7735-a252-c240bacd0a6a" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_019e22ef-0b26-77a1-bfc8-607935d0516a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019e22ef-0b26-7308-9c7b-6a5fe25c2a10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e22ef-0b26-7735-a252-c240bacd0a6a" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019e22ef-0b26-7308-9c7b-6a5fe25c2a10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_019e22ef-0b26-71e9-9ee6-49b310267d3f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e22ef-0b26-7735-a252-c240bacd0a6a" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_019e22ef-0b26-71e9-9ee6-49b310267d3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateDerivativeAssetsAtFairValue_019e22ef-0b26-757b-b7bc-09e80d8a07fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateDerivativeAssetsAtFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_019e22ef-0b26-7735-a252-c240bacd0a6a" xlink:to="loc_us-gaap_InterestRateDerivativeAssetsAtFairValue_019e22ef-0b26-757b-b7bc-09e80d8a07fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019e22ef-0b26-799f-9a4f-75e5a56a3c8b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_019e22ef-0b26-7f92-bb74-46d374796c23" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_019e22ef-0b26-799f-9a4f-75e5a56a3c8b" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_019e22ef-0b26-7f92-bb74-46d374796c23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateDerivativeLiabilitiesAtFairValue_019e22ef-0b26-72e6-8cd6-232ad81445b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateDerivativeLiabilitiesAtFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_019e22ef-0b26-799f-9a4f-75e5a56a3c8b" xlink:to="loc_us-gaap_InterestRateDerivativeLiabilitiesAtFairValue_019e22ef-0b26-72e6-8cd6-232ad81445b3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://golubcapitalbdc.com/role/BorrowingsScheduleofDebtSecuritizationDetails" xlink:type="simple" xlink:href="gbdc-20260630.xsd#BorrowingsScheduleofDebtSecuritizationDetails"/>
  <link:calculationLink xlink:role="http://golubcapitalbdc.com/role/BorrowingsScheduleofDebtSecuritizationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_019e22ef-0b26-7f86-aa1c-309e0be7a2f6" 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_us-gaap_InterestExpenseDebtExcludingAmortization_019e22ef-0b26-7010-a89f-c6ab12593a09" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseDebtExcludingAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_019e22ef-0b26-7f86-aa1c-309e0be7a2f6" xlink:to="loc_us-gaap_InterestExpenseDebtExcludingAmortization_019e22ef-0b26-7010-a89f-c6ab12593a09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_InterestExpenseDerivativeExcludingAmortizationIncludingAdjustments_019e22ef-0b26-740f-a902-3382939a754c" xlink:href="gbdc-20260630.xsd#gbdc_InterestExpenseDerivativeExcludingAmortizationIncludingAdjustments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_019e22ef-0b26-7f86-aa1c-309e0be7a2f6" xlink:to="loc_gbdc_InterestExpenseDerivativeExcludingAmortizationIncludingAdjustments_019e22ef-0b26-740f-a902-3382939a754c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019e22ef-0b26-7afd-bcdc-9e391d440c10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_019e22ef-0b26-7f86-aa1c-309e0be7a2f6" xlink:to="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_019e22ef-0b26-7afd-bcdc-9e391d440c10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_AccretionOfDebtDiscount_019e22ef-0b26-7a08-9f24-c2240a9178a4" xlink:href="gbdc-20260630.xsd#gbdc_AccretionOfDebtDiscount"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_019e22ef-0b26-7f86-aa1c-309e0be7a2f6" xlink:to="loc_gbdc_AccretionOfDebtDiscount_019e22ef-0b26-7a08-9f24-c2240a9178a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019e22ef-0b26-7687-9d2a-3f28af8a4cdf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_019e22ef-0b26-7f86-aa1c-309e0be7a2f6" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019e22ef-0b26-7687-9d2a-3f28af8a4cdf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://golubcapitalbdc.com/role/BorrowingsScheduleofMaturitiesofLongTermDebtDetails" xlink:type="simple" xlink:href="gbdc-20260630.xsd#BorrowingsScheduleofMaturitiesofLongTermDebtDetails"/>
  <link:calculationLink xlink:role="http://golubcapitalbdc.com/role/BorrowingsScheduleofMaturitiesofLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019e22ef-0b26-78e7-8c01-c4dd18431c75" 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_gbdc_LongTermDebtGrossMaturity3Through5Years_019e22ef-0b26-7319-82bf-e5d515e5ac1c" xlink:href="gbdc-20260630.xsd#gbdc_LongTermDebtGrossMaturity3Through5Years"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019e22ef-0b26-78e7-8c01-c4dd18431c75" xlink:to="loc_gbdc_LongTermDebtGrossMaturity3Through5Years_019e22ef-0b26-7319-82bf-e5d515e5ac1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_LongTermDebtGrossMaturityMoreThan5Years_019e22ef-0b26-771e-805d-a864e3ffa0ea" xlink:href="gbdc-20260630.xsd#gbdc_LongTermDebtGrossMaturityMoreThan5Years"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019e22ef-0b26-78e7-8c01-c4dd18431c75" xlink:to="loc_gbdc_LongTermDebtGrossMaturityMoreThan5Years_019e22ef-0b26-771e-805d-a864e3ffa0ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_LongTermDebtGrossMaturityLessThan1Year_019e22ef-0b26-7b1d-9f2b-17740146b950" xlink:href="gbdc-20260630.xsd#gbdc_LongTermDebtGrossMaturityLessThan1Year"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019e22ef-0b26-78e7-8c01-c4dd18431c75" xlink:to="loc_gbdc_LongTermDebtGrossMaturityLessThan1Year_019e22ef-0b26-7b1d-9f2b-17740146b950" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_gbdc_LongTermDebtGrossMaturity1Through3Years_019e22ef-0b26-7542-be7f-2748d4a96735" xlink:href="gbdc-20260630.xsd#gbdc_LongTermDebtGrossMaturity1Through3Years"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019e22ef-0b26-78e7-8c01-c4dd18431c75" xlink:to="loc_gbdc_LongTermDebtGrossMaturity1Through3Years_019e22ef-0b26-7542-be7f-2748d4a96735" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
