XML 40 R28.htm IDEA: XBRL DOCUMENT
v3.20.4

INVESTMENTS (Tables) | 6 Months Ended
--- | ---
Dec. 31, 2020
Investments Debt And Equity Securities [Abstract] |
Investment Components | The components of investments were as follows:
(In millions) |  | Fair Value Level |  |  | Adjusted Cost Basis |  |  | Unrealized Gains |  |  | Unrealized Losses |  |  | Recorded Basis |  |  | Cash and Cash Equivalents |  |  | Short-term Investments |  |  | Equity Investments |
December 31, 2020 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Changes in Fair Value Recorded in Other Comprehensive Income |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial paper |  | Level 2 |  |  | $ | 6,618 |  |  | $ | 0 |  |  | $ | 0 |  |  | $ | 6,618 |  |  | $ | 4,638 |  |  | $ | 1,980 |  |  | $ | 0 |
Certificates of deposit |  | Level 2 |  |  |  | 2,770 |  |  |  | 0 |  |  |  | 0 |  |  |  | 2,770 |  |  |  | 1,763 |  |  |  | 1,007 |  |  |  | 0 |
U.S. government securities |  | Level 1 |  |  |  | 88,151 |  |  |  | 5,580 |  |  |  | (12 | ) |  |  | 93,719 |  |  |  | 1,151 |  |  |  | 92,568 |  |  |  | 0 |
U.S. agency securities |  | Level 2 |  |  |  | 1,772 |  |  |  | 3 |  |  |  | 0 |  |  |  | 1,775 |  |  |  | 418 |  |  |  | 1,357 |  |  |  | 0 |
Foreign government bonds |  | Level 2 |  |  |  | 7,196 |  |  |  | 15 |  |  |  | (1 | ) |  |  | 7,210 |  |  |  | 0 |  |  |  | 7,210 |  |  |  | 0 |
Mortgage- and asset-backed securities |  | Level 2 |  |  |  | 4,537 |  |  |  | 38 |  |  |  | (4 | ) |  |  | 4,571 |  |  |  | 0 |  |  |  | 4,571 |  |  |  | 0 |
Corporate notes and bonds |  | Level 2 |  |  |  | 8,010 |  |  |  | 353 |  |  |  | (1 | ) |  |  | 8,362 |  |  |  | 0 |  |  |  | 8,362 |  |  |  | 0 |
Corporate notes and bonds |  | Level 3 |  |  |  | 62 |  |  |  | 0 |  |  |  | 0 |  |  |  | 62 |  |  |  | 0 |  |  |  | 62 |  |  |  | 0 |
Municipal securities |  | Level 2 |  |  |  | 291 |  |  |  | 62 |  |  |  | (1 | ) |  |  | 352 |  |  |  | 0 |  |  |  | 352 |  |  |  | 0 |
Municipal securities |  | Level 3 |  |  |  | 95 |  |  |  | 0 |  |  |  | (7 | ) |  |  | 88 |  |  |  | 0 |  |  |  | 88 |  |  |  | 0 |
Total debt investments |  |  |  |  | $ | 119,502 |  |  | $ | 6,051 |  |  | $ | (26 | ) |  | $ | 125,527 |  |  | $ | 7,970 |  |  | $ | 117,557 |  |  | $ | 0 |
Changes in Fair Value Recorded in Net Income |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity investments |  | Level 1 |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ | 1,655 |  |  | $ | 897 |  |  | $ | 0 |  |  | $ | 758 |
Equity investments |  | Other |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3,036 |  |  |  | 0 |  |  |  | 0 |  |  |  | 3,036 |
Total equity investments |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ | 4,691 |  |  | $ | 897 |  |  | $ | 0 |  |  | $ | 3,794 |
Cash |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ | 5,565 |  |  | $ | 5,565 |  |  | $ | 0 |  |  | $ | 0 |
Derivatives, net (a) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (21 | ) |  |  | 0 |  |  |  | (21 | ) |  |  | 0 |
Total |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ | 135,762 |  |  | $ | 14,432 |  |  | $ | 117,536 |  |  | $ | 3,794 |
(In millions) |  | Fair Value Level |  |  | Adjusted Cost Basis |  |  | Unrealized Gains |  |  | Unrealized Losses |  | Recorded Basis |  |  | Cash and Cash Equivalents |  |  | Short-term Investments |  |  | Equity Investments |
June 30, 2020 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Changes in Fair Value Recorded in Other Comprehensive Income |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial paper |  | Level 2 |  |  | $ | 4,687 |  |  | $ | 1 |  |  | $ | 0 |  |  | $ | 4,688 |  |  | $ | 1,618 |  |  | $ | 3,070 |  |  | $ | 0 |
Certificates of deposit |  | Level 2 |  |  |  | 2,898 |  |  |  | 0 |  |  |  | 0 |  |  |  | 2,898 |  |  |  | 1,646 |  |  |  | 1,252 |  |  |  | 0 |
U.S. government securities |  | Level 1 |  |  |  | 92,067 |  |  |  | 6,495 |  |  |  | (1 | ) |  |  | 98,561 |  |  |  | 3,168 |  |  |  | 95,393 |  |  |  | 0 |
U.S. agency securities |  | Level 2 |  |  |  | 2,439 |  |  |  | 2 |  |  |  | 0 |  |  |  | 2,441 |  |  |  | 449 |  |  |  | 1,992 |  |  |  | 0 |
Foreign government bonds |  | Level 2 |  |  |  | 6,982 |  |  |  | 6 |  |  |  | (3 | ) |  |  | 6,985 |  |  |  | 1 |  |  |  | 6,984 |  |  |  | 0 |
Mortgage- and asset-backed securities |  | Level 2 |  |  |  | 4,865 |  |  |  | 41 |  |  |  | (6 | ) |  |  | 4,900 |  |  |  | 0 |  |  |  | 4,900 |  |  |  | 0 |
Corporate notes and bonds |  | Level 2 |  |  |  | 8,500 |  |  |  | 327 |  |  |  | (17 | ) |  |  | 8,810 |  |  |  | 0 |  |  |  | 8,810 |  |  |  | 0 |
Corporate notes and bonds |  | Level 3 |  |  |  | 58 |  |  |  | 0 |  |  |  | 0 |  |  |  | 58 |  |  |  | 0 |  |  |  | 58 |  |  |  | 0 |
Municipal securities |  | Level 2 |  |  |  | 313 |  |  |  | 57 |  |  |  | (4 | ) |  |  | 366 |  |  |  | 0 |  |  |  | 366 |  |  |  | 0 |
Municipal securities |  | Level 3 |  |  |  | 91 |  |  |  | 0 |  |  |  | 0 |  |  |  | 91 |  |  |  | 0 |  |  |  | 91 |  |  |  | 0 |
Total debt investments |  |  |  |  | $ | 122,900 |  |  | $ | 6,929 |  |  | $ | (31 | ) |  | $ | 129,798 |  |  | $ | 6,882 |  |  | $ | 122,916 |  |  | $ | 0 |
Changes in Fair Value Recorded in Net Income |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity investments |  | Level 1 |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ | 1,198 |  |  | $ | 784 |  |  | $ | 0 |  |  | $ | 414 |
Equity investments |  | Other |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2,551 |  |  |  | 0 |  |  |  | 0 |  |  |  | 2,551 |
Total equity investments |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ | 3,749 |  |  | $ | 784 |  |  | $ | 0 |  |  | $ | 2,965 |
Cash |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ | 5,910 |  |  | $ | 5,910 |  |  | $ | 0 |  |  | $ | 0 |
Derivatives, net (a) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 35 |  |  |  | 0 |  |  |  | 35 |  |  |  | 0 |
Total |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ | 139,492 |  |  | $ | 13,576 |  |  | $ | 122,951 |  |  | $ | 2,965 |
(a) | Refer to Note 5 – Derivatives for further information on the fair value of our derivative instruments.
Unrealized Losses on Debt Investments | Debt investments with continuous unrealized losses for less than 12 months and 12 months or greater and their related fair values were as follows:
|  | Less than 12 Months |  |  | 12 Months or Greater |  |  |  |  |  |  |  | Total Unrealized Losses |
(In millions) |  |  | Fair Value |  |  |  | Unrealized Losses |  |  |  | Fair Value |  |  |  | Unrealized Losses |  |  |  | Total Fair Value |  |  |  |
December 31, 2020 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
U.S. government and agency securities |  | $ | 2,777 |  |  | $ | (12 | ) |  | $ | 0 |  |  | $ | 0 |  |  | $ | 2,777 |  |  | $ | (12 | )
Foreign government bonds |  |  | 1,708 |  |  |  | (1 | ) |  |  | 0 |  |  |  | 0 |  |  |  | 1,708 |  |  |  | (1 | )
Mortgage- and asset-backed securities |  |  | 1,148 |  |  |  | (4 | ) |  |  | 0 |  |  |  | 0 |  |  |  | 1,148 |  |  |  | (4 | )
Corporate notes and bonds |  |  | 160 |  |  |  | (1 | ) |  |  | 0 |  |  |  | 0 |  |  |  | 160 |  |  |  | (1 | )
Municipal securities |  |  | 121 |  |  |  | (8 | ) |  |  | 0 |  |  |  | 0 |  |  |  | 121 |  |  |  | (8 | )
Total |  | $ | 5,914 |  |  | $ | (26 | ) |  | $ | 0 |  |  | $ | 0 |  |  | $ | 5,914 |  |  | $ | (26 | )
|  | Less than 12 Months |  |  | 12 Months or Greater |  |  |  |  |  |  |  | Total Unrealized Losses |
(In millions) |  |  | Fair Value |  |  |  | Unrealized Losses |  |  |  | Fair Value |  |  |  | Unrealized Losses |  |  |  | Total Fair Value |  |  |  |
June 30, 2020 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
U.S. government and agency securities |  | $ | 2,323 |  |  | $ | (1 | ) |  | $ | 0 |  |  | $ | 0 |  |  | $ | 2,323 |  |  | $ | (1 | )
Foreign government bonds |  |  | 500 |  |  |  | (3 | ) |  |  | 0 |  |  |  | 0 |  |  |  | 500 |  |  |  | (3 | )
Mortgage- and asset-backed securities |  |  | 1,014 |  |  |  | (6 | ) |  |  | 0 |  |  |  | 0 |  |  |  | 1,014 |  |  |  | (6 | )
Corporate notes and bonds |  |  | 649 |  |  |  | (17 | ) |  |  | 0 |  |  |  | 0 |  |  |  | 649 |  |  |  | (17 | )
Municipal securities |  |  | 66 |  |  |  | (4 | ) |  |  | 0 |  |  |  | 0 |  |  |  | 66 |  |  |  | (4 | )
Total |  | $ | 4,552 |  |  | $ | (31 | ) |  | $ | 0 |  |  | $ | 0 |  |  | $ | 4,552 |  |  | $ | (31 | )
Debt Investment Maturities | Debt Investment Maturities
(In millions) |  | Adjusted Cost Basis |  |  | Estimated Fair Value |
December 31, 2020 |  |  |  |  |  |  |  |
Due in one year or less |  | $ | 29,516 |  |  | $ | 29,559 |
Due after one year through five years |  |  | 58,954 |  |  |  | 62,275 |
Due after five years through 10 years |  |  | 28,343 |  |  |  | 30,824 |
Due after 10 years |  |  | 2,689 |  |  |  | 2,869 |
Total |  | $ | 119,502 |  |  | $ | 125,527 |

X
- Definition Tabular disclosure of the components of cash, cash equivalents, and investments. + References No definition available. + Details
Name: | msft_ScheduleOfCashCashEquivalentsAndInvestmentsTableTextBlock
Namespace Prefix: | msft_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments. + References No definition available. + Details
Name: | us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition For all investments in an unrealized loss position, including those for which other-than-temporary impairments have not been recognized in earnings (including investments for which a portion of an other-than-temporary impairment has been recognized in other comprehensive income), a tabular disclosure of the aggregate related fair value of investments with unrealized losses and the aggregate amount of unrealized losses (that is, the amount by which amortized cost basis exceeds fair value). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27290-111563 + Details
Name: | us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration