SEC Info  
    Home      Search      My Interests      Help      Sign In      Please Sign In

Gladstone Commercial Corp. – ‘10-K’ for 12/31/22 – ‘EX-101.CAL’

On:  Wednesday, 2/22/23, at 4:06pm ET   ·   For:  12/31/22   ·   Accession #:  1234006-23-3   ·   File #:  1-33097

Previous ‘10-K’:  ‘10-K’ on 2/15/22 for 12/31/21   ·   Next & Latest:  ‘10-K’ on 2/21/24 for 12/31/23   ·   21 References:   

Find Words in Filings emoji
 
  in    Show  and   Hints

  As Of               Filer                 Filing    For·On·As Docs:Size

 2/22/23  Gladstone Commercial Corp.        10-K       12/31/22   82:19M

Annual Report   —   Form 10-K

Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-K        Annual Report                                       HTML   4.51M 
 2: EX-4.6      Instrument Defining the Rights of Security Holders  HTML     88K 
 3: EX-10.12    Material Contract                                   HTML     24K 
 4: EX-21       Subsidiaries List                                   HTML     34K 
 5: EX-23       Consent of Expert or Counsel                        HTML     25K 
10: EX-99.1     Miscellaneous Exhibit                               HTML     25K 
 6: EX-31.1     Certification -- §302 - SOA'02                      HTML     28K 
 7: EX-31.2     Certification -- §302 - SOA'02                      HTML     28K 
 8: EX-32.1     Certification -- §906 - SOA'02                      HTML     25K 
 9: EX-32.2     Certification -- §906 - SOA'02                      HTML     25K 
16: R1          Cover Page                                          HTML     98K 
17: R2          Audit Information                                   HTML     30K 
18: R3          Consolidated Balance Sheets                         HTML    151K 
19: R4          Consolidated Balance Sheets (Parenthetical)         HTML     59K 
20: R5          Consolidated Statements of Operations and           HTML    164K 
                Comprehensive Income                                             
21: R6          Consolidated Statements of Equity                   HTML    122K 
22: R7          Consolidated Statements of Cash Flows               HTML    169K 
23: R8          Organization, Basis of Presentation and             HTML     65K 
                Significant Accounting Policies                                  
24: R9          Related-Party Transactions                          HTML     47K 
25: R10         (Loss) Earnings per Share of Common Stock           HTML     50K 
26: R11         Real Estate and Intangible Assets                   HTML    116K 
27: R12         Real Estate Dispositions, Held for Sale, and        HTML     55K 
                Impairment Charges                                               
28: R13         Mortgage Notes Payable and Credit Facility          HTML    149K 
29: R14         Commitments and Contingencies                       HTML     37K 
30: R15         Equity and Mezzanine Equity                         HTML     98K 
31: R16         Subsequent Events                                   HTML     49K 
32: R17         Schedule III - Real Estate and Accumulated          HTML    663K 
                Depreciation                                                     
33: R18         Organization, Basis of Presentation and             HTML    101K 
                Significant Accounting Policies (Policies)                       
34: R19         (Loss) Earnings per Share of Common Stock (Tables)  HTML     50K 
35: R20         Real Estate and Intangible Assets (Tables)          HTML    126K 
36: R21         Real Estate Dispositions, Held for Sale, and        HTML     56K 
                Impairment Charges (Tables)                                      
37: R22         Mortgage Notes Payable and Credit Facility          HTML    144K 
                (Tables)                                                         
38: R23         Commitments and Contingencies (Tables)              HTML     34K 
39: R24         Equity and Mezzanine Equity (Tables)                HTML     77K 
40: R25         Subsequent Events (Tables)                          HTML     48K 
41: R26         Organization, Basis of Presentation and             HTML     96K 
                Significant Accounting Policies - Additional                     
                Information (Details)                                            
42: R27         Related-Party Transactions (Details)                HTML    109K 
43: R28         (Loss) Earnings per Share of Common Stock           HTML     65K 
                (Details)                                                        
44: R29         Real Estate and Intangible Assets - Components of   HTML     43K 
                Investments in Real Estate (Details)                             
45: R30         Real Estate and Intangible Assets - Summary of      HTML    148K 
                Properties Acquired (Details)                                    
46: R31         Real Estate and Intangible Assets - Fair Value of   HTML     52K 
                Acquired Assets and Liabilities Assumed (Details)                
47: R32         Real Estate and Intangible Assets - Future          HTML     40K 
                Operating Lease Payments from Tenants under                      
                Non-Cancelable Leases (Details)                                  
48: R33         Real Estate and Intangible Assets - Lease Revenue   HTML     33K 
                (Details)                                                        
49: R34         Real Estate and Intangible Assets - Legal           HTML     26K 
                Settlement (Details)                                             
50: R35         Real Estate and Intangible Assets - Carrying Value  HTML     51K 
                of Intangible Assets and Accumulated Amortization                
                (Details)                                                        
51: R36         Real Estate and Intangible Assets - Weighted        HTML     38K 
                Average Amortization Period for Intangible Assets                
                Acquired and Liabilities Assumed (Details)                       
52: R37         Real Estate and Intangible Assets - Estimated       HTML     40K 
                Aggregate Amortization Expense (Details)                         
53: R38         Real Estate and Intangible Assets - Summary of      HTML     46K 
                Estimated Aggregate Rental Income (Details)                      
54: R39         Real Estate Dispositions, Held for Sale, and        HTML     41K 
                Impairment Charges - Summary of Properties Sold                  
                (Details)                                                        
55: R40         Real Estate Dispositions, Held for Sale, and        HTML     46K 
                Impairment Charges - Components of Operating                     
                Income from Real Estate and Related Assets                       
                Disposed (Details)                                               
56: R41         Real Estate Dispositions, Held for Sale, and        HTML     38K 
                Impairment Charges - Additional Information                      
                (Details)                                                        
57: R42         Real Estate Dispositions, Held for Sale, and        HTML     32K 
                Impairment Charges - Components of Assets and                    
                Liabilities Held for Sale (Details)                              
58: R43         Mortgage Notes Payable and Credit Facility -        HTML    130K 
                Additional Information (Details)                                 
59: R44         Mortgage Notes Payable and Credit Facility -        HTML     94K 
                Company's Mortgage Notes Payable and Line of                     
                Credit (Details)                                                 
60: R45         Mortgage Notes Payable and Credit Facility -        HTML     96K 
                Mortgage Notes Payable (Details)                                 
61: R46         Mortgage Notes Payable and Credit Facility -        HTML     52K 
                Schedule of Principal Payments of Mortgage Notes                 
                Payable (Details)                                                
62: R47         Mortgage Notes Payable and Credit Facility -        HTML     45K 
                Interest Rate Caps and Swaps (Details)                           
63: R48         Mortgage Notes Payable and Credit Facility -        HTML     35K 
                Derivative Instruments Impact (Details)                          
64: R49         Mortgage Notes Payable and Credit Facility -        HTML     38K 
                Derivative Instruments Additional Information                    
                (Details)                                                        
65: R50         Commitments and Contingencies - Additional          HTML     40K 
                Information (Details)                                            
66: R51         Commitments and Contingencies - Future Lease        HTML     44K 
                Payments Due Under Operating Leases (Details)                    
67: R52         Equity and Mezzanine Equity - Dividends Declared    HTML     41K 
                (Details)                                                        
68: R53         Equity and Mezzanine Equity - Summary of Changes    HTML     58K 
                in Stockholders' Equity (Details)                                
69: R54         Equity and Mezzanine Equity - Additional            HTML    159K 
                Information (Details)                                            
70: R55         Subsequent Events - Monthly Distributions Declared  HTML     55K 
                by Company's Board of Directors (Details)                        
