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

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

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

Previous ‘10-K’:  ‘10-K’ on 2/22/23 for 12/31/22   ·   Latest ‘10-K’:  This Filing   ·   23 References:   

Find Words in Filings emoji
 
  in    Show  and   Hints

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

 2/21/24  Gladstone Commercial Corp.        10-K       12/31/23   91:16M

Annual Report   —   Form 10-K   —   SEA’34

Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-K        Annual Report                                       HTML   3.54M 
 2: EX-4.6      Instrument Defining the Rights of Security Holders  HTML     90K 
 3: EX-21       Subsidiaries List                                   HTML     37K 
 4: EX-23       Consent of Expert or Counsel                        HTML     27K 
 9: EX-97.1     Clawback Policy re: Recovery of Erroneously         HTML     49K 
                Awarded Compensation                                             
10: EX-99.1     Miscellaneous Exhibit                               HTML     27K 
 5: EX-31.1     Certification -- §302 - SOA'02                      HTML     31K 
 6: EX-31.2     Certification -- §302 - SOA'02                      HTML     30K 
 7: EX-32.1     Certification -- §906 - SOA'02                      HTML     28K 
 8: EX-32.2     Certification -- §906 - SOA'02                      HTML     28K 
16: R1          Cover Page                                          HTML    105K 
17: R2          Audit Information                                   HTML     32K 
18: R3          Consolidated Balance Sheets                         HTML    161K 
19: R4          Consolidated Balance Sheets (Parenthetical)         HTML     62K 
20: R5          Consolidated Statements of Operations and           HTML    173K 
                Comprehensive Income                                             
21: R6          Consolidated Statements of Equity                   HTML    151K 
22: R7          Consolidated Statements of Cash Flows               HTML    173K 
23: R8          Organization, Basis of Presentation and             HTML     68K 
                Significant Accounting Policies                                  
24: R9          Related-Party Transactions                          HTML     50K 
25: R10         Loss per Share of Common Stock                      HTML     52K 
26: R11         Real Estate and Intangible Assets                   HTML    120K 
27: R12         Real Estate Dispositions, Held for Sale, and        HTML     65K 
                Impairment Charges                                               
28: R13         Mortgage Notes Payable and Credit Facility          HTML    139K 
29: R14         Commitments and Contingencies                       HTML     39K 
30: R15         Equity and Mezzanine Equity                         HTML    102K 
31: R16         Revision of Previously Issued Financial Statements  HTML    189K 
32: R17         Subsequent Events                                   HTML     53K 
33: R18         Schedule III - Real Estate and Accumulated          HTML    668K 
                Depreciation                                                     
34: R19         Pay vs Performance Disclosure                       HTML     39K 
35: R20         Insider Trading Arrangements                        HTML     33K 
36: R21         Organization, Basis of Presentation and             HTML    107K 
                Significant Accounting Policies (Policies)                       
37: R22         Loss per Share of Common Stock (Tables)             HTML     52K 
38: R23         Real Estate and Intangible Assets (Tables)          HTML    130K 
39: R24         Real Estate Dispositions, Held for Sale, and        HTML     65K 
                Impairment Charges (Tables)                                      
40: R25         Mortgage Notes Payable and Credit Facility          HTML    135K 
                (Tables)                                                         
41: R26         Commitments and Contingencies (Tables)              HTML     37K 
42: R27         Equity and Mezzanine Equity (Tables)                HTML     79K 
43: R28         Revision of Previously Issued Financial Statements  HTML    190K 
                (Tables)                                                         
44: R29         Subsequent Events (Tables)                          HTML     51K 
45: R30         Organization, Basis of Presentation and             HTML     98K 
                Significant Accounting Policies - Additional                     
                Information (Details)                                            
46: R31         Related-Party Transactions (Details)                HTML    137K 
47: R32         Loss per Share of Common Stock (Details)            HTML     67K 
48: R33         Loss per Share of Common Stock - Basic and Diluted  HTML     34K 
                Loss Per Share of Common Stock Narrative (Detail)                
49: R34         Real Estate and Intangible Assets - Components of   HTML     45K 
                Investments in Real Estate (Details)                             
50: R35         Real Estate and Intangible Assets - Summary of      HTML    124K 
                Properties Acquired (Details)                                    
51: R36         Real Estate and Intangible Assets - Fair Value of   HTML     54K 
                Acquired Assets and Liabilities Assumed (Details)                
52: R37         Real Estate and Intangible Assets - Future          HTML     42K 
                Operating Lease Payments from Tenants under                      
                Non-Cancelable Leases (Details)                                  
53: R38         Real Estate and Intangible Assets - Lease Revenue   HTML     35K 
                (Details)                                                        
54: R39         Real Estate and Intangible Assets - Legal           HTML     29K 
                Settlement (Details)                                             
55: R40         Real Estate and Intangible Assets - Carrying Value  HTML     54K 
                of Intangible Assets and Accumulated Amortization                
                (Details)                                                        
56: R41         Real Estate and Intangible Assets - Weighted        HTML     41K 
                Average Amortization Period for Intangible Assets                
                Acquired and Liabilities Assumed (Details)                       
57: R42         Real Estate and Intangible Assets - Estimated       HTML     43K 
                Aggregate Amortization Expense (Details)                         
58: R43         Real Estate and Intangible Assets - Summary of      HTML     48K 
                Estimated Aggregate Rental Income (Details)                      
59: R44         Real Estate Dispositions, Held for Sale, and        HTML     43K 
                Impairment Charges - Summary of Properties Sold                  
                (Details)                                                        
60: R45         Real Estate Dispositions, Held for Sale, and        HTML     50K 
                Impairment Charges - Components of Operating                     
                Income from Real Estate and Related Assets                       
                Disposed (Details)                                               
61: R46         Real Estate Dispositions, Held for Sale, and        HTML     50K 
                Impairment Charges - Additional Information                      
                (Details)                                                        
62: R47         Real Estate Dispositions, Held for Sale, and        HTML     47K 
                Impairment Charges - Components of Assets and                    
                Liabilities Held for Sale (Details)                              
63: R48         Mortgage Notes Payable and Credit Facility -        HTML    144K 
                Additional Information (Details)                                 
64: R49         Mortgage Notes Payable and Credit Facility -        HTML     88K 
                Company's Mortgage Notes Payable and Line of                     
                Credit (Details)                                                 
65: R50         Mortgage Notes Payable and Credit Facility -        HTML     68K 
                Mortgage Notes Payable (Details)                                 
66: R51         Mortgage Notes Payable and Credit Facility -        HTML     61K 
                Schedule of Principal Payments of Mortgage Notes                 
                Payable (Details)                                                
67: R52         Mortgage Notes Payable and Credit Facility -        HTML     54K 
                Interest Rate Caps and Swaps (Details)                           
68: R53         Mortgage Notes Payable and Credit Facility -        HTML     38K 
                Derivative Instruments Impact (Details)                          
69: R54         Mortgage Notes Payable and Credit Facility -        HTML     52K 
                Derivative Instruments Additional Information                    
                (Details)                                                        
