XML 63 R51.htm IDEA: XBRL DOCUMENT v3.23.1
Net Loss Per Share (Tables)
12 Months Ended
Dec. 31, 2022
Earnings Per Share [Abstract]  
Schedule of calculation of basic and diluted net loss per share
          
   December 31, 
   2022   2021 
Numerator:        
Net loss attributable to shareholders of SPI Energy Co., Ltd.  $(33,421)  $(45,491)
Denominator:          
Weighted-average number of ordinary shares-basic and diluted   26,513,193    24,192,815 
Basic and diluted net loss per share  $(1.3)  $(1.9)
Schedule securities excluded from the computation of diluted net loss per share
          
   For years ended December 31, 
   2022   2021 
In-the-money share options and non-vested restricted stock   5,000    53,300 
Convertible bonds (Note 14)   511,778    702,000 
Total   516,778    755,300