FACEBOOK INC, 10-Q filed on 10/31/2018
Quarterly Report
v3.10.0.1
Document and Entity Information - shares
9 Months Ended
Sep. 30, 2018
Oct. 26, 2018
Entity Information    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Sep. 30, 2018  
Document Fiscal Year Focus 2018  
Document Fiscal Period Focus Q3  
Trading Symbol FB  
Entity Registrant Name Facebook Inc  
Entity Central Index Key 0001326801  
Current Fiscal Year End Date --12-31  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Class A Common Stock    
Entity Information    
Entity Common Stock, Shares Outstanding   2,402,466,211
Class B Common Stock    
Entity Information    
Entity Common Stock, Shares Outstanding   471,321,401
v3.10.0.1
CONDENSED CONSOLIDATED BALANCE SHEETS - USD ($)
$ in Millions
Sep. 30, 2018
Dec. 31, 2017
Current assets:    
Cash and cash equivalents $ 9,637 $ 8,079
Marketable securities 31,569 33,632
Accounts receivable, net of allowances of $207 and $189 as of September 30, 2018 and December 31, 2017, respectively 6,058 5,832
Prepaid expenses and other current assets 1,883 1,020
Total current assets 49,147 48,563
Property and equipment, net 21,112 13,721
Intangible assets, net 1,451 1,884
Goodwill 18,304 18,221
Other assets 2,438 2,135
Total assets 92,452 84,524
Current liabilities:    
Accounts payable 590 380
Partners payable 502 390
Accrued expenses and other current liabilities 4,255 2,892
Deferred revenue and deposits 115 98
Total current liabilities 5,462 3,760
Other liabilities 6,648 6,417
Total liabilities 12,110 10,177
Commitments and contingencies
Stockholders' equity:    
Common stock, $0.000006 par value; 5,000 million Class A shares authorized, 2,402 million and 2,397 million shares issued and outstanding, as of September 30, 2018 and December 31, 2017, respectively; 4,141 million Class B shares authorized, 471 million and 509 million shares issued and outstanding, as of September 30, 2018 and December 31, 2017, respectively. 0 0
Additional paid-in capital 42,352 40,584
Accumulated other comprehensive loss (777) (227)
Retained earnings 38,767 33,990
Total stockholders' equity 80,342 74,347
Total liabilities and stockholders' equity $ 92,452 $ 84,524
v3.10.0.1
CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical) - USD ($)
$ in Millions
Sep. 30, 2018
Dec. 31, 2017
Current assets:    
Accounts receivable, allowances for doubtful accounts $ 207 $ 189
Stockholders' equity:    
Common stock, par value (in dollars per share) $ 0.000006 $ 0.000006
Class A Common Stock    
Stockholders' equity:    
Common stock, shares authorized (in shares) 5,000,000,000 5,000,000,000
Common stock, shares issued (in shares) 2,402,000,000 2,397,000,000
Common stock, shares outstanding (in shares) 2,402,000,000 2,397,000,000
Class B Common Stock    
Stockholders' equity:    
Common stock, shares authorized (in shares) 4,141,000,000 4,141,000,000
Common stock, shares issued (in shares) 471,000,000 509,000,000
Common stock, shares outstanding (in shares) 471,000,000 509,000,000
v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF INCOME - USD ($)
shares in Millions, $ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Revenue $ 13,727 $ 10,328 $ 38,924 $ 27,681
Costs and expenses:        
Cost of revenue 2,418 1,448 6,559 3,843
Research and development 2,657 2,052 7,418 5,805
Marketing and sales 1,928 1,170 5,379 3,351
General and administrative 943 536 2,475 1,831
Total costs and expenses 7,946 5,206 21,831 14,830
Income from operations 5,781 5,122 17,093 12,851
Interest and other income, net 131 114 297 281
Income before provision for income taxes 5,912 5,236 17,390 13,132
Provision for income taxes 775 529 2,160 1,467
Net income 5,137 4,707 15,230 11,665
Less: Net income attributable to participating securities 0 3 1 13
Net income attributable to Class A and Class B common stockholders $ 5,137 $ 4,704 $ 15,229 $ 11,652
Earnings per share attributable to Class A and Class B common stockholders:        
Basic (in dollars per share) $ 1.78 $ 1.62 $ 5.26 $ 4.02
Diluted (in dollars per share) $ 1.76 $ 1.59 $ 5.20 $ 3.95
Weighted average shares used to compute earnings per share attributable to Class A and Class B common stockholders:        
Basic (in shares) 2,885 2,904 2,895 2,898
Diluted (in shares) 2,913 2,956 2,931 2,954
Share-based compensation expense included in costs and expenses:        
Share-based compensation expense $ 1,040 $ 1,010 $ 3,180 $ 2,909
Cost of revenue        
Share-based compensation expense included in costs and expenses:        
Share-based compensation expense 72 47 202 128
Research and development        
Share-based compensation expense included in costs and expenses:        
Share-based compensation expense 748 776 2,347 2,233
Marketing and sales        
Share-based compensation expense included in costs and expenses:        
Share-based compensation expense 133 114 380 330
General and administrative        
Share-based compensation expense included in costs and expenses:        
Share-based compensation expense $ 87 $ 73 $ 251 $ 218
v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Statement of Comprehensive Income [Abstract]        
Net income $ 5,137 $ 4,707 $ 15,230 $ 11,665
Other comprehensive income (loss):        
Change in foreign currency translation adjustment, net of tax (44) 174 (321) 480
Change in unrealized gain/loss on available-for-sale investments and other, net of tax (46) (4) (229) 23
Comprehensive income $ 5,047 $ 4,877 $ 14,680 $ 12,168
v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY Statement - USD ($)
shares in Millions, $ in Millions
Total
Class A and Class B Common Stock
Additional Paid-In Capital
Accumulated Other Comprehensive Loss
Retained Earnings
Impact of the adoption of new accounting pronouncement $ 0        
Balance at beginning of period (in shares) at Dec. 31, 2016   2,892      
Balances at beginning of period at Dec. 31, 2016 59,194 $ 0 $ 38,227 $ (703) $ 21,670
Issuance of common stock (in shares)   38      
Issuance of common stock 335   335    
Shares withheld related to net share settlement (in shares)   (17)      
Shares withheld related to net share settlement (2,360)   (1,272)   (1,088)
Share-based compensation, related to employee share-based awards 2,909   2,909    
Share repurchases (in shares)   (7)      
Share repurchases (1,038)       (1,038)
Other comprehensive (loss) income 503     503  
Net income 11,665       11,665
Balance at end of period (in shares) at Sep. 30, 2017   2,906      
Balances at end of period at Sep. 30, 2017 71,208 $ 0 40,199 (200) 31,209
Impact of the adoption of new accounting pronouncement 0        
Balance at beginning of period (in shares) at Jun. 30, 2017   2,903      
Balances at beginning of period at Jun. 30, 2017 66,481 $ 0 39,291 (370) 27,560
Issuance of common stock (in shares)   13      
Issuance of common stock 323   323    
Shares withheld related to net share settlement (in shares)   (6)      
Shares withheld related to net share settlement (853)   (425)   (428)
Share-based compensation, related to employee share-based awards 1,010   1,010    
Share repurchases (in shares)   (4)      
Share repurchases (630)       (630)
Other comprehensive (loss) income 170     170  
Net income 4,707       4,707
Balance at end of period (in shares) at Sep. 30, 2017   2,906      
Balances at end of period at Sep. 30, 2017 71,208 $ 0 40,199 (200) 31,209
Impact of the adoption of new accounting pronouncement 141     (31) 172
Balance at beginning of period (in shares) at Dec. 31, 2017   2,906      
Balances at beginning of period at Dec. 31, 2017 74,347 $ 0 40,584 (227) 33,990
Issuance of common stock (in shares)   37      
Issuance of common stock 11   11    
Shares withheld related to net share settlement (in shares)   (15)      
Shares withheld related to net share settlement (2,663)   (1,423)   (1,240)
Share-based compensation, related to employee share-based awards 3,180   3,180    
Share repurchases (in shares)   (54)      
Share repurchases (9,385)       (9,385)
Other comprehensive (loss) income (519)     (519)  
Net income 15,230       15,230
Balance at end of period (in shares) at Sep. 30, 2018   2,874      
Balances at end of period at Sep. 30, 2018 80,342 $ 0 42,352 (777) 38,767
Impact of the adoption of new accounting pronouncement       (31) 31
Balance at beginning of period (in shares) at Jun. 30, 2018   2,891      
Balances at beginning of period at Jun. 30, 2018 79,382 $ 0 41,832 (687) 38,237
Issuance of common stock (in shares)   12      
Issuance of common stock 3   3    
Shares withheld related to net share settlement (in shares)   (5)      
Shares withheld related to net share settlement (905)   (523)   (382)
Share-based compensation, related to employee share-based awards 1,040   1,040    
Share repurchases (in shares)   (24)      
Share repurchases (4,256)       (4,256)
Other comprehensive (loss) income (59)     (59)  
Net income 5,137       5,137
Balance at end of period (in shares) at Sep. 30, 2018   2,874      
Balances at end of period at Sep. 30, 2018 $ 80,342 $ 0 $ 42,352 $ (777) $ 38,767
v3.10.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities    
Net income $ 15,230 $ 11,665
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 3,090 2,172
Share-based compensation 3,180 2,909
Deferred income taxes 83 (152)
Other 19 18
Changes in assets and liabilities:    
Accounts receivable (328) (235)
Prepaid expenses and other current assets (889) (634)
Other assets (99) 130
Accounts payable 88 (7)
Partners payable 116 22
Accrued expenses and other current liabilities 1,044 95
Deferred revenue and deposits 20 12
Other liabilities 102 550
Net cash provided by operating activities 21,656 16,545
Cash flows from investing activities    
Purchases of property and equipment (9,614) (4,470)
Purchases of marketable securities (12,658) (20,410)
Sales of marketable securities 11,104 7,649
Maturities of marketable securities 3,391 2,228
Acquisitions of businesses, net of cash acquired, and purchases of intangible assets (137) (106)
Other investing activities, net (4) (6)
Net cash used in investing activities (7,918) (15,115)
Cash flows from financing activities    
Taxes paid related to net share settlement of equity awards (2,663) (2,360)
Repurchases of Class A common stock (9,379) (1,018)
Other financing activities, net 11 (14)
Net cash used in financing activities (12,031) (3,392)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (167) 192
Net increase (decrease) in cash, cash equivalents, and restricted cash 1,540 (1,770)
Cash, cash equivalents, and restricted cash at beginning of the period 8,204 9,109
Cash, cash equivalents, and restricted cash at end of the period 9,744 7,339
Reconciliation of cash, cash equivalents, and restricted cash to the condensed consolidated balance sheets    
Cash and cash equivalents 9,637 7,201
Total cash, cash equivalents, and restricted cash 8,204 9,109
Cash paid during the period for:    
Income taxes, net 2,728 1,793
Non-cash investing and financing activities:    
Net change in prepaids and liabilities related to property and equipment additions 613 540
Settlement of acquisition-related contingent consideration liability 0 102
Change in unsettled repurchases of Class A common stock $ 6 $ 20
v3.10.0.1
Summary of Significant Accounting Policies (Notes)
9 Months Ended
Sep. 30, 2018
Accounting Policies [Abstract]  
Summary of Significant Accounting Policies
Summary of Significant Accounting Policies
Basis of Presentation
The accompanying unaudited condensed consolidated financial statements have been prepared in accordance with generally accepted accounting principles in the United States (GAAP) and applicable rules and regulations of the Securities and Exchange Commission regarding interim financial reporting. Certain information and note disclosures normally included in the financial statements prepared in accordance with GAAP have been condensed or omitted pursuant to such rules and regulations. As such, the information included in this quarterly report on Form 10-Q should be read in conjunction with the consolidated financial statements and accompanying notes included in our Annual Report on Form 10-K for the fiscal year ended December 31, 2017.
The condensed consolidated balance sheet as of December 31, 2017 included herein was derived from the audited financial statements as of that date, but does not include all disclosures including notes required by GAAP.
The condensed consolidated financial statements include the accounts of Facebook, Inc. and its wholly owned subsidiaries. All intercompany balances and transactions have been eliminated.
The accompanying condensed consolidated financial statements reflect all normal recurring adjustments that are necessary to present fairly the results for the interim periods presented. Interim results are not necessarily indicative of the results for the full year ending December 31, 2018.
Use of Estimates
Conformity with GAAP requires the use of estimates and judgments that affect the reported amounts in the consolidated financial statements and accompanying notes. These estimates form the basis for judgments we make about the carrying values of our assets and liabilities, which are not readily apparent from other sources. We base our estimates and judgments on historical information and on various other assumptions that we believe are reasonable under the circumstances. GAAP requires us to make estimates and judgments in several areas, including, but not limited to, those related to income taxes, loss contingencies, fair value of acquired intangible assets and goodwill, collectability of accounts receivable, fair value of financial instruments, leases, useful lives of intangible assets and property and equipment, and revenue recognition. These estimates are based on management's knowledge about current events and expectations about actions we may undertake in the future. Actual results could differ materially from those estimates.
Recently Issued Accounting Pronouncements
In February 2016, the Financial Accounting Standards Board (FASB) issued Accounting Standards Update No. 2016-02, Leases (Topic 842) (ASU 2016-02), which generally requires companies to recognize operating and financing lease liabilities and corresponding right-of-use assets on the balance sheet. This guidance will be effective for us in the first quarter of 2019 on a modified retrospective basis applied either to the earliest comparative period or at transition and early adoption is permitted. We will adopt the new standard effective January 1, 2019. We have selected and implemented a lease accounting system, and are in the process of validating the accuracy of the reports generated from the system and finalizing our accounting policy and use of optional practical expedients. While we continue to evaluate the effect of adopting this guidance on our consolidated financial statements and related disclosures, we expect all of our leases including our operating leases, as disclosed in Note 8 — Commitments and Contingencies, will be subject to the new standard. We will recognize right-of-use assets and operating lease liabilities on our consolidated balance sheets upon adoption, which will increase our total assets and liabilities.
Recently Adopted Accounting Pronouncements
In May 2014, the FASB issued Accounting Standards Update No. 2014-09, Revenue from Contracts with Customers (Topic 606), which supersedes the revenue recognition requirements in Accounting Standards Codification (ASC) Topic 605, Revenue Recognition (Topic 605). We adopted Topic 606 as of January 1, 2018 using the modified retrospective transition method applied to those contracts which were not completed as of January 1, 2018. See Revenue Recognition below for further details.
In October 2016, the FASB issued Accounting Standards Update No. 2016-16, Income Taxes (Topic 740): Intra-Entity Transfers Other than Inventory (ASU 2016-16), which requires companies to recognize the income-tax consequences of an intra-entity transfer of an asset other than inventory when the transfer occurs, rather than when the asset has been sold to an outside party. We adopted the new standard effective January 1, 2018, using the modified retrospective transition approach through a cumulative-effect adjustment to retained earnings as of the effective date, which was not material to our condensed consolidated financial statements.
In November 2016, the FASB issued Accounting Standards Update No. 2016-18, Statement of Cash Flows (Topic 230): Restricted Cash (ASU 2016-18), which requires companies to include amounts generally described as restricted cash and restricted cash equivalents in cash and cash equivalents when reconciling beginning-of-period and end-of-period total amounts shown on the statements of cash flows. We adopted the new standard effective January 1, 2018, using the retrospective transition approach. The reclassified restricted cash balances from investing activities to changes in cash, cash equivalents and restricted cash on the condensed consolidated statements of cash flows were not material for all periods presented.
In January 2017, the FASB issued Accounting Standards Update No. 2017-01, Business Combinations (Topic 805): Clarifying the Definition of a Business (ASU 2017-01), which revises the definition of a business and provides new guidance in evaluating when a set of transferred assets and activities is a business. We adopted the new standard effective January 1, 2018 on a prospective basis. The new standard did not have a material impact on our condensed consolidated financial statements.     
In February 2018, the FASB issued Accounting Standards Update No. 2018-02, Income Statement—Reporting Comprehensive Income (Topic 220): Reclassification of Certain Tax Effects from Accumulated Other Comprehensive Income (ASU 2018-02), which allows companies to reclassify stranded tax effects resulting from the 2017 Tax Cuts and Jobs Act (Tax Act), from accumulated other comprehensive income to retained earnings. The new standard is effective for us beginning January 1, 2019, with early adoption permitted. We elected to early adopt the new standard at the beginning of the third quarter of 2018 using the aggregate portfolio approach. The amount of stranded tax effects that were reclassified from accumulated other comprehensive income to retained earnings was not material.
Revenue Recognition
    
