XML 115 R100.htm IDEA: XBRL DOCUMENT
v3.20.2

Share Repurchases (Detail) - USD ($) shares in Millions, $ in Millions | 3 Months Ended | 12 Months Ended
--- | --- | ---
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, 2018 | Mar. 31, 2018 | Dec. 31, 2017 | Sep. 30, 2017 | Jun. 30, 2020 | Jun. 30, 2019 | Jun. 30, 2018
Share Repurchases [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares of common stock repurchased |  |  |  |  |  |  |  |  |  |  |  |  | 126 | 150 | 99
Share Repurchase Program 2016 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Repurchases [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares of common stock repurchased |  |  | 32 | 29 | 33 | 36 | 57 | 24 | 21 | 34 | 22 | 22 |  | 150 | 99
Value of common stock repurchased |  |  | $ 4,600 | $ 4,000 | $ 4,200 | $ 3,899 | $ 6,100 | $ 2,600 | $ 2,100 | $ 3,100 | $ 1,800 | $ 1,600 |  | $ 16,799 | $ 8,600
Share Repurchase Programs 2016 and 2019 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Repurchases [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares of common stock repurchased |  | 37 |  |  |  |  |  |  |  |  |  |  | 126 |  |
Value of common stock repurchased |  | $ 6,000 |  |  |  |  |  |  |  |  |  |  | $ 19,688 |  |
Share Repurchase Program 2019 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Repurchases [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares of common stock repurchased | 28 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Value of common stock repurchased | $ 5,088 |  |  |  |  |  |  |  |  |  |  |  |  |  |

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_ShareRepurchaseProgramsTwentySixteenAndTwentyNineteenMember
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: |