71: R56         Subsequent Events - Additional Information          HTML     37K 
                (Details)                                                        
72: R57         Schedule III - Real Estate and Accumulated          HTML   1.02M 
                Depreciation (Details)                                           
73: R58         Schedule III - Real Estate and Accumulated          HTML     37K 
                Depreciation Footnote Narrative (Details)                        
74: R59         Schedule III - Real Estate and Accumulated          HTML     39K 
                Depreciation - Change in Balance of Real Estate                  
                (Details)                                                        
75: R60         Schedule III - Real Estate and Accumulated          HTML     28K 
                Depreciation - Change in Balance of Real Estate                  
                Footnote Narrative (Details)                                     
76: R61         Schedule III - Real Estate and Accumulated          HTML     32K 
                Depreciation - Change in Balance of Accumulated                  
                Depreciation (Details)                                           
77: R62         Schedule III - Real Estate and Accumulated          HTML     28K 
                Depreciation - Change in Balance of Accumulated                  
                Depreciation Footnote Narrative (Details)                        
80: XML         IDEA XML File -- Filing Summary                      XML    146K 
78: XML         XBRL Instance -- good-20221231_htm                   XML   5.13M 
79: EXCEL       IDEA Workbook of Financial Reports                  XLSX    260K 
12: EX-101.CAL  XBRL Calculations -- good-20221231_cal               XML    245K 
13: EX-101.DEF  XBRL Definitions -- good-20221231_def                XML   1.13M 
14: EX-101.LAB  XBRL Labels -- good-20221231_lab                     XML   2.48M 
15: EX-101.PRE  XBRL Presentations -- good-20221231_pre              XML   1.45M 
11: EX-101.SCH  XBRL Schema -- good-20221231                         XSD    325K 
81: JSON        XBRL Instance as JSON Data -- MetaLinks              508±   835K 
82: ZIP         XBRL Zipped Folder -- 0001234006-23-000003-xbrl      Zip    893K 


‘EX-101.CAL’   —   XBRL Calculations — good-20221231_cal