On January 1, 2018, we adopted Topic 606, using the modified retrospective transition method applied to those contracts which were not completed as of January 1, 2018. Results for reporting periods beginning after January 1, 2018 are presented under Topic 606, while prior period amounts have not been adjusted and continue to be reported in accordance with our historic accounting under Topic 605. The impact of adopting the new revenue standard was not material to our condensed consolidated financial statements and there was no adjustment to beginning retained earnings on January 1, 2018.
Under Topic 606, revenue is recognized when control of the promised goods or services is transferred to our customers, in an amount that reflects the consideration we expect to be entitled to in exchange for those goods or services.

We determine revenue recognition through the following steps:
identification of the contract, or contracts, with a customer;
identification of the performance obligations in the contract;
determination of the transaction price;
allocation of the transaction price to the performance obligations in the contract; and
recognition of revenue when, or as, we satisfy a performance obligation.
Revenue excludes sales and usage-based taxes where it has been determined that we are acting as a pass-through agent.
Revenue disaggregated by revenue source for the three and nine months ended September 30, 2018 and 2017, consists of the following (in millions):
 
Three Months Ended September 30,
 
Nine Months Ended September 30,
 
2018
 
2017(1)
 
2018
 
2017(1)
Advertising
$
13,539

 
$
10,142

 
$
38,373

 
$
27,163

Payments and other fees
188

 
186

 
551

 
518

    Total revenue
$
13,727

 
$
10,328

 
$
38,924

 
$
27,681

(1) As noted above, prior period amounts have not been adjusted under the modified retrospective method. 
Revenue disaggregated by geography, based on the billing address of our customer, consists of the following (in millions):
 
Three Months Ended September 30,
 
Nine Months Ended September 30,
 
2018
 
2017(1)
 
2018
 
2017(1)
Revenue:
 
 
 
 
 
 
 
US & Canada(2)
$
6,325

 
$
4,823

 
$
17,750

 
$
12,972

Europe(3)
3,234

 
2,546

 
9,568

 
6,846

Asia-Pacific
3,007

 
2,042

 
8,253

 
5,424

Rest of World(3)
1,161

 
917

 
3,353

 
2,439

Total revenue
$
13,727

 
$
10,328

 
$
38,924

 
$
27,681

(1) As noted above, prior period amounts have not been adjusted under the modified retrospective method. 
(2) United States revenue was $5.93 billion and $4.48 billion for the three months ended September 30, 2018 and 2017, respectively, and $16.62 billion and $12.06 billion for the nine months ended September 30, 2018 and 2017, respectively. 
(3) Europe includes Russia and Turkey, and Rest of World includes Africa, Latin America, and the Middle East.  
Advertising
Advertising revenue is generated by displaying ad products on Facebook, Instagram, Messenger, and third-party affiliated websites or mobile applications. Marketers pay for ad products either directly or through their relationships with advertising agencies and resellers, based on the number of impressions delivered or the number of actions, such as clicks, taken by our users.
Revenue is recognized when control of the promised goods or services is transferred to our customers, in an amount that reflects the consideration we expect to be entitled to in exchange for those goods or services. We recognize revenue from the display of impression-based ads in the contracted period in which the impressions are delivered. Impressions are considered delivered when an ad is displayed to users. We recognize revenue from the delivery of action-based ads in the period in which a user takes the action the marketer contracted for. For advertising revenue arrangements where we are not the principal, we recognize revenue on a net basis.
We may accept a lower consideration than the amount promised per the contract for certain revenue transactions and certain customers may receive cash-based incentives or credits, which are accounted for as variable consideration when estimating the amount of revenue to recognize. We believe that there will not be significant changes to our estimates of variable consideration.
Payments and Other Fees
Payments revenue is comprised of the net fee we receive from developers using our Payments infrastructure.
Other fees revenue, which was not material for all periods presented in our financial statements, consists primarily of revenue from the delivery of virtual reality platform devices, as well as revenue from various other sources.
Deferred Revenue and Deposits
Deferred revenue consists of billings and payments from marketers in advance of revenue recognition. Deposits relate to unused balances held on behalf of our users who primarily use these balances to make purchases in games on our platform. Once this balance is utilized by a user, approximately 70% of this amount would then be payable to the developer and the balance would be recognized as revenue. The increase in the deferred revenue balance for the nine months ended September 30, 2018 was driven by prepayments from marketers, partially offset by revenue recognized that was included in the deferred revenue balance at the beginning of the period.

Our payment terms vary by the products or services offered. The term between billings and when payment is due is not significant. For certain products or services and customer types, we require payment before the products or services are delivered to the customer.
Deferred revenue and deposits consists of the following (in millions):
 
September 30, 2018
 
December 31, 2017
Deferred revenue
$
85

 
$
68

Deposits
30

 
30

Total deferred revenue and deposits
$
115

 
$
98


Practical Expedients and Exemptions
We generally expense sales commissions when incurred because the amortization period would have been one year or less. These costs are recorded within sales and marketing expenses.
We do not disclose the value of unsatisfied performance obligations for (i) contracts with an original expected length of one year or less and (ii) contracts for which we recognize revenue at the amount to which we have the right to invoice for services performed.
v3.10.0.1
Earnings per Share (Notes)
9 Months Ended
Sep. 30, 2018
Earnings Per Share [Abstract]  
Earnings per Share
Earnings per Share
We compute earnings per share (EPS) of Class A and Class B common stock using the two-class method required for participating securities. We consider restricted stock awards to be participating securities because holders of such shares have non-forfeitable dividend rights in the event of our declaration of a dividend for common shares.
Undistributed earnings allocated to participating securities are subtracted from net income in determining net income attributable to common stockholders. Basic EPS is computed by dividing net income attributable to common stockholders by the weighted-average number of shares of our Class A and Class B common stock outstanding, adjusted for outstanding shares that are subject to repurchase.
For the calculation of diluted EPS, net income attributable to common stockholders for basic EPS is adjusted by the effect of dilutive securities, such as awards under our equity compensation plans and inducement awards under separate non-plan restricted stock unit (RSU) award agreements. In addition, the computation of the diluted EPS of Class A common stock assumes the conversion of our Class B common stock to Class A common stock, while the diluted EPS of Class B common stock does not assume the conversion of those shares to Class A common stock. Diluted EPS attributable to common stockholders is computed by dividing the resulting net income attributable to common stockholders by the weighted-average number of fully diluted common shares outstanding.
RSUs with anti-dilutive effect were excluded from the EPS calculation and they were not material for the three and nine months ended September 30, 2018 and 2017, respectively.
Basic and diluted EPS are the same for each class of common stock because they are entitled to the same liquidation and dividend rights.
The numerators and denominators of the basic and diluted EPS computations for our common stock are calculated as follows (in millions, except per share amounts): 
 
Three Months Ended September 30,
 
Nine Months Ended September 30,
 
2018
 
2017
 
2018
 
2017
 
Class A
 
Class B
 
Class A
 
Class B
 
Class A
 
Class B
 
Class A
 
Class B
Basic EPS:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Numerator
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Net income
$
4,293

 
$
844

 
$
3,853

 
$
854

 
$
12,661

 
$
2,569

 
$
9,523

 
$
2,142

Less: Net income attributable to participating securities

 

 
3

 

 
1

 

 
11

 
2

Net income attributable to common stockholders
$
4,293

 
$
844

 
$
3,850

 
$
854

 
$
12,660

 
$
2,569

 
$
9,512

 
$
2,140

Denominator
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Weighted average shares outstanding
2,411

 
474

 
2,378

 
528

 
2,407

 
488

 
2,368

 
533

Less: Shares subject to repurchase

 

 
1

 
1

 

 

 
2

 
1

Number of shares used for basic EPS computation
2,411

 
474

 
2,377

 
527

 
2,407

 
488

 
2,366

 
532

Basic EPS
$
1.78

 
$
1.78

 
$
1.62

 
$
1.62

 
$
5.26

 
$
5.26

 
$
4.02

 
$
4.02

Diluted EPS:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Numerator
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Net income attributable to common stockholders
$
4,293

 
$
844

 
$
3,850

 
$
854

 
$
12,660

 
$
2,569

 
$
9,512

 
$
2,140

Reallocation of net income attributable to participating securities

 

 
3

 

 
1

 

 
13

 

Reallocation of net income as a result of conversion of Class B to Class A common stock
844

 

 
854

 

 
2,569

 

 
2,140

 

Reallocation of net income to Class B common stock

 
(4
)
 

 
(5
)
 

 
(14
)
 

 
(6
)
Net income attributable to common stockholders for diluted EPS
$
5,137

 
$
840

 
$
4,707

 
$
849

 
$
15,230

 
$
2,555

 
$
11,665

 
$
2,134

Denominator
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Number of shares used for basic EPS computation
2,411

 
474

 
2,377

 
527

 
2,407

 
488

 
2,366

 
532

Conversion of Class B to Class A common stock
474

 

 
527

 

 
488

 

 
532

 

Weighted average effect of dilutive securities:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Employee stock options
2

 
2

 
3

 
3

 
2

 
2

 
4

 
4

RSUs
26

 

 
47

 
2

 
34

 
1

 
49

 
3

Shares subject to repurchase and other

 

 
2

 
1

 

 

 
3

 
1

Number of shares used for diluted EPS computation
2,913

 
476

 
2,956

 
533

 
2,931

 
491

 
2,954

 
540

Diluted EPS
$
1.76

 
$
1.76

 
$
1.59

 
$
1.59

 
$
5.20

 
$
5.20

 
$
3.95

 
$
3.95

v3.10.0.1
Cash and Cash Equivalents, and Marketable Securities (Notes)
9 Months Ended
Sep. 30, 2018
Cash and Cash Equivalents, and Marketable Securities [Abstract]  
Cash and Cash Equivalents, and Marketable Securities
Cash and Cash Equivalents, and Marketable Securities
The following table sets forth the cash and cash equivalents, and marketable securities (in millions):
 
September 30, 2018
 
December 31, 2017
Cash and cash equivalents:
 
 
 
Cash
$
2,764

 
$
2,212

Money market funds
5,991

 
5,268

U.S. government securities
286

 
66

U.S. government agency securities
12

 
25

Certificate of deposits and time deposits
584

 
440

Corporate debt securities

 
68

Total cash and cash equivalents
9,637

 
8,079

Marketable securities:
 
 
 
U.S. government securities
14,251

 
12,766

U.S. government agency securities
8,356

 
10,944

Corporate debt securities
8,962

 
9,922

Total marketable securities
31,569

 
33,632

Total cash and cash equivalents, and marketable securities
$
41,206

 
$
41,711


The gross unrealized losses on our marketable securities were $514 million and $289 million as of September 30, 2018 and December 31, 2017, respectively. The gross unrealized gains for both periods were not significant. In addition, gross unrealized losses that had been in a continuous loss position for 12 months or longer were $349 million and $169 million as of September 30, 2018 and December 31, 2017, respectively. As of September 30, 2018, we considered the decreases in market value on our marketable securities to be temporary in nature and did not consider any of our investments to be other-than-temporarily impaired.
The following table classifies our marketable securities by contractual maturities (in millions):
 
September 30, 2018
Due in one year
$
8,433

Due in one to five years
23,136

Total
$
31,569

v3.10.0.1
Fair Value Measurement (Notes)
9 Months Ended
Sep. 30, 2018
Fair Value Disclosures [Abstract]  
Fair Value Measurement
Fair Value Measurement
The following table summarizes our assets measured at fair value and the classification by level of input within the fair value hierarchy (in millions): 
 
 
 
 
Fair Value Measurement at
Reporting Date Using
Description
 
September 30, 2018
 
Quoted Prices
in Active
Markets for
Identical Assets
(Level 1)
 
Significant
Other
Observable
Inputs
(Level 2)
 
Significant
Unobservable
Inputs
(Level 3)
Cash equivalents:
 
 
 
 
 
 
 
 
Money market funds
 
$
5,991

 
$
5,991

 
$

 
$

U.S. government securities
 
286

 
286

 

 

U.S. government agency securities
 
12

 
12

 

 

Certificate of deposits and time deposits
 
584

 

 
584

 

Marketable securities:
 
 
 
 
 
 
 
 
U.S. government securities
 
14,251

 
14,251

 

 

U.S. government agency securities
 
8,356

 
8,356

 

 

Corporate debt securities
 
8,962

 

 
8,962

 

Total cash equivalents and marketable securities
 
$
38,442

 
$
28,896

 
$
9,546

 
$

 
 
 
 
Fair Value Measurement at
Reporting Date Using
Description
 
December 31, 2017
 
Quoted Prices
in Active
Markets for
Identical Assets
(Level 1)
 
Significant
Other
Observable
Inputs
(Level 2)
 
Significant
Unobservable
Inputs
(Level 3)
Cash equivalents:
 
 
 
 
 
 
 
 
Money market funds
 
$
5,268

 
$
5,268

 
$

 
$

U.S. government securities
 
66

 
66

 

 

U.S. government agency securities
 
25

 
25

 

 

Certificate of deposits and time deposits
 
440

 

 
440

 

Corporate debt securities
 
68

 

 
68

 

Marketable securities:
 
 
 
 
 
 
 
 
U.S. government securities
 
12,766

 
12,766

 

 

U.S. government agency securities
 
10,944

 
10,944

 

 

Corporate debt securities
 
9,922

 

 
9,922

 

Total cash equivalents and marketable securities
 
$
39,499

 
$
29,069

 
$
10,430

 
$


We classify our cash equivalents and marketable securities within Level 1 or Level 2 because we use quoted market prices or alternative pricing sources and models utilizing market observable inputs to determine their fair value.
v3.10.0.1
Property and Equipment (Notes)
9 Months Ended
Sep. 30, 2018
Property, Plant and Equipment [Abstract]  
Property and Equipment
Property and Equipment
Property and equipment consists of the following (in millions): 
 
September 30,
2018
 
December 31,
2017
Land
$
890

 
$
798

Buildings
6,609

 
4,909

Leasehold improvements
1,576

 
959

Network equipment
11,181

 
7,998

Computer software, office equipment and other
1,025

 
681

Construction in progress
5,915

 
2,992

Total
27,196

 
18,337

Less: Accumulated depreciation
(6,084
)
 
(4,616
)
Property and equipment, net
$
21,112

 
$
13,721


Construction in progress includes costs related to construction of data centers, network equipment infrastructure to support our data centers around the world, and office buildings. No interest was capitalized during the three and nine months ended September 30, 2018 and 2017.
v3.10.0.1
Goodwill and Intangible Assets (Notes)
9 Months Ended
Sep. 30, 2018
Goodwill and Intangible Assets Disclosure [Abstract]  
Goodwill and Intangible Assets
Goodwill and Intangible Assets

During the nine months ended September 30, 2018, we purchased certain intangible assets and completed business acquisitions that were not material to our condensed consolidated financial statements, either individually or in the aggregate. Accordingly, pro forma historical results of operations related to these business acquisitions during the nine months ended September 30, 2018 have not been presented. We have included the financial results of these business acquisitions in our condensed consolidated financial statements from their respective dates of acquisition.
The changes in the carrying amount of goodwill for the nine months ended September 30, 2018 are as follows (in millions): 
Balance as of December 31, 2017
$
18,221

Goodwill acquired
88

Effect of currency translation adjustment
(5
)
Balance as of September 30, 2018
$
18,304

Intangible assets consist of the following (in millions):
 
 
 
September 30, 2018
 
December 31, 2017
 
Weighted-Average Remaining Useful Lives (in years)
 
Gross Carrying Amount
 
Accumulated Amortization
 
Net Carrying Amount
 
Gross Carrying Amount
 
Accumulated Amortization
 
Net Carrying Amount
Acquired users
3.0
 
$
2,056

 
$
(1,188
)
 
$
868

 
$
2,056

 
$
(971
)
 
$
1,085

Acquired technology
1.4
 
1,002

 
(834
)
 
168

 
972

 
(711
)
 
261

Acquired patents
5.8
 
805

 
(548
)
 
257

 
785

 
(499
)
 
286

Trade names
1.6
 
629

 
(489
)
 
140

 
629

 
(406
)
 
223

Other
2.3
 
162

 
(144
)
 
18

 
162

 
(133
)
 
29

Total intangible assets
3.2
 
$
4,654

 
$
(3,203
)
 
$
1,451

 
$
4,604

 
$
(2,720
)
 
$
1,884


Amortization expense of intangible assets was $156 million and $483 million for the three and nine months ended September 30, 2018, respectively, and $173 million and $522 million for the three and nine months ended September 30, 2017, respectively.
As of September 30, 2018, expected amortization expense for the unamortized acquired intangible assets for the next five years and thereafter is as follows (in millions):
The remainder of 2018
$
156

2019
551

2020
377

2021
271

2022
31

Thereafter
65

Total
$
1,451

v3.10.0.1
Long-term Debt (Notes)
9 Months Ended
Sep. 30, 2018
Debt Disclosure [Abstract]  
Long-term Debt
Long-term Debt
In May 2016, we entered into a $2.0 billion senior unsecured revolving credit facility, and any amounts outstanding under this facility will be due and payable on May 20, 2021. As of September 30, 2018, no amounts had been drawn down, and we were in compliance with the covenants under this facility.
v3.10.0.1
Commitments and Contingencies (Notes)
9 Months Ended
Sep. 30, 2018
Commitments and Contingencies Disclosure [Abstract]  
Commitments and Contingencies
Commitments and Contingencies
Commitments
Leases
During the nine months ended September 30, 2018, we entered into additional non-cancelable operating lease agreements. Our various non-cancelable operating lease agreements, which include among others, certain of our offices, data center, land and colocation leases, have original lease periods expiring between 2018 and 2093. Operating lease expense was $170 million and $436 million for the three and nine months ended September 30, 2018, respectively, and $91 million and $247 million for the three and nine months ended September 30, 2017, respectively.
The following is a schedule, by years, of the future minimum lease payments required under non-cancelable operating leases as of September 30, 2018 (in millions):
 
Operating Leases
 
Financing obligation, building in progress - leased facilities(1)
The remainder of 2018
$
108

 
$

2019
726

 
1

2020
873

 
9

2021
946

 
9

2022
906

 
9

Thereafter
8,830

 
91

Total minimum lease payments
$
12,389

 
$
119

(1)
We entered into an agreement to lease an office building that is under construction. As a result of our involvement during this construction period, we are considered for accounting purposes to be the owner of the construction project. Financing obligation, building in progress - leased facilities represent the total expected financing and lease obligations associated with this lease and will be settled through monthly lease payments to the landlord when we occupy the office space upon completion. This amount includes $70 million that is included in property and equipment, net and other liabilities on our condensed consolidated balance sheets as of September 30, 2018.
Other contractual commitments
We also have $5.29 billion of non-cancelable contractual commitments as of September 30, 2018, primarily related to network infrastructure and our data center operations. The majority of these commitments are due within five years.

Contingencies
Beginning on March 20, 2018, multiple putative class actions and derivative actions were filed in state and federal courts in the United States and elsewhere against us and certain of our directors and officers alleging violations of securities laws, breach of fiduciary duties, and other causes of action in connection with our user data practices and the misuse of certain data by a developer that shared such data with third parties in violation of our terms and policies, and seeking unspecified damages and injunctive relief. Beginning on July 27, 2018, two putative class actions were filed in federal court in the United States against us and certain of our directors and officers alleging violations of securities laws in connection with the disclosure of our earnings results for the second quarter of 2018, and seeking unspecified damages. These two actions subsequently were transferred and consolidated in the U.S. District Court for the Northern District of California with the putative securities class action described above relating to the misuse of certain data by a developer. We believe these lawsuits are without merit, and we are vigorously defending them. In addition, our user data practices and the events surrounding the misuse of certain data by a developer became the subject of U.S. Federal Trade Commission and other government inquiries in the United States, Europe, and other jurisdictions.
Beginning on September 28, 2018, multiple putative class actions were filed in state and federal courts in the United States and elsewhere against us alleging violations of consumer protection laws and other causes of action in connection with a third-party cyber-attack that exploited a vulnerability in Facebook’s code to steal user access tokens and access certain profile information from user accounts on Facebook, and seeking unspecified damages and injunctive relief. We believe these lawsuits are without merit, and we are vigorously defending them. In addition, the events surrounding this cyber-attack became the subject of Irish Data Protection Commission, U.S. Federal Trade Commission and other government inquiries in the United States, Europe, and other jurisdictions.
In addition, from time to time, we are subject to litigation and other proceedings involving law enforcement and other regulatory agencies, including in particular in Brazil and Europe, in order to ascertain the precise scope of our legal obligations to comply with the requests of those agencies, including our obligation to disclose user information in particular circumstances. A number of such instances have resulted in the assessment of fines and penalties against us. We believe we have multiple legal grounds to satisfy these requests or prevail against associated fines and penalties, and we intend to vigorously defend such fines and penalties.
Although we believe that it is reasonably possible that we may incur a substantial loss in some of the cases, actions or inquiries described above, we are currently unable to estimate the amount of such losses or a range of possible losses. 
We are also party to various other legal proceedings, claims, and regulatory, tax or government inquiries and investigations that arise in the ordinary course of business. With respect to these matters, we evaluate the developments on a regular basis and accrue a liability when we believe a loss is probable and the amount can be reasonably estimated. We believe that the amount or any estimable range of reasonably possible or probable loss will not, either individually or in the aggregate, have a material adverse effect on our business and consolidated financial statements. However, the outcome of these matters is inherently uncertain. Therefore, if one or more of these matters were resolved against us for amounts in excess of management's expectations, our results of operations and financial condition, including in a particular reporting period in which any such outcome becomes probable and estimable, could be materially adversely affected.
For information regarding income tax contingencies, see Note 10 — Income Taxes.
v3.10.0.1
Stockholders' Equity (Notes)
9 Months Ended
Sep. 30, 2018
Equity [Abstract]  
Stockholders' Equity
Stockholders' Equity
Share Repurchase Program
In November 2016, our board of directors authorized a $6.0 billion share repurchase program of our Class A common stock, which commenced in 2017 and does not have an expiration date. We completed repurchases under this authorization during the second quarter of 2018. In April 2018, the authorization of the repurchase of our Class A common stock was increased by an additional $9.0 billion. During the nine months ended September 30, 2018, we repurchased and subsequently retired approximately 54 million shares of our Class A common stock for an aggregate amount of approximately $9.39 billion. As of September 30, 2018, approximately $3.54 billion remained available and authorized for repurchases. The timing and actual number of shares repurchased under this program depend on a variety of factors, including price, general business and market conditions, and other investment opportunities, and shares may be repurchased through open market purchases or privately negotiated transactions, including through the use of trading plans intended to qualify under Rule 10b5-1 under the Securities Exchange Act of 1934, as amended.
Share-based Compensation Plans
We maintain two share-based employee compensation plans: the 2012 Equity Incentive Plan, which was amended in each of June 2016 and February 2018 (Amended 2012 Plan), and the 2005 Stock Plan (collectively, Stock Plans). Our Amended 2012 Plan serves as the successor to our 2005 Stock Plan and provides for the issuance of incentive and nonstatutory stock options, restricted stock awards, stock appreciation rights, RSUs, performance shares, and stock bonuses to qualified employees, directors and consultants. Outstanding awards under the 2005 Stock Plan continue to be subject to the terms and conditions of the 2005 Stock Plan.
Effective January 1, 2018, there were 67 million shares of our Class A common stock reserved for issuance under our Amended 2012 Plan. The number of shares reserved for issuance under our Amended 2012 Plan increases automatically on January 1 of each of the calendar years during the term of the Amended 2012 Plan, which will continue through and including April 2026 unless terminated earlier by our board of directors or a committee thereof, by a number of shares of Class A common stock equal to the lesser of (i) 2.5% of the total issued and outstanding shares of our Class A common stock as of the immediately preceding December 31st or (ii) a number of shares determined by our board of directors.
The following table summarizes the activities of stock option awards under the Stock Plans for the nine months ended September 30, 2018: 
 
Shares Subject to Options Outstanding
 
Number of
Shares
 
Weighted
Average
Exercise
Price
 
Weighted
Average
Remaining
Contractual
Term
 
Aggregate
Intrinsic
Value(1)
 
(in thousands)
 
 
 
(in years)
 
(in millions)
Balance as of December 31, 2017
3,078

 
$
10.06

 
 
 
 
Stock options exercised
(1,398
)
 
$
8.06

 
 
 
 
Balance as of September 30, 2018
1,680

 
$
11.72

 
1.8
 
$
257

Stock options exercisable as of September 30, 2018
1,680

 
$
11.72

 
1.8
 
$
257

(1)
The aggregate intrinsic value is calculated as the difference between the exercise price of the underlying stock option awards and the official closing price of our Class A common stock of $164.46 as reported on the Nasdaq Global Select Market on September 30, 2018.
The following table summarizes the activities for our unvested RSUs for the nine months ended September 30, 2018:
 
Unvested RSUs(1)
 
Number of Shares
 
Weighted Average Grant Date Fair Value
 
(in thousands)
 
 
Unvested at December 31, 2017
81,214

 
$
110.49

Granted
33,015

 
$
172.97

Vested
(34,176
)
 
$
101.64

Forfeited
(5,938
)
 
$
114.33

Unvested at September 30, 2018
74,115

 
$
142.08


(1)
Unvested shares at December 31, 2017 included an inducement award issued in connection with the WhatsApp acquisition in 2014 which was subject to the terms, restrictions, and conditions of a separate non-plan RSU award agreement.
The fair value as of the respective vesting dates of RSUs that vested during the three and nine months ended September 30, 2018 was $2.11 billion and $6.24 billion, respectively, and $1.73 billion and $4.94 billion during the three and nine months ended September 30, 2017, respectively.
As of September 30, 2018, there was $9.57 billion of unrecognized share-based compensation expense related to RSUs. This unrecognized compensation expense is expected to be recognized over a weighted-average period of approximately three years based on vesting under the award service conditions.
v3.10.0.1
Income Taxes (Notes)
9 Months Ended
Sep. 30, 2018
Income Tax Disclosure [Abstract]  
Income Taxes
Income Taxes
Our tax provision for interim periods is determined using an estimated annual effective tax rate, adjusted for discrete items arising in that quarter. In each quarter, we update the estimated annual effective tax rate and make a year-to-date adjustment to the provision. The estimated annual effective tax rate is subject to significant volatility due to several factors, including our ability to accurately predict the proportion of our income (loss) before provision for income taxes in multiple jurisdictions, the effects of acquisitions, and the integration of those acquisitions.
Our 2018 effective tax rate differs from the U.S. statutory rate of 21% primarily due to a portion of our income before provision for income taxes being earned in jurisdictions subject to tax rates lower than 21%, and the recognition of excess tax benefits from share-based compensation.
In December 2017, the SEC staff issued Staff Accounting Bulletin No. 118, Income Tax Accounting Implications of the Tax Cuts and Jobs Act (SAB 118), which allows us to record provisional amounts for the Tax Act during a measurement period not to extend beyond one year of the enactment date. We continue to analyze our provisional amounts, which are still subject to change during the measurement period. We anticipate further guidance on accounting interpretations from the FASB and application of the law from the U.S. Department of the Treasury. During the three and nine months ended September 30, 2018, we completed certain items for our remeasurement of deferred tax balances and recorded immaterial adjustments.
Our gross unrecognized tax benefits were $4.26 billion and $3.87 billion on September 30, 2018 and December 31, 2017, respectively. If the gross unrecognized tax benefits as of September 30, 2018 were realized in a subsequent period, this would result in a tax benefit of $2.80 billion within our provision of income taxes at such time. The amount of interest and penalties accrued as of September 30, 2018 and December 31, 2017 was $310 million and $154 million, respectively. We expect to continue to accrue unrecognized tax benefits for certain recurring tax positions and anticipate such amount accrued for future quarters will be similar to the amounts accrued by quarter in 2017.

On July 27, 2015, the United States Tax Court (Tax Court) issued an opinion in Altera Corp. v. Commissioner (Tax Court Opinion), which concluded that related parties in a cost sharing arrangement are not required to share expenses related to share-based compensation. The Tax Court Opinion was appealed by the Commissioner to the Ninth Circuit Court of Appeals (Ninth Circuit). On July 24, 2018, the Ninth Circuit issued an opinion (Ninth Circuit Opinion) that reversed the Tax Court Opinion. The Ninth Circuit Opinion was subsequently withdrawn and the case is being reheard. Since the Ninth Circuit Opinion was withdrawn, we continue to treat our share-based compensation expense in accordance with the Tax Court Opinion. We also continue to monitor developments in this case and any impact the final opinion could have on our consolidated financial statements.
We are subject to taxation in the United States and various other state and foreign jurisdictions. The material jurisdictions in which we are subject to potential examination include the United States and Ireland. We are under examination by the Internal Revenue Service (IRS) for our 2014 through 2016 tax years and by the Ireland tax authorities for our 2012 through 2015 tax years. Our 2017 tax year remains open to examination by the IRS. Our 2016 and subsequent tax years remain open to examination in Ireland.
In July 2016, we received a Statutory Notice of Deficiency (Notice) from the IRS related to transfer pricing with our foreign subsidiaries in conjunction with the examination of the 2010 tax year. While the Notice applies only to the 2010 tax year, the IRS states that it will also apply its position for tax years subsequent to 2010, which, if the IRS prevails in its position, could result in an additional federal tax liability of an estimated, aggregate amount of up to approximately $5.0 billion in excess of the amounts in our originally filed U.S. return, plus interest and any penalties asserted. We do not agree with the position of the IRS and have filed a petition in the Tax Court challenging the Notice. As of September 30, 2018, we have not resolved this matter, and proceedings continue in the Tax Court. In March 2018, we received a second Notice from the IRS in conjunction with the examination of our 2011 through 2013 tax years. The IRS applied its position from the 2010 tax year to each of these years and also proposed new adjustments related to other transfer pricing with our foreign subsidiaries and certain tax credits that we claimed. If the IRS prevails in its position for these new adjustments, this could result in an additional federal tax liability of up to approximately $680 million in excess of the amounts in our originally filed U.S. return, plus interest and any penalties asserted. We do not agree with the positions of the IRS in the second Notice and have filed a petition in the Tax Court challenging the second Notice. We have previously accrued an estimated unrecognized tax benefit consistent with the guidance in ASC 740 that is lower than the potential additional federal tax liability from the positions taken by the IRS in the two Notices. In addition, if the IRS prevails in its positions related to transfer pricing with our foreign subsidiaries, the additional tax that we would owe would be partially offset by a reduction in the tax that we owe under the mandatory transition tax on accumulated foreign earnings from the Tax Act.
We believe that adequate amounts have been reserved in accordance with ASC 740 for any adjustments to the provision for income taxes or other tax items that may ultimately result from these examinations. The timing of the resolution, settlement, and closure of any audits is highly uncertain, and it is reasonably possible that the balance of gross unrecognized tax benefits could significantly change in the next 12 months. Given the number of years remaining that are subject to examination, we are unable to estimate the full range of possible adjustments to the balance of gross unrecognized tax benefits. If the taxing authorities prevail in the assessment of additional tax due, the assessed tax, interest, and penalties, if any, could have a material adverse impact on our financial position, results of operations, and cash flows.
v3.10.0.1
Geographical Information (Notes)
9 Months Ended
Sep. 30, 2018
Segments, Geographical Areas [Abstract]  
Geographical Information
Geographical Information
The following table sets forth property and equipment, net by geographic area (in millions):
 
