v3.22.0.1
Income Taxes (Tables)
12 Months Ended
Dec. 31, 2021
Income Tax Disclosure [Abstract]  
Schedule of Components of Income Before Provision for Income Taxes
The components of income before provision for income taxes are as follows (in millions):
 Year Ended December 31, 
 202120202019
Domestic$43,669 $24,233 $5,317 
Foreign3,615 8,947 19,495 
Income before provision for income taxes$47,284 $33,180 $24,812 
Schedule of Provision for Income Taxes The provision for income taxes consists of the following (in millions):
 Year Ended December 31, 
 202120202019
Current:   
Federal$4,971 $3,297 $4,321 
State548 523 565 
Foreign1,786 1,211 1,481 
Total current tax expense7,305 5,031 6,367 
Deferred:   
Federal585 (859)(39)
State43 (122)19 
Foreign(19)(16)(20)
Total deferred tax (benefits)/expense609 (997)(40)
Provision for income taxes$7,914 $4,034 $6,327 
Schedule of Reconciliation of U.S. Federal Statutory Income Tax Rate to Effective Tax Rate
A reconciliation of the U.S. federal statutory income tax rates to our effective tax rate is as follows (in percentages):
 Year Ended December 31, 
 202120202019
U.S. federal statutory income tax rate21.0 %21.0 %21.0 %
State income taxes, net of federal benefit1.0 0.8 1.8 
Share-based compensation0.5 0.2 4.5 
Excess tax benefits related to share-based compensation(2.2)(1.6)(0.7)
Research and development tax credits(1.3)(1.3)(0.8)
Foreign-derived intangible income deduction(3.5)(1.9)— 
Effect of non-U.S. operations0.9 (2.4)(5.8)
Non-deductible FTC settlement accrual— — 4.5 
Research and development capitalization— (3.0)— 
Other0.3 0.4 1.0 
Effective tax rate16.7 %12.2 %25.5 %
Schedule of Deferred Tax Assets and Liabilities
Our deferred tax assets (liabilities) are as follows (in millions):
 December 31, 
 20212020
Deferred tax assets:  
Net operating loss carryforward$2,443 $2,437 
Tax credit carryforward1,385 1,055 
Share-based compensation319 243 
Accrued expenses and other liabilities1,195 1,108 
Lease liabilities2,597 2,058 
Capitalized research and development1,691 1,922 
Other449 340 
Total deferred tax assets10,079 9,163 
Less: valuation allowance(1,586)(1,218)
Deferred tax assets, net of valuation allowance8,493 7,945 
Deferred tax liabilities:  
Depreciation and amortization(4,425)(3,811)
Right-of-use assets(2,339)(1,876)
Total deferred tax liabilities(6,764)(5,687)
Net deferred tax assets$1,729 $2,258 
Schedule of Gross Unrecognized Tax Benefits Roll Forward
The following table reflects changes in the gross unrecognized tax benefits (in millions):
 Year Ended December 31, 
 202120202019
Gross unrecognized tax benefits ‑ beginning of period$8,692 $7,863 $4,678 
Increases related to prior year tax positions328 356 2,309 
Decreases related to prior year tax positions(86)(253)(525)
Increases related to current year tax positions963 1,045 1,402 
Decreases related to settlements of prior year tax positions(90)(319)(1)
Gross unrecognized tax benefits ‑ end of period$9,807 $8,692 $7,863