70: R55         Commitments and Contingencies - Additional          HTML     42K 
                Information (Details)                                            
71: R56         Commitments and Contingencies - Future Lease        HTML     46K 
                Payments Due Under Operating Leases (Details)                    
72: R57         Equity and Mezzanine Equity - Dividends Declared    HTML     43K 
                (Details)                                                        
73: R58         Equity and Mezzanine Equity - Summary of Changes    HTML     62K 
                in Stockholders' Equity (Details)                                
74: R59         Equity and Mezzanine Equity - Additional            HTML    181K 
                Information (Details)                                            
75: R60         Revision of Previously Issued Financial Statements  HTML     93K 
                - Operations and Comprehensive Income (Details)                  
76: R61         Revision of Previously Issued Financial Statements  HTML     82K 
                - Balance Sheets (Details)                                       
77: R62         Revision of Previously Issued Financial Statements  HTML     74K 
                - Changes in Stockholders' Equity (Details)                      
78: R63         Revision of Previously Issued Financial Statements  HTML     50K 
                (Details)                                                        
79: R64         Subsequent Events - Monthly Distributions Declared  HTML     57K 
                by Company's Board of Directors (Details)                        
80: R65         Subsequent Events - Additional Information          HTML     49K 
                (Details)                                                        
81: R66         Schedule III - Real Estate and Accumulated          HTML   1.01M 
                Depreciation (Details)                                           
82: R67         Schedule III - Real Estate and Accumulated          HTML     44K 
                Depreciation Footnote Narrative (Details)                        
83: R68         Schedule III - Real Estate and Accumulated          HTML     42K 
                Depreciation - Change in Balance of Real Estate                  
                (Details)                                                        
84: R69         Schedule III - Real Estate and Accumulated          HTML     35K 
                Depreciation - Change in Balance of Real Estate                  
                Footnote Narrative (Details)                                     
85: R70         Schedule III - Real Estate and Accumulated          HTML     34K 
                Depreciation - Change in Balance of Accumulated                  
                Depreciation (Details)                                           
86: R71         Schedule III - Real Estate and Accumulated          HTML     35K 
                Depreciation - Change in Balance of Accumulated                  
                Depreciation Footnote Narrative (Details)                        
88: XML         IDEA XML File -- Filing Summary                      XML    163K 
91: XML         XBRL Instance -- good-20231231_htm                   XML   4.56M 
87: EXCEL       IDEA Workbook of Financial Report Info              XLSX    274K 
12: EX-101.CAL  XBRL Calculations -- good-20231231_cal               XML    253K 
13: EX-101.DEF  XBRL Definitions -- good-20231231_def                XML   1.29M 
14: EX-101.LAB  XBRL Labels -- good-20231231_lab                     XML   2.83M 
15: EX-101.PRE  XBRL Presentations -- good-20231231_pre              XML   1.68M 
11: EX-101.SCH  XBRL Schema -- good-20231231                         XSD    341K 
89: JSON        XBRL Instance as JSON Data -- MetaLinks              638±   995K 
90: ZIP         XBRL Zipped Folder -- 0001234006-24-000003-xbrl      Zip    782K 


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