September 30,
2018
 
December 31,
2017
Property and equipment, net:
 
 
 
United States
$
16,038

 
$
10,406

Rest of the world(1)
5,074

 
3,315

Total property and equipment, net
$
21,112

 
$
13,721

 
(1)
No individual country, other than disclosed above, exceeded 10% of our total property and equipment, net for any period presented.

For information regarding revenue disaggregated by geography, see Note 1 — Summary of Significant Accounting Policies, Revenue Recognition.
v3.10.0.1
Summary of Significant Accounting Policies (Policies)
9 Months Ended
Sep. 30, 2018
Accounting Policies [Abstract]  
Basis of Presentation
Basis of Presentation
The accompanying unaudited condensed consolidated financial statements have been prepared in accordance with generally accepted accounting principles in the United States (GAAP) and applicable rules and regulations of the Securities and Exchange Commission regarding interim financial reporting. Certain information and note disclosures normally included in the financial statements prepared in accordance with GAAP have been condensed or omitted pursuant to such rules and regulations. As such, the information included in this quarterly report on Form 10-Q should be read in conjunction with the consolidated financial statements and accompanying notes included in our Annual Report on Form 10-K for the fiscal year ended December 31, 2017.
The condensed consolidated balance sheet as of December 31, 2017 included herein was derived from the audited financial statements as of that date, but does not include all disclosures including notes required by GAAP.
The condensed consolidated financial statements include the accounts of Facebook, Inc. and its wholly owned subsidiaries. All intercompany balances and transactions have been eliminated.
The accompanying condensed consolidated financial statements reflect all normal recurring adjustments that are necessary to present fairly the results for the interim periods presented. Interim results are not necessarily indicative of the results for the full year ending December 31, 2018.
Use of Estimates
Use of Estimates
Conformity with GAAP requires the use of estimates and judgments that affect the reported amounts in the consolidated financial statements and accompanying notes. These estimates form the basis for judgments we make about the carrying values of our assets and liabilities, which are not readily apparent from other sources. We base our estimates and judgments on historical information and on various other assumptions that we believe are reasonable under the circumstances. GAAP requires us to make estimates and judgments in several areas, including, but not limited to, those related to income taxes, loss contingencies, fair value of acquired intangible assets and goodwill, collectability of accounts receivable, fair value of financial instruments, leases, useful lives of intangible assets and property and equipment, and revenue recognition. These estimates are based on management's knowledge about current events and expectations about actions we may undertake in the future. Actual results could differ materially from those estimates.
Recently Issued and Adopted Accounting Pronouncements
Recently Issued Accounting Pronouncements
In February 2016, the Financial Accounting Standards Board (FASB) issued Accounting Standards Update No. 2016-02, Leases (Topic 842) (ASU 2016-02), which generally requires companies to recognize operating and financing lease liabilities and corresponding right-of-use assets on the balance sheet. This guidance will be effective for us in the first quarter of 2019 on a modified retrospective basis applied either to the earliest comparative period or at transition and early adoption is permitted. We will adopt the new standard effective January 1, 2019. We have selected and implemented a lease accounting system, and are in the process of validating the accuracy of the reports generated from the system and finalizing our accounting policy and use of optional practical expedients. While we continue to evaluate the effect of adopting this guidance on our consolidated financial statements and related disclosures, we expect all of our leases including our operating leases, as disclosed in Note 8 — Commitments and Contingencies, will be subject to the new standard. We will recognize right-of-use assets and operating lease liabilities on our consolidated balance sheets upon adoption, which will increase our total assets and liabilities.
Recently Adopted Accounting Pronouncements
In May 2014, the FASB issued Accounting Standards Update No. 2014-09, Revenue from Contracts with Customers (Topic 606), which supersedes the revenue recognition requirements in Accounting Standards Codification (ASC) Topic 605, Revenue Recognition (Topic 605). We adopted Topic 606 as of January 1, 2018 using the modified retrospective transition method applied to those contracts which were not completed as of January 1, 2018. See Revenue Recognition below for further details.
In October 2016, the FASB issued Accounting Standards Update No. 2016-16, Income Taxes (Topic 740): Intra-Entity Transfers Other than Inventory (ASU 2016-16), which requires companies to recognize the income-tax consequences of an intra-entity transfer of an asset other than inventory when the transfer occurs, rather than when the asset has been sold to an outside party. We adopted the new standard effective January 1, 2018, using the modified retrospective transition approach through a cumulative-effect adjustment to retained earnings as of the effective date, which was not material to our condensed consolidated financial statements.
In November 2016, the FASB issued Accounting Standards Update No. 2016-18, Statement of Cash Flows (Topic 230): Restricted Cash (ASU 2016-18), which requires companies to include amounts generally described as restricted cash and restricted cash equivalents in cash and cash equivalents when reconciling beginning-of-period and end-of-period total amounts shown on the statements of cash flows. We adopted the new standard effective January 1, 2018, using the retrospective transition approach. The reclassified restricted cash balances from investing activities to changes in cash, cash equivalents and restricted cash on the condensed consolidated statements of cash flows were not material for all periods presented.
In January 2017, the FASB issued Accounting Standards Update No. 2017-01, Business Combinations (Topic 805): Clarifying the Definition of a Business (ASU 2017-01), which revises the definition of a business and provides new guidance in evaluating when a set of transferred assets and activities is a business. We adopted the new standard effective January 1, 2018 on a prospective basis. The new standard did not have a material impact on our condensed consolidated financial statements.     
In February 2018, the FASB issued Accounting Standards Update No. 2018-02, Income Statement—Reporting Comprehensive Income (Topic 220): Reclassification of Certain Tax Effects from Accumulated Other Comprehensive Income (ASU 2018-02), which allows companies to reclassify stranded tax effects resulting from the 2017 Tax Cuts and Jobs Act (Tax Act), from accumulated other comprehensive income to retained earnings. The new standard is effective for us beginning January 1, 2019, with early adoption permitted. We elected to early adopt the new standard at the beginning of the third quarter of 2018 using the aggregate portfolio approach. The amount of stranded tax effects that were reclassified from accumulated other comprehensive income to retained earnings was not material.
Revenue Recognition
Revenue Recognition
    
On January 1, 2018, we adopted Topic 606, using the modified retrospective transition method applied to those contracts which were not completed as of January 1, 2018. Results for reporting periods beginning after January 1, 2018 are presented under Topic 606, while prior period amounts have not been adjusted and continue to be reported in accordance with our historic accounting under Topic 605. The impact of adopting the new revenue standard was not material to our condensed consolidated financial statements and there was no adjustment to beginning retained earnings on January 1, 2018.
Under Topic 606, revenue is recognized when control of the promised goods or services is transferred to our customers, in an amount that reflects the consideration we expect to be entitled to in exchange for those goods or services.

We determine revenue recognition through the following steps:
identification of the contract, or contracts, with a customer;
identification of the performance obligations in the contract;
determination of the transaction price;
allocation of the transaction price to the performance obligations in the contract; and
recognition of revenue when, or as, we satisfy a performance obligation
Practical Expedients and Exemptions
We generally expense sales commissions when incurred because the amortization period would have been one year or less. These costs are recorded within sales and marketing expenses.
We do not disclose the value of unsatisfied performance obligations for (i) contracts with an original expected length of one year or less and (ii) contracts for which we recognize revenue at the amount to which we have the right to invoice for services performed.
Advertising
Advertising revenue is generated by displaying ad products on Facebook, Instagram, Messenger, and third-party affiliated websites or mobile applications. Marketers pay for ad products either directly or through their relationships with advertising agencies and resellers, based on the number of impressions delivered or the number of actions, such as clicks, taken by our users.
Revenue is recognized when control of the promised goods or services is transferred to our customers, in an amount that reflects the consideration we expect to be entitled to in exchange for those goods or services. We recognize revenue from the display of impression-based ads in the contracted period in which the impressions are delivered. Impressions are considered delivered when an ad is displayed to users. We recognize revenue from the delivery of action-based ads in the period in which a user takes the action the marketer contracted for. For advertising revenue arrangements where we are not the principal, we recognize revenue on a net basis.
We may accept a lower consideration than the amount promised per the contract for certain revenue transactions and certain customers may receive cash-based incentives or credits, which are accounted for as variable consideration when estimating the amount of revenue to recognize. We believe that there will not be significant changes to our estimates of variable consideration.
Payments and Other Fees
Payments revenue is comprised of the net fee we receive from developers using our Payments infrastructure.
Other fees revenue, which was not material for all periods presented in our financial statements, consists primarily of revenue from the delivery of virtual reality platform devices, as well as revenue from various other sources.
Deferred Revenue and Deposits
Deferred revenue consists of billings and payments from marketers in advance of revenue recognition. Deposits relate to unused balances held on behalf of our users who primarily use these balances to make purchases in games on our platform. Once this balance is utilized by a user, approximately 70% of this amount would then be payable to the developer and the balance would be recognized as revenue. The increase in the deferred revenue balance for the nine months ended September 30, 2018 was driven by prepayments from marketers, partially offset by revenue recognized that was included in the deferred revenue balance at the beginning of the period.

Our payment terms vary by the products or services offered. The term between billings and when payment is due is not significant. For certain products or services and customer types, we require payment before the products or services are delivered to the customer.
v3.10.0.1
Summary of Significant Accounting Policies (Tables)
9 Months Ended
Sep. 30, 2018
Accounting Policies [Abstract]  
Disaggregation of Revenue
Revenue disaggregated by revenue source for the three and nine months ended September 30, 2018 and 2017, consists of the following (in millions):
 
Three Months Ended September 30,
 
Nine Months Ended September 30,
 
2018
 
2017(1)
 
2018
 
2017(1)
Advertising
$
13,539

 
$
10,142

 
$
38,373

 
$
27,163

Payments and other fees
188

 
186

 
551

 
518

    Total revenue
$
13,727

 
$
10,328

 
$
38,924

 
$
27,681

(1) As noted above, prior period amounts have not been adjusted under the modified retrospective method. 
Revenue disaggregated by geography, based on the billing address of our customer, consists of the following (in millions):
 
Three Months Ended September 30,
 
Nine Months Ended September 30,
 
2018
 
2017(1)
 
2018
 
2017(1)
Revenue:
 
 
 
 
 
 
 
US & Canada(2)
$
6,325

 
$
4,823

 
$
17,750

 
$
12,972

Europe(3)
3,234

 
2,546

 
9,568

 
6,846

Asia-Pacific
3,007

 
2,042

 
8,253

 
5,424

Rest of World(3)
1,161

 
917

 
3,353

 
2,439

Total revenue
$
13,727

 
$
10,328

 
$
38,924

 
$
27,681

