XML 91 R80.htm IDEA: XBRL DOCUMENT
v3.22.4

Share Repurchases (Detail) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Dec. 31, 2022 | Sep. 30, 2022 | Dec. 31, 2021 | Sep. 30, 2021 | Dec. 31, 2022 | Dec. 31, 2021
Share Repurchase Program 2021 |  |  |  |  |  |
Share Repurchases [Line Items] |  |  |  |  |  |
Shares of common stock repurchased | 20,000,000 | 17,000,000 |  |  | 37,000,000 |
Value of common stock repurchased | $ 4,600 | $ 4,600 |  |  | $ 9,200 |
Share Repurchase Program 2019 |  |  |  |  |  |
Share Repurchases [Line Items] |  |  |  |  |  |
Shares of common stock repurchased |  |  |  | 21,000,000 |  |
Value of common stock repurchased |  |  |  | $ 6,200 |  |
Share Repurchase Program 2019 and 2021 |  |  |  |  |  |
Share Repurchases [Line Items] |  |  |  |  |  |
Shares of common stock repurchased |  |  | 20,000,000 |  |  | 41,000,000
Value of common stock repurchased |  |  | $ 6,233 |  |  | $ 12,433

X
- Definition Share Repurchases [Line Items] + References No definition available. + Details
Name: | msft_ShareRepurchasesLineItems
Namespace Prefix: | msft_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=msft_ShareRepurchaseProgramTwentyTwentyOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=msft_ShareRepurchaseProgramTwentyNineteenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=msft_ShareRepurchaseProgramTwentyNineteenAndTwentyTwentyOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |