Financial Instruments | Financial Instruments Fair Value Measurements Investments Measured at Fair Value on a Recurring Basis Cash, cash equivalents, and marketable equity securities are measured at fair value and classified within Level 1 and Level 2 in the fair value hierarchy, because we use quoted prices for identical assets in active markets or inputs that are based upon quoted prices for similar instruments in active markets. Debt securities are measured at fair value and classified within Level 2 in the fair value hierarchy, because we use quoted market prices to the extent available or alternative pricing sources and models utilizing market observable inputs to determine fair value. For certain marketable debt securities, we have elected the fair value option for which changes in fair value are recorded in OI&E. The fair value option was elected for these securities to align with the unrealized gains and losses from related derivative contracts. The following tables summarize our cash, cash equivalents, and marketable securities measured at fair value on a recurring basis (in millions): As of December 31, 2023 Fair Value Hierarchy Adjusted Cost Gross Unrealized Gains Gross Unrealized Losses Fair Value Cash and Cash Equivalents Marketable Securities Fair value changes recorded in other comprehensive income Time deposits Level 2 $ 2,628 $ 0 $ 0 $ 2,628 $ 2,628 $ 0 Government bonds Level 2 38,106 233 (679) 37,660 1,993 35,667 Corporate debt securities Level 2 22,457 112 (637) 21,932 0 21,932 Mortgage-backed and asset-backed securities Level 2 17,243 88 (634) 16,697 0 16,697 Total investments with fair value change reflected in other comprehensive income (1) $ 80,434 $ 433 $ (1,950) $ 78,917 $ 4,621 $ 74,296 Fair value adjustments recorded in net income Money market funds Level 1 $ 6,480 $ 6,480 $ 0 Current marketable equity securities (2) Level 1 4,282 0 4,282 Mutual funds Level 2 311 0 311 Government bonds Level 2 1,952 347 1,605 Corporate debt securities Level 2 3,782 91 3,691 Mortgage-backed and asset-backed securities Level 2 2,683 0 2,683 Total investments with fair value change recorded in net income $ 19,490 $ 6,918 $ 12,572 Cash 0 12,509 0 Total $ 80,434 $ 433 $ (1,950) $ 98,407 $ 24,048 $ 86,868 (1) Represents gross unrealized gains and losses for debt securities recorded to accumulated other comprehensive income (AOCI). (2) The long-term portion of marketable equity securities (subject to long-term lock-up restrictions) of $1.4 billion as of December 31, 2023 is included within other non-current assets. As of June 30, 2024 Fair Value Hierarchy Adjusted Cost Gross Unrealized Gains Gross Unrealized Losses Fair Value Cash and Cash Equivalents Marketable Securities Fair value changes recorded in other comprehensive income Time deposits Level 2 $ 2,784 $ 0 $ 0 $ 2,784 $ 2,784 $ 0 Government bonds Level 2 33,002 60 (447) 32,615 5,268 27,347 Corporate debt securities Level 2 18,856 40 (437) 18,459 0 18,459 Mortgage-backed and asset-backed securities Level 2 14,806 30 (578) 14,258 0 14,258 Total investments with fair value change reflected in other comprehensive income (1) $ 69,448 $ 130 $ (1,462) $ 68,116 $ 8,052 $ 60,064 Fair value adjustments recorded in net income Money market funds Level 1 $ 7,061 $ 7,061 $ 0 Current marketable equity securities (2) Level 1 4,683 0 4,683 Mutual funds Level 2 276 0 276 Government bonds Level 2 2,162 152 2,010 Corporate debt securities Level 2 3,694 89 3,605 Mortgage-backed and asset-backed securities Level 2 2,862 0 2,862 Total investments with fair value change recorded in net income $ 20,738 $ 7,302 $ 13,436 Cash 0 11,871 0 Total $ 69,448 $ 130 $ (1,462) $ 88,854 $ 27,225 $ 73,500 (1) Represents gross unrealized gains and losses for debt securities recorded to AOCI. (2) The long-term portion of marketable equity securities (subject to long-term lock-up restrictions) of $276 million as of June 30, 2024 is included within other non-current assets. Investments Measured at Fair Value on a Nonrecurring Basis Our non-marketable equity securities are investments in privately held companies without readily determinable market values. The carrying value of our non-marketable equity securities is adjusted to fair value upon observable transactions for identical or similar investments of the same issuer or impairment. Non-marketable equity securities that have been remeasured during the period based on observable transactions are classified within Level 2 or Level 3 in the fair value hierarchy. Non-marketable equity securities that have been remeasured due to impairment are classified within Level 3. Our valuation methods include option pricing models, market comparable approach, and common stock equivalent method, which may include a combination of the observable transaction price at the transaction date and other unobservable inputs including volatility, expected time to exit, risk free rate, and the rights, and obligations of the securities we hold. These inputs significantly vary based on investment type. As of June 30, 2024, the carrying value of our non-marketable equity securities was $31.6 billion, of which $2.2 billion were remeasured at fair value during the three months ended June 30, 2024 and classified within Level 2 and Level 3 of the fair value hierarchy at the time of measurement. Debt Securities The following table summarizes the estimated fair value of investments in available-for-sale marketable debt securities by effective contractual maturity dates (in millions): As of Due in 1 year or less $ 7,234 Due in 1 year through 5 years 36,666 Due in 5 years through 10 years 11,977 Due after 10 years 12,664 Total $ 68,541 The following tables present fair values and gross unrealized losses recorded to AOCI, aggregated by investment category and the length of time that individual securities have been in a continuous loss position (in millions): As of December 31, 2023 Less than 12 Months 12 Months or Greater Total Fair Value Unrealized Fair Value Unrealized Fair Value Unrealized Government bonds $ 1,456 $ (22) $ 13,897 $ (657) $ 15,353 $ (679) Corporate debt securities 827 (5) 15,367 (592) 16,194 (597) Mortgage-backed and asset-backed securities 2,945 (26) 7,916 (608) 10,861 (634) Total $ 5,228 $ (53) $ 37,180 $ (1,857) $ 42,408 $ (1,910) As of June 30, 2024 Less than 12 Months 12 Months or Greater Total Fair Value Unrealized Fair Value Unrealized Fair Value Unrealized Government bonds $ 13,602 $ (99) $ 6,385 $ (348) $ 19,987 $ (447) Corporate debt securities 3,456 (8) 10,636 (394) 14,092 (402) Mortgage-backed and asset-backed securities 4,534 (43) 6,887 (535) 11,421 (578) Total $ 21,592 $ (150) $ 23,908 $ (1,277) $ 45,500 $ (1,427) We determine realized gains or losses on the sale or extinguishment of debt securities on a specific identification method. The following table summarizes gains and losses for debt securities, reflected as a component of OI&E (in millions): Three Months Ended Six Months Ended June 30, June 30, 2023 2024 2023 2024 Unrealized gain (loss) on fair value option debt securities $ (24) $ (23) $ 121 $ (69) Gross realized gain on debt securities 28 161 85 229 Gross realized loss on debt securities (303) (455) (795) (935) (Increase) decrease in allowance for credit losses (5) 7 (8) 3 Total gain (loss) on debt securities recognized in other income (expense), net $ (304) $ (310) $ (597) $ (772) Equity Investments The carrying value of equity securities is measured as the total initial cost plus the cumulative net gain (loss). Gains and losses, including impairments, are included as a component of OI&E in the Consolidated Statements of Income. See Note 6 for further details on OI&E. The carrying values for marketable and non-marketable equity securities are summarized below (in millions): As of December 31, 2023 As of June 30, 2024 Marketable Equity Securities Non-Marketable Equity Securities Total Marketable Equity Securities Non-Marketable Equity Securities Total Total initial cost $ 5,418 $ 17,616 $ 23,034 $ 5,107 $ 19,219 $ 24,326 Cumulative net gain (loss) (1) 555 11,150 11,705 128 12,370 12,498 Carrying value $ 5,973 $ 28,766 $ 34,739 $ 5,235 $ 31,589 $ 36,824 (1) Non-marketable equity securities cumulative net gain (loss) is comprised of $18.1 billion gains and $6.9 billion losses (including impairments) as of December 31, 2023 and $20.6 billion gains and $8.2 billion losses (including impairments) as of June 30, 2024. Gains and Losses on Marketable and Non-marketable Equity Securities Gains and losses (including impairments), net, for marketable and non-marketable equity securities included in OI&E are summarized below (in millions): Three Months Ended Six Months Ended June 30, June 30, 2023 2024 2023 2024 Realized net gain (loss) on equity securities sold during the period $ 87 $ 64 $ 292 $ 184 Unrealized net gain (loss) on marketable equity securities 397 (350) 349 (214) Unrealized net gain (loss) on non-marketable equity securities (1) (689) (428) (469) 1,559 Total gain (loss) on equity securities in other income (expense), net $ (205) $ (714) $ 172 $ 1,529 (1) Unrealized gain (loss) on non-marketable equity securities accounted for under the measurement alternative is comprised of $75 million and $319 million of upward adjustments and $789 million and $745 million of downward adjustments (including impairments) for the three months ended June 30, 2023 and 2024 , respectively, and $989 million and $3.1 billion of upward adjustments and $1.5 billion and $1.6 billion of downward adjustments (including impairments) for the six months ended June 30, 2023 and 2024 , respectively. In the table above, realized net gain (loss) on equity securities sold during the period reflects the difference between the sale proceeds and the carrying value of the equity securities at the beginning of the period or the purchase date, if later. Cumulative net gains (losses) on equity securities sold during the period, which is summarized in the following table (in millions), represents the total net gains (losses) recognized after the initial purchase date of the equity security sold during the period. While these net gains (losses) may have been reflected in periods prior to the period of sale, we believe they are important supplemental information as they reflect the economic net gains (losses) on the securities sold during the period. Cumulative net gains (losses) are calculated as the difference between the sale price and the initial purchase price for the equity security sold during the period. Equity Securities Sold Three Months Ended Six Months Ended June 30, June 30, 2023 2024 2023 2024 Total sale price $ 427 $ 583 $ 739 $ 1,673 Total initial cost 156 303 367 964 Cumulative net gains (losses) $ 271 $ 280 $ 372 $ 709 Equity Securities Accounted for Under the Equity Method As of December 31, 2023 and June 30, 2024, equity securities accounted for under the equity method had a carrying value of approximately $1.7 billion and $2.1 billion, respectively. Our share of gains and losses, including impairments, are included as a component of OI&E, in the Consolidated Statements of Income. See Note 6 for further details on OI&E. Derivative Financial Instruments We use derivative instruments to manage risks relating to our ongoing business operations. The primary risk managed is foreign exchange risk. We use foreign currency contracts to reduce the risk that our cash flows, earnings, and investment in foreign subsidiaries will be adversely affected by foreign currency exchange rate fluctuations. We also enter into derivative instruments to partially offset our exposure to other risks and enhance investment returns. We recognize derivative instruments in the Consolidated Balance Sheets at fair value and classify the derivatives primarily within Level 2 in the fair value hierarchy. We present our collar contracts (an option strategy comprised of a combination of purchased and written options) at net fair values and present all other derivatives at gross fair values. The accounting treatment for derivatives is based on the intended use and hedge designation. Cash Flow Hedges We designate foreign currency forward and option contracts (including collars) as cash flow hedges to hedge certain forecasted revenue transactions denominated in currencies other than the United States (U.S.) dollar. These contracts have maturities of 24 months or les s. Cash flow hedge amounts included in the assessment of hedge effectiveness are deferred in AOCI and subsequently reclassified to revenue when the hedged item is recognized in earnings. We exclude forward points and time value from our assessment of hedge effectiveness and amortize them on a straight-line basis over the life of the hedging instrument in revenues. The difference between fair value changes of the excluded component and the amount amortized to revenues is recorded in AOCI. As of June 30, 2024, the net accumulated gain on our foreign currency cash flow hedges before tax effect was $300 million , which is expected to be reclassified from AOCI into revenues within the next 12 months. Fair Value Hedges We designate foreign currency forward contracts as fair value hedges to hedge foreign currency risks for our marketable securities denominated in currencies other than the U.S. dollar. Fair value hedge amounts included in the assessment of hedge effectiveness are recognized in OI&E, along with the offsetting gains and losses of the related hedged items. We exclude forward points from the assessment of hedge effectiveness and recognize changes in the excluded component in OI&E. Net Investment Hedges We designate foreign currency forward contracts as net investment hedges to hedge the foreign currency risks related to our investment in foreign subsidiaries. Net investment hedge amounts included in the assessment of hedge effectiveness are recognized in AOCI along with the foreign currency translation adjustment. We exclude forward points from the assessment of hedge effectiveness and recognize changes in the excluded component in OI&E. Other Derivatives We enter into foreign currency forward and option contracts that are not designated as hedging instruments to hedge intercompany transactions and other monetary assets or liabilities denominated in currencies other than the functional currency of a subsidiary. Gains and losses on these derivatives that are not designated as accounting hedges are primarily recorded in OI&E along with the foreign currency gains and losses on monetary assets and liabilities. We also use derivatives not designated as hedging instruments to manage risks relating to interest rates, commodity prices, and credit exposures, and to enhance investment returns. From time to time, we enter into derivatives to hedge the market price risk on certain of our marketable equity securities. Gains and losses arising from other derivatives are primarily reflected within the “other” component of OI&E. See Note 6 for further details. The gross notional amounts of outstanding derivative instruments were as follows (in millions): As of December 31, 2023 As of June 30, 2024 Derivatives designated as hedging instruments: Foreign exchange contracts Cash flow hedges $ 18,039 $ 18,803 Fair value hedges $ 2,065 $ 1,649 Net investment hedges $ 9,472 $ 9,355 Derivatives not designated as hedging instruments: Foreign exchange contracts $ 39,722 $ 42,006 Other contracts $ 10,818 $ 11,542 The fair values of outstanding derivative instruments were as follows (in millions): As of December 31, 2023 As of June 30, 2024 Assets (1) Liabilities (2) Assets (1) Liabilities (2) Derivatives designated as hedging instruments: Foreign exchange contracts $ 205 $ 242 $ 365 $ 22 Derivatives not designated as hedging instruments: Foreign exchange contracts 134 156 26 171 Other contracts 114 47 172 26 Total derivatives not designated as hedging instruments 248 203 198 197 Total $ 453 $ 445 $ 563 $ 219 (1) Derivative assets are recorded as other current and non-current assets in the Consolidated Balance Sheets. (2) Derivative liabilities are recorded as accrued expenses and other liabilities, current and non-current in the Consolidated Balance Sheets. The gains (losses) on derivatives in cash flow hedging and net investment hedging relationships recognized in other comprehensiv e income (OCI) are summarized below (in millions): Three Months Ended Six Months Ended June 30, June 30, 2023 2024 2023 2024 Derivatives in cash flow hedging relationship: Foreign exchange contracts Amount included in the assessment of effectiveness $ 77 $ 277 $ (61) $ 432 Amount excluded from the assessment of effectiveness 80 (7) 127 51 Derivatives in net investment hedging relationship: Foreign exchange contracts Amount included in the assessment of effectiveness (59) 120 (274) 202 Total $ 98 $ 390 $ (208) $ 685 The table below presents the gains (losses) of our derivatives on the Consolidated Statements of Income: (in millions): Gains (Losses) Recognized in Income Three Months Ended June 30, 2023 2024 Revenues Other income (expense), net Revenues Other income (expense), net Total amounts in the Consolidated Statements of Income $ 74,604 $ 65 $ 84,742 $ 126 Effect of cash flow hedges: Foreign exchange contracts Amount reclassified from AOCI to income $ (2) $ 0 $ 106 $ 0 Amount excluded from the assessment of effectiveness (amortized) 6 0 (4) 0 Effect of fair value hedges: Foreign exchange contracts Hedged items 0 22 0 (9) Derivatives designated as hedging instruments 0 (22) 0 9 Amount excluded from the assessment of effectiveness 0 5 0 3 Effect of net investment hedges: Foreign exchange contracts Amount excluded from the assessment of effectiveness 0 72 0 31 Effect of non designated hedges: Foreign exchange contracts 0 124 0 (22) Other contracts 0 (4) 0 26 Total gains (losses) $ 4 $ 197 $ 102 $ 38 Gains (Losses) Recognized in Income Six Months Ended June 30, 2023 2024 Revenues Other income (expense), net Revenues Other income (expense), net Total amounts in the Consolidated Statements of Income $ 144,391 $ 855 $ 165,281 $ 2,969 Effect of cash flow hedges: Foreign exchange contracts Amount of gains (losses) reclassified from AOCI to income $ 86 $ 0 $ 180 $ 0 Amount excluded from the assessment of effectiveness (amortized) 2 0 (6) 0 Effect of fair value hedges: Foreign exchange contracts Hedged items 0 54 0 (25) Derivatives designated as hedging instruments 0 (54) 0 24 Amount excluded from the assessment of effectiveness 0 10 0 6 Effect of net investment hedges: Foreign exchange contracts Amount excluded from the assessment of effectiveness 0 123 0 67 Effect of non designated hedges: Foreign exchange contracts 0 154 0 (1) Other contracts 0 (1) 0 102 Total gains (losses) $ 88 $ 286 $ 174 $ 173 Offsetting of Derivatives We enter into master netting arrangements and collateral security arrangements to reduce credit risk. Cash collateral received related to derivative instruments under our collateral security arrangements are included in other current assets liability The gross amounts of derivative instruments subject to master netting arrangements with various counterparties, and cash and non-cash collateral received and pledged under such agreements were as follows (in millions): As of December 31, 2023 Gross Amounts Not Offset in the Consolidated Balance Sheets, but Have Legal Rights to Offset Gross Amounts Recognized Gross Amounts Offset in the Consolidated Balance Sheets Net Amounts Presented in the Consolidated Balance Sheets Financial Instruments (1) Cash and Non-Cash Collateral Received or Pledged Net Amounts Derivatives assets $ 535 $ (82) $ 453 $ (213) $ (75) $ 165 Derivatives liabilities $ 527 $ (82) $ 445 $ (213) $ (16) $ 216 As of June 30, 2024 Gross Amounts Not Offset in the Consolidated Balance Sheets, but Have Legal Rights to Offset Gross Amounts Recognized Gross Amounts Offset in the Consolidated Balance Sheets Net Amounts Presented in the Consolidated Balance Sheets Financial Instruments (1) Cash and Non-Cash Collateral Received or Pledged Net Amounts Derivatives assets $ 648 $ (85) $ 563 $ (103) $ (268) $ 192 Derivatives liabilities $ 304 $ (85) $ 219 $ (103) $ (5) $ 111 (1) The balances as of December 31, 2023 and June 30, 2024 were related to derivatives allowed to be net settled in accordance with our master netting agreements. |