This Exhibit is an XBRL File.


                                                                                                                                                                                
<?xml version="1.0" encoding="windows-1252"?>
<!-- XBRL Document Created with the Workiva Platform -->
<!-- Copyright 2024 Workiva -->
<!-- r:e959b68d-db83-4608-855d-09ede1d70f18,g:b76aceb2-61d4-4ea1-be5d-142c65a85a2a -->
<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-20231231.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_Assets_2470a475-7d0d-4051-a39b-c8e65dfb5c59" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_81cf9cb8-804d-46c9-9b00-255f735912a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2470a475-7d0d-4051-a39b-c8e65dfb5c59" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyNet_81cf9cb8-804d-46c9-9b00-255f735912a9" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9dc88c38-7b5e-4846-a48d-b1623e03114d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2470a475-7d0d-4051-a39b-c8e65dfb5c59" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9dc88c38-7b5e-4846-a48d-b1623e03114d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_1f9386e1-4a98-49c6-b2b4-aeee54ab139d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2470a475-7d0d-4051-a39b-c8e65dfb5c59" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_1f9386e1-4a98-49c6-b2b4-aeee54ab139d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_2f5d93a8-53a6-401b-a3f5-08527a2315a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2470a475-7d0d-4051-a39b-c8e65dfb5c59" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_2f5d93a8-53a6-401b-a3f5-08527a2315a0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_7ded7362-1224-4e37-8150-9bf6ec8500f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2470a475-7d0d-4051-a39b-c8e65dfb5c59" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_7ded7362-1224-4e37-8150-9bf6ec8500f1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_EscrowDeposit_73f0f232-ab24-4cc3-a410-a1821abfa4dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2470a475-7d0d-4051-a39b-c8e65dfb5c59" xlink:to="loc_us-gaap_EscrowDeposit_73f0f232-ab24-4cc3-a410-a1821abfa4dc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_db142fa7-b5fe-4aa3-abaa-02ac28f954f7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2470a475-7d0d-4051-a39b-c8e65dfb5c59" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_db142fa7-b5fe-4aa3-abaa-02ac28f954f7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRentReceivablesNet_f5a2b101-649b-4ae2-9bc8-c3d705e3df7c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2470a475-7d0d-4051-a39b-c8e65dfb5c59" xlink:to="loc_us-gaap_DeferredRentReceivablesNet_f5a2b101-649b-4ae2-9bc8-c3d705e3df7c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_0a0bdb0e-aa27-4f85-b3f7-09d5cc88c0d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_2470a475-7d0d-4051-a39b-c8e65dfb5c59" xlink:to="loc_us-gaap_OtherAssets_0a0bdb0e-aa27-4f85-b3f7-09d5cc88c0d2" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0ef3c11f-0676-4792-b082-1d4582cb2f85" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e9c8471c-7d08-4a28-b02b-2067b62f484a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0ef3c11f-0676-4792-b082-1d4582cb2f85" xlink:to="loc_us-gaap_StockholdersEquity_e9c8471c-7d08-4a28-b02b-2067b62f484a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_39bb9a7b-f655-40a6-af0e-fa5cf9b9d371" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0ef3c11f-0676-4792-b082-1d4582cb2f85" xlink:to="loc_us-gaap_MinorityInterest_39bb9a7b-f655-40a6-af0e-fa5cf9b9d371" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_32345bd1-8b26-4e48-a264-b21b5eb5501c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredLongTermDebt_2ac44159-9df5-4079-bb3d-2b1e230ad02a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_32345bd1-8b26-4e48-a264-b21b5eb5501c" xlink:to="loc_us-gaap_SecuredLongTermDebt_2ac44159-9df5-4079-bb3d-2b1e230ad02a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_c0c4e79e-485c-43bf-abbd-2c65e088a9de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_32345bd1-8b26-4e48-a264-b21b5eb5501c" xlink:to="loc_us-gaap_LineOfCredit_c0c4e79e-485c-43bf-abbd-2c65e088a9de" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayable_47872c9b-dfae-4202-a171-b72609a92d9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_32345bd1-8b26-4e48-a264-b21b5eb5501c" xlink:to="loc_us-gaap_NotesPayable_47872c9b-dfae-4202-a171-b72609a92d9c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedRentCurrentAndNoncurrent_bf2a5c64-bbeb-403d-abb7-5a476365e0fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_32345bd1-8b26-4e48-a264-b21b5eb5501c" xlink:to="loc_us-gaap_AccruedRentCurrentAndNoncurrent_bf2a5c64-bbeb-403d-abb7-5a476365e0fa" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_b1356dd8-cc92-4053-97d4-b1ebacab8664" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_32345bd1-8b26-4e48-a264-b21b5eb5501c" xlink:to="loc_us-gaap_OperatingLeaseLiability_b1356dd8-cc92-4053-97d4-b1ebacab8664" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetRetirementObligation_bb3290d2-bc60-4f0b-953d-290f6a222475" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_32345bd1-8b26-4e48-a264-b21b5eb5501c" xlink:to="loc_us-gaap_AssetRetirementObligation_bb3290d2-bc60-4f0b-953d-290f6a222475" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_a3c8d3ed-b752-40ab-9e47-653f9c8f6543" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_32345bd1-8b26-4e48-a264-b21b5eb5501c" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_a3c8d3ed-b752-40ab-9e47-653f9c8f6543" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_847745f3-a71e-47b2-91c2-e80b63e53597" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilities"/>
<link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_32345bd1-8b26-4e48-a264-b21b5eb5501c" xlink:to="loc_us-gaap_OtherLiabilities_847745f3-a71e-47b2-91c2-e80b63e53597" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_af671dfa-700c-4506-9400-66b32c86b355" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
<link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_32345bd1-8b26-4e48-a264-b21b5eb5501c" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_af671dfa-700c-4506-9400-66b32c86b355" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_9b4019d0-fa8c-4887-a990-6ab90b2c0f1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_22594867-85c2-4ba6-8cfa-60eeb9520bfc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9b4019d0-fa8c-4887-a990-6ab90b2c0f1b" xlink:to="loc_us-gaap_Liabilities_22594867-85c2-4ba6-8cfa-60eeb9520bfc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_51f94a5c-e9b8-42ac-89c3-a1bc6b060fa5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9b4019d0-fa8c-4887-a990-6ab90b2c0f1b" xlink:to="loc_us-gaap_CommitmentsAndContingencies_51f94a5c-e9b8-42ac-89c3-a1bc6b060fa5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount_7f4b3d80-1106-4cd8-9df8-a0b4e87d119b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9b4019d0-fa8c-4887-a990-6ab90b2c0f1b" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityPreferredCarryingAmount_7f4b3d80-1106-4cd8-9df8-a0b4e87d119b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_240e34aa-0586-47fb-80d4-542c02b016e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9b4019d0-fa8c-4887-a990-6ab90b2c0f1b" xlink:to="loc_us-gaap_StockholdersEquity_240e34aa-0586-47fb-80d4-542c02b016e6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_529c1513-1b68-4b7c-a292-a24306dc30bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_9b4019d0-fa8c-4887-a990-6ab90b2c0f1b" xlink:to="loc_us-gaap_MinorityInterest_529c1513-1b68-4b7c-a292-a24306dc30bf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_51a09737-48a5-4c75-ac36-c6c588f92b1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
<link:loc xlink:type="locator" xlink:label="loc_good_SeniorCommonStockValueIssued_af17c58a-5c21-4773-af4e-29c3088620d9" xlink:href="good-20231231.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_51a09737-48a5-4c75-ac36-c6c588f92b1b" xlink:to="loc_good_SeniorCommonStockValueIssued_af17c58a-5c21-4773-af4e-29c3088620d9" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_95c7097b-0e99-453a-a8e4-092850d1885b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_51a09737-48a5-4c75-ac36-c6c588f92b1b" xlink:to="loc_us-gaap_CommonStockValue_95c7097b-0e99-453a-a8e4-092850d1885b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_a7a5df1f-7cf0-4f7c-b792-f3e4c0e829bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_51a09737-48a5-4c75-ac36-c6c588f92b1b" xlink:to="loc_us-gaap_PreferredStockValue_a7a5df1f-7cf0-4f7c-b792-f3e4c0e829bd" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_669d7460-edd0-422b-ad7a-56e9a16d9c0a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_51a09737-48a5-4c75-ac36-c6c588f92b1b" xlink:to="loc_us-gaap_AdditionalPaidInCapital_669d7460-edd0-422b-ad7a-56e9a16d9c0a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_2099e65c-3f93-4e9a-a66e-ad91232397cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_51a09737-48a5-4c75-ac36-c6c588f92b1b" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_2099e65c-3f93-4e9a-a66e-ad91232397cc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncome_3860ecd2-2ced-4076-823e-52b91c7cec51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_51a09737-48a5-4c75-ac36-c6c588f92b1b" xlink:to="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncome_3860ecd2-2ced-4076-823e-52b91c7cec51" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_b9f3efa5-6739-496c-9d79-a82cbe482b61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAtCost_d5a37816-585c-4704-ad16-96b7aa298896" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b9f3efa5-6739-496c-9d79-a82cbe482b61" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAtCost_d5a37816-585c-4704-ad16-96b7aa298896" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_e1e06df5-9bb8-4eeb-8a43-1e6849b9ef5b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_b9f3efa5-6739-496c-9d79-a82cbe482b61" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_e1e06df5-9bb8-4eeb-8a43-1e6849b9ef5b" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/ConsolidatedStatementsofOperationsandComprehensiveIncome" xlink:type="simple" xlink:href="good-20231231.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_ComprehensiveIncomeNetOfTax_8374320c-400b-4bcb-a552-9bb4d1cf2443" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_bd4287a2-eb0e-4021-b2c1-19d8b865da7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8374320c-400b-4bcb-a552-9bb4d1cf2443" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_bd4287a2-eb0e-4021-b2c1-19d8b865da7a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_fea8ad43-4b97-4f1f-8307-c1c2b5d29532" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_8374320c-400b-4bcb-a552-9bb4d1cf2443" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_fea8ad43-4b97-4f1f-8307-c1c2b5d29532" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_0ba6052f-466f-4b2c-a3a2-d9e75755aac5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpenses"/>
<link:loc xlink:type="locator" xlink:label="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_8cd71f04-c70f-4a16-a7bf-07a90590e764" xlink:href="good-20231231.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_0ba6052f-466f-4b2c-a3a2-d9e75755aac5" xlink:to="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_8cd71f04-c70f-4a16-a7bf-07a90590e764" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_IncentiveFeeCredit_9e95ba21-5223-4f83-9f3b-b3655e166593" xlink:href="good-20231231.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_0ba6052f-466f-4b2c-a3a2-d9e75755aac5" xlink:to="loc_good_IncentiveFeeCredit_9e95ba21-5223-4f83-9f3b-b3655e166593" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_0d8c669c-a6de-4b1c-a17a-f07a7ec7edb9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseIncome_8453cf86-af41-4245-b061-e440c0537ab2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0d8c669c-a6de-4b1c-a17a-f07a7ec7edb9" xlink:to="loc_us-gaap_LeaseIncome_8453cf86-af41-4245-b061-e440c0537ab2" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_4e37df6b-5af8-4850-8a18-e078d9a74ea3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonoperatingIncomeExpense"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_9c6da06f-9cd8-40d2-bc95-f8acc0f5b145" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4e37df6b-5af8-4850-8a18-e078d9a74ea3" xlink:to="loc_us-gaap_InterestExpense_9c6da06f-9cd8-40d2-bc95-f8acc0f5b145" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_513eef8a-aac7-4483-8afc-2bf51e5a0b3e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4e37df6b-5af8-4850-8a18-e078d9a74ea3" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_513eef8a-aac7-4483-8afc-2bf51e5a0b3e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_c6cff73f-e5c7-4f6e-ba9d-07a5e28a8974" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_4e37df6b-5af8-4850-8a18-e078d9a74ea3" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_c6cff73f-e5c7-4f6e-ba9d-07a5e28a8974" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_45f463ae-3055-46ba-9ea4-859ad5e7fa11" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_4e37df6b-5af8-4850-8a18-e078d9a74ea3" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_45f463ae-3055-46ba-9ea4-859ad5e7fa11" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_3e658489-485a-49cf-a738-06eee8e23d9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_0ec39908-a108-43c2-a677-62ec75a48399" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3e658489-485a-49cf-a738-06eee8e23d9d" xlink:to="loc_us-gaap_Revenues_0ec39908-a108-43c2-a677-62ec75a48399" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_ad7993b9-8540-4fcc-9c5d-2aea5b2bddae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3e658489-485a-49cf-a738-06eee8e23d9d" xlink:to="loc_us-gaap_OperatingExpenses_ad7993b9-8540-4fcc-9c5d-2aea5b2bddae" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_e066b086-4bf7-4e90-a0a0-0522137fda05" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_3e658489-485a-49cf-a738-06eee8e23d9d" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_e066b086-4bf7-4e90-a0a0-0522137fda05" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_670bcf1a-861c-493f-9737-6d6381f4df45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_d313975b-156d-441b-a661-bdb99409ec5c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_670bcf1a-861c-493f-9737-6d6381f4df45" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_d313975b-156d-441b-a661-bdb99409ec5c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_e8d4f1b0-2c96-419f-9ec7-aed1384c6e8a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_670bcf1a-861c-493f-9737-6d6381f4df45" xlink:to="loc_us-gaap_ProfitLoss_e8d4f1b0-2c96-419f-9ec7-aed1384c6e8a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c5b5ea8a-a18d-4372-9ffc-d7a65625549a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_f95b6033-0128-43e9-a481-9e741fb57e74" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c5b5ea8a-a18d-4372-9ffc-d7a65625549a" xlink:to="loc_us-gaap_ProfitLoss_f95b6033-0128-43e9-a481-9e741fb57e74" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_f4d480b9-3980-441b-b67c-3e4209ced7bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c5b5ea8a-a18d-4372-9ffc-d7a65625549a" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_f4d480b9-3980-441b-b67c-3e4209ced7bc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_df0f8ea7-4830-4e9c-9713-2bedcb576a64" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_071f4659-b946-4cc0-a22b-0822e8ad2ae0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_df0f8ea7-4830-4e9c-9713-2bedcb576a64" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_071f4659-b946-4cc0-a22b-0822e8ad2ae0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_ddbfc47f-cc9a-4731-9b73-bf9117ecf5e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_57c68b0f-603d-49cf-a540-a8d03edc9700" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ddbfc47f-cc9a-4731-9b73-bf9117ecf5e9" xlink:to="loc_us-gaap_NetIncomeLoss_57c68b0f-603d-49cf-a540-a8d03edc9700" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockDividends_48f584d8-d959-4406-bf8b-1051842663fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ddbfc47f-cc9a-4731-9b73-bf9117ecf5e9" xlink:to="loc_us-gaap_RedeemablePreferredStockDividends_48f584d8-d959-4406-bf8b-1051842663fa" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PreferredStockWriteOffOfOfferingCosts_0e92db01-d93e-4cd3-a351-de05201ee4fa" xlink:href="good-20231231.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_ddbfc47f-cc9a-4731-9b73-bf9117ecf5e9" xlink:to="loc_good_PreferredStockWriteOffOfOfferingCosts_0e92db01-d93e-4cd3-a351-de05201ee4fa" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_DistributionsAttributableToSeniorCommonStock_0ef364c3-8698-474f-81c9-18f12932ea36" xlink:href="good-20231231.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_ddbfc47f-cc9a-4731-9b73-bf9117ecf5e9" xlink:to="loc_good_DistributionsAttributableToSeniorCommonStock_0ef364c3-8698-474f-81c9-18f12932ea36" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_GainLossOnExtinguishmentOfPreferredStock_d4879f4c-f8dd-4bd3-9542-687b077309d2" xlink:href="good-20231231.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_ddbfc47f-cc9a-4731-9b73-bf9117ecf5e9" xlink:to="loc_good_GainLossOnExtinguishmentOfPreferredStock_d4879f4c-f8dd-4bd3-9542-687b077309d2" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockRedemptionDiscount_a8966f16-f326-4eef-9f2a-c2375321a6d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ddbfc47f-cc9a-4731-9b73-bf9117ecf5e9" xlink:to="loc_us-gaap_PreferredStockRedemptionDiscount_a8966f16-f326-4eef-9f2a-c2375321a6d5" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_eeb014a9-2fa1-4f88-b5f1-98e852326fba" xlink:href="good-20231231.xsd#good_OperatingExpensesBeforeIncentiveFeeCredit"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_c58eca23-b387-486a-bcfb-929af1aab123" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_eeb014a9-2fa1-4f88-b5f1-98e852326fba" xlink:to="loc_us-gaap_DepreciationAndAmortization_c58eca23-b387-486a-bcfb-929af1aab123" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PropertyOperatingExpenses_80ba8c07-186b-442c-a3e8-cab8a8bb9037" xlink:href="good-20231231.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_eeb014a9-2fa1-4f88-b5f1-98e852326fba" xlink:to="loc_good_PropertyOperatingExpenses_80ba8c07-186b-442c-a3e8-cab8a8bb9037" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_a943ccb3-8502-4907-b34f-64e83c161f9e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ManagementFeeExpense"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_eeb014a9-2fa1-4f88-b5f1-98e852326fba" xlink:to="loc_us-gaap_ManagementFeeExpense_a943ccb3-8502-4907-b34f-64e83c161f9e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncentiveFeeExpense_e57690a9-d501-4d8d-a2bc-9677697f789e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncentiveFeeExpense"/>
<link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_eeb014a9-2fa1-4f88-b5f1-98e852326fba" xlink:to="loc_us-gaap_IncentiveFeeExpense_e57690a9-d501-4d8d-a2bc-9677697f789e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdministrativeFeesExpense_082ec5a1-0ab1-4cf1-bc52-f70f99f5dd46" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdministrativeFeesExpense"/>
<link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_good_OperatingExpensesBeforeIncentiveFeeCredit_eeb014a9-2fa1-4f88-b5f1-98e852326fba" xlink:to="loc_us-gaap_AdministrativeFeesExpense_082ec5a1-0ab1-4cf1-bc52-f70f99f5dd46" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_cff41b9c-6f0a-479f-a1f9-527fd026af95" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_eeb014a9-2fa1-4f88-b5f1-98e852326fba" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_cff41b9c-6f0a-479f-a1f9-527fd026af95" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_1299743f-328f-4f56-bf6d-4813600b94bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_eeb014a9-2fa1-4f88-b5f1-98e852326fba" xlink:to="loc_us-gaap_AssetImpairmentCharges_1299743f-328f-4f56-bf6d-4813600b94bb" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="good-20231231.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_NetCashProvidedByUsedInOperatingActivities_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_4b82d4f8-01aa-45cc-a440-3d0a925f1912" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_ProfitLoss_4b82d4f8-01aa-45cc-a440-3d0a925f1912" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_b66f525a-9501-43e7-b973-6eae17a892eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_DepreciationAndAmortization_b66f525a-9501-43e7-b973-6eae17a892eb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_6d7385e1-779e-4844-aa87-fc22542b1e99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_AssetImpairmentCharges_6d7385e1-779e-4844-aa87-fc22542b1e99" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_bf6faa28-5839-4240-887e-1c60c9d71b1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_bf6faa28-5839-4240-887e-1c60c9d71b1d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_70029453-04c7-462e-a1f9-6f7d3c49fd2e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_70029453-04c7-462e-a1f9-6f7d3c49fd2e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_AmortizationOfDeferredRentAssetAndLiabilityNet_8f3d4deb-ef7e-4789-964f-775c8c269331" xlink:href="good-20231231.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_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_good_AmortizationOfDeferredRentAssetAndLiabilityNet_8f3d4deb-ef7e-4789-964f-775c8c269331" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_52897087-1ae4-45d7-a61c-3c8d45018ea6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_52897087-1ae4-45d7-a61c-3c8d45018ea6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_AssetRetirementObligationExpense_58b207ba-6b89-45c0-be71-dafbb58dcc7a" xlink:href="good-20231231.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_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_good_AssetRetirementObligationExpense_58b207ba-6b89-45c0-be71-dafbb58dcc7a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_b1aed077-36b2-4a1c-86e0-2ec597b1e317" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_b1aed077-36b2-4a1c-86e0-2ec597b1e317" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_2c49cda7-8c13-4f71-9527-0551e11eca16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
<link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_2c49cda7-8c13-4f71-9527-0551e11eca16" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_StraightLineRent_3a9411a2-4860-4a27-8264-31f8b74e3b83" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StraightLineRent"/>
<link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_StraightLineRent_3a9411a2-4860-4a27-8264-31f8b74e3b83" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_b7099388-ec1b-42f6-9e58-ad30b2bc1a82" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
<link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_b7099388-ec1b-42f6-9e58-ad30b2bc1a82" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesDueToAdviserAndAdministrator_870e2ff1-62d0-4ee8-8b02-9d251f8e8813" xlink:href="good-20231231.xsd#good_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesDueToAdviserAndAdministrator"/>
<link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_good_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesDueToAdviserAndAdministrator_870e2ff1-62d0-4ee8-8b02-9d251f8e8813" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_fd1e6e6e-3cda-47d5-961e-4dad0abca3fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
<link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_fd1e6e6e-3cda-47d5-961e-4dad0abca3fc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PaymentsforTenantInducement_c6c54948-9503-4124-8994-c44d9581d2f3" xlink:href="good-20231231.xsd#good_PaymentsforTenantInducement"/>
<link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_good_PaymentsforTenantInducement_c6c54948-9503-4124-8994-c44d9581d2f3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForCommissions_384ddfc7-a940-4d04-b071-1b1c98e0c549" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForCommissions"/>
<link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_PaymentsForCommissions_384ddfc7-a940-4d04-b071-1b1c98e0c549" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_53b36f3f-f614-4ec9-aa00-6a4b90496881" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
<link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_c7008b94-3ce9-4fd0-800e-7d163a76e64e" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_53b36f3f-f614-4ec9-aa00-6a4b90496881" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_de09922a-f444-4b98-9d45-7c5029382f77" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_819c72bc-e24f-4a48-aeac-1408c415ebbc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_819c72bc-e24f-4a48-aeac-1408c415ebbc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_d1a98d6e-3854-4cad-a1b7-3b17aa3629fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_d1a98d6e-3854-4cad-a1b7-3b17aa3629fa" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_91543e18-ee7f-4b57-a8d5-21b3d93f632f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_91543e18-ee7f-4b57-a8d5-21b3d93f632f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromNotesPayable_6fb3fa33-990d-46d6-8648-9cca6386758d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_ProceedsFromNotesPayable_6fb3fa33-990d-46d6-8648-9cca6386758d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_7810986f-d8a0-4d8f-b2a4-a1eeed3b6c44" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_7810986f-d8a0-4d8f-b2a4-a1eeed3b6c44" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_aed361af-bca8-4302-aa19-7c3a9e712fbf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_aed361af-bca8-4302-aa19-7c3a9e712fbf" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e3b510f6-3f3a-4cf3-83d4-1590733f3423" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_e3b510f6-3f3a-4cf3-83d4-1590733f3423" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_9c8e427e-1c3d-4e75-9608-29ccd7b48e38" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_9c8e427e-1c3d-4e75-9608-29ccd7b48e38" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_2762517d-858e-44de-a528-232589b0f64f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_2762517d-858e-44de-a528-232589b0f64f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_1c7acfad-1308-4fa4-89d3-7977bb29f9ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_1c7acfad-1308-4fa4-89d3-7977bb29f9ff" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_IncreaseDecreaseInSecurityDeposit_4547c5fb-4374-4571-a628-67e9f21ec5b3" xlink:href="good-20231231.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_good_IncreaseDecreaseInSecurityDeposit_4547c5fb-4374-4571-a628-67e9f21ec5b3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_b2ff21ec-3104-45cf-bccc-cfa774d8c4f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_PaymentsOfDividends_b2ff21ec-3104-45cf-bccc-cfa774d8c4f6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PaymentsForRetirementOfSeniorCommonStock_f8ed3976-c33e-4dfd-b2da-0a860f48e236" xlink:href="good-20231231.xsd#good_PaymentsForRetirementOfSeniorCommonStock"/>
<link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_good_PaymentsForRetirementOfSeniorCommonStock_f8ed3976-c33e-4dfd-b2da-0a860f48e236" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_a8fa8a08-49de-4d18-8acd-9792064e692e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
<link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_de09922a-f444-4b98-9d45-7c5029382f77" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_a8fa8a08-49de-4d18-8acd-9792064e692e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_dec45c03-7513-4e88-9e34-8cb2e77715c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PaymentsToAcquireRealEstateAndIntangibleAssets_91d1d4b9-aac1-4b7e-b5db-d9a43083111a" xlink:href="good-20231231.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_dec45c03-7513-4e88-9e34-8cb2e77715c4" xlink:to="loc_good_PaymentsToAcquireRealEstateAndIntangibleAssets_91d1d4b9-aac1-4b7e-b5db-d9a43083111a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_ImprovementsOfExistingRealEstate_af387310-b405-47ec-92c2-99b427d82d19" xlink:href="good-20231231.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_dec45c03-7513-4e88-9e34-8cb2e77715c4" xlink:to="loc_good_ImprovementsOfExistingRealEstate_af387310-b405-47ec-92c2-99b427d82d19" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLandHeldforinvestment_8acd04c0-e4ad-4ae5-ba4e-3d2b1ac39458" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_dec45c03-7513-4e88-9e34-8cb2e77715c4" xlink:to="loc_us-gaap_ProceedsFromSaleOfLandHeldforinvestment_8acd04c0-e4ad-4ae5-ba4e-3d2b1ac39458" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_ReceiptsFromLendersForReservesHeldInEscrow_a77254d5-38e6-464a-8b9e-f057346b3e84" xlink:href="good-20231231.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_dec45c03-7513-4e88-9e34-8cb2e77715c4" xlink:to="loc_good_ReceiptsFromLendersForReservesHeldInEscrow_a77254d5-38e6-464a-8b9e-f057346b3e84" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PaymentsToLendersForReservesHeldInEscrow_e747aaf7-2c76-47bf-859f-ea3c8b7da42e" xlink:href="good-20231231.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_dec45c03-7513-4e88-9e34-8cb2e77715c4" xlink:to="loc_good_PaymentsToLendersForReservesHeldInEscrow_e747aaf7-2c76-47bf-859f-ea3c8b7da42e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_ReceiptsFromTenantsForReserves_0d6eb4b0-bb34-4d7a-8b86-7f8f4294e435" xlink:href="good-20231231.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_dec45c03-7513-4e88-9e34-8cb2e77715c4" xlink:to="loc_good_ReceiptsFromTenantsForReserves_0d6eb4b0-bb34-4d7a-8b86-7f8f4294e435" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_PaymentsToTenantsFromReserves_10a3fa3f-108d-4c8d-8c10-0db380a3f9c9" xlink:href="good-20231231.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_dec45c03-7513-4e88-9e34-8cb2e77715c4" xlink:to="loc_good_PaymentsToTenantsFromReserves_10a3fa3f-108d-4c8d-8c10-0db380a3f9c9" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4655c214-cff9-44d8-b68c-3647ae01b8bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7a1d041b-e701-4439-8e7c-f057cce11d0f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4655c214-cff9-44d8-b68c-3647ae01b8bf" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7a1d041b-e701-4439-8e7c-f057cce11d0f" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0bc6eb6f-19b0-4bb2-951f-be416c0ee35c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4655c214-cff9-44d8-b68c-3647ae01b8bf" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0bc6eb6f-19b0-4bb2-951f-be416c0ee35c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b5169bf7-9a0b-4c5d-905e-6247f3156340" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4655c214-cff9-44d8-b68c-3647ae01b8bf" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_b5169bf7-9a0b-4c5d-905e-6247f3156340" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_a316de77-56ee-4e98-9e87-d3821da383c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_618ed7d6-c149-41ce-a360-27836508341d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a316de77-56ee-4e98-9e87-d3821da383c8" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_618ed7d6-c149-41ce-a360-27836508341d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_e18e64fd-47d0-47f1-a81d-58654f6e504f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a316de77-56ee-4e98-9e87-d3821da383c8" xlink:to="loc_us-gaap_RestrictedCash_e18e64fd-47d0-47f1-a81d-58654f6e504f" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/LossperShareofCommonStockDetails" xlink:type="simple" xlink:href="good-20231231.xsd#LossperShareofCommonStockDetails"/>
<link:calculationLink xlink:role="http://ir.gladstonecommercial.com/role/LossperShareofCommonStockDetails" xlink:type="extended">
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_ee569bb2-49de-4929-a97d-1acc765b18aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_63f36dc2-19fc-40a8-9dff-0c86e9776c54" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ee569bb2-49de-4929-a97d-1acc765b18aa" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_63f36dc2-19fc-40a8-9dff-0c86e9776c54" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_eec0109f-4ccd-4e31-9ec3-8e7ca4afdafe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_ee569bb2-49de-4929-a97d-1acc765b18aa" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_eec0109f-4ccd-4e31-9ec3-8e7ca4afdafe" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_0f6f05c4-0574-4869-8b56-5f39dab50e53" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_d4251515-4ad3-4a2b-ae52-b36d7d89f5fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0f6f05c4-0574-4869-8b56-5f39dab50e53" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_d4251515-4ad3-4a2b-ae52-b36d7d89f5fc" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsComponentsofInvestmentsinRealEstateDetails" xlink:type="simple" xlink:href="good-20231231.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_1bcc7534-4269-4a8f-b6f8-db830e4528ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_0474345a-30cd-4924-860d-caf6906d2372" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1bcc7534-4269-4a8f-b6f8-db830e4528ce" xlink:to="loc_us-gaap_Land_0474345a-30cd-4924-860d-caf6906d2372" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_b5da3ae5-540d-4ef5-ad01-ad4274697ed0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1bcc7534-4269-4a8f-b6f8-db830e4528ce" xlink:to="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_b5da3ae5-540d-4ef5-ad01-ad4274697ed0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_TenantImprovements_c00c57a6-9242-4652-adba-91893abd6c9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1bcc7534-4269-4a8f-b6f8-db830e4528ce" xlink:to="loc_us-gaap_TenantImprovements_c00c57a6-9242-4652-adba-91893abd6c9d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_c5a395b7-7a8c-4d88-baff-be5db9584de7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_1bcc7534-4269-4a8f-b6f8-db830e4528ce" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_c5a395b7-7a8c-4d88-baff-be5db9584de7" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsFairValueofAcquiredAssetsandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="good-20231231.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_4499cbf1-df3f-42d8-8376-33cbeed07f06" xlink:href="good-20231231.xsd#good_PurchasePriceOfAcquiredProperty"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOfAssetsAcquired_6c072f50-887c-4e5f-bb56-6d3a35a76ee7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4499cbf1-df3f-42d8-8376-33cbeed07f06" xlink:to="loc_us-gaap_FairValueOfAssetsAcquired_6c072f50-887c-4e5f-bb56-6d3a35a76ee7" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAssumed1_bcf06c53-59e8-4246-87e7-cfa95f7f7bd4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_4499cbf1-df3f-42d8-8376-33cbeed07f06" xlink:to="loc_us-gaap_LiabilitiesAssumed1_bcf06c53-59e8-4246-87e7-cfa95f7f7bd4" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsFutureOperatingLeasePaymentsfromTenantsunderNonCancelableLeasesDetails" xlink:type="simple" xlink:href="good-20231231.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_29c8a82a-9fe4-4a9d-a709-b5c32df397f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceived"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths_b4c78ae5-e04a-49b8-a294-d912f85a4e10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_29c8a82a-9fe4-4a9d-a709-b5c32df397f0" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths_b4c78ae5-e04a-49b8-a294-d912f85a4e10" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_eefbe215-8813-46c4-af51-ce3efef5b4b3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_29c8a82a-9fe4-4a9d-a709-b5c32df397f0" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_eefbe215-8813-46c4-af51-ce3efef5b4b3" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_bae0a2f2-9298-474c-be1f-df4799bf1175" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_29c8a82a-9fe4-4a9d-a709-b5c32df397f0" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_bae0a2f2-9298-474c-be1f-df4799bf1175" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_922fd08c-efa2-405f-9291-b55b9127483d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_29c8a82a-9fe4-4a9d-a709-b5c32df397f0" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_922fd08c-efa2-405f-9291-b55b9127483d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_9b94139f-1004-4a59-b5e9-965518aac52b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_29c8a82a-9fe4-4a9d-a709-b5c32df397f0" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_9b94139f-1004-4a59-b5e9-965518aac52b" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_5a40b504-43fe-42c8-b940-e89b93791f13" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_29c8a82a-9fe4-4a9d-a709-b5c32df397f0" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_5a40b504-43fe-42c8-b940-e89b93791f13" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsLeaseRevenueDetails" xlink:type="simple" xlink:href="good-20231231.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_774337e6-c248-4c99-977d-0fe88feceefe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LeaseCost"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_716e5379-6cc3-4b7f-930c-f0fa244d22ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_774337e6-c248-4c99-977d-0fe88feceefe" xlink:to="loc_us-gaap_OperatingLeaseCost_716e5379-6cc3-4b7f-930c-f0fa244d22ab" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_9169a3d1-cb21-41aa-826b-ef1d7b48b483" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_774337e6-c248-4c99-977d-0fe88feceefe" xlink:to="loc_us-gaap_VariableLeaseCost_9169a3d1-cb21-41aa-826b-ef1d7b48b483" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateandIntangibleAssetsEstimatedAggregateAmortizationExpenseDetails" xlink:type="simple" xlink:href="good-20231231.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_72fe1f91-1111-4cd5-9926-515fcac225ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_6b3a5566-ed5b-4c38-af94-256fd94c5251" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_72fe1f91-1111-4cd5-9926-515fcac225ef" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_6b3a5566-ed5b-4c38-af94-256fd94c5251" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_4d013179-a726-4d74-bc49-19cc8c16bdb6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_72fe1f91-1111-4cd5-9926-515fcac225ef" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_4d013179-a726-4d74-bc49-19cc8c16bdb6" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_b91bac68-c6e6-4daf-abcb-d8e91cc9f590" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_72fe1f91-1111-4cd5-9926-515fcac225ef" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_b91bac68-c6e6-4daf-abcb-d8e91cc9f590" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_330f543b-110d-4bad-a61f-0ff24dc426f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_72fe1f91-1111-4cd5-9926-515fcac225ef" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_330f543b-110d-4bad-a61f-0ff24dc426f0" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_45e4a2db-29cd-4e89-a3e0-899c6007ef2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_72fe1f91-1111-4cd5-9926-515fcac225ef" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_45e4a2db-29cd-4e89-a3e0-899c6007ef2d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_b408e589-fe72-4865-a06a-4bacbe53ea2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_72fe1f91-1111-4cd5-9926-515fcac225ef" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_b408e589-fe72-4865-a06a-4bacbe53ea2f" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesComponentsofOperatingIncomefromRealEstateandRelatedAssetsDisposedDetails" xlink:type="simple" xlink:href="good-20231231.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_851b50c2-e157-4740-b60c-4265a0ccda12" xlink:href="good-20231231.xsd#good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_e1ff8973-2f71-4848-955f-f8ce02525b4d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_851b50c2-e157-4740-b60c-4265a0ccda12" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_e1ff8973-2f71-4848-955f-f8ce02525b4d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_e7479bcc-ddf8-4675-a56a-13378661cf6d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_851b50c2-e157-4740-b60c-4265a0ccda12" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_e7479bcc-ddf8-4675-a56a-13378661cf6d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_b4d5af87-1210-4477-b877-61d91bec84ea" xlink:href="good-20231231.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_851b50c2-e157-4740-b60c-4265a0ccda12" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_b4d5af87-1210-4477-b877-61d91bec84ea" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldforSaleandImpairmentChargesComponentsofAssetsandLiabilitiesHeldforSaleDetails" xlink:type="simple" xlink:href="good-20231231.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_3bf265a1-fa98-49df-9977-9ab0b0543f7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
<link:loc xlink:type="locator" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_830b7adc-eb4c-4bcf-b1b6-537e6ddd248c" xlink:href="good-20231231.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_3bf265a1-fa98-49df-9977-9ab0b0543f7a" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_830b7adc-eb4c-4bcf-b1b6-537e6ddd248c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationDeferredRentReceivablesNet_db162d08-2e71-4a9f-afad-1a855891bf26" xlink:href="good-20231231.xsd#good_DisposalGroupIncludingDiscontinuedOperationDeferredRentReceivablesNet"/>
<link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_3bf265a1-fa98-49df-9977-9ab0b0543f7a" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationDeferredRentReceivablesNet_db162d08-2e71-4a9f-afad-1a855891bf26" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_c64dbdea-0e62-4ccf-a071-4c868f8c91b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets"/>
<link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_3bf265a1-fa98-49df-9977-9ab0b0543f7a" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_c64dbdea-0e62-4ccf-a071-4c868f8c91b6" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableandCreditFacilityCompanysMortgageNotesPayableandLineofCreditDetails" xlink:type="simple" xlink:href="good-20231231.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_21b96501-e3e4-4eeb-a37e-ef5712c657a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_41ec5a08-c075-45b7-b4a8-463b5e7fa841" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_21b96501-e3e4-4eeb-a37e-ef5712c657a5" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_41ec5a08-c075-45b7-b4a8-463b5e7fa841" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_1e2d473f-20e1-48bb-adb4-a176a7ac205a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_21b96501-e3e4-4eeb-a37e-ef5712c657a5" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_1e2d473f-20e1-48bb-adb4-a176a7ac205a" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_3e7cd4f3-561b-4fea-b29e-ffd7d5717aff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_21b96501-e3e4-4eeb-a37e-ef5712c657a5" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_3e7cd4f3-561b-4fea-b29e-ffd7d5717aff" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableandCreditFacilityScheduleofPrincipalPaymentsofMortgageNotesPayableDetails" xlink:type="simple" xlink:href="good-20231231.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_0dccca9f-797c-4829-8065-e1c43ede53c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_480fffc8-c4eb-441b-ada1-f77dcc754726" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0dccca9f-797c-4829-8065-e1c43ede53c7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_480fffc8-c4eb-441b-ada1-f77dcc754726" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_8dd4bde4-b040-4aa3-97e0-ee70ce3bf6a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0dccca9f-797c-4829-8065-e1c43ede53c7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_8dd4bde4-b040-4aa3-97e0-ee70ce3bf6a9" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_4d188699-b480-4685-9b87-f4024b1d7d90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0dccca9f-797c-4829-8065-e1c43ede53c7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_4d188699-b480-4685-9b87-f4024b1d7d90" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_f04eae19-f78e-46d8-ac68-7d4f51b0f564" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0dccca9f-797c-4829-8065-e1c43ede53c7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_f04eae19-f78e-46d8-ac68-7d4f51b0f564" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_c0607bd4-7456-4a30-9140-0fb1117279dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0dccca9f-797c-4829-8065-e1c43ede53c7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_c0607bd4-7456-4a30-9140-0fb1117279dc" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_56bdea1f-97d2-4cff-8483-c83bc7f3c792" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_0dccca9f-797c-4829-8065-e1c43ede53c7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_56bdea1f-97d2-4cff-8483-c83bc7f3c792" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableandCreditFacilityDerivativeInstrumentsAdditionalInformationDetails" xlink:type="simple" xlink:href="good-20231231.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_a9f1805d-a2d6-4649-9631-3f03aa73916f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_93107d37-6a2d-4bb9-b889-941686ef5b2e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a9f1805d-a2d6-4649-9631-3f03aa73916f" xlink:to="loc_us-gaap_DerivativeAssets_93107d37-6a2d-4bb9-b889-941686ef5b2e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_302c0b9b-f46d-4caf-885e-c711108e777b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_a9f1805d-a2d6-4649-9631-3f03aa73916f" xlink:to="loc_us-gaap_DerivativeLiabilities_302c0b9b-f46d-4caf-885e-c711108e777b" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetails" xlink:type="simple" xlink:href="good-20231231.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_c2a4a289-9db0-44c2-a648-66c80dbdec36" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_a30e4e85-35ed-4b28-9033-b3231a1d8c7e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c2a4a289-9db0-44c2-a648-66c80dbdec36" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_a30e4e85-35ed-4b28-9033-b3231a1d8c7e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_53b7fea8-d395-4937-99e0-d3a10bdba9c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c2a4a289-9db0-44c2-a648-66c80dbdec36" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_53b7fea8-d395-4937-99e0-d3a10bdba9c1" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_e82fdd72-899a-41ef-a967-34b1ae239abb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c2a4a289-9db0-44c2-a648-66c80dbdec36" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_e82fdd72-899a-41ef-a967-34b1ae239abb" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_7f8b670c-958f-47bb-9e02-05c171b7757e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c2a4a289-9db0-44c2-a648-66c80dbdec36" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_7f8b670c-958f-47bb-9e02-05c171b7757e" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_7a5762d6-b8e4-496b-a240-f703bfea914c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c2a4a289-9db0-44c2-a648-66c80dbdec36" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_7a5762d6-b8e4-496b-a240-f703bfea914c" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_57742173-7265-4bf1-9634-353455eee108" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_c2a4a289-9db0-44c2-a648-66c80dbdec36" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_57742173-7265-4bf1-9634-353455eee108" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsandContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetails_1" xlink:type="simple" xlink:href="good-20231231.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_6b5eb850-ffa6-4e0c-934a-1eff6a223945" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_3d47cc6d-c16b-421f-9012-3029ff518fa4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_6b5eb850-ffa6-4e0c-934a-1eff6a223945" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_3d47cc6d-c16b-421f-9012-3029ff518fa4" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_cadfa533-0431-4e6f-9f36-b43290a07242" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_6b5eb850-ffa6-4e0c-934a-1eff6a223945" xlink:to="loc_us-gaap_OperatingLeaseLiability_cadfa533-0431-4e6f-9f36-b43290a07242" xlink:type="arc"/>
</link:calculationLink>
<link:roleRef roleURI="http://ir.gladstonecommercial.com/role/ScheduleIIIRealEstateandAccumulatedDepreciationDetails" xlink:type="simple" xlink:href="good-20231231.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_RealEstateGrossAtCarryingValue_e9391dfd-fe58-4856-9302-e66e8eeba226" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealEstateGrossAtCarryingValue"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAndAccumulatedDepreciationCarryingAmountOfLand_4befd8f0-ec94-4a82-bceb-13d5151e2a8d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e9391dfd-fe58-4856-9302-e66e8eeba226" xlink:to="loc_us-gaap_RealEstateAndAccumulatedDepreciationCarryingAmountOfLand_4befd8f0-ec94-4a82-bceb-13d5151e2a8d" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAndAccumulatedDepreciationCarryingAmountOfBuildingsAndImprovements_f339e4df-589e-4971-a737-c3e352edcd21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_e9391dfd-fe58-4856-9302-e66e8eeba226" xlink:to="loc_us-gaap_RealEstateAndAccumulatedDepreciationCarryingAmountOfBuildingsAndImprovements_f339e4df-589e-4971-a737-c3e352edcd21" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_SECScheduleIIIRealEstateInvestmentPropertyNet_90684185-3a6c-4a30-a095-35fe5a28fd1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SECScheduleIIIRealEstateInvestmentPropertyNet"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateGrossAtCarryingValue_34d6aae0-8057-4bd1-9024-4bb8a4d008ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_90684185-3a6c-4a30-a095-35fe5a28fd1f" xlink:to="loc_us-gaap_RealEstateGrossAtCarryingValue_34d6aae0-8057-4bd1-9024-4bb8a4d008ef" xlink:type="arc"/>
<link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAccumulatedDepreciation_0f0be3ad-2386-4a5d-b66b-8a2dceb6540e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.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_90684185-3a6c-4a30-a095-35fe5a28fd1f" xlink:to="loc_us-gaap_RealEstateAccumulatedDepreciation_0f0be3ad-2386-4a5d-b66b-8a2dceb6540e" 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

 5/01/24  Gladstone Commercial Corp.        424B5                  1:907K                                   Donnelley … Solutions/FA
 3/26/24  Gladstone Commercial Corp.        424B5                  1:625K                                   Donnelley … Solutions/FA
 3/13/24  Gladstone Commercial Corp.        S-3                    7:1M                                     Donnelley … Solutions/FA


20 Previous Filings that this Filing References

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

10/10/23  Gladstone Commercial Corp.        8-K:5,9    10/10/23   12:194K                                   Donnelley … Solutions/FA
 8/08/23  Gladstone Commercial Corp.        10-Q        6/30/23   75:16M
 2/22/23  Gladstone Commercial Corp.        10-K       12/31/22   82:19M
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-24-000003   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Sun., May 12, 12:58:11.2am ET