XML 63 R51.htm IDEA: XBRL DOCUMENT
v3.22.2

Net Recognized Gains (Losses) on Equity Investments (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020
Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items] |  |  |
Net realized gains on investments sold | $ 29 | $ 123 | $ 83
Net unrealized gains on investments still held | 509 | 1,057 | 69
Total | 461 | 1,232 | 32
Equity Securities |  |  |
Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items] |  |  |
Impairments of investments | (20) | (11) | (116)
Total | $ 518 | $ 1,169 | $ 36

X
- Definition The summation of impairment on equity securities, representing the decline in fair value below cost. + References No definition available. + Details
Name: | msft_ImpairmentOfEquityInvestments
Namespace Prefix: | msft_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of realized gain (loss) from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126980263&loc=SL75117546-209714 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 + Details
Name: | us-gaap_EquitySecuritiesFvNiRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126980263&loc=SL75117546-209714 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of realized and unrealized gain (loss) on investment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27405-111563 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.7(c),9(a)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 3: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_GainLossOnInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_EquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |