FACEBOOK INC, 10-Q filed on 4/26/2018
Quarterly Report
v3.8.0.1
Document and Entity Information - shares
3 Months Ended
Mar. 31, 2018
Apr. 23, 2018
Entity Information    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Mar. 31, 2018  
Document Fiscal Year Focus 2018  
Document Fiscal Period Focus Q1  
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  
Class A Common Stock    
Entity Information    
Entity Common Stock, Shares Outstanding   2,398,606,201
Class B Common Stock    
Entity Information    
Entity Common Stock, Shares Outstanding   496,021,547
v3.8.0.1
CONDENSED CONSOLIDATED BALANCE SHEETS - USD ($)
$ in Millions
Mar. 31, 2018
Dec. 31, 2017
Current assets:    
Cash and cash equivalents $ 12,082 $ 8,079
Marketable securities 31,874 33,632
Accounts receivable, net of allowances of $204 and $189 as of March 31, 2018 and December 31, 2017, respectively 5,115 5,832
Prepaid expenses and other current assets 1,341 1,020
Total current assets 50,412 48,563
Property and equipment, net 16,211 13,721
Intangible assets, net 1,735 1,884
Goodwill 18,268 18,221
Other assets 2,319 2,135
Total assets 88,945 84,524
Current liabilities:    
Accounts payable 593 380
Partners payable 396 390
Accrued expenses and other current liabilities 4,003 2,892
Deferred revenue and deposits 94 98
Total current liabilities 5,086 3,760
Other liabilities 6,239 6,417
Total liabilities 11,325 10,177
Stockholders' equity:    
Common stock, $0.000006 par value; 5,000 million Class A shares authorized, 2,404 million and 2,397 million shares issued and outstanding, as of March 31, 2018 and December 31, 2017, respectively; 4,141 million Class B shares authorized, 498 million and 509 million shares issued and outstanding, as of March 31, 2018 and December 31, 2017, respectively. 0 0
Additional paid-in capital 41,134 40,584
Accumulated other comprehensive loss (294) (227)
Retained earnings 36,780 33,990
Total stockholders' equity 77,620 74,347
Total liabilities and stockholders' equity $ 88,945 $ 84,524
v3.8.0.1
CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical) - USD ($)
$ in Millions
Mar. 31, 2018
Dec. 31, 2017
Current assets:    
Accounts receivable, allowances for doubtful accounts $ 204 $ 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,404,000,000 2,397,000,000
Common stock, shares outstanding (in shares) 2,404,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) 498,000,000 509,000,000
Common stock, shares outstanding (in shares) 498,000,000 509,000,000
v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF INCOME - USD ($)
shares in Millions, $ in Millions
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Revenue $ 11,966 $ 8,032
Costs and expenses:    
Cost of revenue 1,927 1,159
Research and development 2,238 1,834
Marketing and sales 1,595 1,057
General and administrative 757 655
Total costs and expenses 6,517 4,705
Income from operations 5,449 3,327
Interest and other income, net 161 81
Income before provision for income taxes 5,610 3,408
Provision for income taxes 622 344
Net income 4,988 3,064
Less: Net income attributable to participating securities 1 5
Net income attributable to Class A and Class B common stockholders $ 4,987 $ 3,059
Earnings per share attributable to Class A and Class B common stockholders:    
Basic (in dollars per share) $ 1.72 $ 1.06
Diluted (in dollars per share) $ 1.69 $ 1.04
Weighted average shares used to compute earnings per share attributable to Class A and Class B common stockholders:    
Basic (in shares) 2,906 2,891
Diluted (in shares) 2,945 2,944
Share-based compensation expense included in costs and expenses:    
Share-based compensation expense $ 955 $ 867
Cost of revenue    
Share-based compensation expense included in costs and expenses:    
Share-based compensation expense 56 34
Research and development    
Share-based compensation expense included in costs and expenses:    
Share-based compensation expense 718 670
Marketing and sales    
Share-based compensation expense included in costs and expenses:    
Share-based compensation expense 109 96
General and administrative    
Share-based compensation expense included in costs and expenses:    
Share-based compensation expense $ 72 $ 67
v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Statement of Comprehensive Income [Abstract]    
Net income $ 4,988 $ 3,064
Other comprehensive income (loss):    
Change in foreign currency translation adjustment, net of tax 94 60
Change in unrealized gain/loss on available-for-sale investments and other, net of tax (161) 17
Comprehensive income $ 4,921 $ 3,141
v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Cash flows from operating activities    
Net income $ 4,988 $ 3,064
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 949 671
Share-based compensation 955 867
Deferred income taxes (47) (84)
Other 8 5
Changes in assets and liabilities:    
Accounts receivable 788 609
Prepaid expenses and other current assets (365) (365)
Other assets 22 31
Accounts payable 1 (10)
Partners payable 2 (3)
Accrued expenses and other current liabilities 707 61
Deferred revenue and deposits (5) (10)
Other liabilities (143) 222
Net cash provided by operating activities 7,860 5,058
Cash flows from investing activities    
Purchases of property and equipment (2,812) (1,271)
Purchases of marketable securities (4,022) (6,992)
Sales of marketable securities 4,330 1,762
Maturities of marketable securities 1,267 599
Acquisitions of businesses, net of cash acquired, and purchases of intangible assets (49) 0
Other investing activities, net (1) (18)
Net cash used in investing activities (1,287) (5,920)
Cash flows from financing activities    
Taxes paid related to net share settlement of equity awards (832) (771)
Repurchases of Class A common stock (1,774) (228)
Other financing activities, net 3 7
Net cash used in financing activities (2,603) (992)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 36 28
Net increase (decrease) in cash, cash equivalents, and restricted cash 4,006 (1,826)
Cash, cash equivalents, and restricted cash at beginning of year 8,204 9,109
Cash, cash equivalents, and restricted cash at end of the period 12,210 7,283
Reconciliation of cash, cash equivalents, and restricted cash to the condensed consolidated balance sheets    
Cash and cash equivalents 12,082 7,104
Total cash, cash equivalents, and restricted cash 8,204 9,109
Cash paid during the period for:    
Income taxes, net 736 664
Non-cash investing and financing activities:    
Net change in accounts payable, accrued expenses and other current liabilities, and other liabilities related to property and equipment additions 450 (26)
Change in unsettled repurchases of Class A common stock $ 141 $ 0
v3.8.0.1
Summary of Significant Accounting Policies (Notes)
3 Months Ended
Mar. 31, 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 necessary to present fairly the financial position, results of operations, and cash flows for the interim periods, but are not necessarily indicative of the results of operations to be anticipated 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 revenue recognition, collectability of accounts receivable, commitments and contingencies, fair value of financial instruments, fair value of acquired intangible assets and goodwill, useful lives of intangible assets and property and equipment, leases, and income taxes. 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 and early adoption is permitted. We will adopt the new standard effective January 1, 2019. We have selected a lease accounting system. Our implementation of the system remains on schedule and our evaluation of the use of optional practical expedients is ongoing. While we continue to evaluate the effect of adopting this guidance on our consolidated financial statements and related disclosures, we expect 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.
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 (the 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 are currently evaluating the effects that the adoption of this guidance will have on our consolidated financial statements and the related disclosures.

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.     
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 to revenue and to cost of revenue for the three months ended March 31, 2018 compared to the same period in 2017 was an increase of approximately $130 million due to a change from net to gross presentation for advertising revenue from Instant Articles. 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 disaggregated by revenue source for the three months ended March 31, 2018 and 2017, consists of the following (in millions). Revenue excludes sales and usage-based taxes where it has been determined that we are acting as a pass-through agent.
 
Three Months Ended March 31,
 
2018
 
2017(1)
Advertising
$
11,795

 
$
7,857

Payments and other fees
171

 
175

    Total revenue
$
11,966

 
$
8,032

(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 (in millions):
 
Three Months Ended March 31,
 
2018
 
2017(1)
Revenue:
 
 
 
US & Canada(2)
$
5,442

 
$
3,790

Europe(3)
3,027

 
1,968

Asia-Pacific
2,475

 
1,576

Rest of World (3)
1,022

 
698

Total revenue
$
11,966

 
$
8,032

(1) As noted above, prior period amounts have not been adjusted under the modified retrospective method. 
(2) United States revenue was $5.09 billion and $3.53 billion for the three months ended March 31, 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, 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 and various other sources.
Revenue is recognized net of applicable sales and other taxes.
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. 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 decrease in the deferred revenue balance for the three months ended March 31, 2018 was driven 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):
 
March 31,
2018
 
December 31,
2017
Deferred revenue
$
64

 
$
68

Deposits
30

 
30

Total deferred revenue and deposits
$
94

 
$
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.8.0.1
Earnings per Share (Notes)
3 Months Ended
Mar. 31, 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 months ended March 31, 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 March 31,
 
2018
 
2017
 
Class A
 
Class B
 
Class A
 
Class B
Basic EPS:
 
 
 
 
 
 
 
Numerator
 
 
 
 
 
 
 
Net income
$
4,123

 
$
865

 
$
2,497

 
$
567

Less: Net income attributable to participating securities
1

 
—

 
4

 
1

Net income attributable to common stockholders
$
4,122

 
$
865

 
$
2,493

 
$
566

Denominator
 
 
 
 
 
 
 
Weighted average shares outstanding
2,402

 
504

 
2,359

 
537

Less: Shares subject to repurchase
—

 
—

 
3

 
2

Number of shares used for basic EPS computation
2,402

 
504

 
2,356

 
535

Basic EPS
$
1.72

 
$
1.72

 
$
1.06

 
$
1.06

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

 
$
865

 
$
2,493

 
$
566

Reallocation of net income attributable to participating securities
1

 
—

 
5

 
—

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

 
—

 
566

 
—

Reallocation of net income to Class B common stock
—

 
(5
)
 
—

 
2

Net income attributable to common stockholders for diluted EPS
$
4,988

 
$
860

 
$
3,064

 
$
568

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

 
504

 
2,356

 
535

Conversion of Class B to Class A common stock
504

 
—

 
535

 
—

Weighted average effect of dilutive securities:
 
 
 
 
 
 
 
Employee stock options
3

 
3

 
5

 
5

RSUs
36

 
1

 
44

 
3

Shares subject to repurchase and other
—

 
—

 
4

 
2

Number of shares used for diluted EPS computation
2,945

 
508

 
2,944

 
545

Diluted EPS
$
1.69

 
$
1.69

 
$
1.04

 
$
1.04

v3.8.0.1
Cash and Cash Equivalents, and Marketable Securities (Notes)
3 Months Ended
Mar. 31, 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):
 
