XML 111 R98.htm IDEA: XBRL DOCUMENT
v3.21.2

Share Repurchases (Detail) - USD ($) shares in Millions, $ in Millions | 3 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2021 | Mar. 31, 2021 | Dec. 31, 2020 | Sep. 30, 2020 | Jun. 30, 2020 | Mar. 31, 2020 | Dec. 31, 2019 | Sep. 30, 2019 | Jun. 30, 2019 | Mar. 31, 2019 | Dec. 31, 2018 | Sep. 30, 2018 | Jun. 30, 2021 | Jun. 30, 2020 | Jun. 30, 2019
Share Repurchases [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares of common stock repurchased |  |  |  |  |  |  |  |  |  |  |  |  | 101 | 126 | 150
Share Repurchase Program 2016 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Repurchases [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares of common stock repurchased |  |  |  |  |  |  | 32 | 29 | 33 | 36 | 57 | 24 |  | 126 | 150
Value of common stock repurchased |  |  |  |  |  |  | $ 4,600 | $ 4,000 | $ 4,200 | $ 3,899 | $ 6,100 | $ 2,600 |  | $ 19,688 | $ 16,799
Share Repurchase Program 2019 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Repurchases [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares of common stock repurchased | 24 | 25 | 27 | 25 | 28 |  |  |  |  |  |  |  | 101 |  |
Value of common stock repurchased | $ 6,200 | $ 5,750 | $ 5,750 | $ 5,270 | $ 5,088 |  |  |  |  |  |  |  | $ 22,970 |  |
Share Repurchase Programs 2016 and 2019 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Repurchases [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares of common stock repurchased |  |  |  |  |  | 37 |  |  |  |  |  |  |  |  |
Value of common stock repurchased |  |  |  |  |  | $ 6,000 |  |  |  |  |  |  |  |  |

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 http://asc.fasb.org/extlink&oid=109259400&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 http://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 http://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 http://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 http://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 http://asc.fasb.org/extlink&oid=109259400&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 http://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 http://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_ShareRepurchaseProgramTwentySixteenMember
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_ShareRepurchaseProgramsTwentySixteenAndTwentyNineteenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |