XML 22 R9.htm IDEA: XBRL DOCUMENT v3.20.4
Description of Business, Accounting Policies, and Supplemental Disclosures
12 Months Ended
Dec. 31, 2020
Accounting Policies [Abstract]  
Description of Business, Accounting Policies, and Supplemental Disclosures DESCRIPTION OF BUSINESS, ACCOUNTING POLICIES, AND SUPPLEMENTAL DISCLOSURES
Description of Business
We seek to be Earth’s most customer-centric company. In each of our segments, we serve our primary customer sets, consisting of consumers, sellers, developers, enterprises, and content creators. We serve consumers through our online and physical stores and focus on selection, price, and convenience. We offer programs that enable sellers to grow their businesses, sell their products in our stores, and fulfill orders through us, and programs that allow authors, musicians, filmmakers, skill and app developers, and others to publish and sell content. We serve developers and enterprises of all sizes through AWS, which offers a broad set of on-demand technology services, including compute, storage, database, analytics, and machine learning, and other services. We also manufacture and sell electronic devices. In addition, we provide services, such as advertising to sellers, vendors, publishers, authors, and others, through programs such as sponsored ads, display, and video advertising.
We have organized our operations into three segments: North America, International, and AWS. See “Note 10 — Segment Information.”
Prior Period Reclassifications
Certain prior period amounts have been reclassified to conform to the current period presentation. “Proceeds from short-term debt, and other” were reclassified from “Proceeds from long-term debt and other” and “Repayments of short-term debt, and other” were reclassified from “Repayments of long-term debt and other” on our consolidated statements of cash flows.
Principles of Consolidation
The consolidated financial statements include the accounts of Amazon.com, Inc. and its consolidated entities (collectively, the “Company”), consisting of its wholly-owned subsidiaries and those entities in which we have a variable interest and of which we are the primary beneficiary, including certain entities in India and certain entities that support our seller lending financing activities. Intercompany balances and transactions between consolidated entities are eliminated.
Use of Estimates
The preparation of financial statements in conformity with GAAP requires estimates and assumptions that affect the reported amounts of assets and liabilities, revenues and expenses, and related disclosures of contingent liabilities in the consolidated financial statements and accompanying notes. Estimates are used for, but not limited to, income taxes, useful lives of equipment, commitments and contingencies, valuation of acquired intangibles and goodwill, stock-based compensation forfeiture rates, vendor funding, inventory valuation, collectability of receivables, and valuation and impairment of investments. Given the global economic climate and additional or unforeseen effects from the COVID-19 pandemic, these estimates have become more challenging, and actual results could differ materially from these estimates.
We review the useful lives of equipment on an ongoing basis, and effective January 1, 2020 we changed our estimate of the useful life for our servers from three years to four years. The longer useful life is due to continuous improvements in our hardware, software, and data center designs. The effect of this change in estimate for the year ended December 31, 2020, based on servers that were included in “Property and equipment, net” as of December 31, 2019 and those acquired during the year ended December 31, 2020, was a reduction in depreciation and amortization expense of $2.7 billion and an increase in net income of $2.0 billion, or $4.06 per basic share and $3.98 per diluted share.
Supplemental Cash Flow Information
The following table shows supplemental cash flow information (in millions):
Year Ended December 31,
201820192020
SUPPLEMENTAL CASH FLOW INFORMATION:
Cash paid for interest on debt$854 $875 $916 
Cash paid for operating leases$— $3,361 $4,475 
Cash paid for interest on finance leases$381 $647 $612 
Cash paid for interest on financing obligations$194 $39 $102 
Cash paid for income taxes, net of refunds$1,184 $881 $1,713 
Assets acquired under operating leases$— $7,870 $16,217 
Property and equipment acquired under finance leases$10,615 $13,723 $11,588 
Property and equipment acquired under build-to-suit arrangements$3,641 $1,362 $2,267 

Earnings per Share
Basic earnings per share is calculated using our weighted-average outstanding common shares. Diluted earnings per share is calculated using our weighted-average outstanding common shares including the dilutive effect of stock awards as determined under the treasury stock method. In periods when we have a net loss, stock awards are excluded from our calculation of earnings per share as their inclusion would have an antidilutive effect.
The following table shows the calculation of diluted shares (in millions):
  
