<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" 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">
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsAndContingencies" xlink:href="good-20190630.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:href="good-20190630.xsd#CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesCommitmentsAndContingenciesFutureMinimumRentalPaymentsDueUnderTermsOfLeasesDetails" xlink:href="good-20190630.xsd#CommitmentsAndContingenciesCommitmentsAndContingenciesFutureMinimumRentalPaymentsDueUnderTermsOfLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetail" xlink:href="good-20190630.xsd#CommitmentsAndContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetailCalc2" xlink:href="good-20190630.xsd#CommitmentsAndContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetailCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesTables" xlink:href="good-20190630.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedBalanceSheets" xlink:href="good-20190630.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="good-20190630.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="good-20190630.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfCashFlowsScheduleOfCashCashEquivalentsAndRestrictedCash" xlink:href="good-20190630.xsd#CondensedConsolidatedStatementsOfCashFlowsScheduleOfCashCashEquivalentsAndRestrictedCash" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome" xlink:href="good-20190630.xsd#CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/DocumentAndEntityInformation" xlink:href="good-20190630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquity" xlink:href="good-20190630.xsd#EquityAndMezzanineEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityAdditionalInformationDetail" xlink:href="good-20190630.xsd#EquityAndMezzanineEquityAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityDividendsPaidDetail" xlink:href="good-20190630.xsd#EquityAndMezzanineEquityDividendsPaidDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquitySummaryOfChangesInStockholdersEquityDetail" xlink:href="good-20190630.xsd#EquityAndMezzanineEquitySummaryOfChangesInStockholdersEquityDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityTables" xlink:href="good-20190630.xsd#EquityAndMezzanineEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStock" xlink:href="good-20190630.xsd#LossEarningsPerShareOfCommonStock" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStockBasicAndDilutedDetail" xlink:href="good-20190630.xsd#LossEarningsPerShareOfCommonStockBasicAndDilutedDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStockTables" xlink:href="good-20190630.xsd#LossEarningsPerShareOfCommonStockTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacility" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacility" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityAdditionalInformationDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditAdditionalInformationDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityInterestRateCapAgreementDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityInterestRateCapAgreementDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityMortgagesNotesPayableDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityMortgagesNotesPayableDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsImpactDetails" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsImpactDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsInformationDetails" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduledPrincipalPaymentsOfMortgageNotesPayableDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityScheduledPrincipalPaymentsOfMortgageNotesPayableDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityTables" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPolicies" xlink:href="good-20190630.xsd#OrganizationBasisOfPresentationAndSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPoliciesDetail" xlink:href="good-20190630.xsd#OrganizationBasisOfPresentationAndSignificantAccountingPoliciesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPoliciesPolicies" xlink:href="good-20190630.xsd#OrganizationBasisOfPresentationAndSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssets" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsAdditionalInformationDetail" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsBusinessCombinationsAndAssetAcquisitionsDetails" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsBusinessCombinationsAndAssetAcquisitionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsCarryingValueOfIntangibleAssetsAndAccumulatedAmortizationDetail" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsCarryingValueOfIntangibleAssetsAndAccumulatedAmortizationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsComponentsOfInvestmentsInRealEstateDetail" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsComponentsOfInvestmentsInRealEstateDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsRealEstateAndIntangibleAssetsFutureOperatingLeasePaymentsFromTenantsUnderNonCancelableLeasesDetails" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsRealEstateAndIntangibleAssetsFutureOperatingLeasePaymentsFromTenantsUnderNonCancelableLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsSummaryOfAcquiredPropertiesDetails" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsSummaryOfAcquiredPropertiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsSummaryOfLeaseOnPropertyDetail" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsSummaryOfLeaseOnPropertyDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsTables" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsWeightedAverageAmortizationPeriodForIntangibleAssetsAndLiabilitiesDetails" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsWeightedAverageAmortizationPeriodForIntangibleAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentCharges" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentCharges" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesAdditionalInformationDetail" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentChargesAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfAssetsAndLiabilitiesHeldForSaleDetail" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfAssetsAndLiabilitiesHeldForSaleDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfIncomeFromRealEstateAndRelatedAssetsHeldForSaleDetail" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfIncomeFromRealEstateAndRelatedAssetsHeldForSaleDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesSummaryOfPropertySoldDetails" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentChargesSummaryOfPropertySoldDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesTables" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentChargesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RelatedPartyTransactions" xlink:href="good-20190630.xsd#RelatedPartyTransactions" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RelatedPartyTransactionsAdditionalInformationDetail" xlink:href="good-20190630.xsd#RelatedPartyTransactionsAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/SubsequentEvents" xlink:href="good-20190630.xsd#SubsequentEvents" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/SubsequentEventsAdditionalInformationDetails" xlink:href="good-20190630.xsd#SubsequentEventsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/SubsequentEventsMonthlyDistributionsDeclaredByCompanysBoardOfDirectorsDetail" xlink:href="good-20190630.xsd#SubsequentEventsMonthlyDistributionsDeclaredByCompanysBoardOfDirectorsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/SubsequentEventsTables" xlink:href="good-20190630.xsd#SubsequentEventsTables" xlink:type="simple" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesCommitmentsAndContingenciesFutureMinimumRentalPaymentsDueUnderTermsOfLeasesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_4cf71329-74d6-54f3-cadb-acb7f1063f36" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_4cf71329-74d6-54f3-cadb-acb7f1063f36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_f2a573e7-27e5-db11-63c6-c460733b5ea3" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_f2a573e7-27e5-db11-63c6-c460733b5ea3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_398384fb-b756-b11a-1ea4-5a5cd4372c82" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_398384fb-b756-b11a-1ea4-5a5cd4372c82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_832fb73d-9886-a0dd-5905-8e2ec54304d6" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_832fb73d-9886-a0dd-5905-8e2ec54304d6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_1f2c68db-a374-1412-5f1f-4edca1431bbb" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_1f2c68db-a374-1412-5f1f-4edca1431bbb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_e71cbb67-0324-15b7-66dc-376e90f3ca60" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_e71cbb67-0324-15b7-66dc-376e90f3ca60" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_48abcf97-737b-2b2c-8a8c-c74539d0b215" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_48abcf97-737b-2b2c-8a8c-c74539d0b215" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_9b040bc1-f43c-735d-05f7-679f319d2bb6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_9b040bc1-f43c-735d-05f7-679f319d2bb6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_2f0ec234-4f20-7099-efb3-3c0ab4d024dd" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_2f0ec234-4f20-7099-efb3-3c0ab4d024dd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_1ed751b1-5f94-4f6f-41e9-ef873c9f2bab" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_1ed751b1-5f94-4f6f-41e9-ef873c9f2bab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_8a8de21f-aadc-3af7-8c96-d54cf42b401b" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_8a8de21f-aadc-3af7-8c96-d54cf42b401b" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LesseeOperatingLeaseLiabilityPaymentsDueYearSix" xlink:label="loc_good_LesseeOperatingLeaseLiabilityPaymentsDueYearSix_aee5a400-95e7-4749-fb0e-8b26395276fc" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_good_LesseeOperatingLeaseLiabilityPaymentsDueYearSix_aee5a400-95e7-4749-fb0e-8b26395276fc" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LesseeOperatingLeaseLiabilityPaymentsDueafterYearSix" xlink:label="loc_good_LesseeOperatingLeaseLiabilityPaymentsDueafterYearSix_4fd9c240-c595-36a4-bdee-8b2639a38222" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_good_LesseeOperatingLeaseLiabilityPaymentsDueafterYearSix_4fd9c240-c595-36a4-bdee-8b2639a38222" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetailCalc2" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_49BE7870E14949684A8A3DDB9B7E987A_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_49BE7870E14949684A8A3DDB9B7E987A_07815ffa-512a-3133-dcbb-38e09d2626b9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_49BE7870E14949684A8A3DDB9B7E987A_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_49BE7870E14949684A8A3DDB9B7E987A_07815ffa-512a-3133-dcbb-38e09d2626b9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_49BE7870E14949684A8A3DDB9B7E987A_b983c2d8-8318-0a7e-1a5c-6ab2933f7be5" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_49BE7870E14949684A8A3DDB9B7E987A_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_OperatingLeaseLiability_49BE7870E14949684A8A3DDB9B7E987A_b983c2d8-8318-0a7e-1a5c-6ab2933f7be5" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstateInvestmentPropertyNet" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_724e927b-4c3a-bf32-5149-19a1c2957ea2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyNet_724e927b-4c3a-bf32-5149-19a1c2957ea2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstateInvestmentPropertyAtCost" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAtCost_948936b2-91a8-df36-36ca-8d978e97a0ae" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_724e927b-4c3a-bf32-5149-19a1c2957ea2" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAtCost_948936b2-91a8-df36-36ca-8d978e97a0ae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_4e16a4ec-b9e2-0a9e-fcc1-7e6dfba4054e" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_724e927b-4c3a-bf32-5149-19a1c2957ea2" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_4e16a4ec-b9e2-0a9e-fcc1-7e6dfba4054e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e87bd6a3-2026-a858-f41a-bc281e5d594b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_e87bd6a3-2026-a858-f41a-bc281e5d594b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_f30b9be6-59bd-43dd-a4a4-1c4cbaaa1790" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_f30b9be6-59bd-43dd-a4a4-1c4cbaaa1790" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1de780cc-9607-daa3-0bed-03c88ae94769" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1de780cc-9607-daa3-0bed-03c88ae94769" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalents" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_ae11e3b1-839b-d0b0-a04b-b35611528b8c" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_ae11e3b1-839b-d0b0-a04b-b35611528b8c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EscrowDeposit" xlink:label="loc_us-gaap_EscrowDeposit_a5b8aafa-1653-ec8a-7aad-4fa516ffd38b" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_EscrowDeposit_a5b8aafa-1653-ec8a-7aad-4fa516ffd38b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_dcf3df0d-2155-35f6-715d-83a9bc9cf3fb" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_dcf3df0d-2155-35f6-715d-83a9bc9cf3fb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredRentReceivablesNet" xlink:label="loc_us-gaap_DeferredRentReceivablesNet_217f8d1d-8785-e0a4-8317-ccfff39ee1e8" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_DeferredRentReceivablesNet_217f8d1d-8785-e0a4-8317-ccfff39ee1e8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_53a34e15-d375-c4e0-c5cf-68e055eee5e5" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_OtherAssets_53a34e15-d375-c4e0-c5cf-68e055eee5e5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:to="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SecuredLongTermDebt" xlink:label="loc_us-gaap_SecuredLongTermDebt_35cec4c3-4d76-5677-c897-f4a7c5f95a66" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_SecuredLongTermDebt_35cec4c3-4d76-5677-c897-f4a7c5f95a66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCredit" xlink:label="loc_us-gaap_LineOfCredit_0268856c-9586-3eb4-db25-4a4a4c02e89d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_LineOfCredit_0268856c-9586-3eb4-db25-4a4a4c02e89d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermLineOfCredit" xlink:label="loc_us-gaap_LongTermLineOfCredit_56cca1d0-bac2-7952-41b1-26a356786b48" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_LongTermLineOfCredit_56cca1d0-bac2-7952-41b1-26a356786b48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredRentCredit" xlink:label="loc_us-gaap_DeferredRentCredit_5d3756d6-fb46-93f7-300b-bdfce489274b" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_DeferredRentCredit_5d3756d6-fb46-93f7-300b-bdfce489274b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_b983c2d8-8318-0a7e-1a5c-6ab2933f7be5" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_OperatingLeaseLiability_b983c2d8-8318-0a7e-1a5c-6ab2933f7be5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetRetirementObligation" xlink:label="loc_us-gaap_AssetRetirementObligation_def9f1ee-dcd9-b056-a3d0-cd79dddd81a2" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_AssetRetirementObligation_def9f1ee-dcd9-b056-a3d0-cd79dddd81a2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_efa64cef-5110-33cd-b428-f0367bd538b9" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_efa64cef-5110-33cd-b428-f0367bd538b9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DueToRelatedPartiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_DueToRelatedPartiesCurrentAndNoncurrent_e32adab2-e764-8849-0115-5ca19b0447a2" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_DueToRelatedPartiesCurrentAndNoncurrent_e32adab2-e764-8849-0115-5ca19b0447a2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="loc_us-gaap_OtherLiabilities_ff0e0b1b-b140-8889-cbc7-6f0d76651556" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_OtherLiabilities_ff0e0b1b-b140-8889-cbc7-6f0d76651556" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:to="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_928e20af-e738-4a2d-05b8-cf88fed11953" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_PreferredStockValue_928e20af-e738-4a2d-05b8-cf88fed11953" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeniorCommonStocks" xlink:label="loc_good_SeniorCommonStocks_df795722-7316-52a5-6f18-8b26395e7eab" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_good_SeniorCommonStocks_df795722-7316-52a5-6f18-8b26395e7eab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_f05ab245-2bd1-7865-e7ed-1461a5a6155f" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_CommonStockValue_f05ab245-2bd1-7865-e7ed-1461a5a6155f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_3d5a0ca6-0f59-67e6-adb5-6aecd22b693b" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_AdditionalPaidInCapital_3d5a0ca6-0f59-67e6-adb5-6aecd22b693b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedDistributionsInExcessOfNetIncome" xlink:label="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncome_6c9c8bd3-afb8-5912-8acf-1fbbbf506989" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncome_6c9c8bd3-afb8-5912-8acf-1fbbbf506989" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_988c1346-b444-a867-fe80-f3aec1443d54" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_988c1346-b444-a867-fe80-f3aec1443d54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_a494af71-6e00-8ea6-8e2c-8f2c3b1397af" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_a494af71-6e00-8ea6-8e2c-8f2c3b1397af" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount_3a03d759-5598-bf16-1795-76113189ea20" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_a494af71-6e00-8ea6-8e2c-8f2c3b1397af" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount_3a03d759-5598-bf16-1795-76113189ea20" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaap_MinorityInterest_3070eb63-b0f5-1f18-a22f-cc54a94922d9" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:to="loc_us-gaap_MinorityInterest_3070eb63-b0f5-1f18-a22f-cc54a94922d9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_4d934b0d-59bc-ae5c-ffb9-b6ced82ff9f8" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:to="loc_us-gaap_CommitmentsAndContingencies_4d934b0d-59bc-ae5c-ffb9-b6ced82ff9f8" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_ImprovementsOfExistingRealEstate" xlink:label="loc_good_ImprovementsOfExistingRealEstate_043145aa-1232-2b44-423b-8b2639c5f6e0" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_good_ImprovementsOfExistingRealEstate_043145aa-1232-2b44-423b-8b2639c5f6e0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfRealEstate" xlink:label="loc_us-gaap_ProceedsFromSaleOfRealEstate_c91e869d-ecf2-8235-3694-64bba11e1a37" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_ProceedsFromSaleOfRealEstate_c91e869d-ecf2-8235-3694-64bba11e1a37" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_ReceiptsFromLendersForReservesHeldInEscrow" xlink:label="loc_good_ReceiptsFromLendersForReservesHeldInEscrow_39ac30ae-474e-bc63-9de2-8b26395fc451" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_good_ReceiptsFromLendersForReservesHeldInEscrow_39ac30ae-474e-bc63-9de2-8b26395fc451" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PaymentsToLendersForReservesHeldInEscrow" xlink:label="loc_good_PaymentsToLendersForReservesHeldInEscrow_8ad8087f-19f9-ea44-2fbe-8b263971737a" xlink:type="locator" />
    <link:calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_good_PaymentsToLendersForReservesHeldInEscrow_8ad8087f-19f9-ea44-2fbe-8b263971737a" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_ReceiptsFromTenantsForReserves" xlink:label="loc_good_ReceiptsFromTenantsForReserves_9185d99e-42a7-6009-67a7-8b2639b0c31b" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_good_ReceiptsFromTenantsForReserves_9185d99e-42a7-6009-67a7-8b2639b0c31b" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PaymentsToTenantsFromReserves" xlink:label="loc_good_PaymentsToTenantsFromReserves_678779a8-42f3-27bf-eb32-8b2639441ba6" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_good_PaymentsToTenantsFromReserves_678779a8-42f3-27bf-eb32-8b2639441ba6" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PaymentsToAcquireRealEstateAndIntangibleAssets" xlink:label="loc_good_PaymentsToAcquireRealEstateAndIntangibleAssets_1c363cf8-56a1-8672-e474-8b26393c30e2" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_good_PaymentsToAcquireRealEstateAndIntangibleAssets_1c363cf8-56a1-8672-e474-8b26393c30e2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireRealEstateHeldForInvestment" xlink:label="loc_us-gaap_PaymentsToAcquireRealEstateHeldForInvestment_f97dc3fc-1f8c-801f-e0d8-8b27dc4cb42a" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsToAcquireRealEstateHeldForInvestment_f97dc3fc-1f8c-801f-e0d8-8b27dc4cb42a" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_ProceedsFromDepositsAppliedAgainstAcquisitionOfRealEstateInvestments" xlink:label="loc_good_ProceedsFromDepositsAppliedAgainstAcquisitionOfRealEstateInvestments_8e4d355a-e04a-1504-9af8-8b2639e4570f" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_good_ProceedsFromDepositsAppliedAgainstAcquisitionOfRealEstateInvestments_8e4d355a-e04a-1504-9af8-8b2639e4570f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_0f0975d6-8500-76a0-c74f-5d2f0ed8b620" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_0f0975d6-8500-76a0-c74f-5d2f0ed8b620" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_5df585f7-cbd5-fdda-5710-23eacb1392b0" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_5df585f7-cbd5-fdda-5710-23eacb1392b0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_3f804297-91a1-3939-541d-a39b6288c9f9" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_3f804297-91a1-3939-541d-a39b6288c9f9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromNotesPayable" xlink:label="loc_us-gaap_ProceedsFromNotesPayable_b0a43552-ce29-1594-126b-d081767256fc" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_ProceedsFromNotesPayable_b0a43552-ce29-1594-126b-d081767256fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfFinancingCosts" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_64d6177f-f4fb-39a4-2397-9879cf47ecd1" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_64d6177f-f4fb-39a4-2397-9879cf47ecd1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfSecuredDebt" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_af7d3505-6faf-ba7f-4018-9f6bdebb883a" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_af7d3505-6faf-ba7f-4018-9f6bdebb883a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_2285f3f4-b3a8-b01c-280e-6c886bd81b27" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_2285f3f4-b3a8-b01c-280e-6c886bd81b27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_05859378-438b-57d1-1cca-74dc23f15c9a" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_05859378-438b-57d1-1cca-74dc23f15c9a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInSecurityDeposits" xlink:label="loc_us-gaap_IncreaseDecreaseInSecurityDeposits_8774a836-4055-848d-3743-8f90b65a6f68" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_IncreaseDecreaseInSecurityDeposits_8774a836-4055-848d-3743-8f90b65a6f68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_97b2cb74-f62e-ba8a-3953-eb9af3cfb8a4" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_PaymentsOfDividends_97b2cb74-f62e-ba8a-3953-eb9af3cfb8a4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_8b582348-a62e-cdfb-bc53-d5894b42e091" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_ProfitLoss_8b582348-a62e-cdfb-bc53-d5894b42e091" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaap_DepreciationAndAmortization_9f9b2594-efaa-e1fa-01db-e194221f432f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_DepreciationAndAmortization_9f9b2594-efaa-e1fa-01db-e194221f432f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainLossOnSaleOfProperties" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_01caa768-3488-14e3-f00a-ea7bd1887a6b" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_01caa768-3488-14e3-f00a-ea7bd1887a6b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_149d6655-b7f8-5049-ef74-296db479f8f9" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_149d6655-b7f8-5049-ef74-296db479f8f9" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AmortizationOfDeferredRentAssetAndLiabilityNet" xlink:label="loc_good_AmortizationOfDeferredRentAssetAndLiabilityNet_7001207c-71dc-a455-bfcd-8b26398dc6a3" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_good_AmortizationOfDeferredRentAssetAndLiabilityNet_7001207c-71dc-a455-bfcd-8b26398dc6a3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfDebtDiscountPremium" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_a4567c23-eef7-473f-21b3-15ac8f57524e" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_a4567c23-eef7-473f-21b3-15ac8f57524e" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LesseeOperatingLeaseAmortizationofRightOfUseAsset" xlink:label="loc_good_LesseeOperatingLeaseAmortizationofRightOfUseAsset_7d40ec10-2e50-dac5-9c4d-8b263947128a" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_good_LesseeOperatingLeaseAmortizationofRightOfUseAsset_7d40ec10-2e50-dac5-9c4d-8b263947128a" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LesseeOperatingLeaseAmortizationofLeaseLiability" xlink:label="loc_good_LesseeOperatingLeaseAmortizationofLeaseLiability_a89c66bf-edad-1ccc-f2d2-8b263978c0d7" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_good_LesseeOperatingLeaseAmortizationofLeaseLiability_a89c66bf-edad-1ccc-f2d2-8b263978c0d7" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AssetRetirementObligationExpense" xlink:label="loc_good_AssetRetirementObligationExpense_a2da0226-07eb-93ea-45db-8b26398f9967" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_good_AssetRetirementObligationExpense_a2da0226-07eb-93ea-45db-8b26398f9967" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_5550ae9d-a6e2-fc35-fc50-54521e2bfb5d" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_5550ae9d-a6e2-fc35-fc50-54521e2bfb5d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StraightLineRent" xlink:label="loc_us-gaap_StraightLineRent_37b39cf1-9f75-f5d5-bfd9-c8894d044ebb" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_StraightLineRent_37b39cf1-9f75-f5d5-bfd9-c8894d044ebb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_7c1c3153-d95c-50b8-10ed-a75d1f3d7a68" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_7c1c3153-d95c-50b8-10ed-a75d1f3d7a68" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_d7de2883-fea4-6e7c-2c8b-7fee9aa34369" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_d7de2883-fea4-6e7c-2c8b-7fee9aa34369" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForCommissions" xlink:label="loc_us-gaap_PaymentsForCommissions_30be1215-88e8-751a-c6c3-c5456aeac571" xlink:type="locator" />
    <link:calculationArc order="14" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_PaymentsForCommissions_30be1215-88e8-751a-c6c3-c5456aeac571" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfCashFlowsScheduleOfCashCashEquivalentsAndRestrictedCash" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_21c019f0-62e8-3b20-07d1-495695054dce" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1de780cc-9607-daa3-0bed-03c88ae94769" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_21c019f0-62e8-3b20-07d1-495695054dce" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1de780cc-9607-daa3-0bed-03c88ae94769" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCash" xlink:label="loc_us-gaap_RestrictedCash_d19dea7d-a17a-c30f-cafd-5849cd448318" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_21c019f0-62e8-3b20-07d1-495695054dce" xlink:to="loc_us-gaap_RestrictedCash_d19dea7d-a17a-c30f-cafd-5849cd448318" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_c4761fa8-dc2a-e270-4b5c-921deca83ad0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_8b582348-a62e-cdfb-bc53-d5894b42e091" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_c4761fa8-dc2a-e270-4b5c-921deca83ad0" xlink:to="loc_us-gaap_ProfitLoss_8b582348-a62e-cdfb-bc53-d5894b42e091" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_8b582348-a62e-cdfb-bc53-d5894b42e091" xlink:to="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaap_DepreciationAndAmortization_9f9b2594-efaa-e1fa-01db-e194221f432f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:to="loc_us-gaap_DepreciationAndAmortization_9f9b2594-efaa-e1fa-01db-e194221f432f" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PropertyOperatingExpenses" xlink:label="loc_good_PropertyOperatingExpenses_2fafb1cd-541b-397f-e4fc-8b263a00b87d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:to="loc_good_PropertyOperatingExpenses_2fafb1cd-541b-397f-e4fc-8b263a00b87d" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_BaseManagementFee" xlink:label="loc_good_BaseManagementFee_1f80591d-50b4-9cb6-b307-8b2639856eec" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:to="loc_good_BaseManagementFee_1f80591d-50b4-9cb6-b307-8b2639856eec" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_IncentiveFee" xlink:label="loc_good_IncentiveFee_096b8fd9-5f86-de34-624b-8b2639f3b23c" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:to="loc_good_IncentiveFee_096b8fd9-5f86-de34-624b-8b2639f3b23c" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AdministrationFee" xlink:label="loc_good_AdministrationFee_3e022c85-f151-a3fd-97d2-8b2639429d34" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:to="loc_good_AdministrationFee_3e022c85-f151-a3fd-97d2-8b2639429d34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_58462a12-ec5e-da2d-89ad-2d8b2ce76259" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_56807cce-1c23-b2ed-01fd-e029fa0d6e79" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_58462a12-ec5e-da2d-89ad-2d8b2ce76259" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_28fe77ae-e122-e428-d718-aff2ad445bc8" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_8b582348-a62e-cdfb-bc53-d5894b42e091" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_28fe77ae-e122-e428-d718-aff2ad445bc8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_16e9f6a6-5524-a7b1-7e7c-73ee97610ec6" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_28fe77ae-e122-e428-d718-aff2ad445bc8" xlink:to="loc_us-gaap_InterestExpense_16e9f6a6-5524-a7b1-7e7c-73ee97610ec6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNonoperatingIncome" xlink:label="loc_us-gaap_OtherNonoperatingIncome_41182110-6318-40b6-2e71-736046a91a02" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_28fe77ae-e122-e428-d718-aff2ad445bc8" xlink:to="loc_us-gaap_OtherNonoperatingIncome_41182110-6318-40b6-2e71-736046a91a02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainLossOnSaleOfProperties" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_01caa768-3488-14e3-f00a-ea7bd1887a6b" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_28fe77ae-e122-e428-d718-aff2ad445bc8" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_01caa768-3488-14e3-f00a-ea7bd1887a6b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_425ada39-f194-a279-47ac-dd09cf899fb1" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_8b582348-a62e-cdfb-bc53-d5894b42e091" xlink:to="loc_us-gaap_Revenues_425ada39-f194-a279-47ac-dd09cf899fb1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesIncomeStatementLeaseRevenue" xlink:label="loc_us-gaap_OperatingLeasesIncomeStatementLeaseRevenue_b824750e-6423-1d42-4446-b91440ea924f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_425ada39-f194-a279-47ac-dd09cf899fb1" xlink:to="loc_us-gaap_OperatingLeasesIncomeStatementLeaseRevenue_b824750e-6423-1d42-4446-b91440ea924f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_1ed26a82-dd4b-490f-d61a-b04c5d44793e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_c4761fa8-dc2a-e270-4b5c-921deca83ad0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_1ed26a82-dd4b-490f-d61a-b04c5d44793e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_397a475b-0af5-f3eb-f91e-9518c9a0cfd9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_1ed26a82-dd4b-490f-d61a-b04c5d44793e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_397a475b-0af5-f3eb-f91e-9518c9a0cfd9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_976d3954-a813-87e0-3f10-9f88f38c5886" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RedeemablePreferredStockDividends" xlink:label="loc_us-gaap_RedeemablePreferredStockDividends_bab470fc-7a9d-4adc-d92d-e3d195c3abee" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_976d3954-a813-87e0-3f10-9f88f38c5886" xlink:to="loc_us-gaap_RedeemablePreferredStockDividends_bab470fc-7a9d-4adc-d92d-e3d195c3abee" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DistributionsAttributableToSeniorCommonStock" xlink:label="loc_good_DistributionsAttributableToSeniorCommonStock_0622d907-62c8-b662-edbe-8b263a061b54" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_976d3954-a813-87e0-3f10-9f88f38c5886" xlink:to="loc_good_DistributionsAttributableToSeniorCommonStock_0622d907-62c8-b662-edbe-8b263a061b54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_976d3954-a813-87e0-3f10-9f88f38c5886" xlink:to="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:type="arc" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:to="loc_us-gaap_ProfitLoss_8b582348-a62e-cdfb-bc53-d5894b42e091" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_a3a6becb-cb5c-3f3c-51b9-6edd8011ed69" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_a3a6becb-cb5c-3f3c-51b9-6edd8011ed69" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityDividendsPaidDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquitySummaryOfChangesInStockholdersEquityDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStock" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStockBasicAndDilutedDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_90e25e8e-b555-9209-062f-62d312826e2f" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_976d3954-a813-87e0-3f10-9f88f38c5886" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_90e25e8e-b555-9209-062f-62d312826e2f" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_976d3954-a813-87e0-3f10-9f88f38c5886" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_3522fcef-be87-695f-197a-a27d477856eb" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_90e25e8e-b555-9209-062f-62d312826e2f" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_3522fcef-be87-695f-197a-a27d477856eb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8c9389ea-1fbb-7e45-ce1f-5a1d89572c0d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_fbdbb03d-8583-701f-d6e2-69f8229c6051" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8c9389ea-1fbb-7e45-ce1f-5a1d89572c0d" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_fbdbb03d-8583-701f-d6e2-69f8229c6051" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_90854703-859b-2c45-aef2-d270627b3141" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8c9389ea-1fbb-7e45-ce1f-5a1d89572c0d" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_90854703-859b-2c45-aef2-d270627b3141" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStockTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacility" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_a2f199ce-3001-c200-d488-633bc54206dc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_b5390da0-4b10-f083-5d88-d4657fa5b028" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_a2f199ce-3001-c200-d488-633bc54206dc" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_b5390da0-4b10-f083-5d88-d4657fa5b028" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_dc5dc3a2-bd4f-cb5f-baac-0bfc74e4df4b" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_a2f199ce-3001-c200-d488-633bc54206dc" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_dc5dc3a2-bd4f-cb5f-baac-0bfc74e4df4b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredFinanceCostsNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_a0f3158e-b5db-b595-708a-09b10cc83fb2" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_a2f199ce-3001-c200-d488-633bc54206dc" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_a0f3158e-b5db-b595-708a-09b10cc83fb2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityInterestRateCapAgreementDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityMortgagesNotesPayableDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsImpactDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_9f436187-314b-180b-a248-fa52bbc667f6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_05d1a9f5-40b5-5876-afca-b2b8e7f078c9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_9f436187-314b-180b-a248-fa52bbc667f6" xlink:to="loc_us-gaap_DerivativeAssets_05d1a9f5-40b5-5876-afca-b2b8e7f078c9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_c498d065-e002-c8b0-aba8-6aaec8302ba7" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_9f436187-314b-180b-a248-fa52bbc667f6" xlink:to="loc_us-gaap_DerivativeLiabilities_c498d065-e002-c8b0-aba8-6aaec8302ba7" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduledPrincipalPaymentsOfMortgageNotesPayableDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_b5390da0-4b10-f083-5d88-d4657fa5b028" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_5a8b47c3-ce9e-0992-6c29-f7284d4ea136" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b5390da0-4b10-f083-5d88-d4657fa5b028" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_5a8b47c3-ce9e-0992-6c29-f7284d4ea136" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_ce3ac95b-761b-7fbc-3779-1bdfd056c71f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b5390da0-4b10-f083-5d88-d4657fa5b028" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_ce3ac95b-761b-7fbc-3779-1bdfd056c71f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_d39bb101-f79f-a162-9929-01083e9d64b5" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b5390da0-4b10-f083-5d88-d4657fa5b028" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_d39bb101-f79f-a162-9929-01083e9d64b5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_73238937-86a2-9126-69f0-c70629155ebe" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b5390da0-4b10-f083-5d88-d4657fa5b028" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_73238937-86a2-9126-69f0-c70629155ebe" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_a170264f-50ba-a4bb-6d22-ec86b5249633" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b5390da0-4b10-f083-5d88-d4657fa5b028" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_a170264f-50ba-a4bb-6d22-ec86b5249633" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LongtermDebtMaturitiesRepaymentsofPrincipalinYearSix" xlink:label="loc_good_LongtermDebtMaturitiesRepaymentsofPrincipalinYearSix_63bf0e43-cb24-29a3-c759-8b2639a0176c" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b5390da0-4b10-f083-5d88-d4657fa5b028" xlink:to="loc_good_LongtermDebtMaturitiesRepaymentsofPrincipalinYearSix_63bf0e43-cb24-29a3-c759-8b2639a0176c" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearSix" xlink:label="loc_good_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearSix_955f90e8-5b73-b337-3fbd-8b263961014a" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_b5390da0-4b10-f083-5d88-d4657fa5b028" xlink:to="loc_good_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearSix_955f90e8-5b73-b337-3fbd-8b263961014a" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPoliciesDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssets" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsBusinessCombinationsAndAssetAcquisitionsDetails" xlink:type="extended">
    <link:loc xlink:href="good-20190630.xsd#good_PurchasePriceOfAcquiredProperty" xlink:label="loc_good_PurchasePriceOfAcquiredProperty_0e7cda37-5cdc-3faf-3713-8b2639887dfc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueOfAssetsAcquired" xlink:label="loc_us-gaap_FairValueOfAssetsAcquired_f9e94f81-8378-79f7-6c3e-a0eeb4e74cc8" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_PurchasePriceOfAcquiredProperty_0e7cda37-5cdc-3faf-3713-8b2639887dfc" xlink:to="loc_us-gaap_FairValueOfAssetsAcquired_f9e94f81-8378-79f7-6c3e-a0eeb4e74cc8" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsCarryingValueOfIntangibleAssetsAndAccumulatedAmortizationDetail" xlink:type="extended">
    <link:loc xlink:href="good-20190630.xsd#good_FiniteLivedIntangibleAssetsLiabilitiesGross" xlink:label="loc_good_FiniteLivedIntangibleAssetsLiabilitiesGross_bc1e8111-165e-914c-a958-8b26396e45dc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_e11e8784-8f2d-ca3c-a9e8-a8115d54520c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_FiniteLivedIntangibleAssetsLiabilitiesGross_bc1e8111-165e-914c-a958-8b26396e45dc" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_e11e8784-8f2d-ca3c-a9e8-a8115d54520c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BelowMarketLeaseGross" xlink:label="loc_us-gaap_BelowMarketLeaseGross_9c68454f-232f-a95e-9737-d0e7ad9d4185" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_FiniteLivedIntangibleAssetsLiabilitiesGross_bc1e8111-165e-914c-a958-8b26396e45dc" xlink:to="loc_us-gaap_BelowMarketLeaseGross_9c68454f-232f-a95e-9737-d0e7ad9d4185" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_FiniteLivedIntangibleAssetsLiabilitiesAccumulatedAmortization" xlink:label="loc_good_FiniteLivedIntangibleAssetsLiabilitiesAccumulatedAmortization_8a51f5dc-d83a-57db-455b-8b263998d590" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_65140cb5-12a8-2030-97e2-fa6daceadf40" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_FiniteLivedIntangibleAssetsLiabilitiesAccumulatedAmortization_8a51f5dc-d83a-57db-455b-8b263998d590" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_65140cb5-12a8-2030-97e2-fa6daceadf40" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BelowMarketLeaseAccumulatedAmortization" xlink:label="loc_us-gaap_BelowMarketLeaseAccumulatedAmortization_8a4616b2-8eba-2ad4-ecba-75a84a99bddb" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_FiniteLivedIntangibleAssetsLiabilitiesAccumulatedAmortization_8a51f5dc-d83a-57db-455b-8b263998d590" xlink:to="loc_us-gaap_BelowMarketLeaseAccumulatedAmortization_8a4616b2-8eba-2ad4-ecba-75a84a99bddb" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsComponentsOfInvestmentsInRealEstateDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstateInvestmentPropertyNet" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_724e927b-4c3a-bf32-5149-19a1c2957ea2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Land" xlink:label="loc_us-gaap_Land_008d078c-9a2a-722c-5c77-985ebb0cef73" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_724e927b-4c3a-bf32-5149-19a1c2957ea2" xlink:to="loc_us-gaap_Land_008d078c-9a2a-722c-5c77-985ebb0cef73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TenantImprovements" xlink:label="loc_us-gaap_TenantImprovements_9d584e01-a191-a512-1f65-c5fc5e17d79a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_724e927b-4c3a-bf32-5149-19a1c2957ea2" xlink:to="loc_us-gaap_TenantImprovements_9d584e01-a191-a512-1f65-c5fc5e17d79a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_4e16a4ec-b9e2-0a9e-fcc1-7e6dfba4054e" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_724e927b-4c3a-bf32-5149-19a1c2957ea2" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_4e16a4ec-b9e2-0a9e-fcc1-7e6dfba4054e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentBuildingAndBuildingImprovements" xlink:label="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_cb2df620-bffc-fa3f-e9dc-ccc4d57cb185" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_724e927b-4c3a-bf32-5149-19a1c2957ea2" xlink:to="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_cb2df620-bffc-fa3f-e9dc-ccc4d57cb185" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsRealEstateAndIntangibleAssetsFutureOperatingLeasePaymentsFromTenantsUnderNonCancelableLeasesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceived" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_e38e688f-e3df-720c-72b2-4d22e2221470" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedRemainderOfFiscalYear" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedRemainderOfFiscalYear_9005984b-f9f3-7e07-ef97-4312f239321c" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_e38e688f-e3df-720c-72b2-4d22e2221470" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedRemainderOfFiscalYear_9005984b-f9f3-7e07-ef97-4312f239321c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_2c3ecb96-369b-ef88-2076-3cdf583520ec" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_e38e688f-e3df-720c-72b2-4d22e2221470" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_2c3ecb96-369b-ef88-2076-3cdf583520ec" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_2a6d5eb4-62af-e9bb-12b9-93fd54a3267f" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_e38e688f-e3df-720c-72b2-4d22e2221470" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_2a6d5eb4-62af-e9bb-12b9-93fd54a3267f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_3e3a1252-0cfd-16d3-8d22-4bd8701af99f" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_e38e688f-e3df-720c-72b2-4d22e2221470" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_3e3a1252-0cfd-16d3-8d22-4bd8701af99f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_70609221-dde8-f48b-0e0f-c35287333ce1" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_e38e688f-e3df-720c-72b2-4d22e2221470" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_70609221-dde8-f48b-0e0f-c35287333ce1" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LessorOperatingLeasePaymentstobeReceivedSixYears" xlink:label="loc_good_LessorOperatingLeasePaymentstobeReceivedSixYears_6A3296894C3486D095D63E10D877A839" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_e38e688f-e3df-720c-72b2-4d22e2221470" xlink:to="loc_good_LessorOperatingLeasePaymentstobeReceivedSixYears_6A3296894C3486D095D63E10D877A839" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_95d5cc2c-b689-8832-5113-752a79261cb4" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_e38e688f-e3df-720c-72b2-4d22e2221470" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_95d5cc2c-b689-8832-5113-752a79261cb4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivable" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivable_f56167c1-e729-2fc5-49f1-86c593e4bebd" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear_fa1fd4a9-2b87-f6e4-21f5-0b9d7c640a05" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivable_f56167c1-e729-2fc5-49f1-86c593e4bebd" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear_fa1fd4a9-2b87-f6e4-21f5-0b9d7c640a05" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears_bac30349-e994-f143-dce9-fc9cff242693" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivable_f56167c1-e729-2fc5-49f1-86c593e4bebd" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears_bac30349-e994-f143-dce9-fc9cff242693" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears_ffdb78fe-cf7a-f3a4-0e96-788fed1c7ab0" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivable_f56167c1-e729-2fc5-49f1-86c593e4bebd" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears_ffdb78fe-cf7a-f3a4-0e96-788fed1c7ab0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInFourYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInFourYears_f9bcc872-2fe0-493d-fcc3-313937b6e8c3" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivable_f56167c1-e729-2fc5-49f1-86c593e4bebd" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInFourYears_f9bcc872-2fe0-493d-fcc3-313937b6e8c3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInFiveYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInFiveYears_98481dd1-7f60-7dd1-cab4-a173e96f3ddc" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivable_f56167c1-e729-2fc5-49f1-86c593e4bebd" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInFiveYears_98481dd1-7f60-7dd1-cab4-a173e96f3ddc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableThereafter" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableThereafter_3a2aa830-e464-185c-b2b9-f278d3c62d48" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivable_f56167c1-e729-2fc5-49f1-86c593e4bebd" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableThereafter_3a2aa830-e464-185c-b2b9-f278d3c62d48" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsSummaryOfAcquiredPropertiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsSummaryOfLeaseOnPropertyDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsWeightedAverageAmortizationPeriodForIntangibleAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentCharges" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfAssetsAndLiabilitiesHeldForSaleDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_f30b9be6-59bd-43dd-a4a4-1c4cbaaa1790" xlink:type="locator" />
    <link:loc xlink:href="good-20190630.xsd#good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_a5cdbce3-fe65-b358-3a60-8b2639837003" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_f30b9be6-59bd-43dd-a4a4-1c4cbaaa1790" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_a5cdbce3-fe65-b358-3a60-8b2639837003" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAtCost" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAtCost_a2521f77-681f-e684-88da-8b26396c8a9d" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_a5cdbce3-fe65-b358-3a60-8b2639837003" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAtCost_a2521f77-681f-e684-88da-8b26396c8a9d" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAccumulatedDepreciation" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAccumulatedDepreciation_1da74e23-84e0-05e2-eaa4-8b2639e69c5c" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_a5cdbce3-fe65-b358-3a60-8b2639837003" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAccumulatedDepreciation_1da74e23-84e0-05e2-eaa4-8b2639e69c5c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_96b02e20-c08f-eb2b-af48-9db0322063f1" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_f30b9be6-59bd-43dd-a4a4-1c4cbaaa1790" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_96b02e20-c08f-eb2b-af48-9db0322063f1" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DisposalGroupIncludingDiscontinuedOperationDeferredRentReceivablesNet" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationDeferredRentReceivablesNet_dd9b3b09-1d33-8afb-bb3a-8b26399ff446" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_f30b9be6-59bd-43dd-a4a4-1c4cbaaa1790" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationDeferredRentReceivablesNet_dd9b3b09-1d33-8afb-bb3a-8b26399ff446" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfIncomeFromRealEstateAndRelatedAssetsHeldForSaleDetail" xlink:type="extended">
    <link:loc xlink:href="good-20190630.xsd#good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale" xlink:label="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_99cf676f-bcfa-86a2-6240-8b2639959676" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_736da35c-11e9-6d9d-3b67-e466dbe67859" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_99cf676f-bcfa-86a2-6240-8b2639959676" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_736da35c-11e9-6d9d-3b67-e466dbe67859" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_f89887dd-c132-b4fa-9515-8b798d91998e" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_99cf676f-bcfa-86a2-6240-8b2639959676" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_f89887dd-c132-b4fa-9515-8b798d91998e" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_fd7f07d8-32e9-4f06-263c-8b26399e52b9" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_99cf676f-bcfa-86a2-6240-8b2639959676" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_fd7f07d8-32e9-4f06-263c-8b26399e52b9" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesSummaryOfPropertySoldDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RelatedPartyTransactions" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RelatedPartyTransactionsAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/SubsequentEvents" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/SubsequentEventsAdditionalInformationDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/SubsequentEventsMonthlyDistributionsDeclaredByCompanysBoardOfDirectorsDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/SubsequentEventsTables" xlink:type="extended" />
</link:linkbase>