This Exhibit is an XBRL XML File.


                                                                                                                                                                                
<?xml version="1.0" encoding="windows-1252"?>
<!-- XBRL Document Created with Wdesk from Workiva -->
<!-- Copyright 2023 Workiva -->
<!-- r:69e7938a-4ac6-462a-a4a3-c1ca4d8ffc1e,g:a3deabb2-f579-49fa-af9e-c8cafb7f5704 -->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="good-20221231.xsd#ConsolidatedBalanceSheets"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_99bae5e8-4046-4500-9927-655362843e5e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_afc5e7cb-6812-4213-a71d-ef3b85638d03" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_99bae5e8-4046-4500-9927-655362843e5e" xlink:to="loc_us-gaap_Liabilities_afc5e7cb-6812-4213-a71d-ef3b85638d03" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_49672d5d-5c0b-44ce-aa80-7a7c3b64dec6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommitmentsAndContingencies"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_99bae5e8-4046-4500-9927-655362843e5e" xlink:to="loc_us-gaap_CommitmentsAndContingencies_49672d5d-5c0b-44ce-aa80-7a7c3b64dec6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount_66c3e67a-6b76-40d6-bb3d-cc1b294dd1bf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_99bae5e8-4046-4500-9927-655362843e5e" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount_66c3e67a-6b76-40d6-bb3d-cc1b294dd1bf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_4ae9fd45-345c-4fdd-9d11-47575ed2f552" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_99bae5e8-4046-4500-9927-655362843e5e" xlink:to="loc_us-gaap_StockholdersEquity_4ae9fd45-345c-4fdd-9d11-47575ed2f552" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_fb7f7d5b-b48b-4a0f-85db-3af467541934" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MinorityInterest"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_99bae5e8-4046-4500-9927-655362843e5e" xlink:to="loc_us-gaap_MinorityInterest_fb7f7d5b-b48b-4a0f-85db-3af467541934" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_ea84e5a0-20e0-48e2-9a71-f6b47d081566" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
<link:loc xlink:type="locator" xlink:label="loc_good_SeniorCommonStockValueIssued_831c68ce-e842-4f04-a6b7-4ffebaa1e603" xlink:href="good-20221231.xsd#good_SeniorCommonStockValueIssued"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_ea84e5a0-20e0-48e2-9a71-f6b47d081566" xlink:to="loc_good_SeniorCommonStockValueIssued_831c68ce-e842-4f04-a6b7-4ffebaa1e603" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_8c9ea84c-3bbf-4531-aa5d-9c40c50f4f53" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockValue"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_ea84e5a0-20e0-48e2-9a71-f6b47d081566" xlink:to="loc_us-gaap_CommonStockValue_8c9ea84c-3bbf-4531-aa5d-9c40c50f4f53" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_e99d80cf-13c8-4d89-bd2c-b3f2c0280eed" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockValue"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_ea84e5a0-20e0-48e2-9a71-f6b47d081566" xlink:to="loc_us-gaap_PreferredStockValue_e99d80cf-13c8-4d89-bd2c-b3f2c0280eed" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_27ac91fe-4b18-4e20-b68a-27fc04c28ff5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapital"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_ea84e5a0-20e0-48e2-9a71-f6b47d081566" xlink:to="loc_us-gaap_AdditionalPaidInCapital_27ac91fe-4b18-4e20-b68a-27fc04c28ff5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_65f1daf2-de4a-4fba-8ca4-f404299869db" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_ea84e5a0-20e0-48e2-9a71-f6b47d081566" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_65f1daf2-de4a-4fba-8ca4-f404299869db" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncome_a7a1f372-aba3-455a-9cbf-eac5ded63a3f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDistributionsInExcessOfNetIncome"/>
<link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_ea84e5a0-20e0-48e2-9a71-f6b47d081566" xlink:to="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncome_a7a1f372-aba3-455a-9cbf-eac5ded63a3f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6367fead-a0d7-430f-bf4c-f87d885894b6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_49c35ec7-8beb-40de-805b-f75ffb1ddd40" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6367fead-a0d7-430f-bf4c-f87d885894b6" xlink:to="loc_us-gaap_StockholdersEquity_49c35ec7-8beb-40de-805b-f75ffb1ddd40" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_c4db36bf-fb34-4acd-b1fa-65c45f30309f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MinorityInterest"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6367fead-a0d7-430f-bf4c-f87d885894b6" xlink:to="loc_us-gaap_MinorityInterest_c4db36bf-fb34-4acd-b1fa-65c45f30309f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_96733550-ccf4-482e-90f1-e39b22c9640f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_c29c3728-c277-497d-9c75-d1d24ccc6145" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96733550-ccf4-482e-90f1-e39b22c9640f" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyNet_c29c3728-c277-497d-9c75-d1d24ccc6145" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_1620218c-4d66-4bda-86e1-219cf63477a0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96733550-ccf4-482e-90f1-e39b22c9640f" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_1620218c-4d66-4bda-86e1-219cf63477a0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_580dc8cb-c117-4ca8-9ecc-47e0af4a914b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96733550-ccf4-482e-90f1-e39b22c9640f" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_580dc8cb-c117-4ca8-9ecc-47e0af4a914b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_732cb311-19f2-4a4e-847f-222b519ed3cf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96733550-ccf4-482e-90f1-e39b22c9640f" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_732cb311-19f2-4a4e-847f-222b519ed3cf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_e806234e-8aed-4ee1-8ee3-6bea9d1f9dc1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96733550-ccf4-482e-90f1-e39b22c9640f" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_e806234e-8aed-4ee1-8ee3-6bea9d1f9dc1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EscrowDeposit_b1505326-9fa7-4054-bf23-28a3d38b872d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EscrowDeposit"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96733550-ccf4-482e-90f1-e39b22c9640f" xlink:to="loc_us-gaap_EscrowDeposit_b1505326-9fa7-4054-bf23-28a3d38b872d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_3250fa60-9a91-4fdf-91f6-d6dcbb6b3bf7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96733550-ccf4-482e-90f1-e39b22c9640f" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_3250fa60-9a91-4fdf-91f6-d6dcbb6b3bf7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRentReceivablesNet_6d70195b-3523-4122-8693-ff997840cf01" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredRentReceivablesNet"/>
<link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96733550-ccf4-482e-90f1-e39b22c9640f" xlink:to="loc_us-gaap_DeferredRentReceivablesNet_6d70195b-3523-4122-8693-ff997840cf01" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_b43fc215-37e8-4e24-b084-0e75bb7f1963" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssets"/>
<link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96733550-ccf4-482e-90f1-e39b22c9640f" xlink:to="loc_us-gaap_OtherAssets_b43fc215-37e8-4e24-b084-0e75bb7f1963" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_5d80125c-ab83-4619-81a0-1f10481c14d5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAtCost_9f6ff841-bed6-4390-bfed-470d1cd38d3b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealEstateInvestmentPropertyAtCost"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_5d80125c-ab83-4619-81a0-1f10481c14d5" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAtCost_9f6ff841-bed6-4390-bfed-470d1cd38d3b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_7a4ba3e9-01ba-4cc9-84f5-7eb2ebff86c6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_5d80125c-ab83-4619-81a0-1f10481c14d5" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_7a4ba3e9-01ba-4cc9-84f5-7eb2ebff86c6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_9d2715e4-cee2-4b38-8c06-65d568c8750a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredLongTermDebt_8f6b50a4-7f72-49ab-84c0-9fa00dced1db" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SecuredLongTermDebt"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9d2715e4-cee2-4b38-8c06-65d568c8750a" xlink:to="loc_us-gaap_SecuredLongTermDebt_8f6b50a4-7f72-49ab-84c0-9fa00dced1db" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_8d7a22af-ea04-4714-9c95-f5105c5f11f2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCredit"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9d2715e4-cee2-4b38-8c06-65d568c8750a" xlink:to="loc_us-gaap_LineOfCredit_8d7a22af-ea04-4714-9c95-f5105c5f11f2" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayable_633af76e-47e0-4995-a22f-2f9784b5c471" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NotesPayable"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9d2715e4-cee2-4b38-8c06-65d568c8750a" xlink:to="loc_us-gaap_NotesPayable_633af76e-47e0-4995-a22f-2f9784b5c471" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedRentCurrentAndNoncurrent_7964bf09-a9e4-4287-b85f-68a6c9f20872" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedRentCurrentAndNoncurrent"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9d2715e4-cee2-4b38-8c06-65d568c8750a" xlink:to="loc_us-gaap_AccruedRentCurrentAndNoncurrent_7964bf09-a9e4-4287-b85f-68a6c9f20872" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_0e7ac630-a12d-465e-89b1-1c710ec9ab77" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiability"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9d2715e4-cee2-4b38-8c06-65d568c8750a" xlink:to="loc_us-gaap_OperatingLeaseLiability_0e7ac630-a12d-465e-89b1-1c710ec9ab77" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligation_d5bc2978-995c-4630-8984-e95c359d9857" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetRetirementObligation"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9d2715e4-cee2-4b38-8c06-65d568c8750a" xlink:to="loc_us-gaap_AssetRetirementObligation_d5bc2978-995c-4630-8984-e95c359d9857" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_cfe25ef7-fb41-424a-ac38-2c8e95129811" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9d2715e4-cee2-4b38-8c06-65d568c8750a" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_cfe25ef7-fb41-424a-ac38-2c8e95129811" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DueToRelatedPartiesCurrentAndNoncurrent_663c4b63-f170-4239-8381-d260e8e9240d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DueToRelatedPartiesCurrentAndNoncurrent"/>
<link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9d2715e4-cee2-4b38-8c06-65d568c8750a" xlink:to="loc_us-gaap_DueToRelatedPartiesCurrentAndNoncurrent_663c4b63-f170-4239-8381-d260e8e9240d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_8844fb7c-8b1a-4d83-a621-9459e5884ea0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilities"/>
<link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_9d2715e4-cee2-4b38-8c06-65d568c8750a" xlink:to="loc_us-gaap_OtherLiabilities_8844fb7c-8b1a-4d83-a621-9459e5884ea0" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/ConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="simple" xlink:href="good-20221231.xsd#ConsolidatedStatementsofOperationsandComprehensiveIncome"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/ConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_5595d7f4-25c0-4024-aeb6-82fd359d2fdc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingExpenses"/>
<link:loc xlink:type="locator" xlink:label="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_82bc493c-db5b-40da-aa78-82182328813f" xlink:href="good-20221231.xsd#good_OperatingExpensesBeforeIncentiveFeeCredit"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_5595d7f4-25c0-4024-aeb6-82fd359d2fdc" xlink:to="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_82bc493c-db5b-40da-aa78-82182328813f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_IncentiveFeeCredit_94a50af9-5379-435e-a2e6-c389cd76599b" xlink:href="good-20221231.xsd#good_IncentiveFeeCredit"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_5595d7f4-25c0-4024-aeb6-82fd359d2fdc" xlink:to="loc_good_IncentiveFeeCredit_94a50af9-5379-435e-a2e6-c389cd76599b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_2fdca872-9a76-42c9-9a87-03e8c8e76ff6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NonoperatingIncomeExpense"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_2f029baa-ecdd-44cb-bc9b-d9020d167373" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpense"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_2fdca872-9a76-42c9-9a87-03e8c8e76ff6" xlink:to="loc_us-gaap_InterestExpense_2f029baa-ecdd-44cb-bc9b-d9020d167373" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_0e1ae342-884a-4a46-94bd-81f7decfc7bf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnSaleOfProperties"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_2fdca872-9a76-42c9-9a87-03e8c8e76ff6" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_0e1ae342-884a-4a46-94bd-81f7decfc7bf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncome_0d724da9-ffa1-4aa7-b7e7-8772bbb8d0ce" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherNonoperatingIncome"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_2fdca872-9a76-42c9-9a87-03e8c8e76ff6" xlink:to="loc_us-gaap_OtherNonoperatingIncome_0d724da9-ffa1-4aa7-b7e7-8772bbb8d0ce" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_5acd3a54-3a91-4313-abd1-7049012b46bc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_362bf100-5d56-48cd-8bf5-a5360e80fe39" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_5acd3a54-3a91-4313-abd1-7049012b46bc" xlink:to="loc_us-gaap_Revenues_362bf100-5d56-48cd-8bf5-a5360e80fe39" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_6671e252-7e28-4981-acdb-fac9f3e5aced" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingExpenses"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_5acd3a54-3a91-4313-abd1-7049012b46bc" xlink:to="loc_us-gaap_OperatingExpenses_6671e252-7e28-4981-acdb-fac9f3e5aced" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_ef342cf8-b006-47e5-9d39-8740c5b27bc4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NonoperatingIncomeExpense"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_5acd3a54-3a91-4313-abd1-7049012b46bc" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_ef342cf8-b006-47e5-9d39-8740c5b27bc4" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_df0e2dfc-1312-4f41-8609-baca358bc62d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_2aec9b3b-7d6a-4c1f-88c7-1cbfd16b193a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_df0e2dfc-1312-4f41-8609-baca358bc62d" xlink:to="loc_us-gaap_ProfitLoss_2aec9b3b-7d6a-4c1f-88c7-1cbfd16b193a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_2e679844-4d19-4406-b3d9-69967558d562" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_df0e2dfc-1312-4f41-8609-baca358bc62d" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_2e679844-4d19-4406-b3d9-69967558d562" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_958915b0-fea6-458c-b24a-6f5f5be3adb3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseIncome_b270a938-13b1-4a7b-b345-dcc5d184db1d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeaseIncome"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_958915b0-fea6-458c-b24a-6f5f5be3adb3" xlink:to="loc_us-gaap_LeaseIncome_b270a938-13b1-4a7b-b345-dcc5d184db1d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_fde49511-df73-48e5-a74e-5178fedcc74f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_2e7250f4-1ba4-4f61-a880-2c64dade64eb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_fde49511-df73-48e5-a74e-5178fedcc74f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_2e7250f4-1ba4-4f61-a880-2c64dade64eb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_36ee629d-ad55-4ba2-87d2-bd567f1638d5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_fc760d4f-e7b8-4ac2-8979-ea066101fe22" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_36ee629d-ad55-4ba2-87d2-bd567f1638d5" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_fc760d4f-e7b8-4ac2-8979-ea066101fe22" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_3f2a31de-b786-42c4-a9a0-3353f0d2d4b2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_36ee629d-ad55-4ba2-87d2-bd567f1638d5" xlink:to="loc_us-gaap_ProfitLoss_3f2a31de-b786-42c4-a9a0-3353f0d2d4b2" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_848a2750-ae8e-4c23-a5f7-062ffed5d772" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_07ce5d48-ff55-442f-ab92-9ba923f1024f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_848a2750-ae8e-4c23-a5f7-062ffed5d772" xlink:to="loc_us-gaap_NetIncomeLoss_07ce5d48-ff55-442f-ab92-9ba923f1024f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockDividends_fe32884d-44a0-47d7-b0f7-1e88468c2089" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RedeemablePreferredStockDividends"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_848a2750-ae8e-4c23-a5f7-062ffed5d772" xlink:to="loc_us-gaap_RedeemablePreferredStockDividends_fe32884d-44a0-47d7-b0f7-1e88468c2089" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PreferredStockWriteOffOfOfferingCosts_07434e9a-685f-4d58-95af-1f0a5d7ac3ac" xlink:href="good-20221231.xsd#good_PreferredStockWriteOffOfOfferingCosts"/>
<link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_848a2750-ae8e-4c23-a5f7-062ffed5d772" xlink:to="loc_good_PreferredStockWriteOffOfOfferingCosts_07434e9a-685f-4d58-95af-1f0a5d7ac3ac" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_DistributionsAttributableToSeniorCommonStock_ecd4c7fe-8af3-4862-b686-e431690fc626" xlink:href="good-20221231.xsd#good_DistributionsAttributableToSeniorCommonStock"/>
<link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_848a2750-ae8e-4c23-a5f7-062ffed5d772" xlink:to="loc_good_DistributionsAttributableToSeniorCommonStock_ecd4c7fe-8af3-4862-b686-e431690fc626" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_GainLossOnExtinguishmentOfPreferredStock_0897e3d3-a909-436c-87e2-1deaedfe21f3" xlink:href="good-20221231.xsd#good_GainLossOnExtinguishmentOfPreferredStock"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_848a2750-ae8e-4c23-a5f7-062ffed5d772" xlink:to="loc_good_GainLossOnExtinguishmentOfPreferredStock_0897e3d3-a909-436c-87e2-1deaedfe21f3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockRedemptionDiscount_43280378-1c20-4876-81a9-5242a266163f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockRedemptionDiscount"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_848a2750-ae8e-4c23-a5f7-062ffed5d772" xlink:to="loc_us-gaap_PreferredStockRedemptionDiscount_43280378-1c20-4876-81a9-5242a266163f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_ecd1b2fc-16c4-4bab-8837-9c9804e1e1c5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_3dbd1abd-10e5-4242-bfce-a77be099e2c0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_ecd1b2fc-16c4-4bab-8837-9c9804e1e1c5" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_3dbd1abd-10e5-4242-bfce-a77be099e2c0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_0c013b2c-60e8-41e3-a9bb-1ed3b5b01361" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_ecd1b2fc-16c4-4bab-8837-9c9804e1e1c5" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_0c013b2c-60e8-41e3-a9bb-1ed3b5b01361" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_f7b7a939-cddb-4de1-88f8-14eb773c17a3" xlink:href="good-20221231.xsd#good_OperatingExpensesBeforeIncentiveFeeCredit"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_26a7a5aa-903d-4371-ade2-6da09cacb394" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DepreciationAndAmortization"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_f7b7a939-cddb-4de1-88f8-14eb773c17a3" xlink:to="loc_us-gaap_DepreciationAndAmortization_26a7a5aa-903d-4371-ade2-6da09cacb394" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PropertyOperatingExpenses_20301d02-30dd-4326-9fb7-b2ad4612ee7f" xlink:href="good-20221231.xsd#good_PropertyOperatingExpenses"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_f7b7a939-cddb-4de1-88f8-14eb773c17a3" xlink:to="loc_good_PropertyOperatingExpenses_20301d02-30dd-4326-9fb7-b2ad4612ee7f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_BaseManagementFee_e0b82031-e6d1-4383-94f9-b18b332cba34" xlink:href="good-20221231.xsd#good_BaseManagementFee"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_f7b7a939-cddb-4de1-88f8-14eb773c17a3" xlink:to="loc_good_BaseManagementFee_e0b82031-e6d1-4383-94f9-b18b332cba34" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_IncentiveFee_bedd1dc9-d477-401b-87dd-a34104a17012" xlink:href="good-20221231.xsd#good_IncentiveFee"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_f7b7a939-cddb-4de1-88f8-14eb773c17a3" xlink:to="loc_good_IncentiveFee_bedd1dc9-d477-401b-87dd-a34104a17012" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_AdministrationFee_3c39aa39-1f2b-4673-8313-d66aa6ba8b4c" xlink:href="good-20221231.xsd#good_AdministrationFee"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_f7b7a939-cddb-4de1-88f8-14eb773c17a3" xlink:to="loc_good_AdministrationFee_3c39aa39-1f2b-4673-8313-d66aa6ba8b4c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_3b99a825-6071-47bf-aaaa-666aa2cef0dc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_f7b7a939-cddb-4de1-88f8-14eb773c17a3" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_3b99a825-6071-47bf-aaaa-666aa2cef0dc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_d070287e-0d32-440c-885b-86e36701b2f4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetImpairmentCharges"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_f7b7a939-cddb-4de1-88f8-14eb773c17a3" xlink:to="loc_us-gaap_AssetImpairmentCharges_d070287e-0d32-440c-885b-86e36701b2f4" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="good-20221231.xsd#ConsolidatedStatementsofCashFlows"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_eb83f027-a7af-47a7-a0e6-b91457b60131" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_eb83f027-a7af-47a7-a0e6-b91457b60131" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_24db0b07-fb9e-40f9-807a-9665f5fcdb2c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_24db0b07-fb9e-40f9-807a-9665f5fcdb2c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_3266286d-5a57-40c7-8541-6c8f34d16362" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock"/>
<link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_3266286d-5a57-40c7-8541-6c8f34d16362" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromNotesPayable_81761a22-47f3-48f9-bbe9-e08dfa440fac" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromNotesPayable"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_us-gaap_ProceedsFromNotesPayable_81761a22-47f3-48f9-bbe9-e08dfa440fac" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_eeb23fce-e3a6-4c0b-a4b4-cbebeebde7d0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfFinancingCosts"/>
<link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_eeb23fce-e3a6-4c0b-a4b4-cbebeebde7d0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_7c27f87c-9ecf-4e2f-84f6-afebaff060e3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
<link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_7c27f87c-9ecf-4e2f-84f6-afebaff060e3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_802da9ac-6717-40ed-aa89-bc1da3430e08" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_802da9ac-6717-40ed-aa89-bc1da3430e08" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_67a39034-d384-4319-b84b-22145e7a9553" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit"/>
<link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_67a39034-d384-4319-b84b-22145e7a9553" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_b14ddb43-4413-434e-8145-28cdc73476dd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
<link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_b14ddb43-4413-434e-8145-28cdc73476dd" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_b208f2dd-4c6f-4666-b3f5-5a86cb8448b6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
<link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_b208f2dd-4c6f-4666-b3f5-5a86cb8448b6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_IncreaseDecreaseInSecurityDeposit_60baa49d-c965-4c9a-aa77-c50682ffe36f" xlink:href="good-20221231.xsd#good_IncreaseDecreaseInSecurityDeposit"/>
<link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_good_IncreaseDecreaseInSecurityDeposit_60baa49d-c965-4c9a-aa77-c50682ffe36f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_d996d1e8-9870-4f95-9748-31b615e6aa80" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDividends"/>
<link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_8fee3a47-4970-42e8-a6a7-d0fab2bd4ca6" xlink:to="loc_us-gaap_PaymentsOfDividends_d996d1e8-9870-4f95-9748-31b615e6aa80" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_c89ddb0b-7f7b-4f1c-858f-445d24f7d608" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1518729a-f815-42e7-b004-bedfe2d3aa55" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_c89ddb0b-7f7b-4f1c-858f-445d24f7d608" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1518729a-f815-42e7-b004-bedfe2d3aa55" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_f139f067-6d5d-4e91-a5b6-58cf3fc53e09" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestrictedCash"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_c89ddb0b-7f7b-4f1c-858f-445d24f7d608" xlink:to="loc_us-gaap_RestrictedCash_f139f067-6d5d-4e91-a5b6-58cf3fc53e09" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ac3b9f99-652d-4203-8903-38477a27a49c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PaymentsToAcquireRealEstateAndIntangibleAssets_0ad9d759-4859-4f70-ae24-0e986fd7bad0" xlink:href="good-20221231.xsd#good_PaymentsToAcquireRealEstateAndIntangibleAssets"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ac3b9f99-652d-4203-8903-38477a27a49c" xlink:to="loc_good_PaymentsToAcquireRealEstateAndIntangibleAssets_0ad9d759-4859-4f70-ae24-0e986fd7bad0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_ImprovementsOfExistingRealEstate_af4109b5-6595-46e2-aa86-2d42c8e27585" xlink:href="good-20221231.xsd#good_ImprovementsOfExistingRealEstate"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ac3b9f99-652d-4203-8903-38477a27a49c" xlink:to="loc_good_ImprovementsOfExistingRealEstate_af4109b5-6595-46e2-aa86-2d42c8e27585" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLandHeldforinvestment_362b4b93-1784-4c1a-8a1d-df43a5504ab7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromSaleOfLandHeldforinvestment"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ac3b9f99-652d-4203-8903-38477a27a49c" xlink:to="loc_us-gaap_ProceedsFromSaleOfLandHeldforinvestment_362b4b93-1784-4c1a-8a1d-df43a5504ab7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_ReceiptsFromLendersForReservesHeldInEscrow_629337e7-bf30-4853-b75b-bf601045ef1a" xlink:href="good-20221231.xsd#good_ReceiptsFromLendersForReservesHeldInEscrow"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ac3b9f99-652d-4203-8903-38477a27a49c" xlink:to="loc_good_ReceiptsFromLendersForReservesHeldInEscrow_629337e7-bf30-4853-b75b-bf601045ef1a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PaymentsToLendersForReservesHeldInEscrow_d955d78b-258c-494c-b9a0-481cc3018787" xlink:href="good-20221231.xsd#good_PaymentsToLendersForReservesHeldInEscrow"/>
<link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ac3b9f99-652d-4203-8903-38477a27a49c" xlink:to="loc_good_PaymentsToLendersForReservesHeldInEscrow_d955d78b-258c-494c-b9a0-481cc3018787" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_ReceiptsFromTenantsForReserves_4363031a-3902-4ead-8303-66bb71821b3d" xlink:href="good-20221231.xsd#good_ReceiptsFromTenantsForReserves"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ac3b9f99-652d-4203-8903-38477a27a49c" xlink:to="loc_good_ReceiptsFromTenantsForReserves_4363031a-3902-4ead-8303-66bb71821b3d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PaymentsToTenantsFromReserves_61d4c997-52ad-4f4d-b770-ee2438a01c33" xlink:href="good-20221231.xsd#good_PaymentsToTenantsFromReserves"/>
<link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ac3b9f99-652d-4203-8903-38477a27a49c" xlink:to="loc_good_PaymentsToTenantsFromReserves_61d4c997-52ad-4f4d-b770-ee2438a01c33" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireRealEstateHeldForInvestment_241d12af-1668-4dd5-a0ed-9fa39dbedefd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireRealEstateHeldForInvestment"/>
<link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ac3b9f99-652d-4203-8903-38477a27a49c" xlink:to="loc_us-gaap_PaymentsToAcquireRealEstateHeldForInvestment_241d12af-1668-4dd5-a0ed-9fa39dbedefd" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_9b1e2985-3de3-4bd1-9d43-0b27fb7e9e52" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_ProfitLoss_9b1e2985-3de3-4bd1-9d43-0b27fb7e9e52" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_c1f1afb7-914e-42ed-b30d-f611b2bc076b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DepreciationAndAmortization"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_DepreciationAndAmortization_c1f1afb7-914e-42ed-b30d-f611b2bc076b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_cf71722f-7e13-441b-91b3-f878863472f3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetImpairmentCharges"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_AssetImpairmentCharges_cf71722f-7e13-441b-91b3-f878863472f3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_e0ba0b37-b0bd-42ca-9c25-6ab4544dac41" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnSaleOfProperties"/>
<link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_e0ba0b37-b0bd-42ca-9c25-6ab4544dac41" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_250de42a-0335-4814-aed6-ebda18d51110" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfFinancingCosts"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_250de42a-0335-4814-aed6-ebda18d51110" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_AmortizationOfDeferredRentAssetAndLiabilityNet_94cb3fe9-1da1-46a9-814a-74f10bfe11e1" xlink:href="good-20221231.xsd#good_AmortizationOfDeferredRentAssetAndLiabilityNet"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_good_AmortizationOfDeferredRentAssetAndLiabilityNet_94cb3fe9-1da1-46a9-814a-74f10bfe11e1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_edc8e2ce-671f-44e8-beb4-403761697d09" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
<link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_edc8e2ce-671f-44e8-beb4-403761697d09" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_AssetRetirementObligationExpense_db80d122-4c9d-409d-b259-217c2d2febb3" xlink:href="good-20221231.xsd#good_AssetRetirementObligationExpense"/>
<link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_good_AssetRetirementObligationExpense_db80d122-4c9d-409d-b259-217c2d2febb3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_f2513fb0-d8c3-4d91-9396-3f0c755dcfb1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
<link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_f2513fb0-d8c3-4d91-9396-3f0c755dcfb1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_bf0d4005-234a-45f1-aa83-c2ea0722e94a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
<link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_bf0d4005-234a-45f1-aa83-c2ea0722e94a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_f7744a6f-5476-42a5-9ce5-f9fdba14f8dc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
<link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_f7744a6f-5476-42a5-9ce5-f9fdba14f8dc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StraightLineRent_c06e8fc9-25c9-42cd-aa4f-cd953c10aef8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StraightLineRent"/>
<link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_StraightLineRent_c06e8fc9-25c9-42cd-aa4f-cd953c10aef8" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_9ff3bdbd-45ef-4e9c-98e6-9fe48c3770fc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
<link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_9ff3bdbd-45ef-4e9c-98e6-9fe48c3770fc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesDueToAdviserAndAdministrator_20585d07-515f-47df-84dd-8b4fcb664677" xlink:href="good-20221231.xsd#good_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesDueToAdviserAndAdministrator"/>
<link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_good_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesDueToAdviserAndAdministrator_20585d07-515f-47df-84dd-8b4fcb664677" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_3157f648-5710-4e1a-a17e-5417e7c7ff2a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
<link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_3157f648-5710-4e1a-a17e-5417e7c7ff2a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PaymentsforTenantInducement_72066132-0987-4039-837d-21e368abdfe5" xlink:href="good-20221231.xsd#good_PaymentsforTenantInducement"/>
<link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_good_PaymentsforTenantInducement_72066132-0987-4039-837d-21e368abdfe5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForCommissions_c3edb4d6-304c-453b-a718-13747bec20c6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsForCommissions"/>
<link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_19d57207-a7b7-4f74-a2db-0b1a058c5de4" xlink:to="loc_us-gaap_PaymentsForCommissions_c3edb4d6-304c-453b-a718-13747bec20c6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2ce05807-761f-4bab-b024-d6599da21e6f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_90f6ab70-80a3-4797-9607-405054c14278" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2ce05807-761f-4bab-b024-d6599da21e6f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_90f6ab70-80a3-4797-9607-405054c14278" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_10a25dd4-6bb9-4e1e-aeaf-d1d1ec03a884" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2ce05807-761f-4bab-b024-d6599da21e6f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_10a25dd4-6bb9-4e1e-aeaf-d1d1ec03a884" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_bf213754-a27b-4e1c-840b-2ba5079d50b1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_2ce05807-761f-4bab-b024-d6599da21e6f" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_bf213754-a27b-4e1c-840b-2ba5079d50b1" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/LossEarningsperShareofCommonStockDetails" xlink:type="simple" xlink:href="good-20221231.xsd#LossEarningsperShareofCommonStockDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/LossEarningsperShareofCommonStockDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_25ef2450-a440-4026-9dee-496d10b87e47" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_66efaf22-8fd6-4950-890f-19b39d73d57a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_25ef2450-a440-4026-9dee-496d10b87e47" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_66efaf22-8fd6-4950-890f-19b39d73d57a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_eb94fc5d-d2ca-40fa-bc69-fea8faac9c9d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_25ef2450-a440-4026-9dee-496d10b87e47" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_eb94fc5d-d2ca-40fa-bc69-fea8faac9c9d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_219d55e5-2f0c-4183-a22b-b4fd8cc32c37" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_42f68105-0f45-4294-a754-28b301a9dc61" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_219d55e5-2f0c-4183-a22b-b4fd8cc32c37" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_42f68105-0f45-4294-a754-28b301a9dc61" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsComponentsofInvestmentsinRealEstateDetails" xlink:type="simple" xlink:href="good-20221231.xsd#RealEstateandIntangibleAssetsComponentsofInvestmentsinRealEstateDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsComponentsofInvestmentsinRealEstateDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_dff50c2c-93dc-4357-8918-7712cd227104" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_c7de86f8-95cf-4e49-8d71-ab3fbd85bc00" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Land"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_dff50c2c-93dc-4357-8918-7712cd227104" xlink:to="loc_us-gaap_Land_c7de86f8-95cf-4e49-8d71-ab3fbd85bc00" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_a8874222-151e-43fd-b0ac-99d64a69991d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentBuildingAndBuildingImprovements"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_dff50c2c-93dc-4357-8918-7712cd227104" xlink:to="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_a8874222-151e-43fd-b0ac-99d64a69991d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_TenantImprovements_ce187372-cc62-4941-ac61-34edeffa7583" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TenantImprovements"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_dff50c2c-93dc-4357-8918-7712cd227104" xlink:to="loc_us-gaap_TenantImprovements_ce187372-cc62-4941-ac61-34edeffa7583" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_e9306351-80e4-4fd0-a0e0-72e6387a3209" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation"/>
<link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_dff50c2c-93dc-4357-8918-7712cd227104" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_e9306351-80e4-4fd0-a0e0-72e6387a3209" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsFairValueofAcquiredAssetsandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="good-20221231.xsd#RealEstateandIntangibleAssetsFairValueofAcquiredAssetsandLiabilitiesAssumedDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsFairValueofAcquiredAssetsandLiabilitiesAssumedDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_good_PurchasePriceOfAcquiredProperty_352fb62f-c1f0-4750-a61c-d66802ff1d5a" xlink:href="good-20221231.xsd#good_PurchasePriceOfAcquiredProperty"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOfAssetsAcquired_b6c4d71e-e506-463a-9f17-af533f6722f7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueOfAssetsAcquired"/>
<link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_PurchasePriceOfAcquiredProperty_352fb62f-c1f0-4750-a61c-d66802ff1d5a" xlink:to="loc_us-gaap_FairValueOfAssetsAcquired_b6c4d71e-e506-463a-9f17-af533f6722f7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAssumed1_4eb28750-fe4c-47d0-a26f-b9894831db80" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAssumed1"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_PurchasePriceOfAcquiredProperty_352fb62f-c1f0-4750-a61c-d66802ff1d5a" xlink:to="loc_us-gaap_LiabilitiesAssumed1_4eb28750-fe4c-47d0-a26f-b9894831db80" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsFutureOperatingLeasePaymentsfromTenantsunderNonCancelableLeasesDetails" xlink:type="simple" xlink:href="good-20221231.xsd#RealEstateandIntangibleAssetsFutureOperatingLeasePaymentsfromTenantsunderNonCancelableLeasesDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsFutureOperatingLeasePaymentsfromTenantsunderNonCancelableLeasesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_7ca870ca-e96a-429a-a2bf-be05b1e4213a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceived"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths_651ea46d-f42f-4e55-9455-70d1117ff449" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_7ca870ca-e96a-429a-a2bf-be05b1e4213a" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths_651ea46d-f42f-4e55-9455-70d1117ff449" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_8ea96193-18ed-4106-95da-6f7af00b715b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_7ca870ca-e96a-429a-a2bf-be05b1e4213a" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_8ea96193-18ed-4106-95da-6f7af00b715b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_490fe7e4-eb33-4f0c-94eb-d4625703400d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_7ca870ca-e96a-429a-a2bf-be05b1e4213a" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_490fe7e4-eb33-4f0c-94eb-d4625703400d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_5bf01c07-8bd8-4b81-9daa-a8008b089d0c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_7ca870ca-e96a-429a-a2bf-be05b1e4213a" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_5bf01c07-8bd8-4b81-9daa-a8008b089d0c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_5d091bb8-fa87-426b-a2bc-54a2d283fdd0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_7ca870ca-e96a-429a-a2bf-be05b1e4213a" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_5d091bb8-fa87-426b-a2bc-54a2d283fdd0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_2ba46dc9-1604-430b-910a-98b686b7d49f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_7ca870ca-e96a-429a-a2bf-be05b1e4213a" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_2ba46dc9-1604-430b-910a-98b686b7d49f" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsLeaseRevenueDetails" xlink:type="simple" xlink:href="good-20221231.xsd#RealEstateandIntangibleAssetsLeaseRevenueDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsLeaseRevenueDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_61d52665-0cd8-4cd0-9303-d03c415fd685" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LeaseCost"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_908867c2-ebca-48ce-8311-e00b0c855d0a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseCost"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_61d52665-0cd8-4cd0-9303-d03c415fd685" xlink:to="loc_us-gaap_OperatingLeaseCost_908867c2-ebca-48ce-8311-e00b0c855d0a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_00b83296-ec0b-4b56-9b6d-eb1802990a4e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableLeaseCost"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_61d52665-0cd8-4cd0-9303-d03c415fd685" xlink:to="loc_us-gaap_VariableLeaseCost_00b83296-ec0b-4b56-9b6d-eb1802990a4e" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails" xlink:type="simple" xlink:href="good-20221231.xsd#RealEstateandIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a3a49252-2ec8-4ee5-988e-07e475199ee2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_5d41d4a3-1e77-432f-991b-a5f43f2dfb9f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a3a49252-2ec8-4ee5-988e-07e475199ee2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_5d41d4a3-1e77-432f-991b-a5f43f2dfb9f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_e405d3a9-55fe-4f2f-b471-33bf36cb74c6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a3a49252-2ec8-4ee5-988e-07e475199ee2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_e405d3a9-55fe-4f2f-b471-33bf36cb74c6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_2e640928-9995-47cd-84b6-d3e9a12b08c0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a3a49252-2ec8-4ee5-988e-07e475199ee2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_2e640928-9995-47cd-84b6-d3e9a12b08c0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_966cf19e-656f-4bd8-9737-9ad8e0ad6866" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a3a49252-2ec8-4ee5-988e-07e475199ee2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_966cf19e-656f-4bd8-9737-9ad8e0ad6866" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_99b71354-c5fa-44b1-afba-4c36dc0257bf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a3a49252-2ec8-4ee5-988e-07e475199ee2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_99b71354-c5fa-44b1-afba-4c36dc0257bf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_b2d49b52-f858-45c7-8f3a-401d18d72f80" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a3a49252-2ec8-4ee5-988e-07e475199ee2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_b2d49b52-f858-45c7-8f3a-401d18d72f80" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesComponentsofOperatingIncomefromRealEstateandRelatedAssetsDisposedDetails" xlink:type="simple" xlink:href="good-20221231.xsd#RealEstateDispositionsHeldforSaleandImpairmentChargesComponentsofOperatingIncomefromRealEstateandRelatedAssetsDisposedDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesComponentsofOperatingIncomefromRealEstateandRelatedAssetsDisposedDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_e0a6f8e3-bc37-42cd-aaef-b0f216359e87" xlink:href="good-20221231.xsd#good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_c290690f-efda-4eb7-addb-5fdf289e20c9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_e0a6f8e3-bc37-42cd-aaef-b0f216359e87" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_c290690f-efda-4eb7-addb-5fdf289e20c9" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_0b756aa6-6bf6-4106-a2d3-fcd2920a3c4e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_e0a6f8e3-bc37-42cd-aaef-b0f216359e87" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_0b756aa6-6bf6-4106-a2d3-fcd2920a3c4e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_472b936c-538f-4a57-9dbd-6ac4f0307d22" xlink:href="good-20221231.xsd#good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_e0a6f8e3-bc37-42cd-aaef-b0f216359e87" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_472b936c-538f-4a57-9dbd-6ac4f0307d22" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesComponentsofAssetsandLiabilitiesHeldforSaleDetails" xlink:type="simple" xlink:href="good-20221231.xsd#RealEstateDispositionsHeldforSaleandImpairmentChargesComponentsofAssetsandLiabilitiesHeldforSaleDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesComponentsofAssetsandLiabilitiesHeldforSaleDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_2e5ec5d8-3acd-4068-bea0-2c4aaebaba22" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
<link:loc xlink:type="locator" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_4803ea47-2dba-454b-9866-ffbf063f81fb" xlink:href="good-20221231.xsd#good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_2e5ec5d8-3acd-4068-bea0-2c4aaebaba22" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_4803ea47-2dba-454b-9866-ffbf063f81fb" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableandCreditFacilityCompanysMortgageNotesPayableandLineofCreditDetails" xlink:type="simple" xlink:href="good-20221231.xsd#MortgageNotesPayableandCreditFacilityCompanysMortgageNotesPayableandLineofCreditDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableandCreditFacilityCompanysMortgageNotesPayableandLineofCreditDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_cd595c47-d783-4cb2-bc0d-e4e678377fc2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebt"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_781cf558-fe93-41b4-b4b8-ddd2057f7db8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_cd595c47-d783-4cb2-bc0d-e4e678377fc2" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_781cf558-fe93-41b4-b4b8-ddd2057f7db8" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_3836f27d-ec32-4825-8b59-6051546e6bef" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_cd595c47-d783-4cb2-bc0d-e4e678377fc2" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_3836f27d-ec32-4825-8b59-6051546e6bef" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_8334d289-fadb-452f-9ec2-6a738833ee77" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DeferredFinanceCostsNet"/>
<link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_cd595c47-d783-4cb2-bc0d-e4e678377fc2" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_8334d289-fadb-452f-9ec2-6a738833ee77" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableandCreditFacilityScheduleofPrincipalPaymentsofMortgageNotesPayableDetails" xlink:type="simple" xlink:href="good-20221231.xsd#MortgageNotesPayableandCreditFacilityScheduleofPrincipalPaymentsofMortgageNotesPayableDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableandCreditFacilityScheduleofPrincipalPaymentsofMortgageNotesPayableDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_8d2c1f2b-df77-4e55-a7e7-b49e97a25891" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_363f8c80-6f89-46e4-9e1d-733c139c41d5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_8d2c1f2b-df77-4e55-a7e7-b49e97a25891" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_363f8c80-6f89-46e4-9e1d-733c139c41d5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_e64a5f3b-eb1b-4b7e-9b78-41824bed044c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_8d2c1f2b-df77-4e55-a7e7-b49e97a25891" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_e64a5f3b-eb1b-4b7e-9b78-41824bed044c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_1762e266-ae44-45e1-87eb-52a171bc49f3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_8d2c1f2b-df77-4e55-a7e7-b49e97a25891" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_1762e266-ae44-45e1-87eb-52a171bc49f3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_2ac6e42c-9f87-4f5e-a7d9-5f5093f9b974" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_8d2c1f2b-df77-4e55-a7e7-b49e97a25891" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_2ac6e42c-9f87-4f5e-a7d9-5f5093f9b974" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_35aa5a0a-77bf-4716-b0a4-90838ab2d1d8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_8d2c1f2b-df77-4e55-a7e7-b49e97a25891" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_35aa5a0a-77bf-4716-b0a4-90838ab2d1d8" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_e1766de3-bc25-4d9c-8d6c-dd5734df2a0f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_8d2c1f2b-df77-4e55-a7e7-b49e97a25891" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_e1766de3-bc25-4d9c-8d6c-dd5734df2a0f" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableandCreditFacilityDerivativeInstrumentsAdditionalInformationDetails" xlink:type="simple" xlink:href="good-20221231.xsd#MortgageNotesPayableandCreditFacilityDerivativeInstrumentsAdditionalInformationDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableandCreditFacilityDerivativeInstrumentsAdditionalInformationDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_716376a1-9e43-43d9-af15-d49f9f886d37" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_7484808f-21bc-43b7-bb47-bd95ee6c5a4f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeAssets"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_716376a1-9e43-43d9-af15-d49f9f886d37" xlink:to="loc_us-gaap_DerivativeAssets_7484808f-21bc-43b7-bb47-bd95ee6c5a4f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_a21c1d6f-b0ee-4b15-8870-1e11ffadd4e6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeLiabilities"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_716376a1-9e43-43d9-af15-d49f9f886d37" xlink:to="loc_us-gaap_DerivativeLiabilities_a21c1d6f-b0ee-4b15-8870-1e11ffadd4e6" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetails" xlink:type="simple" xlink:href="good-20221231.xsd#CommitmentsandContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_38afa6d0-936b-4715-9c12-98514961e5d8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_a2c081f3-9f11-4753-afdb-c4856e4608ba" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_38afa6d0-936b-4715-9c12-98514961e5d8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_a2c081f3-9f11-4753-afdb-c4856e4608ba" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_497ec9a4-7276-4044-9417-9547af59052f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_38afa6d0-936b-4715-9c12-98514961e5d8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_497ec9a4-7276-4044-9417-9547af59052f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_f6d12fb3-2cdf-485a-be0a-3e237df403ef" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_38afa6d0-936b-4715-9c12-98514961e5d8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_f6d12fb3-2cdf-485a-be0a-3e237df403ef" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_5826aff3-e13b-4169-a624-bccd4cadbbcb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_38afa6d0-936b-4715-9c12-98514961e5d8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_5826aff3-e13b-4169-a624-bccd4cadbbcb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_e855705b-3ed2-43ed-879d-4b1287ef0d21" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_38afa6d0-936b-4715-9c12-98514961e5d8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_e855705b-3ed2-43ed-879d-4b1287ef0d21" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_c4cb457f-df19-4ac0-bda3-9bc62b357f45" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
<link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_38afa6d0-936b-4715-9c12-98514961e5d8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_c4cb457f-df19-4ac0-bda3-9bc62b357f45" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetails_1" xlink:type="simple" xlink:href="good-20221231.xsd#CommitmentsandContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetails_1"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetails_1" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d446204b-93d2-4929-ab47-d2ff465ffded" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_308ab582-ea90-4914-8544-91f00971b6b5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d446204b-93d2-4929-ab47-d2ff465ffded" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_308ab582-ea90-4914-8544-91f00971b6b5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_f16e44d9-ae5b-4185-90d2-0f6404978c3c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiability"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d446204b-93d2-4929-ab47-d2ff465ffded" xlink:to="loc_us-gaap_OperatingLeaseLiability_f16e44d9-ae5b-4185-90d2-0f6404978c3c" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/ScheduleIIIRealEstateandAccumulatedDepreciationDetails" xlink:type="simple" xlink:href="good-20221231.xsd#ScheduleIIIRealEstateandAccumulatedDepreciationDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/ScheduleIIIRealEstateandAccumulatedDepreciationDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_SECScheduleIIIRealEstateInvestmentPropertyNet_5dc98ec9-1bb3-4c74-ba0d-3db4ee38dd6a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SECScheduleIIIRealEstateInvestmentPropertyNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateGrossAtCarryingValue_32b6d454-6b31-434d-9b8c-096464a7126b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealEstateGrossAtCarryingValue"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SECScheduleIIIRealEstateInvestmentPropertyNet_5dc98ec9-1bb3-4c74-ba0d-3db4ee38dd6a" xlink:to="loc_us-gaap_RealEstateGrossAtCarryingValue_32b6d454-6b31-434d-9b8c-096464a7126b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAccumulatedDepreciation_c5fad951-162a-484a-b321-1d4f3798f976" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealEstateAccumulatedDepreciation"/>
<link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SECScheduleIIIRealEstateInvestmentPropertyNet_5dc98ec9-1bb3-4c74-ba0d-3db4ee38dd6a" xlink:to="loc_us-gaap_RealEstateAccumulatedDepreciation_c5fad951-162a-484a-b321-1d4f3798f976" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateGrossAtCarryingValue_d3a34cb9-4725-41bb-a10b-e44bd0aa1f11" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealEstateGrossAtCarryingValue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAndAccumulatedDepreciationCarryingAmountOfLand_c05ebfe8-5b58-4b38-9c16-6064f5e26b7c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealEstateAndAccumulatedDepreciationCarryingAmountOfLand"/>
<link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateGrossAtCarryingValue_d3a34cb9-4725-41bb-a10b-e44bd0aa1f11" xlink:to="loc_us-gaap_RealEstateAndAccumulatedDepreciationCarryingAmountOfLand_c05ebfe8-5b58-4b38-9c16-6064f5e26b7c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAndAccumulatedDepreciationCarryingAmountOfBuildingsAndImprovements_21c7f3d2-1028-4043-9d8a-b6d575c85cc5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RealEstateAndAccumulatedDepreciationCarryingAmountOfBuildingsAndImprovements"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateGrossAtCarryingValue_d3a34cb9-4725-41bb-a10b-e44bd0aa1f11" xlink:to="loc_us-gaap_RealEstateAndAccumulatedDepreciationCarryingAmountOfBuildingsAndImprovements_21c7f3d2-1028-4043-9d8a-b6d575c85cc5" xlink:type="arc"/>
</link:calculationLink>
</link:linkbase>


3 Subsequent Filings that Reference this Filing

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

 2/21/24  Gladstone Commercial Corp.        10-K       12/31/23   91:16M
 5/03/23  Gladstone Commercial Corp.        10-Q        3/31/23   63:7.2M
 3/03/23  Gladstone Commercial Corp.        424B5                  2:625K                                   Donnelley … Solutions/FA


18 Previous Filings that this Filing References

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

 2/09/23  Gladstone Commercial Corp.        8-K:1,9     2/09/23   14:276K                                   Donnelley … Solutions/FA
11/23/22  Gladstone Commercial Corp.        S-3ASR     11/23/22    7:1M                                     Donnelley … Solutions/FA
 8/19/22  Gladstone Commercial Corp.        8-K:1,2,9   8/18/22   13:2.9M                                   Donnelley … Solutions/FA
 8/09/21  Gladstone Commercial Corp.        10-Q        6/30/21   69:8.9M
 6/24/21  Gladstone Commercial Corp.        8-K:1,3,5,7 6/21/21   18:1.4M                                   Donnelley … Solutions/FA
 2/16/21  Gladstone Commercial Corp.        10-K       12/31/20   84:85M
 7/27/20  Gladstone Commercial Corp.        10-Q        6/30/20   71:12M
 2/20/20  Gladstone Commercial Corp.        8-K:1,3,5,7 2/20/20    9:1.1M                                   Donnelley … Solutions/FA