Year Ended December 31,
 201820192020
Shares used in computation of basic earnings per share487 494 500 
Total dilutive effect of outstanding stock awards13 10 10 
Shares used in computation of diluted earnings per share500 504 510 
Revenue
Revenue is measured based on the amount of consideration that we expect to receive, reduced by estimates for return allowances, promotional discounts, and rebates. Revenue also excludes any amounts collected on behalf of third parties, including sales and indirect taxes. In arrangements where we have multiple performance obligations, the transaction price is allocated to each performance obligation using the relative stand-alone selling price. We generally determine stand-alone selling prices based on the prices charged to customers or using expected cost plus a margin.
A description of our principal revenue generating activities is as follows:
Retail sales - We offer consumer products through our online and physical stores. Revenue is recognized when control of the goods is transferred to the customer, which generally occurs upon our delivery to a third-party carrier or, in the case of an Amazon delivery, to the customer.
Third-party seller services - We offer programs that enable sellers to sell their products in our stores, and fulfill orders through us. We are not the seller of record in these transactions. The commissions and any related fulfillment and shipping fees we earn from these arrangements are recognized when the services are rendered, which generally occurs upon delivery of the related products to a third-party carrier or, in the case of an Amazon delivery, to the customer.
Subscription services - Our subscription sales include fees associated with Amazon Prime memberships and access to content including digital video, audiobooks, digital music, e-books, and other non-AWS subscription services. Prime memberships provide our customers with access to an evolving suite of benefits that represent a single stand-ready obligation. Subscriptions are paid for at the time of or in advance of delivering the services. Revenue from such arrangements is recognized over the subscription period.
AWS - Our AWS arrangements include global sales of compute, storage, database, and other services. Revenue is allocated to services using stand-alone selling prices and is primarily recognized when the customer uses these services, based on the quantity of services rendered, such as compute or storage capacity delivered on-demand. Certain services, including compute and database, are also offered as a fixed quantity over a specified term, for which revenue is recognized ratably. Sales commissions we pay in connection with contracts that exceed one year are capitalized and amortized over the contract term.
Other - Other revenue primarily includes sales of advertising services, which are recognized as ads are delivered based on the number of clicks or impressions.
Return Allowances
Return allowances, which reduce revenue and cost of sales, are estimated using historical experience. Liabilities for return allowances are included in “Accrued expenses and other” and were $623 million, $712 million, and $859 million as of December 31, 2018, 2019, and 2020. Additions to the allowance were $2.3 billion, $2.5 billion, and $3.5 billion and deductions from the allowance were $2.3 billion, $2.5 billion, and $3.6 billion in 2018, 2019, and 2020. Included in “Inventories” on our consolidated balance sheets are assets totaling $519 million, $629 million, and $852 million as of December 31, 2018, 2019, and 2020, for the rights to recover products from customers associated with our liabilities for return allowances.
Cost of Sales
Cost of sales primarily consists of the purchase price of consumer products, inbound and outbound shipping costs, including costs related to sortation and delivery centers and where we are the transportation service provider, and digital media content costs where we record revenue gross, including video and music. Shipping costs to receive products from our suppliers are included in our inventory, and recognized as cost of sales upon sale of products to our customers. Payment processing and related transaction costs, including those associated with seller transactions, are classified in “Fulfillment” on our consolidated statements of operations.
Vendor Agreements
We have agreements with our vendors to receive consideration primarily for cooperative marketing efforts, promotions, incentives, and volume rebates. We generally consider these amounts received from vendors to be a reduction of the prices we pay for their goods, including property and equipment, or services, and are recorded as a reduction of the cost of inventory, cost of services, or cost of property and equipment. Volume rebates typically depend on reaching minimum purchase thresholds. We evaluate the likelihood of reaching purchase thresholds using past experience and current year forecasts. When volume rebates can be reasonably estimated, we record a portion of the rebate as we make progress towards the purchase threshold.
Fulfillment
Fulfillment costs primarily consist of those costs incurred in operating and staffing our North America and International segments’ fulfillment centers, physical stores, and customer service centers, including costs attributable to buying, receiving, inspecting, and warehousing inventories; picking, packaging, and preparing customer orders for shipment; payment processing and related transaction costs, including costs associated with our guarantee for certain seller transactions; responding to inquiries from customers; and supply chain management for our manufactured electronic devices. Fulfillment costs also include amounts paid to third parties that assist us in fulfillment and customer service operations.
Technology and Content
Technology and content costs include payroll and related expenses for employees involved in the research and development of new and existing products and services, development, design, and maintenance of our stores, curation and display of products and services made available in our online stores, and infrastructure costs. Infrastructure costs include servers, networking equipment, and data center related depreciation and amortization, rent, utilities, and other expenses necessary to support AWS and other Amazon businesses. Collectively, these costs reflect the investments we make in order to offer a wide variety of products and services to our customers. Technology and content costs are generally expensed as incurred.
Marketing
Marketing costs primarily consist of advertising and payroll and related expenses for personnel engaged in marketing and selling activities, including sales commissions related to AWS. We pay commissions to third parties when their customer referrals result in sales. We also participate in cooperative advertising arrangements with certain of our vendors, and other third parties.
Advertising and other promotional costs to market our products and services are expensed as incurred and were $8.2 billion, $11.0 billion, and $10.9 billion in 2018, 2019, and 2020.
General and Administrative
General and administrative expenses primarily consist of costs for corporate functions, including payroll and related expenses; facilities and equipment expenses, such as depreciation and amortization expense and rent; and professional fees and litigation costs.
Stock-Based Compensation
Compensation cost for all equity-classified stock awards expected to vest is measured at fair value on the date of grant and recognized over the service period. The fair value of restricted stock units is determined based on the number of shares granted and the quoted price of our common stock. Such value is recognized as expense over the service period, net of estimated forfeitures, using the accelerated method. The estimated number of stock awards that will ultimately vest requires judgment, and to the extent actual results or updated estimates differ from our current estimates, such amounts will be recorded as a cumulative adjustment in the period estimates are revised. We consider many factors when estimating expected forfeitures, including historical forfeiture experience and employee level. Additionally, stock-based compensation includes stock appreciation rights that are expected to settle in cash. These liability-classified awards are remeasured to fair value at the end of each reporting period until settlement or expiration.
Other Operating Expense (Income), Net
Other operating expense (income), net, consists primarily of a benefit from accelerated vesting of warrants to acquire equity of a vendor in Q4 2020, offset by a lease impairment in Q2 2020 and the amortization of intangible assets.
Other Income (Expense), Net
Other income (expense), net, consists primarily of valuations and adjustments of equity securities of $145 million, $231 million, and $833 million in 2018, 2019, and 2020, equity warrant valuation gains (losses) of $(131) million, $11 million, and $1.5 billion in 2018, 2019, and 2020, and foreign currency gains (losses) of $(206) million, $(20) million, and $35 million in 2018, 2019, and 2020.
During the period from January 1, 2021 to February 2, 2021, we expect to record upward adjustments relating to equity investments in private companies of approximately $1.5 billion. In addition, for this same period, our equity and equity warrant investments in public companies, which are subject to volatility based on changes in market prices, have experienced gains of approximately $1.5 billion based on available trading prices.
Income Taxes
Income tax expense includes U.S. (federal and state) and foreign income taxes. Certain foreign subsidiary earnings and losses are subject to current U.S. taxation and the subsequent repatriation of those earnings is not subject to tax in the U.S. We intend to invest substantially all of our foreign subsidiary earnings, as well as our capital in our foreign subsidiaries, indefinitely outside of the U.S. in those jurisdictions in which we would incur significant, additional costs upon repatriation of such amounts.
Deferred income tax balances reflect the effects of temporary differences between the carrying amounts of assets and liabilities and their tax bases, as well as net operating loss and tax credit carryforwards, and are stated at enacted tax rates expected to be in effect when taxes are actually paid or recovered.
Deferred tax assets represent amounts available to reduce income taxes payable in future periods. Deferred tax assets are evaluated for future realization and reduced by a valuation allowance to the extent we believe they will not be realized. We consider many factors when assessing the likelihood of future realization of our deferred tax assets, including our recent cumulative loss experience and expectations of future earnings, capital gains and investment in such jurisdiction, the carry-forward periods available to us for tax reporting purposes, and other relevant factors. The effects of the COVID-19 pandemic on our business make estimates of future earnings in relevant jurisdictions more challenging.
We utilize a two-step approach to recognizing and measuring uncertain income tax positions (tax contingencies). The first step is to evaluate the tax position for recognition by determining if the weight of available evidence indicates it is more likely than not the position will be sustained on audit, including resolution of related appeals or litigation processes. The second step is to measure the tax benefit as the largest amount which is more than 50% likely of being realized upon ultimate settlement. We consider many factors when evaluating our tax positions and estimating our tax benefits, which may require periodic adjustments and which may not accurately forecast actual outcomes. We include interest and penalties related to our tax contingencies in income tax expense.
Fair Value of Financial Instruments
Fair value is defined as the price that would be received to sell an asset or paid to transfer a liability in an orderly transaction between market participants at the measurement date. To increase the comparability of fair value measures, the following hierarchy prioritizes the inputs to valuation methodologies used to measure fair value:
Level 1 — Valuations based on quoted prices for identical assets and liabilities in active markets.
Level 2 — Valuations based on observable inputs other than quoted prices included in Level 1, such as quoted prices for similar assets and liabilities in active markets, quoted prices for identical or similar assets and liabilities in markets that are not active, or other inputs that are observable or can be corroborated by observable market data.
Level 3 — Valuations based on unobservable inputs reflecting our own assumptions, consistent with reasonably available assumptions made by other market participants. These valuations require significant judgment.
We measure the fair value of money market funds and certain marketable equity securities based on quoted prices in active markets for identical assets or liabilities. Other marketable securities were valued either based on recent trades of securities in inactive markets or based on quoted market prices of similar instruments and other significant inputs derived from or corroborated by observable market data. We did not hold significant amounts of marketable securities categorized as Level 3 assets as of December 31, 2019 and 2020.
We hold equity warrants giving us the right to acquire stock of other companies. As of December 31, 2019 and 2020, these warrants had a fair value of $669 million and $3.0 billion, and are recorded within “Other assets” on our consolidated balance sheets with gains and losses recognized in “Other income (expense), net” on our consolidated statements of operations. These warrants are primarily classified as Level 2 assets.
Cash and Cash Equivalents
We classify all highly liquid instruments with an original maturity of three months or less as cash equivalents.
Inventories
Inventories, consisting of products available for sale, are primarily accounted for using the first-in, first-out method, and are valued at the lower of cost and net realizable value. This valuation requires us to make judgments, based on currently available information, about the likely method of disposition, such as through sales to individual customers, returns to product vendors, or liquidations, and expected recoverable values of each disposition category. The inventory valuation allowance, representing a write-down of inventory, was $1.6 billion and $2.3 billion as of December 31, 2019 and 2020.
We provide Fulfillment by Amazon services in connection with certain of our sellers’ programs. Third-party sellers maintain ownership of their inventory, regardless of whether fulfillment is provided by us or the third-party sellers, and therefore these products are not included in our inventories.
We also purchase electronic device components from a variety of suppliers and use several contract manufacturers to provide manufacturing services for our products. During the normal course of business, in order to manage manufacturing lead times and help ensure adequate supply, we enter into agreements with contract manufacturers and suppliers for certain electronic device components. A portion of our reported purchase commitments arising from these agreements consists of firm, non-cancellable commitments. These commitments are based on forecasted customer demand. If we reduce these commitments, we may incur additional costs. We also have firm, non-cancellable commitments for certain products offered in our Whole Foods Market stores.
Accounts Receivable, Net and Other
Included in “Accounts receivable, net and other” on our consolidated balance sheets are amounts primarily related to customers, vendors, and sellers. As of December 31, 2019 and 2020, customer receivables, net, were $12.6 billion and $14.8 billion, vendor receivables, net, were $4.2 billion and $4.8 billion, and seller receivables, net, were $863 million and $381 million. Seller receivables are amounts due from sellers related to our seller lending program, which provides funding to sellers primarily to procure inventory.
We estimate losses on receivables based on expected losses, including our historical experience of actual losses. Receivables are considered impaired and written-off when it is probable that all contractual payments due will not be collected in accordance with the terms of the agreement. The allowance for doubtful accounts was $495 million, $718 million, and $1.1 billion as of December 31, 2018, 2019, and 2020. Additions to the allowance were $878 million, $1.0 billion, and $1.4 billion, and deductions to the allowance were $731 million, $793 million, and $1.0 billion in 2018, 2019, and 2020.
Software Development Costs
We incur software development costs related to products to be sold, leased, or marketed to external users, internal-use software, and our websites. Software development costs capitalized were not significant for the years presented. All other costs, including those related to design or maintenance, are expensed as incurred.
Property and Equipment, Net
Property and equipment are stated at cost less accumulated depreciation and amortization. Incentives that we receive from property and equipment vendors are recorded as a reduction to our costs. Property includes buildings and land that we own, along with property we have acquired under build-to-suit lease arrangements when we have control over the building during the construction period and finance lease arrangements. Equipment includes assets such as servers and networking equipment, heavy equipment, and other fulfillment equipment. Depreciation and amortization is recorded on a straight-line basis over the estimated useful lives of the assets (generally the lesser of 40 years or the remaining life of the underlying building, three years prior to January 1, 2020 and four years subsequent to January 1, 2020 for our servers, five years for networking equipment, ten years for heavy equipment, and three to ten years for other fulfillment equipment). Depreciation and amortization expense is classified within the corresponding operating expense categories on our consolidated statements of operations.
Leases
We categorize leases with contractual terms longer than twelve months as either operating or finance. Finance leases are generally those leases that allow us to substantially utilize or pay for the entire asset over its estimated life. Assets acquired under finance leases are recorded in “Property and equipment, net.” All other leases are categorized as operating leases. Our leases generally have terms that range from one to ten years for equipment and one to twenty years for property.
Certain lease contracts include obligations to pay for other services, such as operations and maintenance. For leases of property, we account for these other services as a component of the lease. For substantially all other leases, the services are accounted for separately and we allocate payments to the lease and other services components based on estimated stand-alone prices.
Lease liabilities are recognized at the present value of the fixed lease payments, reduced by landlord incentives using a discount rate based on similarly secured borrowings available to us. Lease assets are recognized based on the initial present value of the fixed lease payments, reduced by landlord incentives, plus any direct costs from executing the leases or lease prepayments reclassified from “Other assets” upon lease commencement. Leasehold improvements are capitalized at cost and amortized over the lesser of their expected useful life or the lease term.
When we have the option to extend the lease term, terminate the lease before the contractual expiration date, or purchase the leased asset, and it is reasonably certain that we will exercise the option, we consider the option in determining the classification and measurement of the lease. Our leases may include variable payments based on measures that include changes in price indices, market interest rates, or the level of sales at a physical store, which are expensed as incurred.
Costs associated with operating lease assets are recognized on a straight-line basis within operating expenses over the term of the lease. Finance lease assets are amortized within operating expenses on a straight-line basis over the shorter of the estimated useful lives of the assets or, in the instance where title does not transfer at the end of the lease term, the lease term. The interest component of a finance lease is included in interest expense and recognized using the effective interest method over the lease term.
We establish assets and liabilities for the present value of estimated future costs to retire long-lived assets at the termination or expiration of a lease. Such assets are amortized over the lease period into operating expense, and the recorded liabilities are accreted to the future value of the estimated retirement costs.
Financing Obligations
We record assets and liabilities for estimated construction costs under build-to-suit lease arrangements when we have control over the building during the construction period. If we continue to control the building after the construction period, the arrangement is classified as a financing obligation instead of a lease. The building is depreciated over the shorter of its useful life or the term of the obligation.
If we do not control the building after the construction period ends, the assets and liabilities for construction costs are derecognized, and we classify the lease as either operating or finance.
Goodwill and Indefinite-Lived Intangible Assets
We evaluate goodwill and indefinite-lived intangible assets for impairment annually or more frequently when an event occurs or circumstances change that indicate the carrying value may not be recoverable. We may elect to utilize a qualitative assessment to evaluate whether it is more likely than not that the fair value of a reporting unit or indefinite-lived intangible asset is less than its carrying value and if so, we perform a quantitative test. We compare the carrying value of each reporting unit and indefinite-lived intangible asset to its estimated fair value and if the fair value is determined to be less than the carrying value, we recognize an impairment loss for the difference. We estimate the fair value of the reporting units using discounted cash flows. Forecasts of future cash flows are based on our best estimate of future net sales and operating expenses, based primarily on expected category expansion, pricing, market segment share, and general economic conditions.
We completed the required annual impairment test of goodwill for all reporting units and indefinite-lived intangible assets as of April 1, 2020, resulting in no impairments. The fair value of our reporting units substantially exceeded their carrying value. There were no events that caused us to update our annual impairment test. See “Note 5 — Acquisitions, Goodwill, and Acquired Intangible Assets.”
Other Assets
Included in “Other assets” on our consolidated balance sheets are amounts primarily related to video and music content, net of accumulated amortization; acquired intangible assets, net of accumulated amortization; certain equity investments; equity warrant assets; long-term deferred tax assets; and lease prepayments made prior to lease commencement.
Digital Video and Music Content
We obtain video content, inclusive of episodic television and movies, and music content for customers through licensing agreements that have a wide range of licensing provisions including both fixed and variable payment schedules. When the license fee for a specific video or music title is determinable or reasonably estimable and the content is available to us, we recognize an asset and a corresponding liability for the amounts owed. We reduce the liability as payments are made and we amortize the asset to “Cost of sales” on an accelerated basis, based on estimated usage or viewing patterns, or on a straight-line basis. If the licensing fee is not determinable or reasonably estimable, no asset or liability is recorded and licensing costs are expensed as incurred. We also develop original video content for which the production costs are capitalized and amortized to “Cost of sales” predominantly on an accelerated basis that follows the viewing patterns associated with the content. The weighted average remaining life of our capitalized video content is 2.5 years.
Our produced and licensed video content is primarily monetized together as a unit, referred to as a film group, in each major geography where we offer Amazon Prime memberships. These film groups are evaluated for impairment whenever an event occurs or circumstances change indicating the fair value is less than the carrying value. The total capitalized costs of video, which is primarily released content, and music as of December 31, 2019 and 2020 were $5.8 billion and $6.8 billion. Total video and music expense was $7.8 billion and $11.0 billion for the year ended December 31, 2019 and 2020. Total video and music expense includes licensing and production costs associated with content offered within Amazon Prime memberships, and costs associated with digital subscriptions and sold or rented content.
Investments
We generally invest our excess cash in AAA-rated money market funds and investment grade short- to intermediate-term fixed income securities. Such investments are included in “Cash and cash equivalents” or “Marketable securities” on the accompanying consolidated balance sheets.
Marketable debt securities are classified as available-for-sale and reported at fair value with unrealized gains and losses included in “Accumulated other comprehensive income (loss).” Each reporting period, we evaluate whether declines in fair value below carrying value are due to expected credit losses, as well as our ability and intent to hold the investment until a forecasted recovery occurs. Expected credit losses are recorded as an allowance through “Other income (expense), net” on our consolidated statements of operations.
Equity investments in private companies for which we do not have the ability to exercise significant influence are accounted for at cost, with adjustments for observable changes in prices or impairments, and are classified as “Other assets” on our consolidated balance sheets with adjustments recognized in “Other income (expense), net” on our consolidated statements of operations. Each reporting period, we perform a qualitative assessment to evaluate whether the investment is impaired. Our assessment includes a review of recent operating results and trends, recent sales/acquisitions of the investee securities, and other publicly available data. If the investment is impaired, we write it down to its estimated fair value. As of December 31, 2019 and 2020, these investments had a carrying value of $1.5 billion and $2.7 billion.
Equity investments are accounted for using the equity method of accounting if the investment gives us the ability to exercise significant influence, but not control, over an investee. Equity-method investments are included within “Other assets” on our consolidated balance sheets. Our share of the earnings or losses as reported by equity-method investees, amortization of basis differences, related gains or losses, and impairments, if any, are recognized in “Equity-method investment activity, net of tax” on our consolidated statements of operations. Each reporting period, we evaluate whether declines in fair value below carrying value are other-than-temporary and if so, we write down the investment to its estimated fair value.
Equity investments that have readily determinable fair values are included in “Marketable securities” on our consolidated balance sheets and measured at fair value with changes recognized in “Other income (expense), net” on our consolidated statements of operations.
Long-Lived Assets
Long-lived assets, other than goodwill and indefinite-lived intangible assets, are reviewed for impairment whenever events or changes in circumstances indicate that the carrying amount of the assets might not be recoverable. Conditions that would necessitate an impairment assessment include a significant decline in the observable market value of an asset, a significant change in the extent or manner in which an asset is used, or any other significant adverse change that would indicate that the carrying amount of an asset or group of assets may not be recoverable.
For long-lived assets used in operations, including lease assets, impairment losses are only recorded if the asset’s carrying amount is not recoverable through its undiscounted, probability-weighted future cash flows. We measure the impairment loss based on the difference between the carrying amount and estimated fair value. Long-lived assets are considered held for sale when certain criteria are met, including when management has committed to a plan to sell the asset, the asset is available for sale in its immediate condition, and the sale is probable within one year of the reporting date. Assets held for sale are reported at the lower of cost or fair value less costs to sell. Assets held for sale were not significant as of December 31, 2019 and 2020.
Accrued Expenses and Other
Included in “Accrued expenses and other” on our consolidated balance sheets are liabilities primarily related to leases and asset retirement obligations, payroll and related expenses, tax-related liabilities, unredeemed gift cards, customer liabilities, current debt, acquired digital media content, and other operating expenses.
As of December 31, 2019 and 2020, our liabilities for payroll related expenses were $4.3 billion and $7.6 billion and our liabilities for unredeemed gift cards were $3.3 billion and $4.7 billion. We reduce the liability for a gift card when redeemed by a customer. The portion of gift cards that we do not expect to be redeemed is recognized based on customer usage patterns.
Unearned Revenue
Unearned revenue is recorded when payments are received or due in advance of performing our service obligations and is recognized over the service period. Unearned revenue primarily relates to prepayments of AWS services and Amazon Prime memberships. Our total unearned revenue as of December 31, 2019 was $10.2 billion, of which $7.9 billion was recognized as revenue during the year ended December 31, 2020 and our total unearned revenue as of December 31, 2020 was $11.6 billion. Included in “Other long-term liabilities” on our consolidated balance sheets was $2.0 billion and $1.9 billion of unearned revenue as of December 31, 2019 and 2020.
Additionally, we have performance obligations, primarily related to AWS, associated with commitments in customer contracts for future services that have not yet been recognized in our financial statements. For contracts with original terms that exceed one year, those commitments not yet recognized were $50.0 billion as of December 31, 2020. The weighted average remaining life of our long-term contracts is 3.4 years. However, the amount and timing of revenue recognition is largely driven by customer usage, which can extend beyond the original contractual term.
Other Long-Term Liabilities
Included in “Other long-term liabilities” on our consolidated balance sheets are liabilities primarily related to financing obligations, asset retirement obligations, deferred tax liabilities, unearned revenue, tax contingencies, and digital video and music content.
Foreign Currency
We have internationally-focused stores for which the net sales generated, as well as most of the related expenses directly incurred from those operations, are denominated in local functional currencies. The functional currency of our subsidiaries that either operate or support these stores is generally the same as the local currency. Assets and liabilities of these subsidiaries are translated into U.S. Dollars at period-end foreign exchange rates, and revenues and expenses are translated at average rates
prevailing throughout the period. Translation adjustments are included in “Accumulated other comprehensive income (loss),” a separate component of stockholders’ equity, and in the “Foreign currency effect on cash, cash equivalents, and restricted cash,” on our consolidated statements of cash flows. Transaction gains and losses including intercompany transactions denominated in a currency other than the functional currency of the entity involved are included in “Other income (expense), net” on our consolidated statements of operations. In connection with the settlement and remeasurement of intercompany balances, we recorded gains (losses) of $(186) million, $95 million, and $118 million in 2018, 2019, and 2020.