March 31, 2018
 
December 31, 2017
Cash and cash equivalents:
 
 
 
Cash
$
2,728

 
$
2,212

Money market funds
6,937

 
5,268

U.S. government securities
1,385

 
66

U.S. government agency securities
179

 
25

Certificate of deposits and time deposits
853

 
440

Corporate debt securities
—

 
68

Total cash and cash equivalents
12,082

 
8,079

Marketable securities:
 
 
 
U.S. government securities
13,088

 
12,766

U.S. government agency securities
9,855

 
10,944

Corporate debt securities
8,931

 
9,922

Total marketable securities
31,874

 
33,632

Total cash and cash equivalents, and marketable securities
$
43,956

 
$
41,711


The gross unrealized gains or losses on our marketable securities as of March 31, 2018 and December 31, 2017 were not significant. In addition, the gross unrealized loss that had been in a continuous loss position for 12 months or longer was not significant as of March 31, 2018 and December 31, 2017. As of March 31, 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):
 
March 31, 2018
Due in one year
$
7,748

Due in one to five years
24,126

Total
$
31,874

v3.8.0.1
Fair Value Measurement (Notes)
3 Months Ended
Mar. 31, 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
 
March 31, 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
 
$
6,937

 
$
6,937

 
$
—

 
$
—

U.S. government securities
 
1,385

 
1,385

 
—

 
—

U.S. government agency securities
 
179

 
179

 
—

 
—

Certificate of deposits and time deposits
 
853

 
—

 
853

 
—

Marketable securities:
 
 
 
 
 
 
 
 
U.S. government securities
 
13,088

 
13,088

 
—

 
—

U.S. government agency securities
 
9,855

 
9,855

 
—

 
—

Corporate debt securities
 
8,931

 
—

 
8,931

 
—

Total cash equivalents and marketable securities
 
$
41,228

 
$
31,444

 
$
9,784

 
$
—

 
 
 
 
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.8.0.1
Property and Equipment (Notes)
3 Months Ended
Mar. 31, 2018
Property, Plant and Equipment [Abstract]  
Property and Equipment
Property and Equipment
Property and equipment consists of the following (in millions): 
 
March 31,
2018
 
December 31,
2017
Land
$
825

 
$
798

Buildings
4,957

 
4,909

Leasehold improvements
1,197

 
959

Network equipment
9,227

 
7,998

Computer software, office equipment and other
770

 
681

Construction in progress
4,316

 
2,992

Total
21,292

 
18,337

Less: Accumulated depreciation
(5,081
)
 
(4,616
)
Property and equipment, net
$
16,211

 
$
13,721


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

During the three months ended March 31, 2018, we 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 three months ended March 31, 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 three months ended March 31, 2018 are as follows (in millions): 
Balance as of December 31, 2017
$
18,221

Goodwill acquired
47

Balance as of March 31, 2018
$
18,268

Intangible assets consist of the following (in millions):
 
 
 
March 31, 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.5
 
$
2,056

 
$
(1,043
)
 
$
1,013

 
$
2,056

 
$
(971
)
 
$
1,085

Acquired technology
1.7
 
992

 
(759
)
 
233

 
972

 
(711
)
 
261

Acquired patents
5.6
 
785

 
(516
)
 
269

 
785

 
(499
)
 
286

Trade names
2.0
 
629

 
(433
)
 
196

 
629

 
(406
)
 
223

Other
2.5
 
162

 
(138
)
 
24

 
162

 
(133
)
 
29

Total intangible assets
3.4
 
$
4,624

 
$
(2,889
)
 
$
1,735

 
$
4,604

 
$
(2,720
)
 
$
1,884


Amortization expense of intangible assets was $169 million and $175 million for the three months ended March 31, 2018 and 2017, respectively.
As of March 31, 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
$
471

2019
546

2020
371

2021
266

2022
29

Thereafter
52

Total
$
1,735

v3.8.0.1
Long-term Debt (Notes)
3 Months Ended
Mar. 31, 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 March 31, 2018, no amounts had been drawn down, and we were in compliance with the covenants under this facility.
v3.8.0.1
Commitments and Contingencies (Notes)
3 Months Ended
Mar. 31, 2018
Commitments and Contingencies Disclosure [Abstract]  
Commitments and Contingencies
Commitments and Contingencies
Commitments
Leases
During the three months ended March 31, 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, and colocation leases, have original lease periods expiring between 2018 and 2040. Operating lease expense was $129 million and $74 million for the three months ended March 31, 2018 and 2017, respectively.
The following is a schedule, by years, of the future minimum lease payments required under non-cancelable operating leases as of March 31, 2018 (in millions):
 
Operating Leases
 
Financing obligation, building in progress - leased facilities(1)
The remainder of 2018
$
351

 
$
—

2019
558

 
2

2020
645

 
14

2021
656

 
15

2022
642

 
15

Thereafter
4,717

 
149

Total minimum lease payments
$
7,569

 
$
195

(1)
We entered into agreements to lease office buildings that are under construction. As a result of our involvement during these construction periods, we are considered for accounting purposes to be the owner of the construction projects. Financing obligation, building in progress - leased facilities represent the total expected financing and lease obligations associated with these leases and will be settled through monthly lease payments to the landlords when we occupy the office spaces upon completion. This amount includes $98 million that is included in property and equipment, net and other liabilities on our condensed consolidated balance sheets as of March 31, 2018.
Other contractual commitments
We also have $3.49 billion of non-cancelable contractual commitments as of March 31, 2018, primarily related to network infrastructure and our data center operations. The majority of these commitments are due within a year.
Contingencies
Beginning on May 22, 2012, multiple putative class actions, derivative actions, and individual actions were filed in state and federal courts in the United States and in other jurisdictions against us, our directors, and/or certain of our officers alleging violation of securities laws or breach of fiduciary duties in connection with our initial public offering (IPO) and seeking unspecified damages. The vast majority of the cases in the United States, along with multiple cases filed against The NASDAQ OMX Group, Inc. and The Nasdaq Stock Market LLC (collectively referred to herein as NASDAQ) alleging technical and other trading-related errors by NASDAQ in connection with our IPO, were ordered centralized for coordinated or consolidated pre-trial proceedings in the U.S. District Court for the Southern District of New York. In a series of rulings in 2013 and 2014, the court denied our motion to dismiss the consolidated securities class action and granted our motions to dismiss the derivative actions against our directors and certain of our officers. On July 24, 2015, the court of appeals affirmed the dismissal of the derivative actions. On December 11, 2015, the court granted plaintiffs' motion for class certification in the consolidated securities action. On April 14, 2017, we filed a motion for summary judgment. On February 26, 2018, the parties entered into a settlement agreement resolving all claims in the consolidated securities action.
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 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. We believe these lawsuits are without merit, and we are vigorously defending them. In addition, the events surrounding this misuse of data became the subject of U.S. Federal Trade Commission and other government inquiries in the United States, Europe, and other jurisdictions. It is reasonably possible that some of these actions or inquiries could subject us to substantial losses, although we are currently unable to estimate the amount of such losses.
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 loss in some of these cases, 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, consolidated financial position, results of operations, or cash flows. 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.8.0.1
Stockholders' Equity (Notes)
3 Months Ended
Mar. 31, 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. During the three months ended March 31, 2018, we repurchased and subsequently retired approximately 11 million shares of our Class A common stock for an aggregate amount of approximately $1.91 billion. As of March 31, 2018, approximately $2.0 billion remained available under this authorization. In April 2018, this authorization for the repurchase of our Class A common stock was increased by an additional $9.0 billion. 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 and restated in June 2016, and amended in 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 three months ended March 31, 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
(391
)
 