12/03/19  Gladstone Commercial Corp.        8-K:1,5,8,912/02/19    8:495K                                   Donnelley … Solutions/FA
 9/27/19  Gladstone Commercial Corp.        8-K:1,3,5,9 9/25/19    7:1M                                     Donnelley … Solutions/FA
 7/11/18  Gladstone Commercial Corp.        8-K:1,9     7/11/18    2:549K                                   Donnelley … Solutions/FA
 4/12/18  Gladstone Commercial Corp.        8-K:5,9     4/11/18    3:58K                                    Donnelley … Solutions/FA
 1/12/17  Gladstone Commercial Corp.        8-K:1,5,9   1/10/17    5:255K                                   Donnelley … Solutions/FA
12/01/16  Gladstone Commercial Corp.        8-K:1,5,7,911/29/16    6:124K                                   Donnelley … Solutions/FA
 7/10/07  Gladstone Commercial Corp.        8-K:5,9     7/10/07    3:23K                                    Donnelley Fi… Express/FA
 1/03/07  Gladstone Commercial Corp.        8-K:1,9     1/03/07    4:794K                                   Bowne - DC/FA
 8/08/03  Gladstone Commercial Corp.        S-11/A                 6:769K                                   Bowne - DC/FA
 6/11/03  Gladstone Commercial Corp.        S-11                  10:820K                                   Bowne - DC/FA
Top
Filing Submission 0001234006-23-000003   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Sun., May 12, 11:13:15.2pm ET