v3.25.2
Net Income (Loss) per Share (Tables)
6 Months Ended
Jul. 31, 2025
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted
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,
2025202420252024
Numerator:
Net income (loss) attributable to GitLab$(9,208)$12,912 $(45,083)$(42,321)
Denominator:
Weighted-average shares used to compute net income (loss) per share attributable to GitLab Class A and Class B common stockholders, basic165,953 159,677 165,233 158,973 
Dilutive impact of Stock Options— 5,452 — — 
   Dilutive impact of RSUs— 1,166 — — 
   Dilutive impact of ESPP— 51 — — 
Weighted-average shares used to compute net income (loss) per share attributable to GitLab Class A and Class B common stockholders, diluted165,953 166,346 165,233 158,973 
Net income (loss) per share attributable to GitLab Class A and Class B common stockholders, basic$(0.06)$0.08 $(0.27)$(0.27)
Net income (loss) per share attributable to GitLab Class A and Class B common stockholders, diluted$(0.06)$0.08 $(0.27)$(0.27)
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share
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, 2025July 31, 2024
Shares subject to outstanding common stock options5,226 — 
Unvested restricted stock in connection with business combination— 2 
Unvested RSUs and PSUs9,944 6,917 
Shares subject to the ESPP66 222 
Total 15,236 7,141