| Schedule of earnings per share |
The following table sets forth the computation of basic and diluted net income per share of Class A, Class B, and Class C stock (in millions, except per share amounts): | | | | | | | | | | | | | | | | | | | | Year Ended December 31, | | | 2021 | | | Class A | | Class B | | Class C | | Basic net income per share: | | | | | | | Numerator | | | | | | | | | | | | | Allocation of undistributed earnings | $ | 34,200 | | | $ | 5,174 | | | $ | 36,659 | | | Denominator | | | | | | | Number of shares used in per share computation | 6,006 | | | 909 | | | 6,438 | | | | | | | | | | | | | | | | | | | | | Basic net income per share | $ | 5.69 | | | $ | 5.69 | | | $ | 5.69 | | | Diluted net income per share: | | | | | | | Numerator | | | | | | | Allocation of undistributed earnings for basic computation | $ | 34,200 | | | $ | 5,174 | | | $ | 36,659 | | | Reallocation of undistributed earnings as a result of conversion of Class B to Class A shares | 5,174 | | | 0 | | | 0 | | | Reallocation of undistributed earnings | (581) | | | (77) | | | 581 | | | | | | | | | Allocation of undistributed earnings | $ | 38,793 | | | $ | 5,097 | | | $ | 37,240 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Denominator | | | | | | | Number of shares used in basic computation | 6,006 | | | 909 | | | 6,438 | | | Weighted-average effect of dilutive securities | | | | | | | Add: | | | | | | | Conversion of Class B to Class A shares outstanding | 909 | | | 0 | | | 0 | | | | | | | | | Restricted stock units and other contingently issuable shares | 0 | | | 0 | | | 200 | | | Number of shares used in per share computation | 6,915 | | | 909 | | | 6,638 | | | | | | | | | | | | | | | | | | | | | | | | | | | Diluted net income per share | $ | 5.61 | | | $ | 5.61 | | | $ | 5.61 | |
| | | | | | | | | | | | | | | | | | | | Year Ended December 31, | | | 2022 | | | Class A | | Class B | | Class C | | Basic net income per share: | | | | | | | Numerator | | | | | | | | | | | | | | | | | | | | | | | | | Allocation of undistributed earnings | $ | 27,518 | | | $ | 4,072 | | | $ | 28,382 | | | Denominator | | | | | | | Number of shares used in per share computation | 5,994 | | | 887 | | | 6,182 | | | | | | | | | | | | | | | | | | | | | Basic net income per share | $ | 4.59 | | | $ | 4.59 | | | $ | 4.59 | | | Diluted net income per share: | | | | | | | Numerator | | | | | | | Allocation of undistributed earnings for basic computation | $ | 27,518 | | | $ | 4,072 | | | $ | 28,382 | | | Reallocation of undistributed earnings as a result of conversion of Class B to Class A shares | 4,072 | | | 0 | | | 0 | | | Reallocation of undistributed earnings | (230) | | | (30) | | | 230 | | | Allocation of undistributed earnings | $ | 31,360 | | | $ | 4,042 | | | $ | 28,612 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Denominator | | | | | | | Number of shares used in basic computation | 5,994 | | | 887 | | | 6,182 | | | Weighted-average effect of dilutive securities | | | | | | | Add: | | | | | | | Conversion of Class B to Class A shares outstanding | 887 | | | 0 | | | 0 | | | | | | | | | Restricted stock units and other contingently issuable shares | 0 | | | 0 | | | 96 | | | Number of shares used in per share computation | 6,881 | | | 887 | | | 6,278 | | | | | | | | | | | | | | | | | | | | | | | | | | | Diluted net income per share | $ | 4.56 | | | $ | 4.56 | | | $ | 4.56 | |
| | | | | | | | | | | | | | | | | | | | Year Ended December 31, | | | 2023 | | | Class A | | Class B | | Class C | | Basic net income per share: | | | | | | | Numerator | | | | | | | Allocation of undistributed earnings | $ | 34,601 | | | $ | 5,124 | | | $ | 34,070 | | | Denominator | | | | | | | Number of shares used in per share computation | 5,922 | | | 877 | | | 5,831 | | | | | | | | | | | | | | | | | | | | | Basic net income per share | $ | 5.84 | | | $ | 5.84 | | | $ | 5.84 | | | Diluted net income per share: | | | | | | | Numerator | | | | | | | | | | | | | Allocation of undistributed earnings for basic computation | $ | 34,601 | | | $ | 5,124 | | | $ | 34,070 | | | | | | | | | | | | | | | Reallocation of undistributed earnings as a result of conversion of Class B to Class A shares | 5,124 | | | 0 | | | 0 | | | Reallocation of undistributed earnings | (287) | | | (37) | | | 287 | | | Allocation of undistributed earnings | $ | 39,438 | | | $ | 5,087 | | | $ | 34,357 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Denominator | | | | | | | Number of shares used in basic computation | 5,922 | | | 877 | | | 5,831 | | | Weighted-average effect of dilutive securities | | | | | | | Add: | | | | | | | Conversion of Class B to Class A shares outstanding | 877 | | | 0 | | | 0 | | | | | | | | | Restricted stock units and other contingently issuable shares | 0 | | | 0 | | | 92 | | | Number of shares used in per share computation | 6,799 | | | 877 | | | 5,923 | | | | | | | | | | | | | | | | | | | | | | | | | | | Diluted net income per share | $ | 5.80 | | | $ | 5.80 | | | $ | 5.80 | |
|