(1) As noted above, prior period amounts have not been adjusted under the modified retrospective method. 
(2) United States revenue was $5.93 billion and $4.48 billion for the three months ended September 30, 2018 and 2017, respectively, and $16.62 billion and $12.06 billion for the nine months ended September 30, 2018 and 2017, respectively. 
(3) Europe includes Russia and Turkey, and Rest of World includes Africa, Latin America, and the Middle East.
Deferred Revenue and Deposits
Deferred revenue and deposits consists of the following (in millions):
 
September 30, 2018
 
December 31, 2017
Deferred revenue
$
85

 
$
68

Deposits
30

 
30

Total deferred revenue and deposits
$
115

 
$
98

v3.10.0.1
Earnings per Share (Tables)
9 Months Ended
Sep. 30, 2018
Earnings Per Share [Abstract]  
Numerators and Denominators of Basic and Diluted EPS Computations for Common Stock
The numerators and denominators of the basic and diluted EPS computations for our common stock are calculated as follows (in millions, except per share amounts): 
 
Three Months Ended September 30,
 
Nine Months Ended September 30,
 
2018
 
2017
 
2018
 
2017
 
Class A
 
Class B
 
Class A
 
Class B
 
Class A
 
Class B
 
Class A
 
Class B
Basic EPS:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Numerator
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Net income
$
4,293

 
$
844

 
$
3,853

 
$
854

 
$
12,661

 
$
2,569

 
$
9,523

 
$
2,142

Less: Net income attributable to participating securities

 

 
3

 

 
1

 

 
11

 
2

Net income attributable to common stockholders
$
4,293

 
$
844

 
$
3,850

 
$
854

 
$
12,660

 
$
2,569

 
$
9,512

 
$
2,140

Denominator
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Weighted average shares outstanding
2,411

 
474

 
2,378

 
528

 
2,407

 
488

 
2,368

 
533

Less: Shares subject to repurchase

 

 
1

 
1

 

 

 
2

 
1

Number of shares used for basic EPS computation
2,411

 
474

 
2,377

 
527

 
2,407

 
488

 
2,366

 
532

Basic EPS
$
1.78

 
$
1.78

 
$
1.62

 
$
1.62

 
$
5.26

 
$
5.26

 
$
4.02

 
$
4.02

Diluted EPS:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Numerator
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Net income attributable to common stockholders
$
4,293

 
$
844

 
$
3,850

 
$
854

 
$
12,660

 
$
2,569

 
$
9,512

 
$
2,140

Reallocation of net income attributable to participating securities

 

 
3

 

 
1

 

 
13

 

Reallocation of net income as a result of conversion of Class B to Class A common stock
844

 

 
854

 

 
2,569

 

 
2,140

 

Reallocation of net income to Class B common stock

 
(4
)
 

 
(5
)
 

 
(14
)
 

 
(6
)
Net income attributable to common stockholders for diluted EPS
$
5,137

 
$
840

 
$
4,707

 
$
849

 
$
15,230

 
$
2,555

 
$
11,665

 
$
2,134

Denominator
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Number of shares used for basic EPS computation
2,411

 
474

 
2,377

 
527

 
2,407

 
488

 
2,366

 
532

Conversion of Class B to Class A common stock
474

 

 
527

 

 
488

 

 
532

 

Weighted average effect of dilutive securities:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Employee stock options
2

 
2

 
3

 
3

 
2

 
2

 
4

 
4

RSUs
26

 

 
47

 
2

 
34

 
1

 
49

 
3

Shares subject to repurchase and other

 

 
2

 
1

 

 

 
3

 
1

Number of shares used for diluted EPS computation
2,913

 
476

 
2,956

 
533

 
2,931

 
491

 
2,954

 
540

Diluted EPS
$
1.76

 
$
1.76

 
$
1.59

 
$
1.59

 
$
5.20

 
$
5.20

 
$
3.95

 
$
3.95

v3.10.0.1
Cash and Cash Equivalents, and Marketable Securities (Tables)
9 Months Ended
Sep. 30, 2018
Cash and Cash Equivalents, and Marketable Securities [Abstract]  
Cash and Cash Equivalents, and Marketable Securities
The following table sets forth the cash and cash equivalents, and marketable securities (in millions):
 
September 30, 2018
 
December 31, 2017
Cash and cash equivalents:
 
 
 
Cash
$
2,764

 
$
2,212

Money market funds
5,991

 
5,268

U.S. government securities
286

 
66

U.S. government agency securities
12

 
25

Certificate of deposits and time deposits
584

 
440

Corporate debt securities

 
68

Total cash and cash equivalents
9,637

 
8,079

Marketable securities:
 
 
 
U.S. government securities
14,251

 
12,766

U.S. government agency securities
8,356

 
10,944

Corporate debt securities
8,962

 
9,922

Total marketable securities
31,569

 
33,632

Total cash and cash equivalents, and marketable securities
$
41,206

 
$
41,711

Marketable Securities by Contractual Maturities
The following table classifies our marketable securities by contractual maturities (in millions):
 
September 30, 2018
Due in one year
$
8,433

Due in one to five years
23,136

Total
$
31,569

v3.10.0.1
Fair Value Measurement (Tables)
9 Months Ended
Sep. 30, 2018
Fair Value Disclosures [Abstract]  
Assets and Liabilities Measured at Fair Value
The following table summarizes our assets measured at fair value and the classification by level of input within the fair value hierarchy (in millions): 
 
 
 
 
Fair Value Measurement at
Reporting Date Using
Description
 
September 30, 2018
 
Quoted Prices
in Active
Markets for
Identical Assets
(Level 1)
 
Significant
Other
Observable
Inputs
(Level 2)
 
Significant
Unobservable
Inputs
(Level 3)
Cash equivalents:
 
 
 
 
 
 
 
 
Money market funds
 
$
5,991

 
$
5,991

 
$

 
$

U.S. government securities
 
286

 
286

 

 

U.S. government agency securities
 
12

 
12

 

 

Certificate of deposits and time deposits
 
584

 

 
584

 

Marketable securities:
 
 
 
 
 
 
 
 
U.S. government securities
 
14,251

 
14,251

 

 

U.S. government agency securities
 
8,356

 
8,356

 

 

Corporate debt securities
 
8,962

 

 
8,962

 

Total cash equivalents and marketable securities
 
$
38,442

 
$
28,896

 
$
9,546

 
$

 
 
 
 
Fair Value Measurement at
Reporting Date Using
Description
 
December 31, 2017
 
Quoted Prices
in Active
Markets for
Identical Assets
(Level 1)
 
Significant
Other
Observable
Inputs
(Level 2)
 
Significant
Unobservable
Inputs
(Level 3)
Cash equivalents:
 
 
 
 
 
 
 
 
Money market funds
 
$
5,268

 
$
5,268

 
$

 
$

U.S. government securities
 
66

 
66

 

 

U.S. government agency securities
 
25

 
25

 

 

Certificate of deposits and time deposits
 
440

 

 
440

 

Corporate debt securities
 
68

 

 
68

 

Marketable securities:
 
 
 
 
 
 
 
 
U.S. government securities
 
12,766

 
12,766

 

 

U.S. government agency securities
 
10,944

 
10,944

 

 

Corporate debt securities
 
9,922

 

 
9,922

 

Total cash equivalents and marketable securities
 
$
39,499

 
$
29,069

 
$
10,430

 
$

v3.10.0.1
Property and Equipment (Tables)
9 Months Ended
Sep. 30, 2018
Property, Plant and Equipment [Abstract]  
Property and Equipment
Property and equipment consists of the following (in millions): 
 
September 30,
2018
 
December 31,
2017
Land
$
890

 
$
798

Buildings
6,609

 
4,909

Leasehold improvements
1,576

 
959

Network equipment
11,181

 
7,998

Computer software, office equipment and other
1,025

 
681

Construction in progress
5,915

 
2,992

Total
27,196

 
18,337

Less: Accumulated depreciation
(6,084
)
 
(4,616
)
Property and equipment, net
$
21,112

 
$
13,721

v3.10.0.1
Goodwill and Intangible Assets (Tables)
9 Months Ended
Sep. 30, 2018
Goodwill and Intangible Assets Disclosure [Abstract]  
Changes in Carrying Amount of Goodwill
The changes in the carrying amount of goodwill for the nine months ended September 30, 2018 are as follows (in millions): 
Balance as of December 31, 2017
$
18,221

Goodwill acquired
88

Effect of currency translation adjustment
(5
)
Balance as of September 30, 2018
$
18,304

Schedule of Intangible Assets
Intangible assets consist of the following (in millions):
 
 
 
September 30, 2018
 
December 31, 2017
 
Weighted-Average Remaining Useful Lives (in years)
 
Gross Carrying Amount
 
Accumulated Amortization
 
Net Carrying Amount
 
Gross Carrying Amount
 
Accumulated Amortization
 
Net Carrying Amount
Acquired users
3.0
 
$
2,056

 
$
(1,188
)
 
$
868

 
$
2,056

 
$
(971
)
 
$
1,085

Acquired technology
1.4
 
1,002

 
(834
)
 
168

 
972

 
(711
)
 
261

Acquired patents
5.8
 
805

 
(548
)
 
257

 
785

 
(499
)
 
286

Trade names
1.6
 
629

 
(489
)
 
140

 
629

 
(406
)
 
223

Other
2.3
 
162

 
(144
)
 
18

 
162

 
(133
)
 
29

Total intangible assets
3.2
 
$
4,654

 
$
(3,203
)
 
$
1,451

 
$
4,604

 
$
(2,720
)
 
$
1,884

Expected Amortization Expense for Unamortized Acquired Intangible Assets
As of September 30, 2018, expected amortization expense for the unamortized acquired intangible assets for the next five years and thereafter is as follows (in millions):
The remainder of 2018
$
156

2019
551

2020
377

2021
271

2022
31

Thereafter
65

Total
$
1,451

v3.10.0.1
Commitments and Contingencies (Tables)
9 Months Ended
Sep. 30, 2018
Commitments and Contingencies Disclosure [Abstract]  
Schedule of Future Minimum Rental Payments for Operating Leases
The following is a schedule, by years, of the future minimum lease payments required under non-cancelable operating leases as of September 30, 2018 (in millions):
 
Operating Leases
 
Financing obligation, building in progress - leased facilities(1)
The remainder of 2018
$
108

 
$

2019
726

 
1

2020
873

 
9

2021
946

 
9

2022
906

 
9

Thereafter
8,830

 
91

Total minimum lease payments
$
12,389

 
$
119

(1)
We entered into an agreement to lease an office building that is under construction. As a result of our involvement during this construction period, we are considered for accounting purposes to be the owner of the construction project. Financing obligation, building in progress - leased facilities represent the total expected financing and lease obligations associated with this lease and will be settled through monthly lease payments to the landlord when we occupy the office space upon completion. This amount includes $70 million that is included in property and equipment, net and other liabilities on our condensed consolidated balance sheets as of September 30, 2018.
v3.10.0.1
Stockholders' Equity (Tables)
9 Months Ended
Sep. 30, 2018
Equity [Abstract]  
Stock Option Activity under Stock Plans
The following table summarizes the activities of stock option awards under the Stock Plans for the nine months ended September 30, 2018: 
 
Shares Subject to Options Outstanding
 
Number of
Shares
 
Weighted
Average
Exercise
Price
 
Weighted
Average
Remaining
Contractual
Term
 
Aggregate
Intrinsic
Value(1)
 
(in thousands)
 
 
 
(in years)
 
(in millions)
Balance as of December 31, 2017
3,078

 
$
10.06

 
 
 
 
Stock options exercised
(1,398
)
 
$
8.06

 
 
 
 
Balance as of September 30, 2018
1,680

 
$
11.72

 
1.8
 
$
257

Stock options exercisable as of September 30, 2018
1,680

 
$
11.72

 
1.8
 
$
257

(1)
The aggregate intrinsic value is calculated as the difference between the exercise price of the underlying stock option awards and the official closing price of our Class A common stock of $164.46 as reported on the Nasdaq Global Select Market on September 30, 2018.
Restricted Stock Units Award Activity
The following table summarizes the activities for our unvested RSUs for the nine months ended September 30, 2018:
 