$
7.97

 
 
 
 
Balance as of March 31, 2018
2,687

 
$
10.36

 
2.2
 
$
402

Stock options exercisable as of March 31, 2018
2,609

 
$
10.22

 
2.2
 
$
390

(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 $159.79, as reported on the Nasdaq Global Select Market on March 31, 2018.
The following table summarizes the activities for our unvested RSUs for the three months ended March 31, 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
24,814

 
$
169.29

Vested
(10,883
)
 
$
90.86

Forfeited
(1,203
)
 
$
120.31

Unvested at March 31, 2018
93,942

 
$
128.16


(1)
Unvested shares includes an inducement award issued in connection with the WhatsApp acquisition in 2014 which is 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 months ended March 31, 2018 and 2017 was $1.95 billion and $1.70 billion, respectively.
As of March 31, 2018, there was $10.82 billion of unrecognized share-based compensation expense, substantially all of which was 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. Included in this unrecognized share-based compensation expense are 7.0 million unvested shares as of March 31, 2018, related to a RSU inducement award granted to an employee in connection with the WhatsApp acquisition in 2014. This award is subject to acceleration if the recipient's employment is terminated without "cause" or if the recipient resigns for "good reason".
v3.8.0.1
Income Taxes (Notes)
3 Months Ended
Mar. 31, 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. Through March 31, 2018, we did not have any significant adjustments to our provisional amounts. We will continue our analysis of these provisional amounts, which are still subject to change during the measurement period, and we anticipate further guidance on accounting interpretations from the FASB and application of the law from the Department of the Treasury.
Our gross unrecognized tax benefits were $3.87 billion for both March 31, 2018 and December 31, 2017. If the gross unrecognized tax benefits as of March 31, 2018 were realized in a subsequent period, this would result in a tax benefit of $2.53 billion within our provision of income taxes at such time. The amount of interest and penalties accrued as of March 31, 2018 and December 31, 2017 was $205 million and $154 million, respectively. We expect to continue to accrue unrecognized tax benefits for certain recurring tax positions and anticipate that the amount for future quarters accrued will be similar to amounts accrued by quarter in 2017.
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 Ireland 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 United States Tax Court challenging the Notice. As of March 31, 2018, we have not resolved this matter, and proceedings continue in the United States 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 we will file a petition in the United States Tax Court challenging the 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. Although the timing of the resolution, settlement, and closure of any audits is highly uncertain, 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.8.0.1
Geographical Information (Notes)
3 Months Ended
Mar. 31, 2018
Segments, Geographical Areas [Abstract]  
Geographical Information
Geographical Information
The following table sets forth property and equipment, net by geographic area (in millions):
 
March 31,
2018
 
December 31,
2017
Property and equipment, net:
 
 
 
United States
$
12,200

 
$
10,406

Rest of the world (1)
4,011

 
3,315

Total property and equipment, net
$
16,211

 
$
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.8.0.1
Summary of Significant Accounting Policies (Policies)
3 Months Ended
Mar. 31, 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 necessary to present fairly the financial position, results of operations, and cash flows for the interim periods, but are not necessarily indicative of the results of operations to be anticipated 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 revenue recognition, collectability of accounts receivable, commitments and contingencies, fair value of financial instruments, fair value of acquired intangible assets and goodwill, useful lives of intangible assets and property and equipment, leases, and income taxes. 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
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 and early adoption is permitted. We will adopt the new standard effective January 1, 2019. We have selected a lease accounting system. Our implementation of the system remains on schedule and our evaluation of the use of optional practical expedients is ongoing. While we continue to evaluate the effect of adopting this guidance on our consolidated financial statements and related disclosures, we expect 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.
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 (the 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 are currently evaluating the effects that the adoption of this guidance will have on our consolidated financial statements and the related disclosures.

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.
Revenue Recognition
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, 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 and various other sources.
Revenue is recognized net of applicable sales and other taxes.
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. 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 decrease in the deferred revenue balance for the three months ended March 31, 2018 was driven 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.
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 to revenue and to cost of revenue for the three months ended March 31, 2018 compared to the same period in 2017 was an increase of approximately $130 million due to a change from net to gross presentation for advertising revenue from Instant Articles. 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
v3.8.0.1
Summary of Significant Accounting Policies (Tables)
3 Months Ended
Mar. 31, 2018
Accounting Policies [Abstract]  
Disaggregation of Revenue
Revenue disaggregated by revenue source for the three months ended March 31, 2018 and 2017, consists of the following (in millions). Revenue excludes sales and usage-based taxes where it has been determined that we are acting as a pass-through agent.
 
Three Months Ended March 31,
 
2018
 
2017(1)
Advertising
$
11,795

 
$
7,857

Payments and other fees
171

 
175

    Total revenue
$
11,966

 
$
8,032

(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 (in millions):
 
Three Months Ended March 31,
 
2018
 
2017(1)
Revenue:
 
 
 
US & Canada(2)
$
5,442

 
$
3,790

Europe(3)
3,027

 
1,968

Asia-Pacific
2,475

 
1,576

Rest of World (3)
1,022

 
698

Total revenue
$
11,966

 
$
8,032

(1) As noted above, prior period amounts have not been adjusted under the modified retrospective method. 
(2) United States revenue was $5.09 billion and $3.53 billion for the three months ended March 31, 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):
 
March 31,
2018
 
December 31,
2017
Deferred revenue
$
64

 
$
68

Deposits
30

 
30

Total deferred revenue and deposits
$
94

 
$
98

v3.8.0.1
Earnings per Share (Tables)
3 Months Ended
Mar. 31, 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 March 31,
 
2018
 
2017
 
Class A
 
Class B
 
Class A
 
Class B
Basic EPS:
 
 
 
 
 
 
 
Numerator
 
 
 
 
 
 
 
Net income
$
4,123

 
$
865

 
$
2,497

 
$
567

Less: Net income attributable to participating securities
1

 
—

 
4

 
1

Net income attributable to common stockholders
$
4,122

 
$
865

 
$
2,493

 
$
566

Denominator
 
 
 
 
 
 
 
Weighted average shares outstanding
2,402

 
504

 
2,359

 
537

Less: Shares subject to repurchase
—

 
—

 
3

 
2

Number of shares used for basic EPS computation
2,402

 
504

 
2,356

 
535

Basic EPS
$
1.72

 
$
1.72

 
$
1.06

 
$
1.06

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

 
$
865

 
$
2,493

 
$
566

Reallocation of net income attributable to participating securities
1

 
—

 
5

 
—

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

 
—

 
566

 
—

Reallocation of net income to Class B common stock
—

 
(5
)
 
—

 
2

Net income attributable to common stockholders for diluted EPS
$
4,988

 
$
860

 
$
3,064

 
$
568

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

 
504

 
2,356

 
535

Conversion of Class B to Class A common stock
504

 
—

 
535

 
—

Weighted average effect of dilutive securities:
 
 
 
 
 
 
 
Employee stock options
3

 
3

 
5

 
5

RSUs
36

 
1

 
44

 
3

Shares subject to repurchase and other
—

 
—

 
4

 
2

Number of shares used for diluted EPS computation
2,945

 
508

 
2,944

 
545

Diluted EPS
$
1.69

 
$
1.69

 
$
1.04

 
$
1.04

v3.8.0.1
Cash and Cash Equivalents, and Marketable Securities (Tables)
3 Months Ended
Mar. 31, 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):
 
March 31, 2018
 
December 31, 2017
Cash and cash equivalents:
 
 
 
Cash
$
2,728

 
$
2,212

Money market funds
6,937

 
5,268

U.S. government securities
1,385

 
66

U.S. government agency securities
179

 
25

Certificate of deposits and time deposits
853

 
440

Corporate debt securities
—

 
68

Total cash and cash equivalents
12,082

 
8,079

Marketable securities:
 
 
 
U.S. government securities
13,088

 
12,766

U.S. government agency securities
9,855

 
10,944

Corporate debt securities
8,931

 
9,922

Total marketable securities
31,874

 
33,632

Total cash and cash equivalents, and marketable securities
$
43,956

 
$
41,711

Marketable Securities by Contractual Maturities
The following table classifies our marketable securities by contractual maturities (in millions):
 
March 31, 2018
Due in one year
$
7,748

Due in one to five years
24,126

Total
$
31,874

v3.8.0.1
Fair Value Measurement (Tables)
3 Months Ended
Mar. 31, 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)
v3.8.0.1
Property and Equipment (Tables)
3 Months Ended
Mar. 31, 2018
Property, Plant and Equipment [Abstract]  
Property and Equipment
Property and equipment consists of the following (in millions): 
 
