v3.24.0.1
Net Loss Per Share Attributable to Compass, Inc. (Tables)
12 Months Ended
Dec. 31, 2023
Earnings Per Share [Abstract]  
Summary of Computation of Basic and Diluted Net Loss Per Share Attributable to Common Stockholders
The following table sets forth the computation of basic and diluted net loss per share attributable to Compass, Inc. (in millions, except share and per share amounts):
Year Ended December 31,
202320222021
Numerator:
Net loss attributable to Compass, Inc.$(321.3)$(601.5)$(494.1)
Denominator:   
Weighted-average shares used in computing net loss per share attributable to Compass, Inc., basic and diluted466,522,935 428,169,180 326,336,128 
Net loss per share attributable to Compass, Inc., basic and diluted$(0.69)$(1.40)$(1.51)
Summary of Computation of Diluted Net Loss Per Share Attributable to Common Stockholders
The following participating securities were excluded from the computation of diluted net loss per share attributable to Compass, Inc. for the periods presented because including them would have been anti-dilutive (on an as-converted basis):
Year Ended December 31,
202320222021
Outstanding stock options40,527,848 46,694,237 54,525,539 
Outstanding RSUs29,943,818 47,189,837 54,517,930 
Shares subject to the Employee Stock Purchase Plan589,729 583,749 — 
Unvested early exercised options11,230 91,770 1,068,300 
Unvested common stock— 138,892 391,092 
Contingent common stock to be issued in connection with the Strategic Transaction1,664,551 — — 
Total72,737,176 94,698,485 110,502,861