Gain (loss) on sale

[Table of Contents](#i89c3c9328e454b30b2c14123b867f3f0_7)EQUINIX, INC.NOTES TO CONSOLIDATED FINANCIAL STATEMENTS - (Continued)  
  
The following table sets forth potential shares of common stock that are not included in the diluted EPS calculation above because to do so would be anti-dilutive for the years ended December 31 (in thousands):

|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
|  | 2021 |  | 2020 |  | 2019 |
|  |  |  |  |  |  |
|  |  |  |  |  |  |
| Common stock related to employee equity awards | 206  |  |  | 19  |  |  | 21  |  |
| Total | 206  |  |  | 19  |  |  | 21  |  |

5.    Assets Held for SaleIn October 2021, we entered into an agreement to form a joint venture in the form of a limited liability partnership with PGIM Real Estate ("PGIM"), to develop and operate xScaleTM data centers in Asia-Pacific (the "Asia-Pacific 2 Joint Venture"). xScale data centers are engineered to meet the technical and operational requirements and price points of core hyperscale workload deployments and also offer access to our comprehensive suite of interconnection and edge services. Upon closing, PGIM will contribute cash in exchange for an 80% partnership interest in the Asia-Pacific 2 Joint Venture. We agreed to sell the Sydney 9 ("SY9") data center site in exchange for a 20% partnership interest in the Asia-Pacific 2 Joint Venture and cash proceeds. The assets and liabilities of the SY9 data center, which are currently included within our Asia-Pacific region, were classified as held for sale as of September 30, 2021 and remained held for sale as of December 31, 2021. In June 2021, we entered into an agreement to form another joint venture in the form of a limited liability partnership with GIC, Singapore's sovereign wealth fund ("GIC"), to develop and operate additional xScale data centers in Europe and the Americas (the “EMEA 2 Joint Venture”). The assets and liabilities of the data center sites expected to be sold to the EMEA 2 Joint Venture within a year were classified as held for sale as of June 30, 2021. The transaction was structured to close in phases over the course of two years, pending regulatory approval and other closing conditions. The first phase of the transaction, comprised of data center sites located in Frankfurt, Helsinki, Madrid, Milan and Paris, closed in September 2021. Upon closing, we sold these data center sites in exchange for a total consideration of $144.0 million, which is comprised of $106.4 million of net cash proceeds, a 20% partnership interest in the EMEA 2 Joint Venture with a fair value of $30.4 million, and $7.2 million of receivables. During the year ended December 31, 2021, we recognized an insignificant gain on the sale of these xScale data center facilities. In October 2021, we completed the sale of the Sao Paulo 5 ("SP5") data center to the EMEA 2 Joint Venture in exchange for a total consideration of $34.3 million. During the year ended December 31, 2021, we recognized an insignificant loss on the sale of the SP5 data center. The assets and liabilities of the Warsaw 4 ("WA4") data center site, which is currently included within our EMEA region and is expected to be sold to the EMEA 2 Joint Venture in a future phase, were classified as held for sale as of June 30, 2021 and remained held for sale as of December 31, 2021.Additionally, we entered negotiations to sell the Mexico 3 ("MX3") data center site in connection with the formation of a new joint venture with GIC (the "AMER 1 Joint Venture"). Given that the key terms of the sale had been substantially agreed upon as of September 30, 2021, the assets and liabilities of the MX3 data center, which are currently included within our Americas region, were classified as held for sale as of September 30, 2021 and remained held for sale as of December 31, 2021. In May 2021, we entered into an agreement to sell the Dublin 5 ("DB5") data center site to the EMEA 1 Joint Venture (as defined in Note 6 below). The assets and liabilities of the DB5 data center, which were included within our EMEA region, were classified as held for sale as of June 30, 2021. In July 2021, we sold the DB5 data center in exchange for a total consideration of $77.9 million. During the year ended December 31, 2021, we recognized a total gain of $15.8 million on the sale of the DB5 data center. All assets and liabilities classified as held for sale are reported at the lower of their carrying amounts or fair values less costs to sell. The following table summarizes the assets and liabilities that were classified as assets and liabilities held for sale in the consolidated balance sheet as of December 31, 2021 (in thousands):   
F-26  

