XML 29 R18.htm IDEA: XBRL DOCUMENT v3.25.3
Net Income (Loss) Per Share, Basic and Diluted
9 Months Ended
Nov. 01, 2025
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share, Basic and Diluted Net Income (Loss) Per Share, Basic and Diluted
For purposes of calculating net income (loss) per share, the Company continues to use the two-class method. As Class A, Class B, and Class C common stock have identical liquidation and dividend rights, the undistributed earnings are allocated on a proportionate basis to each class of common stock. As a result, the basic and diluted net income (loss) per share are the same for all classes of Samsara’s common stock, on both an individual and combined basis, and therefore are presented together.
Basic net income (loss) per share is computed by dividing net income (loss) by the weighted-average number of shares of common stock outstanding during the period. Diluted net income (loss) per share is computed by dividing net income (loss) by the weighted-average number of shares of common stock outstanding during the period, adjusted for the effects of dilutive shares of common stock, which consist of outstanding stock options, RSUs, and ESPP obligations. The potentially dilutive shares of common stock are computed using the treasury stock method. The effects of outstanding stock options, RSUs, and ESPP obligations are excluded from the computation of diluted net income (loss) per share in periods in which the effect would be antidilutive.
The following table presents the calculation of basic and diluted net income (loss) per share (in thousands, except share and per share data):
Three Months EndedNine Months Ended
November 1, 2025November 2, 2024November 1, 2025November 2, 2024
Numerator:
Net income (loss)$7,766 $(37,806)$(31,155)$(143,705)
Denominator:
Weighted-average shares used in computing net income (loss) per share, basic575,474,834 559,006,539 571,651,216 553,858,923 
Weighted-average effect of potentially dilutive securities:
Outstanding stock options4,772,139 — — — 
RSUs5,391,735 — — — 
Employee stock purchase plan obligations— — — — 
Weighted-average shares used in computing net income (loss) per share, diluted585,638,708 559,006,539 571,651,216 553,858,923 
Net income (loss) per share, basic$0.01 $(0.07)$(0.05)$(0.26)
Net income (loss) per share, diluted$0.01 $(0.07)$(0.05)$(0.26)
The following potentially dilutive securities were excluded from the computation of diluted net income (loss) per share calculations for the periods presented because the impact of including them would have been antidilutive:
Three Months EndedNine Months Ended
November 1, 2025November 2, 2024November 1, 2025November 2, 2024
Outstanding stock options— 5,635,770 5,572,614 5,635,770 
RSUs4,430,776 26,849,742 17,719,408 26,849,742 
Employee stock purchase plan obligations551,714 658,171 551,714 658,171 
Total antidilutive securities4,982,490 33,143,683 23,843,736 33,143,683