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

SPI Energy Co., Ltd. – ‘20-F’ for 12/31/18 – ‘EX-101.CAL’

On:  Tuesday, 4/30/19, at 4:55pm ET   ·   For:  12/31/18   ·   Accession #:  1683168-19-1261   ·   File #:  1-37678

Previous ‘20-F’:  ‘20-F/A’ on 12/11/18 for 12/31/17   ·   Next:  ‘20-F’ on 6/29/20 for 12/31/19   ·   Latest:  ‘20-F/A’ on 11/23/21 for 12/31/20   ·   5 References:   

Find Words in Filings emoji
 
  in    Show  and   Hints

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

 4/30/19  SPI Energy Co., Ltd.              20-F       12/31/18  143:9.5M                                   GlobalOne Filings Inc/FA

Annual Report by a Foreign Non-Canadian Issuer   —   Form 20-F   —   Sect. 13 / 15(d) – SEA’34
Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 20-F        Annual Report by a Foreign Non-Canadian Issuer      HTML   1.16M 
 2: EX-4.49     Share Purchase Agreement                            HTML     74K 
 3: EX-4.50     Share Purchase Agreement                            HTML     74K 
 4: EX-4.51     Share Purchase Agreement                            HTML     74K 
 5: EX-4.52     Share Purchase Agreement                            HTML     73K 
 6: EX-4.53     Share Purchase Agreement                            HTML     74K 
 7: EX-4.54     Share Purchase Agreement                            HTML     99K 
 9: EX-13.1     Certification by the Chief Executive Officer        HTML     36K 
 8: EX-12.1     Certification by the Chief Executive Officer        HTML     41K 
10: EX-15.1     Consent of Independent Registered Public            HTML     37K 
                Accounting Firm                                                  
11: EX-15.2     Consent                                             HTML     36K 
18: R1          Document and Entity Information                     HTML     65K 
19: R2          Consolidated Balance Sheets                         HTML    182K 
20: R3          Consolidated Balance Sheets (Parenthetical)         HTML     45K 
21: R4          Consolidated Statements of Operations               HTML    151K 
22: R5          Consolidated Statements of Comprehensive Loss       HTML     69K 
23: R6          Consolidated Statements of Equity (Deficit)         HTML     97K 
24: R7          Consolidated Statements of Cash Flows               HTML    210K 
25: R8          Reconciliation of Cash                              HTML     47K 
26: R9          1. Description of Business and Organization         HTML     55K 
27: R10         2. Going Concern                                    HTML     44K 
28: R11         3. Summary of Significant Accounting Policies       HTML    212K 
29: R12         4. Disposition of SPI China                         HTML     65K 
30: R13         5. Business Acquisitions                            HTML     46K 
31: R14         6. Deconsolidation of Sinsin                        HTML     51K 
32: R15         7. Restricted Cash                                  HTML     39K 
33: R16         8. Accounts Receivable                              HTML     54K 
34: R17         9. Inventories, net                                 HTML     42K 
35: R18         10. Project Assets                                  HTML     44K 
36: R19         11. Prepaid Expenses and Other Current Assets       HTML     46K 
37: R20         12. Intangible Assets                               HTML     52K 
38: R21         13. Goodwill                                        HTML     41K 
39: R22         14. Property, Plant and Equipment                   HTML     46K 
40: R23         15. Investment in Affiliates                        HTML     41K 
41: R24         16. Fair Value Measurement                          HTML     43K 
42: R25         17. Accrued Liabilities                             HTML     44K 
43: R26         18. Advance From Customers                          HTML     38K 
44: R27         19. Short-term Borrowings and Long-term Borrowings  HTML     51K 
45: R28         20. Convertible Bonds                               HTML     48K 
46: R29         21. Other Liabilities                               HTML     47K 
47: R30         22. Shareholders' Equity (Deficit)                  HTML     40K 
48: R31         23. Share-based Compensation                        HTML    102K 
49: R32         24. Income Taxes                                    HTML     75K 
50: R33         25. Net Loss Per Share                              HTML     49K 
51: R34         26. Commitments and Contingencies                   HTML     46K 
52: R35         27. Concentration Risk                              HTML     45K 
53: R36         28. Segment information                             HTML     57K 
54: R37         29. Related Party Transactions                      HTML     40K 
55: R38         30. Subsequent Events                               HTML     41K 
56: R39         3. Summary of Significant Accounting Policies       HTML    305K 
                (Policies)                                                       
57: R40         1. Description of Business and Organization         HTML     41K 
                (Tables)                                                         
58: R41         3. Summary of Significant Accounting Policies       HTML    141K 
                (Tables)                                                         
59: R42         4. Disposition of SPI China (Tables)                HTML     66K 
60: R43         5. Business Acquisitions (Tables)                   HTML     42K 
61: R44         6. Deconsolidation of Sinsin (Tables)               HTML     44K 
62: R45         8. Accounts Receivable (Tables)                     HTML     49K 
63: R46         9. Inventories, net (Tables)                        HTML     42K 
64: R47         10. Project Assets (Tables)                         HTML     41K 
65: R48         11. Prepaid Expenses and Other Current Assets       HTML     42K 
                (Tables)                                                         
66: R49         12. Intangible Assets (Tables)                      HTML     53K 
67: R50         13. Goodwill (Tables)                               HTML     41K 
68: R51         14. Property, Plant and Equipment (Tables)          HTML     44K 
69: R52         17. Accrued liabilities (Tables)                    HTML     42K 
70: R53         19. Short-term borrowings and long-term borrowings  HTML     50K 
                (Tables)                                                         
71: R54         21. Other liabilities (Tables)                      HTML     42K 
72: R55         23. Share-based Compensation (Tables)               HTML    104K 
73: R56         24. Income Taxes (Tables)                           HTML     73K 
74: R57         25. Net Loss Per Share (Tables)                     HTML     51K 
75: R58         26. Commitments and Contingencies (Tables)          HTML     40K 
76: R59         27. Concentration Risk (Tables)                     HTML     46K 
77: R60         28. Segment information (Tables)                    HTML     60K 
78: R61         2. Going Concern (Details Narrative)                HTML     55K 
79: R62         3. Summary of Significant Accounting Policies       HTML     50K 
                (Details - PPE useful lives)                                     
80: R63         3. Summary of Significant Accounting Policies       HTML     92K 
                (Details - Disaggregation of revenue by revenue                  
                stream)                                                          
81: R64         3. Summary of Significant Accounting Policies       HTML     62K 
                (Details - By timing of revenue recognition)                     
82: R65         3. Summary of Significant Accounting Policies       HTML     42K 
                (Details - Contract balance)                                     
83: R66         3. Summary of Significant Accounting Policies       HTML     44K 
                (Details - Capitalized interest)                                 
84: R67         3. Summary of Significant Accounting Policies       HTML     43K 
                (Details Narrative)                                              
85: R68         4. Disposition of SPI China (Details - Balance      HTML    136K 
                Sheet)                                                           
86: R69         4. Disposition of SPI China (Details - Statement    HTML     84K 
                of operation)                                                    
87: R70         4. Disposition of SPI China (Details Narrative)     HTML     45K 
88: R71         5. Business Acquisitions (Details)                  HTML     65K 
89: R72         5. Business Acquisitions (Details Narrative)        HTML     49K 
90: R73         6. Deconsolidation of Sinsin (Details)              HTML     78K 
91: R74         6. Deconsolidation of Sinsin (Details Narrative)    HTML     38K 
92: R75         7. Restricted cash (Details Narrative)              HTML     39K 
93: R76         8. Accounts Receivable (Details - Accounts          HTML     53K 
                receivable)                                                      
94: R77         8. Accounts Receivable (Details - Allowance for     HTML     48K 
                Doubtful Accounts)                                               
95: R78         8. Accounts Receivable (Details Narrative)          HTML     48K 
96: R79         9. Inventories (Details)                            HTML     45K 
97: R80         9. Inventories (Details Narrative)                  HTML     40K 
98: R81         10. Project Assets (Details)                        HTML     44K 
99: R82         10. Project Assets (Details Narrative)              HTML     52K 
100: R83         11. Prepaid expenses and other current assets       HTML     47K  
                (Details)                                                        
101: R84         11. Prepaid expenses and other current assets       HTML     50K  
                (Details Narrative)                                              
102: R85         12. Intangible Assets (Details - Intangible         HTML     54K  
                Assets)                                                          
103: R86         12. Intangible Assets (Details - Future             HTML     57K  
                Amortization)                                                    
104: R87         12. Intangible Assets (Details Narrative)           HTML     42K  
105: R88         13. Goodwill (Details - Goodwill)                   HTML     43K  
106: R89         13. Goodwil (Details Narrative)                     HTML     43K  
107: R90         14. Property, Plant and Equipment (Details)         HTML     60K  
108: R91         14. Property, Plant and Equipment (Details          HTML     41K  
                Narrative)                                                       
109: R92         15. Investment in Affiliates (Details Narrative)    HTML     59K  
110: R93         16. Fair value measurement (Details Narrative)      HTML     47K  
111: R94         17. Accrued liabilities (Details)                   HTML     51K  
112: R95         19. Short-term borrowings and long-term borrowings  HTML     61K  
                (Details - Debt)                                                 
