2.4.0.81008 - Statement - Cash Flows StatementstruefalseIn Millions, unless otherwise specifiedfalse1false USDfalsefalse$eol_PE8528----1310-K0013_STD_365_20130630_0http://www.sec.gov/CIK0000789019duration2012-07-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$eol_PE8528----1310-K0013_STD_366_20120630_0http://www.sec.gov/CIK0000789019duration2011-07-01T00:00:002012-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$eol_PE8528----1310-K0013_STD_365_20110630_0http://www.sec.gov/CIK0000789019duration2010-07-01T00:00:002011-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 4us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 5us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2186300000021863[1]USD$falsetruefalse2truefalsefalse1697800000016978[2]USD$falsetruefalse3truefalsefalse2315000000023150USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 20 -Article 9 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Other Comprehensive Income -URI http://asc.fasb.org/extlink&oid=6519514 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Net Income -URI http://asc.fasb.org/extlink&oid=6518256 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.19) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.18) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.22) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 9: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580 Reference 10: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 19 -Article 5 false23true 5us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse04false 6us-gaap_GoodwillImpairmentLossus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00falsefalsefalse2truefalsefalse61930000006193falsefalsefalse3truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=14024403&loc=d3e13854-109267 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13777-109266 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=14024403&loc=d3e13816-109267 false25false 6msft_DepreciationAmortizationAndOthermsft_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse37550000003755falsefalsefalse2truefalsefalse29670000002967falsefalsefalse3truefalsefalse27660000002766falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate net amount of depreciation, amortization, and accretion recognized during an accounting period, and other operating transactions that are not included elsewhere in the statement of cash flows.No definition available.false26false 6us-gaap_AllocatedShareBasedCompensationExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse24060000002406falsefalsefalse2truefalsefalse22440000002244falsefalsefalse3truefalsefalse21660000002166falsefalsefalsexbrli:monetaryItemTypemonetaryRepresents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 14.F) -URI http://asc.fasb.org/extlink&oid=27013229&loc=d3e301413-122809 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 14 -Section F false27false 6msft_GainLossOnInvestmentsAndDerivativeInstrumentsmsft_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse8000000080falsefalsefalse2truefalsefalse-200000000-200falsefalsefalse3truefalsefalse-362000000-362falsefalsefalsexbrli:monetaryItemTypemonetaryRepresents losses (gains) included in earnings for the period as a result of selling or holding securities and derivatives.No definition available.false28false 6us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivitiesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-209000000-209falsefalsefalse2truefalsefalse-93000000-93falsefalsefalse3truefalsefalse-17000000-17falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash outflow for realized tax benefit related to deductible compensation cost reported on the entity's tax return for equity instruments in excess of the compensation cost for those instruments recognized for financial reporting purposes.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 20 -Section 55 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11374-113907 false29false 6us-gaap_DeferredIncomeTaxExpenseBenefitus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-19000000-19falsefalsefalse2truefalsefalse954000000954falsefalsefalse3truefalsefalse20000002falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 6.I.7) -URI http://asc.fasb.org/extlink&oid=34349781&loc=d3e330036-122817 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph h -Article 4 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 6 -Section I -Subsection 7 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Deferred Tax Expense (or Benefit) -URI http://asc.fasb.org/extlink&oid=6510177 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32639-109319 false210false 6us-gaap_IncreaseDecreaseInDeferredRevenueus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse4425300000044253falsefalsefalse2truefalsefalse3610400000036104falsefalsefalse3truefalsefalse3122700000031227falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period, excluding the portion taken into income, in the liability reflecting revenue yet to be earned for which cash or other forms of consideration was received or recorded as a receivable.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 false211false 6us-gaap_RecognitionOfDeferredRevenueus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-41921000000-41921falsefalsefalse2truefalsefalse-33347000000-33347falsefalsefalse3truefalsefalse-28935000000-28935falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of previously reported deferred or unearned revenue that was recognized as revenue during the period. For cash flows, this element primarily pertains to amortization of deferred credits on long-term arrangements. As a noncash item, it is deducted from net income when calculating cash provided by or used in operations using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 13.A.4(a).Q1) -URI http://asc.fasb.org/extlink&oid=27012821&loc=d3e214044-122780 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 13 -Section A -Subsection 1 false212true 6us-gaap_IncreaseDecreaseInOperatingCapitalAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse013false 7us-gaap_IncreaseDecreaseInAccountsReceivableus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1807000000-1807falsefalsefalse2truefalsefalse-1156000000-1156falsefalsefalse3truefalsefalse-1451000000-1451falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 false214false 7us-gaap_IncreaseDecreaseInInventoriesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-802000000-802falsefalsefalse2truefalsefalse184000000184falsefalsefalse3truefalsefalse-561000000-561falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 false215false 7us-gaap_IncreaseDecreaseInOtherCurrentAssetsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-129000000-129falsefalsefalse2truefalsefalse493000000493falsefalsefalse3truefalsefalse-1259000000-1259falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in other current operating assets not separately disclosed in the statement of cash flows.No definition available.false216false 7us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-478000000-478falsefalsefalse2truefalsefalse-248000000-248falsefalsefalse3truefalsefalse6200000062falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in other noncurrent operating assets not separately disclosed in the statement of cash flows.No definition available.false217false 7us-gaap_IncreaseDecreaseInAccountsPayableus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse537000000537falsefalsefalse2truefalsefalse-31000000-31falsefalsefalse3truefalsefalse5800000058falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the aggregate amount of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 false218false 7us-gaap_IncreaseDecreaseInOtherCurrentLiabilitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse146000000146falsefalsefalse2truefalsefalse410000000410falsefalsefalse3truefalsefalse-1146000000-1146falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in other current operating liabilities not separately disclosed in the statement of cash flows.No definition available.false219false 7us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse11580000001158falsefalsefalse2truefalsefalse174000000174falsefalsefalse3truefalsefalse12940000001294falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in other noncurrent operating liabilities not separately disclosed in the statement of cash flows.No definition available.false220false 5us-gaap_NetCashProvidedByUsedInOperatingActivitiesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse2883300000028833falsefalsefalse2truefalsefalse3162600000031626falsefalsefalse3truefalsefalse2699400000026994falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585 true221true 4us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse022false 5us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLessus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00falsefalsefalse2truefalsefalse00falsefalsefalse3truefalsefalse-186000000-186falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from a borrowing net of the cash outflow from repayment of a borrowing having initial term of repayment within three months.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3095-108585 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 9 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3098-108585 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585 false223false 5us-gaap_ProceedsFromDebtMaturingInMoreThanThreeMonthsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse48830000004883falsefalsefalse2truefalsefalse00falsefalsefalse3truefalsefalse69600000006960falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from a borrowing having initial term of repayment of more than three months. Includes proceeds from long-term and short-term debt.No definition available.false224false 5us-gaap_RepaymentsOfDebtMaturingInMoreThanThreeMonthsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1346000000-1346falsefalsefalse2truefalsefalse00falsefalsefalse3truefalsefalse-814000000-814falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow from a repayment of a borrowing having initial term of repayment of more than three months. Includes repayments of short-term and long-term debt.No definition available.false225false 5us-gaap_ProceedsFromIssuanceOfCommonStockus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse931000000931falsefalsefalse2truefalsefalse19130000001913falsefalsefalse3truefalsefalse24220000002422falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from the additional capital contribution to the entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585 false226false 5us-gaap_PaymentsForRepurchaseOfCommonStockus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-5360000000-5360falsefalsefalse2truefalsefalse-5029000000-5029falsefalsefalse3truefalsefalse-11555000000-11555falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow to reacquire common stock during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585 false227false 5us-gaap_PaymentsOfDividendsCommonStockus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-7455000000-7455falsefalsefalse2truefalsefalse-6385000000-6385falsefalsefalse3truefalsefalse-5180000000-5180falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585 false228false 5us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse209000000209falsefalsefalse2truefalsefalse9300000093falsefalsefalse3truefalsefalse1700000017falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow from realized tax benefit related to deductible compensation cost reported on the entity's tax return for equity instruments in excess of the compensation cost for those instruments recognized for financial reporting purposes.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 20 -Section 55 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11374-113907 false229false 5us-gaap_ProceedsFromPaymentsForOtherFinancingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-10000000-10falsefalsefalse2truefalsefalse00falsefalsefalse3truefalsefalse-40000000-40falsefalsefalsexbrli:monetaryItemTypemonetaryThe net cash inflow or outflow from other financing activities. This element is used when there is not a more specific and appropriate element in the taxonomy.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3095-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3098-108585 false230false 5us-gaap_NetCashProvidedByUsedInFinancingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-8148000000-8148falsefalsefalse2truefalsefalse-9408000000-9408falsefalsefalse3truefalsefalse-8376000000-8376falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 26 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585 true231true 4us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse032false 5us-gaap_PaymentsToAcquirePropertyPlantAndEquipmentus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-4257000000-4257falsefalsefalse2truefalsefalse-2305000000-2305falsefalsefalse3truefalsefalse-2355000000-2355falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585 false233false 5msft_AcquisitionsNetofCashAcquiredAndPurchasesOfIntangibleandOtherAssetsmsft_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1584000000-1584falsefalsefalse2truefalsefalse-10112000000-10112falsefalsefalse3truefalsefalse-71000000-71falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow associated with the acquisitions of businesses, net of the cash acquired from the purchases, and purchases of intangible and other assets.No definition available.false234false 5us-gaap_PaymentsToAcquireInvestmentsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-75396000000-75396falsefalsefalse2truefalsefalse-57250000000-57250falsefalsefalse3truefalsefalse-35993000000-35993falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow associated with the purchase of all investments (debt, security, other) during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585 false235false 5us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecuritiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse51300000005130falsefalsefalse2truefalsefalse1557500000015575falsefalsefalse3truefalsefalse68970000006897falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow associated with maturities (principal being due), prepayments and calls (requests of early payments) on securities not classified as either held-to-maturity securities or trading securities which are classified as available-for-sale securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26853-111562 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3179-108585 false236false 5us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5246400000052464falsefalsefalse2truefalsefalse2970000000029700falsefalsefalse3truefalsefalse1588000000015880falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow associated with the sale of debt and equity securities classified as available-for-sale securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26853-111562 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3179-108585 false237false 5us-gaap_IncreaseDecreaseInCollateralHeldUnderSecuritiesLendingus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-168000000-168falsefalsefalse2truefalsefalse-394000000-394falsefalsefalse3truefalsefalse10260000001026falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the period in the carrying amount of assets, which may include but are not limited to cash and investments, received as collateral pertaining to securities loaned to a counterparty to the transaction. Includes the change during the period in any unrealized gain or loss on such investments.No definition available.false238false 5us-gaap_NetCashProvidedByUsedInInvestingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-23811000000-23811falsefalsefalse2truefalsefalse-24786000000-24786falsefalsefalse3truefalsefalse-14616000000-14616falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 26 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585 true239false 4us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-8000000-8falsefalsefalse2truefalsefalse-104000000-104falsefalsefalse3truefalsefalse103000000103falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) from the effect of exchange rate changes on cash and cash equivalent balances held in foreign currencies.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 230 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450594&loc=d3e33268-110906 false240false 4us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-3134000000-3134falsefalsefalse2truefalsefalse-2672000000-2672falsefalsefalse3truefalsefalse41050000004105falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Includes effect from exchange rate changes.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 230 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450594&loc=d3e33268-110906 true241false 4us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse69380000006938falsefalsefalse2truefalsefalse96100000009610falsefalsefalse3truefalsefalse55050000005505falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 1 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3044-108585 false242false 4us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse38040000003804USD$falsetruefalse2truefalsefalse69380000006938USD$falsetruefalse3truefalsefalse96100000009610USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 1 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3044-108585 false21Includes a charge related to a fine imposed by the European Commission in March 2013 which decreased net income by $733 million (€561 million) and diluted earnings per share by $0.09. Also includes a charge for Surface RT inventory adjustments recorded in the fourth quarter of fiscal year 2013, which decreased net income by $596 million and diluted earnings per share by $0.07.2Includes a goodwill impairment charge related to our OSD business segment which decreased net income by $6.2 billion and diluted earnings per share by $0.73.falseCash Flows Statements (USD $)MillionsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.microsoft.com/taxonomy/role/StatementOfCashFlowsIndirect342