March 31,
2018
 
December 31,
2017
Land
$
825

 
$
798

Buildings
4,957

 
4,909

Leasehold improvements
1,197

 
959

Network equipment
9,227

 
7,998

Computer software, office equipment and other
770

 
681

Construction in progress
4,316

 
2,992

Total
21,292

 
18,337

Less: Accumulated depreciation
(5,081
)
 
(4,616
)
Property and equipment, net
$
16,211

 
$
13,721

v3.8.0.1
Goodwill and Intangible Assets (Tables)
3 Months Ended
Mar. 31, 2018
Goodwill and Intangible Assets Disclosure [Abstract]  
Changes in Carrying Amount of Goodwill
The changes in the carrying amount of goodwill for the three months ended March 31, 2018 are as follows (in millions): 
Balance as of December 31, 2017
$
18,221

Goodwill acquired
47

Balance as of March 31, 2018
$
18,268

Schedule of Intangible Assets
Intangible assets consist of the following (in millions):
 
 
 
March 31, 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.5
 
$
2,056

 
$
(1,043
)
 
$
1,013

 
$
2,056

 
$
(971
)
 
$
1,085

Acquired technology
1.7
 
992

 
(759
)
 
233

 
972

 
(711
)
 
261

Acquired patents
5.6
 
785

 
(516
)
 
269

 
785

 
(499
)
 
286

Trade names
2.0
 
629

 
(433
)
 
196

 
629

 
(406
)
 
223

Other
2.5
 
162

 
(138
)
 
24

 
162

 
(133
)
 
29

Total intangible assets
3.4
 
$
4,624

 
$
(2,889
)
 
$
1,735

 
$
4,604

 
$
(2,720
)
 
$
1,884

Expected Amortization Expense for Unamortized Acquired Intangible Assets
As of March 31, 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
$
471

2019
546

2020
371

2021
266

2022
29

Thereafter
52

Total
$
1,735

v3.8.0.1
Commitments and Contingencies (Tables)
3 Months Ended
Mar. 31, 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 March 31, 2018 (in millions):
 
Operating Leases
 
Financing obligation, building in progress - leased facilities(1)
The remainder of 2018
$
351

 
$
—

2019
558

 
2

2020
645

 
14

2021
656

 
15

2022
642

 
15

Thereafter
4,717

 
149

Total minimum lease payments
$
7,569

 
$
195

(1)
We entered into agreements to lease office buildings that are under construction. As a result of our involvement during these construction periods, we are considered for accounting purposes to be the owner of the construction projects. Financing obligation, building in progress - leased facilities represent the total expected financing and lease obligations associated with these leases and will be settled through monthly lease payments to the landlords when we occupy the office spaces upon completion. This amount includes $98 million that is included in property and equipment, net and other liabilities on our condensed consolidated balance sheets as of March 31, 2018.
v3.8.0.1
Stockholders' Equity (Tables)
3 Months Ended
Mar. 31, 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 three months ended March 31, 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
(391
)
 
$
7.97

 
 
 
 
Balance as of March 31, 2018
2,687

 
$
10.36

 
2.2
 
$
402

Stock options exercisable as of March 31, 2018
2,609

 
$
10.22

 
2.2
 
$
390