Unvested RSUs(1)
 
Number of Shares
 
Weighted Average Grant Date Fair Value
 
(in thousands)
 
 
Unvested at December 31, 2017
81,214

 
$
110.49

Granted
33,015

 
$
172.97

Vested
(34,176
)
 
$
101.64

Forfeited
(5,938
)
 
$
114.33

Unvested at September 30, 2018
74,115

 
$
142.08


(1)
Unvested shares at December 31, 2017 included an inducement award issued in connection with the WhatsApp acquisition in 2014 which was subject to the terms, restrictions, and conditions of a separate non-plan RSU award agreement
v3.10.0.1
Geographical Information (Tables)
9 Months Ended
Sep. 30, 2018
Segments, Geographical Areas [Abstract]  
Revenue and Property and Equipment by Geographic Area
The following table sets forth property and equipment, net by geographic area (in millions):
 
September 30,
2018
 
December 31,
2017
Property and equipment, net:
 
 
 
United States
$
16,038

 
$
10,406

Rest of the world(1)
5,074

 
3,315

Total property and equipment, net
$
21,112

 
$
13,721

 
(1)
No individual country, other than disclosed above, exceeded 10% of our total property and equipment, net for any period presented.
v3.10.0.1
Summary of Significant Accounting Policies - Disaggregated Revenue (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Disaggregation of Revenue [Line Items]        
Revenues $ 13,727 $ 10,328 $ 38,924 $ 27,681
US & Canada        
Disaggregation of Revenue [Line Items]        
Revenues 6,325 4,823 17,750 12,972
Europe        
Disaggregation of Revenue [Line Items]        
Revenues 3,234 2,546 9,568 6,846
Asia-Pacific        
Disaggregation of Revenue [Line Items]        
Revenues 3,007 2,042 8,253 5,424
Rest of the world        
Disaggregation of Revenue [Line Items]        
Revenues 1,161 917 3,353 2,439
United States        
Disaggregation of Revenue [Line Items]        
Revenues 5,930 4,480 16,620 12,060
Advertising        
Disaggregation of Revenue [Line Items]        
Revenues 13,539 10,142 38,373 27,163
Payments and other fees        
Disaggregation of Revenue [Line Items]        
Revenues $ 188 $ 186 $ 551 $ 518
v3.10.0.1
Summary of Significant Accounting Policies - Deferred Revenue and Deposits (Details) - USD ($)
$ in Millions
Sep. 30, 2018
Dec. 31, 2017
Accounting Policies [Abstract]    
Deferred revenue $ 85 $ 68
Deposits 30 30
Total deferred revenue and deposits $ 115 $ 98
v3.10.0.1
Summary of Significant Accounting Policies - Narrative (Details)
9 Months Ended
Sep. 30, 2018
Accounting Policies [Abstract]  
Percentage payable to developer 70.00%
v3.10.0.1
Earnings per Share - Basic and Diluted EPS (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Numerator        
Net income $ 5,137 $ 4,707 $ 15,230 $ 11,665
Less: Net income attributable to participating securities 0 3 1 13
Net income attributable to Class A and Class B common stockholders $ 5,137 $ 4,704 $ 15,229 $ 11,652
Denominator        
Number of shares used for basic EPS computation (in shares) 2,885 2,904 2,895 2,898
Basic EPS (in dollars per share) $ 1.78 $ 1.62 $ 5.26 $ 4.02
Numerator        
Net income attributable to common stockholders $ 5,137 $ 4,704 $ 15,229 $ 11,652
Denominator        
Number of shares used for basic EPS computation (in shares) 2,885 2,904 2,895 2,898
Weighted average effect of dilutive securities:        
Number of shares used for diluted EPS computation (in shares) 2,913 2,956 2,931 2,954
Diluted EPS (in dollars per share) $ 1.76 $ 1.59 $ 5.20 $ 3.95
Class A Common Stock        
Numerator        
Net income $ 4,293 $ 3,853 $ 12,661 $ 9,523
Less: Net income attributable to participating securities 0 3 1 11
Net income attributable to Class A and Class B common stockholders $ 4,293 $ 3,850 $ 12,660 $ 9,512
Denominator        
Weighted average shares outstanding (in shares) 2,411 2,378 2,407 2,368
Less: Shares subject to repurchase (in shares) 0 1 0 2
Number of shares used for basic EPS computation (in shares) 2,411 2,377 2,407 2,366
Basic EPS (in dollars per share) $ 1.78 $ 1.62 $ 5.26 $ 4.02
Numerator        
Net income attributable to common stockholders $ 4,293 $ 3,850 $ 12,660 $ 9,512
Reallocation of net income attributable to participating securities 0 3 1 13
Reallocation of net income as a result of conversion of Class B to Class A common stock 844 854 2,569 2,140
Reallocation of net income to Class B common stock 0 0 0 0
Net income attributable to common stockholders for diluted EPS $ 5,137 $ 4,707 $ 15,230 $ 11,665
Denominator        
Number of shares used for basic EPS computation (in shares) 2,411 2,377 2,407 2,366
Conversion of Class B to Class A common stock (in shares) 474 527 488 532
Weighted average effect of dilutive securities:        
Shares subject to repurchase (in shares) 0 2 0 3
Number of shares used for diluted EPS computation (in shares) 2,913 2,956 2,931 2,954
Diluted EPS (in dollars per share) $ 1.76 $ 1.59 $ 5.20 $ 3.95
Class A Common Stock | Employee Stock Options        
Weighted average effect of dilutive securities:        
Share based payment arrangements (in shares) 2 3 2 4
Class A Common Stock | Restricted Stock Units (RSUs)        
Weighted average effect of dilutive securities:        
Share based payment arrangements (in shares) 26 47 34 49
Class B Common Stock        
Numerator        
Net income $ 844 $ 854 $ 2,569 $ 2,142
Less: Net income attributable to participating securities 0 0 0 2
Net income attributable to Class A and Class B common stockholders $ 844 $ 854 $ 2,569 $ 2,140
Denominator        
Weighted average shares outstanding (in shares) 474 528 488 533
Less: Shares subject to repurchase (in shares) 0 1 0 1
Number of shares used for basic EPS computation (in shares) 474 527 488 532
Basic EPS (in dollars per share) $ 1.78 $ 1.62 $ 5.26 $ 4.02
Numerator        
Net income attributable to common stockholders $ 844 $ 854 $ 2,569 $ 2,140
Reallocation of net income attributable to participating securities 0 0 0 0
Reallocation of net income as a result of conversion of Class B to Class A common stock 0 0 0 0
Reallocation of net income to Class B common stock (4) (5) (14) (6)
Net income attributable to common stockholders for diluted EPS $ 840 $ 849 $ 2,555 $ 2,134
Denominator        
Number of shares used for basic EPS computation (in shares) 474 527 488 532
Conversion of Class B to Class A common stock (in shares) 0 0 0 0
Weighted average effect of dilutive securities:        
Shares subject to repurchase (in shares) 0 1 0 1
Number of shares used for diluted EPS computation (in shares) 476 533 491 540
Diluted EPS (in dollars per share) $ 1.76 $ 1.59 $ 5.20 $ 3.95
Class B Common Stock | Employee Stock Options        
Weighted average effect of dilutive securities:        
Share based payment arrangements (in shares) 2 3 2 4
Class B Common Stock | Restricted Stock Units (RSUs)        
Weighted average effect of dilutive securities:        
Share based payment arrangements (in shares) 0 2 1 3
v3.10.0.1
Cash and Cash Equivalents, and Marketable Securities - Breakout of Cash, Cash Equivalents and Marketable Securities (Details) - USD ($)
$ in Millions
Sep. 30, 2018
Dec. 31, 2017
Sep. 30, 2017
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents $ 9,637 $ 8,079 $ 7,201
Marketable securities 31,569 33,632  
Total cash and cash equivalents, and marketable securities 41,206 41,711  
U.S. government securities      
Cash and Cash Equivalents, and Marketable Securities      
Marketable securities 14,251 12,766  
U.S. government agency securities      
Cash and Cash Equivalents, and Marketable Securities      
Marketable securities 8,356 10,944  
Corporate debt securities      
Cash and Cash Equivalents, and Marketable Securities      
Marketable securities 8,962 9,922  
Cash      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents 2,764 2,212  
Money market funds      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents 5,991 5,268  
U.S. government securities      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents 286 66  
U.S. government agency securities      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents 12 25  
Certificate of deposits and time deposits      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents 584 440  
Corporate debt securities      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents $ 0 $ 68  
v3.10.0.1
Cash and Cash Equivalents, and Marketable Securities - Contractual Maturities of Marketable Debt Securities (Details) - USD ($)
$ in Millions
Sep. 30, 2018
Dec. 31, 2017
Contractual Maturities of Marketable Securities    
Due in one year $ 8,433  
Due in one to five years 23,136  
Total marketable securities $ 31,569 $ 33,632
v3.10.0.1
Cash and Cash Equivalents, and Marketable Securities - Narrative (Details) - USD ($)
$ in Millions
Sep. 30, 2018
Dec. 31, 2017
Cash and Cash Equivalents, and Marketable Securities [Abstract]    
Gross unrealized losses on marketable securities $ 514 $ 289
Gross unrealized losses in continuous loss position for 12 months or longer $ (349) $ (169)
v3.10.0.1
Fair Value Measurement - Assets Measured at Fair Value (Details) - USD ($)
$ in Millions
Sep. 30, 2018
Dec. 31, 2017
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities $ 31,569 $ 33,632
U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 14,251 12,766
U.S. government agency securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 8,356 10,944
Corporate debt securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 8,962 9,922
Fair Value, Measurements, Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Total cash equivalents and marketable securities 38,442 39,499
Fair Value, Measurements, Recurring | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Total cash equivalents and marketable securities 28,896 29,069
Fair Value, Measurements, Recurring | Significant Other Observable Inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Total cash equivalents and marketable securities 9,546 10,430
Fair Value, Measurements, Recurring | Significant Unobservable Inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Total cash equivalents and marketable securities 0 0
Fair Value, Measurements, Recurring | U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 14,251 12,766
Fair Value, Measurements, Recurring | U.S. government securities | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 14,251 12,766
Fair Value, Measurements, Recurring | U.S. government securities | Significant Other Observable Inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 0 0
Fair Value, Measurements, Recurring | U.S. government securities | Significant Unobservable Inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 0 0
Fair Value, Measurements, Recurring | U.S. government agency securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 8,356 10,944
Fair Value, Measurements, Recurring | U.S. government agency securities | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 8,356 10,944
Fair Value, Measurements, Recurring | U.S. government agency securities | Significant Other Observable Inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 0 0
Fair Value, Measurements, Recurring | U.S. government agency securities | Significant Unobservable Inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 0 0
Fair Value, Measurements, Recurring | Corporate debt securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 8,962 9,922
Fair Value, Measurements, Recurring | Corporate debt securities | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 0 0
Fair Value, Measurements, Recurring | Corporate debt securities | Significant Other Observable Inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 8,962 9,922
Fair Value, Measurements, Recurring | Corporate debt securities | Significant Unobservable Inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Marketable securities 0 0
Fair Value, Measurements, Recurring | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 5,991 5,268
Fair Value, Measurements, Recurring | Money market funds | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 5,991 5,268
Fair Value, Measurements, Recurring | Money market funds | Significant Other Observable Inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 0 0
Fair Value, Measurements, Recurring | Money market funds | Significant Unobservable Inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 0 0
Fair Value, Measurements, Recurring | U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 286 66
Fair Value, Measurements, Recurring | U.S. government securities | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 286 66
Fair Value, Measurements, Recurring | U.S. government securities | Significant Other Observable Inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 0 0
Fair Value, Measurements, Recurring | U.S. government securities | Significant Unobservable Inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 0 0
Fair Value, Measurements, Recurring | U.S. government agency securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 12 25
Fair Value, Measurements, Recurring | U.S. government agency securities | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 12 25
Fair Value, Measurements, Recurring | U.S. government agency securities | Significant Other Observable Inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 0 0
Fair Value, Measurements, Recurring | U.S. government agency securities | Significant Unobservable Inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 0 0
Fair Value, Measurements, Recurring | Certificate of deposits and time deposits    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 584 440
Fair Value, Measurements, Recurring | Certificate of deposits and time deposits | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 0 0
Fair Value, Measurements, Recurring | Certificate of deposits and time deposits | Significant Other Observable Inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents 584 440
Fair Value, Measurements, Recurring | Certificate of deposits and time deposits | Significant Unobservable Inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents $ 0 0
Fair Value, Measurements, Recurring | Corporate debt securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents   68
Fair Value, Measurements, Recurring | Corporate debt securities | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents   0
Fair Value, Measurements, Recurring | Corporate debt securities | Significant Other Observable Inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents   68
Fair Value, Measurements, Recurring | Corporate debt securities | Significant Unobservable Inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis    
Cash equivalents   $ 0
v3.10.0.1
Property and Equipment (Details) - USD ($)
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Dec. 31, 2017
Property, Plant and Equipment          
Property and equipment, gross $ 27,196,000,000   $ 27,196,000,000   $ 18,337,000,000
Less: Accumulated depreciation (6,084,000,000)   (6,084,000,000)   (4,616,000,000)
Property and equipment, net 21,112,000,000   21,112,000,000   13,721,000,000
Interest costs capitalized 0 $ 0 0 $ 0  
Land          
Property, Plant and Equipment          
Property and equipment, gross 890,000,000   890,000,000   798,000,000
Buildings          
Property, Plant and Equipment          
Property and equipment, gross 6,609,000,000   6,609,000,000   4,909,000,000
Leasehold improvements          
Property, Plant and Equipment          
Property and equipment, gross 1,576,000,000   1,576,000,000   959,000,000
Network equipment          
Property, Plant and Equipment          
Property and equipment, gross 11,181,000,000   11,181,000,000   7,998,000,000
Computer software, office equipment and other          
Property, Plant and Equipment          
Property and equipment, gross 1,025,000,000   1,025,000,000   681,000,000
Construction in progress          
Property, Plant and Equipment          
Property and equipment, gross $ 5,915,000,000   $ 5,915,000,000   $ 2,992,000,000
v3.10.0.1
Goodwill and Intangible Assets - Change in Carrying Amount of Goodwill (Details)
$ in Millions
9 Months Ended
Sep. 30, 2018
USD ($)
Goodwill  
Goodwill beginning $ 18,221
Goodwill acquired 88
Effect of currency translation adjustment (5)
Goodwill ending $ 18,304
v3.10.0.1
Goodwill and Intangible Assets - Intangible Assets (Detail) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Dec. 31, 2017
Finite-Lived Intangible Assets [Line Items]          
Weighted Average Remaining Useful Life (in years)     3 years 2 months 12 days    
Gross Carrying Amount $ 4,654   $ 4,654   $ 4,604
Accumulated Amortization (3,203)   (3,203)   (2,720)
Net Carrying Amount 1,451   1,451   1,884
Amortization expense 156 $ 173 $ 483 $ 522  
Acquired users          
Finite-Lived Intangible Assets [Line Items]          
Weighted Average Remaining Useful Life (in years)     3 years    
Gross Carrying Amount 2,056   $ 2,056   2,056
Accumulated Amortization (1,188)   (1,188)   (971)
Net Carrying Amount 868   $ 868   1,085
Acquired technology          
Finite-Lived Intangible Assets [Line Items]          
Weighted Average Remaining Useful Life (in years)     1 year 4 months 23 days    
Gross Carrying Amount 1,002   $ 1,002   972
Accumulated Amortization (834)   (834)   (711)
Net Carrying Amount 168   $ 168   261
Acquired patents          
Finite-Lived Intangible Assets [Line Items]          
Weighted Average Remaining Useful Life (in years)     5 years 9 months 17 days    
Gross Carrying Amount 805   $ 805   785
Accumulated Amortization (548)   (548)   (499)
Net Carrying Amount 257   $ 257   286
Trade names          
Finite-Lived Intangible Assets [Line Items]          
Weighted Average Remaining Useful Life (in years)     1 year 7 months 6 days    
Gross Carrying Amount 629   $ 629   629
Accumulated Amortization (489)   (489)   (406)
Net Carrying Amount 140   $ 140   223
Other          
Finite-Lived Intangible Assets [Line Items]          
Weighted Average Remaining Useful Life (in years)     2 years 3 months 17 days    
Gross Carrying Amount 162   $ 162   162
Accumulated Amortization (144)   (144)   (133)
Net Carrying Amount $ 18   $ 18   $ 29
v3.10.0.1
Goodwill and Intangible Assets - Estimated Amortization Expense (Details) - USD ($)
$ in Millions
Sep. 30, 2018
Dec. 31, 2017
Finite-Lived Intangible Assets, Amortization Expense, Maturity Schedule [Abstract]    
The remainder of 2018 $ 156  
2019 551  
2020 377  
2021 271  
2022 31  
Thereafter 65  
Net Carrying Amount $ 1,451 $ 1,884
v3.10.0.1
Long-term Debt - Narrative (Details) - Revolving Credit Facility - 2016 Facility - USD ($)
Sep. 30, 2018
May 31, 2016
Debt Instrument    
Maximum borrowing capacity   $ 2,000,000,000.0
Amount outstanding $ 0  
v3.10.0.1
Commitments and Contingencies - Narrative (Details)
$ in Millions
3 Months Ended 9 Months Ended
Jul. 27, 2018
claim
Sep. 30, 2018
USD ($)
Sep. 30, 2017
USD ($)
Sep. 30, 2018
USD ($)
Sep. 30, 2017
USD ($)
Commitments and Contingencies Disclosure [Abstract]          
Operating lease expense   $ 170 $ 91 $ 436 $ 247
Non-cancelable contractual commitment       $ 5,290  
Commitment period       5 years  
Number of class actions filed | claim 2        
v3.10.0.1
Commitments and Contingencies - Future Minimum Lease Payments (Details)
$ in Millions
Sep. 30, 2018
USD ($)
Operating Leases  
The remainder of 2018 $ 108
2019 726
2020 873
2021 946
2022 906
Thereafter 8,830
Total minimum lease payments 12,389
Financing Obligation, Future Minimum Payment Due, Fiscal Year Maturity [Abstract]  
The remainder of 2018 0
2019 1
2020 9
2021 9
2022 9
Thereafter 91
Total minimum lease payments 119
Financing obligation, building in progress $ 70
v3.10.0.1
Stockholders' Equity - Share Repurchase Program (Details) - USD ($)
shares in Millions
9 Months Ended
Sep. 30, 2018
Apr. 30, 2018
Nov. 30, 2016
Share-based Compensation Arrangement by Share-based Payment Award      
Additional authorized repurchase amount   $ 9,000,000,000  
Shares repurchased and retired (in shares) 54    
Shares repurchased and retired $ 9,390,000,000    
Remaining authorized repurchase amount $ 3,540,000,000    
Class A Common Stock      
Share-based Compensation Arrangement by Share-based Payment Award      
Share repurchase program, authorized amount     $ 6,000,000,000
v3.10.0.1
Stockholders' Equity - Share-based Compensation Plans (Detail)
9 Months Ended
Sep. 30, 2018
plan
Jan. 01, 2018
shares
Share-based Compensation Arrangement by Share-based Payment Award    
Share-based employee compensation plans, number | plan 2  
2012 Plan    
Share-based Compensation Arrangement by Share-based Payment Award    
Equity incentive plan shares authorized (in shares) | shares   67,000,000
Shares reserved for issuance increase, percentage 2.50%  
v3.10.0.1
Stockholders' Equity - Stock Option Activity (Details)
$ / shares in Units, shares in Thousands, $ in Millions
9 Months Ended
Sep. 30, 2018
USD ($)
$ / shares
shares
Class A Common Stock  
Aggregate Intrinsic Value  
Common stock, closing share price (in usd per share) $ 164.46
Employee Stock Options  
Number of Shares  
Beginning balance (in shares) | shares 3,078
Stock options exercised (in shares) | shares (1,398)
Ending balance (in shares) | shares 1,680
Stock options exercisable as of period end (in shares) | shares 1,680
Weighted Average Exercise Price  
Beginning balance (in dollars per share) $ 10.06
Stock options exercised (in dollars per share) 8.06
Ending balance (in dollars per share) 11.72
Stock options exercisable as of period end (in dollars per share) $ 11.72
Weighted Average Remaining Contractual Term  
Balance at period end 1 year 9 months
Stock options exercisable as of period end 1 year 9 months
Aggregate Intrinsic Value  
Balance at period end | $ $ 257
Stock options exercisable as of period end | $ $ 257
v3.10.0.1
Stockholders' Equity - Restricted Stock Units (Details) - Restricted Stock Units (RSUs) - USD ($)
$ / shares in Units, shares in Thousands, $ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Number of Shares        
Unvested at beginning of period (in shares)     81,214  
Granted (in shares)     33,015  
Vested (in shares)     (34,176)  
Forfeited (in shares)     (5,938)  
Unvested at end of period (in shares) 74,115   74,115  
Weighted Average Grant Date Fair Value        
Unvested at beginning of period (in dollars per share)     $ 110.49  
Granted (in dollars per share)     172.97  
Vested (in dollars per share)     101.64  
Forfeited (in dollars per share)     114.33  
Unvested at end of period (in dollars per share) $ 142.08   $ 142.08  
Fair value of vested RSUs $ 2,110 $ 1,730 $ 6,240 $ 4,940
v3.10.0.1
Stockholders' Equity - Additional Award Disclosures (Details)
$ in Millions
9 Months Ended
Sep. 30, 2018
USD ($)
Equity [Abstract]  
Unrecognized share-based compensation expense $ 9,570
Unrecognized share-based compensation expense recognition period (in years) 3 years
v3.10.0.1
Income Taxes - Income Tax (Details) - USD ($)
$ in Millions
1 Months Ended 9 Months Ended
Jul. 31, 2016
Sep. 30, 2018
Dec. 31, 2017
Income Tax Contingency [Line Items]      
Unrecognized tax benefits   $ 4,260 $ 3,870
Unrecognized tax benefits that would result in tax benefit if realized   2,800  
Accrued interest and penalties   310 $ 154
Internal Revenue Service (IRS) | Tax Year 2010      
Income Tax Contingency [Line Items]      
Income tax examination, estimate of possible loss $ 5,000    
Internal Revenue Service (IRS) | Tax Years 2011 Through 2013      
Income Tax Contingency [Line Items]      
Income tax examination, estimate of possible loss   $ 680  
v3.10.0.1
Geographical Information - Property and Equipment, Net (Details) - USD ($)
$ in Millions
Sep. 30, 2018
Dec. 31, 2017
Long-Lived Assets By Geographical Area    
Total property and equipment, net $ 21,112 $ 13,721
United States    
Long-Lived Assets By Geographical Area    
Total property and equipment, net 16,038 10,406
Rest of the world    
Long-Lived Assets By Geographical Area    
Total property and equipment, net $ 5,074 $ 3,315
v3.10.0.1
Label Element Value
Other Assets [Member]  
Restricted Cash and Cash Equivalents us-gaap_RestrictedCashAndCashEquivalents $ 97,000,000
Restricted Cash and Cash Equivalents us-gaap_RestrictedCashAndCashEquivalents 100,000,000
Prepaid Expenses and Other Current Assets [Member]  
Restricted Cash and Cash Equivalents us-gaap_RestrictedCashAndCashEquivalents 41,000,000
Restricted Cash and Cash Equivalents us-gaap_RestrictedCashAndCashEquivalents $ 7,000,000