v3.25.2
Net Income (Loss) per Share - Schedule of Earning Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2025
Jul. 31, 2024
Numerator:        
Net income (loss) attributable to GitLab $ (9,208) $ 12,912 $ (45,083) $ (42,321)
Denominator:        
Weighted-average shares used to compute net loss per share attributable to GitLab Class A and Class B common stockholders, basic (in shares) 165,953 159,677 165,233 158,973
Weighted-average shares used to compute net loss per share attributable to GitLab Class A and Class B common stockholders, diluted (in shares) 165,953 166,346 165,233 158,973
Net loss per share attributable to GitLab Class A and Class B common stockholders, basic (in USD per share) $ (0.06) $ 0.08 $ (0.27) $ (0.27)
Net loss per share attributable to GitLab Class A and Class B common stockholders, diluted (in USD per share) $ (0.06) $ 0.08 $ (0.27) $ (0.27)
Stock options        
Denominator:        
Dilutive impact of options, restrictive stock units and ESPP (in shares) 0 5,452 0 0
RSUs        
Denominator:        
Dilutive impact of options, restrictive stock units and ESPP (in shares) 0 1,166 0 0
Employee Stock        
Denominator:        
Dilutive impact of options, restrictive stock units and ESPP (in shares) 0 51 0 0