(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 $159.79, as reported on the Nasdaq Global Select Market on March 31, 2018.
The following table summari
Restricted Stock Units Award Activity
The following table summarizes the activities for our unvested RSUs for the three months ended March 31, 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
24,814

 
$
169.29

Vested
(10,883
)
 
$
90.86

Forfeited
(1,203
)
 
$
120.31

Unvested at March 31, 2018
93,942

 
$
128.16


(1)
Unvested shares includes an inducement award issued in connection with the WhatsApp acquisition in 2014 which is subject to the terms, restrictions, and conditions of a separate non-plan RSU award agreement.
v3.8.0.1
Geographical Information (Tables)
3 Months Ended
Mar. 31, 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):
 
March 31,
2018
 
December 31,
2017
Property and equipment, net:
 
 
 
United States
$
12,200

 
$
10,406

Rest of the world (1)
4,011

 
3,315

Total property and equipment, net
$
16,211

 
$
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.8.0.1
Summary of Significant Accounting Policies - Disaggregated Revenue (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Disaggregation of Revenue [Line Items]    
Revenues $ 11,966 $ 8,032
US & Canada    
Disaggregation of Revenue [Line Items]    
Revenues 5,442 3,790
United States    
Disaggregation of Revenue [Line Items]    
Revenues 5,090 3,530
Europe    
Disaggregation of Revenue [Line Items]    
Revenues 3,027 1,968
Asia-Pacific    
Disaggregation of Revenue [Line Items]    
Revenues 2,475 1,576
Rest of the world    
Disaggregation of Revenue [Line Items]    
Revenues 1,022 698
Advertising    
Disaggregation of Revenue [Line Items]    
Revenues 11,795 7,857
Payments and other fees    
Disaggregation of Revenue [Line Items]    
Revenues $ 171 $ 175
v3.8.0.1
Summary of Significant Accounting Policies - Deferred Revenue and Deposits (Details) - USD ($)
$ in Millions
Mar. 31, 2018
Dec. 31, 2017
Accounting Policies [Abstract]    
Deferred revenue $ 64 $ 68
Deposits 30 30
Total deferred revenue and deposits $ 94 $ 98
v3.8.0.1
Summary of Significant Accounting Policies - Narrative (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Revenues $ 11,966 $ 8,032
Cost of revenue $ 1,927 $ 1,159
Percentage payable to developer 70.00%  
Difference between Revenue Guidance in Effect before and after Topic 606 | Accounting Standards Update 2014-09    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Revenues $ 130  
Cost of revenue $ 130  
v3.8.0.1
Earnings per Share - Basic and Diluted EPS (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Numerator    
Net income $ 4,988 $ 3,064
Less: Net income attributable to participating securities 1 5
Net income attributable to Class A and Class B common stockholders $ 4,987 $ 3,059
Denominator    
Number of shares used for basic EPS computation (in shares) 2,906 2,891
Basic EPS (in dollars per share) $ 1.72 $ 1.06
Numerator    
Net income attributable to common stockholders $ 4,987 $ 3,059
Denominator    
Number of shares used for basic EPS computation (in shares) 2,906 2,891
Weighted average effect of dilutive securities:    
Number of shares used for diluted EPS computation (in shares) 2,945 2,944
Diluted EPS (in dollars per share) $ 1.69 $ 1.04
Class A Common Stock    
Numerator    
Net income $ 4,123 $ 2,497
Less: Net income attributable to participating securities 1 4
Net income attributable to Class A and Class B common stockholders $ 4,122 $ 2,493
Denominator    
Weighted average shares outstanding (in shares) 2,402 2,359
Less: Shares subject to repurchase (in shares) 0 3
Number of shares used for basic EPS computation (in shares) 2,402 2,356
Basic EPS (in dollars per share) $ 1.72 $ 1.06
Numerator    
Net income attributable to common stockholders $ 4,122 $ 2,493
Reallocation of net income attributable to participating securities 1 5
Reallocation of net income as a result of conversion of Class B to Class A common stock 865 566
Reallocation of net income to Class B common stock 0 0
Net income attributable to common stockholders for diluted EPS $ 4,988 $ 3,064
Denominator    
Number of shares used for basic EPS computation (in shares) 2,402 2,356
Conversion of Class B to Class A common stock (in shares) 504 535
Weighted average effect of dilutive securities:    
Shares subject to repurchase (in shares) 0 4
Number of shares used for diluted EPS computation (in shares) 2,945 2,944
Diluted EPS (in dollars per share) $ 1.69 $ 1.04
Class A Common Stock | Employee Stock Options    
Weighted average effect of dilutive securities:    
Share based payment arrangements (in shares) 3 5
Class A Common Stock | Restricted Stock Units (RSUs)    
Weighted average effect of dilutive securities:    
Share based payment arrangements (in shares) 36 44
Class B Common Stock    
Numerator    
Net income $ 865 $ 567
Less: Net income attributable to participating securities 0 1
Net income attributable to Class A and Class B common stockholders $ 865 $ 566
Denominator    
Weighted average shares outstanding (in shares) 504 537
Less: Shares subject to repurchase (in shares) 0 2
Number of shares used for basic EPS computation (in shares) 504 535
Basic EPS (in dollars per share) $ 1.72 $ 1.06
Numerator    
Net income attributable to common stockholders $ 865 $ 566
Reallocation of net income attributable to participating securities 0 0
Reallocation of net income as a result of conversion of Class B to Class A common stock 0 0
Reallocation of net income to Class B common stock (5) 2
Net income attributable to common stockholders for diluted EPS $ 860 $ 568
Denominator    
Number of shares used for basic EPS computation (in shares) 504 535
Conversion of Class B to Class A common stock (in shares) 0 0
Weighted average effect of dilutive securities:    
Shares subject to repurchase (in shares) 0 2
Number of shares used for diluted EPS computation (in shares) 508 545
Diluted EPS (in dollars per share) $ 1.69 $ 1.04
Class B Common Stock | Employee Stock Options    
Weighted average effect of dilutive securities:    
Share based payment arrangements (in shares) 3 5
Class B Common Stock | Restricted Stock Units (RSUs)    
Weighted average effect of dilutive securities:    
Share based payment arrangements (in shares) 1 3
v3.8.0.1
Cash and Cash Equivalents, and Marketable Securities - Breakout of Cash, Cash Equivalents and Marketable Securities (Details) - USD ($)
$ in Millions
Mar. 31, 2018
Dec. 31, 2017
Mar. 31, 2017
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents $ 12,082 $ 8,079 $ 7,104
Marketable securities 31,874 33,632  
Total cash and cash equivalents, and marketable securities 43,956 41,711  
U.S. government securities      
Cash and Cash Equivalents, and Marketable Securities      
Marketable securities 13,088 12,766  
U.S. government agency securities      
Cash and Cash Equivalents, and Marketable Securities      
Marketable securities 9,855 10,944  
Corporate debt securities      
Cash and Cash Equivalents, and Marketable Securities      
Marketable securities 8,931 9,922  
Cash      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents 2,728 2,212  
Money market funds      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents 6,937 5,268  
U.S. government securities      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents 1,385 66  
U.S. government agency securities      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents 179 25  
Certificate of deposits and time deposits      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents 853 440  
Corporate debt securities      
Cash and Cash Equivalents, and Marketable Securities      
Cash and cash equivalents $ 0 $ 68  
v3.8.0.1
Cash and Cash Equivalents, and Marketable Securities - Contractual Maturities of Marketable Debt Securities (Details) - USD ($)
$ in Millions
Mar. 31, 2018
Dec. 31, 2017
Contractual Maturities of Marketable Securities    
Due in one year $ 7,748  
Due in one to five years 24,126  
Total marketable securities $ 31,874 $ 33,632
v3.8.0.1
Fair Value Measurement - Assets Measured at Fair Value (Details) - USD ($)
$ in Millions
Mar. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis      
Marketable securities $ 31,874 $ 33,632  
U.S. government securities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis      
Marketable securities 13,088 12,766  
U.S. government agency securities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis      
Marketable securities 9,855 10,944  
Corporate debt securities      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis      
Marketable securities 8,931 9,922  
Fair Value, Measurements, Recurring      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis      
Total cash equivalents and marketable securities 41,228 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 31,444 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,784 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 13,088 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 13,088 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 9,855 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 9,855 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,931 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,931 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 6,937 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 6,937 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 1,385 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 1,385 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 179 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 179 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 853 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 853 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.8.0.1
- Property and Equipment (Details) - USD ($)
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Dec. 31, 2017
Property, Plant and Equipment      
Property and equipment, gross $ 21,292,000,000   $ 18,337,000,000
Less: Accumulated depreciation (5,081,000,000)   (4,616,000,000)
Property and equipment, net 16,211,000,000   13,721,000,000
Interest costs capitalized 0 $ 0  
Land      
Property, Plant and Equipment      
Property and equipment, gross 825,000,000   798,000,000
Buildings      
Property, Plant and Equipment      
Property and equipment, gross 4,957,000,000   4,909,000,000
Leasehold improvements      
Property, Plant and Equipment      
Property and equipment, gross 1,197,000,000   959,000,000
Network equipment      
Property, Plant and Equipment      
Property and equipment, gross 9,227,000,000   7,998,000,000
Computer software, office equipment and other      
Property, Plant and Equipment      
Property and equipment, gross 770,000,000   681,000,000
Construction in progress      
Property, Plant and Equipment      
Property and equipment, gross $ 4,316,000,000   $ 2,992,000,000
v3.8.0.1
Goodwill and Intangible Assets - Change in Carrying Amount (Details)
$ in Millions
3 Months Ended
Mar. 31, 2018
USD ($)
Goodwill  
Goodwill beginning $ 18,221
Goodwill acquired 47
Goodwill ending $ 18,268
v3.8.0.1
Goodwill and Intangible Assets - Intangible Assets (Detail) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Dec. 31, 2017
Finite-Lived Intangible Assets [Line Items]      
Weighted Average Remaining Useful Life (in years) 3 years 5 months    
Gross Carrying Amount $ 4,624   $ 4,604
Accumulated Amortization (2,889)   (2,720)
Net Carrying Amount 1,735   1,884
Amortization expense $ 169 $ 175  
Acquired users      
Finite-Lived Intangible Assets [Line Items]      
Weighted Average Remaining Useful Life (in years) 3 years 6 months    
Gross Carrying Amount $ 2,056   2,056
Accumulated Amortization (1,043)   (971)
Net Carrying Amount $ 1,013   1,085
Acquired technology      
Finite-Lived Intangible Assets [Line Items]      
Weighted Average Remaining Useful Life (in years) 1 year 8 months    
Gross Carrying Amount $ 992   972
Accumulated Amortization (759)   (711)
Net Carrying Amount $ 233   261
Acquired patents      
Finite-Lived Intangible Assets [Line Items]      
Weighted Average Remaining Useful Life (in years) 5 years 7 months    
Gross Carrying Amount $ 785   785
Accumulated Amortization (516)   (499)
Net Carrying Amount $ 269   286
Trade names      
Finite-Lived Intangible Assets [Line Items]      
Weighted Average Remaining Useful Life (in years) 2 years    
Gross Carrying Amount $ 629   629
Accumulated Amortization (433)   (406)
Net Carrying Amount $ 196   223
Other      
Finite-Lived Intangible Assets [Line Items]      
Weighted Average Remaining Useful Life (in years) 2 years 6 months    
Gross Carrying Amount $ 162   162
Accumulated Amortization (138)   (133)
Net Carrying Amount $ 24   $ 29
v3.8.0.1
Goodwill and Intangible Assets - Estimated Amortization Expense (Details) - USD ($)
$ in Millions
Mar. 31, 2018
Dec. 31, 2017
Finite-Lived Intangible Assets, Amortization Expense, Maturity Schedule [Abstract]    
The remainder of 2018 $ 471  
2019 546  
2020 371  
2021 266  
2022 29  
Thereafter 52  
Net Carrying Amount $ 1,735 $ 1,884
v3.8.0.1
Long-term Debt - Narrative (Details) - Revolving Credit Facility - 2016 Facility - USD ($)
Mar. 31, 2018
May 31, 2016
Debt Instrument    
Maximum borrowing capacity   $ 2,000,000,000.0
Amount outstanding $ 0  
v3.8.0.1
Commitments and Contingencies - Narrative (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Commitments and Contingencies Disclosure [Abstract]    
Operating lease expense $ 129 $ 74
Non-cancelable contractual commitment $ 3,490  
Commitment period 1 year  
v3.8.0.1
Commitments and Contingencies - Future Minimum Lease Payments (Details)
$ in Millions
Mar. 31, 2018
USD ($)
Operating Leases  
The remainder of 2018 $ 351
2019 558
2020 645
2021 656
2022 642
Thereafter 4,717
Total minimum lease payments 7,569
Financing Obligation, Future Minimum Payment Due, Fiscal Year Maturity [Abstract]  
The remainder of 2018 0
2019 2
2020 14
2021 15
2022 15
Thereafter 149
Total minimum lease payments 195
Financing obligation, building in progress $ 98
v3.8.0.1
Stockholders' Equity - Share Repurchase Program (Details) - USD ($)
shares in Millions
3 Months Ended
Mar. 31, 2018
Apr. 30, 2018
Nov. 30, 2016
Share-based Compensation Arrangement by Share-based Payment Award      
Shares repurchased and retired (in shares) 11    
Shares repurchased and retired $ 1,910,000,000    
Remaining authorized repurchase amount $ 2,000,000,000    
Class A Common Stock      
Share-based Compensation Arrangement by Share-based Payment Award      
Share repurchase program, authorized amount     $ 6,000,000,000
Subsequent Event      
Share-based Compensation Arrangement by Share-based Payment Award      
Additional authorized repurchase amount   $ 9,000,000,000  
v3.8.0.1
Stockholders' Equity - Share-based Compensation Plans (Detail)
3 Months Ended
Mar. 31, 2018
plan
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.8.0.1
Stockholders' Equity - Stock Option Activity (Details)
$ / shares in Units, shares in Thousands, $ in Millions
3 Months Ended
Mar. 31, 2018
USD ($)
$ / shares
shares
Class A Common Stock  
Aggregate Intrinsic Value  
Common stock, closing share price (in usd per share) $ 159.79
Employee Stock Options  
Number of Shares  
Beginning balance (in shares) | shares 3,078
Stock options exercised (in shares) | shares (391)
Ending balance (in shares) | shares 2,687
Stock options exercisable as of period end (in shares) | shares 2,609
Weighted Average Exercise Price  
Beginning balance (in dollars per share) $ 10.06
Stock options exercised (in dollars per share) 7.97
Ending balance (in dollars per share) 10.36
Stock options exercisable as of period end (in dollars per share) $ 10.22
Weighted Average Remaining Contractual Term  
Balance at period end 2 years 2 months
Stock options exercisable as of period end 2 years 2 months
Aggregate Intrinsic Value  
Balance at period end | $ $ 402
Stock options exercisable as of period end | $ $ 390
v3.8.0.1
Stockholders' Equity - Restricted Stock Units (Details) - Restricted Stock Units (RSUs) - USD ($)
$ / shares in Units, shares in Thousands, $ in Millions
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Number of Shares    
Unvested at beginning of period (in shares) 81,214  
Granted (in shares) 24,814  
Vested (in shares) (10,883)  
Forfeited (in shares) (1,203)  
Unvested at end of period (in shares) 93,942  
Weighted Average Grant Date Fair Value    
Unvested at beginning of period (in dollars per share) $ 110.49  
Granted (in dollars per share) 169.29  
Vested (in dollars per share) 90.86  
Forfeited (in dollars per share) 120.31  
Unvested at end of period (in dollars per share) $ 128.16  
Fair value of vested RSUs $ 1,950 $ 1,700
v3.8.0.1
Stockholders' Equity - Additional Award Disclosures (Details)
shares in Millions, $ in Millions
3 Months Ended
Mar. 31, 2018
USD ($)
shares
Share-based Compensation Arrangement by Share-based Payment Award  
Unrecognized share-based compensation expense | $ $ 10,820
Unrecognized share-based compensation expense recognition period (in years) 3 years
RSU inducement award, acquisition  
Share-based Compensation Arrangement by Share-based Payment Award  
Unvested awards (in shares) | shares 7.0
v3.8.0.1
Income Taxes - Income Tax (Details) - USD ($)
$ in Millions
1 Months Ended 3 Months Ended
Jul. 31, 2016
Mar. 31, 2018
Dec. 31, 2017
Income Tax Contingency [Line Items]      
Unrecognized tax benefits   $ 3,870 $ 3,870
Unrecognized tax benefits that would result in tax benefit if realized   2,530  
Accrued interest and penalties   205 $ 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.8.0.1
Geographical Information - Revenue (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Revenue by Geographical Area    
Revenues $ 11,966 $ 8,032
v3.8.0.1
Geographical Information - Property and Equipment, Net (Details) - USD ($)
$ in Millions
Mar. 31, 2018
Dec. 31, 2017
Long-Lived Assets By Geographical Area    
Total property and equipment, net $ 16,211 $ 13,721
United States    
Long-Lived Assets By Geographical Area    
Total property and equipment, net 12,200 10,406
Rest of the world    
Long-Lived Assets By Geographical Area    
Total property and equipment, net $ 4,011 $ 3,315
v3.8.0.1
Label Element Value
Other Assets [Member]  
Restricted Cash and Cash Equivalents us-gaap_RestrictedCashAndCashEquivalents $ 94,000,000
Restricted Cash and Cash Equivalents us-gaap_RestrictedCashAndCashEquivalents 114,000,000
Prepaid Expenses and Other Current Assets [Member]  
Restricted Cash and Cash Equivalents us-gaap_RestrictedCashAndCashEquivalents 85,000,000
Restricted Cash and Cash Equivalents us-gaap_RestrictedCashAndCashEquivalents $ 14,000,000