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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019ffc7a-0bdc-7b9f-ba05-07860e261d53,g:dbe7b73e-bd0f-4985-b093-a6c0b899cb73-->
<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:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="good-20260930.xsd#CondensedConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019ffc7a-0d28-7cb6-8be7-11ac996bbf3a" 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_RealEstateInvestmentPropertyNet_019ffc7a-0d28-7f8d-afc5-64df6ab17a7e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ffc7a-0d28-7cb6-8be7-11ac996bbf3a" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyNet_019ffc7a-0d28-7f8d-afc5-64df6ab17a7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019ffc7a-0d28-7e3f-8e0c-3b584ba24259" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ffc7a-0d28-7cb6-8be7-11ac996bbf3a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019ffc7a-0d28-7e3f-8e0c-3b584ba24259" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_019ffc7a-0d28-7941-9b6b-a4701f50ae15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ffc7a-0d28-7cb6-8be7-11ac996bbf3a" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_019ffc7a-0d28-7941-9b6b-a4701f50ae15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ffc7a-0d28-7efe-9692-93162544dd95" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ffc7a-0d28-7cb6-8be7-11ac996bbf3a" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ffc7a-0d28-7efe-9692-93162544dd95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_019ffc7a-0d28-7a4a-9fa4-6e19d4268863" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ffc7a-0d28-7cb6-8be7-11ac996bbf3a" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_019ffc7a-0d28-7a4a-9fa4-6e19d4268863" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EscrowDeposit_019ffc7a-0d28-79d7-8882-5cc33c9b48c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EscrowDeposit"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ffc7a-0d28-7cb6-8be7-11ac996bbf3a" xlink:to="loc_us-gaap_EscrowDeposit_019ffc7a-0d28-79d7-8882-5cc33c9b48c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019ffc7a-0d28-7066-8781-fea38e9ee547" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ffc7a-0d28-7cb6-8be7-11ac996bbf3a" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019ffc7a-0d28-7066-8781-fea38e9ee547" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRentReceivablesNet_019ffc7a-0d28-76df-a426-2a6871e0435f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredRentReceivablesNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ffc7a-0d28-7cb6-8be7-11ac996bbf3a" xlink:to="loc_us-gaap_DeferredRentReceivablesNet_019ffc7a-0d28-76df-a426-2a6871e0435f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019ffc7a-0d28-7f00-83b6-4eee76900573" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ffc7a-0d28-7cb6-8be7-11ac996bbf3a" xlink:to="loc_us-gaap_OtherAssets_019ffc7a-0d28-7f00-83b6-4eee76900573" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_019ffc7a-0d28-7044-9a46-42ecd38b5c8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ffc7a-0d28-7cb6-8be7-11ac996bbf3a" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_019ffc7a-0d28-7044-9a46-42ecd38b5c8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" 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_us-gaap_SecuredLongTermDebt_019ffc7a-0d28-7667-afd3-76c30606e243" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" xlink:to="loc_us-gaap_SecuredLongTermDebt_019ffc7a-0d28-7667-afd3-76c30606e243" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019ffc7a-0d28-78a0-a3c8-aba0e4227538" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCredit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" xlink:to="loc_us-gaap_LineOfCredit_019ffc7a-0d28-78a0-a3c8-aba0e4227538" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayable_019ffc7a-0d28-7f38-abe6-479634b17561" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LoansPayable"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" xlink:to="loc_us-gaap_LoansPayable_019ffc7a-0d28-7f38-abe6-479634b17561" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvanceRent_019ffc7a-0d28-7e67-abc7-958f46f016a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdvanceRent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" xlink:to="loc_us-gaap_AdvanceRent_019ffc7a-0d28-7e67-abc7-958f46f016a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019ffc7a-0d28-71b6-ab3a-3656d24e14f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" xlink:to="loc_us-gaap_OperatingLeaseLiability_019ffc7a-0d28-71b6-ab3a-3656d24e14f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligation_019ffc7a-0d28-763d-a116-97015878d57d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetRetirementObligation"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" xlink:to="loc_us-gaap_AssetRetirementObligation_019ffc7a-0d28-763d-a116-97015878d57d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_019ffc7a-0d28-7e32-81a9-a893a4af9ab2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_019ffc7a-0d28-7e32-81a9-a893a4af9ab2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019ffc7a-0d28-7fd7-8278-c0c6c028f12e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" xlink:to="loc_us-gaap_OtherLiabilities_019ffc7a-0d28-7fd7-8278-c0c6c028f12e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorLongTermNotes_019ffc7a-0d28-74bd-ad30-f4d2c866cd3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorLongTermNotes"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" xlink:to="loc_us-gaap_SeniorLongTermNotes_019ffc7a-0d28-74bd-ad30-f4d2c866cd3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_019ffc7a-0d28-7648-8650-0812b1c63684" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" xlink:to="loc_us-gaap_FinanceLeaseLiability_019ffc7a-0d28-7648-8650-0812b1c63684" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_019ffc7a-0d28-7d08-8eae-0a59cede928a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ffc7a-0d28-76e0-b265-8eba60e45d06" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_019ffc7a-0d28-7d08-8eae-0a59cede928a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_019ffc7a-0d28-7445-aa0c-324cac752d7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019ffc7a-0d28-7b8d-8dca-6c7c86c02611" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyAtCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_019ffc7a-0d28-7445-aa0c-324cac752d7b" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019ffc7a-0d28-7b8d-8dca-6c7c86c02611" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019ffc7a-0d28-7845-8a4d-00b80762cd31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_019ffc7a-0d28-7445-aa0c-324cac752d7b" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019ffc7a-0d28-7845-8a4d-00b80762cd31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019ffc7a-0d28-7b2f-9129-f9d772b29ee4" 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_good_SeniorCommonStockValueIssued_019ffc7a-0d28-72d3-89a5-a01257f5eaf2" xlink:href="good-20260930.xsd#good_SeniorCommonStockValueIssued"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ffc7a-0d28-7b2f-9129-f9d772b29ee4" xlink:to="loc_good_SeniorCommonStockValueIssued_019ffc7a-0d28-72d3-89a5-a01257f5eaf2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019ffc7a-0d28-7e39-9f2f-c4d0082519f8" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ffc7a-0d28-7b2f-9129-f9d772b29ee4" xlink:to="loc_us-gaap_CommonStockValue_019ffc7a-0d28-7e39-9f2f-c4d0082519f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019ffc7a-0d28-7028-bc13-6fdcb6c62122" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ffc7a-0d28-7b2f-9129-f9d772b29ee4" xlink:to="loc_us-gaap_PreferredStockValue_019ffc7a-0d28-7028-bc13-6fdcb6c62122" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019ffc7a-0d28-7e52-858f-5b5be6097bfa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ffc7a-0d28-7b2f-9129-f9d772b29ee4" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019ffc7a-0d28-7e52-858f-5b5be6097bfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019ffc7a-0d28-7517-8d32-6f0ad51c6301" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ffc7a-0d28-7b2f-9129-f9d772b29ee4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019ffc7a-0d28-7517-8d32-6f0ad51c6301" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncome_019ffc7a-0d28-751d-a044-45eb9943d37e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDistributionsInExcessOfNetIncome"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ffc7a-0d28-7b2f-9129-f9d772b29ee4" xlink:to="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncome_019ffc7a-0d28-751d-a044-45eb9943d37e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ffc7a-0d28-7f5c-9ffa-acb2b55335c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019ffc7a-0d28-7937-a336-3e5cf325ec92" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ffc7a-0d28-7f5c-9ffa-acb2b55335c5" xlink:to="loc_us-gaap_Liabilities_019ffc7a-0d28-7937-a336-3e5cf325ec92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount_019ffc7a-0d28-7664-93c0-83d3d6c2c674" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ffc7a-0d28-7f5c-9ffa-acb2b55335c5" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount_019ffc7a-0d28-7664-93c0-83d3d6c2c674" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019ffc7a-0d28-73cc-a6db-942bd953305d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ffc7a-0d28-7f5c-9ffa-acb2b55335c5" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019ffc7a-0d28-73cc-a6db-942bd953305d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ffc7a-0d28-7718-8605-c27d41f7dd80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ffc7a-0d28-7f5c-9ffa-acb2b55335c5" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ffc7a-0d28-7718-8605-c27d41f7dd80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ffc7a-0d28-7ab2-8228-03505d745cde" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019ffc7a-0d28-74d2-b48e-332971f1cba8" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ffc7a-0d28-7ab2-8228-03505d745cde" xlink:to="loc_us-gaap_StockholdersEquity_019ffc7a-0d28-74d2-b48e-332971f1cba8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019ffc7a-0d28-7b5b-bf8d-e020924118e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ffc7a-0d28-7ab2-8228-03505d745cde" xlink:to="loc_us-gaap_MinorityInterest_019ffc7a-0d28-7b5b-bf8d-e020924118e1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="simple" xlink:href="good-20260930.xsd#CondensedConsolidatedStatementsofOperationsandComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019ffc7a-0d28-7409-85c6-13572d510262" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_019ffc7a-0d28-7d61-8d0d-4c926b120318" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfProperties"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019ffc7a-0d28-7409-85c6-13572d510262" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_019ffc7a-0d28-7d61-8d0d-4c926b120318" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019ffc7a-0d28-73b7-8892-074ee58e8591" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019ffc7a-0d28-7409-85c6-13572d510262" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019ffc7a-0d28-73b7-8892-074ee58e8591" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019ffc7a-0d28-731e-a471-302fa60d571b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019ffc7a-0d28-7409-85c6-13572d510262" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019ffc7a-0d28-731e-a471-302fa60d571b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019ffc7a-0d28-7eec-9931-06a9e0732508" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Revenues"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseIncome_019ffc7a-0d28-77a8-be97-086800f082da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_019ffc7a-0d28-7eec-9931-06a9e0732508" xlink:to="loc_us-gaap_LeaseIncome_019ffc7a-0d28-77a8-be97-086800f082da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019ffc7a-0d28-79b9-866e-0cb0585640f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019ffc7a-0d28-7b06-aaaa-4267cb1892ea" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019ffc7a-0d28-79b9-866e-0cb0585640f1" xlink:to="loc_us-gaap_NetIncomeLoss_019ffc7a-0d28-7b06-aaaa-4267cb1892ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockDividends_019ffc7a-0d28-769c-9a9a-dafed8b42f01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RedeemablePreferredStockDividends"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019ffc7a-0d28-79b9-866e-0cb0585640f1" xlink:to="loc_us-gaap_RedeemablePreferredStockDividends_019ffc7a-0d28-769c-9a9a-dafed8b42f01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_DistributionsAttributableToSeniorCommonStock_019ffc7a-0d28-7d75-8ce6-699a0cbbb346" xlink:href="good-20260930.xsd#good_DistributionsAttributableToSeniorCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019ffc7a-0d28-79b9-866e-0cb0585640f1" xlink:to="loc_good_DistributionsAttributableToSeniorCommonStock_019ffc7a-0d28-7d75-8ce6-699a0cbbb346" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_GainLossOnExtinguishmentOfPreferredStock_019ffc7a-0d28-70b1-a3fc-70689cf79fd0" xlink:href="good-20260930.xsd#good_GainLossOnExtinguishmentOfPreferredStock"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019ffc7a-0d28-79b9-866e-0cb0585640f1" xlink:to="loc_good_GainLossOnExtinguishmentOfPreferredStock_019ffc7a-0d28-70b1-a3fc-70689cf79fd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019ffc7a-0d28-7028-b8e0-22120df7fd1c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019ffc7a-0d28-7533-b4cd-1557278b9994" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019ffc7a-0d28-7028-b8e0-22120df7fd1c" xlink:to="loc_us-gaap_Revenues_019ffc7a-0d28-7533-b4cd-1557278b9994" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019ffc7a-0d28-7770-b5cd-78833949614f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019ffc7a-0d28-7028-b8e0-22120df7fd1c" xlink:to="loc_us-gaap_OperatingExpenses_019ffc7a-0d28-7770-b5cd-78833949614f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019ffc7a-0d28-783e-b431-7eb850b7b01b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_019ffc7a-0d28-7028-b8e0-22120df7fd1c" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019ffc7a-0d28-783e-b431-7eb850b7b01b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019ffc7a-0d28-7609-b2a2-528eb5a98823" xlink:href="good-20260930.xsd#good_OperatingExpensesBeforeIncentiveFeeCredit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_019ffc7a-0d28-7785-93dd-219eea6841a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ManagementFeeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019ffc7a-0d28-7609-b2a2-528eb5a98823" xlink:to="loc_us-gaap_ManagementFeeExpense_019ffc7a-0d28-7785-93dd-219eea6841a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_PropertyOperatingExpenses_019ffc7a-0d28-794e-9938-6ea0f1846832" xlink:href="good-20260930.xsd#good_PropertyOperatingExpenses"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019ffc7a-0d28-7609-b2a2-528eb5a98823" xlink:to="loc_good_PropertyOperatingExpenses_019ffc7a-0d28-794e-9938-6ea0f1846832" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdministrativeFeesExpense_019ffc7a-0d28-7215-b5f1-7ee1e42c787a" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019ffc7a-0d28-7609-b2a2-528eb5a98823" xlink:to="loc_us-gaap_AdministrativeFeesExpense_019ffc7a-0d28-7215-b5f1-7ee1e42c787a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019ffc7a-0d28-7983-a2c7-91099903a4c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019ffc7a-0d28-7609-b2a2-528eb5a98823" xlink:to="loc_us-gaap_DepreciationAndAmortization_019ffc7a-0d28-7983-a2c7-91099903a4c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpense_019ffc7a-0d28-711f-b2bb-4b50dfe9ad11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncentiveFeeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019ffc7a-0d28-7609-b2a2-528eb5a98823" xlink:to="loc_us-gaap_IncentiveFeeExpense_019ffc7a-0d28-711f-b2bb-4b50dfe9ad11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019ffc7a-0d28-734a-af5f-bffd6421550f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019ffc7a-0d28-7609-b2a2-528eb5a98823" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019ffc7a-0d28-734a-af5f-bffd6421550f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019ffc7a-0d28-7e09-b05f-8eac6a843396" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019ffc7a-0d28-7609-b2a2-528eb5a98823" xlink:to="loc_us-gaap_AssetImpairmentCharges_019ffc7a-0d28-7e09-b05f-8eac6a843396" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019ffc7a-0d28-7813-9d2d-adaf43ebf7a0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019ffc7a-0d28-7333-9f85-f657c24d90bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019ffc7a-0d28-7813-9d2d-adaf43ebf7a0" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019ffc7a-0d28-7333-9f85-f657c24d90bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019ffc7a-0d28-764c-84d5-2995eaab5e50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019ffc7a-0d28-7813-9d2d-adaf43ebf7a0" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019ffc7a-0d28-764c-84d5-2995eaab5e50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019ffc7a-0d28-7119-8472-7c64d2a14cfa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019ffc7a-0d28-749f-93f6-7ee57bbbaa0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019ffc7a-0d28-7119-8472-7c64d2a14cfa" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019ffc7a-0d28-749f-93f6-7ee57bbbaa0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019ffc7a-0d28-79b0-8ce7-97236377900b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019ffc7a-0d28-7119-8472-7c64d2a14cfa" xlink:to="loc_us-gaap_ProfitLoss_019ffc7a-0d28-79b0-8ce7-97236377900b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019ffc7a-0d28-72a4-9903-90a95d70bd8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019ffc7a-0d28-744f-8f9d-8f24be3162fd" xlink:href="good-20260930.xsd#good_OperatingExpensesBeforeIncentiveFeeCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019ffc7a-0d28-72a4-9903-90a95d70bd8c" xlink:to="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019ffc7a-0d28-744f-8f9d-8f24be3162fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_IncentiveFeeCredit_019ffc7a-0d28-75f8-8cb4-0dfd181e0d29" xlink:href="good-20260930.xsd#good_IncentiveFeeCredit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019ffc7a-0d28-72a4-9903-90a95d70bd8c" xlink:to="loc_good_IncentiveFeeCredit_019ffc7a-0d28-75f8-8cb4-0dfd181e0d29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019ffc7a-0d28-77c5-b72c-046713f4e150" 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_ProfitLoss_019ffc7a-0d28-79d9-b6ae-eff16e73e499" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ffc7a-0d28-77c5-b72c-046713f4e150" xlink:to="loc_us-gaap_ProfitLoss_019ffc7a-0d28-79d9-b6ae-eff16e73e499" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019ffc7a-0d28-7483-a2f6-eb9a7b1792e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ffc7a-0d28-77c5-b72c-046713f4e150" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019ffc7a-0d28-7483-a2f6-eb9a7b1792e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019ffc7a-0d28-7a3c-8d3d-362aa91bd4cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_019ffc7a-0d28-71f7-bc75-6de54b906a06" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019ffc7a-0d28-7a3c-8d3d-362aa91bd4cf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_019ffc7a-0d28-71f7-bc75-6de54b906a06" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="good-20260930.xsd#CondensedConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019ffc7a-0dd6-7a13-82a4-233ddbcc1081" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019ffc7a-0dd6-7a13-82a4-233ddbcc1081" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_019ffc7a-0dd6-7a19-a2ae-88f24dd6c60d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_019ffc7a-0dd6-7a19-a2ae-88f24dd6c60d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_019ffc7a-0dd6-7e58-9c39-cdc8d05d8891" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_019ffc7a-0dd6-7e58-9c39-cdc8d05d8891" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_019ffc7a-0dd6-7b00-b807-c62b7f243cf0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfFinancingCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_019ffc7a-0dd6-7b00-b807-c62b7f243cf0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_ReceiptsFromLendersForReservesHeldInEscrow_019ffc7a-0dd6-7cf8-9eb3-62ab92fa1f3d" xlink:href="good-20260930.xsd#good_ReceiptsFromLendersForReservesHeldInEscrow"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_good_ReceiptsFromLendersForReservesHeldInEscrow_019ffc7a-0dd6-7cf8-9eb3-62ab92fa1f3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_PaymentsToLendersForReservesHeldInEscrow_019ffc7a-0dd6-7f74-bb57-19a6f4b97387" xlink:href="good-20260930.xsd#good_PaymentsToLendersForReservesHeldInEscrow"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_good_PaymentsToLendersForReservesHeldInEscrow_019ffc7a-0dd6-7f74-bb57-19a6f4b97387" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_019ffc7a-0dd6-7fe2-9884-21c0319d05ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_019ffc7a-0dd6-7fe2-9884-21c0319d05ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_019ffc7a-0dd6-7d89-9018-44912a40a3dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_019ffc7a-0dd6-7d89-9018-44912a40a3dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_019ffc7a-0dd6-72d2-b0ed-1a072db3a301" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_019ffc7a-0dd6-72d2-b0ed-1a072db3a301" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_019ffc7a-0dd6-76c4-ad15-b8780e7bc5a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfUnsecuredDebt"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_019ffc7a-0dd6-76c4-ad15-b8780e7bc5a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_IncreaseDecreaseInSecurityDeposit_019ffc7a-0dd6-7258-b33d-71ac23b59e14" xlink:href="good-20260930.xsd#good_IncreaseDecreaseInSecurityDeposit"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_good_IncreaseDecreaseInSecurityDeposit_019ffc7a-0dd6-7258-b33d-71ac23b59e14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_019ffc7a-0dd6-7c0a-a08b-c12e78464d24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-76b7-9f77-af283c26c1e3" xlink:to="loc_us-gaap_PaymentsOfDividends_019ffc7a-0dd6-7c0a-a08b-c12e78464d24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ffc7a-0dd6-75c1-b33b-f2eab94a1b7f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_PaymentsToAcquireRealEstateAndIntangibleAssets_019ffc7a-0dd6-76eb-8ab8-19a22ae01119" xlink:href="good-20260930.xsd#good_PaymentsToAcquireRealEstateAndIntangibleAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ffc7a-0dd6-75c1-b33b-f2eab94a1b7f" xlink:to="loc_good_PaymentsToAcquireRealEstateAndIntangibleAssets_019ffc7a-0dd6-76eb-8ab8-19a22ae01119" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_ImprovementsOfExistingRealEstate_019ffc7a-0dd6-7b56-9246-c4d648b144a6" xlink:href="good-20260930.xsd#good_ImprovementsOfExistingRealEstate"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ffc7a-0dd6-75c1-b33b-f2eab94a1b7f" xlink:to="loc_good_ImprovementsOfExistingRealEstate_019ffc7a-0dd6-7b56-9246-c4d648b144a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLandHeldforinvestment_019ffc7a-0dd6-70e9-b238-cf4f148307ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfLandHeldforinvestment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ffc7a-0dd6-75c1-b33b-f2eab94a1b7f" xlink:to="loc_us-gaap_ProceedsFromSaleOfLandHeldforinvestment_019ffc7a-0dd6-70e9-b238-cf4f148307ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_ReceiptsFromTenantsForReserves_019ffc7a-0dd6-7714-a316-410102289fd2" xlink:href="good-20260930.xsd#good_ReceiptsFromTenantsForReserves"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ffc7a-0dd6-75c1-b33b-f2eab94a1b7f" xlink:to="loc_good_ReceiptsFromTenantsForReserves_019ffc7a-0dd6-7714-a316-410102289fd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_PaymentsToTenantsFromReserves_019ffc7a-0dd6-73ca-ba02-2c5a6b894065" xlink:href="good-20260930.xsd#good_PaymentsToTenantsFromReserves"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ffc7a-0dd6-75c1-b33b-f2eab94a1b7f" xlink:to="loc_good_PaymentsToTenantsFromReserves_019ffc7a-0dd6-73ca-ba02-2c5a6b894065" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireRealEstateHeldForInvestment_019ffc7a-0dd6-7855-b153-897daf214328" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireRealEstateHeldForInvestment"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ffc7a-0dd6-75c1-b33b-f2eab94a1b7f" xlink:to="loc_us-gaap_PaymentsToAcquireRealEstateHeldForInvestment_019ffc7a-0dd6-7855-b153-897daf214328" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_ProceedsFromDepositsAppliedAgainstAcquisitionOfRealEstateInvestments_019ffc7a-0dd6-7cef-95b9-1c95c8426a63" xlink:href="good-20260930.xsd#good_ProceedsFromDepositsAppliedAgainstAcquisitionOfRealEstateInvestments"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ffc7a-0dd6-75c1-b33b-f2eab94a1b7f" xlink:to="loc_good_ProceedsFromDepositsAppliedAgainstAcquisitionOfRealEstateInvestments_019ffc7a-0dd6-7cef-95b9-1c95c8426a63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" 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_ProfitLoss_019ffc7a-0dd6-7aca-8205-5301e3c2c7f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_us-gaap_ProfitLoss_019ffc7a-0dd6-7aca-8205-5301e3c2c7f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019ffc7a-0dd6-716f-bff1-bb49074b3d6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_us-gaap_DepreciationAndAmortization_019ffc7a-0dd6-716f-bff1-bb49074b3d6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019ffc7a-0dd6-71af-94cf-6de8abab850b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_us-gaap_AssetImpairmentCharges_019ffc7a-0dd6-71af-94cf-6de8abab850b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_019ffc7a-0dd6-7258-95bc-8262d7b10e7a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfProperties"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_019ffc7a-0dd6-7258-95bc-8262d7b10e7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019ffc7a-0dd6-7a28-b602-f94dffc58ae5" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019ffc7a-0dd6-7a28-b602-f94dffc58ae5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_AmortizationOfDeferredRentAssetAndLiabilityNet_019ffc7a-0dd6-7a52-ac48-6151329405b9" xlink:href="good-20260930.xsd#good_AmortizationOfDeferredRentAssetAndLiabilityNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_good_AmortizationOfDeferredRentAssetAndLiabilityNet_019ffc7a-0dd6-7a52-ac48-6151329405b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StraightLineRent_019ffc7a-0dd6-7c3c-87c4-e8cc8c43327e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StraightLineRent"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_us-gaap_StraightLineRent_019ffc7a-0dd6-7c3c-87c4-e8cc8c43327e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_SalesTypeLeaseReceivableOperatingActivity_019ffc7a-0dd6-7736-8a2b-5e3840f135ec" xlink:href="good-20260930.xsd#good_SalesTypeLeaseReceivableOperatingActivity"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_good_SalesTypeLeaseReceivableOperatingActivity_019ffc7a-0dd6-7736-8a2b-5e3840f135ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_019ffc7a-0dd6-79f1-9204-118d6056ace6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_019ffc7a-0dd6-79f1-9204-118d6056ace6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_AssetRetirementObligationExpense_019ffc7a-0dd6-753d-b12b-b1b528a46902" xlink:href="good-20260930.xsd#good_AssetRetirementObligationExpense"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_good_AssetRetirementObligationExpense_019ffc7a-0dd6-753d-b12b-b1b528a46902" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_OperatingLeaseRightOfUseAssetAndLeaseLiabilityAmortization_019ffc7a-0dd6-7b3d-a248-c950c59f0dbe" xlink:href="good-20260930.xsd#good_OperatingLeaseRightOfUseAssetAndLeaseLiabilityAmortization"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_good_OperatingLeaseRightOfUseAssetAndLeaseLiabilityAmortization_019ffc7a-0dd6-7b3d-a248-c950c59f0dbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_AmortizationOfRightOfUseAssetFinanceLeaseLiabilitiesNet_019ffc7a-0dd6-762a-ace1-8a1f3c4d81f3" xlink:href="good-20260930.xsd#good_AmortizationOfRightOfUseAssetFinanceLeaseLiabilitiesNet"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_good_AmortizationOfRightOfUseAssetFinanceLeaseLiabilitiesNet_019ffc7a-0dd6-762a-ace1-8a1f3c4d81f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019ffc7a-0dd6-7b06-876a-8313cadd7829" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019ffc7a-0dd6-7b06-876a-8313cadd7829" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019ffc7a-0dd6-7aeb-b0dd-d519e69a662c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019ffc7a-0dd6-7aeb-b0dd-d519e69a662c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesDueToAdviserAndAdministrator_019ffc7a-0dd6-7e7a-907b-e3a1e87b1766" xlink:href="good-20260930.xsd#good_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesDueToAdviserAndAdministrator"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_good_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesDueToAdviserAndAdministrator_019ffc7a-0dd6-7e7a-907b-e3a1e87b1766" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019ffc7a-0dd6-7809-a04e-32f0834b48f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019ffc7a-0dd6-7809-a04e-32f0834b48f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForCommissions_019ffc7a-0dd6-74a2-b4f2-56d189c6604f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForCommissions"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-726c-9ddb-008375b8545b" xlink:to="loc_us-gaap_PaymentsForCommissions_019ffc7a-0dd6-74a2-b4f2-56d189c6604f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019ffc7a-0dd6-7a40-bf9d-eb33ac56aea3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ffc7a-0dd6-7ad4-8d41-cb3b6d6e5ffb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019ffc7a-0dd6-7a40-bf9d-eb33ac56aea3" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ffc7a-0dd6-7ad4-8d41-cb3b6d6e5ffb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019ffc7a-0dd6-76ff-98de-6e1579dbf52f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019ffc7a-0dd6-7a40-bf9d-eb33ac56aea3" xlink:to="loc_us-gaap_RestrictedCash_019ffc7a-0dd6-76ff-98de-6e1579dbf52f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ffc7a-0dd6-76ee-b6d5-298675e4e942" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-75d8-bf45-1aa7d9e5c5ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ffc7a-0dd6-76ee-b6d5-298675e4e942" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ffc7a-0dd6-75d8-bf45-1aa7d9e5c5ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ffc7a-0dd6-7950-bb5a-748ca17285be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ffc7a-0dd6-76ee-b6d5-298675e4e942" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ffc7a-0dd6-7950-bb5a-748ca17285be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-714a-be29-56b317380edc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ffc7a-0dd6-76ee-b6d5-298675e4e942" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ffc7a-0dd6-714a-be29-56b317380edc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsScheduleofComponentsofInvestmentsinRealEstateDetails" xlink:type="simple" xlink:href="good-20260930.xsd#RealEstateandIntangibleAssetsScheduleofComponentsofInvestmentsinRealEstateDetails"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsScheduleofComponentsofInvestmentsinRealEstateDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_019ffc7a-0dd6-74d0-a111-e9a3c8c4ea8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_019ffc7a-0dd6-7c52-b36b-0c6a208078fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Land"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_019ffc7a-0dd6-74d0-a111-e9a3c8c4ea8f" xlink:to="loc_us-gaap_Land_019ffc7a-0dd6-7c52-b36b-0c6a208078fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_019ffc7a-0dd6-7c4f-aef7-2320ff8de9ad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentBuildingAndBuildingImprovements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_019ffc7a-0dd6-74d0-a111-e9a3c8c4ea8f" xlink:to="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_019ffc7a-0dd6-7c4f-aef7-2320ff8de9ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TenantImprovements_019ffc7a-0dd6-7baf-8c46-8ac9140984f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TenantImprovements"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_019ffc7a-0dd6-74d0-a111-e9a3c8c4ea8f" xlink:to="loc_us-gaap_TenantImprovements_019ffc7a-0dd6-7baf-8c46-8ac9140984f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019ffc7a-0dd6-7cea-843d-d5433fd1d194" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_019ffc7a-0dd6-74d0-a111-e9a3c8c4ea8f" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019ffc7a-0dd6-7cea-843d-d5433fd1d194" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsScheduleofFairValueofAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="good-20260930.xsd#RealEstateandIntangibleAssetsScheduleofFairValueofAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsScheduleofFairValueofAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_good_PurchasePriceOfAcquiredProperty_019ffc7a-0dd7-7da4-9927-19ab1c83d913" xlink:href="good-20260930.xsd#good_PurchasePriceOfAcquiredProperty"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOfAssetsAcquired_019ffc7a-0dd7-7e74-bfae-e57690c72ce2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueOfAssetsAcquired"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_PurchasePriceOfAcquiredProperty_019ffc7a-0dd7-7da4-9927-19ab1c83d913" xlink:to="loc_us-gaap_FairValueOfAssetsAcquired_019ffc7a-0dd7-7e74-bfae-e57690c72ce2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAssumed1_019ffc7a-0dd7-7146-86b9-afc581d98bc3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAssumed1"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_PurchasePriceOfAcquiredProperty_019ffc7a-0dd7-7da4-9927-19ab1c83d913" xlink:to="loc_us-gaap_LiabilitiesAssumed1_019ffc7a-0dd7-7146-86b9-afc581d98bc3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsScheduleofAllocationofLeaseRevenueDetails" xlink:type="simple" xlink:href="good-20260930.xsd#RealEstateandIntangibleAssetsScheduleofAllocationofLeaseRevenueDetails"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsScheduleofAllocationofLeaseRevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_good_LeaseIncomeNetChangeValue_019ffc7a-0dd7-7c64-b9b3-c8dc7758cd58" xlink:href="good-20260930.xsd#good_LeaseIncomeNetChangeValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_OperatingLeaseLeaseIncomeNetChangeValue_019ffc7a-0dd7-7e58-9f8f-fed58bce38eb" xlink:href="good-20260930.xsd#good_OperatingLeaseLeaseIncomeNetChangeValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_LeaseIncomeNetChangeValue_019ffc7a-0dd7-7c64-b9b3-c8dc7758cd58" xlink:to="loc_good_OperatingLeaseLeaseIncomeNetChangeValue_019ffc7a-0dd7-7e58-9f8f-fed58bce38eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_VariableLeaseIncomeNetChangeValue_019ffc7a-0dd7-7222-affb-a8165d63397d" xlink:href="good-20260930.xsd#good_VariableLeaseIncomeNetChangeValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_LeaseIncomeNetChangeValue_019ffc7a-0dd7-7c64-b9b3-c8dc7758cd58" xlink:to="loc_good_VariableLeaseIncomeNetChangeValue_019ffc7a-0dd7-7222-affb-a8165d63397d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseIncome_019ffc7a-0dd7-716e-8bb4-0336ab4e9167" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LeaseIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLeaseIncomeLeasePayments_019ffc7a-0dd7-7213-ba84-a5f7df7af94e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLeaseIncomeLeasePayments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseIncome_019ffc7a-0dd7-716e-8bb4-0336ab4e9167" xlink:to="loc_us-gaap_OperatingLeaseLeaseIncomeLeasePayments_019ffc7a-0dd7-7213-ba84-a5f7df7af94e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseVariableLeaseIncome_019ffc7a-0dd7-7748-b498-2e10211c67f6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseVariableLeaseIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseIncome_019ffc7a-0dd7-716e-8bb4-0336ab4e9167" xlink:to="loc_us-gaap_OperatingLeaseVariableLeaseIncome_019ffc7a-0dd7-7748-b498-2e10211c67f6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesScheduleofComponentsofOperatingIncomefromRealEstateandRelatedAssetsDisposedDetails" xlink:type="simple" xlink:href="good-20260930.xsd#RealEstateDispositionsHeldforSaleandImpairmentChargesScheduleofComponentsofOperatingIncomefromRealEstateandRelatedAssetsDisposedDetails"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesScheduleofComponentsofOperatingIncomefromRealEstateandRelatedAssetsDisposedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_019ffc7a-0dd7-7acd-8ec8-042b03cd970b" xlink:href="good-20260930.xsd#good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_019ffc7a-0dd7-7d68-965d-d50612b3b88b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_019ffc7a-0dd7-7acd-8ec8-042b03cd970b" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_019ffc7a-0dd7-7d68-965d-d50612b3b88b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_019ffc7a-0dd7-7b9b-9797-d0ca084e3e65" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_019ffc7a-0dd7-7acd-8ec8-042b03cd970b" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_019ffc7a-0dd7-7b9b-9797-d0ca084e3e65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_019ffc7a-0dd7-7b49-9b13-627aa07465e1" xlink:href="good-20260930.xsd#good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_019ffc7a-0dd7-7acd-8ec8-042b03cd970b" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_019ffc7a-0dd7-7b49-9b13-627aa07465e1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesScheduleofComponentsofAssetsandLiabilitiesHeldforSaleDetails" xlink:type="simple" xlink:href="good-20260930.xsd#RealEstateDispositionsHeldforSaleandImpairmentChargesScheduleofComponentsofAssetsandLiabilitiesHeldforSaleDetails"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesScheduleofComponentsofAssetsandLiabilitiesHeldforSaleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_019ffc7a-0dd7-7f2b-86c8-e14416220238" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_019ffc7a-0dd7-7f6f-beb2-0ebb73920308" xlink:href="good-20260930.xsd#good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_019ffc7a-0dd7-7f2b-86c8-e14416220238" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_019ffc7a-0dd7-7f6f-beb2-0ebb73920308" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_019ffc7a-0dd7-70e3-b591-acd447291ad6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_019ffc7a-0dd7-7f2b-86c8-e14416220238" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_019ffc7a-0dd7-70e3-b591-acd447291ad6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_019ffc7a-0dd7-7b68-8305-8cde9267f050" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationLiabilitiesDeferredRent_019ffc7a-0dd7-730c-8130-2bd1db2c8a2b" xlink:href="good-20260930.xsd#good_DisposalGroupIncludingDiscontinuedOperationLiabilitiesDeferredRent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_019ffc7a-0dd7-7b68-8305-8cde9267f050" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationLiabilitiesDeferredRent_019ffc7a-0dd7-730c-8130-2bd1db2c8a2b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofCompanysMortgageNotesPayableandCreditFacilityDetails" xlink:type="simple" xlink:href="good-20260930.xsd#MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofCompanysMortgageNotesPayableandCreditFacilityDetails"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofCompanysMortgageNotesPayableandCreditFacilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019ffc7a-0dd7-70ea-a101-ad5231540a14" 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_019ffc7a-0dd7-741c-8f0c-d0992503a921" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019ffc7a-0dd7-70ea-a101-ad5231540a14" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019ffc7a-0dd7-741c-8f0c-d0992503a921" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_019ffc7a-0dd7-7797-8eda-3c1caa2675d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019ffc7a-0dd7-70ea-a101-ad5231540a14" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_019ffc7a-0dd7-7797-8eda-3c1caa2675d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019ffc7a-0dd7-7a53-bc61-51fd24106e45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019ffc7a-0dd7-70ea-a101-ad5231540a14" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019ffc7a-0dd7-7a53-bc61-51fd24106e45" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofPrincipalPaymentsofMortgageNotesPayableDetails" xlink:type="simple" xlink:href="good-20260930.xsd#MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofPrincipalPaymentsofMortgageNotesPayableDetails"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofPrincipalPaymentsofMortgageNotesPayableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019ffc7a-0dd7-7adb-b8b2-c4aec9204675" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_019ffc7a-0dd7-79bb-8f74-0a5fca335be2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ffc7a-0dd7-7adb-b8b2-c4aec9204675" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_019ffc7a-0dd7-79bb-8f74-0a5fca335be2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019ffc7a-0dd7-73d6-918c-d8e133e4cc4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ffc7a-0dd7-7adb-b8b2-c4aec9204675" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019ffc7a-0dd7-73d6-918c-d8e133e4cc4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019ffc7a-0dd7-723a-8fb7-8d26c6b3d7dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ffc7a-0dd7-7adb-b8b2-c4aec9204675" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019ffc7a-0dd7-723a-8fb7-8d26c6b3d7dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019ffc7a-0dd7-7d9e-aea8-f0b89efccd08" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ffc7a-0dd7-7adb-b8b2-c4aec9204675" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019ffc7a-0dd7-7d9e-aea8-f0b89efccd08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019ffc7a-0dd7-7ecb-bf09-a4537fa1b9af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ffc7a-0dd7-7adb-b8b2-c4aec9204675" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019ffc7a-0dd7-7ecb-bf09-a4537fa1b9af" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_019ffc7a-0dd7-72aa-965b-01bb0be4316d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ffc7a-0dd7-7adb-b8b2-c4aec9204675" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_019ffc7a-0dd7-72aa-965b-01bb0be4316d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_019ffc7a-0dd7-7676-aae2-b38b6bba3482" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_019ffc7a-0dd7-7adb-b8b2-c4aec9204675" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_019ffc7a-0dd7-7676-aae2-b38b6bba3482" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofInformationRegardingDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="good-20260930.xsd#MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofInformationRegardingDerivativeInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofInformationRegardingDerivativeInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019ffc7a-0dd7-731f-bc24-445eab64e5b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019ffc7a-0dd7-75f9-88bb-351d14419a95" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019ffc7a-0dd7-731f-bc24-445eab64e5b8" xlink:to="loc_us-gaap_DerivativeAssets_019ffc7a-0dd7-75f9-88bb-351d14419a95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019ffc7a-0dd7-71fb-870a-56cc6fa01123" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_019ffc7a-0dd7-731f-bc24-445eab64e5b8" xlink:to="loc_us-gaap_DerivativeLiabilities_019ffc7a-0dd7-71fb-870a-56cc6fa01123" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesScheduleofFutureMinimumRentalPaymentsDueDetails" xlink:type="simple" xlink:href="good-20260930.xsd#CommitmentsandContingenciesScheduleofFutureMinimumRentalPaymentsDueDetails"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesScheduleofFutureMinimumRentalPaymentsDueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7e23-a996-66f445fcc438" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019ffc7a-0dd7-7831-b45d-16bfdc1a9c3b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7e23-a996-66f445fcc438" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019ffc7a-0dd7-7831-b45d-16bfdc1a9c3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019ffc7a-0dd7-7ae9-90e4-9c748dacf5e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7e23-a996-66f445fcc438" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019ffc7a-0dd7-7ae9-90e4-9c748dacf5e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_019ffc7a-0dd7-7655-a969-6dd5c7164dfb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7e23-a996-66f445fcc438" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_019ffc7a-0dd7-7655-a969-6dd5c7164dfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019ffc7a-0dd7-79be-9405-571eb16e53a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7e23-a996-66f445fcc438" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019ffc7a-0dd7-79be-9405-571eb16e53a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019ffc7a-0dd7-7f48-9f07-3f6b61e415bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7e23-a996-66f445fcc438" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019ffc7a-0dd7-7f48-9f07-3f6b61e415bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019ffc7a-0dd7-7e04-97c8-0d5c7d1c2306" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7e23-a996-66f445fcc438" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019ffc7a-0dd7-7e04-97c8-0d5c7d1c2306" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_019ffc7a-0dd7-7132-80b8-15e8d7d72d85" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7e23-a996-66f445fcc438" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_019ffc7a-0dd7-7132-80b8-15e8d7d72d85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ffc7a-0dd7-798a-95a3-96ff6b27bed0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019ffc7a-0dd7-730f-a5a6-861b761f204a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ffc7a-0dd7-798a-95a3-96ff6b27bed0" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019ffc7a-0dd7-730f-a5a6-861b761f204a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019ffc7a-0dd7-7727-8d08-c1f7f94b1470" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ffc7a-0dd7-798a-95a3-96ff6b27bed0" xlink:to="loc_us-gaap_OperatingLeaseLiability_019ffc7a-0dd7-7727-8d08-c1f7f94b1470" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesScheduleofFutureMinimumRentalPaymentsDueDetails_1" xlink:type="simple" xlink:href="good-20260930.xsd#CommitmentsandContingenciesScheduleofFutureMinimumRentalPaymentsDueDetails_1"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesScheduleofFutureMinimumRentalPaymentsDueDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7952-bce9-b338b04d9c9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019ffc7a-0dd7-7b42-a1bc-7539c8754cbf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7952-bce9-b338b04d9c9e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019ffc7a-0dd7-7b42-a1bc-7539c8754cbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019ffc7a-0dd7-7d4c-a1bb-44e1ab228237" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7952-bce9-b338b04d9c9e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019ffc7a-0dd7-7d4c-a1bb-44e1ab228237" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019ffc7a-0dd7-7182-9471-0705a515b3bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7952-bce9-b338b04d9c9e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019ffc7a-0dd7-7182-9471-0705a515b3bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019ffc7a-0dd7-7f9e-a236-f87f655f2ca4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7952-bce9-b338b04d9c9e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019ffc7a-0dd7-7f9e-a236-f87f655f2ca4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019ffc7a-0dd7-7135-872d-1800c7cb5ded" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7952-bce9-b338b04d9c9e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019ffc7a-0dd7-7135-872d-1800c7cb5ded" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019ffc7a-0dd7-7444-bdba-c3edecbddf56" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7952-bce9-b338b04d9c9e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019ffc7a-0dd7-7444-bdba-c3edecbddf56" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019ffc7a-0dd7-7f98-b205-93f4219c1fc7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019ffc7a-0dd7-7952-bce9-b338b04d9c9e" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019ffc7a-0dd7-7f98-b205-93f4219c1fc7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019ffc7a-0dd7-77a4-a4b8-094a8367b6bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_019ffc7a-0dd7-73ae-b518-af7704e5058e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019ffc7a-0dd7-77a4-a4b8-094a8367b6bc" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_019ffc7a-0dd7-73ae-b518-af7704e5058e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_019ffc7a-0dd7-71da-b00e-66521b601515" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019ffc7a-0dd7-77a4-a4b8-094a8367b6bc" xlink:to="loc_us-gaap_FinanceLeaseLiability_019ffc7a-0dd7-71da-b00e-66521b601515" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
