XML 55 R44.htm IDEA: XBRL DOCUMENT
v3.22.4

Net Recognized Gains (Losses) on Equity Investments (Detail) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2022 | Dec. 31, 2021
Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items] |  |  |  |
Net realized gains (losses) on investments sold | $ (8) | $ 31 | $ 75 | $ 68
Net unrealized gains (losses) on investments still held | (7) | 268 | (35) | 593
Total | (15) | 300 | (2) | 671
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 | (9) | 0 | (16) | 0
Total | $ (24) | $ 299 | $ 24 | $ 661

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_FinancialInstrumentAxis=us-gaap_EquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |