The following selected consolidated financial data should be read in conjunction with our audited consolidated financial statements and related notes thereto and with Management’s Discussion and Analysis of Financial Condition and Results of Operations, which are included elsewhere in this Form 10‑K. The consolidated statement of income data for our fiscal years ended January 31, 2021, 2020, and 2019, and the selected consolidated balance sheet data as of January 31, 2021 and 2020 are derived from, and are qualified by reference to, the audited consolidated financial statements included in this Form 10-K. The consolidated statement of income data for fiscal years ended January 31, 2018 and 2017 and the consolidated balance sheet data as of January 31, 2019, 2018, and 2017 are derived from audited consolidated financial statements which are not included in this Form 10‑K. The consolidated balance sheet data as of January 31, 2018 and 2017 and consolidated statement of income data for the fiscal years ended January 31, 2018 and 2017 have been derived from our audited consolidated financial statements adjusted for the adoption of Topic 606. Our historical results are not necessarily indicative of our future results. The selected consolidated financial data in this section are not intended to replace our consolidated financial statements and the related notes, and are qualified in their entirety by the consolidated financial statements and related notes included elsewhere in this Form 10-K.
Fiscal year ended January 31,
2021
2020
2019
2018
2017
(in thousands, except share data)
Revenues:
Subscription services
$
1,179,486
$
896,294
$
694,467
$
559,434
$
440,815
Professional services and other
285,583
207,787
167,743
131,125
109,727
Total revenues
1,465,069
1,104,081
862,210
690,559
550,542
Cost of revenues**(1)****:**
Cost of subscription services
184,589
136,328
117,009
110,465
94,386
Cost of professional services and other
224,339
167,041
128,272
100,957
79,295
Total cost of revenues
408,928
303,369
245,281
211,422
173,681
Gross profit
1,056,141
800,712
616,929
479,137
376,861
Operating expenses**(1)****:**
Research and development
294,220
209,895
158,783
132,017
96,743
Sales and marketing
235,014
190,331
148,867
128,781
110,634
General and administrative
149,113
114,267
86,413
60,410
48,796
Total operating expenses
678,347
514,493
394,063
321,208
256,173
Operating income
377,794
286,219
222,866
157,929
120,688
Other income, net
16,199
27,478
15,777
7,842
1,667
Income before income taxes
393,993
313,697
238,643
165,771
122,355
Provision for income taxes
13,995
12,579
8,811
14,594
44,783
Net income
$
379,998
$
301,118
$
229,832
$
151,177
$
77,572
Net income, basic and diluted
$
379,998
$
301,118
$
229,832
$
151,177
$
77,569
Net income per share:
Basic
$
2.52
$
2.04
$
1.59
$
1.08
$
0.57
Diluted
$
2.36
$
1.90
$
1.47
$
0.98
$
0.53
Weighted-average shares used to compute net income per share: