v3.24.2.u1
Net Income (Loss) per Share
6 Months Ended
Jul. 31, 2024
Earnings Per Share [Abstract]  
Net Income (Loss) per Share
13. Net Income (Loss) per Share
The following table sets forth basic and diluted income (loss) per share for each of the periods presented (in thousands, except per share data):
Three Months Ended July 31,Six Months Ended July 31,
2024202320242023
Numerator:
Net income (loss) attributable to GitLab$12,949 $(50,080)$(41,695)$(102,549)
Denominator:
Weighted-average shares used to compute net income (loss) per share attributable to GitLab Class A and Class B common stockholders, basic159,677 153,644 158,973 152,683 
Dilutive impact of Stock Options5,452 — — — 
   Dilutive impact of RSUs1,166 — — — 
   Dilutive impact of ESPP51 — — — 
Weighted-average shares used to compute net income (loss) per share attributable to GitLab Class A and Class B common stockholders, diluted166,346 153,644 158,973 152,683 
Net income (loss) per share attributable to GitLab Class A and Class B common stockholders, basic$0.08 $(0.33)$(0.26)$(0.67)
Net income (loss) per share attributable to GitLab Class A and Class B common stockholders, diluted$0.08 $(0.33)$(0.26)$(0.67)
Potentially dilutive securities that were not included in the diluted per share calculations because they would be anti-dilutive were as follows (in thousands):
As of
July 31, 2024July 31, 2023
Shares subject to outstanding common stock options— 9,933 
Unvested restricted stock in connection with business combination2 3 
Unvested early exercised stock options— 63 
Unvested RSUs and PSUs6,917 11,465 
Shares subject to the ESPP222 71 
Total 7,141 21,535