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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e2d00-8f4b-76b2-a30d-20b6446a3c7b,g:e9fdca56-205e-412c-a50a-d4ec36360d6a-->
<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-20260630.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_RealEstateInvestmentPropertyNet_019e2d00-908e-7e3a-8624-5ebb46b3f515" 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_019e2d00-908e-710f-a462-e90a91711db6" 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_019e2d00-908e-7e3a-8624-5ebb46b3f515" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019e2d00-908e-710f-a462-e90a91711db6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019e2d00-908e-7fdd-9e60-2cb4113abb79" 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_019e2d00-908e-7e3a-8624-5ebb46b3f515" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019e2d00-908e-7fdd-9e60-2cb4113abb79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e2d00-908e-74c2-becc-41332ffaa2fb" 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_019e2d00-908e-725e-b578-053744e0a35c" 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_019e2d00-908e-74c2-becc-41332ffaa2fb" xlink:to="loc_us-gaap_SecuredLongTermDebt_019e2d00-908e-725e-b578-053744e0a35c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019e2d00-908e-72b1-8de7-408c11988fdc" 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_019e2d00-908e-74c2-becc-41332ffaa2fb" xlink:to="loc_us-gaap_LineOfCredit_019e2d00-908e-72b1-8de7-408c11988fdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayable_019e2d00-908e-75c7-af6e-f5ceb9d19425" 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_019e2d00-908e-74c2-becc-41332ffaa2fb" xlink:to="loc_us-gaap_LoansPayable_019e2d00-908e-75c7-af6e-f5ceb9d19425" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvanceRent_019e2d00-908e-7231-9030-636b823ef5f0" 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_019e2d00-908e-74c2-becc-41332ffaa2fb" xlink:to="loc_us-gaap_AdvanceRent_019e2d00-908e-7231-9030-636b823ef5f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019e2d00-908e-77f3-9afb-8512e97f62c5" 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_019e2d00-908e-74c2-becc-41332ffaa2fb" xlink:to="loc_us-gaap_OperatingLeaseLiability_019e2d00-908e-77f3-9afb-8512e97f62c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligation_019e2d00-908e-769b-bbd7-d69e91d9ee55" 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_019e2d00-908e-74c2-becc-41332ffaa2fb" xlink:to="loc_us-gaap_AssetRetirementObligation_019e2d00-908e-769b-bbd7-d69e91d9ee55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_019e2d00-908e-71e9-8be1-1d57706e9724" 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_019e2d00-908e-74c2-becc-41332ffaa2fb" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_019e2d00-908e-71e9-8be1-1d57706e9724" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019e2d00-908e-7f14-9d5b-d176b5c3a989" 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_019e2d00-908e-74c2-becc-41332ffaa2fb" xlink:to="loc_us-gaap_OtherLiabilities_019e2d00-908e-7f14-9d5b-d176b5c3a989" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorLongTermNotes_019e2d00-908e-753e-b1b6-86e2dbab9856" 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_019e2d00-908e-74c2-becc-41332ffaa2fb" xlink:to="loc_us-gaap_SeniorLongTermNotes_019e2d00-908e-753e-b1b6-86e2dbab9856" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_019e2d00-908e-7a54-8d78-2059dcb5a9a5" 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_019e2d00-908e-74c2-becc-41332ffaa2fb" xlink:to="loc_us-gaap_FinanceLeaseLiability_019e2d00-908e-7a54-8d78-2059dcb5a9a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_019e2d00-908e-7f76-a127-126b0d673268" 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_019e2d00-908e-74c2-becc-41332ffaa2fb" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_019e2d00-908e-7f76-a127-126b0d673268" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e2d00-908e-79c3-8671-999e7e7c80d4" 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_019e2d00-908e-7ddc-94af-2d37e1b71105" xlink:href="good-20260630.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_019e2d00-908e-79c3-8671-999e7e7c80d4" xlink:to="loc_good_SeniorCommonStockValueIssued_019e2d00-908e-7ddc-94af-2d37e1b71105" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e2d00-908e-7665-b6d0-05cbcca2c0c4" 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_019e2d00-908e-79c3-8671-999e7e7c80d4" xlink:to="loc_us-gaap_CommonStockValue_019e2d00-908e-7665-b6d0-05cbcca2c0c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019e2d00-908e-7419-bd84-ee4492b92655" 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_019e2d00-908e-79c3-8671-999e7e7c80d4" xlink:to="loc_us-gaap_PreferredStockValue_019e2d00-908e-7419-bd84-ee4492b92655" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019e2d00-908e-7b4e-a1d6-e20f6e26f9fe" 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_019e2d00-908e-79c3-8671-999e7e7c80d4" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019e2d00-908e-7b4e-a1d6-e20f6e26f9fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e2d00-908e-7375-bf92-8f3a0c9ab910" 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_019e2d00-908e-79c3-8671-999e7e7c80d4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019e2d00-908e-7375-bf92-8f3a0c9ab910" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncome_019e2d00-908e-7823-9e3f-568cf0cca116" 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_019e2d00-908e-79c3-8671-999e7e7c80d4" xlink:to="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncome_019e2d00-908e-7823-9e3f-568cf0cca116" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e2d00-908e-77f0-a1b3-6422adf68b80" 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_019e2d00-908e-72d2-a482-f48e741f6079" 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_019e2d00-908e-77f0-a1b3-6422adf68b80" xlink:to="loc_us-gaap_Liabilities_019e2d00-908e-72d2-a482-f48e741f6079" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount_019e2d00-908e-7e31-b256-8235d6e47c09" 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_019e2d00-908e-77f0-a1b3-6422adf68b80" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount_019e2d00-908e-7e31-b256-8235d6e47c09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e2d00-908e-7a81-965c-ea6121b2d464" 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_019e2d00-908e-77f0-a1b3-6422adf68b80" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e2d00-908e-7a81-965c-ea6121b2d464" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e2d00-908e-7b2d-b9ba-1e601757a456" 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_019e2d00-908e-77f0-a1b3-6422adf68b80" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e2d00-908e-7b2d-b9ba-1e601757a456" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e2d00-908e-7ea1-ae51-50c04d928a46" 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_019e2d00-908e-78b1-8170-282846ec9e27" 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_019e2d00-908e-7ea1-ae51-50c04d928a46" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyNet_019e2d00-908e-78b1-8170-282846ec9e27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e2d00-908e-7f00-b135-c43a2a896d32" 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_019e2d00-908e-7ea1-ae51-50c04d928a46" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e2d00-908e-7f00-b135-c43a2a896d32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_019e2d00-908e-74b1-afbd-4688056031f3" 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_019e2d00-908e-7ea1-ae51-50c04d928a46" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_019e2d00-908e-74b1-afbd-4688056031f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e2d00-908e-77d9-b6fc-4439e00b5b91" 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_019e2d00-908e-7ea1-ae51-50c04d928a46" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e2d00-908e-77d9-b6fc-4439e00b5b91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_019e2d00-908e-7c8b-8fe6-589f5e4c27f9" 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_019e2d00-908e-7ea1-ae51-50c04d928a46" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_019e2d00-908e-7c8b-8fe6-589f5e4c27f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EscrowDeposit_019e2d00-908e-7d54-98ef-10af4582e574" 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_019e2d00-908e-7ea1-ae51-50c04d928a46" xlink:to="loc_us-gaap_EscrowDeposit_019e2d00-908e-7d54-98ef-10af4582e574" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e2d00-908e-7b73-b63f-d2df8a0ee097" 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_019e2d00-908e-7ea1-ae51-50c04d928a46" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e2d00-908e-7b73-b63f-d2df8a0ee097" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRentReceivablesNet_019e2d00-908e-7fa1-b08d-202292c324a1" 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_019e2d00-908e-7ea1-ae51-50c04d928a46" xlink:to="loc_us-gaap_DeferredRentReceivablesNet_019e2d00-908e-7fa1-b08d-202292c324a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019e2d00-908e-7a28-b8d3-5f89ff0c80f2" 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_019e2d00-908e-7ea1-ae51-50c04d928a46" xlink:to="loc_us-gaap_OtherAssets_019e2d00-908e-7a28-b8d3-5f89ff0c80f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_019e2d00-908e-7773-b3ef-ff8186679d52" 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_019e2d00-908e-7ea1-ae51-50c04d928a46" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_019e2d00-908e-7773-b3ef-ff8186679d52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019e2d00-908e-72da-9cdb-bb7b3081a76d" 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_019e2d00-908e-7a0c-be55-baf55744d318" 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_019e2d00-908e-72da-9cdb-bb7b3081a76d" xlink:to="loc_us-gaap_StockholdersEquity_019e2d00-908e-7a0c-be55-baf55744d318" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019e2d00-908e-738a-b47c-84ed611fdccf" 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_019e2d00-908e-72da-9cdb-bb7b3081a76d" xlink:to="loc_us-gaap_MinorityInterest_019e2d00-908e-738a-b47c-84ed611fdccf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="simple" xlink:href="good-20260630.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_OtherComprehensiveIncomeLossNetOfTax_019e2d00-908e-76ab-8754-f13bfe2672e2" 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_019e2d00-908e-726a-9d34-af1ba5a215d3" 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_019e2d00-908e-76ab-8754-f13bfe2672e2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_019e2d00-908e-726a-9d34-af1ba5a215d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019e2d00-908e-715c-a599-f36cbfbeb034" 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_019e2d00-908e-7c0c-b41b-6fa7c4c81f75" 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_019e2d00-908e-715c-a599-f36cbfbeb034" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_019e2d00-908e-7c0c-b41b-6fa7c4c81f75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019e2d00-908e-7d90-be26-6eab208f578c" 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_019e2d00-908e-715c-a599-f36cbfbeb034" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019e2d00-908e-7d90-be26-6eab208f578c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019e2d00-908e-7f3a-bba5-c348c550e0bf" 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_019e2d00-908e-715c-a599-f36cbfbeb034" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019e2d00-908e-7f3a-bba5-c348c550e0bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e2d00-908e-71f6-9265-ba45073bc483" 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_019e2d00-908e-75c3-b171-e23a9acdb924" 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_019e2d00-908e-71f6-9265-ba45073bc483" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019e2d00-908e-75c3-b171-e23a9acdb924" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019e2d00-908e-7d29-bcbb-abc7bcf2ed93" 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_019e2d00-908e-71f6-9265-ba45073bc483" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019e2d00-908e-7d29-bcbb-abc7bcf2ed93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e2d00-908e-745e-beb5-db39bbbbb1e5" 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_019e2d00-908e-7058-8687-683ebc0ec96e" xlink:href="good-20260630.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_019e2d00-908e-745e-beb5-db39bbbbb1e5" xlink:to="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019e2d00-908e-7058-8687-683ebc0ec96e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_IncentiveFeeCredit_019e2d00-908e-720e-a5ac-d47bcffef647" xlink:href="good-20260630.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_019e2d00-908e-745e-beb5-db39bbbbb1e5" xlink:to="loc_good_IncentiveFeeCredit_019e2d00-908e-720e-a5ac-d47bcffef647" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e2d00-908e-702a-a4a6-8a1af95a6a7c" 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_019e2d00-908e-7234-a4b5-eaf168d391bb" 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_019e2d00-908e-702a-a4a6-8a1af95a6a7c" xlink:to="loc_us-gaap_Revenues_019e2d00-908e-7234-a4b5-eaf168d391bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e2d00-908e-724e-a850-8741d03c5bd6" 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_019e2d00-908e-702a-a4a6-8a1af95a6a7c" xlink:to="loc_us-gaap_OperatingExpenses_019e2d00-908e-724e-a850-8741d03c5bd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019e2d00-908e-7ab8-b5a4-f7bfbcde84ac" 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_019e2d00-908e-702a-a4a6-8a1af95a6a7c" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019e2d00-908e-7ab8-b5a4-f7bfbcde84ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019e2d00-908e-76a4-a9b1-1e2404d0f433" xlink:href="good-20260630.xsd#good_OperatingExpensesBeforeIncentiveFeeCredit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_019e2d00-908e-7baa-882f-64c7ea2cbb09" 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_019e2d00-908e-76a4-a9b1-1e2404d0f433" xlink:to="loc_us-gaap_ManagementFeeExpense_019e2d00-908e-7baa-882f-64c7ea2cbb09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_PropertyOperatingExpenses_019e2d00-908e-765e-a535-5d198906d5a8" xlink:href="good-20260630.xsd#good_PropertyOperatingExpenses"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_019e2d00-908e-76a4-a9b1-1e2404d0f433" xlink:to="loc_good_PropertyOperatingExpenses_019e2d00-908e-765e-a535-5d198906d5a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdministrativeFeesExpense_019e2d00-908e-7e43-9ec1-6614bc1cf631" 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_019e2d00-908e-76a4-a9b1-1e2404d0f433" xlink:to="loc_us-gaap_AdministrativeFeesExpense_019e2d00-908e-7e43-9ec1-6614bc1cf631" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019e2d00-908e-7301-ad7a-1419e3352872" 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_019e2d00-908e-76a4-a9b1-1e2404d0f433" xlink:to="loc_us-gaap_DepreciationAndAmortization_019e2d00-908e-7301-ad7a-1419e3352872" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpense_019e2d00-908e-7875-ac13-872a3f4c25a9" 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_019e2d00-908e-76a4-a9b1-1e2404d0f433" xlink:to="loc_us-gaap_IncentiveFeeExpense_019e2d00-908e-7875-ac13-872a3f4c25a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e2d00-908e-7b77-9a1f-dbf7fa6db7d8" 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_019e2d00-908e-76a4-a9b1-1e2404d0f433" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e2d00-908e-7b77-9a1f-dbf7fa6db7d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019ef4f7-8470-7762-b642-ebc9775792da" 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_019e2d00-908e-76a4-a9b1-1e2404d0f433" xlink:to="loc_us-gaap_AssetImpairmentCharges_019ef4f7-8470-7762-b642-ebc9775792da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019e2d00-908e-71c6-974c-6b53a6b4bdb3" 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_019e2d00-908e-77d7-a5f4-7f64b2cad626" 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_019e2d00-908e-71c6-974c-6b53a6b4bdb3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019e2d00-908e-77d7-a5f4-7f64b2cad626" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019e2d00-908e-7bc1-9185-28f01d6fee3b" 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_019e2d00-908e-71c6-974c-6b53a6b4bdb3" xlink:to="loc_us-gaap_ProfitLoss_019e2d00-908e-7bc1-9185-28f01d6fee3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e2d00-908e-7768-8134-64991ccc2ca2" 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_019e2d00-908e-7314-9cb4-faea5eeef266" 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_019e2d00-908e-7768-8134-64991ccc2ca2" xlink:to="loc_us-gaap_ProfitLoss_019e2d00-908e-7314-9cb4-faea5eeef266" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019e2d00-908e-7a29-a576-a8f57ade18f3" 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_019e2d00-908e-7768-8134-64991ccc2ca2" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019e2d00-908e-7a29-a576-a8f57ade18f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e2d00-908e-7e91-96dd-9d1cff2a4203" 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_019e2d00-908e-7b57-ad64-c017a30bcc77" 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_019e2d00-908e-7e91-96dd-9d1cff2a4203" xlink:to="loc_us-gaap_NetIncomeLoss_019e2d00-908e-7b57-ad64-c017a30bcc77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockDividends_019e2d00-908e-78b1-b858-c7d81ccaf190" 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_019e2d00-908e-7e91-96dd-9d1cff2a4203" xlink:to="loc_us-gaap_RedeemablePreferredStockDividends_019e2d00-908e-78b1-b858-c7d81ccaf190" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_DistributionsAttributableToSeniorCommonStock_019e2d00-908e-71cb-a47a-7205d5f7dafb" xlink:href="good-20260630.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_019e2d00-908e-7e91-96dd-9d1cff2a4203" xlink:to="loc_good_DistributionsAttributableToSeniorCommonStock_019e2d00-908e-71cb-a47a-7205d5f7dafb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_GainLossOnExtinguishmentOfPreferredStock_019e2d00-908e-7322-b0d3-09bde739a2d4" xlink:href="good-20260630.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_019e2d00-908e-7e91-96dd-9d1cff2a4203" xlink:to="loc_good_GainLossOnExtinguishmentOfPreferredStock_019e2d00-908e-7322-b0d3-09bde739a2d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019e2d00-908e-7965-ad40-fd0b94fed9c6" 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_019e2d00-908e-72b1-afc3-80876147b646" 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_019e2d00-908e-7965-ad40-fd0b94fed9c6" xlink:to="loc_us-gaap_LeaseIncome_019e2d00-908e-72b1-afc3-80876147b646" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="good-20260630.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e2d00-908e-741c-9c32-dbe5984ad88d" 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_019e2d00-908e-7b5f-9fa2-b1f131225359" 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_019e2d00-908e-741c-9c32-dbe5984ad88d" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e2d00-908e-7b5f-9fa2-b1f131225359" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019e2d00-908e-788c-91ab-60d643641a9f" 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_019e2d00-908e-741c-9c32-dbe5984ad88d" xlink:to="loc_us-gaap_RestrictedCash_019e2d00-908e-788c-91ab-60d643641a9f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2d00-908e-7654-a491-166152d3bb2b" 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_019e2d00-908e-7989-8118-3ded37ec00ca" xlink:href="good-20260630.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_019e2d00-908e-7654-a491-166152d3bb2b" xlink:to="loc_good_PaymentsToAcquireRealEstateAndIntangibleAssets_019e2d00-908e-7989-8118-3ded37ec00ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_ImprovementsOfExistingRealEstate_019e2d00-908e-74e3-b9d6-726eb50912dc" xlink:href="good-20260630.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_019e2d00-908e-7654-a491-166152d3bb2b" xlink:to="loc_good_ImprovementsOfExistingRealEstate_019e2d00-908e-74e3-b9d6-726eb50912dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLandHeldforinvestment_019e2d00-908e-7a3a-8fb7-83b1721b817a" 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_019e2d00-908e-7654-a491-166152d3bb2b" xlink:to="loc_us-gaap_ProceedsFromSaleOfLandHeldforinvestment_019e2d00-908e-7a3a-8fb7-83b1721b817a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_ReceiptsFromTenantsForReserves_019e2d00-908e-7657-b0a4-54bb6b01e443" xlink:href="good-20260630.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_019e2d00-908e-7654-a491-166152d3bb2b" xlink:to="loc_good_ReceiptsFromTenantsForReserves_019e2d00-908e-7657-b0a4-54bb6b01e443" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_PaymentsToTenantsFromReserves_019e2d00-908e-7d12-9d9b-aa98ae2e4b84" xlink:href="good-20260630.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_019e2d00-908e-7654-a491-166152d3bb2b" xlink:to="loc_good_PaymentsToTenantsFromReserves_019e2d00-908e-7d12-9d9b-aa98ae2e4b84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireRealEstateHeldForInvestment_019e2d00-908e-783c-b3c4-2aaa6c5e5ab6" 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_019e2d00-908e-7654-a491-166152d3bb2b" xlink:to="loc_us-gaap_PaymentsToAcquireRealEstateHeldForInvestment_019e2d00-908e-783c-b3c4-2aaa6c5e5ab6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_ProceedsFromDepositsAppliedAgainstAcquisitionOfRealEstateInvestments_019f83f4-099e-7584-946e-5a6a7dd2287b" xlink:href="good-20260630.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_019e2d00-908e-7654-a491-166152d3bb2b" xlink:to="loc_good_ProceedsFromDepositsAppliedAgainstAcquisitionOfRealEstateInvestments_019f83f4-099e-7584-946e-5a6a7dd2287b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2d00-908e-7291-8601-081cfdda739b" 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_019e2d00-908e-7074-98be-ff7e9478a17e" 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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_us-gaap_ProfitLoss_019e2d00-908e-7074-98be-ff7e9478a17e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019e2d00-908e-7105-9656-6cba66aeb494" 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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_us-gaap_DepreciationAndAmortization_019e2d00-908e-7105-9656-6cba66aeb494" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019e2d00-908e-7ba3-898c-ac0cca670052" 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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_us-gaap_AssetImpairmentCharges_019e2d00-908e-7ba3-898c-ac0cca670052" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_019e2d00-908e-73c7-8230-c989dd9d3f27" 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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_019e2d00-908e-73c7-8230-c989dd9d3f27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_019e2d00-908e-72e2-8146-31ce91e5f542" 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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_019e2d00-908e-72e2-8146-31ce91e5f542" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_AmortizationOfDeferredRentAssetAndLiabilityNet_019e2d00-908e-7e78-8c13-4104d9ea4e75" xlink:href="good-20260630.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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_good_AmortizationOfDeferredRentAssetAndLiabilityNet_019e2d00-908e-7e78-8c13-4104d9ea4e75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StraightLineRent_019e2d00-908e-7d0c-a66d-1ed6116d8f82" 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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_us-gaap_StraightLineRent_019e2d00-908e-7d0c-a66d-1ed6116d8f82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_SalesTypeLeaseReceivableOperatingActivity_019e2d00-908e-794d-97c9-dca04757feba" xlink:href="good-20260630.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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_good_SalesTypeLeaseReceivableOperatingActivity_019e2d00-908e-794d-97c9-dca04757feba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_019e2d00-908e-7b03-a24b-71270d6d6d86" 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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_019e2d00-908e-7b03-a24b-71270d6d6d86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_AssetRetirementObligationExpense_019e2d00-908e-7417-a882-dad850cc4915" xlink:href="good-20260630.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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_good_AssetRetirementObligationExpense_019e2d00-908e-7417-a882-dad850cc4915" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_OperatingLeaseRightOfUseAssetAndLeaseLiabilityAmortization_019e2d00-908e-7288-9df5-6b8295b98069" xlink:href="good-20260630.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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_good_OperatingLeaseRightOfUseAssetAndLeaseLiabilityAmortization_019e2d00-908e-7288-9df5-6b8295b98069" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_AmortizationOfRightOfUseAssetFinanceLeaseLiabilitiesNet_019e2d00-908e-7f70-944e-14c81222d95e" xlink:href="good-20260630.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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_good_AmortizationOfRightOfUseAssetFinanceLeaseLiabilitiesNet_019e2d00-908e-7f70-944e-14c81222d95e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e2d00-908e-729c-807c-6f17bf3f62a3" 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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e2d00-908e-729c-807c-6f17bf3f62a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e2d00-908e-7720-8a1a-c5287cae3f28" 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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e2d00-908e-7720-8a1a-c5287cae3f28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesDueToAdviserAndAdministrator_019e2d00-908e-7833-b800-1bb5a2ce490d" xlink:href="good-20260630.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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_good_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesDueToAdviserAndAdministrator_019e2d00-908e-7833-b800-1bb5a2ce490d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019e2d00-908e-7c9c-8a47-d0f462dc7474" 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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019e2d00-908e-7c9c-8a47-d0f462dc7474" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForCommissions_019f83f3-b8c5-7a53-8ce3-e8e7b134e790" 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_019e2d00-908e-7291-8601-081cfdda739b" xlink:to="loc_us-gaap_PaymentsForCommissions_019f83f3-b8c5-7a53-8ce3-e8e7b134e790" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2d00-908e-7e50-b082-839001625d46" 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_019e2d00-908e-78af-84ca-24b7574adaa8" 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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e2d00-908e-78af-84ca-24b7574adaa8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_019e2d00-908e-7283-ac0e-aced8a12e9ce" 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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_019e2d00-908e-7283-ac0e-aced8a12e9ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_019e2d00-908e-712a-b597-3a607ec263d4" 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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_019e2d00-908e-712a-b597-3a607ec263d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_019e2d00-908e-7867-9d47-7471ac4a11a8" 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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_019e2d00-908e-7867-9d47-7471ac4a11a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_ReceiptsFromLendersForReservesHeldInEscrow_019e2d00-908e-70ec-8982-d5c8a0b121c1" xlink:href="good-20260630.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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_good_ReceiptsFromLendersForReservesHeldInEscrow_019e2d00-908e-70ec-8982-d5c8a0b121c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_PaymentsToLendersForReservesHeldInEscrow_019e2d00-908e-70e8-a37b-ab24ba96eb0f" xlink:href="good-20260630.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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_good_PaymentsToLendersForReservesHeldInEscrow_019e2d00-908e-70e8-a37b-ab24ba96eb0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_019e2d00-908e-7131-8d91-43c516438d7d" 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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_019e2d00-908e-7131-8d91-43c516438d7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_019e2d00-908e-7ca2-abcf-1d4a24ee3b62" 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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_019e2d00-908e-7ca2-abcf-1d4a24ee3b62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_019e2d00-908e-79c9-ae8a-a7b946df1fb7" 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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_019e2d00-908e-79c9-ae8a-a7b946df1fb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_019e2d00-908e-7771-bc1c-8bb762dda934" 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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfUnsecuredDebt_019e2d00-908e-7771-bc1c-8bb762dda934" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_IncreaseDecreaseInSecurityDeposit_019e2d00-908e-7e5c-9529-ff4bc4be2863" xlink:href="good-20260630.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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_good_IncreaseDecreaseInSecurityDeposit_019e2d00-908e-7e5c-9529-ff4bc4be2863" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_019f83f4-7f30-7f8e-9050-5048e5962f6d" 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_019e2d00-908e-7e50-b082-839001625d46" xlink:to="loc_us-gaap_PaymentsOfDividends_019f83f4-7f30-7f8e-9050-5048e5962f6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e2d00-908e-7001-9385-22e54c59b44a" 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_019e2d00-908e-7b2f-ae50-5f73eb04d0e2" 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_019e2d00-908e-7001-9385-22e54c59b44a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2d00-908e-7b2f-ae50-5f73eb04d0e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2d00-908e-7de4-94e3-8eba2f851a86" 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_019e2d00-908e-7001-9385-22e54c59b44a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2d00-908e-7de4-94e3-8eba2f851a86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2d00-908e-7f0a-8c6c-e08f4b55c9a8" 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_019e2d00-908e-7001-9385-22e54c59b44a" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2d00-908e-7f0a-8c6c-e08f4b55c9a8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsScheduleofComponentsofInvestmentsinRealEstateDetails" xlink:type="simple" xlink:href="good-20260630.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_019e2d00-9137-7e97-8eea-1829e67c0221" 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_019e2d00-9137-7b80-a8c2-f10fc0b6c3df" 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_019e2d00-9137-7e97-8eea-1829e67c0221" xlink:to="loc_us-gaap_Land_019e2d00-9137-7b80-a8c2-f10fc0b6c3df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_019e2d00-9137-7248-9f33-e72f20e24d50" 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_019e2d00-9137-7e97-8eea-1829e67c0221" xlink:to="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_019e2d00-9137-7248-9f33-e72f20e24d50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TenantImprovements_019e2d00-9137-7ddd-ad62-8c8df3c69870" 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_019e2d00-9137-7e97-8eea-1829e67c0221" xlink:to="loc_us-gaap_TenantImprovements_019e2d00-9137-7ddd-ad62-8c8df3c69870" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019e2d00-9137-729a-8e88-2b4fcb5375af" 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_019e2d00-9137-7e97-8eea-1829e67c0221" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019e2d00-9137-729a-8e88-2b4fcb5375af" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsScheduleofFairValueofAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="good-20260630.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_019e2d00-9137-7c56-8a21-494cfc23a1b8" xlink:href="good-20260630.xsd#good_PurchasePriceOfAcquiredProperty"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOfAssetsAcquired_019e2d00-9137-714b-b487-3c8f8a924cf8" 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_019e2d00-9137-7c56-8a21-494cfc23a1b8" xlink:to="loc_us-gaap_FairValueOfAssetsAcquired_019e2d00-9137-714b-b487-3c8f8a924cf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAssumed1_019e2d00-9137-7def-8c97-8d3f126410a6" 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_019e2d00-9137-7c56-8a21-494cfc23a1b8" xlink:to="loc_us-gaap_LiabilitiesAssumed1_019e2d00-9137-7def-8c97-8d3f126410a6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsScheduleofAllocationofLeaseRevenueDetails" xlink:type="simple" xlink:href="good-20260630.xsd#RealEstateandIntangibleAssetsScheduleofAllocationofLeaseRevenueDetails"/>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsScheduleofAllocationofLeaseRevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseIncome_019f952f-032d-75cd-b475-d5268b733a70" 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_019f952f-032d-7602-bd61-cd0ed8f173fe" 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_019f952f-032d-75cd-b475-d5268b733a70" xlink:to="loc_us-gaap_OperatingLeaseLeaseIncomeLeasePayments_019f952f-032d-7602-bd61-cd0ed8f173fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseVariableLeaseIncome_019f952f-032d-773e-a50c-ee617db99773" 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_019f952f-032d-75cd-b475-d5268b733a70" xlink:to="loc_us-gaap_OperatingLeaseVariableLeaseIncome_019f952f-032d-773e-a50c-ee617db99773" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_LeaseIncomeNetChangeValue_019e2d00-9137-73bf-84e5-cc68b789394a" xlink:href="good-20260630.xsd#good_LeaseIncomeNetChangeValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_OperatingLeaseLeaseIncomeNetChangeValue_019e2d00-9137-7014-877b-b2d0890e0e72" xlink:href="good-20260630.xsd#good_OperatingLeaseLeaseIncomeNetChangeValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_LeaseIncomeNetChangeValue_019e2d00-9137-73bf-84e5-cc68b789394a" xlink:to="loc_good_OperatingLeaseLeaseIncomeNetChangeValue_019e2d00-9137-7014-877b-b2d0890e0e72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_VariableLeaseIncomeNetChangeValue_019e2d00-9137-71a7-8e74-9943ad38b4ba" xlink:href="good-20260630.xsd#good_VariableLeaseIncomeNetChangeValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_LeaseIncomeNetChangeValue_019e2d00-9137-73bf-84e5-cc68b789394a" xlink:to="loc_good_VariableLeaseIncomeNetChangeValue_019e2d00-9137-71a7-8e74-9943ad38b4ba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesScheduleofComponentsofOperatingIncomefromRealEstateandRelatedAssetsDisposedDetails" xlink:type="simple" xlink:href="good-20260630.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_019ef51a-5e1d-77dc-8909-5ad4f2c609b3" xlink:href="good-20260630.xsd#good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_019ef51a-5e1d-73b6-811d-9a6337b4f5ab" 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_019ef51a-5e1d-77dc-8909-5ad4f2c609b3" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_019ef51a-5e1d-73b6-811d-9a6337b4f5ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_019ef51a-5e1d-7c12-9d89-5fa721d208e7" 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_019ef51a-5e1d-77dc-8909-5ad4f2c609b3" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_019ef51a-5e1d-7c12-9d89-5fa721d208e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_019ef51a-5e1d-7314-8aa5-b965a7647f97" xlink:href="good-20260630.xsd#good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_019ef51a-5e1d-77dc-8909-5ad4f2c609b3" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_019ef51a-5e1d-7314-8aa5-b965a7647f97" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesScheduleofComponentsofAssetsandLiabilitiesHeldforSaleDetails" xlink:type="simple" xlink:href="good-20260630.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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_019e2d00-9137-729b-aa44-c6c229487ff8" 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_019e2d00-9137-7ae6-bbf4-996f2d5d8d83" xlink:href="good-20260630.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_019e2d00-9137-729b-aa44-c6c229487ff8" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationLiabilitiesDeferredRent_019e2d00-9137-7ae6-bbf4-996f2d5d8d83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_019e2d00-9137-7a76-ae22-4e1c5f2e6ae8" 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_019e2d00-9137-7706-a3a0-b172d093316e" xlink:href="good-20260630.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_019e2d00-9137-7a76-ae22-4e1c5f2e6ae8" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_019e2d00-9137-7706-a3a0-b172d093316e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_019e2d00-9137-7699-981c-8597a4118a9a" 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_019e2d00-9137-7a76-ae22-4e1c5f2e6ae8" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_019e2d00-9137-7699-981c-8597a4118a9a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofCompanysMortgageNotesPayableandCreditFacilityDetails" xlink:type="simple" xlink:href="good-20260630.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_019e2d00-9137-7d91-916a-5ae8606a5f5e" 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_019e2d00-9137-7991-b504-e4be8d344ff6" 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_019e2d00-9137-7d91-916a-5ae8606a5f5e" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019e2d00-9137-7991-b504-e4be8d344ff6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_019e2d00-9137-7e20-918a-2f396d9764d9" 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_019e2d00-9137-7d91-916a-5ae8606a5f5e" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_019e2d00-9137-7e20-918a-2f396d9764d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019e2d00-9137-76ff-8ed0-fd63d6b5e8f2" 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_019e2d00-9137-7d91-916a-5ae8606a5f5e" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019e2d00-9137-76ff-8ed0-fd63d6b5e8f2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofPrincipalPaymentsofMortgageNotesPayableDetails" xlink:type="simple" xlink:href="good-20260630.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_019e2d00-9137-7dd1-8944-194a8cdf96cc" 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_019e2d00-9137-7590-b84c-efa2692c08c3" 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_019e2d00-9137-7dd1-8944-194a8cdf96cc" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_019e2d00-9137-7590-b84c-efa2692c08c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019e2d00-9137-72ab-a86e-89d76002f522" 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_019e2d00-9137-7dd1-8944-194a8cdf96cc" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019e2d00-9137-72ab-a86e-89d76002f522" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019e2d00-9137-751a-b753-1a522f263d9c" 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_019e2d00-9137-7dd1-8944-194a8cdf96cc" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_019e2d00-9137-751a-b753-1a522f263d9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019e2d00-9137-746e-962e-abace276752a" 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_019e2d00-9137-7dd1-8944-194a8cdf96cc" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_019e2d00-9137-746e-962e-abace276752a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019e2d00-9137-7b1c-98ba-f2f061bf62c8" 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_019e2d00-9137-7dd1-8944-194a8cdf96cc" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_019e2d00-9137-7b1c-98ba-f2f061bf62c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_019e2d00-9137-75ab-a363-0860586b8b69" 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_019e2d00-9137-7dd1-8944-194a8cdf96cc" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_019e2d00-9137-75ab-a363-0860586b8b69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_019e2d00-9137-7559-93ec-2d3fcabf5860" 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_019e2d00-9137-7dd1-8944-194a8cdf96cc" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_019e2d00-9137-7559-93ec-2d3fcabf5860" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableCreditFacilityandSeniorUnsecuredNotesScheduleofInformationRegardingDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="good-20260630.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_019e2d00-9137-7653-8f14-3af91a899f01" 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_019e2d00-9137-7dc3-bfa8-7b068d6f7a44" 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_019e2d00-9137-7653-8f14-3af91a899f01" xlink:to="loc_us-gaap_DerivativeAssets_019e2d00-9137-7dc3-bfa8-7b068d6f7a44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019e2d00-9137-7e37-8908-7c3003d3005f" 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_019e2d00-9137-7653-8f14-3af91a899f01" xlink:to="loc_us-gaap_DerivativeLiabilities_019e2d00-9137-7e37-8908-7c3003d3005f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesScheduleofFutureMinimumRentalPaymentsDueDetails" xlink:type="simple" xlink:href="good-20260630.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_019e2d00-9137-71a7-a025-3e1dfe7a1248" 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_019e2d00-9137-7c25-b987-0cf316edf22b" 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_019e2d00-9137-71a7-a025-3e1dfe7a1248" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019e2d00-9137-7c25-b987-0cf316edf22b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019e2d00-9137-7686-baed-5a3bc90a8a84" 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_019e2d00-9137-71a7-a025-3e1dfe7a1248" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019e2d00-9137-7686-baed-5a3bc90a8a84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_019e2d00-9137-7b1c-84b2-196c67807aa3" 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_019e2d00-9137-71a7-a025-3e1dfe7a1248" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_019e2d00-9137-7b1c-84b2-196c67807aa3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019e2d00-9137-7973-ba8c-9f8d601648b6" 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_019e2d00-9137-71a7-a025-3e1dfe7a1248" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019e2d00-9137-7973-ba8c-9f8d601648b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019e2d00-9137-7458-8237-1ea694de30c4" 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_019e2d00-9137-71a7-a025-3e1dfe7a1248" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsRemainderOfFiscalYear_019e2d00-9137-7458-8237-1ea694de30c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019e2d00-9137-7d9a-9206-baece5c185b5" 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_019e2d00-9137-71a7-a025-3e1dfe7a1248" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019e2d00-9137-7d9a-9206-baece5c185b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_019e2d00-9137-7582-a8ab-888f4515526b" 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_019e2d00-9137-71a7-a025-3e1dfe7a1248" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_019e2d00-9137-7582-a8ab-888f4515526b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2d00-9137-76fe-ae28-4386ae05e71b" 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_019e2d00-9137-7a80-b060-15fa2c60a991" 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_019e2d00-9137-76fe-ae28-4386ae05e71b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019e2d00-9137-7a80-b060-15fa2c60a991" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019e2d00-9137-7aa5-9c2d-b2250fdb21dd" 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_019e2d00-9137-76fe-ae28-4386ae05e71b" xlink:to="loc_us-gaap_OperatingLeaseLiability_019e2d00-9137-7aa5-9c2d-b2250fdb21dd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesScheduleofFutureMinimumRentalPaymentsDueDetails_1" xlink:type="simple" xlink:href="good-20260630.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_FinanceLeaseLiabilityPaymentsDue_019e2d00-9137-798d-940c-42d9ca95c32a" 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_019e2d00-9137-7a4e-8fbd-d0df73b82e05" 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_019e2d00-9137-798d-940c-42d9ca95c32a" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_019e2d00-9137-7a4e-8fbd-d0df73b82e05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_019e2d00-9137-70ca-b576-1af583e59342" 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_019e2d00-9137-798d-940c-42d9ca95c32a" xlink:to="loc_us-gaap_FinanceLeaseLiability_019e2d00-9137-70ca-b576-1af583e59342" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2d00-9137-796d-99ca-1eabff22971c" 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_019e2d00-9137-7247-9d02-2e5a2964be7d" 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_019e2d00-9137-796d-99ca-1eabff22971c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019e2d00-9137-7247-9d02-2e5a2964be7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e2d00-9137-77d8-8796-82368d78c759" 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_019e2d00-9137-796d-99ca-1eabff22971c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e2d00-9137-77d8-8796-82368d78c759" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019e2d00-9137-76ee-8991-f11c6573d841" 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_019e2d00-9137-796d-99ca-1eabff22971c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019e2d00-9137-76ee-8991-f11c6573d841" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019e2d00-9137-7610-90ce-122371c65f71" 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_019e2d00-9137-796d-99ca-1eabff22971c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019e2d00-9137-7610-90ce-122371c65f71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019e2d00-9137-7240-9ef6-461c448c0a7a" 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_019e2d00-9137-796d-99ca-1eabff22971c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019e2d00-9137-7240-9ef6-461c448c0a7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019e2d00-9137-759e-b061-47512bab55f0" 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_019e2d00-9137-796d-99ca-1eabff22971c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019e2d00-9137-759e-b061-47512bab55f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019e2d00-9137-7aa7-a994-65614758a072" 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_019e2d00-9137-796d-99ca-1eabff22971c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019e2d00-9137-7aa7-a994-65614758a072" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