113: R96         19. Short-term borrowings and long-term borrowings  HTML     58K  
                (Details - Maturities)                                           
114: R97         19. Short-term borrowings and long-term borrowings  HTML     60K  
                (Details Narrative)                                              
115: R98         20. Convertible Bonds (Details Narrative)           HTML     74K  
116: R99         21. Other liabilities (Details)                     HTML     51K  
117: R100        21. Other liabilities (Details Narrative)           HTML     50K  
118: R101        22. Stockholders' Deficit (Details Narrative)       HTML     58K  
119: R102        23. Stock-based Compensation (Details -             HTML     45K  
                Stock-Based Compensation Expense by Award type)                  
120: R103        23. Stock-based Compensation (Details -             HTML     47K  
                Compensation expense by line item)                               
121: R104        23. Stock-based Compensation (Details -             HTML     51K  
                Assumptions)                                                     
122: R105        23. Stock-based Compensation (Details - Option      HTML     91K  
                Activity)                                                        
123: R106        23. Stock-based Compensation (Details - Options by  HTML     63K  
                Exercise Price)                                                  
124: R107        23. Stock-based Compensation (Details - Non-vested  HTML     89K  
                options)                                                         
125: R108        23. Stock-based Compensation (Details - RSU's)      HTML     57K  
126: R109        23. Stock-based Compensation (Details Narrative)    HTML     41K  
127: R110        24. Income Taxes (Details - Loss before Provision)  HTML     45K  
128: R111        24. Income Taxes (Details - Provision for income    HTML     67K  
                taxes)                                                           
129: R112        24. Income Taxes (Details - Tax reconciliation)     HTML     76K  
130: R113        24. Income Taxes (Details - Deferred income taxes)  HTML     86K  
131: R114        24. Income Taxes (Details Narrative)                HTML     53K  
132: R115        25. Net Loss Per Share (Details - Basic and         HTML     55K  
                Diluted)                                                         
133: R116        25. Net Loss Per Share (Details - Antidilutive      HTML     44K  
                shares)                                                          
134: R117        26. Commitments and Contingencies (Details -        HTML     56K  
                Minimum lease payments)                                          
135: R118        26. Commitments and Contingencies (Details          HTML     42K  
                Narrative)                                                       
136: R119        27. Concentration Risk (Details - Accounts          HTML     55K  
                receivable risk)                                                 
137: R120        28. Segment information (Details - By Product)      HTML     53K  
138: R121        28. Segment information (Details - Geographic)      HTML     54K  
139: R122        28. Segment information (Details - Long-lived       HTML     53K  
                assets)                                                          
140: R123        29. Related Party Transactions (Details Narrative)  HTML     43K  
142: XML         IDEA XML File -- Filing Summary                      XML    264K  
141: EXCEL       IDEA Workbook of Financial Reports                  XLSX    153K  
12: EX-101.INS  XBRL Instance -- spi-20181231                        XML   2.86M 
14: EX-101.CAL  XBRL Calculations -- spi-20181231_cal                XML    400K 
15: EX-101.DEF  XBRL Definitions -- spi-20181231_def                 XML    825K 
16: EX-101.LAB  XBRL Labels -- spi-20181231_lab                      XML   1.62M 
17: EX-101.PRE  XBRL Presentations -- spi-20181231_pre               XML   1.32M 
13: EX-101.SCH  XBRL Schema -- spi-20181231                          XSD    264K 
143: ZIP         XBRL Zipped Folder -- 0001683168-19-001261-xbrl      Zip    233K  


‘EX-101.CAL’   —   XBRL Calculations — spi-20181231_cal


This Exhibit is an XBRL XML File.


                                                                                                                                                                                
<?xml version="1.0" standalone="no" encoding="windows-1252"?>
<!-- Field: Doc-Info; Name: Generator; Value: GoFiler Complete; Version: 4.26b -->
<!-- Field: Doc-Info; Name: VendorURI; Value: http://www.novaworks.co -->
<!-- Field: Doc-Info; Name: Source; Value: spi_20f%2D2018.xfr; Date: 2019%2D04%2D30T20:10:32Z -->
<!-- Field: Doc-Info; Name: Status; Value: 0x00000000 -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
<link:roleRef roleURI="http://spisolar.com/role/DocumentDocumentAndEntityInformation" xlink:href="spi-20181231.xsd#DocumentDocumentAndEntityInformation" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/StatementConsolidatedBalanceSheets" xlink:href="spi-20181231.xsd#StatementConsolidatedBalanceSheets" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="spi-20181231.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ConsolidatedStatementsOfOperations" xlink:href="spi-20181231.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/StatementConsolidatedStatementsOfComprehensiveLoss" xlink:href="spi-20181231.xsd#StatementConsolidatedStatementsOfComprehensiveLoss" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ConsolidatedStatementsOfEquityDeficit" xlink:href="spi-20181231.xsd#ConsolidatedStatementsOfEquityDeficit" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="spi-20181231.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ReconciliationOfCash" xlink:href="spi-20181231.xsd#ReconciliationOfCash" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DescriptionOfBusinessAndOrganization" xlink:href="spi-20181231.xsd#DescriptionOfBusinessAndOrganization" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/GoingConcern" xlink:href="spi-20181231.xsd#GoingConcern" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="spi-20181231.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DispositionOfSpiChina" xlink:href="spi-20181231.xsd#DispositionOfSpiChina" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/BusinessAcquisitions" xlink:href="spi-20181231.xsd#BusinessAcquisitions" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DeconsolidationOfSinsin" xlink:href="spi-20181231.xsd#DeconsolidationOfSinsin" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/RestrictedCash" xlink:href="spi-20181231.xsd#RestrictedCash" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/AccountsReceivable" xlink:href="spi-20181231.xsd#AccountsReceivable" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/InventoriesNet" xlink:href="spi-20181231.xsd#InventoriesNet" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ProjectAssets" xlink:href="spi-20181231.xsd#ProjectAssets" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/PrepaidExpensesAndOtherCurrentAssets" xlink:href="spi-20181231.xsd#PrepaidExpensesAndOtherCurrentAssets" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IntangibleAssets" xlink:href="spi-20181231.xsd#IntangibleAssets" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Goodwill" xlink:href="spi-20181231.xsd#Goodwill" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/PropertyPlantAndEquipment" xlink:href="spi-20181231.xsd#PropertyPlantAndEquipment" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/InvestmentInAffiliates" xlink:href="spi-20181231.xsd#InvestmentInAffiliates" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/FairValueMeasurement" xlink:href="spi-20181231.xsd#FairValueMeasurement" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/AccruedLiabilities" xlink:href="spi-20181231.xsd#AccruedLiabilities" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/AdvanceFromCustomers" xlink:href="spi-20181231.xsd#AdvanceFromCustomers" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Short-termBorrowingsAndLong-termBorrowings" xlink:href="spi-20181231.xsd#Short-termBorrowingsAndLong-termBorrowings" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ConvertibleBonds" xlink:href="spi-20181231.xsd#ConvertibleBonds" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/OtherLiabilities" xlink:href="spi-20181231.xsd#OtherLiabilities" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ShareholdersEquityDeficit" xlink:href="spi-20181231.xsd#ShareholdersEquityDeficit" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Share-basedCompensation" xlink:href="spi-20181231.xsd#Share-basedCompensation" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IncomeTaxes" xlink:href="spi-20181231.xsd#IncomeTaxes" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/NetLossPerShare" xlink:href="spi-20181231.xsd#NetLossPerShare" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/CommitmentsAndContingencies" xlink:href="spi-20181231.xsd#CommitmentsAndContingencies" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ConcentrationRisk" xlink:href="spi-20181231.xsd#ConcentrationRisk" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SegmentInformation" xlink:href="spi-20181231.xsd#SegmentInformation" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/RelatedPartyTransactions" xlink:href="spi-20181231.xsd#RelatedPartyTransactions" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SubsequentEvents" xlink:href="spi-20181231.xsd#SubsequentEvents" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="spi-20181231.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DescriptionOfBusinessAndOrganizationTables" xlink:href="spi-20181231.xsd#DescriptionOfBusinessAndOrganizationTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="spi-20181231.xsd#SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DispositionOfSpiChinaTables" xlink:href="spi-20181231.xsd#DispositionOfSpiChinaTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/BusinessAcquisitionsTables" xlink:href="spi-20181231.xsd#BusinessAcquisitionsTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DeconsolidationOfSinsinTables" xlink:href="spi-20181231.xsd#DeconsolidationOfSinsinTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/AccountsReceivableTables" xlink:href="spi-20181231.xsd#AccountsReceivableTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/InventoriesNetTables" xlink:href="spi-20181231.xsd#InventoriesNetTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ProjectAssetsTables" xlink:href="spi-20181231.xsd#ProjectAssetsTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/PrepaidExpensesAndOtherCurrentAssetsTables" xlink:href="spi-20181231.xsd#PrepaidExpensesAndOtherCurrentAssetsTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IntangibleAssetsTables" xlink:href="spi-20181231.xsd#IntangibleAssetsTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/GoodwillTables" xlink:href="spi-20181231.xsd#GoodwillTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/PropertyPlantAndEquipmentTables" xlink:href="spi-20181231.xsd#PropertyPlantAndEquipmentTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/AccruedLiabilitiesTables" xlink:href="spi-20181231.xsd#AccruedLiabilitiesTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Short-termBorrowingsAndLong-termBorrowingsTables" xlink:href="spi-20181231.xsd#Short-termBorrowingsAndLong-termBorrowingsTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/OtherLiabilitiesTables" xlink:href="spi-20181231.xsd#OtherLiabilitiesTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Share-basedCompensationTables" xlink:href="spi-20181231.xsd#Share-basedCompensationTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IncomeTaxesTables" xlink:href="spi-20181231.xsd#IncomeTaxesTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/NetLossPerShareTables" xlink:href="spi-20181231.xsd#NetLossPerShareTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/CommitmentsAndContingenciesTables" xlink:href="spi-20181231.xsd#CommitmentsAndContingenciesTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ConcentrationRiskTables" xlink:href="spi-20181231.xsd#ConcentrationRiskTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SegmentInformationTables" xlink:href="spi-20181231.xsd#SegmentInformationTables" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/GoingConcernDetailsNarrative" xlink:href="spi-20181231.xsd#GoingConcernDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesDetails-PpeUsefulLives" xlink:href="spi-20181231.xsd#SummaryOfSignificantAccountingPoliciesDetails-PpeUsefulLives" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesDetails-DisaggregationOfRevenueByRevenueStream" xlink:href="spi-20181231.xsd#SummaryOfSignificantAccountingPoliciesDetails-DisaggregationOfRevenueByRevenueStream" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesDetails-ByTimingOfRevenueRecognition" xlink:href="spi-20181231.xsd#SummaryOfSignificantAccountingPoliciesDetails-ByTimingOfRevenueRecognition" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesDetails-ContractBalance" xlink:href="spi-20181231.xsd#SummaryOfSignificantAccountingPoliciesDetails-ContractBalance" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DisclosureSummaryOfSignificantAccountingPoliciesCapitalizedInterestDetails" xlink:href="spi-20181231.xsd#DisclosureSummaryOfSignificantAccountingPoliciesCapitalizedInterestDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:href="spi-20181231.xsd#SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DispositionOfSpiChinaDetails-BalanceSheet" xlink:href="spi-20181231.xsd#DispositionOfSpiChinaDetails-BalanceSheet" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DispositionOfSpiChinaDetails-StatementOfOperation" xlink:href="spi-20181231.xsd#DispositionOfSpiChinaDetails-StatementOfOperation" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DispositionOfSpiChinaDetailsNarrative" xlink:href="spi-20181231.xsd#DispositionOfSpiChinaDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/BusinessAcquisitionsDetails" xlink:href="spi-20181231.xsd#BusinessAcquisitionsDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/BusinessAcquisitionsDetailsNarrative" xlink:href="spi-20181231.xsd#BusinessAcquisitionsDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DeconsolidationOfSinsinDetails" xlink:href="spi-20181231.xsd#DeconsolidationOfSinsinDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/DeconsolidationOfSinsinDetailsNarrative" xlink:href="spi-20181231.xsd#DeconsolidationOfSinsinDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/RestrictedCashDetailsNarrative" xlink:href="spi-20181231.xsd#RestrictedCashDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/AccountsReceivableDetails-AccountsReceivable" xlink:href="spi-20181231.xsd#AccountsReceivableDetails-AccountsReceivable" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/AccountsReceivableDetails-AllowanceForDoubtfulAccounts" xlink:href="spi-20181231.xsd#AccountsReceivableDetails-AllowanceForDoubtfulAccounts" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/AccountsReceivableDetailsNarrative" xlink:href="spi-20181231.xsd#AccountsReceivableDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/InventoriesDetails" xlink:href="spi-20181231.xsd#InventoriesDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/InventoriesDetailsNarrative" xlink:href="spi-20181231.xsd#InventoriesDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ProjectAssetsDetails" xlink:href="spi-20181231.xsd#ProjectAssetsDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ProjectAssetsDetailsNarrative" xlink:href="spi-20181231.xsd#ProjectAssetsDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/PrepaidExpensesAndOtherCurrentAssetsDetails" xlink:href="spi-20181231.xsd#PrepaidExpensesAndOtherCurrentAssetsDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/PrepaidExpensesAndOtherCurrentAssetsDetailsNarrative" xlink:href="spi-20181231.xsd#PrepaidExpensesAndOtherCurrentAssetsDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IntangibleAssetsDetails-IntangibleAssets" xlink:href="spi-20181231.xsd#IntangibleAssetsDetails-IntangibleAssets" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IntangibleAssetsDetails-FutureAmortization" xlink:href="spi-20181231.xsd#IntangibleAssetsDetails-FutureAmortization" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IntangibleAssetsDetailsNarrative" xlink:href="spi-20181231.xsd#IntangibleAssetsDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/GoodwillDetails-Goodwill" xlink:href="spi-20181231.xsd#GoodwillDetails-Goodwill" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/GoodwilDetailsNarrative" xlink:href="spi-20181231.xsd#GoodwilDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/PropertyPlantAndEquipmentDetails" xlink:href="spi-20181231.xsd#PropertyPlantAndEquipmentDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:href="spi-20181231.xsd#PropertyPlantAndEquipmentDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/InvestmentInAffiliatesDetailsNarrative" xlink:href="spi-20181231.xsd#InvestmentInAffiliatesDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/FairValueMeasurementDetailsNarrative" xlink:href="spi-20181231.xsd#FairValueMeasurementDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/AccruedLiabilitiesDetails" xlink:href="spi-20181231.xsd#AccruedLiabilitiesDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Short-termBorrowingsAndLong-termBorrowingsDetails-Debt" xlink:href="spi-20181231.xsd#Short-termBorrowingsAndLong-termBorrowingsDetails-Debt" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Short-termBorrowingsAndLong-termBorrowingsDetails-Maturities" xlink:href="spi-20181231.xsd#Short-termBorrowingsAndLong-termBorrowingsDetails-Maturities" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Short-termBorrowingsAndLong-termBorrowingsDetailsNarrative" xlink:href="spi-20181231.xsd#Short-termBorrowingsAndLong-termBorrowingsDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ConvertibleBondsDetailsNarrative" xlink:href="spi-20181231.xsd#ConvertibleBondsDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/OtherLiabilitiesDetails" xlink:href="spi-20181231.xsd#OtherLiabilitiesDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/OtherLiabilitiesDetailsNarrative" xlink:href="spi-20181231.xsd#OtherLiabilitiesDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/StockholdersDeficitDetailsNarrative" xlink:href="spi-20181231.xsd#StockholdersDeficitDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Stock-basedCompensationDetails-Stock-basedCompensationExpenseByAwardType" xlink:href="spi-20181231.xsd#Stock-basedCompensationDetails-Stock-basedCompensationExpenseByAwardType" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Stock-basedCompensationDetails-CompensationExpenseByLineItem" xlink:href="spi-20181231.xsd#Stock-basedCompensationDetails-CompensationExpenseByLineItem" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Stock-basedCompensationDetails-Assumptions" xlink:href="spi-20181231.xsd#Stock-basedCompensationDetails-Assumptions" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Stock-basedCompensationDetails-OptionActivity" xlink:href="spi-20181231.xsd#Stock-basedCompensationDetails-OptionActivity" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Stock-basedCompensationDetails-OptionsByExercisePrice" xlink:href="spi-20181231.xsd#Stock-basedCompensationDetails-OptionsByExercisePrice" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Stock-basedCompensationDetails-Non-vestedOptions" xlink:href="spi-20181231.xsd#Stock-basedCompensationDetails-Non-vestedOptions" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Stock-basedCompensationDetails-Rsus" xlink:href="spi-20181231.xsd#Stock-basedCompensationDetails-Rsus" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/Stock-basedCompensationDetailsNarrative" xlink:href="spi-20181231.xsd#Stock-basedCompensationDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IncomeTaxesDetails-LossBeforeProvision" xlink:href="spi-20181231.xsd#IncomeTaxesDetails-LossBeforeProvision" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IncomeTaxesDetails-ProvisionForIncomeTaxes" xlink:href="spi-20181231.xsd#IncomeTaxesDetails-ProvisionForIncomeTaxes" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IncomeTaxesDetails-TaxReconciliation" xlink:href="spi-20181231.xsd#IncomeTaxesDetails-TaxReconciliation" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IncomeTaxesDetails-DeferredIncomeTaxes" xlink:href="spi-20181231.xsd#IncomeTaxesDetails-DeferredIncomeTaxes" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/IncomeTaxesDetailsNarrative" xlink:href="spi-20181231.xsd#IncomeTaxesDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/NetLossPerShareDetails-BasicAndDiluted" xlink:href="spi-20181231.xsd#NetLossPerShareDetails-BasicAndDiluted" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/NetLossPerShareDetails-AntidilutiveShares" xlink:href="spi-20181231.xsd#NetLossPerShareDetails-AntidilutiveShares" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/CommitmentsAndContingenciesDetails-MinimumLeasePayments" xlink:href="spi-20181231.xsd#CommitmentsAndContingenciesDetails-MinimumLeasePayments" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/CommitmentsAndContingenciesDetailsNarrative" xlink:href="spi-20181231.xsd#CommitmentsAndContingenciesDetailsNarrative" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/ConcentrationRiskDetails-AccountsReceivableRisk" xlink:href="spi-20181231.xsd#ConcentrationRiskDetails-AccountsReceivableRisk" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SegmentInformationDetails-ByProduct" xlink:href="spi-20181231.xsd#SegmentInformationDetails-ByProduct" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SegmentInformationDetails-Geographic" xlink:href="spi-20181231.xsd#SegmentInformationDetails-Geographic" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/SegmentInformationDetails-Long-livedAssets" xlink:href="spi-20181231.xsd#SegmentInformationDetails-Long-livedAssets" xlink:type="simple"/>
<link:roleRef roleURI="http://spisolar.com/role/RelatedPartyTransactionsDetailsNarrative" xlink:href="spi-20181231.xsd#RelatedPartyTransactionsDetailsNarrative" xlink:type="simple"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DocumentDocumentAndEntityInformation" xlink:title="00000001 - Document - Document and Entity Information"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/StatementConsolidatedBalanceSheets" xlink:title="00000002 - Statement - CONSOLIDATED BALANCE SHEETS">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaapAssetsCurrent"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaapCashAndCashEquivalentsAtCarryingValue"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCash" xlink:label="loc_us-gaapRestrictedCash"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapRestrictedCash" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaapAccountsReceivableNetCurrent"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapAccountsReceivableNetCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesReceivableNet" xlink:label="loc_us-gaapNotesReceivableNet"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapNotesReceivableNet" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapInventoryNet" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_ProjectAssetsCurrent" xlink:label="loc_spiProjectAssetsCurrent"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_spiProjectAssetsCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent"/>
<link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DueFromRelatedPartiesCurrent" xlink:label="loc_us-gaapDueFromRelatedPartiesCurrent"/>
<link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapDueFromRelatedPartiesCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:label="loc_us-gaapAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
<link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaapAssets"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapAssetsCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaapIntangibleAssetsNetExcludingGoodwill"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaapGoodwill"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapGoodwill" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetNoncurrent" xlink:label="loc_us-gaapAccountsReceivableNetNoncurrent"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapAccountsReceivableNetNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NontradeReceivablesNoncurrent" xlink:label="loc_us-gaapNontradeReceivablesNoncurrent"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapNontradeReceivablesNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesAndLoansReceivableNetNoncurrent" xlink:label="loc_us-gaapNotesAndLoansReceivableNetNoncurrent"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapNotesAndLoansReceivableNetNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet"/>
<link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_ProjectAssetsNoncurrent" xlink:label="loc_spiProjectAssetsNoncurrent"/>
<link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_spiProjectAssetsNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaapInvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
<link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapInvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:label="loc_us-gaapDeferredTaxAssetsNetNoncurrent"/>
<link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapDeferredTaxAssetsNetNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent" xlink:label="loc_us-gaapDisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent"/>
<link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapDisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaapLiabilitiesCurrent"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaapAccountsPayableCurrent"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccountsPayableCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaapAccruedLiabilitiesCurrent"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccruedLiabilitiesCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="loc_us-gaapAccruedIncomeTaxesCurrent"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccruedIncomeTaxesCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerAdvancesCurrent" xlink:label="loc_us-gaapCustomerAdvancesCurrent"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapCustomerAdvancesCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtCurrent" xlink:label="loc_us-gaapDebtCurrent"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapDebtCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtCurrent" xlink:label="loc_us-gaapConvertibleDebtCurrent"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapConvertibleDebtCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DueToRelatedPartiesCurrent" xlink:label="loc_us-gaapDueToRelatedPartiesCurrent"/>
<link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapDueToRelatedPartiesCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaapOtherLiabilitiesCurrent"/>
<link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapOtherLiabilitiesCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:label="loc_us-gaapLiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
<link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapLiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaapLiabilities"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapLiabilitiesCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleNotesPayable" xlink:label="loc_us-gaapConvertibleNotesPayable"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapConvertibleNotesPayable" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaapLongTermDebtNoncurrent"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapLongTermDebtNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaapDeferredTaxLiabilitiesNoncurrent"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapDeferredTaxLiabilitiesNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaapOtherLiabilitiesNoncurrent"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapOtherLiabilitiesNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent" xlink:label="loc_us-gaapLiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapLiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaapStockholdersEquity"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockValueOutstanding" xlink:label="loc_us-gaapCommonStockValueOutstanding"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapCommonStockValueOutstanding" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaapAdditionalPaidInCapitalCommonStock"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAdditionalPaidInCapitalCommonStock" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaapRetainedEarningsAccumulatedDeficit"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapRetainedEarningsAccumulatedDeficit" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapStockholdersEquity" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaapMinorityInterest"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapMinorityInterest" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaapLiabilitiesAndStockholdersEquity"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapLiabilities" xlink:type="arc" weight="1"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:title="00000003 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ConsolidatedStatementsOfOperations" xlink:title="00000004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfRevenue" xlink:label="loc_us-gaapCostOfRevenue"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaapCostOfGoodsAndServicesSold"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCostOfRevenue" xlink:to="loc_us-gaapCostOfGoodsAndServicesSold" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossOnContracts" xlink:label="loc_us-gaapLossOnContracts"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCostOfRevenue" xlink:to="loc_us-gaapLossOnContracts" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaapGrossProfit"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaapRevenues"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapRevenues" xlink:type="arc" weight="1"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapCostOfRevenue" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaapOperatingExpenses"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaapGeneralAndAdministrativeExpense"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapGeneralAndAdministrativeExpense" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaapSellingAndMarketingExpense"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapSellingAndMarketingExpense" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:label="loc_us-gaapProvisionForDoubtfulAccounts"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapProvisionForDoubtfulAccounts" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment" xlink:label="loc_us-gaapGoodwillAndIntangibleAssetImpairment"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapGoodwillAndIntangibleAssetImpairment" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairmentOfLongLivedAssetsHeldForUse" xlink:label="loc_us-gaapImpairmentOfLongLivedAssetsHeldForUse"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapImpairmentOfLongLivedAssetsHeldForUse" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_ImpairmentOfProjectAssets" xlink:label="loc_spiImpairmentOfProjectAssets"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_spiImpairmentOfProjectAssets" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaapOperatingIncomeLoss"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapGrossProfit" xlink:type="arc" weight="1"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapOperatingExpenses" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaapNonoperatingIncomeExpense"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_us-gaapInvestmentIncomeInterest"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapInvestmentIncomeInterest" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaapGainsLossesOnExtinguishmentOfDebt"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapGainsLossesOnExtinguishmentOfDebt" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaapDerivativeGainLossOnDerivativeNet"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapDerivativeGainLossOnDerivativeNet" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaapIncomeLossFromEquityMethodInvestments"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapIncomeLossFromEquityMethodInvestments" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaapForeignCurrencyTransactionGainLossBeforeTax"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapForeignCurrencyTransactionGainLossBeforeTax" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaapOtherNonoperatingIncomeExpense"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestCostsIncurred" xlink:label="loc_us-gaapInterestCostsIncurred"/>
<link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapInterestCostsIncurred" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense" xlink:label="loc_us-gaapIncomeTaxExaminationPenaltiesAndInterestExpense"/>
<link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapIncomeTaxExaminationPenaltiesAndInterestExpense" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainsLossesOnRestructuringOfDebt" xlink:label="loc_us-gaapGainsLossesOnRestructuringOfDebt"/>
<link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapGainsLossesOnRestructuringOfDebt" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapNonoperatingIncomeExpense" xlink:type="arc" weight="1"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapOperatingIncomeLoss" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaapIncomeTaxExpenseBenefit"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapIncomeTaxExpenseBenefit" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapProfitLoss" xlink:to="loc_us-gaapIncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:label="loc_us-gaapIncomeLossFromDiscontinuedOperationsNetOfTax"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapProfitLoss" xlink:to="loc_us-gaapIncomeLossFromDiscontinuedOperationsNetOfTax" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/StatementConsolidatedStatementsOfComprehensiveLoss" xlink:title="00000005 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapProfitLoss" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_us-gaapOtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTax"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaapComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapComprehensiveIncomeNetOfTax" xlink:to="loc_us-gaapComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:type="arc" weight="-1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ConsolidatedStatementsOfEquityDeficit" xlink:title="00000006 - Statement - CONSOLIDATED STATEMENTS OF EQUITY (DEFICIT)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ConsolidatedStatementsOfCashFlows" xlink:title="00000007 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaapDepreciation"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapDepreciation" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaapAmortizationOfIntangibleAssets"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapAmortizationOfIntangibleAssets" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_ProvisionForReversalOfDoubtfulAccountsAndNotes" xlink:label="loc_spiProvisionForReversalOfDoubtfulAccountsAndNotes"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_spiProvisionForReversalOfDoubtfulAccountsAndNotes" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:label="loc_us-gaapImpairmentOfIntangibleAssetsFinitelived"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapImpairmentOfIntangibleAssetsFinitelived" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GoodwillImpairmentLoss" xlink:label="loc_us-gaapGoodwillImpairmentLoss"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapGoodwillImpairmentLoss" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairmentOfLongLivedAssetsHeldForUse" xlink:label="loc_us-gaapImpairmentOfLongLivedAssetsHeldForUse"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapImpairmentOfLongLivedAssetsHeldForUse" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_ImpairmentOfProjectAssets" xlink:label="loc_spiImpairmentOfProjectAssets"/>
<link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_spiImpairmentOfProjectAssets" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaapShareBasedCompensation"/>
<link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapShareBasedCompensation" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts" xlink:label="loc_us-gaapAmortizationOfFinancingCostsAndDiscounts"/>
<link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapAmortizationOfFinancingCostsAndDiscounts" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossOnContracts" xlink:label="loc_us-gaapLossOnContracts"/>
<link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapLossOnContracts" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaidInKindInterest" xlink:label="loc_us-gaapPaidInKindInterest"/>
<link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaidInKindInterest" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsPayable"/>
<link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsPayable" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInCustomerAdvances" xlink:label="loc_us-gaapIncreaseDecreaseInCustomerAdvances"/>
<link:calculationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInCustomerAdvances" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:label="loc_us-gaapIncreaseDecreaseInAccruedIncomeTaxesPayable"/>
<link:calculationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaapIncreaseDecreaseInAccruedLiabilities"/>
<link:calculationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInAccruedLiabilities" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties" xlink:label="loc_us-gaapIncreaseDecreaseInDueToRelatedParties"/>
<link:calculationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInDueToRelatedParties" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaapGainsLossesOnExtinguishmentOfDebt"/>
<link:calculationArc order="17" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapGainsLossesOnExtinguishmentOfDebt" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInDerivativeAssetsAndLiabilities" xlink:label="loc_us-gaapIncreaseDecreaseInDerivativeAssetsAndLiabilities"/>
<link:calculationArc order="18" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInDerivativeAssetsAndLiabilities" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredIncomeTaxes" xlink:label="loc_us-gaapIncreaseDecreaseInDeferredIncomeTaxes"/>
<link:calculationArc order="19" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInDeferredIncomeTaxes" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_NoncashActivityRelatedToSolarSystemSubjectToFinancingObligation" xlink:label="loc_spiNoncashActivityRelatedToSolarSystemSubjectToFinancingObligation"/>
<link:calculationArc order="20" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_spiNoncashActivityRelatedToSolarSystemSubjectToFinancingObligation" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNoncashIncomeTaxExpense" xlink:label="loc_us-gaapOtherNoncashIncomeTaxExpense"/>
<link:calculationArc order="21" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapOtherNoncashIncomeTaxExpense" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsReceivable"/>
<link:calculationArc order="22" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsReceivable" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOtherReceivables" xlink:label="loc_us-gaapIncreaseDecreaseInOtherReceivables"/>
<link:calculationArc order="23" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInOtherReceivables" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInDueFromOtherRelatedPartiesCurrent" xlink:label="loc_us-gaapIncreaseDecreaseInDueFromOtherRelatedPartiesCurrent"/>
<link:calculationArc order="24" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInDueFromOtherRelatedPartiesCurrent" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInNotesReceivables" xlink:label="loc_us-gaapIncreaseDecreaseInNotesReceivables"/>
<link:calculationArc order="25" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInNotesReceivables" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInCostInExcessOfBillingOnUncompletedContract" xlink:label="loc_us-gaapIncreaseDecreaseInCostInExcessOfBillingOnUncompletedContract"/>
<link:calculationArc order="26" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInCostInExcessOfBillingOnUncompletedContract" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_IncreaseDecreaseInProjectAssets" xlink:label="loc_spiIncreaseDecreaseInProjectAssets"/>
<link:calculationArc order="27" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_spiIncreaseDecreaseInProjectAssets" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaapIncreaseDecreaseInInventories"/>
<link:calculationArc order="28" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInInventories" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_LossOnInvestmentInAffiliates1" xlink:label="loc_spiLossOnInvestmentInAffiliates1"/>
<link:calculationArc order="29" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_spiLossOnInvestmentInAffiliates1" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaapIncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
<link:calculationArc order="30" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaapInventoryWriteDown"/>
<link:calculationArc order="31" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapInventoryWriteDown" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
<link:calculationArc order="32" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_us-gaapIncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_GainOnTroubledDebtRestructuring" xlink:label="loc_spiGainOnTroubledDebtRestructuring"/>
<link:calculationArc order="33" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="loc_spiGainOnTroubledDebtRestructuring" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:label="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromCollectionOfNotesReceivable" xlink:label="loc_us-gaapProceedsFromCollectionOfNotesReceivable"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromCollectionOfNotesReceivable" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfEquityMethodInvestments" xlink:label="loc_us-gaapProceedsFromSaleOfEquityMethodInvestments"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromSaleOfEquityMethodInvestments" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_ProceedsFromDeconsolidation" xlink:label="loc_spiProceedsFromDeconsolidation"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_spiProceedsFromDeconsolidation" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaapPaymentsToAcquireBusinessesNetOfCashAcquired"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapPaymentsToAcquireBusinessesNetOfCashAcquired" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_DecreaseOfCashFueToDispositionOfSpiChina" xlink:label="loc_spiDecreaseOfCashFueToDispositionOfSpiChina"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_spiDecreaseOfCashFueToDispositionOfSpiChina" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaapProceedsFromSaleOfPropertyPlantAndEquipment"/>
<link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromSaleOfPropertyPlantAndEquipment" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaapProceedsFromIssuanceOfCommonStock"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromIssuanceOfCommonStock" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaapProceedsFromIssuanceOfDebt"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapProceedsFromIssuanceOfDebt" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaapRepaymentsOfDebt"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="loc_us-gaapRepaymentsOfDebt" xlink:type="arc" weight="-1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ReconciliationOfCash" xlink:title="00000008 - Statement - Reconciliation of Cash"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DescriptionOfBusinessAndOrganization" xlink:title="00000009 - Disclosure - 1. Description of Business and Organization"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/GoingConcern" xlink:title="00000010 - Disclosure - 2. Going Concern"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SummaryOfSignificantAccountingPolicies" xlink:title="00000011 - Disclosure - 3. Summary of Significant Accounting Policies"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DispositionOfSpiChina" xlink:title="00000012 - Disclosure - 4. Disposition of SPI China"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/BusinessAcquisitions" xlink:title="00000013 - Disclosure - 5. Business Acquisitions"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DeconsolidationOfSinsin" xlink:title="00000014 - Disclosure - 6. Deconsolidation of Sinsin"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/RestrictedCash" xlink:title="00000015 - Disclosure - 7. Restricted Cash"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/AccountsReceivable" xlink:title="00000016 - Disclosure - 8. Accounts Receivable"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/InventoriesNet" xlink:title="00000017 - Disclosure - 9. Inventories, net"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ProjectAssets" xlink:title="00000018 - Disclosure - 10. Project Assets"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/PrepaidExpensesAndOtherCurrentAssets" xlink:title="00000019 - Disclosure - 11. Prepaid Expenses and Other Current Assets"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IntangibleAssets" xlink:title="00000020 - Disclosure - 12. Intangible Assets"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Goodwill" xlink:title="00000021 - Disclosure - 13. Goodwill"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/PropertyPlantAndEquipment" xlink:title="00000022 - Disclosure - 14. Property, Plant and Equipment"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/InvestmentInAffiliates" xlink:title="00000023 - Disclosure - 15. Investment in Affiliates"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/FairValueMeasurement" xlink:title="00000024 - Disclosure - 16. Fair Value Measurement"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/AccruedLiabilities" xlink:title="00000025 - Disclosure - 17. Accrued Liabilities"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/AdvanceFromCustomers" xlink:title="00000026 - Disclosure - 18. Advance From Customers"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Short-termBorrowingsAndLong-termBorrowings" xlink:title="00000027 - Disclosure - 19. Short-term Borrowings and Long-term Borrowings"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ConvertibleBonds" xlink:title="00000028 - Disclosure - 20. Convertible Bonds"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/OtherLiabilities" xlink:title="00000029 - Disclosure - 21. Other Liabilities"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ShareholdersEquityDeficit" xlink:title="00000030 - Disclosure - 22. Shareholders' Equity (Deficit)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Share-basedCompensation" xlink:title="00000031 - Disclosure - 23. Share-based Compensation"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IncomeTaxes" xlink:title="00000032 - Disclosure - 24. Income Taxes"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/NetLossPerShare" xlink:title="00000033 - Disclosure - 25. Net Loss Per Share"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/CommitmentsAndContingencies" xlink:title="00000034 - Disclosure - 26. Commitments and Contingencies"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ConcentrationRisk" xlink:title="00000035 - Disclosure - 27. Concentration Risk"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SegmentInformation" xlink:title="00000036 - Disclosure - 28. Segment information"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/RelatedPartyTransactions" xlink:title="00000037 - Disclosure - 29. Related Party Transactions"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SubsequentEvents" xlink:title="00000038 - Disclosure - 30. Subsequent Events"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:title="00000039 - Disclosure - 3. Summary of Significant Accounting Policies (Policies)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DescriptionOfBusinessAndOrganizationTables" xlink:title="00000040 - Disclosure - 1. Description of Business and Organization (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:title="00000041 - Disclosure - 3. Summary of Significant Accounting Policies (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DispositionOfSpiChinaTables" xlink:title="00000042 - Disclosure - 4. Disposition of SPI China (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/BusinessAcquisitionsTables" xlink:title="00000043 - Disclosure - 5. Business Acquisitions (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DeconsolidationOfSinsinTables" xlink:title="00000044 - Disclosure - 6. Deconsolidation of Sinsin (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/AccountsReceivableTables" xlink:title="00000045 - Disclosure - 8. Accounts Receivable (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/InventoriesNetTables" xlink:title="00000046 - Disclosure - 9. Inventories, net (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ProjectAssetsTables" xlink:title="00000047 - Disclosure - 10. Project Assets (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/PrepaidExpensesAndOtherCurrentAssetsTables" xlink:title="00000048 - Disclosure - 11. Prepaid Expenses and Other Current Assets (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IntangibleAssetsTables" xlink:title="00000049 - Disclosure - 12. Intangible Assets (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/GoodwillTables" xlink:title="00000050 - Disclosure - 13. Goodwill (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/PropertyPlantAndEquipmentTables" xlink:title="00000051 - Disclosure - 14. Property, Plant and Equipment (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/AccruedLiabilitiesTables" xlink:title="00000052 - Disclosure - 17. Accrued liabilities (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Short-termBorrowingsAndLong-termBorrowingsTables" xlink:title="00000053 - Disclosure - 19. Short-term borrowings and long-term borrowings (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/OtherLiabilitiesTables" xlink:title="00000054 - Disclosure - 21. Other liabilities (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Share-basedCompensationTables" xlink:title="00000055 - Disclosure - 23. Share-based Compensation (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IncomeTaxesTables" xlink:title="00000056 - Disclosure - 24. Income Taxes (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/NetLossPerShareTables" xlink:title="00000057 - Disclosure - 25. Net Loss Per Share (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/CommitmentsAndContingenciesTables" xlink:title="00000058 - Disclosure - 26. Commitments and Contingencies (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ConcentrationRiskTables" xlink:title="00000059 - Disclosure - 27. Concentration Risk (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SegmentInformationTables" xlink:title="00000060 - Disclosure - 28. Segment information (Tables)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/GoingConcernDetailsNarrative" xlink:title="00000061 - Disclosure - 2. Going Concern (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesDetails-PpeUsefulLives" xlink:title="00000062 - Disclosure - 3. Summary of Significant Accounting Policies (Details - PPE useful lives)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesDetails-DisaggregationOfRevenueByRevenueStream" xlink:title="00000063 - Disclosure - 3. Summary of Significant Accounting Policies (Details - Disaggregation of revenue by revenue stream)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesDetails-ByTimingOfRevenueRecognition" xlink:title="00000064 - Disclosure - 3. Summary of Significant Accounting Policies (Details - By timing of revenue recognition)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesDetails-ContractBalance" xlink:title="00000065 - Disclosure - 3. Summary of Significant Accounting Policies (Details - Contract balance)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DisclosureSummaryOfSignificantAccountingPoliciesCapitalizedInterestDetails" xlink:title="00000066 - Disclosure - 3. Summary of Significant Accounting Policies (Details - Capitalized interest)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaapInterestExpense"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestCostsIncurred" xlink:label="loc_us-gaapInterestCostsIncurred"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestExpense" xlink:to="loc_us-gaapInterestCostsIncurred" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestCostsCapitalized" xlink:label="loc_us-gaapInterestCostsCapitalized"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInterestExpense" xlink:to="loc_us-gaapInterestCostsCapitalized" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:title="00000067 - Disclosure - 3. Summary of Significant Accounting Policies (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DispositionOfSpiChinaDetails-BalanceSheet" xlink:title="00000068 - Disclosure - 4. Disposition of SPI China (Details - Balance Sheet)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DispositionOfSpiChinaDetails-StatementOfOperation" xlink:title="00000069 - Disclosure - 4. Disposition of SPI China (Details - Statement of operation)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DispositionOfSpiChinaDetailsNarrative" xlink:title="00000070 - Disclosure - 4. Disposition of SPI China (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/BusinessAcquisitionsDetails" xlink:title="00000071 - Disclosure - 5. Business Acquisitions (Details)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:label="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:label="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther" xlink:label="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesCurrent" xlink:label="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesCurrent"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:to="loc_us-gaapBusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesCurrent" xlink:type="arc" weight="-1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/BusinessAcquisitionsDetailsNarrative" xlink:title="00000072 - Disclosure - 5. Business Acquisitions (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DeconsolidationOfSinsinDetails" xlink:title="00000073 - Disclosure - 6. Deconsolidation of Sinsin (Details)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/DeconsolidationOfSinsinDetailsNarrative" xlink:title="00000074 - Disclosure - 6. Deconsolidation of Sinsin (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/RestrictedCashDetailsNarrative" xlink:title="00000075 - Disclosure - 7. Restricted cash (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/AccountsReceivableDetails-AccountsReceivable" xlink:title="00000076 - Disclosure - 8. Accounts Receivable (Details - Accounts receivable)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaapAccountsReceivableNetCurrent"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaapAllowanceForDoubtfulAccountsReceivableCurrent"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsReceivableNetCurrent" xlink:to="loc_us-gaapAllowanceForDoubtfulAccountsReceivableCurrent" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableGrossCurrent" xlink:label="loc_us-gaapAccountsReceivableGrossCurrent"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsReceivableNetCurrent" xlink:to="loc_us-gaapAccountsReceivableGrossCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNet" xlink:label="loc_us-gaapAccountsReceivableNet"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsReceivableNet" xlink:to="loc_us-gaapAccountsReceivableNetCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetNoncurrent" xlink:label="loc_us-gaapAccountsReceivableNetNoncurrent"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsReceivableNet" xlink:to="loc_us-gaapAccountsReceivableNetNoncurrent" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/AccountsReceivableDetails-AllowanceForDoubtfulAccounts" xlink:title="00000077 - Disclosure - 8. Accounts Receivable (Details - Allowance for Doubtful Accounts)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/AccountsReceivableDetailsNarrative" xlink:title="00000078 - Disclosure - 8. Accounts Receivable (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/InventoriesDetails" xlink:title="00000079 - Disclosure - 9. Inventories (Details)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:label="loc_us-gaapInventoryFinishedGoodsNetOfReserves"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryFinishedGoodsNetOfReserves" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryWorkInProcessAndRawMaterialsNetOfReserves" xlink:label="loc_us-gaapInventoryWorkInProcessAndRawMaterialsNetOfReserves"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryWorkInProcessAndRawMaterialsNetOfReserves" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/InventoriesDetailsNarrative" xlink:title="00000080 - Disclosure - 9. Inventories (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ProjectAssetsDetails" xlink:title="00000081 - Disclosure - 10. Project Assets (Details)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ProjectAssetsDetailsNarrative" xlink:title="00000082 - Disclosure - 10. Project Assets (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/PrepaidExpensesAndOtherCurrentAssetsDetails" xlink:title="00000083 - Disclosure - 11. Prepaid expenses and other current assets (Details)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValueAddedTaxReceivable" xlink:label="loc_us-gaapValueAddedTaxReceivable"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" xlink:to="loc_us-gaapValueAddedTaxReceivable" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_DepositAndPrepaymentForAcquisitions" xlink:label="loc_spiDepositAndPrepaymentForAcquisitions"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" xlink:to="loc_spiDepositAndPrepaymentForAcquisitions" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_OtherDepositAndPrepayments" xlink:label="loc_spiOtherDepositAndPrepayments"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" xlink:to="loc_spiOtherDepositAndPrepayments" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherReceivablesNetCurrent" xlink:label="loc_us-gaapOtherReceivablesNetCurrent"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" xlink:to="loc_us-gaapOtherReceivablesNetCurrent" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/PrepaidExpensesAndOtherCurrentAssetsDetailsNarrative" xlink:title="00000084 - Disclosure - 11. Prepaid expenses and other current assets (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IntangibleAssetsDetails-IntangibleAssets" xlink:title="00000085 - Disclosure - 12. Intangible Assets (Details - Intangible Assets)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsNet"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_FiniteLivedIntangibleAssetsImpairmentCharge" xlink:label="loc_spiFiniteLivedIntangibleAssetsImpairmentCharge"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_spiFiniteLivedIntangibleAssetsImpairmentCharge" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAccumulatedAmortization"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsGross"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsGross" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IntangibleAssetsDetails-FutureAmortization" xlink:title="00000086 - Disclosure - 12. Intangible Assets (Details - Future Amortization)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsNet"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IntangibleAssetsDetailsNarrative" xlink:title="00000087 - Disclosure - 12. Intangible Assets (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/GoodwillDetails-Goodwill" xlink:title="00000088 - Disclosure - 13. Goodwill (Details - Goodwill)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/GoodwilDetailsNarrative" xlink:title="00000089 - Disclosure - 13. Goodwil (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/PropertyPlantAndEquipmentDetails" xlink:title="00000090 - Disclosure - 14. Property, Plant and Equipment (Details)">
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_PropertyPlantAndEquipmentNetBeforeConstructionInProgressAndImpairment" xlink:label="loc_spiPropertyPlantAndEquipmentNetBeforeConstructionInProgressAndImpairment"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaapPropertyPlantAndEquipmentGross"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spiPropertyPlantAndEquipmentNetBeforeConstructionInProgressAndImpairment" xlink:to="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaapAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_spiPropertyPlantAndEquipmentNetBeforeConstructionInProgressAndImpairment" xlink:to="loc_us-gaapAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:type="arc" weight="-1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_spiPropertyPlantAndEquipmentNetBeforeConstructionInProgressAndImpairment" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_AccumulatedImpairmentOfPropertyPlantAndEquipment" xlink:label="loc_spiAccumulatedImpairmentOfPropertyPlantAndEquipment"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_spiAccumulatedImpairmentOfPropertyPlantAndEquipment" xlink:type="arc" weight="-1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:title="00000091 - Disclosure - 14. Property, Plant and Equipment (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/InvestmentInAffiliatesDetailsNarrative" xlink:title="00000092 - Disclosure - 15. Investment in Affiliates (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/FairValueMeasurementDetailsNarrative" xlink:title="00000093 - Disclosure - 16. Fair value measurement (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/AccruedLiabilitiesDetails" xlink:title="00000094 - Disclosure - 17. Accrued liabilities (Details)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaapAccruedLiabilitiesCurrent"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxesPayableCurrent" xlink:label="loc_us-gaapTaxesPayableCurrent"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapTaxesPayableCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableOtherCurrent" xlink:label="loc_us-gaapAccountsPayableOtherCurrent"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapAccountsPayableOtherCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="loc_us-gaapOtherAccruedLiabilitiesCurrent"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapOtherAccruedLiabilitiesCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaapOtherAccountsPayableAndAccruedLiabilities"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapOtherAccountsPayableAndAccruedLiabilities" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAccrued" xlink:label="loc_us-gaapIncomeTaxExaminationPenaltiesAccrued"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapIncomeTaxExaminationPenaltiesAccrued" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Short-termBorrowingsAndLong-termBorrowingsDetails-Debt" xlink:title="00000095 - Disclosure - 19. Short-term borrowings and long-term borrowings (Details - Debt)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtCurrent" xlink:label="loc_us-gaapDebtCurrent"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermBankLoansAndNotesPayable" xlink:label="loc_us-gaapShortTermBankLoansAndNotesPayable"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDebtCurrent" xlink:to="loc_us-gaapShortTermBankLoansAndNotesPayable" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherShortTermBorrowings" xlink:label="loc_us-gaapOtherShortTermBorrowings"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDebtCurrent" xlink:to="loc_us-gaapOtherShortTermBorrowings" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaapLongTermDebtCurrent"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDebtCurrent" xlink:to="loc_us-gaapLongTermDebtCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaapLongTermDebt"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermLoansFromBank" xlink:label="loc_us-gaapLongTermLoansFromBank"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermLoansFromBank" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLongTermDebtNoncurrent" xlink:label="loc_us-gaapOtherLongTermDebtNoncurrent"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapOtherLongTermDebtNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount" xlink:label="loc_us-gaapDebtLongtermAndShorttermCombinedAmount"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDebtLongtermAndShorttermCombinedAmount" xlink:to="loc_us-gaapDebtCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaapLongTermDebtNoncurrent"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDebtLongtermAndShorttermCombinedAmount" xlink:to="loc_us-gaapLongTermDebtNoncurrent" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Short-termBorrowingsAndLong-termBorrowingsDetails-Maturities" xlink:title="00000096 - Disclosure - 19. Short-term borrowings and long-term borrowings (Details - Maturities)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaapLongTermDebt"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Short-termBorrowingsAndLong-termBorrowingsDetailsNarrative" xlink:title="00000097 - Disclosure - 19. Short-term borrowings and long-term borrowings (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ConvertibleBondsDetailsNarrative" xlink:title="00000098 - Disclosure - 20. Convertible Bonds (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/OtherLiabilitiesDetails" xlink:title="00000099 - Disclosure - 21. Other liabilities (Details)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaapOtherLiabilitiesCurrent"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherSundryLiabilitiesCurrent" xlink:label="loc_us-gaapOtherSundryLiabilitiesCurrent"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherLiabilitiesCurrent" xlink:to="loc_us-gaapOtherSundryLiabilitiesCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_UnpaidAcquisitionPayable" xlink:label="loc_spiUnpaidAcquisitionPayable"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherLiabilitiesCurrent" xlink:to="loc_spiUnpaidAcquisitionPayable" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaapOtherLiabilitiesNoncurrent"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProductWarrantyAccrualNoncurrent" xlink:label="loc_us-gaapProductWarrantyAccrualNoncurrent"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherLiabilitiesNoncurrent" xlink:to="loc_us-gaapProductWarrantyAccrualNoncurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="loc_us-gaapOtherLiabilities"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherLiabilities" xlink:to="loc_us-gaapOtherLiabilitiesCurrent" xlink:type="arc" weight="1"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOtherLiabilities" xlink:to="loc_us-gaapOtherLiabilitiesNoncurrent" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/OtherLiabilitiesDetailsNarrative" xlink:title="00000100 - Disclosure - 21. Other liabilities (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/StockholdersDeficitDetailsNarrative" xlink:title="00000101 - Disclosure - 22. Stockholders' Deficit (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Stock-basedCompensationDetails-Stock-basedCompensationExpenseByAwardType" xlink:title="00000102 - Disclosure - 23. Stock-based Compensation (Details - Stock-Based Compensation Expense by Award type)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Stock-basedCompensationDetails-CompensationExpenseByLineItem" xlink:title="00000103 - Disclosure - 23. Stock-based Compensation (Details - Compensation expense by line item)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Stock-basedCompensationDetails-Assumptions" xlink:title="00000104 - Disclosure - 23. Stock-based Compensation (Details - Assumptions)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Stock-basedCompensationDetails-OptionActivity" xlink:title="00000105 - Disclosure - 23. Stock-based Compensation (Details - Option Activity)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Stock-basedCompensationDetails-OptionsByExercisePrice" xlink:title="00000106 - Disclosure - 23. Stock-based Compensation (Details - Options by Exercise Price)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Stock-basedCompensationDetails-Non-vestedOptions" xlink:title="00000107 - Disclosure - 23. Stock-based Compensation (Details - Non-vested options)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Stock-basedCompensationDetails-Rsus" xlink:title="00000108 - Disclosure - 23. Stock-based Compensation (Details - RSU's)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/Stock-basedCompensationDetailsNarrative" xlink:title="00000109 - Disclosure - 23. Stock-based Compensation (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IncomeTaxesDetails-LossBeforeProvision" xlink:title="00000110 - Disclosure - 24. Income Taxes (Details - Loss before Provision)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IncomeTaxesDetails-ProvisionForIncomeTaxes" xlink:title="00000111 - Disclosure - 24. Income Taxes (Details - Provision for income taxes)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:label="loc_us-gaapCurrentIncomeTaxExpenseBenefit"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaapCurrentStateAndLocalTaxExpenseBenefit"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCurrentIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapCurrentStateAndLocalTaxExpenseBenefit" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CurrentForeignTaxExpenseBenefit" xlink:label="loc_us-gaapCurrentForeignTaxExpenseBenefit"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCurrentIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapCurrentForeignTaxExpenseBenefit" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaapDeferredIncomeTaxExpenseBenefit"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit" xlink:label="loc_us-gaapDeferredForeignIncomeTaxExpenseBenefit"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapDeferredForeignIncomeTaxExpenseBenefit" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit" xlink:label="loc_us-gaapDeferredFederalIncomeTaxExpenseBenefit"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapDeferredFederalIncomeTaxExpenseBenefit" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit" xlink:label="loc_us-gaapDeferredStateAndLocalIncomeTaxExpenseBenefit"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapDeferredStateAndLocalIncomeTaxExpenseBenefit" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaapIncomeTaxExpenseBenefit"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapCurrentIncomeTaxExpenseBenefit" xlink:type="arc" weight="1"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapDeferredIncomeTaxExpenseBenefit" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IncomeTaxesDetails-TaxReconciliation" xlink:title="00000112 - Disclosure - 24. Income Taxes (Details - Tax reconciliation)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaapIncomeTaxExpenseBenefit"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaapIncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:label="loc_us-gaapIncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationStateAndLocalIncomeTaxes" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential" xlink:label="loc_us-gaapIncomeTaxReconciliationForeignIncomeTaxRateDifferential"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationForeignIncomeTaxRateDifferential" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpense" xlink:label="loc_us-gaapIncomeTaxReconciliationNondeductibleExpense"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationNondeductibleExpense" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaapIncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:label="loc_us-gaapIncomeTaxReconciliationOtherAdjustments"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationOtherAdjustments" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseImpairmentLosses" xlink:label="loc_us-gaapIncomeTaxReconciliationNondeductibleExpenseImpairmentLosses"/>
<link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationNondeductibleExpenseImpairmentLosses" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:label="loc_us-gaapIncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
<link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_IncomeTaxReconciliationOtherAdjustmentsTaxPenalty" xlink:label="loc_spiIncomeTaxReconciliationOtherAdjustmentsTaxPenalty"/>
<link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_spiIncomeTaxReconciliationOtherAdjustmentsTaxPenalty" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate" xlink:label="loc_us-gaapIncomeTaxReconciliationChangeInEnactedTaxRate"/>
<link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationChangeInEnactedTaxRate" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationDispositionOfAssets" xlink:label="loc_us-gaapIncomeTaxReconciliationDispositionOfAssets"/>
<link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationDispositionOfAssets" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItems" xlink:label="loc_us-gaapIncomeTaxReconciliationOtherReconcilingItems"/>
<link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeTaxExpenseBenefit" xlink:to="loc_us-gaapIncomeTaxReconciliationOtherReconcilingItems" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IncomeTaxesDetails-DeferredIncomeTaxes" xlink:title="00000113 - Disclosure - 24. Income Taxes (Details - Deferred income taxes)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsGross" xlink:label="loc_us-gaapDeferredTaxAssetsGross"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards" xlink:label="loc_us-gaapDeferredTaxAssetsOperatingLossCarryforwards"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsGross" xlink:to="loc_us-gaapDeferredTaxAssetsOperatingLossCarryforwards" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsWarrantyReserves" xlink:label="loc_us-gaapDeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsWarrantyReserves"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsGross" xlink:to="loc_us-gaapDeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsWarrantyReserves" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsInvestmentInSubsidiaries" xlink:label="loc_us-gaapDeferredTaxAssetsInvestmentInSubsidiaries"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsGross" xlink:to="loc_us-gaapDeferredTaxAssetsInvestmentInSubsidiaries" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards" xlink:label="loc_us-gaapDeferredTaxAssetsTaxCreditCarryforwards"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsGross" xlink:to="loc_us-gaapDeferredTaxAssetsTaxCreditCarryforwards" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts" xlink:label="loc_us-gaapDeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsGross" xlink:to="loc_us-gaapDeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_DeferredTaxAssetsFairValueAdjustmentOfSubsidiaries" xlink:label="loc_spiDeferredTaxAssetsFairValueAdjustmentOfSubsidiaries"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsGross" xlink:to="loc_spiDeferredTaxAssetsFairValueAdjustmentOfSubsidiaries" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_DeferredTaxAssetsCfcTradePayable" xlink:label="loc_spiDeferredTaxAssetsCfcTradePayable"/>
<link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsGross" xlink:to="loc_spiDeferredTaxAssetsCfcTradePayable" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsInvestments" xlink:label="loc_us-gaapDeferredTaxAssetsInvestments"/>
<link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsGross" xlink:to="loc_us-gaapDeferredTaxAssetsInvestments" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsDerivativeInstruments" xlink:label="loc_us-gaapDeferredTaxAssetsDerivativeInstruments"/>
<link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsGross" xlink:to="loc_us-gaapDeferredTaxAssetsDerivativeInstruments" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xlink:label="loc_us-gaapDeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
<link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsGross" xlink:to="loc_us-gaapDeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsOther" xlink:label="loc_us-gaapDeferredTaxAssetsOther"/>
<link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsGross" xlink:to="loc_us-gaapDeferredTaxAssetsOther" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsNet" xlink:label="loc_us-gaapDeferredTaxAssetsNet"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_us-gaapDeferredTaxAssetsGross" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaapDeferredTaxAssetsValuationAllowance"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_us-gaapDeferredTaxAssetsValuationAllowance" xlink:type="arc" weight="-1"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_us-gaapDeferredTaxAssetsOperatingLossCarryforwards" xlink:type="arc" weight="1"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_us-gaapDeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsWarrantyReserves" xlink:type="arc" weight="1"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_us-gaapDeferredTaxAssetsInvestmentInSubsidiaries" xlink:type="arc" weight="1"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_us-gaapDeferredTaxAssetsTaxCreditCarryforwards" xlink:type="arc" weight="1"/>
<link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_us-gaapDeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts" xlink:type="arc" weight="1"/>
<link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_spiDeferredTaxAssetsFairValueAdjustmentOfSubsidiaries" xlink:type="arc" weight="1"/>
<link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_us-gaapDeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xlink:type="arc" weight="1"/>
<link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_us-gaapDeferredTaxAssetsDerivativeInstruments" xlink:type="arc" weight="1"/>
<link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_us-gaapDeferredTaxAssetsInvestments" xlink:type="arc" weight="1"/>
<link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_spiDeferredTaxAssetsCfcTradePayable" xlink:type="arc" weight="1"/>
<link:calculationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxAssetsNet" xlink:to="loc_us-gaapDeferredTaxAssetsOther" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="loc_us-gaapDeferredIncomeTaxLiabilities"/>
<link:loc xlink:type="locator" xlink:href="spi-20181231.xsd#spi_DeferredTaxLiabilitiesFairValueAdjustmentOfSubsidiaries" xlink:label="loc_spiDeferredTaxLiabilitiesFairValueAdjustmentOfSubsidiaries"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredIncomeTaxLiabilities" xlink:to="loc_spiDeferredTaxLiabilitiesFairValueAdjustmentOfSubsidiaries" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther" xlink:label="loc_us-gaapDeferredTaxLiabilitiesOther"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredIncomeTaxLiabilities" xlink:to="loc_us-gaapDeferredTaxLiabilitiesOther" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilities" xlink:label="loc_us-gaapDeferredTaxLiabilities"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxLiabilities" xlink:to="loc_us-gaapDeferredTaxAssetsNet" xlink:type="arc" weight="-1"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapDeferredTaxLiabilities" xlink:to="loc_us-gaapDeferredIncomeTaxLiabilities" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/IncomeTaxesDetailsNarrative" xlink:title="00000114 - Disclosure - 24. Income Taxes (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/NetLossPerShareDetails-BasicAndDiluted" xlink:title="00000115 - Disclosure - 25. Net Loss Per Share (Details - Basic and Diluted)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/NetLossPerShareDetails-AntidilutiveShares" xlink:title="00000116 - Disclosure - 25. Net Loss Per Share (Details - Antidilutive shares)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/CommitmentsAndContingenciesDetails-MinimumLeasePayments" xlink:title="00000117 - Disclosure - 26. Commitments and Contingencies (Details - Minimum lease payments)">
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDue"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueCurrent"/>
<link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDue" xlink:to="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
<link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDue" xlink:to="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
<link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDue" xlink:to="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
<link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDue" xlink:to="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
<link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDue" xlink:to="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:type="arc" weight="1"/>
<link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueThereafter"/>
<link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDue" xlink:to="loc_us-gaapOperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:type="arc" weight="1"/>
</link:calculationLink>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/CommitmentsAndContingenciesDetailsNarrative" xlink:title="00000118 - Disclosure - 26. Commitments and Contingencies (Details Narrative)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/ConcentrationRiskDetails-AccountsReceivableRisk" xlink:title="00000119 - Disclosure - 27. Concentration Risk (Details - Accounts receivable risk)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SegmentInformationDetails-ByProduct" xlink:title="00000120 - Disclosure - 28. Segment information (Details - By Product)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SegmentInformationDetails-Geographic" xlink:title="00000121 - Disclosure - 28. Segment information (Details - Geographic)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/SegmentInformationDetails-Long-livedAssets" xlink:title="00000122 - Disclosure - 28. Segment information (Details - Long-lived assets)"/>
<link:calculationLink xlink:type="extended" xlink:role="http://spisolar.com/role/RelatedPartyTransactionsDetailsNarrative" xlink:title="00000123 - Disclosure - 29. Related Party Transactions (Details Narrative)"/>
</link:linkbase>


5 Subsequent Filings that Reference this Filing

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

 4/14/23  SPI Energy Co., Ltd.              10-K       12/31/22  129:11M                                    GlobalOne Filings Inc/FA
 4/01/22  SPI Energy Co., Ltd.              10-K       12/31/21  133:11M                                    GlobalOne Filings Inc/FA
11/23/21  SPI Energy Co., Ltd.              20-F/A     12/31/20  127:8.2M                                   GlobalOne Filings Inc/FA
10/29/21  SPI Energy Co., Ltd.              20-F/A     12/31/20  126:13M                                    GlobalOne Filings Inc/FA
 4/29/21  SPI Energy Co., Ltd.              20-F       12/31/20  128:8.1M                                   GlobalOne Filings Inc/FA
Top
Filing Submission 0001683168-19-001261   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Thu., Apr. 25, 4:01:39.1pm ET